diff --git a/Frontend Angular 4/package.json b/Frontend Angular 4/package.json index d04c161ba1fef7ab5c5aca10416a0ce711b64d76..04b0d92a6f71c5468795731f812a639c413b34d6 100644 --- a/Frontend Angular 4/package.json +++ b/Frontend Angular 4/package.json @@ -20,7 +20,7 @@ "@angular/platform-browser": "^4.0.0", "@angular/platform-browser-dynamic": "^4.0.0", "@angular/router": "^4.0.0", - "@ng-bootstrap/ng-bootstrap": "^1.0.0-alpha.22", + "@ng-bootstrap/ng-bootstrap": "1.0.0-alpha.26", "core-js": "^2.4.1", "font-awesome": "^4.7.0", "ionicons": "^3.0.0", diff --git a/Frontend Angular 4/src/app/layout/canvas/canvas.component.ts b/Frontend Angular 4/src/app/layout/canvas/canvas.component.ts index 5a699e250c7242675a70a4e6639d444d12f15f20..89cc7ff199bfb20d5071ea4ba59a61cf3817ec00 100644 --- a/Frontend Angular 4/src/app/layout/canvas/canvas.component.ts +++ b/Frontend Angular 4/src/app/layout/canvas/canvas.component.ts @@ -903,7 +903,6 @@ export class CanvasComponent { var _x = undefined; var _y = undefined; var pendiente = undefined; - var delta = 0.50; var h = 1/this.precision; var delta = this.rangeX/this.precision; var anchoPunto = this.rangeX/200; diff --git a/Frontend Angular 4/src/app/shared/config.ts b/Frontend Angular 4/src/app/shared/config.ts index 908ea5f8512f770e5d68cfb779c9a89a5a146f22..1f030693618757283b799815428add96d54fcfcd 100644 --- a/Frontend Angular 4/src/app/shared/config.ts +++ b/Frontend Angular 4/src/app/shared/config.ts @@ -1,9 +1,9 @@ //export const SERVER = 'https://matefun.mybluemix.net'; //export const GHCI_URL = 'wss://matefun.mybluemix.net/endpoint'; -export const SERVER = 'http://localhost:9080'; -export const GHCI_URL = 'ws://localhost:9080/endpoint'; +//export const SERVER = 'http://localhost:9080'; +//export const GHCI_URL = 'ws://localhost:9080/endpoint'; //Configuracion dinamica pensando en servidor con ip dinamica -//export const SERVER = window.location.protocol + '//' + window.location.host;//'http://localhost:9090'; -//export const GHCI_URL = window.location.protocol == 'http:'? 'ws://'+window.location.host+'/endpoint': 'wss://'+window.location.host+'/endpoint'; +export const SERVER = window.location.protocol + '//' + window.location.host;//'http://localhost:9090'; +export const GHCI_URL = window.location.protocol == 'http:'? 'ws://'+window.location.host+'/endpoint': 'wss://'+window.location.host+'/endpoint'; diff --git a/Servidor JEE/WebContent/.htaccess b/Servidor JEE/WebContent/.htaccess new file mode 100644 index 0000000000000000000000000000000000000000..e906ce034d9b3a4bbd1dc4a8bdca08481f5fd927 --- /dev/null +++ b/Servidor JEE/WebContent/.htaccess @@ -0,0 +1,6 @@ +RewriteEngine On +RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR] +RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d +RewriteRule ^ - [L] + +RewriteRule ^ /index.html [L] diff --git a/Servidor JEE/WebContent/0.1cf3c981b4810009465b.chunk.js b/Servidor JEE/WebContent/0.1cf3c981b4810009465b.chunk.js new file mode 100644 index 0000000000000000000000000000000000000000..23de52ca6e826063a9ed5b8241cbba5d7c083999 --- /dev/null +++ b/Servidor JEE/WebContent/0.1cf3c981b4810009465b.chunk.js @@ -0,0 +1 @@ +webpackJsonp([0],{"+0Ji":function(t,e,n){"use strict";var i=n("bKpL"),r=n("l/Fw");i.Observable.prototype.sample=r.sample},"+E40":function(t,e,n){"use strict";var i=n("/oeL");n.d(e,"a",function(){return r});var r=function(){function t(){this.justify="start",this.type="tabs"}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},"+Ve+":function(t,e,n){"use strict";var i=n("bKpL"),r=n("I3ay");i.Observable.prototype.concatAll=r.concatAll},"+c7d":function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.combineLatest.apply(void 0,t)(this)}var r=n("H4tt");e.combineLatest=i},"+iRM":function(t,e,n){"use strict";var i=n("uiTn"),r=n("azLz");n.n(r);n.d(e,"a",function(){return o});var o=function(){function t(t){this.notifService=t,this.alerts=[]}return t.prototype.ngOnInit=function(){var t=this;this.notifService.getMessageSubject().subscribe(function(e){t.alerts.push(e),setTimeout(function(){t.closeAlert(0)},5e3)})},t.prototype.closeAlert=function(t){this.alerts.splice(t,1)},t.ctorParameters=function(){return[{type:i.a}]},t}()},"+oJC":function(t,e,n){"use strict";var i=n("/oeL");n.d(e,"a",function(){return r});var r=function(){function t(){}return t.prototype.isMuted=function(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)},t}();r.decorators=[{type:i.Component,args:[{selector:"[ngbDatepickerDayView]",styles:["\n :host {\n text-align: center;\n width: 2rem;\n height: 2rem;\n line-height: 2rem; \n border-radius: 0.25rem;\n }\n :host.outside {\n opacity: 0.5;\n }\n "],host:{"[class.bg-primary]":"selected","[class.text-white]":"selected","[class.text-muted]":"isMuted()","[class.outside]":"isMuted()","[class.btn-secondary]":"!disabled"},template:"{{ date.day }}"}]}],r.ctorParameters=function(){return[]},r.propDecorators={currentMonth:[{type:i.Input}],date:[{type:i.Input}],disabled:[{type:i.Input}],selected:[{type:i.Input}]}},"+vKo":function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new a(t))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("yW9Z"),s=n("ktfo");e.buffer=i;var a=function(){function t(t){this.closingNotifier=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.closingNotifier))},t}(),l=function(t){function e(e,n){t.call(this,e),this.buffer=[],this.add(s.subscribeToResult(this,n))}return r(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype.notifyNext=function(t,e,n,i,r){var o=this.buffer;this.buffer=[],this.destination.next(o)},e}(o.OuterSubscriber)},"/6Tg":function(t,e,n){"use strict";var i=n("KSV9"),r=n("GaSD"),o=n("/oeL");n.d(e,"a",function(){return s});var s=function(){function t(t){this._calendar=t}return t.prototype.generateMonthViewModel=function(t,e,n,i,o){var s={firstDate:null,number:t.month,year:t.year,weeks:[],weekdays:[]};t=this._getFirstViewDate(t,i);for(var a=0;a<this._calendar.getWeeksPerMonth();a++){for(var l=[],u=0;u<this._calendar.getDaysPerWeek();u++){0===a&&s.weekdays.push(this._calendar.getWeekday(t));var c=new r.a(t.year,t.month,t.day),h=e&&c.before(e)||n&&c.after(n);!h&&o&&(h=o(c,{month:s.number,year:s.year})),null===s.firstDate&&t.month===s.number&&(s.firstDate=c),l.push({date:c,disabled:h}),t=this._calendar.getNext(t)}s.weeks.push({number:this._calendar.getWeekNumber(l.map(function(t){return r.a.from(t.date)}),i),days:l})}return s},t.prototype.toValidDate=function(t,e){var n=r.a.from(t);return void 0===e&&(e=this._calendar.getToday()),this._calendar.isValid(n)?n:e},t.prototype._getFirstViewDate=function(t,e){for(var n=this,i=t.month,o=new r.a(t.year,t.month,t.day),s=this._calendar.getPrev(o);!function(){return o.month!==i&&e===n._calendar.getWeekday(o)}()&&!function(){return o.month!==s.month&&e===n._calendar.getWeekday(o)}();)o=new r.a(s.year,s.month,s.day),s=this._calendar.getPrev(s);return o},t}();s.decorators=[{type:o.Injectable}],s.ctorParameters=function(){return[{type:i.a}]}},"/9bB":function(t,e,n){"use strict";function i(){return r.materialize()(this)}var r=n("L0Qg");e.materialize=i},"/amm":function(t,e,n){"use strict";var i=n("bKpL"),r=n("60yU");i.Observable.prototype.repeatWhen=r.repeatWhen},"/h+r":function(t,e,n){"use strict";function i(t,e,n){return void 0===n&&(n=o.async),function(i){var r=s.isDate(t),o=r?+t-n.now():Math.abs(t);return i.lift(new u(o,r,e,n))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("IhB/"),s=n("6jp4"),a=n("yW9Z"),l=n("ktfo");e.timeoutWith=i;var u=function(){function t(t,e,n,i){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=i}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),c=function(t){function e(e,n,i,r,o){t.call(this,e),this.absoluteTimeout=n,this.waitFor=i,this.withObservable=r,this.scheduler=o,this.action=null,this.scheduleTimeout()}return r(e,t),e.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add(l.subscribeToResult(t,e))},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},e}(a.OuterSubscriber)},"/zHi":function(t,e,n){"use strict";var i=n("bKpL"),r=n("+zVg");i.Observable.of=r.of},"0H8/":function(t,e,n){"use strict";var i=n("/oeL");n.d(e,"a",function(){return r});var r=function(){function t(){this.editable=!0,this.focusFirst=!0,this.showHint=!1}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},"0I3B":function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.zip.apply(void 0,t)(this)}var r=n("SBOU");e.zipProto=i},"0L2s":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=function(t){function e(){var e=t.call(this,"Timeout has occurred");this.name=e.name="TimeoutError",this.stack=e.stack,this.message=e.message}return i(e,t),e}(Error);e.TimeoutError=r},"0WLp":function(t,e,n){"use strict";var i=n("/oeL"),r=n("Zz+K"),o=n("wnyu"),s=n("EoP3"),a=n("2waW"),l=n("PY9B"),u=n("IBeK"),c=n("g5gQ"),h=n("xBEz"),p=n("PuIS"),f=n("U0Tu"),d=n("3rU7"),m=n("Cb36"),v=n("5h8W"),g=n("6ade"),b=n("4HaF"),y=n("DaIH");n.d(e,"a",function(){return x}),n.d(e,"b",function(){return S});var w=[r.a,o.a,s.a,a.a,l.a,u.a,c.a,h.a,p.a,f.a,d.a,m.a,v.a,g.a,b.a,y.a],x=function(){function t(){}return t}();x.decorators=[{type:i.NgModule,args:[{imports:[o.a.forRoot(),s.a.forRoot(),l.a.forRoot(),d.a.forRoot(),b.a.forRoot(),y.a.forRoot(),r.a.forRoot(),a.a.forRoot(),u.a.forRoot(),c.a.forRoot(),h.a.forRoot(),p.a.forRoot(),f.a.forRoot(),d.a.forRoot(),m.a.forRoot(),v.a.forRoot(),g.a.forRoot(),b.a.forRoot()],exports:w}]}],x.ctorParameters=function(){return[]};var S=function(){function t(){}return t.forRoot=function(){return{ngModule:x}},t}();S.decorators=[{type:i.NgModule,args:[{imports:w,exports:w}]}],S.ctorParameters=function(){return[]}},"0dhf":function(t,e,n){"use strict";function i(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(n){return n.lift(new s(t,n,!1,e))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+");e.find=i;var s=function(){function t(t,e,n,i){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=i}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}();e.FindValueOperator=s;var a=function(t){function e(e,n,i,r,o){t.call(this,e),this.predicate=n,this.source=i,this.yieldIndex=r,this.thisArg=o,this.index=0}return r(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){var e=this,n=e.predicate,i=e.thisArg,r=this.index++;try{n.call(i||this,t,r,this.source)&&this.notifyComplete(this.yieldIndex?r:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(o.Subscriber);e.FindValueSubscriber=a},"0imh":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rlar"),o=n("yR50"),s=n("xFbG"),a=n("GDiU"),l=n("Lhvy"),u=n("g0Kb"),c=function(t){function e(e,n,i){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY),t.call(this),this.scheduler=i,this._events=[],this._bufferSize=e<1?1:e,this._windowTime=n<1?1:n}return i(e,t),e.prototype.next=function(e){var n=this._getNow();this._events.push(new h(n,e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._trimBufferThenGetEvents(),i=this.scheduler;if(this.closed)throw new l.ObjectUnsubscribedError;this.hasError?e=s.Subscription.EMPTY:this.isStopped?e=s.Subscription.EMPTY:(this.observers.push(t),e=new u.SubjectSubscription(this,t)),i&&t.add(t=new a.ObserveOnSubscriber(t,i));for(var r=n.length,o=0;o<r&&!t.closed;o++)t.next(n[o].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||o.queue).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,n=this._windowTime,i=this._events,r=i.length,o=0;o<r&&!(t-i[o].time<n);)o++;return r>e&&(o=Math.max(o,r-e)),o>0&&i.splice(0,o),i},e}(r.Subject);e.ReplaySubject=c;var h=function(){function t(t,e){this.time=t,this.value=e}return t}()},"0lA3":function(t,e,n){"use strict";function i(t,e){return function(n){return n.lift(new a(t,e))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("yW9Z"),s=n("ktfo");e.switchMapTo=i;var a=function(){function t(t,e){this.observable=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.observable,this.resultSelector))},t}(),l=function(t){function e(e,n,i){t.call(this,e),this.inner=n,this.resultSelector=i,this.index=0}return r(e,t),e.prototype._next=function(t){var e=this.innerSubscription;e&&e.unsubscribe(),this.add(this.innerSubscription=s.subscribeToResult(this,this.inner,t,this.index++))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,i,r){var o=this,s=o.resultSelector,a=o.destination;s?this.tryResultSelector(t,e,n,i):a.next(e)},e.prototype.tryResultSelector=function(t,e,n,i){var r,o=this,s=o.resultSelector,a=o.destination;try{r=s(t,e,n,i)}catch(t){return void a.error(t)}a.next(r)},e}(o.OuterSubscriber)},"0mJJ":function(t,e,n){"use strict";function i(t,e){return r.concatMap(function(){return t},e)}var r=n("+FJ1");e.concatMapTo=i},"0nG5":function(t,e,n){"use strict";function i(t){return r.min(t)(this)}var r=n("y3SI");e.min=i},"0vel":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("/oeL"),r=n("qbdv"),o=n("nfVm"),s=function(){function t(){}return t}();s.decorators=[{type:i.NgModule,args:[{imports:[r.CommonModule],declarations:[o.CodemirrorComponent],exports:[o.CodemirrorComponent]}]}],s.ctorParameters=function(){return[]},e.CodemirrorModule=s},"1Dsc":function(t,e,n){"use strict";var i=n("/oeL");n.d(e,"a",function(){return r});var r=function(){function t(){}return t}();r.decorators=[{type:i.Component,args:[{selector:"ngb-modal-backdrop",template:"",host:{class:"modal-backdrop fade show"}}]}],r.ctorParameters=function(){return[]}},"1VPd":function(t,e,n){"use strict";var i=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=Date.now?Date.now:function(){return+new Date},t}();e.Scheduler=i},"1dXy":function(t,e,n){"use strict";var i=n("/oeL"),r=n("bm2B");n.d(e,"c",function(){return s}),n.d(e,"b",function(){return a}),n.d(e,"a",function(){return l});var o={provide:r.NG_VALUE_ACCESSOR,useExisting:n.i(i.forwardRef)(function(){return s}),multi:!0},s=function(){function t(){this._radios=new Set,this._value=null,this.onChange=function(t){},this.onTouched=function(){}}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this.setDisabledState(t)},enumerable:!0,configurable:!0}),t.prototype.onRadioChange=function(t){this.writeValue(t.value),this.onChange(t.value)},t.prototype.onRadioValueUpdate=function(){this._updateRadiosValue()},t.prototype.register=function(t){this._radios.add(t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._disabled=t,this._updateRadiosDisabled()},t.prototype.unregister=function(t){this._radios.delete(t)},t.prototype.writeValue=function(t){this._value=t,this._updateRadiosValue()},t.prototype._updateRadiosValue=function(){var t=this;this._radios.forEach(function(e){return e.updateValue(t._value)})},t.prototype._updateRadiosDisabled=function(){this._radios.forEach(function(t){return t.updateDisabled()})},t}();s.decorators=[{type:i.Directive,args:[{selector:"[ngbRadioGroup]",host:{"data-toggle":"buttons",class:"btn-group",role:"group"},providers:[o]}]}],s.ctorParameters=function(){return[]};var a=function(){function t(t,e){this._renderer=t,this._elRef=e}return Object.defineProperty(t.prototype,"active",{set:function(t){t?this._renderer.addClass(this._elRef.nativeElement,"active"):this._renderer.removeClass(this._elRef.nativeElement,"active")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{set:function(t){t?this._renderer.addClass(this._elRef.nativeElement,"disabled"):this._renderer.removeClass(this._elRef.nativeElement,"disabled")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focused",{set:function(t){t?this._renderer.addClass(this._elRef.nativeElement,"focus"):this._renderer.removeClass(this._elRef.nativeElement,"focus")},enumerable:!0,configurable:!0}),t}();a.decorators=[{type:i.Directive,args:[{selector:"label.btn"}]}],a.ctorParameters=function(){return[{type:i.Renderer2},{type:i.ElementRef}]};var l=function(){function t(t,e,n,i){this._group=t,this._label=e,this._renderer=n,this._element=i,this._value=null,this._group&&this._group.register(this)}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t;var e=t?t.toString():"";this._renderer.setProperty(this._element.nativeElement,"value",e),this._group&&this._group.onRadioValueUpdate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(t){this._checked=!!this._element.nativeElement.hasAttribute("checked")||t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._group&&this._group.disabled||this._disabled},set:function(t){this._disabled=!1!==t,this.updateDisabled()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focused",{set:function(t){this._label&&(this._label.focused=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._group&&this._group.unregister(this)},t.prototype.onChange=function(){this._group&&this._group.onRadioChange(this)},t.prototype.updateValue=function(t){this._checked=this.value===t&&null!==t,this._label.active=this._checked},t.prototype.updateDisabled=function(){var t=this._group&&this._group.disabled||this._disabled;this._label&&(this._label.disabled=t)},t}();l.decorators=[{type:i.Directive,args:[{selector:"input[type=radio]",host:{"[checked]":"checked","[disabled]":"disabled","(change)":"onChange()","(focus)":"focused = true","(blur)":"focused = false"}}]}],l.ctorParameters=function(){return[{type:s,decorators:[{type:i.Optional}]},{type:a,decorators:[{type:i.Optional}]},{type:i.Renderer2},{type:i.ElementRef}]},l.propDecorators={value:[{type:i.Input,args:["value"]}],checked:[{type:i.Input,args:["checked"]}],disabled:[{type:i.Input,args:["disabled"]}]}},"1kAr":function(t,e,n){"use strict";function i(t){return r.mapTo(t)(this)}var r=n("6d3x");e.mapTo=i},"1pbG":function(t,e,n){"use strict";var i=n("bKpL"),r=n("NkQZ");i.Observable.prototype.switchMapTo=r.switchMapTo},"23I1":function(t,e,n){"use strict";var i=n("MzWM");e.defer=i.DeferObservable.create},"2Rhf":function(t,e,n){"use strict";function i(t){return r.skipUntil(t)(this)}var r=n("UHtL");e.skipUntil=i},"2Sjb":function(t,e,n){"use strict";function i(t,e){return function(n){return n.lift(new l(t,e))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+"),s=n("RdI5"),a=n("XRvs");e.distinctUntilChanged=i;var l=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,n,i){t.call(this,e),this.keySelector=i,this.hasKey=!1,"function"==typeof n&&(this.compare=n)}return r(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e=this.keySelector,n=t;if(e&&(n=s.tryCatch(this.keySelector)(t))===a.errorObject)return this.destination.error(a.errorObject.e);var i=!1;if(this.hasKey){if((i=s.tryCatch(this.compare)(this.key,n))===a.errorObject)return this.destination.error(a.errorObject.e)}else this.hasKey=!0;!1===Boolean(i)&&(this.key=n,this.destination.next(t))},e}(o.Subscriber)},"2UX5":function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=r.async),o.timeout(t,e)(this)}var r=n("IhB/"),o=n("qbt9");e.timeout=i},"2l91":function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new a(t))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("yW9Z"),s=n("ktfo");e.debounce=i;var a=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.durationSelector))},t}(),l=function(t){function e(e,n){t.call(this,e),this.durationSelector=n,this.hasValue=!1,this.durationSubscription=null}return r(e,t),e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),n=s.subscribeToResult(this,e),n.closed||this.add(this.durationSubscription=n)},e.prototype.notifyNext=function(t,e,n,i,r){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,n=this.durationSubscription;n&&(this.durationSubscription=null,n.unsubscribe(),this.remove(n)),this.value=null,this.hasValue=!1,t.prototype._next.call(this,e)}},e}(o.OuterSubscriber)},"2qVr":function(t,e,n){"use strict";var i=n("Dqrr"),r=(n.n(i),n("6akk")),o=n("5FRs"),s=n("P1Y9");n.n(s);n.d(e,"a",function(){return l});var a=/^color (errores|input|output|logs) (\d)$/g,l=function(){function t(t){this.authService=t,this.messages=new i.Subject,this.connection=void 0,this.cons=void 0,this.modoAvanzado=!1,this.clear=!1,this.error="",this.warnings=[],this.codemirrorRef=null,this.warningStepReaded=0,this.waitingForError=!1,this.waitingForWarning=!1,this.waitingForWarning2=!1,this.warningText="",this.lastError=-1,this.lastWarning=-1,this.console_error_class="jqconsole-asd",this.consoleBuffer=[],this.regex="/(<svg.*s*.*</svg>)/g",this.consola=void 0,this.jqconsole=void 0,console.log("contructor ghci"),this.conectarWS(o.b,t.getUser().cedula,t.getToken()),setInterval(this.checkConnection.bind(this),5e3),setInterval(this.doPing.bind(this),3e4)}return t.prototype.setCodemirrorRef=function(t){this.codemirrorRef=t},t.prototype.clearWarnings=function(){this.warnings=[]},t.prototype.getWarnings=function(){return this.warnings},t.prototype.loadFile=function(t,e){this.waitingForWarning=!0;var n={token:this.authService.getToken(),load:t,dependencias:[]};for(var i in e)n.dependencias.push(e[i]);this.connection.send(JSON.stringify(n))},t.prototype.reiniciarInterprete=function(){var t={token:this.authService.getToken(),restart:""};console.log(t),this.connection.send(JSON.stringify(t))},t.prototype.conectarWS=function(t,e,n){!e||!n||this.connection&&this.connection.readyState!=WebSocket.CLOSED||(this.connection=new WebSocket(t+"/"+e+"/"+n),this.connection.onopen=function(){console.log("Conexión con web socket exitosa")},this.connection.onclose=function(){console.log("Conexión con web socket cerrada")},this.connection.onmessage=this.onMessage.bind(this))},t.prototype.desconectarWS=function(){this.connection&&this.connection.close()},t.prototype.logConsole=function(t){this.consoleRef?this.consoleRef.Write(t,"jqconsole-logs"):(this.consoleBuffer.unshift({text:t,type:"jqconsole-logs"}),setTimeout(this.checkConsole.bind(this),100))},t.prototype.outputConsole=function(t){this.consoleRef?this.consoleRef.Write(t,"jqconsole-output"):(this.consoleBuffer.unshift({text:t,type:"jqconsole-output"}),setTimeout(this.checkConsole.bind(this),100))},t.prototype.errorConsole=function(t){this.consoleRef?this.consoleRef.Write(t,"jqconsole-errors"):(this.consoleBuffer.unshift({text:t,type:"jqconsole-errors"}),setTimeout(this.checkConsole.bind(this),100))},t.prototype.hayError=function(t){var e=-1;if(!this.waitingForError){try{var e=Number(JSON.parse(t).resultado.split("en lÃnea")[1].split(",")[0].trim())-1;this.waitingForError=!0,this.lastError=e}catch(t){}return!1}var e=this.lastError;if(null!==this.codemirrorRef){this.codemirrorRef.setGutterMarker(e,"breakpoints",function(){var n=document.createElement("div");return n.id="error_"+e.toString(),n.style.width="15px",n.title=JSON.parse(t).resultado.split("OUT")[1].trim(),n.style.height="15px",n.style.marginLeft="-5px",n.style.cursor="pointer",n.style["background-image"]="url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=')",n.innerHTML="<a href='@' title='cuidado , advertencia matefun'></a>",n}()),this.waitingForError=!1,this.lastError=-1}},t.prototype.resetGutters=function(){null!==this.codemirrorRef&&this.codemirrorRef.clearGutter("breakpoints")},t.prototype.hayWarnings=function(t){var e=-1,n=JSON.parse(t);if(1===this.warningStepReaded)try{var i=n.resultado.split("OUT")[1].trim();this.warningStepReaded=2,this.warningText=this.warningText+"\n\n"+i;var e=this.lastWarning,r=this.warningText,o=r.split("columna:")[1].split("}")[0],s=r.split("}")[1],a="En columna "+o+": "+s;if(null!==this.codemirrorRef){this.codemirrorRef.setGutterMarker(e,"breakpoints",function(){var t=document.createElement("div");return t.style.width="15px",t.style.height="15px",t.style.marginLeft="-5px",t.style.cursor="pointer",t.innerHTML="<a href='@' title='cuidado , advertencia matefun'></a>",t.title=a,t.style["background-image"]="url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=')",t.innerHTML="",t}())}}catch(t){}if(0===this.warningStepReaded)try{var e=n.resultado.split("OUTAdvertencia:")[1].trim().split("lÃnea:")[1].split(" ")[1]-1;this.lastWarning=e,this.warnings.push(e);var l=n.resultado.split("OUTAdvertencia:")[1].trim();this.warningStepReaded=1,this.warningText=l,this.waitingForWarning&&(this.outputConsole("El programa contiene advertencias\n"),this.waitingForWarning=!1)}catch(t){}},t.prototype.onMessage=function(t){this.modoAvanzado&&this.logConsole("Respuesta: "+t.data+"\n"),this.clear&&this.clearConsole();var e=t.data;if(this.hayError(e)?this.error="Error":this.error="",this.hayWarnings(e),2==this.warningStepReaded)return void(this.warningStepReaded=0);if(1!=this.warningStepReaded){var n=JSON.parse(e);if("salida"==n.tipo){var i=n.resultado.trim();if(i.startsWith("OUT"))this.outputConsole(i.substring(3)+"\n");else if(i.startsWith("IN")){var r=i.substring(3);void 0===this.consoleRef&&this.renderConsole(),this.consoleRef.SetPromptLabel(r),this.consoleRef.SetPromptText(""),this.startPrompt.bind(this),this.startPrompt()}}else"error"==n.tipo?this.modoAvanzado&&this.errorConsole(n.resultado+"\n"):"prompt"==n.tipo?(this.consoleRef.SetPromptLabel(n.resultado+">"),this.consoleRef.SetPromptText(""),this.startPrompt.bind(this),this.startPrompt()):"canvas"!=n.tipo&&"animacion"!=n.tipo&&"graph"!=n.tipo||(document.getElementById("FigurasBtn").click(),this.focusConsole(),this.messages.next(n))}},t.prototype.checkConsole=function(){if(this.consoleRef)for(;this.consoleBuffer.length>0;){var t=this.consoleBuffer.pop();this.consoleRef.Write(t.text,t.type)}else setTimeout(this.checkConsole.bind(this),500)},t.prototype.checkConnection=function(){var t=this.authService.getUser(),e=this.authService.getToken();!t||!e||this.connection&&this.connection.readyState!=WebSocket.CLOSED||this.conectarWS(o.b,t.cedula,e)},t.prototype.doPing=function(){var t=this.authService.getToken();if(this.connection&&this.connection.readyState==WebSocket.OPEN&&t){var e={token:t,ping:""};this.connection.send(JSON.stringify(e))}},t.prototype.sendLine=function(t){if(""!==t.trim()){var e={token:this.authService.getToken(),comando:t};console.log(e),this.connection&&this.connection.readyState==WebSocket.OPEN?this.connection.send(JSON.stringify(e)):this.errorConsole("Sin conexión al servidor...\n")}},t.prototype.startPrompt=function(){this.jqconsole.Prompt(!0,this.callback.bind(this))},t.prototype.focusConsole=function(){this.jqconsole.Focus()},t.prototype.clearConsole=function(){this.consoleRef.Reset(),this.startPrompt.bind(this),this.startPrompt(),this.clear=!1},t.prototype.callback=function(t){var e;e=this.procesarInput(t),e&&(this.modoAvanzado&&this.logConsole("Ejecutar: "+t+"\n"),this.sendLine.bind(this),this.sendLine(t)),this.startPrompt.bind(this),this.startPrompt()},t.prototype.procesarInput=function(t){var e,n=!1;if("limpiar"===(e=t.trim().toLocaleLowerCase()))this.clearConsole();else if("modo avanzado"===e)this.modoAvanzado=!0,this.logConsole("Modo avanzado activado\n");else if("modo normal"===e)this.modoAvanzado=!1,this.logConsole("Modo avanzado desactivado\n");else if("listar colores"===e)this.outputConsole("1 - Azul\n"),this.outputConsole("2 - Rojo\n"),this.outputConsole("3 - Verde\n"),this.outputConsole("4 - Verde oscuro\n"),this.outputConsole("5 - Blanco\n"),this.outputConsole("6 - Naranja\n"),this.outputConsole("7 - Gris\n"),this.outputConsole("8 - Gris oscuro\n"),this.outputConsole("9 - Marrón\n");else if(null!==e.match(a)){var i=e.split(" ")[1],r=t.split(" ")[2];this.jqconsoleColor(r,i),this.modoAvanzado&&this.logConsole("Color "+i+" seleccionado\n")}else n=!0;return n},t.prototype.getCSSColorName=function(t){return"1"===t?"rgb(77, 77, 255)":"2"===t?"rgb(255, 26, 26)":"3"===t?"rgb(0, 179, 60)":"4"===t?"rgb(0, 77, 0)":"5"===t?"rgb(255, 255, 255)":"6"===t?"rgb(255, 133, 51)":"7"===t?"rgb(204, 204, 179)":"8"===t?"rgb(102, 102, 102)":"9"===t?"rgb(101, 27, 27)":void 0},t.prototype.getJQConsoleClass=function(t){return"input"===t?".jqconsole-prompt":"error"===t?".jqconsole-error":"logs"===t?".jqconsole-logs":"output"===t?".jqconsole-output":void 0},t.prototype.jqconsoleColor=function(t,e){var n=this.getCSSColorName(t),i=this.getJQConsoleClass(e),r=document.createElement("style");if(r.type="text/css",r.innerHTML=i+" { color: "+n+"; }",document.getElementsByTagName("head")[0].appendChild(r),".jqconsole-prompt"===i){var o=document.createElement("style");o.type="text/css",o.innerHTML=".jqconsole-old-prompt { color: "+n+"; }",document.getElementsByTagName("head")[0].appendChild(o)}},t.prototype.renderConsole=function(){this.jqconsole?$("#console").replaceWith(this.consola):(void 0!=$("#console").jqconsole?(this.jqconsole=$("#console").jqconsole(""),this.consoleRef=this.jqconsole,this.startPrompt.bind(this),this.startPrompt()):this.rendered(),this.consola=$("#console"))},t.prototype.rendered=function(){setTimeout(this.renderConsole.bind(this),1e3)},t.ctorParameters=function(){return[{type:r.a}]},t}()},"2waW":function(t,e,n){"use strict";var i=n("/oeL"),r=n("qbdv"),o=n("hMLV"),s=n("f1rf");n.d(e,"a",function(){return a});var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();a.decorators=[{type:i.NgModule,args:[{declarations:o.a,exports:o.a,imports:[r.CommonModule]}]}],a.ctorParameters=function(){return[]}},"3N4h":function(t,e,n){"use strict";function i(t){return r.window(t)(this)}var r=n("7tal");e.window=i},"3WPo":function(t,e,n){"use strict";var i=this&&this.__decorate||function(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},r=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var o=n("/oeL"),s=n("taw3"),a=function(){function t(t){this.resolver=t,this.dialogs=[]}return t.prototype.addDialog=function(t,e,n){var i=this;n=n||{};var r=this.resolver.resolveComponentFactory(s.DialogWrapperComponent),o=this.element.createComponent(r,n.index),a=o.instance,l=a.addComponent(t);return void 0!==n.index?this.dialogs.splice(n.index,0,l):this.dialogs.push(l),setTimeout(function(){a.container.nativeElement.classList.add("show"),a.container.nativeElement.classList.add("in")}),n.autoCloseTimeout&&setTimeout(function(){i.removeDialog(l)},n.autoCloseTimeout),n.closeByClickingOutside&&a.closeByClickOutside(),n.backdropColor&&(a.container.nativeElement.style.backgroundColor=n.backdropColor),l.fillData(e)},t.prototype.removeDialog=function(t){var e=this,n=t.wrapper.container.nativeElement;n.classList.remove("show"),n.classList.remove("in"),setTimeout(function(){e._removeElement(t)},300)},t.prototype._removeElement=function(t){var e=this.dialogs.indexOf(t);e>-1&&(this.element.remove(e),this.dialogs.splice(e,1))},t.prototype.clear=function(){this.element.clear(),this.dialogs=[]},t}();i([o.ViewChild("element",{read:o.ViewContainerRef}),r("design:type",o.ViewContainerRef)],a.prototype,"element",void 0),a=i([o.Component({selector:"dialog-holder",template:"<template #element></template>"}),r("design:paramtypes",[o.ComponentFactoryResolver])],a),e.DialogHolderComponent=a},"3rU7":function(t,e,n){"use strict";var i=n("/oeL"),r=n("qbdv"),o=n("n/Gy"),s=n("Wv1e");n.d(e,"a",function(){return a});var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();a.decorators=[{type:i.NgModule,args:[{declarations:[o.a],exports:[o.a],imports:[r.CommonModule]}]}],a.ctorParameters=function(){return[]}},"3yXI":function(t,e,n){"use strict";function i(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,0,null,null,1,"span",[],[[8,"className",0]],null,null,null,null)),(t()(),l["ɵted"](1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,l["ɵinlineInterpolate"](1,"",n.highlightClass,"")),t(e,1,0,e.parent.context.$implicit)})}function r(t){return l["ɵvid"](0,[(t()(),l["ɵted"](0,null,["",""]))],null,function(t,e){t(e,0,0,e.parent.context.$implicit)})}function o(t){return l["ɵvid"](0,[(t()(),l["ɵand"](16777216,null,null,1,null,i)),l["ɵdid"](1,16384,null,0,u.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),l["ɵand"](16777216,null,null,1,null,r)),l["ɵdid"](3,16384,null,0,u.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),l["ɵand"](0,null,null,0))],function(t,e){t(e,1,0,e.context.odd),t(e,3,0,!e.context.odd)},null)}function s(t){return l["ɵvid"](2,[(t()(),l["ɵand"](16777216,null,null,1,null,o)),l["ɵdid"](1,802816,null,0,u.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,1,0,e.component.parts)},null)}function a(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,0,null,null,1,"ngb-highlight",[],null,null,null,s,p)),l["ɵdid"](1,573440,null,0,c.a,[],null,null)],null,null)}var l=n("/oeL"),u=n("qbdv"),c=n("OPj5");n.d(e,"b",function(){return p}),e.a=s;var h=[".ngb-highlight[_ngcontent-%COMP%] {\n font-weight: bold;\n }"],p=l["ɵcrt"]({encapsulation:0,styles:h,data:{}});l["ɵccf"]("ngb-highlight",c.a,a,{highlightClass:"highlightClass",result:"result",term:"term"},{},[])},"4HZJ":function(t,e,n){"use strict";function i(t,e,n){return function(i){return i.lift(new s(t,e,n))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+");e.tap=i;var s=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.nextOrObserver,this.error,this.complete))},t}(),a=function(t){function e(e,n,i,r){t.call(this,e);var s=new o.Subscriber(n,i,r);s.syncErrorThrowable=!0,this.add(s),this.safeSubscriber=s}return r(e,t),e.prototype._next=function(t){var e=this.safeSubscriber;e.next(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.next(t)},e.prototype._error=function(t){var e=this.safeSubscriber;e.error(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.error(t)},e.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},e}(o.Subscriber)},"4HaF":function(t,e,n){"use strict";var i=n("/oeL"),r=n("JFa0"),o=n("QGDq");n.d(e,"a",function(){return s});var s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}();s.decorators=[{type:i.NgModule,args:[{declarations:[r.a,r.b],exports:[r.a],entryComponents:[r.b]}]}],s.ctorParameters=function(){return[]}},"4JlW":function(t,e,n){"use strict";var i=n("bKpL"),r=n("QgC4");i.Observable.webSocket=r.webSocket},"4Q/O":function(t,e,n){"use strict";var i=n("/oeL"),r=n("bm2B"),o=n("KSV9"),s=n("GaSD"),a=n("/6Tg"),l=n("pd7P"),u=n("wM1e"),c=n("HRzg"),h=n("CuDZ");n.d(e,"a",function(){return f});var p={provide:r.NG_VALUE_ACCESSOR,useExisting:n.i(i.forwardRef)(function(){return f}),multi:!0},f=function(){function t(t,e,n,r){this._service=t,this._calendar=e,this.i18n=n,this.months=[],this.navigate=new i.EventEmitter,this.disabled=!1,this.onChange=function(t){},this.onTouched=function(){},this.dayTemplate=r.dayTemplate,this.displayMonths=r.displayMonths,this.firstDayOfWeek=r.firstDayOfWeek,this.markDisabled=r.markDisabled,this.minDate=r.minDate,this.maxDate=r.maxDate,this.navigation=r.navigation,this.outsideDays=r.outsideDays,this.showWeekdays=r.showWeekdays,this.showWeekNumbers=r.showWeekNumbers,this.startDate=r.startDate}return t.prototype.getHeaderHeight=function(){var t=this.showWeekdays?6.25:4.25;return 1===this.displayMonths||"select"!==this.navigation?t-2:t},t.prototype.getHeaderMargin=function(){var t=this.showWeekdays?2:0;return 1!==this.displayMonths||"select"!==this.navigation?t+2:t},t.prototype.navigateTo=function(t){this._setViewWithinLimits(this._service.toValidDate(t)),this._updateData()},t.prototype.ngOnInit=function(){this._setDates(),this.navigateTo(this._date)},t.prototype.ngOnChanges=function(t){this._setDates(),this._setViewWithinLimits(this._date),t.displayMonths&&(this.displayMonths=n.i(u.b)(this.displayMonths)),["startDate","minDate","maxDate","navigation","firstDayOfWeek","markDisabled","displayMonths"].some(function(e){return!!t[e]})&&this._updateData(!0)},t.prototype.onDateSelect=function(t){this._setViewWithinLimits(t),this.onTouched(),this.writeValue(t),this.onChange({year:t.year,month:t.month,day:t.day}),this._date.month!==this.months[0].number&&1===this.displayMonths&&this._updateData()},t.prototype.onNavigateDateSelect=function(t){this._setViewWithinLimits(t),this._updateData()},t.prototype.onNavigateEvent=function(t){switch(t){case l.a.PREV:this._setViewWithinLimits(this._calendar.getPrev(this.months[0].firstDate,"m"));break;case l.a.NEXT:this._setViewWithinLimits(this._calendar.getNext(this.months[0].firstDate,"m"))}this._updateData()},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.writeValue=function(t){this.model=this._service.toValidDate(t,null)},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype._setDates=function(){if(this._maxDate=s.a.from(this.maxDate),this._minDate=s.a.from(this.minDate),this._date=this._service.toValidDate(this.startDate),this._calendar.isValid(this._minDate)||(this._minDate=this._calendar.getPrev(this._date,"y",10),this.minDate={year:this._minDate.year,month:this._minDate.month,day:this._minDate.day}),this._calendar.isValid(this._maxDate)||(this._maxDate=this._calendar.getNext(this._date,"y",11),this._maxDate=this._calendar.getPrev(this._maxDate),this.maxDate={year:this._maxDate.year,month:this._maxDate.month,day:this._maxDate.day}),this._minDate&&this._maxDate&&this._maxDate.before(this._minDate))throw new Error("'maxDate' "+this._maxDate+" should be greater than 'minDate' "+this._minDate)},t.prototype._setViewWithinLimits=function(t){this._minDate&&t.before(this._minDate)?this._date=new s.a(this._minDate.year,this._minDate.month,1):this._maxDate&&t.after(this._maxDate)?this._date=new s.a(this._maxDate.year,this._maxDate.month,1):this._date=new s.a(t.year,t.month,1)},t.prototype._updateData=function(t){void 0===t&&(t=!1);for(var e=[],i=this,r=0;r<this.displayMonths;r++)!function(r){var o=i._calendar.getNext(i._date,"m",r),s=i.months.findIndex(function(t){return t.firstDate.equals(o)});t||-1===s?e.push(i._service.generateMonthViewModel(o,i._minDate,i._maxDate,n.i(u.b)(i.firstDayOfWeek),i.markDisabled)):e.push(i.months[s])}(r);var o=e[0].firstDate,s=this.months[0]?this.months[0].firstDate:null;this.months=e,o.equals(s)||this.navigate.emit({current:s?{year:s.year,month:s.month}:null,next:{year:o.year,month:o.month}})},t}();f.decorators=[{type:i.Component,args:[{exportAs:"ngbDatepicker",selector:"ngb-datepicker",host:{class:"d-inline-block rounded"},styles:["\n :host {\n border: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-header {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-month {\n pointer-events: none;\n }\n ngb-datepicker-month-view {\n pointer-events: auto;\n }\n .ngb-dp-month:first-child {\n margin-left: 0 !important;\n } \n .ngb-dp-month-name {\n font-size: larger;\n height: 2rem;\n line-height: 2rem;\n } \n "],template:'\n <ng-template #dt let-date="date" let-currentMonth="currentMonth" let-selected="selected" let-disabled="disabled">\n <div ngbDatepickerDayView [date]="date" [currentMonth]="currentMonth" [selected]="selected" [disabled]="disabled"></div>\n </ng-template>\n \n <div class="ngb-dp-header bg-faded pt-1 rounded-top" [style.height.rem]="getHeaderHeight()" \n [style.marginBottom.rem]="-getHeaderMargin()">\n <ngb-datepicker-navigation *ngIf="navigation !== \'none\'"\n [date]="months[0]?.firstDate"\n [minDate]="_minDate"\n [maxDate]="_maxDate"\n [months]="months.length"\n [disabled]="disabled"\n [showWeekNumbers]="showWeekNumbers"\n [showSelect]="navigation === \'select\'"\n (navigate)="onNavigateEvent($event)"\n (select)="onNavigateDateSelect($event)">\n </ngb-datepicker-navigation>\n </div>\n\n <div class="ngb-dp-months d-flex px-1 pb-1">\n <ng-template ngFor let-month [ngForOf]="months" let-i="index">\n <div class="ngb-dp-month d-block ml-3"> \n <div *ngIf="navigation !== \'select\' || displayMonths > 1" class="ngb-dp-month-name text-center">\n {{ i18n.getMonthFullName(month.number) }} {{ month.year }}\n </div>\n <ngb-datepicker-month-view\n [month]="month"\n [selectedDate]="model"\n [dayTemplate]="dayTemplate || dt"\n [showWeekdays]="showWeekdays"\n [showWeekNumbers]="showWeekNumbers"\n [disabled]="disabled"\n [outsideDays]="displayMonths === 1 ? outsideDays : \'hidden\'"\n (select)="onDateSelect($event)">\n </ngb-datepicker-month-view>\n </div>\n </ng-template>\n </div>\n ',providers:[p,a.a]}]}],f.ctorParameters=function(){return[{type:a.a},{type:o.a},{type:h.a},{type:c.a}]},f.propDecorators={dayTemplate:[{type:i.Input}],displayMonths:[{type:i.Input}],firstDayOfWeek:[{type:i.Input}],markDisabled:[{type:i.Input}],minDate:[{type:i.Input}],maxDate:[{type:i.Input}],navigation:[{type:i.Input}],outsideDays:[{type:i.Input}],showWeekdays:[{type:i.Input}],showWeekNumbers:[{type:i.Input}],startDate:[{type:i.Input}],navigate:[{type:i.Output}]}},"4cv6":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Dqrr"),r=function(){function t(t){this.dialogService=t}return t.prototype.fillData=function(t){var e=this;t=t||{};for(var n=Object.keys(t),r=0,o=n.length;r<o;r++){var s=n[r];this[s]=t[s]}return i.Observable.create(function(t){return e.observer=t,function(){e.close()}})},t.prototype.close=function(){this.dialogService.removeDialog(this)},t.prototype.ngOnDestroy=function(){this.observer&&this.observer.next(this.result)},t}();e.DialogComponent=r},"4thQ":function(t,e,n){!function(t){t(n("oiK7"))}(function(t){"use strict";var e={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};t.defineMode("xml",function(i,r){function o(t,e){function n(n){return e.tokenize=n,n(t,e)}var i=t.next();if("<"==i)return t.eat("!")?t.eat("[")?t.match("CDATA[")?n(l("atom","]]>")):null:t.match("--")?n(l("comment","--\x3e")):t.match("DOCTYPE",!0,!0)?(t.eatWhile(/[\w\._\-]/),n(u(1))):null:t.eat("?")?(t.eatWhile(/[\w\._\-]/),e.tokenize=l("meta","?>"),"meta"):(T=t.eat("/")?"closeTag":"openTag",e.tokenize=s,"tag bracket");if("&"==i){var r;return r=t.eat("#")?t.eat("x")?t.eatWhile(/[a-fA-F\d]/)&&t.eat(";"):t.eatWhile(/[\d]/)&&t.eat(";"):t.eatWhile(/[\w\.\-:]/)&&t.eat(";"),r?"atom":"error"}return t.eatWhile(/[^&<]/),null}function s(t,e){var n=t.next();if(">"==n||"/"==n&&t.eat(">"))return e.tokenize=o,T=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return T="equals",null;if("<"==n){e.tokenize=o,e.state=f,e.tagName=e.tagStart=null;var i=e.tokenize(t,e);return i?i+" tag error":"tag error"}return/[\'\"]/.test(n)?(e.tokenize=a(n),e.stringStartCol=t.column(),e.tokenize(t,e)):(t.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function a(t){var e=function(e,n){for(;!e.eol();)if(e.next()==t){n.tokenize=s;break}return"string"};return e.isInAttribute=!0,e}function l(t,e){return function(n,i){for(;!n.eol();){if(n.match(e)){i.tokenize=o;break}n.next()}return t}}function u(t){return function(e,n){for(var i;null!=(i=e.next());){if("<"==i)return n.tokenize=u(t+1),n.tokenize(e,n);if(">"==i){if(1==t){n.tokenize=o;break}return n.tokenize=u(t-1),n.tokenize(e,n)}}return"meta"}}function c(t,e,n){this.prev=t.context,this.tagName=e,this.indent=t.indented,this.startOfLine=n,(C.doNotIndent.hasOwnProperty(e)||t.context&&t.context.noIndent)&&(this.noIndent=!0)}function h(t){t.context&&(t.context=t.context.prev)}function p(t,e){for(var n;;){if(!t.context)return;if(n=t.context.tagName,!C.contextGrabbers.hasOwnProperty(n)||!C.contextGrabbers[n].hasOwnProperty(e))return;h(t)}}function f(t,e,n){return"openTag"==t?(n.tagStart=e.column(),d):"closeTag"==t?m:f}function d(t,e,n){return"word"==t?(n.tagName=e.current(),_="tag",b):(_="error",d)}function m(t,e,n){if("word"==t){var i=e.current();return n.context&&n.context.tagName!=i&&C.implicitlyClosed.hasOwnProperty(n.context.tagName)&&h(n),n.context&&n.context.tagName==i||!1===C.matchClosing?(_="tag",v):(_="tag error",g)}return _="error",g}function v(t,e,n){return"endTag"!=t?(_="error",v):(h(n),f)}function g(t,e,n){return _="error",v(t,e,n)}function b(t,e,n){if("word"==t)return _="attribute",y;if("endTag"==t||"selfcloseTag"==t){var i=n.tagName,r=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==t||C.autoSelfClosers.hasOwnProperty(i)?p(n,i):(p(n,i),n.context=new c(n,i,r==n.indented)),f}return _="error",b}function y(t,e,n){return"equals"==t?w:(C.allowMissing||(_="error"),b(t,e,n))}function w(t,e,n){return"string"==t?x:"word"==t&&C.allowUnquoted?(_="string",b):(_="error",b(t,e,n))}function x(t,e,n){return"string"==t?x:b(t,e,n)}var S=i.indentUnit,C={},O=r.htmlMode?e:n;for(var k in O)C[k]=O[k];for(var k in r)C[k]=r[k];var T,_;return o.isInText=!0,{startState:function(t){var e={tokenize:o,state:f,indented:t||0,tagName:null,tagStart:null,context:null};return null!=t&&(e.baseIndent=t),e},token:function(t,e){if(!e.tagName&&t.sol()&&(e.indented=t.indentation()),t.eatSpace())return null;T=null;var n=e.tokenize(t,e);return(n||T)&&"comment"!=n&&(_=null,e.state=e.state(T||n,t,e),_&&(n="error"==_?n+" error":_)),n},indent:function(e,n,i){var r=e.context;if(e.tokenize.isInAttribute)return e.tagStart==e.indented?e.stringStartCol+1:e.indented+S;if(r&&r.noIndent)return t.Pass;if(e.tokenize!=s&&e.tokenize!=o)return i?i.match(/^(\s*)/)[0].length:0;if(e.tagName)return!1!==C.multilineTagIndentPastTag?e.tagStart+e.tagName.length+2:e.tagStart+S*(C.multilineTagIndentFactor||1);if(C.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var a=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(a&&a[1])for(;r;){if(r.tagName==a[2]){r=r.prev;break}if(!C.implicitlyClosed.hasOwnProperty(r.tagName))break;r=r.prev}else if(a)for(;r;){var l=C.contextGrabbers[r.tagName];if(!l||!l.hasOwnProperty(a[2]))break;r=r.prev}for(;r&&r.prev&&!r.startOfLine;)r=r.prev;return r?r.indent+S:e.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:C.htmlMode?"html":"xml",helperType:C.htmlMode?"html":"xml",skipAttribute:function(t){t.state==w&&(t.state=b)}}}),t.defineMIME("text/xml","xml"),t.defineMIME("application/xml","xml"),t.mimeModes.hasOwnProperty("text/html")||t.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"56vs":function(t,e,n){"use strict";function i(t){return r.skipWhile(t)(this)}var r=n("aL6N");e.skipWhile=i},"59zy":function(t,e,n){"use strict";var i=n("/oeL");n.d(e,"a",function(){return r});var r=function(){function t(){this.max=10,this.readonly=!1,this.resettable=!1}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},"5FRs":function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var i=window.location.protocol+"//"+window.location.host,r="http:"==window.location.protocol?"ws://"+window.location.host+"/endpoint":"wss://"+window.location.host+"/endpoint"},"5FV4":function(t,e,n){"use strict";var i=n("/oeL");n.d(e,"a",function(){return r});var r=function(){function t(){this.closeOthers=!1}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},"5NGA":function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=null),function(n){return n.lift(new s(t,e))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+");e.bufferCount=i;var s=function(){function t(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?l:a}return t.prototype.call=function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))},t}(),a=function(t){function e(e,n){t.call(this,e),this.bufferSize=n,this.buffer=[]}return r(e,t),e.prototype._next=function(t){var e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])},e.prototype._complete=function(){var e=this.buffer;e.length>0&&this.destination.next(e),t.prototype._complete.call(this)},e}(o.Subscriber),l=function(t){function e(e,n,i){t.call(this,e),this.bufferSize=n,this.startBufferEvery=i,this.buffers=[],this.count=0}return r(e,t),e.prototype._next=function(t){var e=this,n=e.bufferSize,i=e.startBufferEvery,r=e.buffers,o=e.count;this.count++,o%i==0&&r.push([]);for(var s=r.length;s--;){var a=r[s];a.push(t),a.length===n&&(r.splice(s,1),this.destination.next(a))}},e.prototype._complete=function(){for(var e=this,n=e.buffers,i=e.destination;n.length>0;){var r=n.shift();r.length>0&&i.next(r)}t.prototype._complete.call(this)},e}(o.Subscriber)},"5h8W":function(t,e,n){"use strict";var i=n("/oeL"),r=n("qbdv"),o=n("Hjei"),s=n("+E40");n.d(e,"a",function(){return l});var a=[o.a,o.b,o.c,o.d],l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();l.decorators=[{type:i.NgModule,args:[{declarations:a,exports:a,imports:[r.CommonModule]}]}],l.ctorParameters=function(){return[]}},"5p6H":function(t,e,n){"use strict";var i=n("bKpL"),r=n("TIdC");i.Observable.prototype.mergeAll=r.mergeAll},"5r3W":function(t,e,n){"use strict";function i(t){return void 0===t&&(t=-1),function(e){return e.lift(new s(t,e))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+");e.retry=i;var s=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.count,this.source))},t}(),a=function(t){function e(e,n,i){t.call(this,e),this.count=n,this.source=i}return r(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this,i=n.source,r=n.count;if(0===r)return t.prototype.error.call(this,e);r>-1&&(this.count=r-1),i.subscribe(this._unsubscribeAndRecycle())}},e}(o.Subscriber)},"5uCp":function(t,e,n){"use strict";var i=n("bKpL"),r=n("Lqs2");i.Observable.prototype.take=r.take},"5v8a":function(t,e,n){"use strict";var i=n("bKpL"),r=n("lx+J");i.Observable.prototype.map=r.map},"5x23":function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new s(t))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+");e.takeWhile=i;var s=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate))},t}(),a=function(t){function e(e,n){t.call(this,e),this.predicate=n,this.index=0}return r(e,t),e.prototype._next=function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(t){return void n.error(t)}this.nextOrComplete(t,e)},e.prototype.nextOrComplete=function(t,e){var n=this.destination;Boolean(e)?n.next(t):n.complete()},e}(o.Subscriber)},"60lp":function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=a.async),function(n){return n.lift(new l(t,e))}}function r(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("T14+"),a=n("IhB/");e.sampleTime=i;var l=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.period,this.scheduler))},t}(),u=function(t){function e(e,n,i){t.call(this,e),this.period=n,this.scheduler=i,this.hasValue=!1,this.add(i.schedule(r,n,{subscriber:this,period:n}))}return o(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(s.Subscriber)},"60yU":function(t,e,n){"use strict";function i(t){return r.repeatWhen(t)(this)}var r=n("g9kf");e.repeatWhen=i},"67Ck":function(t,e,n){"use strict";var i=n("bKpL"),r=n("56vs");i.Observable.prototype.skipWhile=r.skipWhile},"6DBm":function(t,e,n){"use strict";var i=n("bKpL"),r=n("+c7d");i.Observable.prototype.combineLatest=r.combineLatest},"6JjX":function(t,e,n){"use strict";function i(){return r.switchAll()(this)}var r=n("rhfi");e._switch=i},"6NKQ":function(t,e,n){"use strict";var i=n("bKpL"),r=n("kkQ5");i.Observable.prototype.scan=r.scan},"6P86":function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null,i=null;return r.isScheduler(t[t.length-1])&&(i=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&o.isArray(t[0])&&(t=t[0]),new s.ArrayObservable(t,i).lift(new a.CombineLatestOperator(n))}var r=n("MicL"),o=n("NSJx"),s=n("wZOE"),a=n("H4tt");e.combineLatest=i},"6QEA":function(t,e,n){"use strict";function i(t,e){return function(n){return n.lift(new l(t,e))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("xFbG"),s=n("ktfo"),a=n("yW9Z");e.bufferToggle=i;var l=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.openings,this.closingSelector))},t}(),u=function(t){function e(e,n,i){t.call(this,e),this.openings=n,this.closingSelector=i,this.contexts=[],this.add(s.subscribeToResult(this,n))}return r(e,t),e.prototype._next=function(t){for(var e=this.contexts,n=e.length,i=0;i<n;i++)e[i].buffer.push(t)},e.prototype._error=function(e){for(var n=this.contexts;n.length>0;){var i=n.shift();i.subscription.unsubscribe(),i.buffer=null,i.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var n=e.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,i,r){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector,n=e.call(this,t);n&&this.trySubscribe(n)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var n=t.buffer,i=t.subscription;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(i),i.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=[],i=new o.Subscription,r={buffer:n,subscription:i};e.push(r);var a=s.subscribeToResult(this,t,r);!a||a.closed?this.closeBuffer(r):(a.context=r,this.add(a),i.add(a))},e}(a.OuterSubscriber)},"6ade":function(t,e,n){"use strict";var i=n("/oeL"),r=n("qbdv"),o=n("L5DB"),s=n("V6Dl");n.d(e,"a",function(){return a});var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();a.decorators=[{type:i.NgModule,args:[{declarations:[o.a],exports:[o.a],imports:[r.CommonModule]}]}],a.ctorParameters=function(){return[]}},"6akk":function(t,e,n){"use strict";var i=n("CPp0"),r=n("5v8a"),o=(n.n(r),n("5FRs"));n.d(e,"a",function(){return s});var s=function(){function t(t){this.http=t}return t.prototype.login=function(t,e){var n=new i.l({"Content-Type":"application/json"}),r=new i.g({headers:n});return this.http.post(o.a+"/servicios/login",JSON.stringify({cedula:t,password:e}),r).map(function(t){var e=t.json();sessionStorage.setItem("currentUser",JSON.stringify(e))})},t.prototype.getUser=function(){return JSON.parse(sessionStorage.getItem("currentUser"))},t.prototype.getUserConfig=function(){return JSON.parse(sessionStorage.getItem("currentUser")).configuracion},t.prototype.getToken=function(){var t=JSON.parse(sessionStorage.getItem("currentUser"));return t?t.token:void 0},t.prototype.setUserConfig=function(t){var e=JSON.parse(sessionStorage.getItem("currentUser"));e.configuracion=t,sessionStorage.setItem("currentUser",JSON.stringify(e))},t.prototype.logout=function(){sessionStorage.removeItem("currentUser")},t.ctorParameters=function(){return[{type:i.i}]},t}()},"6d3x":function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new s(t))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+");e.mapTo=i;var s=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.value))},t}(),a=function(t){function e(e,n){t.call(this,e),this.value=n}return r(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(o.Subscriber)},"6jp4":function(t,e,n){"use strict";function i(t){return t instanceof Date&&!isNaN(+t)}e.isDate=i},"6nek":function(t,e,n){"use strict";var i=n("q+5A");e.interval=i.IntervalObservable.create},"75Hr":function(t,e,n){"use strict";function i(t,e,n,i){var r=o.positionElements(t,e,n,i);e.style.top=r.top+"px",e.style.left=r.left+"px"}e.a=i;var r=function(){function t(){}return t.prototype.getStyle=function(t,e){return window.getComputedStyle(t)[e]},t.prototype.isStaticPositioned=function(t){return"static"===(this.getStyle(t,"position")||"static")},t.prototype.offsetParent=function(t){for(var e=t.offsetParent||document.documentElement;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement},t.prototype.position=function(t,e){void 0===e&&(e=!0);var n,i={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(t,"position"))n=t.getBoundingClientRect();else{var r=this.offsetParent(t);n=this.offset(t,!1),r!==document.documentElement&&(i=this.offset(r,!1)),i.top+=r.clientTop,i.left+=r.clientLeft}return n.top-=i.top,n.bottom-=i.top,n.left-=i.left,n.right-=i.left,e&&(n.top=Math.round(n.top),n.bottom=Math.round(n.bottom),n.left=Math.round(n.left),n.right=Math.round(n.right)),n},t.prototype.offset=function(t,e){void 0===e&&(e=!0);var n=t.getBoundingClientRect(),i={top:window.pageYOffset-document.documentElement.clientTop,left:window.pageXOffset-document.documentElement.clientLeft},r={height:n.height||t.offsetHeight,width:n.width||t.offsetWidth,top:n.top+i.top,bottom:n.bottom+i.top,left:n.left+i.left,right:n.right+i.left};return e&&(r.height=Math.round(r.height),r.width=Math.round(r.width),r.top=Math.round(r.top),r.bottom=Math.round(r.bottom),r.left=Math.round(r.left),r.right=Math.round(r.right)),r},t.prototype.positionElements=function(t,e,n,i){var r=i?this.offset(t,!1):this.position(t,!1),o={left:r.left,center:r.left+r.width/2-e.offsetWidth/2,right:r.left+r.width},s={top:r.top,center:r.top+r.height/2-e.offsetHeight/2,bottom:r.top+r.height},a=e.getBoundingClientRect(),l=n.split("-")[0]||"top",u=n.split("-")[1]||"center",c={height:a.height||e.offsetHeight,width:a.width||e.offsetWidth,top:0,bottom:a.height||e.offsetHeight,left:0,right:a.width||e.offsetWidth};switch(l){case"top":c.top=r.top-e.offsetHeight,c.bottom+=r.top-e.offsetHeight,c.left=o[u],c.right+=o[u];break;case"bottom":c.top=s[l],c.bottom+=s[l],c.left=o[u],c.right+=o[u];break;case"left":c.top=s[u],c.bottom+=s[u],c.left=r.left-e.offsetWidth,c.right+=r.left-e.offsetWidth;break;case"right":c.top=s[u],c.bottom+=s[u],c.left=o[l],c.right+=o[l]}return c.top=Math.round(c.top),c.bottom=Math.round(c.bottom),c.left=Math.round(c.left),c.right=Math.round(c.right),c},t}(),o=new r},"7Obz":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("I2Y9"),o=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<r&&(t=n.shift()));if(this.active=!1,e){for(;++i<r&&(t=n.shift());)t.unsubscribe();throw e}},e}(r.AsyncScheduler);e.AnimationFrameScheduler=o},"7PW3":function(t,e,n){"use strict";var i=n("T5Q1");e.using=i.UsingObservable.create},"7dLC":function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.race.apply(void 0,t)(this)}var r=n("XWpj"),o=n("YofN");e.raceStatic=o.race,e.race=i},"7kbP":function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 1===t.length||2===t.length&&r.isScheduler(t[1])?s.from(t[0]):a.concatAll()(o.of.apply(void 0,t))}var r=n("MicL"),o=n("+zVg"),s=n("7JOC"),a=n("NiCh");e.concat=i},"7rqg":function(t,e,n){"use strict";var i=n("bKpL"),r=n("TQn8");i.Observable.prototype.concatMap=r.concatMap},"7tal":function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new l(t))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("rlar"),s=n("yW9Z"),a=n("ktfo");e.window=i;var l=function(){function t(t){this.windowBoundaries=t}return t.prototype.call=function(t,e){var n=new u(t),i=e.subscribe(n);return i.closed||n.add(a.subscribeToResult(n,this.windowBoundaries)),i},t}(),u=function(t){function e(e){t.call(this,e),this.window=new o.Subject,e.next(this.window)}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.openWindow()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this._complete()},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t)},e.prototype._complete=function(){this.window.complete(),this.destination.complete()},e.prototype._unsubscribe=function(){this.window=null},e.prototype.openWindow=function(){var t=this.window;t&&t.complete();var e=this.destination,n=this.window=new o.Subject;e.next(n)},e}(s.OuterSubscriber)},"7u+W":function(t,e,n){"use strict";var i=n("bKpL"),r=n("QU9E");i.Observable.fromPromise=r.fromPromise},"7xz3":function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new r.CombineLatestOperator(t))}}var r=n("H4tt");e.combineAll=i},"7zUS":function(t,e,n){"use strict";var i=n("/oeL");n.d(e,"a",function(){return r});var r=function(){function t(){this.placement="top",this.triggers="click"}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},"82j9":function(t,e){},"86mp":function(t,e,n){"use strict";var i=n("bKpL"),r=n("s6AU");i.Observable.prototype.takeWhile=r.takeWhile},"89am":function(t,e,n){"use strict";var i=n("bKpL"),r=n("vokw");i.Observable.prototype.expand=r.expand},"8Ben":function(t,e,n){"use strict";function i(t){return t(this)}e.letProto=i},"8H5Y":function(t,e,n){"use strict";function i(t,e,n,i){return function(r){return r.lift(new h(t,e,n,i))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+"),s=n("xFbG"),a=n("bKpL"),l=n("rlar"),u=n("R61s"),c=n("etpI");e.groupBy=i;var h=function(){function t(t,e,n,i){this.keySelector=t,this.elementSelector=e,this.durationSelector=n,this.subjectSelector=i}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},t}(),p=function(t){function e(e,n,i,r,o){t.call(this,e),this.keySelector=n,this.elementSelector=i,this.durationSelector=r,this.subjectSelector=o,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}return r(e,t),e.prototype._next=function(t){var e;try{e=this.keySelector(t)}catch(t){return void this.error(t)}this._group(t,e)},e.prototype._group=function(t,e){var n=this.groups;n||(n=this.groups="string"==typeof e?new c.FastMap:new u.Map);var i,r=n.get(e);if(this.elementSelector)try{i=this.elementSelector(t)}catch(t){this.error(t)}else i=t;if(!r){r=this.subjectSelector?this.subjectSelector():new l.Subject,n.set(e,r);var o=new d(e,r,this);if(this.destination.next(o),this.durationSelector){var s=void 0;try{s=this.durationSelector(new d(e,r))}catch(t){return void this.error(t)}this.add(s.subscribe(new f(e,r,this)))}}r.closed||r.next(i)},e.prototype._error=function(t){var e=this.groups;e&&(e.forEach(function(e,n){e.error(t)}),e.clear()),this.destination.error(t)},e.prototype._complete=function(){var t=this.groups;t&&(t.forEach(function(t,e){t.complete()}),t.clear()),this.destination.complete()},e.prototype.removeGroup=function(t){this.groups.delete(t)},e.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&t.prototype.unsubscribe.call(this))},e}(o.Subscriber),f=function(t){function e(e,n,i){t.call(this,n),this.key=e,this.group=n,this.parent=i}return r(e,t),e.prototype._next=function(t){this.complete()},e.prototype._unsubscribe=function(){var t=this,e=t.parent,n=t.key;this.key=this.parent=null,e&&e.removeGroup(n)},e}(o.Subscriber),d=function(t){function e(e,n,i){t.call(this),this.key=e,this.groupSubject=n,this.refCountSubscription=i}return r(e,t),e.prototype._subscribe=function(t){var e=new s.Subscription,n=this,i=n.refCountSubscription,r=n.groupSubject;return i&&!i.closed&&e.add(new m(i)),e.add(r.subscribe(t)),e},e}(a.Observable);e.GroupedObservable=d;var m=function(t){function e(e){t.call(this),this.parent=e,e.count++}return r(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(s.Subscription)},"8Jh8":function(t,e,n){"use strict";function i(t){return r.takeUntil(t)(this)}var r=n("y3aq");e.takeUntil=i},"8efI":function(t,e,n){"use strict";function i(t,e){return r.distinct(t,e)(this)}var r=n("y+rW");e.distinct=i},"8pdA":function(t,e,n){"use strict";function i(t){var e=arguments.length,n=r.async;o.isScheduler(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var i=null;e>=2&&(i=arguments[1]);var a=Number.POSITIVE_INFINITY;return e>=3&&(a=arguments[2]),s.bufferTime(t,i,a,n)(this)}var r=n("IhB/"),o=n("MicL"),s=n("duFl");e.bufferTime=i},"99fb":function(t,e,n){!function(t){t(n("oiK7"))}(function(t){"use strict";var e=/[\w$]+/;t.registerHelper("hint","anyword",function(n,i){for(var r=i&&i.word||e,o=i&&i.range||500,s=n.getCursor(),a=n.getLine(s.line),l=s.ch,u=l;u&&r.test(a.charAt(u-1));)--u;for(var c=u!=l&&a.slice(u,l),h=i&&i.list||[],p={},f=new RegExp(r.source,"g"),d=-1;d<=1;d+=2)for(var m=s.line,v=Math.min(Math.max(m+d*o,n.firstLine()),n.lastLine())+d;m!=v;m+=d)for(var g,b=n.getLine(m);g=f.exec(b);)m==s.line&&g[0]===c||c&&0!=g[0].lastIndexOf(c,0)||Object.prototype.hasOwnProperty.call(p,g[0])||(p[g[0]]=!0,h.push(g[0]));return{list:h,from:t.Pos(s.line,u),to:t.Pos(s.line,l)}})})},"9FjR":function(t,e,n){"use strict";function i(){return function(t){return t.lift(new s)}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+");e.pairwise=i;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e),this.hasPrev=!1}return r(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(o.Subscriber)},"9jMf":function(t,e,n){"use strict";var i=n("bKpL"),r=n("Ohh6");i.Observable.prototype.startWith=r.startWith},"9lCb":function(t,e,n){"use strict";var i=n("bKpL"),r=n("GB+a");i.Observable.prototype.sequenceEqual=r.sequenceEqual},"9mSN":function(t,e,n){"use strict";var i=n("bKpL"),r=n("WAO4");i.Observable.prototype.timeoutWith=r.timeoutWith},"9mYp":function(t,e,n){"use strict";var i=n("r6G9");e.onErrorResumeNext=i.onErrorResumeNextStatic},"9tb5":function(t,e,n){"use strict";function i(t,e){return r.exhaustMap(t,e)(this)}var r=n("NzSV");e.exhaustMap=i},"9wNb":function(t,e,n){"use strict";var i=n("bKpL"),r=n("8efI");i.Observable.prototype.distinct=r.distinct},"A+1n":function(t,e,n){!function(t){t(n("oiK7"))}(function(t){"use strict";t.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"null",mode:"jinja2"},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective C",mime:"text/x-objectivec",mode:"clike",ext:["m","mm"],alias:["objective-c","objc"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mime:["application/x-httpd-php","text/x-php"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki ",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var e=0;e<t.modeInfo.length;e++){var n=t.modeInfo[e];n.mimes&&(n.mime=n.mimes[0])}t.findModeByMIME=function(e){e=e.toLowerCase();for(var n=0;n<t.modeInfo.length;n++){var i=t.modeInfo[n];if(i.mime==e)return i;if(i.mimes)for(var r=0;r<i.mimes.length;r++)if(i.mimes[r]==e)return i}return/\+xml$/.test(e)?t.findModeByMIME("application/xml"):/\+json$/.test(e)?t.findModeByMIME("application/json"):void 0},t.findModeByExtension=function(e){for(var n=0;n<t.modeInfo.length;n++){var i=t.modeInfo[n];if(i.ext)for(var r=0;r<i.ext.length;r++)if(i.ext[r]==e)return i}},t.findModeByFileName=function(e){for(var n=0;n<t.modeInfo.length;n++){var i=t.modeInfo[n];if(i.file&&i.file.test(e))return i}var r=e.lastIndexOf("."),o=r>-1&&e.substring(r+1,e.length);if(o)return t.findModeByExtension(o)},t.findModeByName=function(e){e=e.toLowerCase();for(var n=0;n<t.modeInfo.length;n++){var i=t.modeInfo[n];if(i.name.toLowerCase()==e)return i;if(i.alias)for(var r=0;r<i.alias.length;r++)if(i.alias[r].toLowerCase()==e)return i}}})},A1r7:function(t,e,n){"use strict";var i=n("bKpL"),r=n("buGu");i.Observable.prototype.defaultIfEmpty=r.defaultIfEmpty},ACG2:function(t,e,n){"use strict";var i=n("bKpL"),r=n("6nek");i.Observable.interval=r.interval},AHF9:function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=0),r.observeOn(t,e)(this)}var r=n("GDiU");e.observeOn=i},ASfG:function(t,e,n){"use strict";function i(t){return function(e){return o.multicast(new r.BehaviorSubject(t))(e)}}var r=n("gvep"),o=n("P02W");e.publishBehavior=i},AVYa:function(t,e,n){"use strict";var i=n("/oeL"),r=n("zGKh");n.d(e,"a",function(){return o});var o=function(){function t(t,e){this._elRef=t,this._renderer=e,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new i.EventEmitter}return t.prototype.backdropClick=function(t){!0===this.backdrop&&this._elRef.nativeElement===t.target&&this.dismiss(r.a.BACKDROP_CLICK)},t.prototype.escKey=function(t){this.keyboard&&!t.defaultPrevented&&this.dismiss(r.a.ESC)},t.prototype.dismiss=function(t){this.dismissEvent.emit(t)},t.prototype.ngOnInit=function(){this._elWithFocus=document.activeElement,this._renderer.addClass(document.body,"modal-open")},t.prototype.ngAfterViewInit=function(){this._elRef.nativeElement.contains(document.activeElement)||this._elRef.nativeElement.focus.apply(this._elRef.nativeElement,[])},t.prototype.ngOnDestroy=function(){this._elWithFocus&&document.body.contains(this._elWithFocus)?this._elWithFocus.focus.apply(this._elWithFocus,[]):document.body.focus.apply(document.body,[]),this._elWithFocus=null,this._renderer.removeClass(document.body,"modal-open")},t}();o.decorators=[{type:i.Component,args:[{selector:"ngb-modal-window",host:{"[class]":'"modal fade show" + (windowClass ? " " + windowClass : "")',role:"dialog",tabindex:"-1",style:"display: block;","(keyup.esc)":"escKey($event)","(click)":"backdropClick($event)"},template:"\n <div [class]=\"'modal-dialog' + (size ? ' modal-' + size : '')\" role=\"document\">\n <div class=\"modal-content\"><ng-content></ng-content></div>\n </div>\n "}]}],o.ctorParameters=function(){return[{type:i.ElementRef},{type:i.Renderer2}]},o.propDecorators={backdrop:[{type:i.Input}],keyboard:[{type:i.Input}],size:[{type:i.Input}],windowClass:[{type:i.Input}],dismissEvent:[{type:i.Output,args:["dismiss"]}]}},Af4u:function(t,e,n){"use strict";var i=n("bKpL"),r=n("YofN");i.Observable.race=r.race},Av3o:function(t,e,n){"use strict";var i=n("/oeL"),r=n("GaSD"),o=n("CuDZ");n.d(e,"a",function(){return s});var s=function(){function t(t){this.i18n=t,this.select=new i.EventEmitter}return t.prototype.doSelect=function(t){this.isDisabled(t)||this.isHidden(t)||this.select.emit(r.a.from(t.date))},t.prototype.isDisabled=function(t){return this.disabled||t.disabled},t.prototype.isSelected=function(t){return this.selectedDate&&this.selectedDate.equals(t)},t.prototype.isCollapsed=function(t){return"collapsed"===this.outsideDays&&t.days[0].date.month!==this.month.number&&t.days[t.days.length-1].date.month!==this.month.number},t.prototype.isHidden=function(t){return("hidden"===this.outsideDays||"collapsed"===this.outsideDays)&&this.month.number!==t.date.month},t}();s.decorators=[{type:i.Component,args:[{selector:"ngb-datepicker-month-view",host:{class:"d-block"},styles:["\n .ngb-dp-weekday, .ngb-dp-week-number {\n line-height: 2rem;\n }\n .ngb-dp-day, .ngb-dp-weekday, .ngb-dp-week-number {\n width: 2rem;\n height: 2rem; \n }\n .ngb-dp-day {\n cursor: pointer;\n }\n .ngb-dp-day.disabled, .ngb-dp-day.hidden {\n cursor: default;\n }\n "],template:'\n <div *ngIf="showWeekdays" class="ngb-dp-week d-flex">\n <div *ngIf="showWeekNumbers" class="ngb-dp-weekday"></div>\n <div *ngFor="let w of month.weekdays" class="ngb-dp-weekday small text-center text-info font-italic">\n {{ i18n.getWeekdayShortName(w) }}\n </div>\n </div>\n <ng-template ngFor let-week [ngForOf]="month.weeks">\n <div *ngIf="!isCollapsed(week)" class="ngb-dp-week d-flex">\n <div *ngIf="showWeekNumbers" class="ngb-dp-week-number small text-center font-italic text-muted">{{ week.number }}</div>\n <div *ngFor="let day of week.days" (click)="doSelect(day)" class="ngb-dp-day" [class.disabled]="isDisabled(day)"\n [class.hidden]="isHidden(day)">\n <ng-template [ngIf]="!isHidden(day)">\n <ng-template [ngTemplateOutlet]="dayTemplate"\n [ngOutletContext]="{date: {year: day.date.year, month: day.date.month, day: day.date.day},\n currentMonth: month.number,\n disabled: isDisabled(day),\n selected: isSelected(day.date)}">\n </ng-template>\n </ng-template>\n </div>\n </div>\n </ng-template>\n '}]}],s.ctorParameters=function(){return[{type:o.a}]},s.propDecorators={dayTemplate:[{type:i.Input}],disabled:[{type:i.Input}],month:[{type:i.Input}],outsideDays:[{type:i.Input}],selectedDate:[{type:i.Input}],showWeekdays:[{type:i.Input}],showWeekNumbers:[{type:i.Input}],select:[{type:i.Output}]}},AzAY:function(t,e,n){"use strict";function i(t,e,n,i){return r.publishReplay(t,e,n,i)(this)}var r=n("z8/z");e.publishReplay=i},"B/As":function(t,e,n){"use strict";var i=n("bKpL"),r=n("ltng");i.Observable.range=r.range},BBvl:function(t,e,n){"use strict";var i=n("bKpL"),r=n("/9bB");i.Observable.prototype.materialize=r.materialize},BJqU:function(t,e,n){"use strict";function i(t,e,n){return void 0===e&&(e=r.async),void 0===n&&(n=o.defaultThrottleConfig),s.throttleTime(t,e,n)(this)}var r=n("IhB/"),o=n("DrEP"),s=n("Rol4");e.throttleTime=i},BbOI:function(t,e,n){"use strict";var i=n("f7+7");e.bindNodeCallback=i.BoundNodeCallbackObservable.create},BdLl:function(t,e,n){"use strict";var i=n("bKpL"),r=n("vioa");i.Observable.timer=r.timer},C4ew:function(t,e,n){"use strict";function i(){return function(t){return t.lift(new s)}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+");e.isEmpty=i;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e)}return r(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(o.Subscriber)},C8VA:function(t,e,n){"use strict";var i=n("/oeL"),r=n("uJci");n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s});var o=function(){function t(){}return t.prototype.close=function(t){},t.prototype.dismiss=function(t){},t}();o.decorators=[{type:i.Injectable}],o.ctorParameters=function(){return[]};var s=function(){function t(t,e,n){var i=this;this._windowCmptRef=t,this._contentRef=e,this._backdropCmptRef=n,t.instance.dismissEvent.subscribe(function(t){i.dismiss(t)}),this.result=new Promise(function(t,e){i._resolve=t,i._reject=e}),this.result.then(null,function(){})}return Object.defineProperty(t.prototype,"componentInstance",{get:function(){if(this._contentRef.componentRef)return this._contentRef.componentRef.instance},set:function(t){},enumerable:!0,configurable:!0}),t.prototype.close=function(t){this._windowCmptRef&&(this._resolve(t),this._removeModalElements())},t.prototype.dismiss=function(t){this._windowCmptRef&&(this._reject(t),this._removeModalElements())},t.prototype._removeModalElements=function(){var t=this._windowCmptRef.location.nativeElement;if(t.parentNode.removeChild(t),this._windowCmptRef.destroy(),this._backdropCmptRef){var e=this._backdropCmptRef.location.nativeElement;e.parentNode.removeChild(e),this._backdropCmptRef.destroy()}this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._backdropCmptRef=null,this._contentRef=null},t}();s.decorators=[{type:i.Injectable}],s.ctorParameters=function(){return[{type:i.ComponentRef},{type:r.b},{type:i.ComponentRef}]}},"CH/r":function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=r.async),o.debounceTime(t,e)(this)}var r=n("IhB/"),o=n("Hr+Y");e.debounceTime=i},CQyF:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("bKpL"),o=function(t){function e(e,n){t.call(this),this.error=e,this.scheduler=n}return i(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.error;t.subscriber.error(e)},e.prototype._subscribe=function(t){var n=this.error,i=this.scheduler;if(t.syncErrorThrowable=!0,i)return i.schedule(e.dispatch,0,{error:n,subscriber:t});t.error(n)},e}(r.Observable);e.ErrorObservable=o},CU81:function(t,e,n){"use strict";function i(t){return l["ɵvid"](0,[(t()(),l["ɵted"](-1,null,["\n "])),(t()(),l["ɵeld"](1,0,null,null,1,"ngb-highlight",[],null,null,null,u.a,u.b)),l["ɵdid"](2,573440,null,0,c.a,[],{result:[0,"result"],term:[1,"term"]},null),(t()(),l["ɵted"](-1,null,["\n "]))],function(t,e){t(e,2,0,e.context.formatter(e.context.result),e.context.term)},null)}function r(t){return l["ɵvid"](0,[(t()(),l["ɵand"](0,null,null,0))],null,null)}function o(t){return l["ɵvid"](0,[(t()(),l["ɵted"](-1,null,["\n "])),(t()(),l["ɵeld"](1,0,null,null,5,"button",[["class","dropdown-item"],["role","option"],["type","button"]],[[8,"id",0],[2,"active",null]],[[null,"mouseenter"],[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("mouseenter"===e){i=!1!==r.markActive(t.context.index)&&i}if("click"===e){i=!1!==r.select(t.context.$implicit)&&i}return i},null,null)),(t()(),l["ɵted"](-1,null,["\n "])),(t()(),l["ɵand"](16777216,null,null,2,null,r)),l["ɵdid"](4,540672,null,0,h.NgTemplateOutlet,[l.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"],ngOutletContext:[1,"ngOutletContext"]},null),l["ɵpod"](5,{result:0,term:1,formatter:2}),(t()(),l["ɵted"](-1,null,["\n "])),(t()(),l["ɵted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,4,0,n.resultTemplate||l["ɵnov"](e.parent,1),t(e,5,0,e.context.$implicit,n.term,n.formatter))},function(t,e){var n=e.component;t(e,1,0,n.id+"-"+e.context.index,e.context.index===n.activeIdx)})}function s(t){return l["ɵvid"](0,[(t()(),l["ɵted"](-1,null,["\n "])),(t()(),l["ɵand"](0,[["rt",2]],null,0,null,i)),(t()(),l["ɵted"](-1,null,["\n "])),(t()(),l["ɵand"](16777216,null,null,1,null,o)),l["ɵdid"](4,802816,null,0,h.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),l["ɵted"](-1,null,["\n "]))],function(t,e){t(e,4,0,e.component.results)},null)}function a(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,0,null,null,1,"ngb-typeahead-window",[["class","dropdown-menu"],["role","listbox"],["style","display: block"]],[[8,"id",0]],null,null,s,d)),l["ɵdid"](1,114688,null,0,p.a,[],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,l["ɵnov"](e,1).id)})}var l=n("/oeL"),u=n("3yXI"),c=n("OPj5"),h=n("qbdv"),p=n("c0Tg");n.d(e,"a",function(){return m});var f=[],d=l["ɵcrt"]({encapsulation:2,styles:f,data:{}}),m=l["ɵccf"]("ngb-typeahead-window",p.a,a,{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate"},{selectEvent:"select",activeChangeEvent:"activeChange"},[])},CXR1:function(t,e,n){"use strict";var i=n("bKpL"),r=n("tpuU");i.Observable.prototype.zipAll=r.zipAll},Cb36:function(t,e,n){"use strict";var i=n("/oeL"),r=n("qbdv"),o=n("59zy"),s=n("PySC");n.d(e,"a",function(){return a});var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}();a.decorators=[{type:i.NgModule,args:[{declarations:[s.a],exports:[s.a],imports:[r.CommonModule]}]}],a.ctorParameters=function(){return[]}},Cipy:function(t,e,n){"use strict";function i(t,e,n){return r.shareReplay(t,e,n)(this)}var r=n("Wxra");e.shareReplay=i},ClIn:function(t,e,n){"use strict";function i(t){return o["ɵvid"](2,[(t()(),o["ɵted"](-1,null,["\n "])),(t()(),o["ɵeld"](1,0,null,null,1,"div",[["class","tooltip-inner"]],null,null,null,null,null)),o["ɵncd"](null,0),(t()(),o["ɵted"](-1,null,["\n "]))],null,null)}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,0,null,null,1,"ngb-tooltip-window",[["role","tooltip"]],[[8,"className",0],[8,"id",0]],null,null,i,l)),o["ɵdid"](1,49152,null,0,s.b,[],null,null)],null,function(t,e){t(e,0,0,"tooltip show tooltip-"+o["ɵnov"](e,1).placement,o["ɵnov"](e,1).id)})}var o=n("/oeL"),s=n("JFa0");n.d(e,"a",function(){return u});var a=[],l=o["ɵcrt"]({encapsulation:2,styles:a,data:{}}),u=o["ɵccf"]("ngb-tooltip-window",s.b,r,{placement:"placement",id:"id"},{},["*"])},CuDZ:function(t,e,n){"use strict";var i=n("/oeL");n.d(e,"a",function(){return l}),n.d(e,"b",function(){return u});var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=["Mo","Tu","We","Th","Fr","Sa","Su"],s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],a=["January","February","March","April","May","June","July","August","September","October","November","December"],l=function(){function t(){}return t}();l.decorators=[{type:i.Injectable}],l.ctorParameters=function(){return[]};var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWeekdayShortName=function(t){return o[t-1]},e.prototype.getMonthShortName=function(t){return s[t-1]},e.prototype.getMonthFullName=function(t){return a[t-1]},e}(l);u.decorators=[{type:i.Injectable}],u.ctorParameters=function(){return[]}},D84Q:function(t,e,n){"use strict";var i=n("bKpL"),r=n("NUku");i.Observable.prototype.buffer=r.buffer},DaIH:function(t,e,n){"use strict";var i=n("/oeL"),r=n("qbdv"),o=n("OPj5"),s=n("c0Tg"),a=n("raIJ"),l=n("0H8/");n.d(e,"a",function(){return u});var u=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[l.a]}},t}();u.decorators=[{type:i.NgModule,args:[{declarations:[a.a,o.a,s.a],exports:[a.a],imports:[r.CommonModule],entryComponents:[s.a]}]}],u.ctorParameters=function(){return[]}},De29:function(t,e,n){"use strict";var i=n("bKpL"),r=n("NgMz");i.Observable.prototype.findIndex=r.findIndex},DlWC:function(t,e,n){"use strict";function i(t){return o["ɵvid"](0,[],null,null)}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,0,null,null,1,"ngb-modal-backdrop",[["class","modal-backdrop fade show"]],null,null,null,i,l)),o["ɵdid"](1,49152,null,0,s.a,[],null,null)],null,null)}var o=n("/oeL"),s=n("1Dsc");n.d(e,"a",function(){return u});var a=[],l=o["ɵcrt"]({encapsulation:2,styles:a,data:{}}),u=o["ɵccf"]("ngb-modal-backdrop",s.a,r,{},{},[])},Dqrr:function(t,e,n){"use strict";var i=n("rlar");e.Subject=i.Subject,e.AnonymousSubject=i.AnonymousSubject;var r=n("bKpL");e.Observable=r.Observable,n("amjc"),n("p3u8"),n("vJ3t"),n("JSgX"),n("VsKd"),n("hbO+"),n("GPwi"),n("XL2q"),n("Xtvq"),n("ZXBV"),n("7u+W"),n("d3kC"),n("okgN"),n("ACG2"),n("JNTq"),n("Af4u"),n("dyFf"),n("/zHi"),n("bprQ"),n("mjW1"),n("B/As"),n("W5L8"),n("S7im"),n("BdLl"),n("tcot"),n("o/OZ"),n("4JlW"),n("D84Q"),n("i4mq"),n("t8nJ"),n("LTTx"),n("UVHa"),n("xpf9"),n("rp90"),n("6DBm"),n("R0J0"),n("+Ve+"),n("7rqg"),n("oOL0"),n("vKg+"),n("E2ib"),n("p3bn"),n("azLz"),n("A1r7"),n("l3Q+"),n("TnjP"),n("9wNb"),n("MBEm"),n("mDYJ"),n("eqpX"),n("ptvE"),n("h+is"),n("89am"),n("afTc"),n("gbhw"),n("zc4d"),n("MaQZ"),n("De29"),n("ZQKz"),n("zZnE"),n("IpZT"),n("StS+"),n("pkLr"),n("qNQE"),n("dy5W"),n("ykQW"),n("r+/7"),n("5v8a"),n("iwys"),n("BBvl"),n("ScG9"),n("ub06"),n("5p6H"),n("RpuY"),n("srZQ"),n("SKRq"),n("pHO4"),n("PatI"),n("XR71"),n("NOvV"),n("Uvlg"),n("Lssd"),n("Ozq5"),n("VML3"),n("LClL"),n("HUu4"),n("vtHn"),n("dgXD"),n("Plqt"),n("UD+B"),n("/amm"),n("v6xs"),n("svCP"),n("+0Ji"),n("VXtB"),n("6NKQ"),n("9lCb"),n("qm+V"),n("g3vg"),n("z69B"),n("vfw3"),n("zdWg"),n("j8RC"),n("67Ck"),n("9jMf"),n("kIyd"),n("mvrJ"),n("Pic8"),n("1pbG"),n("5uCp"),n("bN7U"),n("q07K"),n("86mp"),n("OGSH"),n("YFUQ"),n("UbPm"),n("uGEk"),n("9mSN"),n("vNV3"),n("IUpl"),n("82j9"),n("Z2Sm"),n("eumZ"),n("RNRn"),n("sSYo"),n("kAWK"),n("asHm"),n("ItUe"),n("CXR1");var o=n("xFbG");e.Subscription=o.Subscription;var s=n("T14+");e.Subscriber=s.Subscriber;var a=n("l6Wf");e.AsyncSubject=a.AsyncSubject;var l=n("0imh");e.ReplaySubject=l.ReplaySubject;var u=n("gvep");e.BehaviorSubject=u.BehaviorSubject;var c=n("xKl2");e.ConnectableObservable=c.ConnectableObservable;var h=n("3lsR");e.Notification=h.Notification;var p=n("TpsG");e.EmptyError=p.EmptyError;var f=n("uT+d");e.ArgumentOutOfRangeError=f.ArgumentOutOfRangeError;var d=n("Lhvy");e.ObjectUnsubscribedError=d.ObjectUnsubscribedError;var m=n("0L2s");e.TimeoutError=m.TimeoutError;var v=n("Emqh");e.UnsubscriptionError=v.UnsubscriptionError;var g=n("H9QY");e.TimeInterval=g.TimeInterval;var b=n("xK8X");e.Timestamp=b.Timestamp;var y=n("MIR9");e.TestScheduler=y.TestScheduler;var w=n("I64N");e.VirtualTimeScheduler=w.VirtualTimeScheduler;var x=n("HPkd");e.AjaxResponse=x.AjaxResponse,e.AjaxError=x.AjaxError,e.AjaxTimeoutError=x.AjaxTimeoutError;var S=n("vxPf");e.pipe=S.pipe;var C=n("wEhC"),O=n("IhB/"),k=n("yR50"),T=n("ruZE"),_=n("dkwD"),L=n("2B7B"),I=n("DP67"),M=n("LMxK");e.operators=M;var A={asap:C.asap,queue:k.queue,animationFrame:T.animationFrame,async:O.async};e.Scheduler=A;var E={rxSubscriber:_.rxSubscriber,observable:I.observable,iterator:L.iterator};e.Symbol=E},DrEP:function(t,e,n){"use strict";function i(t,n){return void 0===n&&(n=e.defaultThrottleConfig),function(e){return e.lift(new a(t,n.leading,n.trailing))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("yW9Z"),s=n("ktfo");e.defaultThrottleConfig={leading:!0,trailing:!1},e.throttle=i;var a=function(){function t(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.durationSelector,this.leading,this.trailing))},t}(),l=function(t){function e(e,n,i,r){t.call(this,e),this.destination=e,this.durationSelector=n,this._leading=i,this._trailing=r,this._hasTrailingValue=!1}return r(e,t),e.prototype._next=function(t){if(this.throttled)this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=t);else{var e=this.tryDurationSelector(t);e&&this.add(this.throttled=s.subscribeToResult(this,e)),this._leading&&(this.destination.next(t),this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=t))}},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype._unsubscribe=function(){var t=this,e=t.throttled;t._trailingValue,t._hasTrailingValue,t._trailing;this._trailingValue=null,this._hasTrailingValue=!1,e&&(this.remove(e),this.throttled=null,e.unsubscribe())},e.prototype._sendTrailing=function(){var t=this,e=t.destination,n=t.throttled,i=t._trailing,r=t._trailingValue,o=t._hasTrailingValue;n&&i&&o&&(e.next(r),this._trailingValue=null,this._hasTrailingValue=!1)},e.prototype.notifyNext=function(t,e,n,i,r){this._sendTrailing(),this._unsubscribe()},e.prototype.notifyComplete=function(){this._sendTrailing(),this._unsubscribe()},e}(o.OuterSubscriber)},E2ib:function(t,e,n){"use strict";var i=n("bKpL"),r=n("SJ56");i.Observable.prototype.dematerialize=r.dematerialize},EOAD:function(t,e,n){"use strict";function i(t){return void 0===t&&(t=s.async),function(e){return e.lift(new l(t))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+"),s=n("IhB/");e.timeInterval=i;var a=function(){function t(t,e){this.value=t,this.interval=e}return t}();e.TimeInterval=a;var l=function(){function t(t){this.scheduler=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.scheduler))},t}(),u=function(t){function e(e,n){t.call(this,e),this.scheduler=n,this.lastTime=0,this.lastTime=n.now()}return r(e,t),e.prototype._next=function(t){var e=this.scheduler.now(),n=e-this.lastTime;this.lastTime=e,this.destination.next(new a(t,n))},e}(o.Subscriber)},EUVd:function(t,e,n){"use strict";function i(t,e){void 0===e&&(e=o.async);var n=s.isDate(t),i=n?+t-e.now():Math.abs(t);return function(t){return t.lift(new u(i,e))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("IhB/"),s=n("6jp4"),a=n("T14+"),l=n("3lsR");e.delay=i;var u=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.delay,this.scheduler))},t}(),c=function(t){function e(e,n,i){t.call(this,e),this.delay=n,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}return r(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,i=t.scheduler,r=t.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var o=Math.max(0,n[0].time-i.now());this.schedule(t,o)}else e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new h(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(l.Notification.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},e.prototype._complete=function(){this.scheduleNotification(l.Notification.createComplete())},e}(a.Subscriber),h=function(){function t(t,e){this.time=t,this.notification=e}return t}()},EmkH:function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new a(t))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+"),s=n("uT+d");e.skipLast=i;var a=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return 0===this._skipCount?e.subscribe(new o.Subscriber(t)):e.subscribe(new l(t,this._skipCount))},t}(),l=function(t){function e(e,n){t.call(this,e),this._skipCount=n,this._count=0,this._ring=new Array(n)}return r(e,t),e.prototype._next=function(t){var e=this._skipCount,n=this._count++;if(n<e)this._ring[n]=t;else{var i=n%e,r=this._ring,o=r[i];r[i]=t,this.destination.next(o)}},e}(o.Subscriber)},EoP3:function(t,e,n){"use strict";var i=n("/oeL"),r=n("1dXy");n.d(e,"a",function(){return s});var o=[r.a,r.b,r.c],s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t}();s.decorators=[{type:i.NgModule,args:[{declarations:o,exports:o}]}],s.ctorParameters=function(){return[]}},EsGe:function(t,e,n){"use strict";function i(t){return!r.isArray(t)&&t-parseFloat(t)+1>=0}var r=n("NSJx");e.isNumeric=i},"F/7+":function(t,e,n){"use strict";var i=n("SBOU");e.zip=i.zipStatic},F3px:function(t,e,n){"use strict";function i(t,e){void 0===e&&(e=s);var n=(t||"").trim();if(0===n.length)return[];var i=n.split(/\s+/).map(function(t){return t.split(":")}).map(function(t){var n=e[t[0]]||t;return new o(n[0],n[1])}),r=i.filter(function(t){return t.isManual()});if(r.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===r.length&&i.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return i}function r(t,e,n,r,o,s){var l=i(n),u=[];return 1===l.length&&l[0].isManual()?a:(l.forEach(function(n){n.open===n.close?u.push(t.listen(e,n.open,s)):u.push(t.listen(e,n.open,r),t.listen(e,n.close,o))}),function(){u.forEach(function(t){return t()})})}e.a=r;var o=function(){function t(t,e){this.open=t,this.close=e,e||(this.close=t)}return t.prototype.isManual=function(){return"manual"===this.open||"manual"===this.close},t}(),s={hover:["mouseenter","mouseleave"]},a=function(){}},FTnw:function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new a(t))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+"),s=n("xFbG");e.finalize=i;var a=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.callback))},t}(),l=function(t){function e(e,n){t.call(this,e),this.add(new s.Subscription(n))}return r(e,t),e}(o.Subscriber)},Fi2k:function(t,e,n){"use strict";function i(t,e){return r.windowToggle(t,e)(this)}var r=n("bLt9");e.windowToggle=i},Fpv1:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("Io40"),o=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return i(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,i):e.flush(this)},e}(r.AsyncAction);e.QueueAction=o},Fq81:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("fclq"),o=n("bKpL"),s=n("xFbG"),a=function(t){function e(e,n,i){t.call(this),this.addHandler=e,this.removeHandler=n,this.selector=i}return i(e,t),e.create=function(t,n,i){return new e(t,n,i)},e.prototype._subscribe=function(t){var e=this,n=this.removeHandler,i=this.selector?function(){for(var n=[],i=0;i<arguments.length;i++)n[i-0]=arguments[i];e._callSelector(t,n)}:function(e){t.next(e)},o=this._callAddHandler(i,t);r.isFunction(n)&&t.add(new s.Subscription(function(){n(i,o)}))},e.prototype._callSelector=function(t,e){try{var n=this.selector.apply(this,e);t.next(n)}catch(e){t.error(e)}},e.prototype._callAddHandler=function(t,e){try{return this.addHandler(t)||null}catch(t){e.error(t)}},e}(o.Observable);e.FromEventPatternObservable=a},"GB+a":function(t,e,n){"use strict";function i(t,e){return r.sequenceEqual(t,e)(this)}var r=n("xJeO");e.sequenceEqual=i},GPwi:function(t,e,n){"use strict";var i=n("bKpL"),r=n("Fhmd");i.Observable.forkJoin=r.forkJoin},GTdq:function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=r.async),o.audit(function(){return s.timer(t,e)})}var r=n("IhB/"),o=n("tAjV"),s=n("vioa");e.auditTime=i},GaSD:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t,e,n){this.year=t,this.month=e,this.day=n}return t.from=function(e){return e?new t(e.year,e.month,e.day?e.day:1):null},t.prototype.equals=function(t){return t&&this.year===t.year&&this.month===t.month&&this.day===t.day},t.prototype.before=function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day<t.day:this.month<t.month:this.year<t.year)},t.prototype.after=function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day>t.day:this.month>t.month:this.year>t.year)},t.prototype.toString=function(){return this.year+"-"+this.month+"-"+this.day},t}()},GeBq:function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=0),function(n){return n.lift(new a(t,e))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+"),s=n("rlar");e.windowCount=i;var a=function(){function t(t,e){this.windowSize=t,this.startWindowEvery=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.windowSize,this.startWindowEvery))},t}(),l=function(t){function e(e,n,i){t.call(this,e),this.destination=e,this.windowSize=n,this.startWindowEvery=i,this.windows=[new s.Subject],this.count=0,e.next(this.windows[0])}return r(e,t),e.prototype._next=function(t){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,i=this.windowSize,r=this.windows,o=r.length,a=0;a<o&&!this.closed;a++)r[a].next(t);var l=this.count-i+1;if(l>=0&&l%e==0&&!this.closed&&r.shift().complete(),++this.count%e==0&&!this.closed){var u=new s.Subject;r.push(u),n.next(u)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(o.Subscriber)},GoZW:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.pluck.apply(void 0,t)(this)}var r=n("wcuQ");e.pluck=i},H4tt:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null;return"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&s.isArray(t[0])&&(t=t[0].slice()),function(e){return e.lift.call(new o.ArrayObservable([e].concat(t)),new c(n))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wZOE"),s=n("NSJx"),a=n("yW9Z"),l=n("ktfo"),u={};e.combineLatest=i;var c=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.project))},t}();e.CombineLatestOperator=c;var h=function(t){function e(e,n){t.call(this,e),this.project=n,this.active=0,this.values=[],this.observables=[]}return r(e,t),e.prototype._next=function(t){this.values.push(u),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var i=t[n];this.add(l.subscribeToResult(this,i,i,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,i,r){var o=this.values,s=o[n],a=this.toRespond?s===u?--this.toRespond:this.toRespond:0;o[n]=e,0===a&&(this.project?this._tryProject(o):this.destination.next(o.slice()))},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}(a.OuterSubscriber);e.CombineLatestSubscriber=h},"H6+I":function(t,e,n){!function(t){t(n("oiK7"),n("4thQ"),n("A+1n"))}(function(t){"use strict";t.defineMode("markdown",function(e,n){function i(n){if(t.findModeByName){var i=t.findModeByName(n);i&&(n=i.mime||i.mimes[0])}var r=t.getMode(e,n);return"null"==r.name?null:r}function r(t,e,n){return e.f=e.inline=n,n(t,e)}function o(t,e,n){return e.f=e.block=n,n(t,e)}function s(t){return!t||!/\S/.test(t.string)}function a(t){return t.linkTitle=!1,t.em=!1,t.strong=!1,t.strikethrough=!1,t.quote=0,t.indentedCode=!1,t.f==u&&(t.f=f,t.block=l),t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.prevLine=t.thisLine,t.thisLine={stream:null},null}function l(e,o){var a=e.column()===o.indentation,l=s(o.prevLine.stream),u=o.indentedCode,p=o.prevLine.hr,f=!1!==o.list,d=(o.listStack[o.listStack.length-1]||0)+3;o.indentedCode=!1;var m=o.indentation;if(null===o.indentationDiff&&(o.indentationDiff=o.indentation,f)){for(o.list=null;m<o.listStack[o.listStack.length-1];)o.listStack.pop(),o.listStack.length?o.indentation=o.listStack[o.listStack.length-1]:o.list=!1;!1!==o.list&&(o.indentationDiff=m-o.listStack[o.listStack.length-1])}var v=!(l||p||o.prevLine.header||f&&u||o.prevLine.fencedCodeEnd),b=(!1===o.list||p||l)&&o.indentation<=d&&e.match(O),y=null;if(o.indentationDiff>=4&&(u||o.prevLine.fencedCodeEnd||o.prevLine.header||l))return e.skipToEnd(),o.indentedCode=!0,S.code;if(e.eatSpace())return null;if(a&&o.indentation<=d&&(y=e.match(_))&&y[1].length<=6)return o.quote=0,o.header=y[1].length,o.thisLine.header=!0,n.highlightFormatting&&(o.formatting="header"),o.f=o.inline,h(o);if(o.indentation<=d&&e.eat(">"))return o.quote=a?1:o.quote+1,n.highlightFormatting&&(o.formatting="quote"),e.eatSpace(),h(o);if(!b&&!o.setext&&a&&o.indentation<=d&&(y=e.match(k))){var w=y[1]?"ol":"ul";return o.indentation=m+e.current().length,o.list=!0,o.quote=0,o.listStack.push(o.indentation),n.taskLists&&e.match(T,!1)&&(o.taskList=!0),o.f=o.inline,n.highlightFormatting&&(o.formatting=["list","list-"+w]),h(o)}return a&&o.indentation<=d&&(y=e.match(M,!0))?(o.quote=0,o.fencedEndRE=new RegExp(y[1]+"+ *$"),o.localMode=n.fencedCodeBlockHighlighting&&i(y[2]),o.localMode&&(o.localState=t.startState(o.localMode)),o.f=o.block=c,n.highlightFormatting&&(o.formatting="code-block"),o.code=-1,h(o)):o.setext||!(v&&f||o.quote||!1!==o.list||o.code||b||A.test(e.string))&&(y=e.lookAhead(1))&&(y=y.match(L))?(o.setext?(o.header=o.setext,o.setext=0,e.skipToEnd(),n.highlightFormatting&&(o.formatting="header")):(o.header="="==y[0].charAt(0)?1:2,o.setext=o.header),o.thisLine.header=!0,o.f=o.inline,h(o)):b?(e.skipToEnd(),o.hr=!0,o.thisLine.hr=!0,S.hr):"["===e.peek()?r(e,o,g):r(e,o,o.inline)}function u(e,n){var i=w.token(e,n.htmlState);if(!x){var r=t.innerMode(w,n.htmlState);("xml"==r.mode.name&&null===r.state.tagStart&&!r.state.context&&r.state.tokenize.isInText||n.md_inside&&e.current().indexOf(">")>-1)&&(n.f=f,n.block=l,n.htmlState=null)}return i}function c(t,e){var i=e.listStack[e.listStack.length-1]||0,r=e.indentation<i,s=i+3;if(e.fencedEndRE&&e.indentation<=s&&(r||t.match(e.fencedEndRE))){n.highlightFormatting&&(e.formatting="code-block");var a;return r||(a=h(e)),e.localMode=e.localState=null,e.block=l,e.f=f,e.fencedEndRE=null,e.code=0,e.thisLine.fencedCodeEnd=!0,r?o(t,e,e.block):a}return e.localMode?e.localMode.token(t,e.localState):(t.skipToEnd(),S.code)}function h(t){var e=[];if(t.formatting){e.push(S.formatting),"string"==typeof t.formatting&&(t.formatting=[t.formatting]);for(var i=0;i<t.formatting.length;i++)e.push(S.formatting+"-"+t.formatting[i]),"header"===t.formatting[i]&&e.push(S.formatting+"-"+t.formatting[i]+"-"+t.header),"quote"===t.formatting[i]&&(!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=t.quote?e.push(S.formatting+"-"+t.formatting[i]+"-"+t.quote):e.push("error"))}if(t.taskOpen)return e.push("meta"),e.length?e.join(" "):null;if(t.taskClosed)return e.push("property"),e.length?e.join(" "):null;if(t.linkHref?e.push(S.linkHref,"url"):(t.strong&&e.push(S.strong),t.em&&e.push(S.em),t.strikethrough&&e.push(S.strikethrough),t.emoji&&e.push(S.emoji),t.linkText&&e.push(S.linkText),t.code&&e.push(S.code),t.image&&e.push(S.image),t.imageAltText&&e.push(S.imageAltText,"link"),t.imageMarker&&e.push(S.imageMarker)),t.header&&e.push(S.header,S.header+"-"+t.header),t.quote&&(e.push(S.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=t.quote?e.push(S.quote+"-"+t.quote):e.push(S.quote+"-"+n.maxBlockquoteDepth)),!1!==t.list){var r=(t.listStack.length-1)%3;r?1===r?e.push(S.list2):e.push(S.list3):e.push(S.list1)}return t.trailingSpaceNewLine?e.push("trailing-space-new-line"):t.trailingSpace&&e.push("trailing-space-"+(t.trailingSpace%2?"a":"b")),e.length?e.join(" "):null}function p(t,e){if(t.match(I,!0))return h(e)}function f(e,i){var r=i.text(e,i);if(void 0!==r)return r;if(i.list)return i.list=null,h(i);if(i.taskList){return" "===e.match(T,!0)[1]?i.taskOpen=!0:i.taskClosed=!0,n.highlightFormatting&&(i.formatting="task"),i.taskList=!1,h(i)}if(i.taskOpen=!1,i.taskClosed=!1,i.header&&e.match(/^#+$/,!0))return n.highlightFormatting&&(i.formatting="header"),h(i);var s=e.next();if(i.linkTitle){i.linkTitle=!1;var a=s;"("===s&&(a=")"),a=(a+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var l="^\\s*(?:[^"+a+"\\\\]+|\\\\\\\\|\\\\.)"+a;if(e.match(new RegExp(l),!0))return S.linkHref}if("`"===s){var c=i.formatting;n.highlightFormatting&&(i.formatting="code"),e.eatWhile("`");var p=e.current().length;if(0!=i.code||i.quote&&1!=p){if(p==i.code){var v=h(i);return i.code=0,v}return i.formatting=c,h(i)}return i.code=p,h(i)}if(i.code)return h(i);if("\\"===s&&(e.next(),n.highlightFormatting)){var g=h(i),b=S.formatting+"-escape";return g?g+" "+b:b}if("!"===s&&e.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return i.imageMarker=!0,i.image=!0,n.highlightFormatting&&(i.formatting="image"),h(i);if("["===s&&i.imageMarker&&e.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return i.imageMarker=!1,i.imageAltText=!0,n.highlightFormatting&&(i.formatting="image"),h(i);if("]"===s&&i.imageAltText){n.highlightFormatting&&(i.formatting="image");var g=h(i);return i.imageAltText=!1,i.image=!1,i.inline=i.f=m,g}if("["===s&&!i.image)return i.linkText=!0,n.highlightFormatting&&(i.formatting="link"),h(i);if("]"===s&&i.linkText){n.highlightFormatting&&(i.formatting="link");var g=h(i);return i.linkText=!1,i.inline=i.f=e.match(/\(.*?\)| ?\[.*?\]/,!1)?m:f,g}if("<"===s&&e.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=d,n.highlightFormatting&&(i.formatting="link");var g=h(i);return g?g+=" ":g="",g+S.linkInline}if("<"===s&&e.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=d,n.highlightFormatting&&(i.formatting="link");var g=h(i);return g?g+=" ":g="",g+S.linkEmail}if(n.xml&&"<"===s&&e.match(/^(!--|[a-z]+(?:\s+[a-z_:.\-]+(?:\s*=\s*[^ >]+)?)*\s*>)/i,!1)){var y=e.string.indexOf(">",e.pos);if(-1!=y){/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(e.string.substring(e.start,y))&&(i.md_inside=!0)}return e.backUp(1),i.htmlState=t.startState(w),o(e,i,u)}if(n.xml&&"<"===s&&e.match(/^\/\w*?>/))return i.md_inside=!1,"tag";if("*"===s||"_"===s){for(var x=1,C=1==e.pos?" ":e.string.charAt(e.pos-2);x<3&&e.eat(s);)x++;var O=e.peek()||" ",k=!/\s/.test(O)&&(!E.test(O)||/\s/.test(C)||E.test(C)),_=!/\s/.test(C)&&(!E.test(C)||/\s/.test(O)||E.test(O)),L=null,I=null;if(x%2&&(i.em||!k||"*"!==s&&_&&!E.test(C)?i.em!=s||!_||"*"!==s&&k&&!E.test(O)||(L=!1):L=!0),x>1&&(i.strong||!k||"*"!==s&&_&&!E.test(C)?i.strong!=s||!_||"*"!==s&&k&&!E.test(O)||(I=!1):I=!0),null!=I||null!=L){n.highlightFormatting&&(i.formatting=null==L?"strong":null==I?"em":"strong em"),!0===L&&(i.em=s),!0===I&&(i.strong=s);var v=h(i);return!1===L&&(i.em=!1),!1===I&&(i.strong=!1),v}}else if(" "===s&&(e.eat("*")||e.eat("_"))){if(" "===e.peek())return h(i);e.backUp(1)}if(n.strikethrough)if("~"===s&&e.eatWhile(s)){if(i.strikethrough){n.highlightFormatting&&(i.formatting="strikethrough");var v=h(i);return i.strikethrough=!1,v}if(e.match(/^[^\s]/,!1))return i.strikethrough=!0,n.highlightFormatting&&(i.formatting="strikethrough"),h(i)}else if(" "===s&&e.match(/^~~/,!0)){if(" "===e.peek())return h(i);e.backUp(2)}if(n.emoji&&":"===s&&e.match(/^[a-z_\d+-]+:/)){i.emoji=!0,n.highlightFormatting&&(i.formatting="emoji");var M=h(i);return i.emoji=!1,M}return" "===s&&(e.match(/ +$/,!1)?i.trailingSpace++:i.trailingSpace&&(i.trailingSpaceNewLine=!0)),h(i)}function d(t,e){if(">"===t.next()){e.f=e.inline=f,n.highlightFormatting&&(e.formatting="link");var i=h(e);return i?i+=" ":i="",i+S.linkInline}return t.match(/^[^>]+/,!0),S.linkInline}function m(t,e){if(t.eatSpace())return null;var i=t.next();return"("===i||"["===i?(e.f=e.inline=v("("===i?")":"]"),n.highlightFormatting&&(e.formatting="link-string"),e.linkHref=!0,h(e)):"error"}function v(t){return function(e,i){if(e.next()===t){i.f=i.inline=f,n.highlightFormatting&&(i.formatting="link-string");var r=h(i);return i.linkHref=!1,r}return e.match(N[t]),i.linkHref=!0,h(i)}}function g(t,e){return t.match(/^([^\]\\]|\\.)*\]:/,!1)?(e.f=b,t.next(),n.highlightFormatting&&(e.formatting="link"),e.linkText=!0,h(e)):r(t,e,f)}function b(t,e){if(t.match(/^\]:/,!0)){e.f=e.inline=y,n.highlightFormatting&&(e.formatting="link");var i=h(e);return e.linkText=!1,i}return t.match(/^([^\]\\]|\\.)+/,!0),S.linkText}function y(t,e){return t.eatSpace()?null:(t.match(/^[^\s]+/,!0),void 0===t.peek()?e.linkTitle=!0:t.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),e.f=e.inline=f,S.linkHref+" url")}var w=t.getMode(e,"text/html"),x="null"==w.name;void 0===n.highlightFormatting&&(n.highlightFormatting=!1),void 0===n.maxBlockquoteDepth&&(n.maxBlockquoteDepth=0),void 0===n.taskLists&&(n.taskLists=!1),void 0===n.strikethrough&&(n.strikethrough=!1),void 0===n.emoji&&(n.emoji=!1),void 0===n.fencedCodeBlockHighlighting&&(n.fencedCodeBlockHighlighting=!0),void 0===n.xml&&(n.xml=!0),void 0===n.tokenTypeOverrides&&(n.tokenTypeOverrides={});var S={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var C in S)S.hasOwnProperty(C)&&n.tokenTypeOverrides[C]&&(S[C]=n.tokenTypeOverrides[C]);var O=/^([*\-_])(?:\s*\1){2,}\s*$/,k=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,T=/^\[(x| )\](?=\s)/i,_=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,L=/^ *(?:\={1,}|-{1,})\s*$/,I=/^[^#!\[\]*_\\<>` "'(~:]+/,M=/^(~~~+|```+)[ \t]*([\w+#-]*)[^\n`]*$/,A=/^\s*\[[^\]]+?\]:\s*\S+(\s*\S*\s*)?$/,E=/[!\"#$%&\'()*+,\-\.\/:;<=>?@\[\\\]^_`{|}~—]/,N={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/},R={startState:function(){return{f:l,prevLine:{stream:null},thisLine:{stream:null},block:l,htmlState:null,indentation:0,inline:f,text:p,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(e){return{f:e.f,prevLine:e.prevLine,thisLine:e.thisLine,block:e.block,htmlState:e.htmlState&&t.copyState(w,e.htmlState),indentation:e.indentation,localMode:e.localMode,localState:e.localMode?t.copyState(e.localMode,e.localState):null,inline:e.inline,text:e.text,formatting:!1,linkText:e.linkText,linkTitle:e.linkTitle,code:e.code,em:e.em,strong:e.strong,strikethrough:e.strikethrough,emoji:e.emoji,header:e.header,setext:e.setext,hr:e.hr,taskList:e.taskList,list:e.list,listStack:e.listStack.slice(0),quote:e.quote,indentedCode:e.indentedCode,trailingSpace:e.trailingSpace,trailingSpaceNewLine:e.trailingSpaceNewLine,md_inside:e.md_inside,fencedEndRE:e.fencedEndRE}},token:function(t,e){if(e.formatting=!1,t!=e.thisLine.stream){if(e.header=0,e.hr=!1,t.match(/^\s*$/,!0))return a(e),null;if(e.prevLine=e.thisLine,e.thisLine={stream:t},e.taskList=!1,e.trailingSpace=0,e.trailingSpaceNewLine=!1,!e.localState&&(e.f=e.block,e.f!=u)){var n=t.match(/^\s*/,!0)[0].replace(/\t/g," ").length;if(e.indentation=n,e.indentationDiff=null,n>0)return null}}return e.f(t,e)},innerMode:function(t){return t.block==u?{state:t.htmlState,mode:w}:t.localState?{state:t.localState,mode:t.localMode}:{state:t,mode:R}},indent:function(e,n,i){return e.block==u&&w.indent?w.indent(e.htmlState,n,i):e.localState&&e.localMode.indent?e.localMode.indent(e.localState,n,i):t.Pass},blankLine:a,getType:h,closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return R},"xml"),t.defineMIME("text/x-markdown","markdown")})},H9QY:function(t,e,n){"use strict";function i(t){return void 0===t&&(t=r.async),o.timeInterval(t)(this)}var r=n("IhB/"),o=n("EOAD");e.TimeInterval=o.TimeInterval,e.timeInterval=i},HBVP:function(t,e,n){"use strict";function i(t,e){return r.distinctUntilChanged(function(n,i){return e?e(n[t],i[t]):n[t]===i[t]})}var r=n("2Sjb");e.distinctUntilKeyChanged=i},HHMl:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("I2Y9"),o=function(t){function e(){t.apply(this,arguments)}return i(e,t),e}(r.AsyncScheduler);e.QueueScheduler=o},HPkd:function(t,e,n){"use strict";function i(){if(f.root.XMLHttpRequest)return new f.root.XMLHttpRequest;if(f.root.XDomainRequest)return new f.root.XDomainRequest;throw new Error("CORS is not supported by your browser")}function r(){if(f.root.XMLHttpRequest)return new f.root.XMLHttpRequest;var t=void 0;try{for(var e=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],n=0;n<3;n++)try{if(t=e[n],new f.root.ActiveXObject(t))break}catch(t){}return new f.root.ActiveXObject(t)}catch(t){throw new Error("XMLHttpRequest is not supported by your browser")}}function o(t,e){return void 0===e&&(e=null),new w({method:"GET",url:t,headers:e})}function s(t,e,n){return new w({method:"POST",url:t,body:e,headers:n})}function a(t,e){return new w({method:"DELETE",url:t,headers:e})}function l(t,e,n){return new w({method:"PUT",url:t,body:e,headers:n})}function u(t,e,n){return new w({method:"PATCH",url:t,body:e,headers:n})}function c(t,e){return y(new w({method:"GET",url:t,responseType:"json",headers:e}))}function h(t,e){switch(t){case"json":return"response"in e?e.responseType?e.response:JSON.parse(e.response||e.responseText||"null"):JSON.parse(e.responseText||"null");case"xml":return e.responseXML;case"text":default:return"response"in e?e.response:e.responseText}}var p=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},f=n("zijX"),d=n("RdI5"),m=n("XRvs"),v=n("bKpL"),g=n("T14+"),b=n("L8VJ");e.ajaxGet=o,e.ajaxPost=s,e.ajaxDelete=a,e.ajaxPut=l,e.ajaxPatch=u;var y=b.map(function(t,e){return t.response});e.ajaxGetJSON=c;var w=function(t){function e(e){t.call(this);var n={async:!0,createXHR:function(){return this.crossDomain?i.call(this):r()},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof e)n.url=e;else for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);this.request=n}return p(e,t),e.prototype._subscribe=function(t){return new x(t,this.request)},e.create=function(){var t=function(t){return new e(t)};return t.get=o,t.post=s,t.delete=a,t.put=l,t.patch=u,t.getJSON=c,t}(),e}(v.Observable);e.AjaxObservable=w;var x=function(t){function e(e,n){t.call(this,e),this.request=n,this.done=!1;var i=n.headers=n.headers||{};n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in i||f.root.FormData&&n.body instanceof f.root.FormData||void 0===n.body||(i["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),n.body=this.serializeBody(n.body,n.headers["Content-Type"]),this.send()}return p(e,t),e.prototype.next=function(t){this.done=!0;var e=this,n=e.xhr,i=e.request,r=e.destination,o=new S(t,n,i);r.next(o)},e.prototype.send=function(){var t=this,e=t.request,n=t.request,i=n.user,r=n.method,o=n.url,s=n.async,a=n.password,l=n.headers,u=n.body,c=e.createXHR,h=d.tryCatch(c).call(e);if(h===m.errorObject)this.error(m.errorObject.e);else{this.xhr=h,this.setupEvents(h,e);if((i?d.tryCatch(h.open).call(h,r,o,s,i,a):d.tryCatch(h.open).call(h,r,o,s))===m.errorObject)return this.error(m.errorObject.e),null;if(s&&(h.timeout=e.timeout,h.responseType=e.responseType),"withCredentials"in h&&(h.withCredentials=!!e.withCredentials),this.setHeaders(h,l),(u?d.tryCatch(h.send).call(h,u):d.tryCatch(h.send).call(h))===m.errorObject)return this.error(m.errorObject.e),null}return h},e.prototype.serializeBody=function(t,e){if(!t||"string"==typeof t)return t;if(f.root.FormData&&t instanceof f.root.FormData)return t;if(e){var n=e.indexOf(";");-1!==n&&(e=e.substring(0,n))}switch(e){case"application/x-www-form-urlencoded":return Object.keys(t).map(function(e){return encodeURI(e)+"="+encodeURI(t[e])}).join("&");case"application/json":return JSON.stringify(t);default:return t}},e.prototype.setHeaders=function(t,e){for(var n in e)e.hasOwnProperty(n)&&t.setRequestHeader(n,e[n])},e.prototype.setupEvents=function(t,e){function n(t){var e=n,i=e.subscriber,r=e.progressSubscriber,o=e.request;r&&r.error(t),i.error(new O(this,o))}function i(t){var e=i,n=e.subscriber,r=e.progressSubscriber,o=e.request;if(4===this.readyState){var s=1223===this.status?204:this.status,a="text"===this.responseType?this.response||this.responseText:this.response;0===s&&(s=a?200:0),200<=s&&s<300?(r&&r.complete(),n.next(t),n.complete()):(r&&r.error(t),n.error(new C("ajax error "+s,this,o)))}}var r=e.progressSubscriber;if(t.ontimeout=n,n.request=e,n.subscriber=this,n.progressSubscriber=r,t.upload&&"withCredentials"in t){if(r){var o;o=function(t){o.progressSubscriber.next(t)},f.root.XDomainRequest?t.onprogress=o:t.upload.onprogress=o,o.progressSubscriber=r}var s;s=function(t){var e=s,n=e.progressSubscriber,i=e.subscriber,r=e.request;n&&n.error(t),i.error(new C("ajax error",this,r))},t.onerror=s,s.request=e,s.subscriber=this,s.progressSubscriber=r}t.onreadystatechange=i,i.subscriber=this,i.progressSubscriber=r,i.request=e},e.prototype.unsubscribe=function(){var e=this,n=e.done,i=e.xhr;!n&&i&&4!==i.readyState&&"function"==typeof i.abort&&i.abort(),t.prototype.unsubscribe.call(this)},e}(g.Subscriber);e.AjaxSubscriber=x;var S=function(){function t(t,e,n){this.originalEvent=t,this.xhr=e,this.request=n,this.status=e.status,this.responseType=e.responseType||n.responseType,this.response=h(this.responseType,e)}return t}();e.AjaxResponse=S;var C=function(t){function e(e,n,i){t.call(this,e),this.message=e,this.xhr=n,this.request=i,this.status=n.status,this.responseType=n.responseType||i.responseType,this.response=h(this.responseType,n)}return p(e,t),e}(Error);e.AjaxError=C;var O=function(t){function e(e,n){t.call(this,"ajax timeout",e,n)}return p(e,t),e}(C);e.AjaxTimeoutError=O},HRzg:function(t,e,n){"use strict";var i=n("/oeL");n.d(e,"a",function(){return r});var r=function(){function t(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekdays=!0,this.showWeekNumbers=!1}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},HTfL:function(t,e,n){"use strict";var i=n("CQyF");e._throw=i.ErrorObservable.create},HUu4:function(t,e,n){"use strict";var i=n("bKpL"),r=n("AzAY");i.Observable.prototype.publishReplay=r.publishReplay},Hg2u:function(t,e,n){"use strict";function i(t){return void 0===t&&(t=-1),function(e){return 0===t?new s.EmptyObservable:t<0?e.lift(new a(-1,e)):e.lift(new a(t-1,e))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+"),s=n("fcnB");e.repeat=i;var a=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.count,this.source))},t}(),l=function(t){function e(e,n,i){t.call(this,e),this.count=n,this.source=i}return r(e,t),e.prototype.complete=function(){if(!this.isStopped){var e=this,n=e.source,i=e.count;if(0===i)return t.prototype.complete.call(this);i>-1&&(this.count=i-1),n.subscribe(this._unsubscribeAndRecycle())}},e}(o.Subscriber)},Hjei:function(t,e,n){"use strict";var i=n("/oeL"),r=n("+E40");n.d(e,"d",function(){return s}),n.d(e,"c",function(){return a}),n.d(e,"b",function(){return l}),n.d(e,"a",function(){return u});var o=0,s=function(){function t(t){this.templateRef=t}return t}();s.decorators=[{type:i.Directive,args:[{selector:"ng-template[ngbTabTitle]"}]}],s.ctorParameters=function(){return[{type:i.TemplateRef}]};var a=function(){function t(t){this.templateRef=t}return t}();a.decorators=[{type:i.Directive,args:[{selector:"ng-template[ngbTabContent]"}]}],a.ctorParameters=function(){return[{type:i.TemplateRef}]};var l=function(){function t(){this.id="ngb-tab-"+o++,this.disabled=!1}return t}();l.decorators=[{type:i.Directive,args:[{selector:"ngb-tab"}]}],l.ctorParameters=function(){return[]},l.propDecorators={id:[{type:i.Input}],title:[{type:i.Input}],disabled:[{type:i.Input}],contentTpl:[{type:i.ContentChild,args:[a]}],titleTpl:[{type:i.ContentChild,args:[s]}]};var u=function(){function t(t){this.destroyOnHide=!0,this.tabChange=new i.EventEmitter,this.type=t.type,this.justify=t.justify}return t.prototype.select=function(t){var e=this._getTabById(t);if(e&&!e.disabled&&this.activeId!==e.id){var n=!1;this.tabChange.emit({activeId:this.activeId,nextId:e.id,preventDefault:function(){n=!0}}),n||(this.activeId=e.id)}},t.prototype.ngAfterContentChecked=function(){var t=this._getTabById(this.activeId);this.activeId=t?t.id:this.tabs.length?this.tabs.first.id:null},t.prototype._getTabById=function(t){var e=this.tabs.filter(function(e){return e.id===t});return e.length?e[0]:null},t}();u.decorators=[{type:i.Component,args:[{selector:"ngb-tabset",exportAs:"ngbTabset",template:'\n <ul [class]="\'nav nav-\' + type + \' justify-content-\' + justify" role="tablist">\n <li class="nav-item" *ngFor="let tab of tabs">\n <a [id]="tab.id" class="nav-link" [class.active]="tab.id === activeId" [class.disabled]="tab.disabled"\n href (click)="!!select(tab.id)" role="tab" [attr.tabindex]="(tab.disabled ? \'-1\': undefined)"\n [attr.aria-controls]="(!destroyOnHide || tab.id === activeId ? tab.id + \'-panel\' : null)"\n [attr.aria-expanded]="tab.id === activeId" [attr.aria-disabled]="tab.disabled">\n {{tab.title}}<ng-template [ngTemplateOutlet]="tab.titleTpl?.templateRef"></ng-template>\n </a>\n </li>\n </ul>\n <div class="tab-content">\n <ng-template ngFor let-tab [ngForOf]="tabs">\n <div\n class="tab-pane {{tab.id === activeId ? \'active\' : null}}"\n *ngIf="!destroyOnHide || tab.id === activeId"\n role="tabpanel"\n [attr.aria-labelledby]="tab.id" id="{{tab.id}}-panel"\n [attr.aria-expanded]="tab.id === activeId">\n <ng-template [ngTemplateOutlet]="tab.contentTpl.templateRef"></ng-template>\n </div>\n </ng-template>\n </div>\n '}]}],u.ctorParameters=function(){return[{type:r.a}]},u.propDecorators={tabs:[{type:i.ContentChildren,args:[l]}],activeId:[{type:i.Input}],destroyOnHide:[{type:i.Input}],justify:[{type:i.Input}],type:[{type:i.Input}],tabChange:[{type:i.Output}]}},"Hr+Y":function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=a.async),function(n){return n.lift(new l(t,e))}}function r(t){t.debouncedNext()}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("T14+"),a=n("IhB/");e.debounceTime=i;var l=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.dueTime,this.scheduler))},t}(),u=function(t){function e(e,n,i){t.call(this,e),this.dueTime=n,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return o(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(r,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){this.clearDebounce(),this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(s.Subscriber)},HyAm:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("I2Y9"),o=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<r&&(t=n.shift()));if(this.active=!1,e){for(;++i<r&&(t=n.shift());)t.unsubscribe();throw e}},e}(r.AsyncScheduler);e.AsapScheduler=o},I2Y9:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("1VPd"),o=function(t){function e(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return i(e,t),e.prototype.flush=function(t){var e=this.actions;if(this.active)return void e.push(t);var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}},e}(r.Scheduler);e.AsyncScheduler=o},I64N:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("Io40"),o=n("I2Y9"),s=function(t){function e(e,n){var i=this;void 0===e&&(e=a),void 0===n&&(n=Number.POSITIVE_INFINITY),t.call(this,e,function(){return i.frame}),this.maxFrames=n,this.frame=0,this.index=-1}return i(e,t),e.prototype.flush=function(){for(var t,e,n=this,i=n.actions,r=n.maxFrames;(e=i.shift())&&(this.frame=e.delay)<=r&&!(t=e.execute(e.state,e.delay)););if(t){for(;e=i.shift();)e.unsubscribe();throw t}},e.frameTimeFactor=10,e}(o.AsyncScheduler);e.VirtualTimeScheduler=s;var a=function(t){function e(e,n,i){void 0===i&&(i=e.index+=1),t.call(this,e,n),this.scheduler=e,this.work=n,this.index=i,this.active=!0,this.index=e.index=i}return i(e,t),e.prototype.schedule=function(n,i){if(void 0===i&&(i=0),!this.id)return t.prototype.schedule.call(this,n,i);this.active=!1;var r=new e(this.scheduler,this.work);return this.add(r),r.schedule(n,i)},e.prototype.requestAsyncId=function(t,n,i){void 0===i&&(i=0),this.delay=t.frame+i;var r=t.actions;return r.push(this),r.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(t,e,n){void 0===n&&(n=0)},e.prototype._execute=function(e,n){if(!0===this.active)return t.prototype._execute.call(this,e,n)},e.sortActions=function(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1},e}(r.AsyncAction);e.VirtualAction=a},IBeK:function(t,e,n){"use strict";var i=n("/oeL"),r=n("qbdv"),o=n("4Q/O"),s=n("Av3o"),a=n("Pc3Y"),l=n("bAfU"),u=n("bm2B"),c=n("+oJC"),h=n("CuDZ"),p=n("KSV9"),f=n("lA7/"),d=n("JNkN"),m=n("HRzg");n("vg2M");n.d(e,"a",function(){return v});var v=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[{provide:p.a,useClass:p.b},{provide:h.a,useClass:h.b},{provide:f.a,useClass:f.b},m.a]}},t}();v.decorators=[{type:i.NgModule,args:[{declarations:[o.a,s.a,a.a,d.a,c.a,l.a],exports:[o.a,l.a],imports:[r.CommonModule,u.FormsModule],entryComponents:[o.a]}]}],v.ctorParameters=function(){return[]}},IOeT:function(t,e,n){"use strict";function i(t){return r.combineAll(t)(this)}var r=n("7xz3");e.combineAll=i},IUpl:function(t,e,n){"use strict";var i=n("bKpL"),r=n("Y+l6");i.Observable.prototype.toArray=r.toArray},IfwN:function(t,e,n){"use strict";function i(t,e){return function(n){return n.lift(new r.FindValueOperator(t,n,!0,e))}}var r=n("0dhf");e.findIndex=i},"IhB/":function(t,e,n){"use strict";var i=n("Io40"),r=n("I2Y9");e.async=new r.AsyncScheduler(i.AsyncAction)},IkMW:function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new r.ZipOperator(t))}}var r=n("SBOU");e.zipAll=i},IkMs:function(t,e,n){"use strict";function i(t){return u["ɵvid"](0,[(t()(),u["ɵted"](-1,null,["\n "])),(t()(),u["ɵeld"](1,0,null,null,1,"div",[["ngbDatepickerDayView",""]],[[2,"bg-primary",null],[2,"text-white",null],[2,"text-muted",null],[2,"outside",null],[2,"btn-secondary",null]],null,null,c.a,c.b)),u["ɵdid"](2,49152,null,0,h.a,[],{currentMonth:[0,"currentMonth"],date:[1,"date"],disabled:[2,"disabled"],selected:[3,"selected"]},null),(t()(),u["ɵted"](-1,null,["\n "]))],function(t,e){t(e,2,0,e.context.currentMonth,e.context.date,e.context.disabled,e.context.selected)},function(t,e){t(e,1,0,u["ɵnov"](e,2).selected,u["ɵnov"](e,2).selected,u["ɵnov"](e,2).isMuted(),u["ɵnov"](e,2).isMuted(),!u["ɵnov"](e,2).disabled)})}function r(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,0,null,null,2,"ngb-datepicker-navigation",[["class","d-flex justify-content-between"]],[[2,"collapsed",null]],[[null,"navigate"],[null,"select"]],function(t,e,n){var i=!0,r=t.component;if("navigate"===e){i=!1!==r.onNavigateEvent(n)&&i}if("select"===e){i=!1!==r.onNavigateDateSelect(n)&&i}return i},p.a,p.b)),u["ɵdid"](1,49152,null,0,f.a,[d.a,m.a],{date:[0,"date"],disabled:[1,"disabled"],maxDate:[2,"maxDate"],minDate:[3,"minDate"],months:[4,"months"],showSelect:[5,"showSelect"],showWeekNumbers:[6,"showWeekNumbers"]},{navigate:"navigate",select:"select"}),(t()(),u["ɵted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,1,0,null==n.months[0]?null:n.months[0].firstDate,n.disabled,n._maxDate,n._minDate,n.months.length,"select"===n.navigation,n.showWeekNumbers)},function(t,e){t(e,0,0,!u["ɵnov"](e,1).showSelect)})}function o(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,0,null,null,1,"div",[["class","ngb-dp-month-name text-center"]],null,null,null,null,null)),(t()(),u["ɵted"](1,null,["\n "," ","\n "]))],null,function(t,e){t(e,1,0,e.component.i18n.getMonthFullName(e.parent.context.$implicit.number),e.parent.context.$implicit.year)})}function s(t){return u["ɵvid"](0,[(t()(),u["ɵted"](-1,null,["\n "])),(t()(),u["ɵeld"](1,0,null,null,8,"div",[["class","ngb-dp-month d-block ml-3"]],null,null,null,null,null)),(t()(),u["ɵted"](-1,null,[" \n "])),(t()(),u["ɵand"](16777216,null,null,1,null,o)),u["ɵdid"](4,16384,null,0,v.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),u["ɵted"](-1,null,["\n "])),(t()(),u["ɵeld"](6,0,null,null,2,"ngb-datepicker-month-view",[["class","d-block"]],null,[[null,"select"]],function(t,e,n){var i=!0,r=t.component;if("select"===e){i=!1!==r.onDateSelect(n)&&i}return i},g.a,g.b)),u["ɵdid"](7,49152,null,0,b.a,[d.a],{dayTemplate:[0,"dayTemplate"],disabled:[1,"disabled"],month:[2,"month"],outsideDays:[3,"outsideDays"],selectedDate:[4,"selectedDate"],showWeekdays:[5,"showWeekdays"],showWeekNumbers:[6,"showWeekNumbers"]},{select:"select"}),(t()(),u["ɵted"](-1,null,["\n "])),(t()(),u["ɵted"](-1,null,["\n "])),(t()(),u["ɵted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,4,0,"select"!==n.navigation||n.displayMonths>1),t(e,7,0,n.dayTemplate||u["ɵnov"](e.parent,1),n.disabled,e.context.$implicit,1===n.displayMonths?n.outsideDays:"hidden",n.model,n.showWeekdays,n.showWeekNumbers)},null)}function a(t){return u["ɵvid"](0,[(t()(),u["ɵted"](-1,null,["\n "])),(t()(),u["ɵand"](0,[["dt",2]],null,0,null,i)),(t()(),u["ɵted"](-1,null,["\n \n "])),(t()(),u["ɵeld"](3,0,null,null,4,"div",[["class","ngb-dp-header bg-faded pt-1 rounded-top"]],[[4,"height","rem"],[4,"marginBottom","rem"]],null,null,null,null)),(t()(),u["ɵted"](-1,null,["\n "])),(t()(),u["ɵand"](16777216,null,null,1,null,r)),u["ɵdid"](6,16384,null,0,v.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),u["ɵted"](-1,null,["\n "])),(t()(),u["ɵted"](-1,null,["\n\n "])),(t()(),u["ɵeld"](9,0,null,null,4,"div",[["class","ngb-dp-months d-flex px-1 pb-1"]],null,null,null,null,null)),(t()(),u["ɵted"](-1,null,["\n "])),(t()(),u["ɵand"](16777216,null,null,1,null,s)),u["ɵdid"](12,802816,null,0,v.NgForOf,[u.ViewContainerRef,u.TemplateRef,u.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),u["ɵted"](-1,null,["\n "])),(t()(),u["ɵted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,6,0,"none"!==n.navigation),t(e,12,0,n.months)},function(t,e){var n=e.component;t(e,3,0,n.getHeaderHeight(),0-n.getHeaderMargin())})}function l(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,0,null,null,3,"ngb-datepicker",[["class","d-inline-block rounded"]],null,null,null,a,O)),u["ɵprd"](5120,null,w.NG_VALUE_ACCESSOR,function(t){return[t]},[y.a]),u["ɵprd"](512,null,x.a,x.a,[m.a]),u["ɵdid"](3,638976,null,0,y.a,[x.a,m.a,d.a,S.a],null,null)],function(t,e){t(e,3,0)},null)}var u=n("/oeL"),c=n("RnhI"),h=n("+oJC"),p=n("uy4m"),f=n("Pc3Y"),d=n("CuDZ"),m=n("KSV9"),v=n("qbdv"),g=n("TfLl"),b=n("Av3o"),y=n("4Q/O"),w=n("bm2B"),x=n("/6Tg"),S=n("HRzg");n.d(e,"a",function(){return k});var C=["[_nghost-%COMP%] {\n border: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-header[_ngcontent-%COMP%] {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-month[_ngcontent-%COMP%] {\n pointer-events: none;\n }\n ngb-datepicker-month-view[_ngcontent-%COMP%] {\n pointer-events: auto;\n }\n .ngb-dp-month[_ngcontent-%COMP%]:first-child {\n margin-left: 0 !important;\n } \n .ngb-dp-month-name[_ngcontent-%COMP%] {\n font-size: larger;\n height: 2rem;\n line-height: 2rem;\n }"],O=u["ɵcrt"]({encapsulation:0,styles:C,data:{}}),k=u["ɵccf"]("ngb-datepicker",y.a,l,{dayTemplate:"dayTemplate",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",showWeekdays:"showWeekdays",showWeekNumbers:"showWeekNumbers",startDate:"startDate"},{navigate:"navigate"},[])},Io40:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("zijX"),o=n("XNum"),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n,this.pending=!1}return i(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 n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),r.root.setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){return void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending?e:r.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 n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,i=void 0;try{this.work(t)}catch(t){n=!0,i=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),i},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(o.Action);e.AsyncAction=s},IpZT:function(t,e,n){"use strict";var i=n("bKpL"),r=n("ZQVD");i.Observable.prototype.ignoreElements=r.ignoreElements},IqVs:function(t,e,n){"use strict";var i=n("zijX"),r=function(){function t(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){return t.setTimeout(e,1e3/60)})}return t}();e.RequestAnimationFrameDefinition=r,e.AnimationFrame=new r(i.root)},ItUe:function(t,e,n){"use strict";var i=n("bKpL"),r=n("0I3B");i.Observable.prototype.zip=r.zipProto},JCyH:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("qIlB"),o=n("Io40"),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return i(e,t),e.prototype.requestAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0?t.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e.scheduled||(e.scheduled=r.Immediate.setImmediate(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,i){if(void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,i);0===e.actions.length&&(r.Immediate.clearImmediate(n),e.scheduled=void 0)},e}(o.AsyncAction);e.AsapAction=s},JFa0:function(t,e,n){"use strict";var i=n("/oeL"),r=n("F3px"),o=n("75Hr"),s=n("uJci"),a=n("QGDq");n.d(e,"b",function(){return u}),n.d(e,"a",function(){return c});var l=0,u=function(){function t(){this.placement="top"}return t}();u.decorators=[{type:i.Component,args:[{selector:"ngb-tooltip-window",changeDetection:i.ChangeDetectionStrategy.OnPush,host:{"[class]":'"tooltip show tooltip-" + placement',role:"tooltip","[id]":"id"},template:'\n <div class="tooltip-inner"><ng-content></ng-content></div>\n '}]}],u.ctorParameters=function(){return[]},u.propDecorators={placement:[{type:i.Input}],id:[{type:i.Input}]};var c=function(){function t(t,e,r,a,c,h,p){var f=this;this._elementRef=t,this._renderer=e,this.shown=new i.EventEmitter,this.hidden=new i.EventEmitter,this._ngbTooltipWindowId="ngb-tooltip-"+l++,this.placement=h.placement,this.triggers=h.triggers,this.container=h.container,this._popupService=new s.a(u,r,c,e,a),this._zoneSubscription=p.onStable.subscribe(function(){f._windowRef&&n.i(o.a)(f._elementRef.nativeElement,f._windowRef.location.nativeElement,f.placement,"body"===f.container)})}return Object.defineProperty(t.prototype,"ngbTooltip",{get:function(){return this._ngbTooltip},set:function(t){this._ngbTooltip=t,!t&&this._windowRef&&this.close()},enumerable:!0,configurable:!0}),t.prototype.open=function(t){!this._windowRef&&this._ngbTooltip&&(this._windowRef=this._popupService.open(this._ngbTooltip,t),this._windowRef.instance.placement=this.placement,this._windowRef.instance.id=this._ngbTooltipWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.markForCheck(),this.shown.emit())},t.prototype.close=function(){null!=this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=n.i(r.a)(this._renderer,this._elementRef.nativeElement,this.triggers,this.open.bind(this),this.close.bind(this),this.toggle.bind(this))},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t}();c.decorators=[{type:i.Directive,args:[{selector:"[ngbTooltip]",exportAs:"ngbTooltip"}]}],c.ctorParameters=function(){return[{type:i.ElementRef},{type:i.Renderer2},{type:i.Injector},{type:i.ComponentFactoryResolver},{type:i.ViewContainerRef},{type:a.a},{type:i.NgZone}]},c.propDecorators={placement:[{type:i.Input}],triggers:[{type:i.Input}],container:[{type:i.Input}],shown:[{type:i.Output}],hidden:[{type:i.Output}],ngbTooltip:[{type:i.Input}]}},JNTq:function(t,e,n){"use strict";var i=n("bKpL"),r=n("LEug");i.Observable.merge=r.merge},JNkN:function(t,e,n){"use strict";var i=n("/oeL"),r=n("GaSD"),o=n("wM1e"),s=n("CuDZ"),a=n("KSV9");n.d(e,"a",function(){return l});var l=function(){function t(t,e){this.i18n=t,this.calendar=e,this.years=[],this.select=new i.EventEmitter,this.months=e.getMonths()}return t.prototype.ngOnChanges=function(t){(t.maxDate||t.minDate||t.date)&&(this._generateYears(),this._generateMonths())},t.prototype.changeMonth=function(t){this.select.emit(new r.a(this.date.year,n.i(o.b)(t),1))},t.prototype.changeYear=function(t){this.select.emit(new r.a(n.i(o.b)(t),this.date.month,1))},t.prototype._generateMonths=function(){var t=this;if(this.months=this.calendar.getMonths(),this.date&&this.date.year===this.minDate.year){var e=this.months.findIndex(function(e){return e===t.minDate.month});this.months=this.months.slice(e)}if(this.date&&this.date.year===this.maxDate.year){var e=this.months.findIndex(function(e){return e===t.maxDate.month});this.months=this.months.slice(0,e+1)}},t.prototype._generateYears=function(){var t=this;this.years=Array.from({length:this.maxDate.year-this.minDate.year+1},function(e,n){return t.minDate.year+n})},t}();l.decorators=[{type:i.Component,args:[{selector:"ngb-datepicker-navigation-select",styles:["\n select {\n /* to align with btn-sm */\n padding: 0.25rem 0.5rem;\n font-size: 0.875rem; \n line-height: 1.25;\n /* to cancel the custom height set by custom-select */\n height: inherit;\n width: 50%;\n }\n "],template:'\n <select [disabled]="disabled" class="custom-select d-inline-block" [value]="date?.month" (change)="changeMonth($event.target.value)">\n <option *ngFor="let m of months" [value]="m">{{ i18n.getMonthShortName(m) }}</option>\n </select><select [disabled]="disabled" class="custom-select d-inline-block" [value]="date?.year" (change)="changeYear($event.target.value)">\n <option *ngFor="let y of years" [value]="y">{{ y }}</option>\n </select> \n '}]}],l.ctorParameters=function(){return[{type:s.a},{type:a.a}]},l.propDecorators={date:[{type:i.Input}],disabled:[{type:i.Input}],maxDate:[{type:i.Input}],minDate:[{type:i.Input}],select:[{type:i.Output}]}},JSgX:function(t,e,n){"use strict";var i=n("bKpL"),r=n("7kbP");i.Observable.concat=r.concat},K5Xx:function(t,e,n){"use strict";function i(t){return r.publish(t)(this)}var r=n("zBM/");e.publish=i},KPCT:function(t,e,n){"use strict";function i(t){return o["ɵvid"](0,[o["ɵqud"](402653184,1,{host:0}),(t()(),o["ɵeld"](1,0,[[1,0],["host",1]],null,0,"textarea",[],null,null,null,null,null))],null,null)}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,0,null,null,2,"codemirror",[],null,null,null,i,u)),o["ɵprd"](5120,null,s.NG_VALUE_ACCESSOR,function(t){return[t]},[a.CodemirrorComponent]),o["ɵdid"](2,4374528,null,0,a.CodemirrorComponent,[],null,null)],null,null)}var o=n("/oeL"),s=n("bm2B"),a=n("nfVm");n.n(a);n.d(e,"b",function(){return u}),e.a=i;var l=[],u=o["ɵcrt"]({encapsulation:2,styles:l,data:{}});o["ɵccf"]("codemirror",a.CodemirrorComponent,r,{config:"config",value:"value"},{change:"change",focus:"focus",blur:"blur",cursorActivity:"cursorActivity",instance:"instance"},[])},KRwK:function(t,e,n){"use strict";var i=n("/oeL"),r=n("uJci"),o=n("wM1e"),s=n("1Dsc"),a=n("AVYa"),l=n("C8VA");n.d(e,"a",function(){return u});var u=function(){function t(t,e,n){this._applicationRef=t,this._injector=e,this._componentFactoryResolver=n,this._backdropFactory=n.resolveComponentFactory(s.a),this._windowFactory=n.resolveComponentFactory(a.a)}return t.prototype.open=function(t,e,n,i){var r=i.container||"body",o=document.querySelector(r);if(!o)throw new Error('The specified modal container "'+r+'" was not found in the DOM.');var s,a,u,c=new l.a,h=this._getContentRef(t,e,n,c);return!1!==i.backdrop&&(a=this._backdropFactory.create(this._injector),this._applicationRef.attachView(a.hostView),o.appendChild(a.location.nativeElement)),s=this._windowFactory.create(this._injector,h.nodes),this._applicationRef.attachView(s.hostView),o.appendChild(s.location.nativeElement),u=new l.b(s,h,a),c.close=function(t){u.close(t)},c.dismiss=function(t){u.dismiss(t)},this._applyWindowOptions(s.instance,i),u},t.prototype._applyWindowOptions=function(t,e){["backdrop","keyboard","size","windowClass"].forEach(function(i){n.i(o.h)(e[i])&&(t[i]=e[i])})},t.prototype._getContentRef=function(t,e,s,a){if(s){if(s instanceof i.TemplateRef){var u=s.createEmbeddedView(a);return this._applicationRef.attachView(u),new r.b([u.rootNodes],u)}if(n.i(o.f)(s))return new r.b([[document.createTextNode(""+s)]]);var c=t.resolveComponentFactory(s),h=i.ReflectiveInjector.resolveAndCreate([{provide:l.a,useValue:a}],e),p=c.create(h);return this._applicationRef.attachView(p.hostView),new r.b([[p.location.nativeElement]],p.hostView,p)}return new r.b([])},t}();u.decorators=[{type:i.Injectable}],u.ctorParameters=function(){return[{type:i.ApplicationRef},{type:i.Injector},{type:i.ComponentFactoryResolver}]}},KSV9:function(t,e,n){"use strict";function i(t){return new o.a(t.getFullYear(),t.getMonth()+1,t.getDate())}function r(t){var e=new Date(t.year,t.month-1,t.day);return isNaN(e.getTime())||e.setFullYear(t.year),e}var o=n("GaSD"),s=n("/oeL"),a=n("wM1e");n.d(e,"a",function(){return u}),n.d(e,"b",function(){return c});var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(){function t(){}return t}();u.decorators=[{type:s.Injectable}],u.ctorParameters=function(){return[]};var c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.getDaysPerWeek=function(){return 7},e.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},e.prototype.getWeeksPerMonth=function(){return 6},e.prototype.getNext=function(t,e,n){void 0===e&&(e="d"),void 0===n&&(n=1);var s=r(t);switch(e){case"y":return new o.a(t.year+n,1,1);case"m":s=new Date(t.year,t.month+n-1,1);break;case"d":s.setDate(s.getDate()+n);break;default:return t}return i(s)},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e="d"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=r(t),n=e.getDay();return 0===n?7:n},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=(11-e)%7,i=t[n],o=r(i);o.setDate(o.getDate()+4-(o.getDay()||7));var s=o.getTime();return o.setMonth(0),o.setDate(1),Math.floor(Math.round((s-o.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return i(new Date)},e.prototype.isValid=function(t){if(!(t&&n.i(a.i)(t.year)&&n.i(a.i)(t.month)&&n.i(a.i)(t.day)))return!1;var e=r(t);return!isNaN(e.getTime())&&e.getFullYear()===t.year&&e.getMonth()+1===t.month&&e.getDate()===t.day},e}(u);c.decorators=[{type:s.Injectable}],c.ctorParameters=function(){return[]}},"Kt+M":function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.concat.apply(void 0,t)(this)}var r=n("vNxK");e.concat=i},Kuy3:function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=0),r.subscribeOn(t,e)(this)}var r=n("qHrI");e.subscribeOn=i},L0Qg:function(t,e,n){"use strict";function i(){return function(t){return t.lift(new a)}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+"),s=n("3lsR");e.materialize=i;var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(e){t.call(this,e)}return r(e,t),e.prototype._next=function(t){this.destination.next(s.Notification.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(s.Notification.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(s.Notification.createComplete()),t.complete()},e}(o.Subscriber)},L5DB:function(t,e,n){"use strict";var i=n("/oeL"),r=n("bm2B"),o=n("wM1e"),s=n("wsck"),a=n("V6Dl");n.d(e,"a",function(){return u});var l={provide:r.NG_VALUE_ACCESSOR,useExisting:n.i(i.forwardRef)(function(){return u}),multi:!0},u=function(){function t(t){this.onChange=function(t){},this.onTouched=function(){},this.meridian=t.meridian,this.spinners=t.spinners,this.seconds=t.seconds,this.hourStep=t.hourStep,this.minuteStep=t.minuteStep,this.secondStep=t.secondStep,this.disabled=t.disabled,this.readonlyInputs=t.readonlyInputs,this.size=t.size}return t.prototype.writeValue=function(t){this.model=t?new s.a(t.hour,t.minute,t.second):new s.a,this.seconds||t&&n.i(o.a)(t.second)||(this.model.second=0)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.changeHour=function(t){this.model.changeHour(t),this.propagateModelChange()},t.prototype.changeMinute=function(t){this.model.changeMinute(t),this.propagateModelChange()},t.prototype.changeSecond=function(t){this.model.changeSecond(t),this.propagateModelChange()},t.prototype.updateHour=function(t){this.model.updateHour(n.i(o.b)(t)),this.propagateModelChange()},t.prototype.updateMinute=function(t){this.model.updateMinute(n.i(o.b)(t)),this.propagateModelChange()},t.prototype.updateSecond=function(t){this.model.updateSecond(n.i(o.b)(t)),this.propagateModelChange()},t.prototype.toggleMeridian=function(){this.meridian&&this.changeHour(12)},t.prototype.formatHour=function(t){return n.i(o.a)(t)?this.meridian?n.i(o.c)(t%12==0?12:t%12):n.i(o.c)(t%24):n.i(o.c)(NaN)},t.prototype.formatMinSec=function(t){return n.i(o.c)(t)},t.prototype.setFormControlSize=function(){return{"form-control-sm":"small"===this.size,"form-control-lg":"large"===this.size}},t.prototype.setButtonSize=function(){return{"btn-sm":"small"===this.size,"btn-lg":"large"===this.size}},t.prototype.ngOnChanges=function(t){t.seconds&&!this.seconds&&this.model&&!n.i(o.a)(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))},t.prototype.propagateModelChange=function(t){void 0===t&&(t=!0),t&&this.onTouched(),this.model.isValid(this.seconds)?this.onChange({hour:this.model.hour,minute:this.model.minute,second:this.model.second}):this.onChange(null)},t}();u.decorators=[{type:i.Component,args:[{selector:"ngb-timepicker",styles:["\n .ngb-tp {\n display: flex;\n align-items: center;\n }\n\n .ngb-tp-hour, .ngb-tp-minute, .ngb-tp-second, .ngb-tp-meridian {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n }\n\n .ngb-tp-spacer {\n width: 1em;\n text-align: center;\n }\n\n .chevron::before {\n border-style: solid;\n border-width: 0.29em 0.29em 0 0;\n content: '';\n display: inline-block;\n height: 0.69em;\n left: 0.05em;\n position: relative;\n top: 0.15em;\n transform: rotate(-45deg);\n -webkit-transform: rotate(-45deg);\n -ms-transform: rotate(-45deg);\n vertical-align: middle;\n width: 0.71em;\n }\n\n .chevron.bottom:before {\n top: -.3em;\n -webkit-transform: rotate(135deg);\n -ms-transform: rotate(135deg);\n transform: rotate(135deg);\n }\n\n .btn-link {\n outline: 0;\n }\n\n .btn-link.disabled {\n cursor: not-allowed;\n opacity: .65;\n }\n\n input {\n text-align: center;\n display: inline-block;\n width: auto;\n }\n "],template:'\n <fieldset [disabled]="disabled" [class.disabled]="disabled">\n <div class="ngb-tp">\n <div class="ngb-tp-hour">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeHour(hourStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron"></span>\n <span class="sr-only">Increment hours</span>\n </button>\n <input type="text" class="form-control" [ngClass]="setFormControlSize()" maxlength="2" size="2" placeholder="HH"\n [value]="formatHour(model?.hour)" (change)="updateHour($event.target.value)"\n [readonly]="readonlyInputs" [disabled]="disabled" aria-label="Hours">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeHour(-hourStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron bottom"></span>\n <span class="sr-only">Decrement hours</span>\n </button>\n </div>\n <div class="ngb-tp-spacer">:</div>\n <div class="ngb-tp-minute">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeMinute(minuteStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron"></span>\n <span class="sr-only">Increment minutes</span>\n </button>\n <input type="text" class="form-control" [ngClass]="setFormControlSize()" maxlength="2" size="2" placeholder="MM"\n [value]="formatMinSec(model?.minute)" (change)="updateMinute($event.target.value)"\n [readonly]="readonlyInputs" [disabled]="disabled" aria-label="Minutes">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeMinute(-minuteStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron bottom"></span>\n <span class="sr-only">Decrement minutes</span>\n </button>\n </div>\n <div *ngIf="seconds" class="ngb-tp-spacer">:</div>\n <div *ngIf="seconds" class="ngb-tp-second">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeSecond(secondStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron"></span>\n <span class="sr-only">Increment seconds</span>\n </button>\n <input type="text" class="form-control" [ngClass]="setFormControlSize()" maxlength="2" size="2" placeholder="SS"\n [value]="formatMinSec(model?.second)" (change)="updateSecond($event.target.value)"\n [readonly]="readonlyInputs" [disabled]="disabled" aria-label="Seconds">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeSecond(-secondStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron bottom"></span>\n <span class="sr-only">Decrement seconds</span>\n </button>\n </div>\n <div *ngIf="meridian" class="ngb-tp-spacer"></div>\n <div *ngIf="meridian" class="ngb-tp-meridian">\n <button type="button" class="btn btn-outline-primary" [ngClass]="setButtonSize()"\n [disabled]="disabled" [class.disabled]="disabled"\n (click)="toggleMeridian()">{{model.hour >= 12 ? \'PM\' : \'AM\'}}</button>\n </div>\n </div>\n </fieldset>\n ',providers:[l]}]}],u.ctorParameters=function(){return[{type:a.a}]},u.propDecorators={meridian:[{type:i.Input}],spinners:[{type:i.Input}],seconds:[{type:i.Input}],hourStep:[{type:i.Input}],minuteStep:[{type:i.Input}],secondStep:[{type:i.Input}],readonlyInputs:[{type:i.Input}],size:[{type:i.Input}]}},LBqD:function(t,e,n){"use strict";function i(){return r.pairwise()(this)}var r=n("9FjR");e.pairwise=i},LClL:function(t,e,n){"use strict";var i=n("bKpL"),r=n("saEi");i.Observable.prototype.publishBehavior=r.publishBehavior},LMxK:function(t,e,n){"use strict";var i=n("tAjV");e.audit=i.audit;var r=n("GTdq");e.auditTime=r.auditTime;var o=n("+vKo");e.buffer=o.buffer;var s=n("5NGA");e.bufferCount=s.bufferCount;var a=n("duFl");e.bufferTime=a.bufferTime;var l=n("6QEA");e.bufferToggle=l.bufferToggle;var u=n("v1IT");e.bufferWhen=u.bufferWhen;var c=n("g1RG");e.catchError=c.catchError;var h=n("7xz3");e.combineAll=h.combineAll;var p=n("H4tt");e.combineLatest=p.combineLatest;var f=n("vNxK");e.concat=f.concat;var d=n("NiCh");e.concatAll=d.concatAll;var m=n("+FJ1");e.concatMap=m.concatMap;var v=n("0mJJ");e.concatMapTo=v.concatMapTo;var g=n("ip92");e.count=g.count;var b=n("2l91");e.debounce=b.debounce;var y=n("Hr+Y");e.debounceTime=y.debounceTime;var w=n("PbxL");e.defaultIfEmpty=w.defaultIfEmpty;var x=n("EUVd");e.delay=x.delay;var S=n("aeUV");e.delayWhen=S.delayWhen;var C=n("pguX");e.dematerialize=C.dematerialize;var O=n("y+rW");e.distinct=O.distinct;var k=n("2Sjb");e.distinctUntilChanged=k.distinctUntilChanged;var T=n("HBVP");e.distinctUntilKeyChanged=T.distinctUntilKeyChanged;var _=n("k6cv");e.elementAt=_.elementAt;var L=n("GiTH");e.every=L.every;var I=n("weui");e.exhaust=I.exhaust;var M=n("NzSV");e.exhaustMap=M.exhaustMap;var A=n("y23k");e.expand=A.expand;var E=n("Hd11");e.filter=E.filter;var N=n("FTnw");e.finalize=N.finalize;var R=n("0dhf");e.find=R.find;var D=n("IfwN");e.findIndex=D.findIndex;var P=n("+BWq");e.first=P.first;var j=n("8H5Y");e.groupBy=j.groupBy;var F=n("XG4q");e.ignoreElements=F.ignoreElements;var W=n("C4ew");e.isEmpty=W.isEmpty;var H=n("zrH4");e.last=H.last;var V=n("L8VJ");e.map=V.map;var z=n("6d3x");e.mapTo=z.mapTo;var B=n("L0Qg");e.materialize=B.materialize;var q=n("jjPq");e.max=q.max;var K=n("QHK3");e.merge=K.merge;var U=n("8rcZ");e.mergeAll=U.mergeAll;var G=n("mjx3");e.mergeMap=G.mergeMap;var Y=n("mjx3");e.flatMap=Y.mergeMap;var X=n("j8LY");e.mergeMapTo=X.mergeMapTo;var J=n("t9cH");e.mergeScan=J.mergeScan;var Z=n("y3SI");e.min=Z.min;var Q=n("P02W");e.multicast=Q.multicast;var $=n("GDiU");e.observeOn=$.observeOn;var tt=n("r6G9");e.onErrorResumeNext=tt.onErrorResumeNext;var et=n("9FjR");e.pairwise=et.pairwise;var nt=n("hfga");e.partition=nt.partition;var it=n("wcuQ");e.pluck=it.pluck;var rt=n("zBM/");e.publish=rt.publish;var ot=n("ASfG");e.publishBehavior=ot.publishBehavior;var st=n("qfkx");e.publishLast=st.publishLast;var at=n("z8/z");e.publishReplay=at.publishReplay;var lt=n("XWpj");e.race=lt.race;var ut=n("JwCl");e.reduce=ut.reduce;var ct=n("Hg2u");e.repeat=ct.repeat;var ht=n("g9kf");e.repeatWhen=ht.repeatWhen;var pt=n("5r3W");e.retry=pt.retry;var ft=n("qanz");e.retryWhen=ft.retryWhen;var dt=n("F9px");e.refCount=dt.refCount;var mt=n("ZNYO");e.sample=mt.sample;var vt=n("60lp");e.sampleTime=vt.sampleTime;var gt=n("H1KZ");e.scan=gt.scan;var bt=n("xJeO");e.sequenceEqual=bt.sequenceEqual;var yt=n("HwxE");e.share=yt.share;var wt=n("Wxra");e.shareReplay=wt.shareReplay;var xt=n("v71/");e.single=xt.single;var St=n("cyM/");e.skip=St.skip;var Ct=n("EmkH");e.skipLast=Ct.skipLast;var Ot=n("UHtL");e.skipUntil=Ot.skipUntil;var kt=n("aL6N");e.skipWhile=kt.skipWhile;var Tt=n("dtBE");e.startWith=Tt.startWith;var _t=n("rhfi");e.switchAll=_t.switchAll;var Lt=n("TupL");e.switchMap=Lt.switchMap;var It=n("0lA3");e.switchMapTo=It.switchMapTo;var Mt=n("TQK7");e.take=Mt.take;var At=n("XvrG");e.takeLast=At.takeLast;var Et=n("y3aq");e.takeUntil=Et.takeUntil;var Nt=n("5x23");e.takeWhile=Nt.takeWhile;var Rt=n("4HZJ");e.tap=Rt.tap;var Dt=n("DrEP");e.throttle=Dt.throttle;var Pt=n("Rol4");e.throttleTime=Pt.throttleTime;var jt=n("EOAD");e.timeInterval=jt.timeInterval;var Ft=n("qbt9");e.timeout=Ft.timeout;var Wt=n("/h+r");e.timeoutWith=Wt.timeoutWith;var Ht=n("xK8X");e.timestamp=Ht.timestamp;var Vt=n("Y4uv");e.toArray=Vt.toArray;var zt=n("7tal");e.window=zt.window;var Bt=n("GeBq");e.windowCount=Bt.windowCount;var qt=n("dffx");e.windowTime=qt.windowTime;var Kt=n("bLt9");e.windowToggle=Kt.windowToggle;var Ut=n("kqkQ");e.windowWhen=Ut.windowWhen;var Gt=n("p4do");e.withLatestFrom=Gt.withLatestFrom;var Yt=n("SBOU");e.zip=Yt.zip;var Xt=n("IkMW");e.zipAll=Xt.zipAll},LTTx:function(t,e,n){"use strict";var i=n("bKpL"),r=n("xAqS");i.Observable.prototype.bufferToggle=r.bufferToggle},Lqs2:function(t,e,n){"use strict";function i(t){return r.take(t)(this)}var r=n("TQK7");e.take=i},Lssd:function(t,e,n){"use strict";var i=n("bKpL"),r=n("WmO6");i.Observable.prototype.partition=r.partition},M11L:function(t,e,n){"use strict";function i(){return function(){function t(){this._values=[]}return t.prototype.add=function(t){this.has(t)||this._values.push(t)},t.prototype.has=function(t){return-1!==this._values.indexOf(t)},Object.defineProperty(t.prototype,"size",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this._values.length=0},t}()}var r=n("zijX");e.minimalSetImpl=i,e.Set=r.root.Set||i()},MBEm:function(t,e,n){"use strict";var i=n("bKpL"),r=n("kGJb");i.Observable.prototype.distinctUntilChanged=r.distinctUntilChanged},MIR9:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("bKpL"),o=n("3lsR"),s=n("iH09"),a=n("XR5H"),l=n("OXmC"),u=n("I64N"),c=750,h=function(t){function e(e){t.call(this,u.VirtualAction,c),this.assertDeepEqual=e,this.hotObservables=[],this.coldObservables=[],this.flushTests=[]}return i(e,t),e.prototype.createTime=function(t){var n=t.indexOf("|");if(-1===n)throw new Error('marble diagram for time should have a completion marker "|"');return n*e.frameTimeFactor},e.prototype.createColdObservable=function(t,n,i){if(-1!==t.indexOf("^"))throw new Error('cold observable cannot have subscription offset "^"');if(-1!==t.indexOf("!"))throw new Error('cold observable cannot have unsubscription marker "!"');var r=e.parseMarbles(t,n,i),o=new s.ColdObservable(r,this);return this.coldObservables.push(o),o},e.prototype.createHotObservable=function(t,n,i){if(-1!==t.indexOf("!"))throw new Error('hot observable cannot have unsubscription marker "!"');var r=e.parseMarbles(t,n,i),o=new a.HotObservable(r,this);return this.hotObservables.push(o),o},e.prototype.materializeInnerObservable=function(t,e){var n=this,i=[];return t.subscribe(function(t){i.push({frame:n.frame-e,notification:o.Notification.createNext(t)})},function(t){i.push({frame:n.frame-e,notification:o.Notification.createError(t)})},function(){i.push({frame:n.frame-e,notification:o.Notification.createComplete()})}),i},e.prototype.expectObservable=function(t,n){var i=this;void 0===n&&(n=null);var s,a=[],l={actual:a,ready:!1},u=e.parseMarblesAsSubscriptions(n).unsubscribedFrame;return this.schedule(function(){s=t.subscribe(function(t){var e=t;t instanceof r.Observable&&(e=i.materializeInnerObservable(e,i.frame)),a.push({frame:i.frame,notification:o.Notification.createNext(e)})},function(t){a.push({frame:i.frame,notification:o.Notification.createError(t)})},function(){a.push({frame:i.frame,notification:o.Notification.createComplete()})})},0),u!==Number.POSITIVE_INFINITY&&this.schedule(function(){return s.unsubscribe()},u),this.flushTests.push(l),{toBe:function(t,n,i){l.ready=!0,l.expected=e.parseMarbles(t,n,i,!0)}}},e.prototype.expectSubscriptions=function(t){var n={actual:t,ready:!1};return this.flushTests.push(n),{toBe:function(t){var i="string"==typeof t?[t]:t;n.ready=!0,n.expected=i.map(function(t){return e.parseMarblesAsSubscriptions(t)})}}},e.prototype.flush=function(){for(var e=this.hotObservables;e.length>0;)e.shift().setup();t.prototype.flush.call(this);for(var n=this.flushTests.filter(function(t){return t.ready});n.length>0;){var i=n.shift();this.assertDeepEqual(i.actual,i.expected)}},e.parseMarblesAsSubscriptions=function(t){if("string"!=typeof t)return new l.SubscriptionLog(Number.POSITIVE_INFINITY);for(var e=t.length,n=-1,i=Number.POSITIVE_INFINITY,r=Number.POSITIVE_INFINITY,o=0;o<e;o++){var s=o*this.frameTimeFactor,a=t[o];switch(a){case"-":case" ":break;case"(":n=s;break;case")":n=-1;break;case"^":if(i!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");i=n>-1?n:s;break;case"!":if(r!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");r=n>-1?n:s;break;default:throw new Error("there can only be '^' and '!' markers in a subscription marble diagram. Found instead '"+a+"'.")}}return r<0?new l.SubscriptionLog(i):new l.SubscriptionLog(i,r)},e.parseMarbles=function(t,e,n,i){if(void 0===i&&(i=!1),-1!==t.indexOf("!"))throw new Error('conventional marble diagrams cannot have the unsubscription marker "!"');for(var r=t.length,a=[],l=t.indexOf("^"),u=-1===l?0:l*-this.frameTimeFactor,c="object"!=typeof e?function(t){return t}:function(t){return i&&e[t]instanceof s.ColdObservable?e[t].messages:e[t]},h=-1,p=0;p<r;p++){var f=p*this.frameTimeFactor+u,d=void 0,m=t[p];switch(m){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(c(m))}d&&a.push({frame:h>-1?h:f,notification:d})}return a},e}(u.VirtualTimeScheduler);e.TestScheduler=h},MaQZ:function(t,e,n){"use strict";var i=n("bKpL"),r=n("etEa");i.Observable.prototype.find=r.find},MsHi:function(t,e,n){"use strict";function i(t){return o["ɵvid"](2,[(t()(),o["ɵted"](-1,null,["\n "])),(t()(),o["ɵeld"](1,0,null,null,1,"h3",[["class","popover-title"]],null,null,null,null,null)),(t()(),o["ɵted"](2,null,["",""])),(t()(),o["ɵeld"](3,0,null,null,1,"div",[["class","popover-content"]],null,null,null,null,null)),o["ɵncd"](null,0),(t()(),o["ɵted"](-1,null,["\n "]))],null,function(t,e){t(e,2,0,e.component.title)})}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,0,null,null,1,"ngb-popover-window",[["role","tooltip"]],[[8,"className",0],[8,"id",0]],null,null,i,l)),o["ɵdid"](1,49152,null,0,s.b,[],null,null)],null,function(t,e){t(e,0,0,"popover show popover-"+o["ɵnov"](e,1).placement,o["ɵnov"](e,1).id)})}var o=n("/oeL"),s=n("mQQt");n.d(e,"a",function(){return u});var a=[],l=o["ɵcrt"]({encapsulation:2,styles:a,data:{}}),u=o["ɵccf"]("ngb-popover-window",s.b,r,{placement:"placement",title:"title",id:"id"},{},["*"])},MzWM:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("bKpL"),o=n("ktfo"),s=n("yW9Z"),a=function(t){function e(e){t.call(this),this.observableFactory=e}return i(e,t),e.create=function(t){return new e(t)},e.prototype._subscribe=function(t){return new l(t,this.observableFactory)},e}(r.Observable);e.DeferObservable=a;var l=function(t){function e(e,n){t.call(this,e),this.factory=n,this.tryDefer()}return i(e,t),e.prototype.tryDefer=function(){try{this._callFactory()}catch(t){this._error(t)}},e.prototype._callFactory=function(){var t=this.factory();t&&this.add(o.subscribeToResult(this,t))},e}(s.OuterSubscriber)},NOvV:function(t,e,n){"use strict";var i=n("bKpL"),r=n("Pf4u");i.Observable.prototype.onErrorResumeNext=r.onErrorResumeNext},NUku:function(t,e,n){"use strict";function i(t){return r.buffer(t)(this)}var r=n("+vKo");e.buffer=i},NZPJ:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("bKpL"),o=n("MicL"),s=function(t){return t},a=function(t){function e(e,n,i,r,o){t.call(this),this.initialState=e,this.condition=n,this.iterate=i,this.resultSelector=r,this.scheduler=o}return i(e,t),e.create=function(t,n,i,r,a){return 1==arguments.length?new e(t.initialState,t.condition,t.iterate,t.resultSelector||s,t.scheduler):void 0===r||o.isScheduler(r)?new e(t,n,i,s,r):new e(t,n,i,r,a)},e.prototype._subscribe=function(t){var n=this.initialState;if(this.scheduler)return this.scheduler.schedule(e.dispatch,0,{subscriber:t,iterate:this.iterate,condition:this.condition,resultSelector:this.resultSelector,state:n});for(var i=this,r=i.condition,o=i.resultSelector,s=i.iterate;;){if(r){var a=void 0;try{a=r(n)}catch(e){return void t.error(e)}if(!a){t.complete();break}}var l=void 0;try{l=o(n)}catch(e){return void t.error(e)}if(t.next(l),t.closed)break;try{n=s(n)}catch(e){return void t.error(e)}}},e.dispatch=function(t){var e=t.subscriber,n=t.condition;if(!e.closed){if(t.needIterate)try{t.state=t.iterate(t.state)}catch(t){return void e.error(t)}else t.needIterate=!0;if(n){var i=void 0;try{i=n(t.state)}catch(t){return void e.error(t)}if(!i)return void e.complete();if(e.closed)return}var r;try{r=t.resultSelector(t.state)}catch(t){return void e.error(t)}if(!e.closed&&(e.next(r),!e.closed))return this.schedule(t)}},e}(r.Observable);e.GenerateObservable=a},NgMz:function(t,e,n){"use strict";function i(t,e){return r.findIndex(t,e)(this)}var r=n("IfwN");e.findIndex=i},NkQZ:function(t,e,n){"use strict";function i(t,e){return r.switchMapTo(t,e)(this)}var r=n("0lA3");e.switchMapTo=i},NmeZ:function(t,e,n){"use strict";var i=n("/oeL");n.d(e,"a",function(){return r});var r=function(){function t(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},NzSV:function(t,e,n){"use strict";function i(t,e){return function(n){return n.lift(new a(t,e))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("yW9Z"),s=n("ktfo");e.exhaustMap=i;var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.project,this.resultSelector))},t}(),l=function(t){function e(e,n,i){t.call(this,e),this.project=n,this.resultSelector=i,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return r(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e=this.index++,n=this.destination;try{var i=this.project(t,e);this.hasSubscription=!0,this.add(s.subscribeToResult(this,i,t,e))}catch(t){n.error(t)}},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyNext=function(t,e,n,i,r){var o=this,s=o.resultSelector,a=o.destination;s?this.trySelectResult(t,e,n,i):a.next(e)},e.prototype.trySelectResult=function(t,e,n,i){var r=this,o=r.resultSelector,s=r.destination;try{var a=o(t,e,n,i);s.next(a)}catch(t){s.error(t)}},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber)},OADz:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.withLatestFrom.apply(void 0,t)(this)}var r=n("p4do");e.withLatestFrom=i},OCM8:function(t,e,n){"use strict";function i(){return r.publishLast()(this)}var r=n("qfkx");e.publishLast=i},OGSH:function(t,e,n){"use strict";var i=n("bKpL"),r=n("c2EU");i.Observable.prototype.throttle=r.throttle},OPj5:function(t,e,n){"use strict";var i=n("/oeL"),r=n("wM1e");n.d(e,"a",function(){return o});var o=function(){function t(){this.highlightClass="ngb-highlight"}return t.prototype.ngOnChanges=function(t){var e=n.i(r.d)(this.result),i=e.toLowerCase(),o=n.i(r.d)(this.term).toLowerCase(),s=0;o.length>0?this.parts=i.split(new RegExp("("+n.i(r.g)(o)+")")).map(function(t){var n=e.substr(s,t.length);return s+=t.length,n}):this.parts=[e]},t}();o.decorators=[{type:i.Component,args:[{selector:"ngb-highlight",changeDetection:i.ChangeDetectionStrategy.OnPush,template:'<ng-template ngFor [ngForOf]="parts" let-part let-isOdd="odd"><span *ngIf="isOdd" class="{{highlightClass}}">{{part}}</span><ng-template [ngIf]="!isOdd">{{part}}</ng-template></ng-template>',styles:["\n .ngb-highlight {\n font-weight: bold;\n }\n "]}]}],o.ctorParameters=function(){return[]},o.propDecorators={highlightClass:[{type:i.Input}],result:[{type:i.Input}],term:[{type:i.Input}]}},OXmC:function(t,e,n){"use strict";var i=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.subscribedFrame=t,this.unsubscribedFrame=e}return t}();e.SubscriptionLog=i},Obns:function(t,e,n){"use strict";function i(t){return r.debounce(t)(this)}var r=n("2l91");e.debounce=i},OdUO:function(t,e,n){"use strict";function i(t,e){return r.elementAt(t,e)(this)}var r=n("k6cv");e.elementAt=i},Oery:function(t,e,n){"use strict";var i=n("/oeL"),r=n("wM1e"),o=n("5FV4");n.d(e,"c",function(){return a}),n.d(e,"d",function(){return l}),n.d(e,"b",function(){return u}),n.d(e,"a",function(){return c});var s=0,a=function(){function t(t){this.templateRef=t}return t}();a.decorators=[{type:i.Directive,args:[{selector:"ng-template[ngbPanelTitle]"}]}],a.ctorParameters=function(){return[{type:i.TemplateRef}]};var l=function(){function t(t){this.templateRef=t}return t}();l.decorators=[{type:i.Directive,args:[{selector:"ng-template[ngbPanelContent]"}]}],l.ctorParameters=function(){return[{type:i.TemplateRef}]};var u=function(){function t(){this.disabled=!1,this.id="ngb-panel-"+s++}return t}();u.decorators=[{type:i.Directive,args:[{selector:"ngb-panel"}]}],u.ctorParameters=function(){return[]},u.propDecorators={disabled:[{type:i.Input}],id:[{type:i.Input}],title:[{type:i.Input}],type:[{type:i.Input}],contentTpl:[{type:i.ContentChild,args:[l]}],titleTpl:[{type:i.ContentChild,args:[a]}]};var c=function(){function t(t){this._states=new Map,this._panelRefs=new Map,this.activeIds=[],this.panelChange=new i.EventEmitter,this.type=t.type,this.closeOtherPanels=t.closeOthers}return t.prototype.toggle=function(t){var e=this._panelRefs.get(t);if(e&&!e.disabled){var n=!this._states.get(t),i=!1;this.panelChange.emit({panelId:t,nextState:n,preventDefault:function(){i=!0}}),i||(this._states.set(t,n),this.closeOtherPanels&&this._closeOthers(t),this._updateActiveIds())}},t.prototype.ngAfterContentChecked=function(){n.i(r.f)(this.activeIds)&&(this.activeIds=this.activeIds.split(/\s*,\s*/)),this._updateStates(),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0]),this._updateActiveIds())},t.prototype.isOpen=function(t){return this._states.get(t)},t.prototype._closeOthers=function(t){var e=this;this._states.forEach(function(n,i){i!==t&&e._states.set(i,!1)})},t.prototype._updateActiveIds=function(){var t=this;this.activeIds=this.panels.toArray().filter(function(e){return t.isOpen(e.id)&&!e.disabled}).map(function(t){return t.id})},t.prototype._updateStates=function(){var t=this;this._states.clear(),this._panelRefs.clear(),this.panels.toArray().forEach(function(e){t._states.set(e.id,t.activeIds.indexOf(e.id)>-1&&!e.disabled),t._panelRefs.set(e.id,e)})},t}();c.decorators=[{type:i.Component,args:[{selector:"ngb-accordion",exportAs:"ngbAccordion",host:{role:"tablist","[attr.aria-multiselectable]":"!closeOtherPanels"},template:'\n <div class="card">\n <ng-template ngFor let-panel [ngForOf]="panels">\n <div role="tab" id="{{panel.id}}-header"\n [class]="\'card-header \' + (panel.type ? \'card-\'+panel.type: type ? \'card-\'+type : \'\')" [class.active]="isOpen(panel.id)">\n <a href (click)="!!toggle(panel.id)" [class.text-muted]="panel.disabled" [attr.tabindex]="(panel.disabled ? \'-1\' : null)"\n [attr.aria-expanded]="isOpen(panel.id)" [attr.aria-controls]="(isOpen(panel.id) ? panel.id : null)"\n [attr.aria-disabled]="panel.disabled">\n {{panel.title}}<ng-template [ngTemplateOutlet]="panel.titleTpl?.templateRef"></ng-template>\n </a>\n </div>\n <div id="{{panel.id}}" role="tabpanel" [attr.aria-labelledby]="panel.id + \'-header\'" class="card-block" *ngIf="isOpen(panel.id)">\n <ng-template [ngTemplateOutlet]="panel.contentTpl.templateRef"></ng-template>\n </div>\n </ng-template>\n </div>\n'}]}],c.ctorParameters=function(){return[{type:o.a}]},c.propDecorators={panels:[{type:i.ContentChildren,args:[u]}],activeIds:[{type:i.Input}],closeOtherPanels:[{type:i.Input,args:["closeOthers"]}],type:[{type:i.Input}],panelChange:[{type:i.Output}]}},Ohh6:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.startWith.apply(void 0,t)(this)}var r=n("dtBE");e.startWith=i},Ozq5:function(t,e,n){"use strict";var i=n("bKpL"),r=n("GoZW");i.Observable.prototype.pluck=r.pluck},"P+lj":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("bKpL"),o=n("wEhC"),s=n("EsGe"),a=function(t){function e(e,n,i){void 0===n&&(n=0),void 0===i&&(i=o.asap),t.call(this),this.source=e,this.delayTime=n,this.scheduler=i,(!s.isNumeric(n)||n<0)&&(this.delayTime=0),i&&"function"==typeof i.schedule||(this.scheduler=o.asap)}return i(e,t),e.create=function(t,n,i){return void 0===n&&(n=0),void 0===i&&(i=o.asap),new e(t,n,i)},e.dispatch=function(t){var e=t.source,n=t.subscriber;return this.add(e.subscribe(n))},e.prototype._subscribe=function(t){var n=this.delayTime,i=this.source;return this.scheduler.schedule(e.dispatch,n,{source:i,subscriber:t})},e}(r.Observable);e.SubscribeOnObservable=a},P1Y9:function(t,e,n){(function(e){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t){Wt.forEach(function(e){var n=e.popper,i=e.tippyInstance,r=e.settings,o=r.appendTo,s=r.hideOnClick,a=r.trigger;if(o.contains(n)){var l=!0===s||-1!==a.indexOf("focus"),u=!t||n!==t.popper;l&&u&&i.hide(n)}})}function n(t,e){return(Element.prototype.closest||function(t){for(var e=this;e;){if(Kt.call(e,t))return e;e=e.parentElement}}).call(t,e)}function i(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function r(){var e=function(){Ft.touch=!0,Ft.iOS()&&document.body.classList.add("tippy-touch"),Ft.dynamicInputDetection&&window.performance&&document.addEventListener("mousemove",r)},r=function(){var t=void 0;return function(){var e=performance.now();e-t<20&&(Ft.touch=!1,document.removeEventListener("mousemove",r),Ft.iOS()||document.body.classList.remove("tippy-touch")),t=e}}(),o=function(e){if(!(e.target instanceof Element))return t();var r=n(e.target,Ht.TOOLTIPPED_EL),o=n(e.target,Ht.POPPER);if(o){if(i(Wt,function(t){return t.popper===o}).settings.interactive)return}if(r){var s=i(Wt,function(t){return t.el===r}),a=s.settings,l=a.hideOnClick,u=a.multiple,c=a.trigger;if(!u&&Ft.touch||!u&&-1!==c.indexOf("click"))return t(s);if(!0!==l||-1!==c.indexOf("click"))return}!n(e.target,Ht.CONTROLLER)&&document.querySelector(Ht.POPPER)&&t()},s=function(t){var e=document,n=e.activeElement;n&&n.blur&&Kt.call(n,Ht.TOOLTIPPED_EL)&&n.blur()};document.addEventListener("click",o),document.addEventListener("touchstart",e),window.addEventListener("blur",s),!Ft.SUPPORTS_TOUCH&&(navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&document.addEventListener("pointerdown",e)}function o(){return!o.done&&(o.done=!0,r(),!0)}function s(t){window.requestAnimationFrame(function(){setTimeout(t,0)})}function a(t){for(var e=[!1,"webkit"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var r=e[i],o=r?""+r+n:t;if(void 0!==window.document.body.style[o])return o}return null}function l(t,e){return Array.prototype.findIndex?t.findIndex(e):t.indexOf(i(t,e))}function u(t){var e=t.getAttribute("title");e&&t.setAttribute("data-original-title",e),t.removeAttribute("title")}function c(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}function h(t,e){e?window.getComputedStyle(e)[a("transform")]:window.getComputedStyle(t).opacity}function p(t,e){t.forEach(function(t){t&&e(t.classList)})}function f(t){return{tooltip:t.querySelector(Ht.TOOLTIP),circle:t.querySelector(Ht.CIRCLE),content:t.querySelector(Ht.CONTENT)}}function d(t,e){t.forEach(function(t){if(t){var n=Kt.call(t,Ht.CONTENT),i=n?Math.round(e/1.3):e;t.style[a("transitionDuration")]=i+"ms"}})}function m(t){return"visible"===t.style.visibility}function v(){}function g(t){return!!t&&"[object Object]"===t.toString()}function b(t){return t.replace(/-.+/,"")}function y(t){var e=this,n=i(Wt,function(t){return t.el===e}),r=n.popper,o=n.settings.offset,s=b(r.getAttribute("x-placement")),l=Math.round(r.offsetWidth/2),u=Math.round(r.offsetHeight/2),c=document.documentElement.offsetWidth||document.body.offsetWidth,h=t.pageX,p=t.pageY,f=void 0,d=void 0;switch(s){case"top":f=h-l+o,d=p-2*u;break;case"bottom":f=h-l+o,d=p+10;break;case"left":f=h-2*l,d=p-u+o;break;case"right":f=h+5,d=p-u+o}var m=h+5+l+o>c,v=h-5-l+o<0;"top"!==s&&"bottom"!==s||(m&&(f=c-5-2*l),v&&(f=5)),r.style[a("transform")]="translate3d("+f+"px, "+d+"px, 0)"}function w(t){if(t instanceof Element||g(t))return[t];if(t instanceof NodeList)return[].slice.call(t);if(Array.isArray(t))return t;try{return[].slice.call(document.querySelectorAll(t))}catch(t){return[]}}function x(t,e,n){if(!e)return n();var i=f(t.popper),r=i.tooltip,o=!1,s=function(t){t.target!==r||o||(o=!0,n())};r.addEventListener("webkitTransitionEnd",s),r.addEventListener("transitionend",s),clearTimeout(t._transitionendTimeout),t._transitionendTimeout=setTimeout(function(){o||n()},e)}function S(t){var e=!1,n=0,i=document.createElement("span");return new MutationObserver(function(){t(),e=!1}).observe(i,{attributes:!0}),function(){e||(e=!0,i.setAttribute("x-index",n),n+=1)}}function C(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},Xt))}}function O(t){var e={};return t&&"[object Function]"===e.toString.call(t)}function k(t,e){if(1!==t.nodeType)return[];var n=window.getComputedStyle(t,null);return e?n[e]:n}function T(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function _(t){if(!t||-1!==["HTML","BODY","#document"].indexOf(t.nodeName))return window.document.body;var e=k(t),n=e.overflow,i=e.overflowX;return/(auto|scroll)/.test(n+e.overflowY+i)?t:_(T(t))}function L(t){var e=t&&t.offsetParent,n=e&&e.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TD","TABLE"].indexOf(e.nodeName)&&"static"===k(e,"position")?L(e):e:window.document.documentElement}function I(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||L(t.firstElementChild)===t)}function M(t){return null!==t.parentNode?M(t.parentNode):t}function A(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return window.document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,r=n?e:t,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var s=o.commonAncestorContainer;if(t!==s&&e!==s||i.contains(r))return I(s)?s:L(s);var a=M(t);return a.host?A(a.host,e):A(t,M(e).host)}function E(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var r=window.document.documentElement;return(window.document.scrollingElement||r)[n]}return t[n]}function N(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=E(e,"top"),r=E(e,"left"),o=n?-1:1;return t.top+=i*o,t.bottom+=i*o,t.left+=r*o,t.right+=r*o,t}function R(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return+t["border"+n+"Width"].split("px")[0]+ +t["border"+i+"Width"].split("px")[0]}function D(t,e,n,i,r){return Math.max(e["offset"+t],r?e["scroll"+t]:0,n["client"+t],n["offset"+t],r?n["scroll"+t]:0,te()?n["offset"+t]+i["margin"+("Height"===t?"Top":"Left")]+i["margin"+("Height"===t?"Bottom":"Right")]:0)}function P(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=window.document.body,n=window.document.documentElement,i=te()&&window.getComputedStyle(n);return{height:D("Height",e,n,i,t),width:D("Width",e,n,i,t)}}function j(t){return re({},t,{right:t.left+t.width,bottom:t.top+t.height})}function F(t){var e={};if(te())try{e=t.getBoundingClientRect();var n=E(t,"top"),i=E(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i}catch(t){}else e=t.getBoundingClientRect();var r={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?P():{},s=o.width||t.clientWidth||r.right-r.left,a=o.height||t.clientHeight||r.bottom-r.top,l=t.offsetWidth-s,u=t.offsetHeight-a;if(l||u){var c=k(t);l-=R(c,"x"),u-=R(c,"y"),r.width-=l,r.height-=u}return j(r)}function W(t,e){var n=te(),i="HTML"===e.nodeName,r=F(t),o=F(e),s=_(t),a=k(e),l=+a.borderTopWidth.split("px")[0],u=+a.borderLeftWidth.split("px")[0],c=j({top:r.top-o.top-l,left:r.left-o.left-u,width:r.width,height:r.height});if(c.marginTop=0,c.marginLeft=0,!n&&i){var h=+a.marginTop.split("px")[0],p=+a.marginLeft.split("px")[0];c.top-=l-h,c.bottom-=l-h,c.left-=u-p,c.right-=u-p,c.marginTop=h,c.marginLeft=p}return(n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(c=N(c,e)),c}function H(t){var e=window.document.documentElement,n=W(t,e),i=Math.max(e.clientWidth,window.innerWidth||0),r=Math.max(e.clientHeight,window.innerHeight||0),o=E(e),s=E(e,"left");return j({top:o-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:i,height:r})}function V(t){var e=t.nodeName;return"BODY"!==e&&"HTML"!==e&&("fixed"===k(t,"position")||V(T(t)))}function z(t,e,n,i){var r={top:0,left:0},o=A(t,e);if("viewport"===i)r=H(o);else{var s=void 0;"scrollParent"===i?(s=_(T(t)),"BODY"===s.nodeName&&(s=window.document.documentElement)):s="window"===i?window.document.documentElement:i;var a=W(s,o);if("HTML"!==s.nodeName||V(o))r=a;else{var l=P(!1),u=l.height,c=l.width;r.top+=a.top-a.marginTop,r.bottom=u+a.top,r.left+=a.left-a.marginLeft,r.right=c+a.left}}return r.left+=n,r.top+=n,r.right-=n,r.bottom-=n,r}function B(t){return t.width*t.height}function q(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=z(n,i,o,r),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map(function(t){return re({key:t},a[t],{area:B(a[t])})}).sort(function(t,e){return e.area-t.area}),u=l.filter(function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight}),c=u.length>0?u[0].key:l[0].key,h=t.split("-")[1];return c+(h?"-"+h:"")}function K(t,e,n){return W(n,A(e,n))}function U(t){var e=window.getComputedStyle(t),n=parseFloat(e.marginTop)+parseFloat(e.marginBottom),i=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function G(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function Y(t,e,n){n=n.split("-")[0];var i=U(t),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),s=o?"top":"left",a=o?"left":"top",l=o?"height":"width",u=o?"width":"height";return r[s]=e[s]+e[l]/2-i[l]/2,r[a]=n===a?e[a]-i[u]:e[G(a)],r}function X(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function J(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=X(t,function(t){return t[e]===n});return t.indexOf(i)}function Z(t,e,n){return(void 0===n?t:t.slice(0,J(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&O(n)&&(e.offsets.popper=j(e.offsets.popper),e.offsets.reference=j(e.offsets.reference),e=n(e,t))}),e}function Q(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=K(this.state,this.popper,this.reference),t.placement=q(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.offsets.popper=Y(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position="absolute",t=Z(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function $(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function tt(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length-1;i++){var r=e[i],o=r?""+r+n:t;if(void 0!==window.document.body.style[o])return o}return null}function et(){return this.state.isDestroyed=!0,$(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[tt("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function nt(t,e,n,i){var r="BODY"===t.nodeName,o=r?window:t;o.addEventListener(e,n,{passive:!0}),r||nt(_(o.parentNode),e,n,i),i.push(o)}function it(t,e,n,i){n.updateBound=i,window.addEventListener("resize",n.updateBound,{passive:!0});var r=_(t);return nt(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function rt(){this.state.eventsEnabled||(this.state=it(this.reference,this.options,this.state,this.scheduleUpdate))}function ot(t,e){return window.removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}function st(){this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=ot(this.reference,this.state))}function at(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function lt(t,e){Object.keys(e).forEach(function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&at(e[n])&&(i="px"),t.style[n]=e[n]+i})}function ut(t,e){Object.keys(e).forEach(function(n){!1!==e[n]?t.setAttribute(n,e[n]):t.removeAttribute(n)})}function ct(t){return lt(t.instance.popper,t.styles),ut(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&<(t.arrowElement,t.arrowStyles),t}function ht(t,e,n,i,r){var o=K(r,e,t),s=q(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),lt(e,{position:"absolute"}),n}function pt(t,e){var n=e.x,i=e.y,r=t.offsets.popper,o=X(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==o?o:e.gpuAcceleration,a=L(t.instance.popper),l=F(a),u={position:r.position},c={left:Math.floor(r.left),top:Math.floor(r.top),bottom:Math.floor(r.bottom),right:Math.floor(r.right)},h="bottom"===n?"top":"bottom",p="right"===i?"left":"right",f=tt("transform"),d=void 0,m=void 0;if(m="bottom"===h?-l.height+c.bottom:c.top,d="right"===p?-l.width+c.right:c.left,s&&f)u[f]="translate3d("+d+"px, "+m+"px, 0)",u[h]=0,u[p]=0,u.willChange="transform";else{var v="bottom"===h?-1:1,g="right"===p?-1:1;u[h]=m*v,u[p]=d*g,u.willChange=h+", "+p}var b={"x-placement":t.placement};return t.attributes=re({},b,t.attributes),t.styles=re({},u,t.styles),t.arrowStyles=re({},t.offsets.arrow,t.arrowStyles),t}function ft(t,e,n){var i=X(t,function(t){return t.name===e}),r=!!i&&t.some(function(t){return t.name===n&&t.enabled&&t.order<i.order});if(!r){var o="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return r}function dt(t,e){if(!ft(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],r=t.offsets,o=r.popper,s=r.reference,a=-1!==["left","right"].indexOf(i),l=a?"height":"width",u=a?"Top":"Left",c=u.toLowerCase(),h=a?"left":"top",p=a?"bottom":"right",f=U(n)[l];s[p]-f<o[c]&&(t.offsets.popper[c]-=o[c]-(s[p]-f)),s[c]+f>o[p]&&(t.offsets.popper[c]+=s[c]+f-o[p]);var d=s[c]+s[l]/2-f/2,m=k(t.instance.popper,"margin"+u).replace("px",""),v=d-j(t.offsets.popper)[c]-m;return v=Math.max(Math.min(o[l]-f,v),0),t.arrowElement=n,t.offsets.arrow={},t.offsets.arrow[c]=Math.round(v),t.offsets.arrow[h]="",t}function mt(t){return"end"===t?"start":"start"===t?"end":t}function vt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=se.indexOf(t),i=se.slice(n+1).concat(se.slice(0,n));return e?i.reverse():i}function gt(t,e){if($(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=z(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement),i=t.placement.split("-")[0],r=G(i),o=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case ae.FLIP:s=[i,r];break;case ae.CLOCKWISE:s=vt(i);break;case ae.COUNTERCLOCKWISE:s=vt(i,!0);break;default:s=e.behavior}return s.forEach(function(a,l){if(i!==a||s.length===l+1)return t;i=t.placement.split("-")[0],r=G(i);var u=t.offsets.popper,c=t.offsets.reference,h=Math.floor,p="left"===i&&h(u.right)>h(c.left)||"right"===i&&h(u.left)<h(c.right)||"top"===i&&h(u.bottom)>h(c.top)||"bottom"===i&&h(u.top)<h(c.bottom),f=h(u.left)<h(n.left),d=h(u.right)>h(n.right),m=h(u.top)<h(n.top),v=h(u.bottom)>h(n.bottom),g="left"===i&&f||"right"===i&&d||"top"===i&&m||"bottom"===i&&v,b=-1!==["top","bottom"].indexOf(i),y=!!e.flipVariations&&(b&&"start"===o&&f||b&&"end"===o&&d||!b&&"start"===o&&m||!b&&"end"===o&&v);(p||g||y)&&(t.flipped=!0,(p||g)&&(i=s[l+1]),y&&(o=mt(o)),t.placement=i+(o?"-"+o:""),t.offsets.popper=re({},t.offsets.popper,Y(t.instance.popper,t.offsets.reference,t.placement)),t=Z(t.instance.modifiers,t,"flip"))}),t}function bt(t){var e=t.offsets,n=e.popper,i=e.reference,r=t.placement.split("-")[0],o=Math.floor,s=-1!==["top","bottom"].indexOf(r),a=s?"right":"bottom",l=s?"left":"top",u=s?"width":"height";return n[a]<o(i[l])&&(t.offsets.popper[l]=o(i[l])-n[u]),n[l]>o(i[a])&&(t.offsets.popper[l]=o(i[a])),t}function yt(t,e,n,i){var r=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],s=r[2];if(!o)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return j(a)[e]/100*o}if("vh"===s||"vw"===s){return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o}return o}function wt(t,e,n,i){var r=[0,0],o=-1!==["right","left"].indexOf(i),s=t.split(/(\+|\-)/).map(function(t){return t.trim()}),a=s.indexOf(X(s,function(t){return-1!==t.search(/,|\s/)}));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return u=u.map(function(t,i){var r=(1===i?!o:o)?"height":"width",s=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)},[]).map(function(t){return yt(t,r,e,n)})}),u.forEach(function(t,e){t.forEach(function(n,i){at(n)&&(r[e]+=n*("-"===t[i-1]?-1:1))})}),r}function xt(t,e){var n=e.offset,i=t.placement,r=t.offsets,o=r.popper,s=r.reference,a=i.split("-")[0],l=void 0;return l=at(+n)?[+n,0]:wt(n,o,s,a),"left"===a?(o.top+=l[0],o.left-=l[1]):"right"===a?(o.top+=l[0],o.left+=l[1]):"top"===a?(o.left+=l[0],o.top-=l[1]):"bottom"===a&&(o.left+=l[0],o.top+=l[1]),t.popper=o,t}function St(t,e){var n=e.boundariesElement||L(t.instance.popper);t.instance.reference===n&&(n=L(n));var i=z(t.instance.popper,t.instance.reference,e.padding,n);e.boundaries=i;var r=e.priority,o=t.offsets.popper,s={primary:function(t){var n=o[t];return o[t]<i[t]&&!e.escapeWithReference&&(n=Math.max(o[t],i[t])),ie({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=o[n];return o[t]>i[t]&&!e.escapeWithReference&&(r=Math.min(o[n],i[t]-("right"===t?o.width:o.height))),ie({},n,r)}};return r.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";o=re({},o,s[e](t))}),t.offsets.popper=o,t}function Ct(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var r=t.offsets,o=r.reference,s=r.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",u=a?"width":"height",c={start:ie({},l,o[l]),end:ie({},l,o[l]+o[u]-s[u])};t.offsets.popper=re({},s,c[i])}return t}function Ot(t){if(!ft(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=X(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}function kt(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,r=i.popper,o=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return r[s?"left":"top"]=o[n]-(a?r[s?"width":"height"]:0),t.placement=G(e),t.offsets.popper=j(r),t}function Tt(t){return-(t-Vt.distance)+"px"}function _t(t){var e=t.el,n=t.popper,i=t.settings,r=i.position,o=i.popperOptions,l=i.offset,u=i.distance,c=i.flipDuration,h=f(n),p=h.tooltip,d=fe({placement:r},o||{},{modifiers:fe({},o?o.modifiers:{},{flip:fe({padding:u+5},o&&o.modifiers?o.modifiers.flip:{}),offset:fe({offset:l},o&&o.modifiers?o.modifiers.offset:{})}),onUpdate:function(){var t=p.style;t.top="",t.bottom="",t.left="",t.right="",t[b(n.getAttribute("x-placement"))]=Tt(u)}});if(window.MutationObserver){var m=n.style,v=new MutationObserver(function(){m[a("transitionDuration")]="0ms",t.popperInstance.update(),s(function(){m[a("transitionDuration")]=c+"ms"})});v.observe(n,{childList:!0,subtree:!0,characterData:!0}),t._mutationObservers.push(v)}return new ce(e,n,d)}function Lt(t){var e=t.el,n=t.popper,i=t.settings,r=i.appendTo,o=i.followCursor;r.contains(n)||(r.appendChild(n),t.popperInstance?(t.popperInstance.update(),o&&!Ft.touch||t.popperInstance.enableEventListeners()):t.popperInstance=_t(t),o&&!Ft.touch&&(e.addEventListener("mousemove",y),t.popperInstance.disableEventListeners()))}function It(t){var e=t.popper,n=t.popperInstance,i=t.settings.stickyDuration,r=function(){return e.style[a("transitionDuration")]=i+"ms"},o=function(){return e.style[a("transitionDuration")]=""};s(function t(){n&&n.scheduleUpdate(),r(),m(e)?window.requestAnimationFrame(t):o()})}function Mt(t,e){var n=zt.reduce(function(n,i){var r=t.getAttribute("data-"+i.toLowerCase())||e[i];return"false"===r&&(r=!1),"true"===r&&(r=!0),isFinite(r)&&!isNaN(parseFloat(r))&&(r=parseFloat(r)),"string"==typeof r&&"["===r.trim().charAt(0)&&(r=JSON.parse(r)),n[i]=r,n},{});return fe({},e,n)}function At(t,e,n){var i=n.position,r=n.distance,o=n.arrow,s=n.animateFill,a=n.inertia,l=n.animation,u=n.arrowSize,c=n.size,h=n.theme,p=n.html,f=n.zIndex,d=n.interactive,m=document.createElement("div");m.setAttribute("class","tippy-popper"),m.setAttribute("role","tooltip"),m.setAttribute("aria-hidden","true"),m.setAttribute("id","tippy-tooltip-"+t),m.style.zIndex=f;var v=document.createElement("div");if(v.setAttribute("class","tippy-tooltip tippy-tooltip--"+c+" leave"),v.setAttribute("data-animation",l),h.split(" ").forEach(function(t){v.classList.add(t+"-theme")}),o){var g=document.createElement("div");g.setAttribute("class","arrow-"+u),g.setAttribute("x-arrow",""),v.appendChild(g)}if(s){v.setAttribute("data-animatefill","");var y=document.createElement("div");y.setAttribute("class","leave"),y.setAttribute("x-circle",""),v.appendChild(y)}a&&v.setAttribute("data-inertia",""),d&&v.setAttribute("data-interactive","");var w=document.createElement("div");if(w.setAttribute("class","tippy-tooltip-content"),p){var x=void 0;p instanceof Element?(w.appendChild(p),x="#"+p.id||"tippy-html-template"):(w.innerHTML=document.getElementById(p.replace("#","")).innerHTML,x=p),m.classList.add("html-template"),d&&m.setAttribute("tabindex","-1"),v.setAttribute("data-template-id",x)}else w.innerHTML=e;return v.style[b(i)]=Tt(r),v.appendChild(w),m.appendChild(v),m}function Et(t,e,n,i){var r=[];return"manual"===t?r:(e.addEventListener(t,n.handleTrigger),r.push({event:t,handler:n.handleTrigger}),"mouseenter"===t&&(Ft.SUPPORTS_TOUCH&&i&&(e.addEventListener("touchstart",n.handleTrigger),r.push({event:"touchstart",handler:n.handleTrigger}),e.addEventListener("touchend",n.handleMouseleave),r.push({event:"touchend",handler:n.handleMouseleave})),e.addEventListener("mouseleave",n.handleMouseleave),r.push({event:"mouseleave",handler:n.handleMouseleave})),"focus"===t&&(e.addEventListener("blur",n.handleBlur),r.push({event:"blur",handler:n.handleBlur})),r)}function Nt(t,e,n){if(!e.getAttribute("x-placement"))return!0;var i=t.clientX,r=t.clientY,o=n.interactiveBorder,s=n.distance,a=e.getBoundingClientRect(),l=b(e.getAttribute("x-placement")),u=o+s,c={top:a.top-r>o,bottom:r-a.bottom>o,left:a.left-i>o,right:i-a.right>o};switch(l){case"top":c.top=a.top-r>u;break;case"bottom":c.bottom=r-a.bottom>u;break;case"left":c.left=a.left-i>u;break;case"right":c.right=i-a.right>u}return c.top||c.bottom||c.left||c.right}function Rt(t,e,i){var r=this,o=(i.position,i.delay),s=(i.duration,i.interactive),a=(i.interactiveBorder,i.distance,i.hideOnClick),l=i.trigger,u=i.touchHold,c=(i.touchWait,void 0),h=void 0,p=function(){clearTimeout(c),clearTimeout(h)},f=function(){if(p(),!m(e)){var t=Array.isArray(o)?o[0]:o;o?c=setTimeout(function(){return r.show(e)},t):r.show(e)}},d=function(t){return r.callbacks.wait?r.callbacks.wait.call(e,f,t):f()},v=function(){p();var t=Array.isArray(o)?o[1]:o;o?h=setTimeout(function(){return r.hide(e)},t):r.hide(e)};return{handleTrigger:function(n){var i="mouseenter"===n.type&&Ft.SUPPORTS_TOUCH&&Ft.touch;if(!i||!u){var r="click"===n.type,o="persistent"!==a;r&&m(e)&&o?v():d(n),i&&Ft.iOS()&&t.click&&t.click()}},handleMouseleave:function(r){if(!("mouseleave"===r.type&&Ft.SUPPORTS_TOUCH&&Ft.touch&&u)){if(s){var o=function r(o){var s=function(){document.body.removeEventListener("mouseleave",v),document.removeEventListener("mousemove",r),v()},a=n(o.target,Ht.TOOLTIPPED_EL),u=n(o.target,Ht.POPPER)===e,c=a===t,h=-1!==l.indexOf("click");if(a&&a!==t)return s();u||c||h||Nt(o,e,i)&&s()};return document.body.addEventListener("mouseleave",v),void document.addEventListener("mousemove",o)}v()}},handleBlur:function(t){t.relatedTarget&&!Ft.touch&&(n(t.relatedTarget,Ht.POPPER)||v())}}}function Dt(t){return t.arrow&&(t.animateFill=!1),t.appendTo&&"function"==typeof t.appendTo&&(t.appendTo=t.appendTo()),t}function Pt(t){var e=this;return t.reduce(function(t,n){var i=de,r=fe({},Dt(e.settings.performance?e.settings:Mt(n,e.settings)));"function"==typeof r.html&&(r.html=r.html(n));var o=r.html,s=r.trigger,a=r.touchHold,l=r.dynamicTitle,c=n.getAttribute("title");if(!c&&!o)return t;n.setAttribute("data-tooltipped",""),n.setAttribute("aria-describedby","tippy-tooltip-"+i),u(n);var h=At(i,c,r),p=Rt.call(e,n,h,r),d=[];s.trim().split(" ").forEach(function(t){return d=d.concat(Et(t,n,p,a))});var m=void 0;if(l&&window.MutationObserver){var v=f(h),g=v.content;m=new MutationObserver(function(){var t=n.getAttribute("title");t&&(g.innerHTML=t,u(n))}),m.observe(n,{attributes:!0})}return t.push({id:i,el:n,popper:h,settings:r,listeners:d,tippyInstance:e,_mutationObservers:[m]}),de++,t},[])}function jt(t,e){return g(t)&&(t={refObj:!0,attributes:t.attributes||{},getBoundingClientRect:t.getBoundingClientRect,clientWidth:t.clientWidth,clientHeight:t.clientHeight,setAttribute:function(e,n){t.attributes[e]=n},getAttribute:function(e){return t.attributes[e]},removeAttribute:function(e){delete t.attributes[e]},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(e){t.classList.classNames[e]=!0},remove:function(e){return t.classList.classNames[e]=!1,!0},contains:function(e){return!!t.classList.classNames[e]}}}),new me(t,e)}var Ft={};"undefined"!=typeof window&&(Ft.SUPPORTED="requestAnimationFrame"in window,Ft.SUPPORTS_TOUCH="ontouchstart"in window,Ft.touch=!1,Ft.dynamicInputDetection=!0,Ft.iOS=function(){return/iPhone|iPad|iPod/.test(navigator.userAgent)&&!window.MSStream});var Wt=[],Ht={POPPER:".tippy-popper",TOOLTIP:".tippy-tooltip",CONTENT:".tippy-tooltip-content",CIRCLE:"[x-circle]",ARROW:"[x-arrow]",TOOLTIPPED_EL:"[data-tooltipped]",CONTROLLER:"[data-tippy-controller]"},Vt={html:!1,position:"top",animation:"shift",animateFill:!0,arrow:!1,arrowSize:"regular",delay:0,trigger:"mouseenter focus",duration:350,interactive:!1,interactiveBorder:2,theme:"dark",size:"regular",distance:10,offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,flipDuration:350,sticky:!1,stickyDuration:200,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,dynamicTitle:!1,popperOptions:{}},zt=Ft.SUPPORTED&&Object.keys(Vt),Bt={};if("undefined"!=typeof Element){var qt=Element.prototype;Bt=qt.matches||qt.matchesSelector||qt.webkitMatchesSelector||qt.mozMatchesSelector||qt.msMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),n=e.length;--n>=0&&e.item(n)!==this;);return n>-1}}for(var Kt=Bt,Ut=["native code","[object MutationObserverConstructor]"],Gt="undefined"!=typeof window,Yt=["Edge","Trident","Firefox"],Xt=0,Jt=0;Jt<Yt.length;Jt+=1)if(Gt&&navigator.userAgent.indexOf(Yt[Jt])>=0){Xt=1;break}var Zt=Gt&&function(t){return Ut.some(function(e){return(t||"").toString().indexOf(e)>-1})}(window.MutationObserver),Qt=Zt?S:C,$t=void 0,te=function(){return void 0===$t&&($t=-1!==navigator.appVersion.indexOf("MSIE 10")),$t},ee=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},ne=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),ie=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},re=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},oe=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],se=oe.slice(3),ae={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},le={shift:{order:100,enabled:!0,fn:Ct},offset:{order:200,enabled:!0,fn:xt,offset:0},preventOverflow:{order:300,enabled:!0,fn:St,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:bt},arrow:{order:500,enabled:!0,fn:dt,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:gt,behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:kt},hide:{order:800,enabled:!0,fn:Ot},computeStyle:{order:850,enabled:!0,fn:pt,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:ct,onLoad:ht,gpuAcceleration:void 0}},ue={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:le},ce=function(){function t(e,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ee(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=Qt(this.update.bind(this)),this.options=re({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e.jquery?e[0]:e,this.popper=n.jquery?n[0]:n,this.options.modifiers={},Object.keys(re({},t.Defaults.modifiers,r.modifiers)).forEach(function(e){i.options.modifiers[e]=re({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return re({name:t},i.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&O(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return ne(t,[{key:"update",value:function(){return Q.call(this)}},{key:"destroy",value:function(){return et.call(this)}},{key:"enableEventListeners",value:function(){return rt.call(this)}},{key:"disableEventListeners",value:function(){return st.call(this)}}]),t}();ce.Utils=("undefined"!=typeof window?window:e).PopperUtils,ce.placements=oe,ce.Defaults=ue;var he=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},pe=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),fe=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},de=1,me=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};he(this,t),Ft.SUPPORTED&&(o(),this.state={destroyed:!1},this.selector=e,this.settings=fe({},Vt,n),(n.show||n.shown||n.hide||n.hidden)&&console.warn("Callbacks without the `on` prefix are deprecated (with the exception of `wait`). Use onShow, onShown, onHide, and onHidden instead."),this.callbacks={wait:n.wait,show:n.onShow||n.show||v,shown:n.onShown||n.shown||v,hide:n.onHide||n.hide||v,hidden:n.onHidden||n.hidden||v},this.store=Pt.call(this,w(e)),Wt.push.apply(Wt,this.store))}return pe(t,[{key:"getPopperElement",value:function(t){try{return i(this.store,function(e){return e.el===t}).popper}catch(t){console.error("[getPopperElement]: Element passed as the argument does not exist in the instance")}}},{key:"getReferenceElement",value:function(t){try{return i(this.store,function(e){return e.popper===t}).el}catch(t){console.error("[getReferenceElement]: Popper passed as the argument does not exist in the instance")}}},{key:"getReferenceData",value:function(t){return i(this.store,function(e){return e.el===t||e.popper===t})}},{key:"show",value:function(t,e){var n=this;if(!this.state.destroyed){var r=i(this.store,function(e){return e.popper===t}),o=f(t),a=o.tooltip,l=o.circle,u=o.content;if(!this.selector.refObj&&!document.body.contains(r.el))return void this.destroy(t);this.callbacks.show.call(t);var c=r.el,v=r.settings,g=(v.appendTo,v.sticky),b=v.interactive,y=v.followCursor,w=v.flipDuration,S=v.duration,C=void 0!==e?e:Array.isArray(S)?S[0]:S;d([t,a,l],0),Lt(r),t.style.visibility="visible",t.setAttribute("aria-hidden","false"),s(function(){m(t)&&(y&&!Ft.touch||(r.popperInstance.update(),d([t],w)),d([a,l],C),l&&(u.style.opacity=1),b&&c.classList.add("active"),g&&It(r),h(a,l),p([a,l],function(t){t.contains("tippy-notransition")&&t.remove("tippy-notransition"),t.remove("leave"),t.add("enter")}),x(r,C,function(){m(t)&&!r._onShownFired&&(b&&t.focus(),a.classList.add("tippy-notransition"),r._onShownFired=!0,n.callbacks.shown.call(t))}))})}}},{key:"hide",value:function(t,e){var n=this;if(!this.state.destroyed){this.callbacks.hide.call(t);var r=i(this.store,function(e){return e.popper===t}),o=f(t),s=o.tooltip,a=o.circle,l=o.content,u=r.el,h=r.settings,v=h.appendTo,g=(h.sticky,h.interactive),b=(h.followCursor,h.html),w=h.trigger,S=h.duration,C=void 0!==e?e:Array.isArray(S)?S[1]:S;r._onShownFired=!1,g&&u.classList.remove("active"),t.style.visibility="hidden",t.setAttribute("aria-hidden","true"),d([s,a,a?l:null],C),a&&(l.style.opacity=0),p([s,a],function(t){t.contains("tippy-tooltip")&&t.remove("tippy-notransition"),t.remove("enter"),t.add("leave")}),b&&-1!==w.indexOf("click")&&c(u)&&u.focus(),x(r,C,function(){!m(t)&&v.contains(t)&&"1"!==getComputedStyle(s).opacity&&(u.removeEventListener("mousemove",y),r.popperInstance.disableEventListeners(),v.removeChild(t),n.callbacks.hidden.call(t))})}}},{key:"update",value:function(t){if(!this.state.destroyed){var e=i(this.store,function(e){return e.popper===t}),n=f(t),r=n.content,o=e.el,s=e.settings.html;if(s instanceof Element)return void console.warn("Aborted: update() should not be used if `html` is a DOM element");r.innerHTML=s?document.getElementById(s.replace("#","")).innerHTML:o.getAttribute("title")||o.getAttribute("data-original-title"),s||u(o)}}},{key:"destroy",value:function(t,e){var n=this;if(!this.state.destroyed){var r=i(this.store,function(e){return e.popper===t}),o=r.el,s=r.popperInstance,a=r.listeners,u=r._mutationObservers;m(t)&&this.hide(t,0),a.forEach(function(t){return o.removeEventListener(t.event,t.handler)}),o.setAttribute("title",o.getAttribute("data-original-title")),o.removeAttribute("data-original-title"),o.removeAttribute("data-tooltipped"),o.removeAttribute("aria-describedby"),s&&s.destroy(),u.forEach(function(t){t&&t.disconnect()}),Wt.splice(l(Wt,function(e){return e.popper===t}),1),(void 0===e||e)&&(this.store=Wt.filter(function(t){return t.tippyInstance===n}))}}},{key:"destroyAll",value:function(){var t=this;if(!this.state.destroyed){var e=this.store.length;this.store.forEach(function(n,i){var r=n.popper;t.destroy(r,i===e-1)}),this.store=null,this.state.destroyed=!0}}}]),t}();return jt.Browser=Ft,jt.Defaults=Vt,jt.disableDynamicInputDetection=function(){return Ft.dynamicInputDetection=!1},jt.enableDynamicInputDetection=function(){return Ft.dynamicInputDetection=!0},jt})}).call(e,n("fRUx"))},PT4i:function(t,e,n){"use strict";var i=n("Yvsb");e.never=i.NeverObservable.create},PY9B:function(t,e,n){"use strict";var i=n("/oeL"),r=n("qbcG");n.d(e,"a",function(){return o});var o=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t}();o.decorators=[{type:i.NgModule,args:[{declarations:[r.a],exports:[r.a]}]}],o.ctorParameters=function(){return[]}},PatI:function(t,e,n){"use strict";var i=n("bKpL"),r=n("gonN");i.Observable.prototype.multicast=r.multicast},Pc3Y:function(t,e,n){"use strict";var i=n("/oeL"),r=n("pd7P"),o=n("CuDZ"),s=n("KSV9");n.d(e,"a",function(){return a});var a=function(){function t(t,e){this.i18n=t,this._calendar=e,this.navigation=r.a,this.navigate=new i.EventEmitter,this.select=new i.EventEmitter}return t.prototype.doNavigate=function(t){this.navigate.emit(t)},t.prototype.nextDisabled=function(){return this.disabled||this.maxDate&&this._calendar.getNext(this.date,"m").after(this.maxDate)},t.prototype.prevDisabled=function(){var t=this._calendar.getPrev(this.date,"m");return this.disabled||this.minDate&&t.year<=this.minDate.year&&t.month<this.minDate.month},t.prototype.selectDate=function(t){this.select.emit(t)},t}();a.decorators=[{type:i.Component,args:[{selector:"ngb-datepicker-navigation",host:{class:"d-flex justify-content-between","[class.collapsed]":"!showSelect"},styles:["\n :host {\n height: 2rem;\n line-height: 1.85rem;\n }\n :host.collapsed {\n margin-bottom: -2rem; \n }\n .ngb-dp-navigation-chevron::before {\n border-style: solid;\n border-width: 0.2em 0.2em 0 0;\n content: '';\n display: inline-block;\n height: 0.75em;\n transform: rotate(-135deg);\n -webkit-transform: rotate(-135deg);\n -ms-transform: rotate(-135deg);\n width: 0.75em;\n margin: 0 0 0 0.5rem;\n } \n .ngb-dp-navigation-chevron.right:before {\n -webkit-transform: rotate(45deg);\n -ms-transform: rotate(45deg);\n transform: rotate(45deg);\n margin: 0 0.5rem 0 0;\n }\n .btn-link {\n cursor: pointer;\n outline: 0;\n }\n .btn-link[disabled] {\n cursor: not-allowed;\n opacity: .65;\n } \n "],template:'\n <button type="button" class="btn-link" (click)="!!doNavigate(navigation.PREV)" [disabled]="prevDisabled()">\n <span class="ngb-dp-navigation-chevron"></span> \n </button>\n \n <ngb-datepicker-navigation-select *ngIf="showSelect" class="d-block" [style.width.rem]="months * 9"\n [date]="date"\n [minDate]="minDate"\n [maxDate]="maxDate"\n [disabled] = "disabled"\n (select)="selectDate($event)">\n </ngb-datepicker-navigation-select>\n \n <button type="button" class="btn-link" (click)="!!doNavigate(navigation.NEXT)" [disabled]="nextDisabled()">\n <span class="ngb-dp-navigation-chevron right"></span>\n </button>\n '}]}],a.ctorParameters=function(){return[{type:o.a},{type:s.a}]},a.propDecorators={date:[{type:i.Input}],disabled:[{type:i.Input}],maxDate:[{type:i.Input}],minDate:[{type:i.Input}],months:[{type:i.Input}],showSelect:[{type:i.Input}],showWeekNumbers:[{type:i.Input}],navigate:[{type:i.Output}],select:[{type:i.Output}]}},Pf4u:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.onErrorResumeNext.apply(void 0,t)(this)}var r=n("r6G9");e.onErrorResumeNext=i},Pic8:function(t,e,n){"use strict";var i=n("bKpL"),r=n("aCMF");i.Observable.prototype.switchMap=r.switchMap},Plqt:function(t,e,n){"use strict";var i=n("bKpL"),r=n("Tq0x");i.Observable.prototype.reduce=r.reduce},PuIS:function(t,e,n){"use strict";var i=n("/oeL"),r=n("qbdv"),o=n("QVQ8"),s=n("NmeZ");n.d(e,"a",function(){return a});var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();a.decorators=[{type:i.NgModule,args:[{declarations:[o.a],exports:[o.a],imports:[r.CommonModule]}]}],a.ctorParameters=function(){return[]}},PwNK:function(t,e,n){"use strict";function i(t){return r.audit(t)(this)}var r=n("tAjV");e.audit=i},PySC:function(t,e,n){"use strict";var i=n("/oeL"),r=n("59zy"),o=n("wM1e"),s=n("bm2B");n.d(e,"a",function(){return u});var a;!function(t){t[t.End=35]="End",t[t.Home=36]="Home",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowDown=40]="ArrowDown"}(a||(a={}));var l={provide:s.NG_VALUE_ACCESSOR,useExisting:n.i(i.forwardRef)(function(){return u}),multi:!0},u=function(){function t(t,e){this._changeDetectorRef=e,this.contexts=[],this.disabled=!1,this.hover=new i.EventEmitter,this.leave=new i.EventEmitter,this.rateChange=new i.EventEmitter(!0),this.onChange=function(t){},this.onTouched=function(){},this.max=t.max,this.readonly=t.readonly}return t.prototype.ariaValueText=function(){return this.nextRate+" out of "+this.max},t.prototype.enter=function(t){this.readonly||this.disabled||this._updateState(t),this.hover.emit(t)},t.prototype.handleBlur=function(){this.onTouched()},t.prototype.handleClick=function(t){this.update(this.resettable&&this.rate===t?0:t)},t.prototype.handleKeyDown=function(t){if(a[n.i(o.d)(t.which)])switch(t.preventDefault(),t.which){case a.ArrowDown:case a.ArrowLeft:this.update(this.rate-1);break;case a.ArrowUp:case a.ArrowRight:this.update(this.rate+1);break;case a.Home:this.update(0);break;case a.End:this.update(this.max)}},t.prototype.ngOnChanges=function(t){t.rate&&this.update(this.rate)},t.prototype.ngOnInit=function(){this.contexts=Array.from({length:this.max},function(){return{fill:0}}),this._updateState(this.rate)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.reset=function(){this.leave.emit(this.nextRate),this._updateState(this.rate)},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.update=function(t,e){void 0===e&&(e=!0);var i=n.i(o.e)(t,this.max,0);this.readonly||this.disabled||this.rate===i||(this.rate=i,this.rateChange.emit(this.rate)),e&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)},t.prototype.writeValue=function(t){this.update(t,!1),this._changeDetectorRef.markForCheck()},t.prototype._getFillValue=function(t){var e=this.nextRate-t;return e>=1?100:e<1&&e>0?Number.parseInt((100*e).toFixed(2)):0},t.prototype._updateState=function(t){var e=this;this.nextRate=t,this.contexts.forEach(function(t,n){return t.fill=e._getFillValue(n)})},t}();u.decorators=[{type:i.Component,args:[{selector:"ngb-rating",changeDetection:i.ChangeDetectionStrategy.OnPush,host:{class:"d-inline-flex",tabindex:"0",role:"slider","aria-valuemin":"0","[attr.aria-valuemax]":"max","[attr.aria-valuenow]":"nextRate","[attr.aria-valuetext]":"ariaValueText()","[attr.aria-disabled]":"readonly ? true : null","(blur)":"handleBlur()","(keydown)":"handleKeyDown($event)","(mouseleave)":"reset()"},template:'\n <ng-template #t let-fill="fill">{{ fill === 100 ? \'★\' : \'☆\' }}</ng-template>\n <ng-template ngFor [ngForOf]="contexts" let-index="index">\n <span class="sr-only">({{ index < nextRate ? \'*\' : \' \' }})</span>\n <span (mouseenter)="enter(index + 1)" (click)="handleClick(index + 1)" [style.cursor]="readonly || disabled ? \'default\' : \'pointer\'">\n <ng-template [ngTemplateOutlet]="starTemplate || t" [ngOutletContext]="contexts[index]"></ng-template>\n </span>\n </ng-template>\n ',providers:[l]}]}],u.ctorParameters=function(){return[{type:r.a},{type:i.ChangeDetectorRef}]},u.propDecorators={max:[{type:i.Input}],rate:[{type:i.Input}],readonly:[{type:i.Input}],resettable:[{type:i.Input}],starTemplate:[{type:i.Input},{type:i.ContentChild,args:[i.TemplateRef]}],hover:[{type:i.Output}],leave:[{type:i.Output}],rateChange:[{type:i.Output}]}},QGDq:function(t,e,n){"use strict";var i=n("/oeL");n.d(e,"a",function(){return r});var r=function(){function t(){this.placement="top",this.triggers="hover"}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},QVQ8:function(t,e,n){"use strict";var i=n("/oeL"),r=n("wM1e"),o=n("NmeZ");n.d(e,"a",function(){return s});var s=function(){function t(t){this.pageCount=0,this.pages=[],this.page=0,this.pageChange=new i.EventEmitter(!0),this.disabled=t.disabled,this.boundaryLinks=t.boundaryLinks,this.directionLinks=t.directionLinks,this.ellipses=t.ellipses,this.maxSize=t.maxSize,this.pageSize=t.pageSize,this.rotate=t.rotate,this.size=t.size}return t.prototype.hasPrevious=function(){return this.page>1},t.prototype.hasNext=function(){return this.page<this.pageCount},t.prototype.selectPage=function(t){this._updatePages(t)},t.prototype.ngOnChanges=function(t){this._updatePages(this.page)},t.prototype.isEllipsis=function(t){return-1===t},t.prototype._applyEllipses=function(t,e){this.ellipses&&(t>0&&(t>1&&this.pages.unshift(-1),this.pages.unshift(1)),e<this.pageCount&&(e<this.pageCount-1&&this.pages.push(-1),this.pages.push(this.pageCount)))},t.prototype._applyRotation=function(){var t=0,e=this.pageCount,n=Math.floor(this.maxSize/2),i=this.maxSize%2==0?n-1:n;return this.page<=n?e=this.maxSize:this.pageCount-this.page<n?t=this.pageCount-this.maxSize:(t=this.page-n-1,e=this.page+i),[t,e]},t.prototype._applyPagination=function(){var t=Math.ceil(this.page/this.maxSize)-1,e=t*this.maxSize;return[e,e+this.maxSize]},t.prototype._setPageInRange=function(t){var e=this.page;this.page=n.i(r.e)(t,this.pageCount,1),this.page!==e&&this.pageChange.emit(this.page)},t.prototype._updatePages=function(t){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),n.i(r.a)(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(var e=1;e<=this.pageCount;e++)this.pages.push(e);if(this._setPageInRange(t),this.maxSize>0&&this.pageCount>this.maxSize){var i=0,o=this.pageCount;this.rotate?(s=this._applyRotation(),i=s[0],o=s[1]):(a=this._applyPagination(),i=a[0],o=a[1]),this.pages=this.pages.slice(i,o),this._applyEllipses(i,o)}var s,a},t}();s.decorators=[{type:i.Component,args:[{selector:"ngb-pagination",changeDetection:i.ChangeDetectionStrategy.OnPush,host:{role:"navigation"},template:'\n <ul [class]="\'pagination\' + (size ? \' pagination-\' + size : \'\')">\n <li *ngIf="boundaryLinks" class="page-item"\n [class.disabled]="!hasPrevious() || disabled">\n <a aria-label="First" class="page-link" href (click)="!!selectPage(1)" [attr.tabindex]="(hasPrevious() ? null : \'-1\')">\n <span aria-hidden="true">««</span>\n </a>\n </li>\n\n <li *ngIf="directionLinks" class="page-item"\n [class.disabled]="!hasPrevious() || disabled">\n <a aria-label="Previous" class="page-link" href (click)="!!selectPage(page-1)" [attr.tabindex]="(hasPrevious() ? null : \'-1\')">\n <span aria-hidden="true">«</span>\n </a>\n </li>\n <li *ngFor="let pageNumber of pages" class="page-item" [class.active]="pageNumber === page"\n [class.disabled]="isEllipsis(pageNumber) || disabled">\n <a *ngIf="isEllipsis(pageNumber)" class="page-link">...</a>\n <a *ngIf="!isEllipsis(pageNumber)" class="page-link" href (click)="!!selectPage(pageNumber)">\n {{pageNumber}}\n <span *ngIf="pageNumber === page" class="sr-only">(current)</span>\n </a>\n </li>\n <li *ngIf="directionLinks" class="page-item" [class.disabled]="!hasNext() || disabled">\n <a aria-label="Next" class="page-link" href (click)="!!selectPage(page+1)" [attr.tabindex]="(hasNext() ? null : \'-1\')">\n <span aria-hidden="true">»</span>\n </a>\n </li>\n\n <li *ngIf="boundaryLinks" class="page-item" [class.disabled]="!hasNext() || disabled">\n <a aria-label="Last" class="page-link" href (click)="!!selectPage(pageCount)" [attr.tabindex]="(hasNext() ? null : \'-1\')">\n <span aria-hidden="true">»»</span>\n </a>\n </li>\n </ul>\n '}]}],s.ctorParameters=function(){return[{type:o.a}]},s.propDecorators={disabled:[{type:i.Input}],boundaryLinks:[{type:i.Input}],directionLinks:[{type:i.Input}],ellipses:[{type:i.Input}],rotate:[{type:i.Input}],collectionSize:[{type:i.Input}],maxSize:[{type:i.Input}],page:[{type:i.Input}],pageSize:[{type:i.Input}],pageChange:[{type:i.Output}],size:[{type:i.Input}]}},QgC4:function(t,e,n){"use strict";var i=n("yIff");e.webSocket=i.WebSocketSubject.create},QsbA:function(t,e,n){"use strict";function i(t){return r.windowWhen(t)(this)}var r=n("kqkQ");e.windowWhen=i},Qv0T:function(t,e,n){"use strict";function i(t){var e=t.obj,n=t.keys,i=t.length,r=t.index,o=t.subscriber;if(r===i)return void o.complete();var s=n[r];o.next([s,e[s]]),t.index=r+1,this.schedule(t)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("bKpL"),s=function(t){function e(e,n){t.call(this),this.obj=e,this.scheduler=n,this.keys=Object.keys(e)}return r(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e=this,n=e.keys,r=e.scheduler,o=n.length;if(r)return r.schedule(i,0,{obj:this.obj,keys:n,length:o,index:0,subscriber:t});for(var s=0;s<o;s++){var a=n[s];t.next([a,this.obj[a]])}t.complete()},e}(o.Observable);e.PairsObservable=s},Qyse:function(t,e,n){"use strict";var i=n("/oeL");n.d(e,"a",function(){return r});var r=function(){function t(){this.up=!1,this.autoClose=!0}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},R0J0:function(t,e,n){"use strict";var i=n("bKpL"),r=n("Kt+M");i.Observable.prototype.concat=r.concat},"R3/v":function(t,e,n){"use strict";function i(t){var e=r.async,n=null,i=Number.POSITIVE_INFINITY;return s.isScheduler(arguments[3])&&(e=arguments[3]),s.isScheduler(arguments[2])?e=arguments[2]:o.isNumeric(arguments[2])&&(i=arguments[2]),s.isScheduler(arguments[1])?e=arguments[1]:o.isNumeric(arguments[1])&&(n=arguments[1]),a.windowTime(t,n,i,e)(this)}var r=n("IhB/"),o=n("EsGe"),s=n("MicL"),a=n("dffx");e.windowTime=i},R61s:function(t,e,n){"use strict";var i=n("zijX"),r=n("wQte");e.Map=i.root.Map||function(){return r.MapPolyfill}()},RNRn:function(t,e,n){"use strict";var i=n("bKpL"),r=n("R3/v");i.Observable.prototype.windowTime=r.windowTime},RnhI:function(t,e,n){"use strict";function i(t){return o["ɵvid"](0,[(t()(),o["ɵted"](0,null,["",""]))],null,function(t,e){t(e,0,0,e.component.date.day)})}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,0,null,null,1,"div",[["ngbDatepickerDayView",""]],[[2,"bg-primary",null],[2,"text-white",null],[2,"text-muted",null],[2,"outside",null],[2,"btn-secondary",null]],null,null,i,l)),o["ɵdid"](1,49152,null,0,s.a,[],null,null)],null,function(t,e){t(e,0,0,o["ɵnov"](e,1).selected,o["ɵnov"](e,1).selected,o["ɵnov"](e,1).isMuted(),o["ɵnov"](e,1).isMuted(),!o["ɵnov"](e,1).disabled)})}var o=n("/oeL"),s=n("+oJC");n.d(e,"b",function(){return l}),e.a=i;var a=["[_nghost-%COMP%] {\n text-align: center;\n width: 2rem;\n height: 2rem;\n line-height: 2rem; \n border-radius: 0.25rem;\n }\n .outside[_nghost-%COMP%] {\n opacity: 0.5;\n }"],l=o["ɵcrt"]({encapsulation:0,styles:a,data:{}});o["ɵccf"]("[ngbDatepickerDayView]",s.a,r,{currentMonth:"currentMonth",date:"date",disabled:"disabled",selected:"selected"},{},[])},Rol4:function(t,e,n){"use strict";function i(t,e,n){return void 0===e&&(e=a.async),void 0===n&&(n=l.defaultThrottleConfig),function(i){return i.lift(new u(t,e,n.leading,n.trailing))}}function r(t){t.subscriber.clearThrottle()}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("T14+"),a=n("IhB/"),l=n("DrEP");e.throttleTime=i;var u=function(){function t(t,e,n,i){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=i}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),c=function(t){function e(e,n,i,r,o){t.call(this,e),this.duration=n,this.scheduler=i,this.leading=r,this.trailing=o,this._hasTrailingValue=!1,this._trailingValue=null}return o(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(r,this.duration,{subscriber:this})),this.leading&&this.destination.next(t))},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(s.Subscriber)},RpuY:function(t,e,n){"use strict";var i=n("bKpL"),r=n("cPhF");i.Observable.prototype.mergeMap=r.mergeMap,i.Observable.prototype.flatMap=r.mergeMap},RvTY:function(t,e,n){"use strict";function i(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),r.mergeMapTo(t,e,n)(this)}var r=n("j8LY");e.mergeMapTo=i},S08L:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("bKpL"),o=n("ktfo"),s=n("yW9Z"),a=function(t){function e(e,n,i){t.call(this),this.condition=e,this.thenSource=n,this.elseSource=i}return i(e,t),e.create=function(t,n,i){return new e(t,n,i)},e.prototype._subscribe=function(t){var e=this,n=e.condition,i=e.thenSource,r=e.elseSource;return new l(t,n,i,r)},e}(r.Observable);e.IfObservable=a;var l=function(t){function e(e,n,i,r){t.call(this,e),this.condition=n,this.thenSource=i,this.elseSource=r,this.tryIf()}return i(e,t),e.prototype.tryIf=function(){var t,e=this,n=e.condition,i=e.thenSource,r=e.elseSource;try{t=n();var s=t?i:r;s?this.add(o.subscribeToResult(this,s)):this._complete()}catch(t){this._error(t)}},e}(s.OuterSubscriber)},S7im:function(t,e,n){"use strict";var i=n("bKpL"),r=n("HTfL");i.Observable.throw=r._throw},SBOU:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){return e.lift.call(r.apply(void 0,[e].concat(t)))}}function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t[t.length-1];return"function"==typeof n&&t.pop(),new s.ArrayObservable(t).lift(new p(n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("wZOE"),a=n("NSJx"),l=n("T14+"),u=n("yW9Z"),c=n("ktfo"),h=n("2B7B");e.zip=i,e.zipStatic=r;var p=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.project))},t}();e.ZipOperator=p;var f=function(t){function e(e,n,i){void 0===i&&(i=Object.create(null)),t.call(this,e),this.iterators=[],this.active=0,this.project="function"==typeof n?n:null,this.values=i}return o(e,t),e.prototype._next=function(t){var e=this.iterators;a.isArray(t)?e.push(new m(t)):"function"==typeof t[h.iterator]?e.push(new d(t[h.iterator]())):e.push(new v(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;if(0===e)return void this.destination.complete();this.active=e;for(var n=0;n<e;n++){var i=t[n];i.stillUnsubscribed?this.add(i.subscribe(i,n)):this.active--}},e.prototype.notifyInactive=function(){0===--this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,n=this.destination,i=0;i<e;i++){var r=t[i];if("function"==typeof r.hasValue&&!r.hasValue())return}for(var o=!1,s=[],i=0;i<e;i++){var r=t[i],a=r.next();if(r.hasCompleted()&&(o=!0),a.done)return void n.complete();s.push(a.value)}this.project?this._tryProject(s):n.next(s),o&&n.complete()},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}(l.Subscriber);e.ZipSubscriber=f;var d=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return t&&t.done},t}(),m=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[h.iterator]=function(){return this},t.prototype.next=function(t){var e=this.index++,n=this.array;return e<this.length?{value:n[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),v=function(t){function e(e,n,i){t.call(this,e),this.parent=n,this.observable=i,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return o(e,t),e.prototype[h.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,n,i,r){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return c.subscribeToResult(this,this.observable,this,e)},e}(u.OuterSubscriber)},SGrN:function(t,e,n){"use strict";var i=n("KSV9"),r=n("/oeL"),o=n("wM1e");n.d(e,"a",function(){return a});var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.getDaysPerWeek=function(){return 7},e.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},e.prototype.getWeeksPerMonth=function(){return 6},e.prototype.isValid=function(t){return t&&n.i(o.a)(t.year)&&n.i(o.a)(t.month)&&n.i(o.a)(t.day)&&!isNaN(this.toGregorian(t).getTime())},e.prototype.setDay=function(t,e){e=+e;var n=this.getDaysInIslamicMonth(t.month,t.year);if(e<=0)for(;e<=0;)t=this.setMonth(t,t.month-1),n=this.getDaysInIslamicMonth(t.month,t.year),e+=n;else if(e>n)for(;e>n;)e-=n,t=this.setMonth(t,t.month+1),n=this.getDaysInIslamicMonth(t.month,t.year);return t.day=e,t},e.prototype.setMonth=function(t,e){return e=+e,t.year=t.year+Math.floor((e-1)/12),t.month=Math.floor(((e-1)%12+12)%12)+1,t},e.prototype.setYear=function(t,e){return t.year=+e,t},e.prototype._isIslamicLeapYear=function(t){return(14+11*t)%30<11},e.prototype._getMonthStart=function(t,e){return Math.ceil(29.5*e)+354*(t-1)+Math.floor((3+11*t)/30)},e.prototype._getYearStart=function(t){return 354*(t-1)+Math.floor((3+11*t)/30)},e}(i.a);a.decorators=[{type:r.Injectable}],a.ctorParameters=function(){return[]}},SJ56:function(t,e,n){"use strict";function i(){return r.dematerialize()(this)}var r=n("pguX");e.dematerialize=i},SKRq:function(t,e,n){"use strict";var i=n("bKpL"),r=n("fdVa");i.Observable.prototype.mergeScan=r.mergeScan},ScG9:function(t,e,n){"use strict";var i=n("bKpL"),r=n("a9bY");i.Observable.prototype.max=r.max},"StS+":function(t,e,n){"use strict";var i=n("bKpL"),r=n("lc3y");i.Observable.prototype.isEmpty=r.isEmpty},T1tZ:function(t,e,n){"use strict";function i(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function r(t){var e=t.err;t.subject.error(e)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("bKpL"),a=n("RdI5"),l=n("XRvs"),u=n("l6Wf"),c=function(t){function e(e,n,i,r,o){t.call(this),this.callbackFunc=e,this.selector=n,this.args=i,this.context=r,this.scheduler=o}return o(e,t),e.create=function(t,n,i){return void 0===n&&(n=void 0),function(){for(var r=[],o=0;o<arguments.length;o++)r[o-0]=arguments[o];return new e(t,n,r,this,i)}},e.prototype._subscribe=function(t){var n=this.callbackFunc,i=this.args,r=this.scheduler,o=this.subject;if(r)return r.schedule(e.dispatch,0,{source:this,subscriber:t,context:this.context});if(!o){o=this.subject=new u.AsyncSubject;var s=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var i=t.source,r=i.selector,o=i.subject;if(r){var s=a.tryCatch(r).apply(this,e);s===l.errorObject?o.error(l.errorObject.e):(o.next(s),o.complete())}else o.next(e.length<=1?e[0]:e),o.complete()};s.source=this;a.tryCatch(n).apply(this.context,i.concat(s))===l.errorObject&&o.error(l.errorObject.e)}return o.subscribe(t)},e.dispatch=function(t){var e=this,n=t.source,o=t.subscriber,s=t.context,c=n.callbackFunc,h=n.args,p=n.scheduler,f=n.subject;if(!f){f=n.subject=new u.AsyncSubject;var d=function t(){for(var n=[],o=0;o<arguments.length;o++)n[o-0]=arguments[o];var s=t.source,u=s.selector,c=s.subject;if(u){var h=a.tryCatch(u).apply(this,n);h===l.errorObject?e.add(p.schedule(r,0,{err:l.errorObject.e,subject:c})):e.add(p.schedule(i,0,{value:h,subject:c}))}else{var f=n.length<=1?n[0]:n;e.add(p.schedule(i,0,{value:f,subject:c}))}};d.source=n;a.tryCatch(c).apply(s,h.concat(d))===l.errorObject&&f.error(l.errorObject.e)}e.add(f.subscribe(o))},e}(s.Observable);e.BoundCallbackObservable=c},T5Q1:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("bKpL"),o=n("ktfo"),s=n("yW9Z"),a=function(t){function e(e,n){t.call(this),this.resourceFactory=e,this.observableFactory=n}return i(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e,n=this,i=n.resourceFactory,r=n.observableFactory;try{return e=i(),new l(t,e,r)}catch(e){t.error(e)}},e}(r.Observable);e.UsingObservable=a;var l=function(t){function e(e,n,i){t.call(this,e),this.resource=n,this.observableFactory=i,e.add(n),this.tryUse()}return i(e,t),e.prototype.tryUse=function(){try{var t=this.observableFactory.call(this,this.resource);t&&this.add(o.subscribeToResult(this,t))}catch(t){this._error(t)}},e}(s.OuterSubscriber)},TQK7:function(t,e,n){"use strict";function i(t){return function(e){return 0===t?new a.EmptyObservable:e.lift(new l(t))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+"),s=n("uT+d"),a=n("fcnB");e.take=i;var l=function(){function t(t){if(this.total=t,this.total<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return r(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(o.Subscriber)},TfLl:function(t,e,n){"use strict";function i(t){return d["ɵvid"](0,[(t()(),d["ɵeld"](0,0,null,null,0,"div",[["class","ngb-dp-weekday"]],null,null,null,null,null))],null,null)}function r(t){return d["ɵvid"](0,[(t()(),d["ɵeld"](0,0,null,null,1,"div",[["class","ngb-dp-weekday small text-center text-info font-italic"]],null,null,null,null,null)),(t()(),d["ɵted"](1,null,["\n ","\n "]))],null,function(t,e){t(e,1,0,e.component.i18n.getWeekdayShortName(e.context.$implicit))})}function o(t){return d["ɵvid"](0,[(t()(),d["ɵeld"](0,0,null,null,7,"div",[["class","ngb-dp-week d-flex"]],null,null,null,null,null)),(t()(),d["ɵted"](-1,null,["\n "])),(t()(),d["ɵand"](16777216,null,null,1,null,i)),d["ɵdid"](3,16384,null,0,m.NgIf,[d.ViewContainerRef,d.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),d["ɵted"](-1,null,["\n "])),(t()(),d["ɵand"](16777216,null,null,1,null,r)),d["ɵdid"](6,802816,null,0,m.NgForOf,[d.ViewContainerRef,d.TemplateRef,d.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),d["ɵted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,3,0,n.showWeekNumbers),t(e,6,0,n.month.weekdays)},null)}function s(t){return d["ɵvid"](0,[(t()(),d["ɵeld"](0,0,null,null,1,"div",[["class","ngb-dp-week-number small text-center font-italic text-muted"]],null,null,null,null,null)),(t()(),d["ɵted"](1,null,["",""]))],null,function(t,e){t(e,1,0,e.parent.parent.context.$implicit.number)})}function a(t){return d["ɵvid"](0,[(t()(),d["ɵted"](-1,null,["\n "]))],null,null)}function l(t){return d["ɵvid"](0,[(t()(),d["ɵted"](-1,null,["\n "])),(t()(),d["ɵand"](16777216,null,null,3,null,a)),d["ɵdid"](2,540672,null,0,m.NgTemplateOutlet,[d.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"],ngOutletContext:[1,"ngOutletContext"]},null),d["ɵpod"](3,{year:0,month:1,day:2}),d["ɵpod"](4,{date:0,currentMonth:1,disabled:2,selected:3}),(t()(),d["ɵted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,2,0,n.dayTemplate,t(e,4,0,t(e,3,0,e.parent.context.$implicit.date.year,e.parent.context.$implicit.date.month,e.parent.context.$implicit.date.day),n.month.number,n.isDisabled(e.parent.context.$implicit),n.isSelected(e.parent.context.$implicit.date)))},null)}function u(t){return d["ɵvid"](0,[(t()(),d["ɵeld"](0,0,null,null,4,"div",[["class","ngb-dp-day"]],[[2,"disabled",null],[2,"hidden",null]],[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.doSelect(t.context.$implicit)&&i}return i},null,null)),(t()(),d["ɵted"](-1,null,["\n "])),(t()(),d["ɵand"](16777216,null,null,1,null,l)),d["ɵdid"](3,16384,null,0,m.NgIf,[d.ViewContainerRef,d.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),d["ɵted"](-1,null,["\n "]))],function(t,e){t(e,3,0,!e.component.isHidden(e.context.$implicit))},function(t,e){var n=e.component;t(e,0,0,n.isDisabled(e.context.$implicit),n.isHidden(e.context.$implicit))})}function c(t){return d["ɵvid"](0,[(t()(),d["ɵeld"](0,0,null,null,7,"div",[["class","ngb-dp-week d-flex"]],null,null,null,null,null)),(t()(),d["ɵted"](-1,null,["\n "])),(t()(),d["ɵand"](16777216,null,null,1,null,s)),d["ɵdid"](3,16384,null,0,m.NgIf,[d.ViewContainerRef,d.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),d["ɵted"](-1,null,["\n "])),(t()(),d["ɵand"](16777216,null,null,1,null,u)),d["ɵdid"](6,802816,null,0,m.NgForOf,[d.ViewContainerRef,d.TemplateRef,d.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),d["ɵted"](-1,null,["\n "]))],function(t,e){t(e,3,0,e.component.showWeekNumbers),t(e,6,0,e.parent.context.$implicit.days)},null)}function h(t){return d["ɵvid"](0,[(t()(),d["ɵted"](-1,null,["\n "])),(t()(),d["ɵand"](16777216,null,null,1,null,c)),d["ɵdid"](2,16384,null,0,m.NgIf,[d.ViewContainerRef,d.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),d["ɵted"](-1,null,["\n "]))],function(t,e){t(e,2,0,!e.component.isCollapsed(e.context.$implicit))},null)}function p(t){return d["ɵvid"](0,[(t()(),d["ɵted"](-1,null,["\n "])),(t()(),d["ɵand"](16777216,null,null,1,null,o)),d["ɵdid"](2,16384,null,0,m.NgIf,[d.ViewContainerRef,d.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),d["ɵted"](-1,null,["\n "])),(t()(),d["ɵand"](16777216,null,null,1,null,h)),d["ɵdid"](5,802816,null,0,m.NgForOf,[d.ViewContainerRef,d.TemplateRef,d.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),d["ɵted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,2,0,n.showWeekdays),t(e,5,0,n.month.weeks)},null)}function f(t){return d["ɵvid"](0,[(t()(),d["ɵeld"](0,0,null,null,1,"ngb-datepicker-month-view",[["class","d-block"]],null,null,null,p,y)),d["ɵdid"](1,49152,null,0,v.a,[g.a],null,null)],null,null)}var d=n("/oeL"),m=n("qbdv"),v=n("Av3o"),g=n("CuDZ");n.d(e,"b",function(){return y}),e.a=p;var b=[".ngb-dp-weekday[_ngcontent-%COMP%], .ngb-dp-week-number[_ngcontent-%COMP%] {\n line-height: 2rem;\n }\n .ngb-dp-day[_ngcontent-%COMP%], .ngb-dp-weekday[_ngcontent-%COMP%], .ngb-dp-week-number[_ngcontent-%COMP%] {\n width: 2rem;\n height: 2rem; \n }\n .ngb-dp-day[_ngcontent-%COMP%] {\n cursor: pointer;\n }\n .ngb-dp-day.disabled[_ngcontent-%COMP%], .ngb-dp-day.hidden[_ngcontent-%COMP%] {\n cursor: default;\n }"],y=d["ɵcrt"]({encapsulation:0,styles:b,data:{}});d["ɵccf"]("ngb-datepicker-month-view",v.a,f,{dayTemplate:"dayTemplate",disabled:"disabled",month:"month",outsideDays:"outsideDays",selectedDate:"selectedDate",showWeekdays:"showWeekdays",showWeekNumbers:"showWeekNumbers"},{select:"select"},[])},TnjP:function(t,e,n){"use strict";var i=n("bKpL"),r=n("XOyC");i.Observable.prototype.delayWhen=r.delayWhen},TupL:function(t,e,n){"use strict";function i(t,e){return function(n){return n.lift(new a(t,e))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("yW9Z"),s=n("ktfo");e.switchMap=i;var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.project,this.resultSelector))},t}(),l=function(t){function e(e,n,i){t.call(this,e),this.project=n,this.resultSelector=i,this.index=0}return r(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var i=this.innerSubscription;i&&i.unsubscribe(),this.add(this.innerSubscription=s.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,i,r){this.resultSelector?this._tryNotifyNext(t,e,n,i):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,n,i){var r;try{r=this.resultSelector(t,e,n,i)}catch(t){return void this.destination.error(t)}this.destination.next(r)},e}(o.OuterSubscriber)},Txt5:function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=r.async),o.auditTime(t,e)(this)}var r=n("IhB/"),o=n("GTdq");e.auditTime=i},U0Tu:function(t,e,n){"use strict";var i=n("/oeL"),r=n("mQQt"),o=n("7zUS");n.d(e,"a",function(){return s});var s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}();s.decorators=[{type:i.NgModule,args:[{declarations:[r.a,r.b],exports:[r.a],entryComponents:[r.b]}]}],s.ctorParameters=function(){return[]}},"UD+B":function(t,e,n){"use strict";var i=n("bKpL"),r=n("wDL6");i.Observable.prototype.repeat=r.repeat},UHtL:function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new a(t))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("yW9Z"),s=n("ktfo");e.skipUntil=i;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.notifier))},t}(),l=function(t){function e(e,n){t.call(this,e),this.hasValue=!1,this.isInnerStopped=!1,this.add(s.subscribeToResult(this,n))}return r(e,t),e.prototype._next=function(e){this.hasValue&&t.prototype._next.call(this,e)},e.prototype._complete=function(){this.isInnerStopped?t.prototype._complete.call(this):this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,i,r){this.hasValue=!0},e.prototype.notifyComplete=function(){this.isInnerStopped=!0,this.isStopped&&t.prototype._complete.call(this)},e}(o.OuterSubscriber)},UVHa:function(t,e,n){"use strict";var i=n("bKpL"),r=n("f7nC");i.Observable.prototype.bufferWhen=r.bufferWhen},UbPm:function(t,e,n){"use strict";var i=n("bKpL"),r=n("H9QY");i.Observable.prototype.timeInterval=r.timeInterval},Uvlg:function(t,e,n){"use strict";var i=n("bKpL"),r=n("LBqD");i.Observable.prototype.pairwise=r.pairwise},V672:function(t,e,n){"use strict";var i=this&&this.__decorate||function(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},r=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},o=this&&this.__param||function(t,e){return function(n,i){e(n,i,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=n("/oeL"),a=n("3WPo"),l=function(){function t(){this.container=null}return t}();e.DialogServiceConfig=l;var u=function(){function t(t,e,n,i){this.resolver=t,this.applicationRef=e,this.injector=n,this.container=i&&i.container}return t.prototype.addDialog=function(t,e,n){return this.dialogHolderComponent||(this.dialogHolderComponent=this.createDialogHolder()),this.dialogHolderComponent.addDialog(t,e,n)},t.prototype.removeDialog=function(t){this.dialogHolderComponent&&this.dialogHolderComponent.removeDialog(t)},t.prototype.removeAll=function(){this.dialogHolderComponent.clear()},t.prototype.createDialogHolder=function(){var t=this,e=this.resolver.resolveComponentFactory(a.DialogHolderComponent),n=e.create(this.injector),i=n.hostView.rootNodes[0];if(!this.container){var r=this.applicationRef._rootComponents[0];this.container=r.hostView.rootNodes[0]}return this.applicationRef.attachView(n.hostView),n.onDestroy(function(){t.applicationRef.detachView(n.hostView)}),this.container.appendChild(i),n.instance},t}();u=i([s.Injectable(),o(3,s.Optional()),r("design:paramtypes",[s.ComponentFactoryResolver,s.ApplicationRef,s.Injector,l])],u),e.DialogService=u},V6Dl:function(t,e,n){"use strict";var i=n("/oeL");n.d(e,"a",function(){return r});var r=function(){function t(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size="medium"}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},VML3:function(t,e,n){"use strict";var i=n("bKpL"),r=n("K5Xx");i.Observable.prototype.publish=r.publish},VXtB:function(t,e,n){"use strict";var i=n("bKpL"),r=n("ytB7");i.Observable.prototype.sampleTime=r.sampleTime},Vnhz:function(t,e,n){"use strict";function i(t){return c["ɵvid"](0,[(t()(),c["ɵand"](0,null,null,0))],null,null)}function r(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,0,null,null,7,"li",[["class","nav-item"]],null,null,null,null,null)),(t()(),c["ɵted"](-1,null,["\n "])),(t()(),c["ɵeld"](2,0,null,null,4,"a",[["class","nav-link"],["href",""],["role","tab"]],[[8,"id",0],[2,"active",null],[2,"disabled",null],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0]],[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!=!!r.select(t.context.$implicit.id)&&i}return i},null,null)),(t()(),c["ɵted"](3,null,["\n ",""])),(t()(),c["ɵand"](16777216,null,null,1,null,i)),c["ɵdid"](5,540672,null,0,h.NgTemplateOutlet,[c.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),c["ɵted"](-1,null,["\n "])),(t()(),c["ɵted"](-1,null,["\n "]))],function(t,e){t(e,5,0,null==e.context.$implicit.titleTpl?null:e.context.$implicit.titleTpl.templateRef)},function(t,e){var n=e.component;t(e,2,0,e.context.$implicit.id,e.context.$implicit.id===n.activeId,e.context.$implicit.disabled,e.context.$implicit.disabled?"-1":void 0,n.destroyOnHide&&e.context.$implicit.id!==n.activeId?null:e.context.$implicit.id+"-panel",e.context.$implicit.id===n.activeId,e.context.$implicit.disabled),t(e,3,0,e.context.$implicit.title)})}function o(t){return c["ɵvid"](0,[(t()(),c["ɵand"](0,null,null,0))],null,null)}function s(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,0,null,null,4,"div",[["role","tabpanel"]],[[8,"className",0],[1,"aria-labelledby",0],[8,"id",0],[1,"aria-expanded",0]],null,null,null,null)),(t()(),c["ɵted"](-1,null,["\n "])),(t()(),c["ɵand"](16777216,null,null,1,null,o)),c["ɵdid"](3,540672,null,0,h.NgTemplateOutlet,[c.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),c["ɵted"](-1,null,["\n "]))],function(t,e){t(e,3,0,e.parent.context.$implicit.contentTpl.templateRef)},function(t,e){var n=e.component;t(e,0,0,c["ɵinlineInterpolate"](1,"tab-pane ",e.parent.context.$implicit.id===n.activeId?"active":null,""),e.parent.context.$implicit.id,c["ɵinlineInterpolate"](1,"",e.parent.context.$implicit.id,"-panel"),e.parent.context.$implicit.id===n.activeId)})}function a(t){return c["ɵvid"](0,[(t()(),c["ɵted"](-1,null,["\n "])),(t()(),c["ɵand"](16777216,null,null,1,null,s)),c["ɵdid"](2,16384,null,0,h.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),c["ɵted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,2,0,!n.destroyOnHide||e.context.$implicit.id===n.activeId)},null)}function l(t){return c["ɵvid"](0,[(t()(),c["ɵted"](-1,null,["\n "])),(t()(),c["ɵeld"](1,0,null,null,4,"ul",[["role","tablist"]],[[8,"className",0]],null,null,null,null)),(t()(),c["ɵted"](-1,null,["\n "])),(t()(),c["ɵand"](16777216,null,null,1,null,r)),c["ɵdid"](4,802816,null,0,h.NgForOf,[c.ViewContainerRef,c.TemplateRef,c.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),c["ɵted"](-1,null,["\n "])),(t()(),c["ɵted"](-1,null,["\n "])),(t()(),c["ɵeld"](7,0,null,null,4,"div",[["class","tab-content"]],null,null,null,null,null)),(t()(),c["ɵted"](-1,null,["\n "])),(t()(),c["ɵand"](16777216,null,null,1,null,a)),c["ɵdid"](10,802816,null,0,h.NgForOf,[c.ViewContainerRef,c.TemplateRef,c.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),c["ɵted"](-1,null,["\n "])),(t()(),c["ɵted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,4,0,n.tabs),t(e,10,0,n.tabs)},function(t,e){var n=e.component;t(e,1,0,"nav nav-"+n.type+" justify-content-"+n.justify)})}function u(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,0,null,null,2,"ngb-tabset",[],null,null,null,l,m)),c["ɵdid"](1,2146304,null,1,p.a,[f.a],null,null),c["ɵqud"](603979776,1,{tabs:1})],null,null)}var c=n("/oeL"),h=n("qbdv"),p=n("Hjei"),f=n("+E40");n.d(e,"b",function(){return m}),e.a=l;var d=[],m=c["ɵcrt"]({encapsulation:2,styles:d,data:{}});c["ɵccf"]("ngb-tabset",p.a,u,{activeId:"activeId",destroyOnHide:"destroyOnHide",justify:"justify",type:"type"},{tabChange:"tabChange"},[])},VsKd:function(t,e,n){"use strict";var i=n("bKpL"),r=n("23I1");i.Observable.defer=r.defer},W5L8:function(t,e,n){"use strict";var i=n("bKpL"),r=n("7PW3");i.Observable.using=r.using},WAO4:function(t,e,n){"use strict";function i(t,e,n){return void 0===n&&(n=r.async),o.timeoutWith(t,e,n)(this)}var r=n("IhB/"),o=n("/h+r");e.timeoutWith=i},WC4F:function(t,e,n){!function(t){t(n("oiK7"))}(function(t){function e(t,e,n,i){this.cm=t,this.node=e,this.options=n,this.height=i,this.cleared=!1}function n(t){var e=t.getWrapperElement(),n=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,i=parseInt(n.height),r=t.state.panels={setHeight:e.style.height,heightLeft:i,panels:0,wrapper:document.createElement("div")};e.parentNode.insertBefore(r.wrapper,e);var o=t.hasFocus();r.wrapper.appendChild(e),o&&t.focus(),t._setSize=t.setSize,null!=i&&(t.setSize=function(e,n){if(null==n)return this._setSize(e,n);if(r.setHeight=n,"number"!=typeof n){var o=/^(\d+\.?\d*)px$/.exec(n);o?n=Number(o[1]):(r.wrapper.style.height=n,n=r.wrapper.offsetHeight,r.wrapper.style.height="")}t._setSize(e,r.heightLeft+=n-i),i=n})}function i(t){var e=t.state.panels;t.state.panels=null;var n=t.getWrapperElement();e.wrapper.parentNode.replaceChild(n,e.wrapper),n.style.height=e.setHeight,t.setSize=t._setSize,t.setSize()}function r(t,e){for(var n=e.nextSibling;n;n=n.nextSibling)if(n==t.getWrapperElement())return!0;return!1}t.defineExtension("addPanel",function(t,i){i=i||{},this.state.panels||n(this);var o=this.state.panels,s=o.wrapper,a=this.getWrapperElement();i.after instanceof e&&!i.after.cleared?s.insertBefore(t,i.before.node.nextSibling):i.before instanceof e&&!i.before.cleared?s.insertBefore(t,i.before.node):i.replace instanceof e&&!i.replace.cleared?(s.insertBefore(t,i.replace.node),i.replace.clear()):"bottom"==i.position?s.appendChild(t):"before-bottom"==i.position?s.insertBefore(t,a.nextSibling):"after-top"==i.position?s.insertBefore(t,a):s.insertBefore(t,s.firstChild);var l=i&&i.height||t.offsetHeight;return this._setSize(null,o.heightLeft-=l),o.panels++,i.stable&&r(this,t)&&this.scrollTo(null,this.getScrollInfo().top+l),new e(this,t,i,l)}),e.prototype.clear=function(){if(!this.cleared){this.cleared=!0;var t=this.cm.state.panels;this.cm._setSize(null,t.heightLeft+=this.height),this.options.stable&&r(this.cm,this.node)&&this.cm.scrollTo(null,this.cm.getScrollInfo().top-this.height),t.wrapper.removeChild(this.node),0==--t.panels&&i(this.cm)}},e.prototype.changed=function(t){var e=null==t?this.node.offsetHeight:t,n=this.cm.state.panels;this.cm._setSize(null,n.heightLeft-=e-this.height),this.height=e}})},WmO6:function(t,e,n){"use strict";function i(t,e){return r.partition(t,e)(this)}var r=n("hfga");e.partition=i},Wv1e:function(t,e,n){"use strict";var i=n("/oeL");n.d(e,"a",function(){return r});var r=function(){function t(){this.max=100,this.animated=!1,this.striped=!1,this.showValue=!1}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},Wxra:function(t,e,n){"use strict";function i(t,e,n){return function(i){return i.lift(r(t,e,n))}}function r(t,e,n){var i,r,s=0,a=!1,l=!1;return function(u){s++,i&&!a||(a=!1,i=new o.ReplaySubject(t,e,n),r=u.subscribe({next:function(t){i.next(t)},error:function(t){a=!0,i.error(t)},complete:function(){l=!0,i.complete()}}));var c=i.subscribe(this);return function(){s--,c.unsubscribe(),r&&0===s&&l&&r.unsubscribe()}}}var o=n("0imh");e.shareReplay=i},XG4q:function(t,e,n){"use strict";function i(){return function(t){return t.lift(new a)}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+"),s=n("Z5ED");e.ignoreElements=i;var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype._next=function(t){s.noop()},e}(o.Subscriber)},XL2q:function(t,e,n){"use strict";var i=n("bKpL"),r=n("7JOC");i.Observable.from=r.from},XNum:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("xFbG"),o=function(t){function e(e,n){t.call(this)}return i(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(r.Subscription);e.Action=o},XOyC:function(t,e,n){"use strict";function i(t,e){return r.delayWhen(t,e)(this)}var r=n("aeUV");e.delayWhen=i},XR5H:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rlar"),o=n("xFbG"),s=n("Xga8"),a=n("p2y2"),l=function(t){function e(e,n){t.call(this),this.messages=e,this.subscriptions=[],this.scheduler=n}return i(e,t),e.prototype._subscribe=function(e){var n=this,i=n.logSubscribedFrame();return e.add(new o.Subscription(function(){n.logUnsubscribedFrame(i)})),t.prototype._subscribe.call(this,e)},e.prototype.setup=function(){for(var t=this,e=t.messages.length,n=0;n<e;n++)!function(){var e=t.messages[n];t.scheduler.schedule(function(){e.notification.observe(t)},e.frame)}()},e}(r.Subject);e.HotObservable=l,a.applyMixins(l,[s.SubscriptionLoggable])},XR71:function(t,e,n){"use strict";var i=n("bKpL"),r=n("AHF9");i.Observable.prototype.observeOn=r.observeOn},XWpj:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){return 1===t.length&&r.isArray(t[0])&&(t=t[0]),e.lift.call(o.race.apply(void 0,[e].concat(t)))}}var r=n("NSJx"),o=n("YofN");e.race=i},Xa8F:function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=0),r.windowCount(t,e)(this)}var r=n("GeBq");e.windowCount=i},Xga8:function(t,e,n){"use strict";var i=n("OXmC"),r=function(){function t(){this.subscriptions=[]}return t.prototype.logSubscribedFrame=function(){return this.subscriptions.push(new i.SubscriptionLog(this.scheduler.now())),this.subscriptions.length-1},t.prototype.logUnsubscribedFrame=function(t){var e=this.subscriptions,n=e[t];e[t]=new i.SubscriptionLog(n.subscribedFrame,this.scheduler.now())},t}();e.SubscriptionLoggable=r},Xtvq:function(t,e,n){"use strict";var i=n("bKpL"),r=n("zGUx");i.Observable.fromEvent=r.fromEvent},"Y+l6":function(t,e,n){"use strict";function i(){return r.toArray()(this)}var r=n("Y4uv");e.toArray=i},Y4uv:function(t,e,n){"use strict";function i(t,e,n){return t.push(e),t}function r(){return o.reduce(i,[])}var o=n("JwCl");e.toArray=r},YFUQ:function(t,e,n){"use strict";var i=n("bKpL"),r=n("BJqU");i.Observable.prototype.throttleTime=r.throttleTime},"Yj/5":function(t,e,n){"use strict";var i=n("Fq81");e.fromEventPattern=i.FromEventPatternObservable.create},YofN:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];if(1===t.length){if(!o.isArray(t[0]))return t[0];t=t[0]}return new s.ArrayObservable(t).lift(new u)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("NSJx"),s=n("wZOE"),a=n("yW9Z"),l=n("ktfo");e.race=i;var u=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new c(t))},t}();e.RaceOperator=u;var c=function(t){function e(e){t.call(this,e),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}return r(e,t),e.prototype._next=function(t){this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var n=0;n<e&&!this.hasFirst;n++){var i=t[n],r=l.subscribeToResult(this,i,i,n);this.subscriptions&&this.subscriptions.push(r),this.add(r)}this.observables=null}},e.prototype.notifyNext=function(t,e,n,i,r){if(!this.hasFirst){this.hasFirst=!0;for(var o=0;o<this.subscriptions.length;o++)if(o!==n){var s=this.subscriptions[o];s.unsubscribe(),this.remove(s)}this.subscriptions=null}this.destination.next(e)},e}(a.OuterSubscriber);e.RaceSubscriber=c},Yvsb:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("bKpL"),o=n("Z5ED"),s=function(t){function e(){t.call(this)}return i(e,t),e.create=function(){return new e},e.prototype._subscribe=function(t){o.noop()},e}(r.Observable);e.NeverObservable=s},Z2Sm:function(t,e,n){"use strict";var i=n("bKpL"),r=n("3N4h");i.Observable.prototype.window=r.window},ZNYO:function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new a(t))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("yW9Z"),s=n("ktfo");e.sample=i;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new l(t),i=e.subscribe(n);return i.add(s.subscribeToResult(n,this.notifier)),i},t}(),l=function(t){function e(){t.apply(this,arguments),this.hasValue=!1}return r(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,n,i,r){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(o.OuterSubscriber)},ZQKz:function(t,e,n){"use strict";var i=n("bKpL"),r=n("1eQ7");i.Observable.prototype.first=r.first},ZQVD:function(t,e,n){"use strict";function i(){return r.ignoreElements()(this)}var r=n("XG4q");e.ignoreElements=i},ZXBV:function(t,e,n){"use strict";var i=n("bKpL"),r=n("Yj/5");i.Observable.fromEventPattern=r.fromEventPattern},Zfg9:function(t,e,n){"use strict";function i(t){return r.skipLast(t)(this)}var r=n("EmkH");e.skipLast=i},"Zz+K":function(t,e,n){"use strict";var i=n("/oeL"),r=n("qbdv"),o=n("Oery"),s=n("5FV4");n.d(e,"a",function(){return l});var a=[o.a,o.b,o.c,o.d],l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();l.decorators=[{type:i.NgModule,args:[{declarations:a,exports:a,imports:[r.CommonModule]}]}],l.ctorParameters=function(){return[]}},a9bY:function(t,e,n){"use strict";function i(t){return r.max(t)(this)}var r=n("jjPq");e.max=i},aCMF:function(t,e,n){"use strict";function i(t,e){return r.switchMap(t,e)(this)}var r=n("TupL");e.switchMap=i},aL6N:function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new s(t))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+");e.skipWhile=i;var s=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate))},t}(),a=function(t){function e(e,n){t.call(this,e),this.predicate=n,this.skipping=!0,this.index=0}return r(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(o.Subscriber)},aeUV:function(t,e,n){"use strict";function i(t,e){return e?function(n){return new h(n,e).lift(new u(t))}:function(e){return e.lift(new u(t))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+"),s=n("bKpL"),a=n("yW9Z"),l=n("ktfo");e.delayWhen=i;var u=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.delayDurationSelector))},t}(),c=function(t){function e(e,n){t.call(this,e),this.delayDurationSelector=n,this.completed=!1,this.delayNotifierSubscriptions=[],this.values=[]}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(t),this.removeSubscription(r),this.tryComplete()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(t){try{var e=this.delayDurationSelector(t);e&&this.tryDelay(e,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t),n=null;return-1!==e&&(n=this.values[e],this.delayNotifierSubscriptions.splice(e,1),this.values.splice(e,1)),n},e.prototype.tryDelay=function(t,e){var n=l.subscribeToResult(this,t,e);n&&!n.closed&&(this.add(n),this.delayNotifierSubscriptions.push(n)),this.values.push(e)},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(a.OuterSubscriber),h=function(t){function e(e,n){t.call(this),this.source=e,this.subscriptionDelay=n}return r(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new p(t,this.source))},e}(s.Observable),p=function(t){function e(e,n){t.call(this),this.parent=e,this.source=n,this.sourceSubscribed=!1}return r(e,t),e.prototype._next=function(t){this.subscribeToSource()},e.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},e.prototype._complete=function(){this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(o.Subscriber)},afTc:function(t,e,n){"use strict";var i=n("bKpL"),r=n("OdUO");i.Observable.prototype.elementAt=r.elementAt},amjc:function(t,e,n){"use strict";var i=n("bKpL"),r=n("yQ6o");i.Observable.bindCallback=r.bindCallback},asHm:function(t,e,n){"use strict";var i=n("bKpL"),r=n("OADz");i.Observable.prototype.withLatestFrom=r.withLatestFrom},azLz:function(t,e,n){"use strict";var i=n("bKpL"),r=n("CH/r");i.Observable.prototype.debounceTime=r.debounceTime},bAfU:function(t,e,n){"use strict";var i=n("/oeL"),r=n("bm2B"),o=n("GaSD"),s=n("4Q/O"),a=n("lA7/"),l=n("75Hr"),u=n("KSV9"),c=n("/6Tg");n.d(e,"a",function(){return f});var h={provide:r.NG_VALUE_ACCESSOR,useExisting:n.i(i.forwardRef)(function(){return f}),multi:!0},p={provide:r.NG_VALIDATORS,useExisting:n.i(i.forwardRef)(function(){return f}),multi:!0},f=function(){function t(t,e,r,o,s,a,u,c){var h=this;this._parserFormatter=t,this._elRef=e,this._vcRef=r,this._renderer=o,this._cfr=s,this._service=u,this._calendar=c,this._cRef=null,this.navigate=new i.EventEmitter,this._onChange=function(t){},this._onTouched=function(){},this._validatorChange=function(){},this._zoneSubscription=a.onStable.subscribe(function(){h._cRef&&n.i(l.a)(h._elRef.nativeElement,h._cRef.location.nativeElement,"bottom-left")})}return t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.registerOnValidatorChange=function(t){this._validatorChange=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elRef.nativeElement,"disabled",t),this.isOpen()&&this._cRef.instance.setDisabledState(t)},t.prototype.validate=function(t){var e=t.value;return null===e||void 0===e?null:this._calendar.isValid(e)?this.minDate&&o.a.from(e).before(o.a.from(this.minDate))?{ngbDate:{requiredBefore:this.minDate}}:this.maxDate&&o.a.from(e).after(o.a.from(this.maxDate))?{ngbDate:{requiredAfter:this.maxDate}}:void 0:{ngbDate:{invalid:t.value}}},t.prototype.writeValue=function(t){var e=t?new o.a(t.year,t.month,t.day):null;this._model=this._calendar.isValid(t)?e:null,this._writeModelValue(this._model)},t.prototype.manualDateChange=function(t){this._model=this._service.toValidDate(this._parserFormatter.parse(t),null),this._onChange(this._model?{year:this._model.year,month:this._model.month,day:this._model.day}:t),this._writeModelValue(this._model)},t.prototype.isOpen=function(){return!!this._cRef},t.prototype.open=function(){var t=this;if(!this.isOpen()){var e=this._cfr.resolveComponentFactory(s.a);this._cRef=this._vcRef.createComponent(e),this._applyPopupStyling(this._cRef.location.nativeElement),this._cRef.instance.writeValue(this._model),this._applyDatepickerInputs(this._cRef.instance),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.registerOnChange(function(e){t.writeValue(e),t._onChange(e),t.close()})}},t.prototype.close=function(){this.isOpen()&&(this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null)},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype.navigateTo=function(t){this.isOpen()&&this._cRef.instance.navigateTo(t)},t.prototype.onBlur=function(){this._onTouched()},t.prototype.ngOnChanges=function(t){(t.minDate||t.maxDate)&&this._validatorChange()},t.prototype.ngOnDestroy=function(){this.close(),this._zoneSubscription.unsubscribe()},t.prototype._applyDatepickerInputs=function(t){var e=this;["dayTemplate","displayMonths","firstDayOfWeek","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekdays","showWeekNumbers"].forEach(function(n){void 0!==e[n]&&(t[n]=e[n])}),t.startDate=this.startDate||this._model},t.prototype._applyPopupStyling=function(t){this._renderer.addClass(t,"dropdown-menu"),this._renderer.setStyle(t,"padding","0")},t.prototype._subscribeForDatepickerOutputs=function(t){var e=this;t.navigate.subscribe(function(t){return e.navigate.emit(t)})},t.prototype._writeModelValue=function(t){this._renderer.setProperty(this._elRef.nativeElement,"value",this._parserFormatter.format(t)),this.isOpen()&&(this._cRef.instance.writeValue(t),this._onTouched())},t}();f.decorators=[{type:i.Directive,args:[{selector:"input[ngbDatepicker]",exportAs:"ngbDatepicker",host:{"(change)":"manualDateChange($event.target.value)","(keyup.esc)":"close()","(blur)":"onBlur()"},providers:[h,p,c.a]}]}],f.ctorParameters=function(){return[{type:a.a},{type:i.ElementRef},{type:i.ViewContainerRef},{type:i.Renderer2},{type:i.ComponentFactoryResolver},{type:i.NgZone},{type:c.a},{type:u.a}]},f.propDecorators={dayTemplate:[{type:i.Input}],displayMonths:[{type:i.Input}],firstDayOfWeek:[{type:i.Input}],markDisabled:[{type:i.Input}],minDate:[{type:i.Input}],maxDate:[{type:i.Input}],navigation:[{type:i.Input}],outsideDays:[{type:i.Input}],showWeekdays:[{type:i.Input}],showWeekNumbers:[{type:i.Input}],startDate:[{type:i.Input}],navigate:[{type:i.Output}]}},bLt9:function(t,e,n){"use strict";function i(t,e){return function(n){return n.lift(new h(t,e))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("rlar"),s=n("xFbG"),a=n("RdI5"),l=n("XRvs"),u=n("yW9Z"),c=n("ktfo");e.windowToggle=i;var h=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.openings,this.closingSelector))},t}(),p=function(t){function e(e,n,i){t.call(this,e),this.openings=n,this.closingSelector=i,this.contexts=[],this.add(this.openSubscription=c.subscribeToResult(this,n,n))}return r(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,i=0;i<n;i++)e[i].window.next(t)},e.prototype._error=function(e){var n=this.contexts;if(this.contexts=null,n)for(var i=n.length,r=-1;++r<i;){var o=n[r];o.window.error(e),o.subscription.unsubscribe()}t.prototype._error.call(this,e)},e.prototype._complete=function(){var e=this.contexts;if(this.contexts=null,e)for(var n=e.length,i=-1;++i<n;){var r=e[i];r.window.complete(),r.subscription.unsubscribe()}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.contexts;if(this.contexts=null,t)for(var e=t.length,n=-1;++n<e;){var i=t[n];i.window.unsubscribe(),i.subscription.unsubscribe()}},e.prototype.notifyNext=function(t,e,n,i,r){if(t===this.openings){var u=this.closingSelector,h=a.tryCatch(u)(e);if(h===l.errorObject)return this.error(l.errorObject.e);var p=new o.Subject,f=new s.Subscription,d={window:p,subscription:f};this.contexts.push(d);var m=c.subscribeToResult(this,h,d);m.closed?this.closeWindow(this.contexts.length-1):(m.context=d,f.add(m)),this.destination.next(p)}else this.closeWindow(this.contexts.indexOf(t))},e.prototype.notifyError=function(t){this.error(t)},e.prototype.notifyComplete=function(t){t!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(t.context))},e.prototype.closeWindow=function(t){if(-1!==t){var e=this.contexts,n=e[t],i=n.window,r=n.subscription;e.splice(t,1),i.complete(),r.unsubscribe()}},e}(u.OuterSubscriber)},bN7U:function(t,e,n){"use strict";var i=n("bKpL"),r=n("fxBd");i.Observable.prototype.takeLast=r.takeLast},bjDG:function(t,e,n){"use strict";var i=n("NZPJ");e.generate=i.GenerateObservable.create},bprQ:function(t,e,n){"use strict";var i=n("bKpL"),r=n("9mYp");i.Observable.onErrorResumeNext=r.onErrorResumeNext},buGu:function(t,e,n){"use strict";function i(t){return void 0===t&&(t=null),r.defaultIfEmpty(t)(this)}var r=n("PbxL");e.defaultIfEmpty=i},c0Tg:function(t,e,n){"use strict";var i=n("/oeL"),r=n("wM1e");n.d(e,"a",function(){return o});var o=function(){function t(){this.activeIdx=0,this.focusFirst=!0,this.formatter=r.d,this.selectEvent=new i.EventEmitter,this.activeChangeEvent=new i.EventEmitter}return t.prototype.getActive=function(){return this.results[this.activeIdx]},t.prototype.markActive=function(t){this.activeIdx=t,this._activeChanged()},t.prototype.next=function(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()},t.prototype.prev=function(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()},t.prototype.select=function(t){this.selectEvent.emit(t)},t.prototype.ngOnInit=function(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()},t.prototype._activeChanged=function(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)},t}();o.decorators=[{type:i.Component,args:[{selector:"ngb-typeahead-window",exportAs:"ngbTypeaheadWindow",host:{class:"dropdown-menu",style:"display: block",role:"listbox","[id]":"id"},template:'\n <ng-template #rt let-result="result" let-term="term" let-formatter="formatter">\n <ngb-highlight [result]="formatter(result)" [term]="term"></ngb-highlight>\n </ng-template>\n <ng-template ngFor [ngForOf]="results" let-result let-idx="index">\n <button type="button" class="dropdown-item" role="option"\n [id]="id + \'-\' + idx"\n [class.active]="idx === activeIdx"\n (mouseenter)="markActive(idx)"\n (click)="select(result)">\n <ng-template [ngTemplateOutlet]="resultTemplate || rt"\n [ngOutletContext]="{result: result, term: term, formatter: formatter}"></ng-template>\n </button>\n </ng-template>\n '}]}],o.ctorParameters=function(){return[]},o.propDecorators={id:[{type:i.Input}],focusFirst:[{type:i.Input}],results:[{type:i.Input}],term:[{type:i.Input}],formatter:[{type:i.Input}],resultTemplate:[{type:i.Input}],selectEvent:[{type:i.Output,args:["select"]}],activeChangeEvent:[{type:i.Output,args:["activeChange"]}]}},c2EU:function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=r.defaultThrottleConfig),r.throttle(t,e)(this)}var r=n("DrEP");e.throttle=i},cviY:function(t,e,n){"use strict";function i(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,0,null,null,3,"option",[],null,null,null,null,null)),a["ɵdid"](1,147456,null,0,l.NgSelectOption,[a.ElementRef,a.Renderer2,[8,null]],{value:[0,"value"]},null),a["ɵdid"](2,147456,null,0,l["ɵq"],[a.ElementRef,a.Renderer2,[8,null]],{value:[0,"value"]},null),(t()(),a["ɵted"](3,null,["",""]))],function(t,e){t(e,1,0,e.context.$implicit),t(e,2,0,e.context.$implicit)},function(t,e){t(e,3,0,e.component.i18n.getMonthShortName(e.context.$implicit))})}function r(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,0,null,null,3,"option",[],null,null,null,null,null)),a["ɵdid"](1,147456,null,0,l.NgSelectOption,[a.ElementRef,a.Renderer2,[8,null]],{value:[0,"value"]},null),a["ɵdid"](2,147456,null,0,l["ɵq"],[a.ElementRef,a.Renderer2,[8,null]],{value:[0,"value"]},null),(t()(),a["ɵted"](3,null,["",""]))],function(t,e){t(e,1,0,e.context.$implicit),t(e,2,0,e.context.$implicit)},function(t,e){t(e,3,0,e.context.$implicit)})}function o(t){return a["ɵvid"](0,[(t()(),a["ɵted"](-1,null,["\n "])),(t()(),a["ɵeld"](1,0,null,null,4,"select",[["class","custom-select d-inline-block"]],[[8,"disabled",0],[8,"value",0]],[[null,"change"]],function(t,e,n){var i=!0,r=t.component;if("change"===e){i=!1!==r.changeMonth(n.target.value)&&i}return i},null,null)),(t()(),a["ɵted"](-1,null,["\n "])),(t()(),a["ɵand"](16777216,null,null,1,null,i)),a["ɵdid"](4,802816,null,0,c.NgForOf,[a.ViewContainerRef,a.TemplateRef,a.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),a["ɵted"](-1,null,["\n "])),(t()(),a["ɵeld"](6,0,null,null,4,"select",[["class","custom-select d-inline-block"]],[[8,"disabled",0],[8,"value",0]],[[null,"change"]],function(t,e,n){var i=!0,r=t.component;if("change"===e){i=!1!==r.changeYear(n.target.value)&&i}return i},null,null)),(t()(),a["ɵted"](-1,null,["\n "])),(t()(),a["ɵand"](16777216,null,null,1,null,r)),a["ɵdid"](9,802816,null,0,c.NgForOf,[a.ViewContainerRef,a.TemplateRef,a.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),a["ɵted"](-1,null,["\n "])),(t()(),a["ɵted"](-1,null,[" \n "]))],function(t,e){var n=e.component;t(e,4,0,n.months),t(e,9,0,n.years)},function(t,e){var n=e.component;t(e,1,0,n.disabled,null==n.date?null:n.date.month),t(e,6,0,n.disabled,null==n.date?null:n.date.year)})}function s(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,0,null,null,1,"ngb-datepicker-navigation-select",[],null,null,null,o,d)),a["ɵdid"](1,573440,null,0,u.a,[h.a,p.a],null,null)],null,null)}var a=n("/oeL"),l=n("bm2B"),u=n("JNkN"),c=n("qbdv"),h=n("CuDZ"),p=n("KSV9");n.d(e,"b",function(){return d}),e.a=o;var f=["select[_ngcontent-%COMP%] {\n \n padding: 0.25rem 0.5rem;\n font-size: 0.875rem; \n line-height: 1.25;\n \n height: inherit;\n width: 50%;\n }"],d=a["ɵcrt"]({encapsulation:0,styles:f,data:{}});a["ɵccf"]("ngb-datepicker-navigation-select",u.a,s,{date:"date",disabled:"disabled",maxDate:"maxDate",minDate:"minDate"},{select:"select"},[])},"cyM/":function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new s(t))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+");e.skip=i;var s=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.total))},t}(),a=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return r(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(o.Subscriber)},d3kC:function(t,e,n){"use strict";var i=n("bKpL"),r=n("bjDG");i.Observable.generate=r.generate},dN2u:function(t,e,n){"use strict";var i=n("/oeL"),r=n("KRwK");n.d(e,"a",function(){return o});var o=function(){function t(t,e,n){this._moduleCFR=t,this._injector=e,this._modalStack=n}return t.prototype.open=function(t,e){return void 0===e&&(e={}),this._modalStack.open(this._moduleCFR,this._injector,t,e)},t}();o.decorators=[{type:i.Injectable}],o.ctorParameters=function(){return[{type:i.ComponentFactoryResolver},{type:i.Injector},{type:r.a}]}},dffx:function(t,e,n){"use strict";function i(t){var e=u.async,n=null,i=Number.POSITIVE_INFINITY;return p.isScheduler(arguments[3])&&(e=arguments[3]),p.isScheduler(arguments[2])?e=arguments[2]:h.isNumeric(arguments[2])&&(i=arguments[2]),p.isScheduler(arguments[1])?e=arguments[1]:h.isNumeric(arguments[1])&&(n=arguments[1]),function(r){return r.lift(new f(t,n,i,e))}}function r(t){var e=t.subscriber,n=t.windowTimeSpan,i=t.window;i&&e.closeWindow(i),t.window=e.openWindow(),this.schedule(t,n)}function o(t){var e=t.windowTimeSpan,n=t.subscriber,i=t.scheduler,r=t.windowCreationInterval,o=n.openWindow(),a=this,l={action:a,subscription:null},u={subscriber:n,window:o,context:l};l.subscription=i.schedule(s,e,u),a.add(l.subscription),a.schedule(t,r)}function s(t){var e=t.subscriber,n=t.window,i=t.context;i&&i.action&&i.subscription&&i.action.remove(i.subscription),e.closeWindow(n)}var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=n("rlar"),u=n("IhB/"),c=n("T14+"),h=n("EsGe"),p=n("MicL");e.windowTime=i;var f=function(){function t(t,e,n,i){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=n,this.scheduler=i}return t.prototype.call=function(t,e){return e.subscribe(new m(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),d=function(t){function e(){t.apply(this,arguments),this._numberOfNextedValues=0}return a(e,t),e.prototype.next=function(e){this._numberOfNextedValues++,t.prototype.next.call(this,e)},Object.defineProperty(e.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),e}(l.Subject),m=function(t){function e(e,n,i,a,l){t.call(this,e),this.destination=e,this.windowTimeSpan=n,this.windowCreationInterval=i,this.maxWindowSize=a,this.scheduler=l,this.windows=[];var u=this.openWindow();if(null!==i&&i>=0){var c={subscriber:this,window:u,context:null},h={windowTimeSpan:n,windowCreationInterval:i,subscriber:this,scheduler:l};this.add(l.schedule(s,n,c)),this.add(l.schedule(o,i,h))}else{var p={subscriber:this,window:u,windowTimeSpan:n};this.add(l.schedule(r,n,p))}}return a(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,i=0;i<n;i++){var r=e[i];r.closed||(r.next(t),r.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(r))}},e.prototype._error=function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new d;return this.windows.push(t),this.destination.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(c.Subscriber)},dgXD:function(t,e,n){"use strict";var i=n("bKpL"),r=n("7dLC");i.Observable.prototype.race=r.race},"dh/p":function(t,e,n){"use strict";var i=n("CPp0"),r=n("bKpL"),o=(n.n(r),n("5FRs")),s=n("6akk"),a=n("5v8a"),l=(n.n(a),n("xpf9"));n.n(l);n.d(e,"a",function(){return u});var u=function(){function t(t,e){this.http=t,this.authService=e}return t.prototype.getArchivos=function(t){var e=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new i.m;n.set("cedula",t);var r=new i.g({headers:e,search:n});return this.http.get(o.a+"/servicios/archivo",r).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.getArchivosCompartidosAlumno=function(t){var e=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new i.m;n.set("cedula",t),n.set("compartidos","true");var r=new i.g({headers:e,search:n});return this.http.get(o.a+"/servicios/archivo",r).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.crearArchivo=function(t){var e=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new i.g({headers:e});return this.http.post(o.a+"/servicios/archivo",t,n).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.editarArchivo=function(t,e){var n=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),r=new i.g({headers:n});return this.http.put(o.a+"/servicios/archivo/"+t,e,r).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.eliminarArchivo=function(t){var e=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new i.g({headers:e});return this.http.delete(o.a+"/servicios/archivo/"+t,n).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.getCopiaArchivoCompartidoGrupo=function(t,e){var n=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),r=new i.m;r.set("cedula",t);var s=new i.g({headers:n,search:r});return this.http.get(o.a+"/servicios/archivo/compartido/"+e,s).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.compartirArchivoGrupo=function(t,e){var n=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),r=new i.g({headers:n}),s={id:e};return this.http.post(o.a+"/servicios/grupo/"+t.liceoId+"/"+t.anio+"/"+t.grado+"/"+t.grupo+"/archivo",s,r).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.calificarArchivo=function(t,e){var n=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),r=new i.g({headers:n});return this.http.post(o.a+"/servicios/archivo/"+t+"/evaluacion",e,r).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.getGrupos=function(t){var e=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new i.m;n.set("cedula",t);var r=new i.g({headers:e,search:n});return this.http.get(o.a+"/servicios/grupo",r).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.handleError=function(t){var e=t.message?t.message:t.status?t.status+" - "+t.statusText:"Server error";return console.error(e),r.Observable.throw(e)},t.ctorParameters=function(){return[{type:i.i},{type:s.a}]},t}()},dtBE:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){var n=t[t.length-1];l.isScheduler(n)?t.pop():n=null;var i=t.length;return 1===i?a.concat(new o.ScalarObservable(t[0],n),e):i>1?a.concat(new r.ArrayObservable(t,n),e):a.concat(new s.EmptyObservable(n),e)}}var r=n("wZOE"),o=n("aOKN"),s=n("fcnB"),a=n("7kbP"),l=n("MicL");e.startWith=i},duFl:function(t,e,n){"use strict";function i(t){var e=arguments.length,n=l.async;c.isScheduler(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var i=null;e>=2&&(i=arguments[1]);var r=Number.POSITIVE_INFINITY;return e>=3&&(r=arguments[2]),function(e){return e.lift(new h(t,i,r,n))}}function r(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function o(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,i=t.subscriber,r=t.scheduler,o=i.openContext(),a=this;i.closed||(i.add(o.closeAction=r.schedule(s,n,{subscriber:i,context:o})),a.schedule(t,e))}function s(t){var e=t.subscriber,n=t.context;e.closeContext(n)}var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=n("IhB/"),u=n("T14+"),c=n("MicL");e.bufferTime=i;var h=function(){function t(t,e,n,i){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=i}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),p=function(){function t(){this.buffer=[]}return t}(),f=function(t){function e(e,n,i,a,l){t.call(this,e),this.bufferTimeSpan=n,this.bufferCreationInterval=i,this.maxBufferSize=a,this.scheduler=l,this.contexts=[];var u=this.openContext();if(this.timespanOnly=null==i||i<0,this.timespanOnly){var c={subscriber:this,context:u,bufferTimeSpan:n};this.add(u.closeAction=l.schedule(r,n,c))}else{var h={subscriber:this,context:u},p={bufferTimeSpan:n,bufferCreationInterval:i,subscriber:this,scheduler:l};this.add(u.closeAction=l.schedule(s,n,h)),this.add(l.schedule(o,i,p))}}return a(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,i=n.length,r=0;r<i;r++){var o=n[r],s=o.buffer;s.push(t),s.length==this.maxBufferSize&&(e=o)}e&&this.onBufferFull(e)},e.prototype._error=function(e){this.contexts.length=0,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this,n=e.contexts,i=e.destination;n.length>0;){var r=n.shift();i.next(r.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan,i={subscriber:this,context:t,bufferTimeSpan:n};this.add(t.closeAction=this.scheduler.schedule(r,n,i))}},e.prototype.openContext=function(){var t=new p;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(u.Subscriber)},dxfK:function(t,e,n){"use strict";function i(t,e){return r.distinctUntilKeyChanged(t,e)(this)}var r=n("HBVP");e.distinctUntilKeyChanged=i},dy5W:function(t,e,n){"use strict";var i=n("bKpL"),r=n("WSkQ");i.Observable.prototype.last=r.last},dyFf:function(t,e,n){"use strict";var i=n("bKpL"),r=n("PT4i");i.Observable.never=r.never},e7Zl:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("bKpL"),o=function(t){function e(e,n,i){t.call(this),this.start=e,this._count=n,this.scheduler=i}return i(e,t),e.create=function(t,n,i){return void 0===t&&(t=0),void 0===n&&(n=0),new e(t,n,i)},e.dispatch=function(t){var e=t.start,n=t.index,i=t.count,r=t.subscriber;if(n>=i)return void r.complete();r.next(e),r.closed||(t.index=n+1,t.start=e+1,this.schedule(t))},e.prototype._subscribe=function(t){var n=0,i=this.start,r=this._count,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{index:n,count:r,start:i,subscriber:t});for(;;){if(n++>=r){t.complete();break}if(t.next(i++),t.closed)break}},e}(r.Observable);e.RangeObservable=o},eqpX:function(t,e,n){"use strict";var i=n("bKpL"),r=n("rDIt");i.Observable.prototype.do=r._do,i.Observable.prototype._do=r._do},etEa:function(t,e,n){"use strict";function i(t,e){return r.find(t,e)(this)}var r=n("0dhf");e.find=i},etpI:function(t,e,n){"use strict";var i=function(){function t(){this.values={}}return t.prototype.delete=function(t){return this.values[t]=null,!0},t.prototype.set=function(t,e){return this.values[t]=e,this},t.prototype.get=function(t){return this.values[t]},t.prototype.forEach=function(t,e){var n=this.values;for(var i in n)n.hasOwnProperty(i)&&null!==n[i]&&t.call(e,n[i],i)},t.prototype.clear=function(){this.values={}},t}();e.FastMap=i},eumZ:function(t,e,n){"use strict";var i=n("bKpL"),r=n("Xa8F");i.Observable.prototype.windowCount=r.windowCount},f1rf:function(t,e,n){"use strict";var i=n("/oeL");n.d(e,"a",function(){return r});var r=function(){function t(){this.interval=5e3,this.wrap=!0,this.keyboard=!0}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},"f7+7":function(t,e,n){"use strict";function i(t){var e=this,n=t.source,i=t.subscriber,s=t.context,a=n,h=a.callbackFunc,p=a.args,f=a.scheduler,d=n.subject;if(!d){d=n.subject=new c.AsyncSubject;var m=function t(){for(var n=[],i=0;i<arguments.length;i++)n[i-0]=arguments[i];var s=t.source,a=s.selector,c=s.subject,h=n.shift();if(h)e.add(f.schedule(o,0,{err:h,subject:c}));else if(a){var p=l.tryCatch(a).apply(this,n);p===u.errorObject?e.add(f.schedule(o,0,{err:u.errorObject.e,subject:c})):e.add(f.schedule(r,0,{value:p,subject:c}))}else{var d=n.length<=1?n[0]:n;e.add(f.schedule(r,0,{value:d,subject:c}))}};m.source=n;l.tryCatch(h).apply(s,p.concat(m))===u.errorObject&&e.add(f.schedule(o,0,{err:u.errorObject.e,subject:d}))}e.add(d.subscribe(i))}function r(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function o(t){var e=t.err;t.subject.error(e)}var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=n("bKpL"),l=n("RdI5"),u=n("XRvs"),c=n("l6Wf"),h=function(t){function e(e,n,i,r,o){t.call(this),this.callbackFunc=e,this.selector=n,this.args=i,this.context=r,this.scheduler=o}return s(e,t),e.create=function(t,n,i){return void 0===n&&(n=void 0),function(){for(var r=[],o=0;o<arguments.length;o++)r[o-0]=arguments[o];return new e(t,n,r,this,i)}},e.prototype._subscribe=function(t){var e=this.callbackFunc,n=this.args,r=this.scheduler,o=this.subject;if(r)return r.schedule(i,0,{source:this,subscriber:t,context:this.context});if(!o){o=this.subject=new c.AsyncSubject;var s=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var i=t.source,r=i.selector,o=i.subject,s=e.shift();if(s)o.error(s);else if(r){var a=l.tryCatch(r).apply(this,e);a===u.errorObject?o.error(u.errorObject.e):(o.next(a),o.complete())}else o.next(e.length<=1?e[0]:e),o.complete()};s.source=this;l.tryCatch(e).apply(this.context,n.concat(s))===u.errorObject&&o.error(u.errorObject.e)}return o.subscribe(t)},e}(a.Observable);e.BoundNodeCallbackObservable=h},f7nC:function(t,e,n){"use strict";function i(t){return r.bufferWhen(t)(this)}var r=n("v1IT");e.bufferWhen=i},fV3I:function(t,e,n){"use strict";function i(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var i=e.length,r=0;r<i;r++){var o=e[r];for(var s in o)o.hasOwnProperty(s)&&(t[s]=o[s])}return t}function r(t){return t.Object.assign||i}var o=n("zijX");e.assignImpl=i,e.getAssign=r,e.assign=r(o.root)},fdVa:function(t,e,n){"use strict";function i(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),r.mergeScan(t,e,n)(this)}var r=n("t9cH");e.mergeScan=i},fxBd:function(t,e,n){"use strict";function i(t){return r.takeLast(t)(this)}var r=n("XvrG");e.takeLast=i},fxWY:function(t,e,n){"use strict";var i=n("/oeL"),r=n("Qyse");n.d(e,"b",function(){return o}),n.d(e,"a",function(){return s});var o=function(){function t(t){this._open=!1,this.openChange=new i.EventEmitter,this.up=t.up,this.autoClose=t.autoClose}return t.prototype.isOpen=function(){return this._open},t.prototype.open=function(){this._open||(this._open=!0,this.openChange.emit(!0))},t.prototype.close=function(){this._open&&(this._open=!1,this.openChange.emit(!1))},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype.closeFromOutsideClick=function(t){this.autoClose&&2!==t.button&&!this._isEventFromToggle(t)&&this.close()},t.prototype.closeFromOutsideEsc=function(){this.autoClose&&this.close()},Object.defineProperty(t.prototype,"toggleElement",{set:function(t){this._toggleElement=t},enumerable:!0,configurable:!0}),t.prototype._isEventFromToggle=function(t){return!!this._toggleElement&&this._toggleElement.contains(t.target)},t}();o.decorators=[{type:i.Directive,args:[{selector:"[ngbDropdown]",exportAs:"ngbDropdown",host:{"[class.dropdown]":"!up","[class.dropup]":"up","[class.show]":"isOpen()","(keyup.esc)":"closeFromOutsideEsc()","(document:click)":"closeFromOutsideClick($event)"}}]}],o.ctorParameters=function(){return[{type:r.a}]},o.propDecorators={up:[{type:i.Input}],autoClose:[{type:i.Input}],_open:[{type:i.Input,args:["open"]}],openChange:[{type:i.Output}]};var s=function(){function t(t,e){this.dropdown=t,t.toggleElement=e.nativeElement}return t.prototype.toggleOpen=function(){this.dropdown.toggle()},t}();s.decorators=[{type:i.Directive,args:[{selector:"[ngbDropdownToggle]",host:{class:"dropdown-toggle","aria-haspopup":"true","[attr.aria-expanded]":"dropdown.isOpen()","(click)":"toggleOpen()"}}]}],s.ctorParameters=function(){return[{type:o},{type:i.ElementRef}]}},g3vg:function(t,e,n){"use strict";var i=n("bKpL"),r=n("Cipy");i.Observable.prototype.shareReplay=r.shareReplay},g5gQ:function(t,e,n){"use strict";var i=n("/oeL"),r=n("fxWY"),o=n("Qyse");n.d(e,"a",function(){return a});var s=[r.a,r.b],a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}();a.decorators=[{type:i.NgModule,args:[{declarations:s,exports:s}]}],a.ctorParameters=function(){return[]}},g9kf:function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new c(t))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("rlar"),s=n("RdI5"),a=n("XRvs"),l=n("yW9Z"),u=n("ktfo");e.repeatWhen=i;var c=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.notifier,e))},t}(),h=function(t){function e(e,n,i){t.call(this,e),this.notifier=n,this.source=i,this.sourceIsBeingSubscribedTo=!0}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries){if(this.retriesSubscription.closed)return t.prototype.complete.call(this)}else this.subscribeToRetries();this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this,e=t.notifications,n=t.retriesSubscription;e&&(e.unsubscribe(),this.notifications=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this,n=e.notifications,i=e.retries,r=e.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,t.prototype._unsubscribeAndRecycle.call(this),this.notifications=n,this.retries=i,this.retriesSubscription=r,this},e.prototype.subscribeToRetries=function(){this.notifications=new o.Subject;var e=s.tryCatch(this.notifier)(this.notifications);if(e===a.errorObject)return t.prototype.complete.call(this);this.retries=e,this.retriesSubscription=u.subscribeToResult(this,e)},e}(l.OuterSubscriber)},"gb+0":function(t,e,n){"use strict";function i(t){return r.single(t)(this)}var r=n("v71/");e.single=i},gbhw:function(t,e,n){"use strict";var i=n("bKpL"),r=n("422b");i.Observable.prototype.filter=r.filter},gonN:function(t,e,n){"use strict";function i(t,e){return r.multicast(t,e)(this)}var r=n("P02W");e.multicast=i},"h+is":function(t,e,n){"use strict";var i=n("bKpL"),r=n("9tb5");i.Observable.prototype.exhaustMap=r.exhaustMap},hAtc:function(t,e,n){"use strict";function i(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,0,null,null,2,"ngb-alert",[["class","alertPosition"]],[[4,"top",null]],[[null,"close"]],function(t,e,n){var i=!0,r=t.component;if("close"===e){i=!1!==r.closeAlert(t.context.index)&&i}return i},a.b,a.c)),s["ɵdid"](1,49152,null,0,l.a,[u.a],{type:[0,"type"]},{close:"close"}),(t()(),s["ɵted"](2,0,["\n","\n"]))],function(t,e){t(e,1,0,null==e.context.$implicit?null:e.context.$implicit.type)},function(t,e){t(e,0,0,60*e.context.index+30+"px"),t(e,2,0,null==e.context.$implicit?null:e.context.$implicit.text)})}function r(t){return s["ɵvid"](0,[(t()(),s["ɵted"](-1,null,["\n\n"])),(t()(),s["ɵand"](16777216,null,null,1,null,i)),s["ɵdid"](2,802816,null,0,c.NgForOf,[s.ViewContainerRef,s.TemplateRef,s.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),s["ɵted"](-1,null,["\n"]))],function(t,e){t(e,2,0,e.component.alerts)},null)}function o(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,0,null,null,1,"notificacion",[],null,null,null,r,d)),s["ɵdid"](1,114688,null,0,h.a,[p.a],null,null)],function(t,e){t(e,1,0)},null)}var s=n("/oeL"),a=n("CVNG"),l=n("PVMJ"),u=n("nVXb"),c=n("qbdv"),h=n("+iRM"),p=n("uiTn");n.d(e,"b",function(){return d}),e.a=r;var f=[],d=s["ɵcrt"]({encapsulation:2,styles:f,data:{}});s["ɵccf"]("notificacion",h.a,o,{},{},[])},hMLV:function(t,e,n){"use strict";var i=n("/oeL"),r=n("f1rf");n.d(e,"a",function(){return l});var o=0,s=function(){function t(t){this.tplRef=t,this.id="ngb-slide-"+o++}return t}();s.decorators=[{type:i.Directive,args:[{selector:"ng-template[ngbSlide]"}]}],s.ctorParameters=function(){return[{type:i.TemplateRef}]},s.propDecorators={id:[{type:i.Input}]};var a=function(){function t(t){this.interval=t.interval,this.wrap=t.wrap,this.keyboard=t.keyboard}return t.prototype.ngAfterContentChecked=function(){var t=this._getSlideById(this.activeId);this.activeId=t?t.id:this.slides.length?this.slides.first.id:null},t.prototype.ngOnInit=function(){this._startTimer()},t.prototype.ngOnDestroy=function(){clearInterval(this._slideChangeInterval)},t.prototype.select=function(t){this.cycleToSelected(t),this._restartTimer()},t.prototype.prev=function(){this.cycleToPrev(),this._restartTimer()},t.prototype.next=function(){this.cycleToNext(),this._restartTimer()},t.prototype.pause=function(){this._stopTimer()},t.prototype.cycle=function(){this._startTimer()},t.prototype.cycleToNext=function(){this.cycleToSelected(this._getNextSlide(this.activeId))},t.prototype.cycleToPrev=function(){this.cycleToSelected(this._getPrevSlide(this.activeId))},t.prototype.cycleToSelected=function(t){var e=this._getSlideById(t);e&&(this.activeId=e.id)},t.prototype.keyPrev=function(){this.keyboard&&this.prev()},t.prototype.keyNext=function(){this.keyboard&&this.next()},t.prototype._restartTimer=function(){this._stopTimer(),this._startTimer()},t.prototype._startTimer=function(){var t=this;this.interval>0&&(this._slideChangeInterval=setInterval(function(){t.cycleToNext()},this.interval))},t.prototype._stopTimer=function(){clearInterval(this._slideChangeInterval)},t.prototype._getSlideById=function(t){var e=this.slides.filter(function(e){return e.id===t});return e.length?e[0]:null},t.prototype._getSlideIdxById=function(t){return this.slides.toArray().indexOf(this._getSlideById(t))},t.prototype._getNextSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return n===e.length-1?this.wrap?e[0].id:e[e.length-1].id:e[n+1].id},t.prototype._getPrevSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return 0===n?this.wrap?e[e.length-1].id:e[0].id:e[n-1].id},t}();a.decorators=[{type:i.Component,args:[{selector:"ngb-carousel",exportAs:"ngbCarousel",host:{class:"carousel slide","[style.display]":'"block"',tabIndex:"0","(mouseenter)":"pause()","(mouseleave)":"cycle()","(keydown.arrowLeft)":"keyPrev()","(keydown.arrowRight)":"keyNext()"},template:'\n <ol class="carousel-indicators">\n <li *ngFor="let slide of slides" [id]="slide.id" [class.active]="slide.id === activeId" (click)="cycleToSelected(slide.id)"></li>\n </ol>\n <div class="carousel-inner">\n <div *ngFor="let slide of slides" class="carousel-item" [class.active]="slide.id === activeId">\n <ng-template [ngTemplateOutlet]="slide.tplRef"></ng-template>\n </div>\n </div>\n <a class="left carousel-control-prev" role="button" (click)="cycleToPrev()">\n <span class="carousel-control-prev-icon" aria-hidden="true"></span>\n <span class="sr-only">Previous</span>\n </a>\n <a class="right carousel-control-next" role="button" (click)="cycleToNext()">\n <span class="carousel-control-next-icon" aria-hidden="true"></span>\n <span class="sr-only">Next</span>\n </a>\n '}]}],a.ctorParameters=function(){return[{type:r.a}]},a.propDecorators={slides:[{type:i.ContentChildren,args:[s]}],interval:[{type:i.Input}],wrap:[{type:i.Input}],keyboard:[{type:i.Input}],activeId:[{type:i.Input}]};var l=[a,s]},"hbO+":function(t,e,n){"use strict";var i=n("bKpL"),r=n("slZm");i.Observable.empty=r.empty},hfga:function(t,e,n){"use strict";function i(t,e){return function(n){return[o.filter(t,e)(n),o.filter(r.not(t,e))(n)]}}var r=n("iyHZ"),o=n("Hd11");e.partition=i},i4mq:function(t,e,n){"use strict";var i=n("bKpL"),r=n("zbre");i.Observable.prototype.bufferCount=r.bufferCount},iDKa:function(t,e,n){"use strict";function i(t){return r.skip(t)(this)}var r=n("cyM/");e.skip=i},iH09:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("bKpL"),o=n("xFbG"),s=n("Xga8"),a=n("p2y2"),l=function(t){function e(e,n){t.call(this,function(t){var e=this,n=e.logSubscribedFrame();return t.add(new o.Subscription(function(){e.logUnsubscribedFrame(n)})),e.scheduleMessages(t),t}),this.messages=e,this.subscriptions=[],this.scheduler=n}return i(e,t),e.prototype.scheduleMessages=function(t){for(var e=this.messages.length,n=0;n<e;n++){var i=this.messages[n];t.add(this.scheduler.schedule(function(t){var e=t.message,n=t.subscriber;e.notification.observe(n)},i.frame,{message:i,subscriber:t}))}},e}(r.Observable);e.ColdObservable=l,a.applyMixins(l,[s.SubscriptionLoggable])},ip92:function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new s(t,e))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+");e.count=i;var s=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.source))},t}(),a=function(t){function e(e,n,i){t.call(this,e),this.predicate=n,this.source=i,this.count=0,this.index=0}return r(e,t),e.prototype._next=function(t){this.predicate?this._tryPredicate(t):this.count++},e.prototype._tryPredicate=function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e&&this.count++},e.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},e}(o.Subscriber)},iwys:function(t,e,n){"use strict";var i=n("bKpL"),r=n("1kAr");i.Observable.prototype.mapTo=r.mapTo},iyHZ:function(t,e,n){"use strict";function i(t,e){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=t,n.thisArg=e,n}e.not=i},j8LY:function(t,e,n){"use strict";function i(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof e&&(n=e,e=null),function(i){return i.lift(new a(t,e,n))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("yW9Z"),s=n("ktfo");e.mergeMapTo=i;var a=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.ish=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.ish,this.resultSelector,this.concurrent))},t}();e.MergeMapToOperator=a;var l=function(t){function e(e,n,i,r){void 0===r&&(r=Number.POSITIVE_INFINITY),t.call(this,e),this.ish=n,this.resultSelector=i,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return r(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.resultSelector,n=this.index++,i=this.ish,r=this.destination;this.active++,this._innerSub(i,r,e,t,n)}else this.buffer.push(t)},e.prototype._innerSub=function(t,e,n,i,r){this.add(s.subscribeToResult(this,t,i,r))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,i,r){var o=this,s=o.resultSelector,a=o.destination;s?this.trySelectResult(t,e,n,i):a.next(e)},e.prototype.trySelectResult=function(t,e,n,i){var r,o=this,s=o.resultSelector,a=o.destination;try{r=s(t,e,n,i)}catch(t){return void a.error(t)}a.next(r)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber);e.MergeMapToSubscriber=l},j8RC:function(t,e,n){"use strict";var i=n("bKpL"),r=n("2Rhf");i.Observable.prototype.skipUntil=r.skipUntil},jKKE:function(t,e,n){"use strict";function i(t){return r.count(t)(this)}var r=n("ip92");e.count=i},jjPq:function(t,e,n){"use strict";function i(t){var e="function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e};return r.reduce(e)}var r=n("JwCl");e.max=i},jyAw:function(t,e,n){"use strict";function i(t,e,n,i){return r.groupBy(t,e,n,i)(this)}var r=n("8H5Y");e.GroupedObservable=r.GroupedObservable,e.groupBy=i},k6cv:function(t,e,n){"use strict";function i(t,e){return function(n){return n.lift(new a(t,e))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+"),s=n("uT+d");e.elementAt=i;var a=function(){function t(t,e){if(this.index=t,this.defaultValue=e,t<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.index,this.defaultValue))},t}(),l=function(t){function e(e,n,i){t.call(this,e),this.index=n,this.defaultValue=i}return r(e,t),e.prototype._next=function(t){0==this.index--&&(this.destination.next(t),this.destination.complete())},e.prototype._complete=function(){var t=this.destination;this.index>=0&&(void 0!==this.defaultValue?t.next(this.defaultValue):t.error(new s.ArgumentOutOfRangeError)),t.complete()},e}(o.Subscriber)},kAWK:function(t,e,n){"use strict";var i=n("bKpL"),r=n("QsbA");i.Observable.prototype.windowWhen=r.windowWhen},kGJb:function(t,e,n){"use strict";function i(t,e){return r.distinctUntilChanged(t,e)(this)}var r=n("2Sjb");e.distinctUntilChanged=i},kIyd:function(t,e,n){"use strict";var i=n("bKpL"),r=n("Kuy3");i.Observable.prototype.subscribeOn=r.subscribeOn},ki6Z:function(t,e,n){"use strict";function i(){return r.exhaust()(this)}var r=n("weui");e.exhaust=i},kkQ5:function(t,e,n){"use strict";function i(t,e){return arguments.length>=2?r.scan(t,e)(this):r.scan(t)(this)}var r=n("H1KZ");e.scan=i},kqkQ:function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new c(t))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("rlar"),s=n("RdI5"),a=n("XRvs"),l=n("yW9Z"),u=n("ktfo");e.windowWhen=i;var c=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.closingSelector))},t}(),h=function(t){function e(e,n){t.call(this,e),this.destination=e,this.closingSelector=n,this.openWindow()}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.openWindow(r)},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this.openWindow(t)},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t),this.unsubscribeClosingNotification()},e.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},e.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},e.prototype.openWindow=function(t){void 0===t&&(t=null),t&&(this.remove(t),t.unsubscribe());var e=this.window;e&&e.complete();var n=this.window=new o.Subject;this.destination.next(n);var i=s.tryCatch(this.closingSelector)();if(i===a.errorObject){var r=a.errorObject.e;this.destination.error(r),this.window.error(r)}else this.add(this.closingNotification=u.subscribeToResult(this,i))},e}(l.OuterSubscriber)},"l/Fw":function(t,e,n){"use strict";function i(t){return r.sample(t)(this)}var r=n("ZNYO");e.sample=i},"l3Q+":function(t,e,n){"use strict";var i=n("bKpL"),r=n("tBQh");i.Observable.prototype.delay=r.delay},l6Wf:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rlar"),o=n("xFbG"),s=function(t){function e(){t.apply(this,arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}return i(e,t),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),o.Subscription.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),o.Subscription.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(r.Subject);e.AsyncSubject=s},"lA7/":function(t,e,n){"use strict";var i=n("wM1e");n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s});var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(){function t(){}return t}(),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.parse=function(t){if(t){var e=t.trim().split("-");if(1===e.length&&n.i(i.a)(e[0]))return{year:n.i(i.b)(e[0]),month:null,day:null};if(2===e.length&&n.i(i.a)(e[0])&&n.i(i.a)(e[1]))return{year:n.i(i.b)(e[0]),month:n.i(i.b)(e[1]),day:null};if(3===e.length&&n.i(i.a)(e[0])&&n.i(i.a)(e[1])&&n.i(i.a)(e[2]))return{year:n.i(i.b)(e[0]),month:n.i(i.b)(e[1]),day:n.i(i.b)(e[2])}}return null},e.prototype.format=function(t){return t?t.year+"-"+(n.i(i.a)(t.month)?n.i(i.c)(t.month):"")+"-"+(n.i(i.a)(t.day)?n.i(i.c)(t.day):""):""},e}(o)},lDY9:function(t,e,n){!function(t){t(n("oiK7"))}(function(t){"use strict";function e(t,e){this.cm=t,this.options=e,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length;var n=this;t.on("cursorActivity",this.activityFunc=function(){n.cursorActivity()})}function n(e,n){return t.cmpPos(n.from,e.from)>0&&e.to.ch-e.from.ch!=n.to.ch-n.from.ch}function i(t,e,n){var i=t.options.hintOptions,r={};for(var o in m)r[o]=m[o];if(i)for(var o in i)void 0!==i[o]&&(r[o]=i[o]);if(n)for(var o in n)void 0!==n[o]&&(r[o]=n[o]);return r.hint.resolve&&(r.hint=r.hint.resolve(t,e)),r}function r(t){return"string"==typeof t?t:t.text}function o(t,e){function n(t,n){var r;r="string"!=typeof n?function(t){return n(t,e)}:i.hasOwnProperty(n)?i[n]:n,o[t]=r}var i={Up:function(){e.moveFocus(-1)},Down:function(){e.moveFocus(1)},PageUp:function(){e.moveFocus(1-e.menuSize(),!0)},PageDown:function(){e.moveFocus(e.menuSize()-1,!0)},Home:function(){e.setFocus(0)},End:function(){e.setFocus(e.length-1)},Enter:e.pick,Tab:e.pick,Esc:e.close},r=t.options.customKeys,o=r?{}:i;if(r)for(var s in r)r.hasOwnProperty(s)&&n(s,r[s]);var a=t.options.extraKeys;if(a)for(var s in a)a.hasOwnProperty(s)&&n(s,a[s]);return o}function s(t,e){for(;e&&e!=t;){if("LI"===e.nodeName.toUpperCase()&&e.parentNode==t)return e;e=e.parentNode}}function a(e,n){this.completion=e,this.data=n,this.picked=!1;var i=this,a=e.cm,l=this.hints=document.createElement("ul");l.className="CodeMirror-hints",this.selectedHint=n.selectedHint||0;for(var u=n.list,c=0;c<u.length;++c){var f=l.appendChild(document.createElement("li")),d=u[c],m=h+(c!=this.selectedHint?"":" "+p);null!=d.className&&(m=d.className+" "+m),f.className=m,d.render?d.render(f,n,d):f.appendChild(document.createTextNode(d.displayText||r(d))),f.hintId=c}var v=a.cursorCoords(e.options.alignWithWord?n.from:null),g=v.left,b=v.bottom,y=!0;l.style.left=g+"px",l.style.top=b+"px";var w=window.innerWidth||Math.max(document.body.offsetWidth,document.documentElement.offsetWidth),x=window.innerHeight||Math.max(document.body.offsetHeight,document.documentElement.offsetHeight);(e.options.container||document.body).appendChild(l);var S=l.getBoundingClientRect(),C=S.bottom-x,O=l.scrollHeight>l.clientHeight+1,k=a.getScrollInfo();if(C>0){var T=S.bottom-S.top;if(v.top-(v.bottom-S.top)-T>0)l.style.top=(b=v.top-T)+"px",y=!1;else if(T>x){l.style.height=x-5+"px",l.style.top=(b=v.bottom-S.top)+"px";var _=a.getCursor();n.from.ch!=_.ch&&(v=a.cursorCoords(_),l.style.left=(g=v.left)+"px",S=l.getBoundingClientRect())}}var L=S.right-w;if(L>0&&(S.right-S.left>w&&(l.style.width=w-5+"px",L-=S.right-S.left-w),l.style.left=(g=v.left-L)+"px"),O)for(var I=l.firstChild;I;I=I.nextSibling)I.style.paddingRight=a.display.nativeBarWidth+"px";if(a.addKeyMap(this.keyMap=o(e,{moveFocus:function(t,e){i.changeActive(i.selectedHint+t,e)},setFocus:function(t){i.changeActive(t)},menuSize:function(){return i.screenAmount()},length:u.length,close:function(){e.close()},pick:function(){i.pick()},data:n})),e.options.closeOnUnfocus){var M;a.on("blur",this.onBlur=function(){M=setTimeout(function(){e.close()},100)}),a.on("focus",this.onFocus=function(){clearTimeout(M)})}return a.on("scroll",this.onScroll=function(){var t=a.getScrollInfo(),n=a.getWrapperElement().getBoundingClientRect(),i=b+k.top-t.top,r=i-(window.pageYOffset||(document.documentElement||document.body).scrollTop);if(y||(r+=l.offsetHeight),r<=n.top||r>=n.bottom)return e.close();l.style.top=i+"px",l.style.left=g+k.left-t.left+"px"}),t.on(l,"dblclick",function(t){var e=s(l,t.target||t.srcElement);e&&null!=e.hintId&&(i.changeActive(e.hintId),i.pick())}),t.on(l,"click",function(t){var n=s(l,t.target||t.srcElement);n&&null!=n.hintId&&(i.changeActive(n.hintId),e.options.completeOnSingleClick&&i.pick())}),t.on(l,"mousedown",function(){setTimeout(function(){a.focus()},20)}),t.signal(n,"select",u[this.selectedHint],l.childNodes[this.selectedHint]),!0}function l(t,e){if(!t.somethingSelected())return e;for(var n=[],i=0;i<e.length;i++)e[i].supportsSelection&&n.push(e[i]);return n}function u(t,e,n,i){if(t.async)t(e,i,n);else{var r=t(e,n);r&&r.then?r.then(i):i(r)}}function c(e,n){var i,r=e.getHelpers(n,"hint");if(r.length){var o=function(t,e,n){function i(r){if(r==o.length)return e(null);u(o[r],t,n,function(t){t&&t.list.length>0?e(t):i(r+1)})}var o=l(t,r);i(0)};return o.async=!0,o.supportsSelection=!0,o}return(i=e.getHelper(e.getCursor(),"hintWords"))?function(e){return t.hint.fromList(e,{words:i})}:t.hint.anyword?function(e,n){return t.hint.anyword(e,n)}:function(){}}var h="CodeMirror-hint",p="CodeMirror-hint-active";t.showHint=function(t,e,n){if(!e)return t.showHint(n);n&&n.async&&(e.async=!0);var i={hint:e};if(n)for(var r in n)i[r]=n[r];return t.showHint(i)},t.defineExtension("showHint",function(n){n=i(this,this.getCursor("start"),n);var r=this.listSelections();if(!(r.length>1)){if(this.somethingSelected()){if(!n.hint.supportsSelection)return;for(var o=0;o<r.length;o++)if(r[o].head.line!=r[o].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var s=this.state.completionActive=new e(this,n);s.options.hint&&(t.signal(this,"startCompletion",this),s.update(!0))}});var f=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},d=window.cancelAnimationFrame||clearTimeout;e.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&t.signal(this.data,"close"),this.widget&&this.widget.close(),t.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(e,n){var i=e.list[n];i.hint?i.hint(this.cm,e,i):this.cm.replaceRange(r(i),i.from||e.from,i.to||e.to,"complete"),t.signal(e,"pick",i),this.close()},cursorActivity:function(){this.debounce&&(d(this.debounce),this.debounce=0);var t=this.cm.getCursor(),e=this.cm.getLine(t.line);if(t.line!=this.startPos.line||e.length-t.ch!=this.startLen-this.startPos.ch||t.ch<this.startPos.ch||this.cm.somethingSelected()||t.ch&&this.options.closeCharacters.test(e.charAt(t.ch-1)))this.close();else{var n=this;this.debounce=f(function(){n.update()}),this.widget&&this.widget.disable()}},update:function(t){if(null!=this.tick){var e=this,n=++this.tick;u(this.options.hint,this.cm,this.options,function(i){e.tick==n&&e.finishUpdate(i,t)})}},finishUpdate:function(e,i){this.data&&t.signal(this.data,"update");var r=this.widget&&this.widget.picked||i&&this.options.completeSingle;this.widget&&this.widget.close(),e&&this.data&&n(this.data,e)||(this.data=e,e&&e.list.length&&(r&&1==e.list.length?this.pick(e,0):(this.widget=new a(this,e),t.signal(e,"shown"))))}},a.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var t=this.completion.cm;this.completion.options.closeOnUnfocus&&(t.off("blur",this.onBlur),t.off("focus",this.onFocus)),t.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var t=this;this.keyMap={Enter:function(){t.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(e,n){if(e>=this.data.list.length?e=n?this.data.list.length-1:0:e<0&&(e=n?0:this.data.list.length-1),this.selectedHint!=e){var i=this.hints.childNodes[this.selectedHint];i.className=i.className.replace(" "+p,""),i=this.hints.childNodes[this.selectedHint=e],i.className+=" "+p,i.offsetTop<this.hints.scrollTop?this.hints.scrollTop=i.offsetTop-3:i.offsetTop+i.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=i.offsetTop+i.offsetHeight-this.hints.clientHeight+3),t.signal(this.data,"select",this.data.list[this.selectedHint],i)}},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1}},t.registerHelper("hint","auto",{resolve:c}),t.registerHelper("hint","fromList",function(e,n){var i=e.getCursor(),r=e.getTokenAt(i),o=t.Pos(i.line,r.end);if(r.string&&/\w/.test(r.string[r.string.length-1]))var s=r.string,a=t.Pos(i.line,r.start);else var s="",a=o;for(var l=[],u=0;u<n.words.length;u++){var c=n.words[u];c.slice(0,s.length)==s&&l.push(c)}if(l.length)return{list:l,from:a,to:o}}),t.commands.autocomplete=t.showHint;var m={hint:t.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnUnfocus:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null};t.defineOption("hintOptions",null)})},lc3y:function(t,e,n){"use strict";function i(){return r.isEmpty()(this)}var r=n("C4ew");e.isEmpty=i},ltng:function(t,e,n){"use strict";var i=n("e7Zl");e.range=i.RangeObservable.create},m0eP:function(t,e,n){"use strict";function i(t){return o["ɵvid"](0,[(t()(),o["ɵted"](-1,null,["\n "])),(t()(),o["ɵeld"](1,0,null,null,4,"div",[["role","document"]],[[8,"className",0]],null,null,null,null)),(t()(),o["ɵted"](-1,null,["\n "])),(t()(),o["ɵeld"](3,0,null,null,1,"div",[["class","modal-content"]],null,null,null,null,null)),o["ɵncd"](null,0),(t()(),o["ɵted"](-1,null,["\n "])),(t()(),o["ɵted"](-1,null,["\n "]))],null,function(t,e){var n=e.component;t(e,1,0,"modal-dialog"+(n.size?" modal-"+n.size:""))})}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,0,null,null,1,"ngb-modal-window",[["role","dialog"],["style","display: block;"],["tabindex","-1"]],[[8,"className",0]],[[null,"keyup.esc"],[null,"click"]],function(t,e,n){var i=!0;if("keyup.esc"===e){i=!1!==o["ɵnov"](t,1).escKey(n)&&i}if("click"===e){i=!1!==o["ɵnov"](t,1).backdropClick(n)&&i}return i},i,l)),o["ɵdid"](1,4440064,null,0,s.a,[o.ElementRef,o.Renderer2],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,"modal fade show"+(o["ɵnov"](e,1).windowClass?" "+o["ɵnov"](e,1).windowClass:""))})}var o=n("/oeL"),s=n("AVYa");n.d(e,"a",function(){return u});var a=[],l=o["ɵcrt"]({encapsulation:2,styles:a,data:{}}),u=o["ɵccf"]("ngb-modal-window",s.a,r,{backdrop:"backdrop",keyboard:"keyboard",size:"size",windowClass:"windowClass"},{dismissEvent:"dismiss"},["*"])},mDYJ:function(t,e,n){"use strict";var i=n("bKpL"),r=n("dxfK");i.Observable.prototype.distinctUntilKeyChanged=r.distinctUntilKeyChanged},mQQt:function(t,e,n){"use strict";var i=n("/oeL"),r=n("F3px"),o=n("75Hr"),s=n("uJci"),a=n("7zUS");n.d(e,"b",function(){return u}),n.d(e,"a",function(){return c});var l=0,u=function(){function t(){this.placement="top"}return t}();u.decorators=[{type:i.Component,args:[{selector:"ngb-popover-window",changeDetection:i.ChangeDetectionStrategy.OnPush,host:{"[class]":'"popover show popover-" + placement',role:"tooltip","[id]":"id"},template:'\n <h3 class="popover-title">{{title}}</h3><div class="popover-content"><ng-content></ng-content></div>\n '}]}],u.ctorParameters=function(){return[]},u.propDecorators={placement:[{type:i.Input}],title:[{type:i.Input}],id:[{type:i.Input}]};var c=function(){function t(t,e,r,a,c,h,p){var f=this;this._elementRef=t,this._renderer=e,this.shown=new i.EventEmitter,this.hidden=new i.EventEmitter,this._ngbPopoverWindowId="ngb-popover-"+l++,this.placement=h.placement,this.triggers=h.triggers,this.container=h.container,this._popupService=new s.a(u,r,c,e,a),this._zoneSubscription=p.onStable.subscribe(function(){f._windowRef&&n.i(o.a)(f._elementRef.nativeElement,f._windowRef.location.nativeElement,f.placement,"body"===f.container)})}return t.prototype.open=function(t){this._windowRef||(this._windowRef=this._popupService.open(this.ngbPopover,t),this._windowRef.instance.placement=this.placement,this._windowRef.instance.title=this.popoverTitle,this._windowRef.instance.id=this._ngbPopoverWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.markForCheck(),this.shown.emit())},t.prototype.close=function(){this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=n.i(r.a)(this._renderer,this._elementRef.nativeElement,this.triggers,this.open.bind(this),this.close.bind(this),this.toggle.bind(this))},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t}();c.decorators=[{type:i.Directive,args:[{selector:"[ngbPopover]",exportAs:"ngbPopover"}]}],c.ctorParameters=function(){return[{type:i.ElementRef},{type:i.Renderer2},{type:i.Injector},{type:i.ComponentFactoryResolver},{type:i.ViewContainerRef},{type:a.a},{type:i.NgZone}]},c.propDecorators={ngbPopover:[{type:i.Input}],popoverTitle:[{type:i.Input}],placement:[{type:i.Input}],triggers:[{type:i.Input}],container:[{type:i.Input}],shown:[{type:i.Output}],hidden:[{type:i.Output}]}},mjW1:function(t,e,n){"use strict";var i=n("bKpL"),r=n("rAcl");i.Observable.pairs=r.pairs},mvrJ:function(t,e,n){"use strict";var i=n("bKpL"),r=n("6JjX");i.Observable.prototype.switch=r._switch,i.Observable.prototype._switch=r._switch},"n/Gy":function(t,e,n){"use strict";var i=n("/oeL"),r=n("wM1e"),o=n("Wv1e");n.d(e,"a",function(){return s});var s=function(){function t(t){this.value=0,this.max=t.max,this.animated=t.animated,this.striped=t.striped,this.type=t.type,this.showValue=t.showValue}return t.prototype.getValue=function(){return n.i(r.e)(this.value,this.max)},t.prototype.getPercentValue=function(){return 100*this.getValue()/this.max},t}();s.decorators=[{type:i.Component,args:[{selector:"ngb-progressbar",changeDetection:i.ChangeDetectionStrategy.OnPush,template:'\n <div class="progress">\n <div class="progress-bar{{type ? \' bg-\' + type : \'\'}}{{animated ? \' progress-bar-animated\' : \'\'}}{{striped ?\n \' progress-bar-striped\' : \'\'}}" role="progressbar" [style.width.%]="getPercentValue()"\n [attr.aria-valuenow]="getValue()" aria-valuemin="0" [attr.aria-valuemax]="max">\n <span *ngIf="showValue">{{getPercentValue()}}%</span><ng-content></ng-content>\n </div>\n </div>\n '}]}],s.ctorParameters=function(){return[{type:o.a}]},s.propDecorators={max:[{type:i.Input}],animated:[{type:i.Input}],striped:[{type:i.Input}],showValue:[{type:i.Input}],type:[{type:i.Input}],value:[{type:i.Input}]}},nfVm:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("/oeL"),r=n("bm2B"),o=n("oiK7"),s=function(){function t(){this.change=new i.EventEmitter,this.focus=new i.EventEmitter,this.blur=new i.EventEmitter,this.cursorActivity=new i.EventEmitter,this.instance=null,this._value=""}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){t!==this._value&&(this._value=t,this.onChange(t))},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){},t.prototype.ngAfterViewInit=function(){this.config=this.config||{},this.codemirrorInit(this.config)},t.prototype.codemirrorInit=function(t){var e=this;this.instance=o.fromTextArea(this.host.nativeElement,t),this.instance.setValue(this._value),this.instance.on("change",function(){e.updateValue(e.instance.getValue())}),this.instance.on("focus",function(t,n){e.focus.emit({instance:t,event:n})}),this.instance.on("cursorActivity",function(t){e.cursorActivity.emit({instance:t})}),this.instance.on("blur",function(t,n){e.blur.emit({instance:t,event:n})})},t.prototype.updateValue=function(t){this.value=t,this.onTouched(),this.change.emit(t)},t.prototype.writeValue=function(t){this._value=t||"",this.instance&&this.instance.setValue(this._value)},t.prototype.onChange=function(t){},t.prototype.onTouched=function(){},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t}();s.decorators=[{type:i.Component,args:[{selector:"codemirror",providers:[{provide:r.NG_VALUE_ACCESSOR,useExisting:i.forwardRef(function(){return s}),multi:!0}],template:"<textarea #host></textarea>"}]}],s.ctorParameters=function(){return[]},s.propDecorators={config:[{type:i.Input}],change:[{type:i.Output}],focus:[{type:i.Output}],blur:[{type:i.Output}],cursorActivity:[{type:i.Output}],host:[{type:i.ViewChild,args:["host"]}],instance:[{type:i.Output}],value:[{type:i.Input}]},e.CodemirrorComponent=s},nhnq:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("sdK6");e.BootstrapModalModule=i.BootstrapModalModule;var r=n("4cv6");e.DialogComponent=r.DialogComponent;var o=n("V672");e.DialogService=o.DialogService,e.DialogServiceConfig=o.DialogServiceConfig},"o/OZ":function(t,e,n){"use strict";var i=n("bKpL"),r=n("ziym");i.Observable.ajax=r.ajax},oOL0:function(t,e,n){"use strict";var i=n("bKpL"),r=n("olrH");i.Observable.prototype.concatMapTo=r.concatMapTo},oiK7:function(t,e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t){return new RegExp("(^|\\s)"+t+"(?:$|\\s)\\s*")}function e(t){for(var e=t.childNodes.length;e>0;--e)t.removeChild(t.firstChild);return t}function n(t,n){return e(t).appendChild(n)}function i(t,e,n,i){var r=document.createElement(t);if(n&&(r.className=n),i&&(r.style.cssText=i),"string"==typeof e)r.appendChild(document.createTextNode(e));else if(e)for(var o=0;o<e.length;++o)r.appendChild(e[o]);return r}function r(t,e,n,r){var o=i(t,e,n,r);return o.setAttribute("role","presentation"),o}function o(t,e){if(3==e.nodeType&&(e=e.parentNode),t.contains)return t.contains(e);do{if(11==e.nodeType&&(e=e.host),e==t)return!0}while(e=e.parentNode)}function s(){var t;try{t=document.activeElement}catch(e){t=document.body||null}for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;return t}function a(e,n){var i=e.className;t(n).test(i)||(e.className+=(i?" ":"")+n)}function l(e,n){for(var i=e.split(" "),r=0;r<i.length;r++)i[r]&&!t(i[r]).test(n)&&(n+=" "+i[r]);return n}function u(t){var e=Array.prototype.slice.call(arguments,1);return function(){return t.apply(null,e)}}function c(t,e,n){e||(e={});for(var i in t)!t.hasOwnProperty(i)||!1===n&&e.hasOwnProperty(i)||(e[i]=t[i]);return e}function h(t,e,n,i,r){null==e&&-1==(e=t.search(/[^\s\u00a0]/))&&(e=t.length);for(var o=i||0,s=r||0;;){var a=t.indexOf("\t",o);if(a<0||a>=e)return s+(e-o);s+=a-o,s+=n-s%n,o=a+1}}function p(t,e){for(var n=0;n<t.length;++n)if(t[n]==e)return n;return-1}function f(t,e,n){for(var i=0,r=0;;){var o=t.indexOf("\t",i);-1==o&&(o=t.length);var s=o-i;if(o==t.length||r+s>=e)return i+Math.min(s,e-r);if(r+=o-i,r+=n-r%n,i=o+1,r>=e)return i}}function d(t){for(;Us.length<=t;)Us.push(m(Us)+" ");return Us[t]}function m(t){return t[t.length-1]}function v(t,e){for(var n=[],i=0;i<t.length;i++)n[i]=e(t[i],i);return n}function g(t,e,n){for(var i=0,r=n(e);i<t.length&&n(t[i])<=r;)i++;t.splice(i,0,e)}function b(){}function y(t,e){var n;return Object.create?n=Object.create(t):(b.prototype=t,n=new b),e&&c(e,n),n}function w(t){return/\w/.test(t)||t>"€"&&(t.toUpperCase()!=t.toLowerCase()||Gs.test(t))}function x(t,e){return e?!!(e.source.indexOf("\\w")>-1&&w(t))||e.test(t):w(t)}function S(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e])return!1;return!0}function C(t){return t.charCodeAt(0)>=768&&Ys.test(t)}function O(t,e,n){for(;(n<0?e>0:e<t.length)&&C(t.charAt(e));)e+=n;return e}function k(t,e,n){for(var i=e>n?-1:1;;){if(e==n)return e;var r=(e+n)/2,o=i<0?Math.ceil(r):Math.floor(r);if(o==e)return t(o)?e:n;t(o)?n=o:e=o+i}}function T(t,e,n){var o=this;this.input=n,o.scrollbarFiller=i("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=i("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=r("div",null,"CodeMirror-code"),o.selectionDiv=i("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=i("div",null,"CodeMirror-cursors"),o.measure=i("div",null,"CodeMirror-measure"),o.lineMeasure=i("div",null,"CodeMirror-measure"),o.lineSpace=r("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var s=r("div",[o.lineSpace],"CodeMirror-lines");o.mover=i("div",[s],null,"position: relative"),o.sizer=i("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=i("div",null,null,"position: absolute; height: "+Vs+"px; width: 1px;"),o.gutters=i("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=i("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=i("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),gs&&bs<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),ys||fs&&Ls||(o.scroller.draggable=!0),t&&(t.appendChild?t.appendChild(o.wrapper):t(o.wrapper)),o.viewFrom=o.viewTo=e.first,o.reportedViewFrom=o.reportedViewTo=e.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,n.init(o)}function _(t,e){if((e-=t.first)<0||e>=t.size)throw new Error("There is no line "+(e+t.first)+" in the document.");for(var n=t;!n.lines;)for(var i=0;;++i){var r=n.children[i],o=r.chunkSize();if(e<o){n=r;break}e-=o}return n.lines[e]}function L(t,e,n){var i=[],r=e.line;return t.iter(e.line,n.line+1,function(t){var o=t.text;r==n.line&&(o=o.slice(0,n.ch)),r==e.line&&(o=o.slice(e.ch)),i.push(o),++r}),i}function I(t,e,n){var i=[];return t.iter(e,n,function(t){i.push(t.text)}),i}function M(t,e){var n=e-t.height;if(n)for(var i=t;i;i=i.parent)i.height+=n}function A(t){if(null==t.parent)return null;for(var e=t.parent,n=p(e.lines,t),i=e.parent;i;e=i,i=i.parent)for(var r=0;i.children[r]!=e;++r)n+=i.children[r].chunkSize();return n+e.first}function E(t,e){var n=t.first;t:do{for(var i=0;i<t.children.length;++i){var r=t.children[i],o=r.height;if(e<o){t=r;continue t}e-=o,n+=r.chunkSize()}return n}while(!t.lines);for(var s=0;s<t.lines.length;++s){var a=t.lines[s],l=a.height;if(e<l)break;e-=l}return n+s}function N(t,e){return e>=t.first&&e<t.first+t.size}function R(t,e){return String(t.lineNumberFormatter(e+t.firstLineNumber))}function D(t,e,n){if(void 0===n&&(n=null),!(this instanceof D))return new D(t,e,n);this.line=t,this.ch=e,this.sticky=n}function P(t,e){return t.line-e.line||t.ch-e.ch}function j(t,e){return t.sticky==e.sticky&&0==P(t,e)}function F(t){return D(t.line,t.ch)}function W(t,e){return P(t,e)<0?e:t}function H(t,e){return P(t,e)<0?t:e}function V(t,e){return Math.max(t.first,Math.min(e,t.first+t.size-1))}function z(t,e){if(e.line<t.first)return D(t.first,0);var n=t.first+t.size-1;return e.line>n?D(n,_(t,n).text.length):B(e,_(t,e.line).text.length)}function B(t,e){var n=t.ch;return null==n||n>e?D(t.line,e):n<0?D(t.line,0):t}function q(t,e){for(var n=[],i=0;i<e.length;i++)n[i]=z(t,e[i]);return n}function K(){Xs=!0}function U(){Js=!0}function G(t,e,n){this.marker=t,this.from=e,this.to=n}function Y(t,e){if(t)for(var n=0;n<t.length;++n){var i=t[n];if(i.marker==e)return i}}function X(t,e){for(var n,i=0;i<t.length;++i)t[i]!=e&&(n||(n=[])).push(t[i]);return n}function J(t,e){t.markedSpans=t.markedSpans?t.markedSpans.concat([e]):[e],e.marker.attachLine(t)}function Z(t,e,n){var i;if(t)for(var r=0;r<t.length;++r){var o=t[r],s=o.marker,a=null==o.from||(s.inclusiveLeft?o.from<=e:o.from<e);if(a||o.from==e&&"bookmark"==s.type&&(!n||!o.marker.insertLeft)){var l=null==o.to||(s.inclusiveRight?o.to>=e:o.to>e);(i||(i=[])).push(new G(s,o.from,l?null:o.to))}}return i}function Q(t,e,n){var i;if(t)for(var r=0;r<t.length;++r){var o=t[r],s=o.marker,a=null==o.to||(s.inclusiveRight?o.to>=e:o.to>e);if(a||o.from==e&&"bookmark"==s.type&&(!n||o.marker.insertLeft)){var l=null==o.from||(s.inclusiveLeft?o.from<=e:o.from<e);(i||(i=[])).push(new G(s,l?null:o.from-e,null==o.to?null:o.to-e))}}return i}function $(t,e){if(e.full)return null;var n=N(t,e.from.line)&&_(t,e.from.line).markedSpans,i=N(t,e.to.line)&&_(t,e.to.line).markedSpans;if(!n&&!i)return null;var r=e.from.ch,o=e.to.ch,s=0==P(e.from,e.to),a=Z(n,r,s),l=Q(i,o,s),u=1==e.text.length,c=m(e.text).length+(u?r:0);if(a)for(var h=0;h<a.length;++h){var p=a[h];if(null==p.to){var f=Y(l,p.marker);f?u&&(p.to=null==f.to?null:f.to+c):p.to=r}}if(l)for(var d=0;d<l.length;++d){var v=l[d];if(null!=v.to&&(v.to+=c),null==v.from){var g=Y(a,v.marker);g||(v.from=c,u&&(a||(a=[])).push(v))}else v.from+=c,u&&(a||(a=[])).push(v)}a&&(a=tt(a)),l&&l!=a&&(l=tt(l));var b=[a];if(!u){var y,w=e.text.length-2;if(w>0&&a)for(var x=0;x<a.length;++x)null==a[x].to&&(y||(y=[])).push(new G(a[x].marker,null,null));for(var S=0;S<w;++S)b.push(y);b.push(l)}return b}function tt(t){for(var e=0;e<t.length;++e){var n=t[e];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&t.splice(e--,1)}return t.length?t:null}function et(t,e,n){var i=null;if(t.iter(e.line,n.line+1,function(t){if(t.markedSpans)for(var e=0;e<t.markedSpans.length;++e){var n=t.markedSpans[e].marker;!n.readOnly||i&&-1!=p(i,n)||(i||(i=[])).push(n)}}),!i)return null;for(var r=[{from:e,to:n}],o=0;o<i.length;++o)for(var s=i[o],a=s.find(0),l=0;l<r.length;++l){var u=r[l];if(!(P(u.to,a.from)<0||P(u.from,a.to)>0)){var c=[l,1],h=P(u.from,a.from),f=P(u.to,a.to);(h<0||!s.inclusiveLeft&&!h)&&c.push({from:u.from,to:a.from}),(f>0||!s.inclusiveRight&&!f)&&c.push({from:a.to,to:u.to}),r.splice.apply(r,c),l+=c.length-3}}return r}function nt(t){var e=t.markedSpans;if(e){for(var n=0;n<e.length;++n)e[n].marker.detachLine(t);t.markedSpans=null}}function it(t,e){if(e){for(var n=0;n<e.length;++n)e[n].marker.attachLine(t);t.markedSpans=e}}function rt(t){return t.inclusiveLeft?-1:0}function ot(t){return t.inclusiveRight?1:0}function st(t,e){var n=t.lines.length-e.lines.length;if(0!=n)return n;var i=t.find(),r=e.find(),o=P(i.from,r.from)||rt(t)-rt(e);if(o)return-o;var s=P(i.to,r.to)||ot(t)-ot(e);return s||e.id-t.id}function at(t,e){var n,i=Js&&t.markedSpans;if(i)for(var r=void 0,o=0;o<i.length;++o)r=i[o],r.marker.collapsed&&null==(e?r.from:r.to)&&(!n||st(n,r.marker)<0)&&(n=r.marker);return n}function lt(t){return at(t,!0)}function ut(t){return at(t,!1)}function ct(t,e,n,i,r){var o=_(t,e),s=Js&&o.markedSpans;if(s)for(var a=0;a<s.length;++a){var l=s[a];if(l.marker.collapsed){var u=l.marker.find(0),c=P(u.from,n)||rt(l.marker)-rt(r),h=P(u.to,i)||ot(l.marker)-ot(r);if(!(c>=0&&h<=0||c<=0&&h>=0)&&(c<=0&&(l.marker.inclusiveRight&&r.inclusiveLeft?P(u.to,n)>=0:P(u.to,n)>0)||c>=0&&(l.marker.inclusiveRight&&r.inclusiveLeft?P(u.from,i)<=0:P(u.from,i)<0)))return!0}}}function ht(t){for(var e;e=lt(t);)t=e.find(-1,!0).line;return t}function pt(t){for(var e;e=ut(t);)t=e.find(1,!0).line;return t}function ft(t){for(var e,n;e=ut(t);)t=e.find(1,!0).line,(n||(n=[])).push(t);return n}function dt(t,e){var n=_(t,e),i=ht(n);return n==i?e:A(i)}function mt(t,e){if(e>t.lastLine())return e;var n,i=_(t,e);if(!vt(t,i))return e;for(;n=ut(i);)i=n.find(1,!0).line;return A(i)+1}function vt(t,e){var n=Js&&e.markedSpans;if(n)for(var i=void 0,r=0;r<n.length;++r)if(i=n[r],i.marker.collapsed){if(null==i.from)return!0;if(!i.marker.widgetNode&&0==i.from&&i.marker.inclusiveLeft&>(t,e,i))return!0}}function gt(t,e,n){if(null==n.to){var i=n.marker.find(1,!0);return gt(t,i.line,Y(i.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==e.text.length)return!0;for(var r=void 0,o=0;o<e.markedSpans.length;++o)if(r=e.markedSpans[o],r.marker.collapsed&&!r.marker.widgetNode&&r.from==n.to&&(null==r.to||r.to!=n.from)&&(r.marker.inclusiveLeft||n.marker.inclusiveRight)&>(t,e,r))return!0}function bt(t){t=ht(t);for(var e=0,n=t.parent,i=0;i<n.lines.length;++i){var r=n.lines[i];if(r==t)break;e+=r.height}for(var o=n.parent;o;n=o,o=n.parent)for(var s=0;s<o.children.length;++s){var a=o.children[s];if(a==n)break;e+=a.height}return e}function yt(t){if(0==t.height)return 0;for(var e,n=t.text.length,i=t;e=lt(i);){var r=e.find(0,!0);i=r.from.line,n+=r.from.ch-r.to.ch}for(i=t;e=ut(i);){var o=e.find(0,!0);n-=i.text.length-o.from.ch,i=o.to.line,n+=i.text.length-o.to.ch}return n}function wt(t){var e=t.display,n=t.doc;e.maxLine=_(n,n.first),e.maxLineLength=yt(e.maxLine),e.maxLineChanged=!0,n.iter(function(t){var n=yt(t);n>e.maxLineLength&&(e.maxLineLength=n,e.maxLine=t)})}function xt(t,e,n,i){if(!t)return i(e,n,"ltr",0);for(var r=!1,o=0;o<t.length;++o){var s=t[o];(s.from<n&&s.to>e||e==n&&s.to==e)&&(i(Math.max(s.from,e),Math.min(s.to,n),1==s.level?"rtl":"ltr",o),r=!0)}r||i(e,n,"ltr")}function St(t,e,n){var i;Zs=null;for(var r=0;r<t.length;++r){var o=t[r];if(o.from<e&&o.to>e)return r;o.to==e&&(o.from!=o.to&&"before"==n?i=r:Zs=r),o.from==e&&(o.from!=o.to&&"before"!=n?i=r:Zs=r)}return null!=i?i:Zs}function Ct(t,e){var n=t.order;return null==n&&(n=t.order=Qs(t.text,e)),n}function Ot(t,e){return t._handlers&&t._handlers[e]||$s}function kt(t,e,n){if(t.removeEventListener)t.removeEventListener(e,n,!1);else if(t.detachEvent)t.detachEvent("on"+e,n);else{var i=t._handlers,r=i&&i[e];if(r){var o=p(r,n);o>-1&&(i[e]=r.slice(0,o).concat(r.slice(o+1)))}}}function Tt(t,e){var n=Ot(t,e);if(n.length)for(var i=Array.prototype.slice.call(arguments,2),r=0;r<n.length;++r)n[r].apply(null,i)}function _t(t,e,n){return"string"==typeof e&&(e={type:e,preventDefault:function(){this.defaultPrevented=!0}}),Tt(t,n||e.type,t,e),Nt(e)||e.codemirrorIgnore}function Lt(t){var e=t._handlers&&t._handlers.cursorActivity;if(e)for(var n=t.curOp.cursorActivityHandlers||(t.curOp.cursorActivityHandlers=[]),i=0;i<e.length;++i)-1==p(n,e[i])&&n.push(e[i])}function It(t,e){return Ot(t,e).length>0}function Mt(t){t.prototype.on=function(t,e){ta(this,t,e)},t.prototype.off=function(t,e){kt(this,t,e)}}function At(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function Et(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}function Nt(t){return null!=t.defaultPrevented?t.defaultPrevented:0==t.returnValue}function Rt(t){At(t),Et(t)}function Dt(t){return t.target||t.srcElement}function Pt(t){var e=t.which;return null==e&&(1&t.button?e=1:2&t.button?e=3:4&t.button&&(e=2)),Is&&t.ctrlKey&&1==e&&(e=3),e}function jt(t){if(null==Ws){var e=i("span","​");n(t,i("span",[e,document.createTextNode("x")])),0!=t.firstChild.offsetHeight&&(Ws=e.offsetWidth<=1&&e.offsetHeight>2&&!(gs&&bs<8))}var r=Ws?i("span","​"):i("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return r.setAttribute("cm-text",""),r}function Ft(t){if(null!=Hs)return Hs;var i=n(t,document.createTextNode("AØ®A")),r=Ns(i,0,1).getBoundingClientRect(),o=Ns(i,1,2).getBoundingClientRect();return e(t),!(!r||r.left==r.right)&&(Hs=o.right-r.right<3)}function Wt(t){if(null!=oa)return oa;var e=n(t,i("span","x")),r=e.getBoundingClientRect(),o=Ns(e,0,1).getBoundingClientRect();return oa=Math.abs(r.left-o.left)>1}function Ht(t,e){arguments.length>2&&(e.dependencies=Array.prototype.slice.call(arguments,2)),sa[t]=e}function Vt(t,e){aa[t]=e}function zt(t){if("string"==typeof t&&aa.hasOwnProperty(t))t=aa[t];else if(t&&"string"==typeof t.name&&aa.hasOwnProperty(t.name)){var e=aa[t.name];"string"==typeof e&&(e={name:e}),t=y(e,t),t.name=e.name}else{if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+xml$/.test(t))return zt("application/xml");if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+json$/.test(t))return zt("application/json")}return"string"==typeof t?{name:t}:t||{name:"null"}}function Bt(t,e){e=zt(e);var n=sa[e.name];if(!n)return Bt(t,"text/plain");var i=n(t,e);if(la.hasOwnProperty(e.name)){var r=la[e.name];for(var o in r)r.hasOwnProperty(o)&&(i.hasOwnProperty(o)&&(i["_"+o]=i[o]),i[o]=r[o])}if(i.name=e.name,e.helperType&&(i.helperType=e.helperType),e.modeProps)for(var s in e.modeProps)i[s]=e.modeProps[s];return i}function qt(t,e){c(e,la.hasOwnProperty(t)?la[t]:la[t]={})}function Kt(t,e){if(!0===e)return e;if(t.copyState)return t.copyState(e);var n={};for(var i in e){var r=e[i];r instanceof Array&&(r=r.concat([])),n[i]=r}return n}function Ut(t,e){for(var n;t.innerMode&&(n=t.innerMode(e))&&n.mode!=t;)e=n.state,t=n.mode;return n||{mode:t,state:e}}function Gt(t,e,n){return!t.startState||t.startState(e,n)}function Yt(t,e,n,i){var r=[t.state.modeGen],o={};ne(t,e.text,t.doc.mode,n,function(t,e){return r.push(t,e)},o,i);for(var s=n.state,a=0;a<t.state.overlays.length;++a)!function(i){n.baseTokens=r;var a=t.state.overlays[i],l=1,u=0;n.state=!0,ne(t,e.text,a.mode,n,function(t,e){for(var n=l;u<t;){var i=r[l];i>t&&r.splice(l,1,t,r[l+1],i),l+=2,u=Math.min(t,i)}if(e)if(a.opaque)r.splice(n,l-n,t,"overlay "+e),l=n+2;else for(;n<l;n+=2){var o=r[n+1];r[n+1]=(o?o+" ":"")+"overlay "+e}},o),n.state=s,n.baseTokens=null,n.baseTokenPos=1}(a);return{styles:r,classes:o.bgClass||o.textClass?o:null}}function Xt(t,e,n){if(!e.styles||e.styles[0]!=t.state.modeGen){var i=Jt(t,A(e)),r=e.text.length>t.options.maxHighlightLength&&Kt(t.doc.mode,i.state),o=Yt(t,e,i);r&&(i.state=r),e.stateAfter=i.save(!r),e.styles=o.styles,o.classes?e.styleClasses=o.classes:e.styleClasses&&(e.styleClasses=null),n===t.doc.highlightFrontier&&(t.doc.modeFrontier=Math.max(t.doc.modeFrontier,++t.doc.highlightFrontier))}return e.styles}function Jt(t,e,n){var i=t.doc,r=t.display;if(!i.mode.startState)return new ha(i,!0,e);var o=ie(t,e,n),s=o>i.first&&_(i,o-1).stateAfter,a=s?ha.fromSaved(i,s,o):new ha(i,Gt(i.mode),o);return i.iter(o,e,function(n){Zt(t,n.text,a);var i=a.line;n.stateAfter=i==e-1||i%5==0||i>=r.viewFrom&&i<r.viewTo?a.save():null,a.nextLine()}),n&&(i.modeFrontier=a.line),a}function Zt(t,e,n,i){var r=t.doc.mode,o=new ua(e,t.options.tabSize,n);for(o.start=o.pos=i||0,""==e&&Qt(r,n.state);!o.eol();)$t(r,o,n.state),o.start=o.pos}function Qt(t,e){if(t.blankLine)return t.blankLine(e);if(t.innerMode){var n=Ut(t,e);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function $t(t,e,n,i){for(var r=0;r<10;r++){i&&(i[0]=Ut(t,n).mode);var o=t.token(e,n);if(e.pos>e.start)return o}throw new Error("Mode "+t.name+" failed to advance stream.")}function te(t,e,n,i){var r,o=t.doc,s=o.mode;e=z(o,e);var a,l=_(o,e.line),u=Jt(t,e.line,n),c=new ua(l.text,t.options.tabSize,u);for(i&&(a=[]);(i||c.pos<e.ch)&&!c.eol();)c.start=c.pos,r=$t(s,c,u.state),i&&a.push(new pa(c,r,Kt(o.mode,u.state)));return i?a:new pa(c,r,u.state)}function ee(t,e){if(t)for(;;){var n=t.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;t=t.slice(0,n.index)+t.slice(n.index+n[0].length);var i=n[1]?"bgClass":"textClass";null==e[i]?e[i]=n[2]:new RegExp("(?:^|s)"+n[2]+"(?:$|s)").test(e[i])||(e[i]+=" "+n[2])}return t}function ne(t,e,n,i,r,o,s){var a=n.flattenSpans;null==a&&(a=t.options.flattenSpans);var l,u=0,c=null,h=new ua(e,t.options.tabSize,i),p=t.options.addModeClass&&[null];for(""==e&&ee(Qt(n,i.state),o);!h.eol();){if(h.pos>t.options.maxHighlightLength?(a=!1,s&&Zt(t,e,i,h.pos),h.pos=e.length,l=null):l=ee($t(n,h,i.state,p),o),p){var f=p[0].name;f&&(l="m-"+(l?f+" "+l:f))}if(!a||c!=l){for(;u<h.start;)u=Math.min(h.start,u+5e3),r(u,c);c=l}h.start=h.pos}for(;u<h.pos;){var d=Math.min(h.pos,u+5e3);r(d,c),u=d}}function ie(t,e,n){for(var i,r,o=t.doc,s=n?-1:e-(t.doc.mode.innerMode?1e3:100),a=e;a>s;--a){if(a<=o.first)return o.first;var l=_(o,a-1),u=l.stateAfter;if(u&&(!n||a+(u instanceof ca?u.lookAhead:0)<=o.modeFrontier))return a;var c=h(l.text,null,t.options.tabSize);(null==r||i>c)&&(r=a-1,i=c)}return r}function re(t,e){if(t.modeFrontier=Math.min(t.modeFrontier,e),!(t.highlightFrontier<e-10)){for(var n=t.first,i=e-1;i>n;i--){var r=_(t,i).stateAfter;if(r&&(!(r instanceof ca)||i+r.lookAhead<e)){n=i+1;break}}t.highlightFrontier=Math.min(t.highlightFrontier,n)}}function oe(t,e,n,i){t.text=e,t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null),null!=t.order&&(t.order=null),nt(t),it(t,n);var r=i?i(t):1;r!=t.height&&M(t,r)}function se(t){t.parent=null,nt(t)}function ae(t,e){if(!t||/^\s*$/.test(t))return null;var n=e.addModeClass?va:ma;return n[t]||(n[t]=t.replace(/\S+/g,"cm-$&"))}function le(t,e){var n=r("span",null,null,ys?"padding-right: .1px":null),i={pre:r("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:t,trailingSpace:!1,splitSpaces:(gs||ys)&&t.getOption("lineWrapping")};e.measure={};for(var o=0;o<=(e.rest?e.rest.length:0);o++){var s=o?e.rest[o-1]:e.line,a=void 0;i.pos=0,i.addToken=ce,Ft(t.display.measure)&&(a=Ct(s,t.doc.direction))&&(i.addToken=pe(i.addToken,a)),i.map=[];de(s,i,Xt(t,s,e!=t.display.externalMeasured&&A(s))),s.styleClasses&&(s.styleClasses.bgClass&&(i.bgClass=l(s.styleClasses.bgClass,i.bgClass||"")),s.styleClasses.textClass&&(i.textClass=l(s.styleClasses.textClass,i.textClass||""))),0==i.map.length&&i.map.push(0,0,i.content.appendChild(jt(t.display.measure))),0==o?(e.measure.map=i.map,e.measure.cache={}):((e.measure.maps||(e.measure.maps=[])).push(i.map),(e.measure.caches||(e.measure.caches=[])).push({}))}if(ys){var u=i.content.lastChild;(/\bcm-tab\b/.test(u.className)||u.querySelector&&u.querySelector(".cm-tab"))&&(i.content.className="cm-tab-wrap-hack")}return Tt(t,"renderLine",t,e.line,i.pre),i.pre.className&&(i.textClass=l(i.pre.className,i.textClass||"")),i}function ue(t){var e=i("span","•","cm-invalidchar");return e.title="\\u"+t.charCodeAt(0).toString(16),e.setAttribute("aria-label",e.title),e}function ce(t,e,n,r,o,s,a){if(e){var l,u=t.splitSpaces?he(e,t.trailingSpace):e,c=t.cm.state.specialChars,h=!1;if(c.test(e)){l=document.createDocumentFragment();for(var p=0;;){c.lastIndex=p;var f=c.exec(e),m=f?f.index-p:e.length-p;if(m){var v=document.createTextNode(u.slice(p,p+m));gs&&bs<9?l.appendChild(i("span",[v])):l.appendChild(v),t.map.push(t.pos,t.pos+m,v),t.col+=m,t.pos+=m}if(!f)break;p+=m+1;var g=void 0;if("\t"==f[0]){var b=t.cm.options.tabSize,y=b-t.col%b;g=l.appendChild(i("span",d(y),"cm-tab")),g.setAttribute("role","presentation"),g.setAttribute("cm-text","\t"),t.col+=y}else"\r"==f[0]||"\n"==f[0]?(g=l.appendChild(i("span","\r"==f[0]?"â":"â¤","cm-invalidchar")),g.setAttribute("cm-text",f[0]),t.col+=1):(g=t.cm.options.specialCharPlaceholder(f[0]),g.setAttribute("cm-text",f[0]),gs&&bs<9?l.appendChild(i("span",[g])):l.appendChild(g),t.col+=1);t.map.push(t.pos,t.pos+1,g),t.pos++}}else t.col+=e.length,l=document.createTextNode(u),t.map.push(t.pos,t.pos+e.length,l),gs&&bs<9&&(h=!0),t.pos+=e.length;if(t.trailingSpace=32==u.charCodeAt(e.length-1),n||r||o||h||a){var w=n||"";r&&(w+=r),o&&(w+=o);var x=i("span",[l],w,a);return s&&(x.title=s),t.content.appendChild(x)}t.content.appendChild(l)}}function he(t,e){if(t.length>1&&!/ /.test(t))return t;for(var n=e,i="",r=0;r<t.length;r++){var o=t.charAt(r);" "!=o||!n||r!=t.length-1&&32!=t.charCodeAt(r+1)||(o=" "),i+=o,n=" "==o}return i}function pe(t,e){return function(n,i,r,o,s,a,l){r=r?r+" cm-force-border":"cm-force-border";for(var u=n.pos,c=u+i.length;;){for(var h=void 0,p=0;p<e.length&&(h=e[p],!(h.to>u&&h.from<=u));p++);if(h.to>=c)return t(n,i,r,o,s,a,l);t(n,i.slice(0,h.to-u),r,o,null,a,l),o=null,i=i.slice(h.to-u),u=h.to}}}function fe(t,e,n,i){var r=!i&&n.widgetNode;r&&t.map.push(t.pos,t.pos+e,r),!i&&t.cm.display.input.needsContentAttribute&&(r||(r=t.content.appendChild(document.createElement("span"))),r.setAttribute("cm-marker",n.id)),r&&(t.cm.display.input.setUneditable(r),t.content.appendChild(r)),t.pos+=e,t.trailingSpace=!1}function de(t,e,n){var i=t.markedSpans,r=t.text,o=0;if(i)for(var s,a,l,u,c,h,p,f=r.length,d=0,m=1,v="",g=0;;){if(g==d){l=u=c=h=a="",p=null,g=1/0;for(var b=[],y=void 0,w=0;w<i.length;++w){var x=i[w],S=x.marker;"bookmark"==S.type&&x.from==d&&S.widgetNode?b.push(S):x.from<=d&&(null==x.to||x.to>d||S.collapsed&&x.to==d&&x.from==d)?(null!=x.to&&x.to!=d&&g>x.to&&(g=x.to,u=""),S.className&&(l+=" "+S.className),S.css&&(a=(a?a+";":"")+S.css),S.startStyle&&x.from==d&&(c+=" "+S.startStyle),S.endStyle&&x.to==g&&(y||(y=[])).push(S.endStyle,x.to),S.title&&!h&&(h=S.title),S.collapsed&&(!p||st(p.marker,S)<0)&&(p=x)):x.from>d&&g>x.from&&(g=x.from)}if(y)for(var C=0;C<y.length;C+=2)y[C+1]==g&&(u+=" "+y[C]);if(!p||p.from==d)for(var O=0;O<b.length;++O)fe(e,0,b[O]);if(p&&(p.from||0)==d){if(fe(e,(null==p.to?f+1:p.to)-d,p.marker,null==p.from),null==p.to)return;p.to==d&&(p=!1)}}if(d>=f)break;for(var k=Math.min(f,g);;){if(v){var T=d+v.length;if(!p){var _=T>k?v.slice(0,k-d):v;e.addToken(e,_,s?s+l:l,c,d+_.length==g?u:"",h,a)}if(T>=k){v=v.slice(k-d),d=k;break}d=T,c=""}v=r.slice(o,o=n[m++]),s=ae(n[m++],e.cm.options)}}else for(var L=1;L<n.length;L+=2)e.addToken(e,r.slice(o,o=n[L]),ae(n[L+1],e.cm.options))}function me(t,e,n){this.line=e,this.rest=ft(e),this.size=this.rest?A(m(this.rest))-n+1:1,this.node=this.text=null,this.hidden=vt(t,e)}function ve(t,e,n){for(var i,r=[],o=e;o<n;o=i){var s=new me(t.doc,_(t.doc,o),o);i=o+s.size,r.push(s)}return r}function ge(t){ga?ga.ops.push(t):t.ownsGroup=ga={ops:[t],delayedCallbacks:[]}}function be(t){var e=t.delayedCallbacks,n=0;do{for(;n<e.length;n++)e[n].call(null);for(var i=0;i<t.ops.length;i++){var r=t.ops[i];if(r.cursorActivityHandlers)for(;r.cursorActivityCalled<r.cursorActivityHandlers.length;)r.cursorActivityHandlers[r.cursorActivityCalled++].call(null,r.cm)}}while(n<e.length)}function ye(t,e){var n=t.ownsGroup;if(n)try{be(n)}finally{ga=null,e(n)}}function we(t,e){var n=Ot(t,e);if(n.length){var i,r=Array.prototype.slice.call(arguments,2);ga?i=ga.delayedCallbacks:ba?i=ba:(i=ba=[],setTimeout(xe,0));for(var o=0;o<n.length;++o)!function(t){i.push(function(){return n[t].apply(null,r)})}(o)}}function xe(){var t=ba;ba=null;for(var e=0;e<t.length;++e)t[e]()}function Se(t,e,n,i){for(var r=0;r<e.changes.length;r++){var o=e.changes[r];"text"==o?Te(t,e):"gutter"==o?Le(t,e,n,i):"class"==o?_e(t,e):"widget"==o&&Ie(t,e,i)}e.changes=null}function Ce(t){return t.node==t.text&&(t.node=i("div",null,null,"position: relative"),t.text.parentNode&&t.text.parentNode.replaceChild(t.node,t.text),t.node.appendChild(t.text),gs&&bs<8&&(t.node.style.zIndex=2)),t.node}function Oe(t,e){var n=e.bgClass?e.bgClass+" "+(e.line.bgClass||""):e.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),e.background)n?e.background.className=n:(e.background.parentNode.removeChild(e.background),e.background=null);else if(n){var r=Ce(e);e.background=r.insertBefore(i("div",null,n),r.firstChild),t.display.input.setUneditable(e.background)}}function ke(t,e){var n=t.display.externalMeasured;return n&&n.line==e.line?(t.display.externalMeasured=null,e.measure=n.measure,n.built):le(t,e)}function Te(t,e){var n=e.text.className,i=ke(t,e);e.text==e.node&&(e.node=i.pre),e.text.parentNode.replaceChild(i.pre,e.text),e.text=i.pre,i.bgClass!=e.bgClass||i.textClass!=e.textClass?(e.bgClass=i.bgClass,e.textClass=i.textClass,_e(t,e)):n&&(e.text.className=n)}function _e(t,e){Oe(t,e),e.line.wrapClass?Ce(e).className=e.line.wrapClass:e.node!=e.text&&(e.node.className="");var n=e.textClass?e.textClass+" "+(e.line.textClass||""):e.line.textClass;e.text.className=n||""}function Le(t,e,n,r){if(e.gutter&&(e.node.removeChild(e.gutter),e.gutter=null),e.gutterBackground&&(e.node.removeChild(e.gutterBackground),e.gutterBackground=null),e.line.gutterClass){var o=Ce(e);e.gutterBackground=i("div",null,"CodeMirror-gutter-background "+e.line.gutterClass,"left: "+(t.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),t.display.input.setUneditable(e.gutterBackground),o.insertBefore(e.gutterBackground,e.text)}var s=e.line.gutterMarkers;if(t.options.lineNumbers||s){var a=Ce(e),l=e.gutter=i("div",null,"CodeMirror-gutter-wrapper","left: "+(t.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(t.display.input.setUneditable(l),a.insertBefore(l,e.text),e.line.gutterClass&&(l.className+=" "+e.line.gutterClass),!t.options.lineNumbers||s&&s["CodeMirror-linenumbers"]||(e.lineNumber=l.appendChild(i("div",R(t.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+t.display.lineNumInnerWidth+"px"))),s)for(var u=0;u<t.options.gutters.length;++u){var c=t.options.gutters[u],h=s.hasOwnProperty(c)&&s[c];h&&l.appendChild(i("div",[h],"CodeMirror-gutter-elt","left: "+r.gutterLeft[c]+"px; width: "+r.gutterWidth[c]+"px"))}}}function Ie(t,e,n){e.alignable&&(e.alignable=null);for(var i=e.node.firstChild,r=void 0;i;i=r)r=i.nextSibling,"CodeMirror-linewidget"==i.className&&e.node.removeChild(i);Ae(t,e,n)}function Me(t,e,n,i){var r=ke(t,e);return e.text=e.node=r.pre,r.bgClass&&(e.bgClass=r.bgClass),r.textClass&&(e.textClass=r.textClass),_e(t,e),Le(t,e,n,i),Ae(t,e,i),e.node}function Ae(t,e,n){if(Ee(t,e.line,e,n,!0),e.rest)for(var i=0;i<e.rest.length;i++)Ee(t,e.rest[i],e,n,!1)}function Ee(t,e,n,r,o){if(e.widgets)for(var s=Ce(n),a=0,l=e.widgets;a<l.length;++a){var u=l[a],c=i("div",[u.node],"CodeMirror-linewidget");u.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),Ne(u,c,n,r),t.display.input.setUneditable(c),o&&u.above?s.insertBefore(c,n.gutter||n.text):s.appendChild(c),we(u,"redraw")}}function Ne(t,e,n,i){if(t.noHScroll){(n.alignable||(n.alignable=[])).push(e);var r=i.wrapperWidth;e.style.left=i.fixedPos+"px",t.coverGutter||(r-=i.gutterTotalWidth,e.style.paddingLeft=i.gutterTotalWidth+"px"),e.style.width=r+"px"}t.coverGutter&&(e.style.zIndex=5,e.style.position="relative",t.noHScroll||(e.style.marginLeft=-i.gutterTotalWidth+"px"))}function Re(t){if(null!=t.height)return t.height;var e=t.doc.cm;if(!e)return 0;if(!o(document.body,t.node)){var r="position: relative;";t.coverGutter&&(r+="margin-left: -"+e.display.gutters.offsetWidth+"px;"),t.noHScroll&&(r+="width: "+e.display.wrapper.clientWidth+"px;"),n(e.display.measure,i("div",[t.node],null,r))}return t.height=t.node.parentNode.offsetHeight}function De(t,e){for(var n=Dt(e);n!=t.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==t.sizer&&n!=t.mover)return!0}function Pe(t){return t.lineSpace.offsetTop}function je(t){return t.mover.offsetHeight-t.lineSpace.offsetHeight}function Fe(t){if(t.cachedPaddingH)return t.cachedPaddingH;var e=n(t.measure,i("pre","x")),r=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,o={left:parseInt(r.paddingLeft),right:parseInt(r.paddingRight)};return isNaN(o.left)||isNaN(o.right)||(t.cachedPaddingH=o),o}function We(t){return Vs-t.display.nativeBarWidth}function He(t){return t.display.scroller.clientWidth-We(t)-t.display.barWidth}function Ve(t){return t.display.scroller.clientHeight-We(t)-t.display.barHeight}function ze(t,e,n){var i=t.options.lineWrapping,r=i&&He(t);if(!e.measure.heights||i&&e.measure.width!=r){var o=e.measure.heights=[];if(i){e.measure.width=r;for(var s=e.text.firstChild.getClientRects(),a=0;a<s.length-1;a++){var l=s[a],u=s[a+1];Math.abs(l.bottom-u.bottom)>2&&o.push((l.bottom+u.top)/2-n.top)}}o.push(n.bottom-n.top)}}function Be(t,e,n){if(t.line==e)return{map:t.measure.map,cache:t.measure.cache};for(var i=0;i<t.rest.length;i++)if(t.rest[i]==e)return{map:t.measure.maps[i],cache:t.measure.caches[i]};for(var r=0;r<t.rest.length;r++)if(A(t.rest[r])>n)return{map:t.measure.maps[r],cache:t.measure.caches[r],before:!0}}function qe(t,e){e=ht(e);var i=A(e),r=t.display.externalMeasured=new me(t.doc,e,i);r.lineN=i;var o=r.built=le(t,r);return r.text=o.pre,n(t.display.lineMeasure,o.pre),r}function Ke(t,e,n,i){return Ye(t,Ge(t,e),n,i)}function Ue(t,e){if(e>=t.display.viewFrom&&e<t.display.viewTo)return t.display.view[Tn(t,e)];var n=t.display.externalMeasured;return n&&e>=n.lineN&&e<n.lineN+n.size?n:void 0}function Ge(t,e){var n=A(e),i=Ue(t,n);i&&!i.text?i=null:i&&i.changes&&(Se(t,i,n,xn(t)),t.curOp.forceUpdate=!0),i||(i=qe(t,e));var r=Be(i,e,n);return{line:e,view:i,rect:null,map:r.map,cache:r.cache,before:r.before,hasHeights:!1}}function Ye(t,e,n,i,r){e.before&&(n=-1);var o,s=n+(i||"");return e.cache.hasOwnProperty(s)?o=e.cache[s]:(e.rect||(e.rect=e.view.text.getBoundingClientRect()),e.hasHeights||(ze(t,e.view,e.rect),e.hasHeights=!0),o=Ze(t,e,n,i),o.bogus||(e.cache[s]=o)),{left:o.left,right:o.right,top:r?o.rtop:o.top,bottom:r?o.rbottom:o.bottom}}function Xe(t,e,n){for(var i,r,o,s,a,l,u=0;u<t.length;u+=3)if(a=t[u],l=t[u+1],e<a?(r=0,o=1,s="left"):e<l?(r=e-a,o=r+1):(u==t.length-3||e==l&&t[u+3]>e)&&(o=l-a,r=o-1,e>=l&&(s="right")),null!=r){if(i=t[u+2],a==l&&n==(i.insertLeft?"left":"right")&&(s=n),"left"==n&&0==r)for(;u&&t[u-2]==t[u-3]&&t[u-1].insertLeft;)i=t[2+(u-=3)],s="left";if("right"==n&&r==l-a)for(;u<t.length-3&&t[u+3]==t[u+4]&&!t[u+5].insertLeft;)i=t[(u+=3)+2],s="right";break}return{node:i,start:r,end:o,collapse:s,coverStart:a,coverEnd:l}}function Je(t,e){var n=ya;if("left"==e)for(var i=0;i<t.length&&(n=t[i]).left==n.right;i++);else for(var r=t.length-1;r>=0&&(n=t[r]).left==n.right;r--);return n}function Ze(t,e,n,i){var r,o=Xe(e.map,n,i),s=o.node,a=o.start,l=o.end,u=o.collapse;if(3==s.nodeType){for(var c=0;c<4;c++){for(;a&&C(e.line.text.charAt(o.coverStart+a));)--a;for(;o.coverStart+l<o.coverEnd&&C(e.line.text.charAt(o.coverStart+l));)++l;if(r=gs&&bs<9&&0==a&&l==o.coverEnd-o.coverStart?s.parentNode.getBoundingClientRect():Je(Ns(s,a,l).getClientRects(),i),r.left||r.right||0==a)break;l=a,a-=1,u="right"}gs&&bs<11&&(r=Qe(t.display.measure,r))}else{a>0&&(u=i="right");var h;r=t.options.lineWrapping&&(h=s.getClientRects()).length>1?h["right"==i?h.length-1:0]:s.getBoundingClientRect()}if(gs&&bs<9&&!a&&(!r||!r.left&&!r.right)){var p=s.parentNode.getClientRects()[0];r=p?{left:p.left,right:p.left+wn(t.display),top:p.top,bottom:p.bottom}:ya}for(var f=r.top-e.rect.top,d=r.bottom-e.rect.top,m=(f+d)/2,v=e.view.measure.heights,g=0;g<v.length-1&&!(m<v[g]);g++);var b=g?v[g-1]:0,y=v[g],w={left:("right"==u?r.right:r.left)-e.rect.left,right:("left"==u?r.left:r.right)-e.rect.left,top:b,bottom:y};return r.left||r.right||(w.bogus=!0),t.options.singleCursorHeightPerLine||(w.rtop=f,w.rbottom=d),w}function Qe(t,e){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!Wt(t))return e;var n=screen.logicalXDPI/screen.deviceXDPI,i=screen.logicalYDPI/screen.deviceYDPI;return{left:e.left*n,right:e.right*n,top:e.top*i,bottom:e.bottom*i}}function $e(t){if(t.measure&&(t.measure.cache={},t.measure.heights=null,t.rest))for(var e=0;e<t.rest.length;e++)t.measure.caches[e]={}}function tn(t){t.display.externalMeasure=null,e(t.display.lineMeasure);for(var n=0;n<t.display.view.length;n++)$e(t.display.view[n])}function en(t){tn(t),t.display.cachedCharWidth=t.display.cachedTextHeight=t.display.cachedPaddingH=null,t.options.lineWrapping||(t.display.maxLineChanged=!0),t.display.lineNumChars=null}function nn(){return xs&&_s?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function rn(){return xs&&_s?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function on(t){var e=0;if(t.widgets)for(var n=0;n<t.widgets.length;++n)t.widgets[n].above&&(e+=Re(t.widgets[n]));return e}function sn(t,e,n,i,r){if(!r){var o=on(e);n.top+=o,n.bottom+=o}if("line"==i)return n;i||(i="local");var s=bt(e);if("local"==i?s+=Pe(t.display):s-=t.display.viewOffset,"page"==i||"window"==i){var a=t.display.lineSpace.getBoundingClientRect();s+=a.top+("window"==i?0:rn());var l=a.left+("window"==i?0:nn());n.left+=l,n.right+=l}return n.top+=s,n.bottom+=s,n}function an(t,e,n){if("div"==n)return e;var i=e.left,r=e.top;if("page"==n)i-=nn(),r-=rn();else if("local"==n||!n){var o=t.display.sizer.getBoundingClientRect();i+=o.left,r+=o.top}var s=t.display.lineSpace.getBoundingClientRect();return{left:i-s.left,top:r-s.top}}function ln(t,e,n,i,r){return i||(i=_(t.doc,e.line)),sn(t,i,Ke(t,i,e.ch,r),n)}function un(t,e,n,i,r,o){function s(e,s){var a=Ye(t,r,e,s?"right":"left",o);return s?a.left=a.right:a.right=a.left,sn(t,i,a,n)}function a(t,e,n){var i=l[e],r=1==i.level;return s(n?t-1:t,r!=n)}i=i||_(t.doc,e.line),r||(r=Ge(t,i));var l=Ct(i,t.doc.direction),u=e.ch,c=e.sticky;if(u>=i.text.length?(u=i.text.length,c="before"):u<=0&&(u=0,c="after"),!l)return s("before"==c?u-1:u,"before"==c);var h=St(l,u,c),p=Zs,f=a(u,h,"before"==c);return null!=p&&(f.other=a(u,p,"before"!=c)),f}function cn(t,e){var n=0;e=z(t.doc,e),t.options.lineWrapping||(n=wn(t.display)*e.ch);var i=_(t.doc,e.line),r=bt(i)+Pe(t.display);return{left:n,right:n,top:r,bottom:r+i.height}}function hn(t,e,n,i,r){var o=D(t,e,n);return o.xRel=r,i&&(o.outside=!0),o}function pn(t,e,n){var i=t.doc;if((n+=t.display.viewOffset)<0)return hn(i.first,0,null,!0,-1);var r=E(i,n),o=i.first+i.size-1;if(r>o)return hn(i.first+i.size-1,_(i,o).text.length,null,!0,1);e<0&&(e=0);for(var s=_(i,r);;){var a=vn(t,s,r,e,n),l=ut(s),u=l&&l.find(0,!0);if(!l||!(a.ch>u.from.ch||a.ch==u.from.ch&&a.xRel>0))return a;r=A(s=u.to.line)}}function fn(t,e,n,i){i-=on(e);var r=e.text.length,o=k(function(e){return Ye(t,n,e-1).bottom<=i},r,0);return r=k(function(e){return Ye(t,n,e).top>i},o,r),{begin:o,end:r}}function dn(t,e,n,i){return n||(n=Ge(t,e)),fn(t,e,n,sn(t,e,Ye(t,n,i),"line").top)}function mn(t,e,n,i){return!(t.bottom<=n)&&(t.top>n||(i?t.left:t.right)>e)}function vn(t,e,n,i,r){r-=bt(e);var o=Ge(t,e),s=on(e),a=0,l=e.text.length,u=!0,c=Ct(e,t.doc.direction);if(c){var h=(t.options.lineWrapping?bn:gn)(t,e,n,o,c,i,r);u=1!=h.level,a=u?h.from:h.to-1,l=u?h.to:h.from-1}var p,f,d=null,m=null,v=k(function(e){var n=Ye(t,o,e);return n.top+=s,n.bottom+=s,!!mn(n,i,r,!1)&&(n.top<=r&&n.left<=i&&(d=e,m=n),!0)},a,l),g=!1;if(m){var b=i-m.left<m.right-i,y=b==u;v=d+(y?0:1),f=y?"after":"before",p=b?m.left:m.right}else{u||v!=l&&v!=a||v++,f=0==v?"after":v==e.text.length?"before":Ye(t,o,v-(u?1:0)).bottom+s<=r==u?"after":"before";var w=un(t,D(n,v,f),"line",e,o);p=w.left,g=r<w.top||r>=w.bottom}return v=O(e.text,v,1),hn(n,v,f,g,i-p)}function gn(t,e,n,i,r,o,s){var a=k(function(a){var l=r[a],u=1!=l.level;return mn(un(t,D(n,u?l.to:l.from,u?"before":"after"),"line",e,i),o,s,!0)},0,r.length-1),l=r[a];if(a>0){var u=1!=l.level,c=un(t,D(n,u?l.from:l.to,u?"after":"before"),"line",e,i);mn(c,o,s,!0)&&c.top>s&&(l=r[a-1])}return l}function bn(t,e,n,i,r,o,s){var a=fn(t,e,i,s),l=a.begin,u=a.end;/\s/.test(e.text.charAt(u-1))&&u--;for(var c=null,h=null,p=0;p<r.length;p++){var f=r[p];if(!(f.from>=u||f.to<=l)){var d=1!=f.level,m=Ye(t,i,d?Math.min(u,f.to)-1:Math.max(l,f.from)).right,v=m<o?o-m+1e9:m-o;(!c||h>v)&&(c=f,h=v)}}return c||(c=r[r.length-1]),c.from<l&&(c={from:l,to:c.to,level:c.level}),c.to>u&&(c={from:c.from,to:u,level:c.level}),c}function yn(t){if(null!=t.cachedTextHeight)return t.cachedTextHeight;if(null==da){da=i("pre");for(var r=0;r<49;++r)da.appendChild(document.createTextNode("x")),da.appendChild(i("br"));da.appendChild(document.createTextNode("x"))}n(t.measure,da);var o=da.offsetHeight/50;return o>3&&(t.cachedTextHeight=o),e(t.measure),o||1}function wn(t){if(null!=t.cachedCharWidth)return t.cachedCharWidth;var e=i("span","xxxxxxxxxx"),r=i("pre",[e]);n(t.measure,r);var o=e.getBoundingClientRect(),s=(o.right-o.left)/10;return s>2&&(t.cachedCharWidth=s),s||10}function xn(t){for(var e=t.display,n={},i={},r=e.gutters.clientLeft,o=e.gutters.firstChild,s=0;o;o=o.nextSibling,++s)n[t.options.gutters[s]]=o.offsetLeft+o.clientLeft+r,i[t.options.gutters[s]]=o.clientWidth;return{fixedPos:Sn(e),gutterTotalWidth:e.gutters.offsetWidth,gutterLeft:n,gutterWidth:i,wrapperWidth:e.wrapper.clientWidth}}function Sn(t){return t.scroller.getBoundingClientRect().left-t.sizer.getBoundingClientRect().left}function Cn(t){var e=yn(t.display),n=t.options.lineWrapping,i=n&&Math.max(5,t.display.scroller.clientWidth/wn(t.display)-3);return function(r){if(vt(t.doc,r))return 0;var o=0;if(r.widgets)for(var s=0;s<r.widgets.length;s++)r.widgets[s].height&&(o+=r.widgets[s].height);return n?o+(Math.ceil(r.text.length/i)||1)*e:o+e}}function On(t){var e=t.doc,n=Cn(t);e.iter(function(t){var e=n(t);e!=t.height&&M(t,e)})}function kn(t,e,n,i){var r=t.display;if(!n&&"true"==Dt(e).getAttribute("cm-not-content"))return null;var o,s,a=r.lineSpace.getBoundingClientRect();try{o=e.clientX-a.left,s=e.clientY-a.top}catch(e){return null}var l,u=pn(t,o,s);if(i&&1==u.xRel&&(l=_(t.doc,u.line).text).length==u.ch){var c=h(l,l.length,t.options.tabSize)-l.length;u=D(u.line,Math.max(0,Math.round((o-Fe(t.display).left)/wn(t.display))-c))}return u}function Tn(t,e){if(e>=t.display.viewTo)return null;if((e-=t.display.viewFrom)<0)return null;for(var n=t.display.view,i=0;i<n.length;i++)if((e-=n[i].size)<0)return i}function _n(t){t.display.input.showSelection(t.display.input.prepareSelection())}function Ln(t,e){void 0===e&&(e=!0);for(var n=t.doc,i={},r=i.cursors=document.createDocumentFragment(),o=i.selection=document.createDocumentFragment(),s=0;s<n.sel.ranges.length;s++)if(e||s!=n.sel.primIndex){var a=n.sel.ranges[s];if(!(a.from().line>=t.display.viewTo||a.to().line<t.display.viewFrom)){var l=a.empty();(l||t.options.showCursorWhenSelecting)&&In(t,a.head,r),l||An(t,a,o)}}return i}function In(t,e,n){var r=un(t,e,"div",null,null,!t.options.singleCursorHeightPerLine),o=n.appendChild(i("div"," ","CodeMirror-cursor"));if(o.style.left=r.left+"px",o.style.top=r.top+"px",o.style.height=Math.max(0,r.bottom-r.top)*t.options.cursorHeight+"px",r.other){var s=n.appendChild(i("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));s.style.display="",s.style.left=r.other.left+"px",s.style.top=r.other.top+"px",s.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function Mn(t,e){return t.top-e.top||t.left-e.left}function An(t,e,n){function r(t,e,n,r){e<0&&(e=0),e=Math.round(e),r=Math.round(r),l.appendChild(i("div",null,"CodeMirror-selected","position: absolute; left: "+t+"px;\n top: "+e+"px; width: "+(null==n?h-t:n)+"px;\n height: "+(r-e)+"px"))}function o(e,n,i){function o(n,i){return ln(t,D(e,n),"div",f,i)}function s(e,n,i){var r=dn(t,f,null,e),s="ltr"==n==("after"==i)?"left":"right";return o("after"==i?r.begin:r.end-(/\s/.test(f.text.charAt(r.end-1))?2:1),s)[s]}var l,u,f=_(a,e),d=f.text.length,m=Ct(f,a.direction);return xt(m,n||0,null==i?d:i,function(t,e,a,f){var v="ltr"==a,g=o(t,v?"left":"right"),b=o(e-1,v?"right":"left"),y=null==n&&0==t,w=null==i&&e==d,x=0==f,S=!m||f==m.length-1;if(b.top-g.top<=3){var C=(p?y:w)&&x,O=(p?w:y)&&S,k=C?c:(v?g:b).left,T=O?h:(v?b:g).right;r(k,g.top,T-k,g.bottom)}else{var _,L,I,M;v?(_=p&&y&&x?c:g.left,L=p?h:s(t,a,"before"),I=p?c:s(e,a,"after"),M=p&&w&&S?h:b.right):(_=p?s(t,a,"before"):c,L=!p&&y&&x?h:g.right,I=!p&&w&&S?c:b.left,M=p?s(e,a,"after"):h),r(_,g.top,L-_,g.bottom),g.bottom<b.top&&r(c,g.bottom,null,b.top),r(I,b.top,M-I,b.bottom)}(!l||Mn(g,l)<0)&&(l=g),Mn(b,l)<0&&(l=b),(!u||Mn(g,u)<0)&&(u=g),Mn(b,u)<0&&(u=b)}),{start:l,end:u}}var s=t.display,a=t.doc,l=document.createDocumentFragment(),u=Fe(t.display),c=u.left,h=Math.max(s.sizerWidth,He(t)-s.sizer.offsetLeft)-u.right,p="ltr"==a.direction,f=e.from(),d=e.to();if(f.line==d.line)o(f.line,f.ch,d.ch);else{var m=_(a,f.line),v=_(a,d.line),g=ht(m)==ht(v),b=o(f.line,f.ch,g?m.text.length+1:null).end,y=o(d.line,g?0:null,d.ch).start;g&&(b.top<y.top-2?(r(b.right,b.top,null,b.bottom),r(c,y.top,y.left,y.bottom)):r(b.right,b.top,y.left-b.right,b.bottom)),b.bottom<y.top&&r(c,b.bottom,null,y.top)}n.appendChild(l)}function En(t){if(t.state.focused){var e=t.display;clearInterval(e.blinker);var n=!0;e.cursorDiv.style.visibility="",t.options.cursorBlinkRate>0?e.blinker=setInterval(function(){return e.cursorDiv.style.visibility=(n=!n)?"":"hidden"},t.options.cursorBlinkRate):t.options.cursorBlinkRate<0&&(e.cursorDiv.style.visibility="hidden")}}function Nn(t){t.state.focused||(t.display.input.focus(),Dn(t))}function Rn(t){t.state.delayingBlurEvent=!0,setTimeout(function(){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1,Pn(t))},100)}function Dn(t,e){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1),"nocursor"!=t.options.readOnly&&(t.state.focused||(Tt(t,"focus",t,e),t.state.focused=!0,a(t.display.wrapper,"CodeMirror-focused"),t.curOp||t.display.selForContextMenu==t.doc.sel||(t.display.input.reset(),ys&&setTimeout(function(){return t.display.input.reset(!0)},20)),t.display.input.receivedFocus()),En(t))}function Pn(t,e){t.state.delayingBlurEvent||(t.state.focused&&(Tt(t,"blur",t,e),t.state.focused=!1,Ps(t.display.wrapper,"CodeMirror-focused")),clearInterval(t.display.blinker),setTimeout(function(){t.state.focused||(t.display.shift=!1)},150))}function jn(t){for(var e=t.display,n=e.lineDiv.offsetTop,i=0;i<e.view.length;i++){var r=e.view[i],o=void 0;if(!r.hidden){if(gs&&bs<8){var s=r.node.offsetTop+r.node.offsetHeight;o=s-n,n=s}else{var a=r.node.getBoundingClientRect();o=a.bottom-a.top}var l=r.line.height-o;if(o<2&&(o=yn(e)),(l>.005||l<-.005)&&(M(r.line,o),Fn(r.line),r.rest))for(var u=0;u<r.rest.length;u++)Fn(r.rest[u])}}}function Fn(t){if(t.widgets)for(var e=0;e<t.widgets.length;++e)t.widgets[e].height=t.widgets[e].node.parentNode.offsetHeight}function Wn(t,e,n){var i=n&&null!=n.top?Math.max(0,n.top):t.scroller.scrollTop;i=Math.floor(i-Pe(t));var r=n&&null!=n.bottom?n.bottom:i+t.wrapper.clientHeight,o=E(e,i),s=E(e,r);if(n&&n.ensure){var a=n.ensure.from.line,l=n.ensure.to.line;a<o?(o=a,s=E(e,bt(_(e,a))+t.wrapper.clientHeight)):Math.min(l,e.lastLine())>=s&&(o=E(e,bt(_(e,l))-t.wrapper.clientHeight),s=l)}return{from:o,to:Math.max(s,o+1)}}function Hn(t){var e=t.display,n=e.view;if(e.alignWidgets||e.gutters.firstChild&&t.options.fixedGutter){for(var i=Sn(e)-e.scroller.scrollLeft+t.doc.scrollLeft,r=e.gutters.offsetWidth,o=i+"px",s=0;s<n.length;s++)if(!n[s].hidden){t.options.fixedGutter&&(n[s].gutter&&(n[s].gutter.style.left=o),n[s].gutterBackground&&(n[s].gutterBackground.style.left=o));var a=n[s].alignable;if(a)for(var l=0;l<a.length;l++)a[l].style.left=o}t.options.fixedGutter&&(e.gutters.style.left=i+r+"px")}}function Vn(t){if(!t.options.lineNumbers)return!1;var e=t.doc,n=R(t.options,e.first+e.size-1),r=t.display;if(n.length!=r.lineNumChars){var o=r.measure.appendChild(i("div",[i("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),s=o.firstChild.offsetWidth,a=o.offsetWidth-s;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(s,r.lineGutter.offsetWidth-a)+1,r.lineNumWidth=r.lineNumInnerWidth+a,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",Ei(t),!0}return!1}function zn(t,e){if(!_t(t,"scrollCursorIntoView")){var n=t.display,r=n.sizer.getBoundingClientRect(),o=null;if(e.top+r.top<0?o=!0:e.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(o=!1),null!=o&&!ks){var s=i("div","​",null,"position: absolute;\n top: "+(e.top-n.viewOffset-Pe(t.display))+"px;\n height: "+(e.bottom-e.top+We(t)+n.barHeight)+"px;\n left: "+e.left+"px; width: "+Math.max(2,e.right-e.left)+"px;");t.display.lineSpace.appendChild(s),s.scrollIntoView(o),t.display.lineSpace.removeChild(s)}}}function Bn(t,e,n,i){null==i&&(i=0);var r;t.options.lineWrapping||e!=n||(e=e.ch?D(e.line,"before"==e.sticky?e.ch-1:e.ch,"after"):e,n="before"==e.sticky?D(e.line,e.ch+1,"before"):e);for(var o=0;o<5;o++){var s=!1,a=un(t,e),l=n&&n!=e?un(t,n):a;r={left:Math.min(a.left,l.left),top:Math.min(a.top,l.top)-i,right:Math.max(a.left,l.left),bottom:Math.max(a.bottom,l.bottom)+i};var u=Kn(t,r),c=t.doc.scrollTop,h=t.doc.scrollLeft;if(null!=u.scrollTop&&(Qn(t,u.scrollTop),Math.abs(t.doc.scrollTop-c)>1&&(s=!0)),null!=u.scrollLeft&&(ti(t,u.scrollLeft),Math.abs(t.doc.scrollLeft-h)>1&&(s=!0)),!s)break}return r}function qn(t,e){var n=Kn(t,e);null!=n.scrollTop&&Qn(t,n.scrollTop),null!=n.scrollLeft&&ti(t,n.scrollLeft)}function Kn(t,e){var n=t.display,i=yn(t.display);e.top<0&&(e.top=0);var r=t.curOp&&null!=t.curOp.scrollTop?t.curOp.scrollTop:n.scroller.scrollTop,o=Ve(t),s={};e.bottom-e.top>o&&(e.bottom=e.top+o);var a=t.doc.height+je(n),l=e.top<i,u=e.bottom>a-i;if(e.top<r)s.scrollTop=l?0:e.top;else if(e.bottom>r+o){var c=Math.min(e.top,(u?a:e.bottom)-o);c!=r&&(s.scrollTop=c)}var h=t.curOp&&null!=t.curOp.scrollLeft?t.curOp.scrollLeft:n.scroller.scrollLeft,p=He(t)-(t.options.fixedGutter?n.gutters.offsetWidth:0),f=e.right-e.left>p;return f&&(e.right=e.left+p),e.left<10?s.scrollLeft=0:e.left<h?s.scrollLeft=Math.max(0,e.left-(f?0:10)):e.right>p+h-3&&(s.scrollLeft=e.right+(f?0:10)-p),s}function Un(t,e){null!=e&&(Jn(t),t.curOp.scrollTop=(null==t.curOp.scrollTop?t.doc.scrollTop:t.curOp.scrollTop)+e)}function Gn(t){Jn(t);var e=t.getCursor();t.curOp.scrollToPos={from:e,to:e,margin:t.options.cursorScrollMargin}}function Yn(t,e,n){null==e&&null==n||Jn(t),null!=e&&(t.curOp.scrollLeft=e),null!=n&&(t.curOp.scrollTop=n)}function Xn(t,e){Jn(t),t.curOp.scrollToPos=e}function Jn(t){var e=t.curOp.scrollToPos;if(e){t.curOp.scrollToPos=null;Zn(t,cn(t,e.from),cn(t,e.to),e.margin)}}function Zn(t,e,n,i){var r=Kn(t,{left:Math.min(e.left,n.left),top:Math.min(e.top,n.top)-i,right:Math.max(e.right,n.right),bottom:Math.max(e.bottom,n.bottom)+i});Yn(t,r.scrollLeft,r.scrollTop)}function Qn(t,e){Math.abs(t.doc.scrollTop-e)<2||(fs||Mi(t,{top:e}),$n(t,e,!0),fs&&Mi(t),Ci(t,100))}function $n(t,e,n){e=Math.min(t.display.scroller.scrollHeight-t.display.scroller.clientHeight,e),(t.display.scroller.scrollTop!=e||n)&&(t.doc.scrollTop=e,t.display.scrollbars.setScrollTop(e),t.display.scroller.scrollTop!=e&&(t.display.scroller.scrollTop=e))}function ti(t,e,n,i){e=Math.min(e,t.display.scroller.scrollWidth-t.display.scroller.clientWidth),(n?e==t.doc.scrollLeft:Math.abs(t.doc.scrollLeft-e)<2)&&!i||(t.doc.scrollLeft=e,Hn(t),t.display.scroller.scrollLeft!=e&&(t.display.scroller.scrollLeft=e),t.display.scrollbars.setScrollLeft(e))}function ei(t){var e=t.display,n=e.gutters.offsetWidth,i=Math.round(t.doc.height+je(t.display));return{clientHeight:e.scroller.clientHeight,viewHeight:e.wrapper.clientHeight,scrollWidth:e.scroller.scrollWidth,clientWidth:e.scroller.clientWidth,viewWidth:e.wrapper.clientWidth,barLeft:t.options.fixedGutter?n:0,docHeight:i,scrollHeight:i+We(t)+e.barHeight,nativeBarWidth:e.nativeBarWidth,gutterWidth:n}}function ni(t,e){e||(e=ei(t));var n=t.display.barWidth,i=t.display.barHeight;ii(t,e);for(var r=0;r<4&&n!=t.display.barWidth||i!=t.display.barHeight;r++)n!=t.display.barWidth&&t.options.lineWrapping&&jn(t),ii(t,ei(t)),n=t.display.barWidth,i=t.display.barHeight}function ii(t,e){var n=t.display,i=n.scrollbars.update(e);n.sizer.style.paddingRight=(n.barWidth=i.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=i.bottom)+"px",n.heightForcer.style.borderBottom=i.bottom+"px solid transparent",i.right&&i.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=i.bottom+"px",n.scrollbarFiller.style.width=i.right+"px"):n.scrollbarFiller.style.display="",i.bottom&&t.options.coverGutterNextToScrollbar&&t.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=i.bottom+"px",n.gutterFiller.style.width=e.gutterWidth+"px"):n.gutterFiller.style.display=""}function ri(t){t.display.scrollbars&&(t.display.scrollbars.clear(),t.display.scrollbars.addClass&&Ps(t.display.wrapper,t.display.scrollbars.addClass)),t.display.scrollbars=new Sa[t.options.scrollbarStyle](function(e){t.display.wrapper.insertBefore(e,t.display.scrollbarFiller),ta(e,"mousedown",function(){t.state.focused&&setTimeout(function(){return t.display.input.focus()},0)}),e.setAttribute("cm-not-content","true")},function(e,n){"horizontal"==n?ti(t,e):Qn(t,e)},t),t.display.scrollbars.addClass&&a(t.display.wrapper,t.display.scrollbars.addClass)}function oi(t){t.curOp={cm:t,viewChanged:!1,startHeight:t.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Ca},ge(t.curOp)}function si(t){ye(t.curOp,function(t){for(var e=0;e<t.ops.length;e++)t.ops[e].cm.curOp=null;ai(t)})}function ai(t){for(var e=t.ops,n=0;n<e.length;n++)li(e[n]);for(var i=0;i<e.length;i++)ui(e[i]);for(var r=0;r<e.length;r++)ci(e[r]);for(var o=0;o<e.length;o++)hi(e[o]);for(var s=0;s<e.length;s++)pi(e[s])}function li(t){var e=t.cm,n=e.display;ki(e),t.updateMaxLine&&wt(e),t.mustUpdate=t.viewChanged||t.forceUpdate||null!=t.scrollTop||t.scrollToPos&&(t.scrollToPos.from.line<n.viewFrom||t.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&e.options.lineWrapping,t.update=t.mustUpdate&&new Oa(e,t.mustUpdate&&{top:t.scrollTop,ensure:t.scrollToPos},t.forceUpdate)}function ui(t){t.updatedDisplay=t.mustUpdate&&Li(t.cm,t.update)}function ci(t){var e=t.cm,n=e.display;t.updatedDisplay&&jn(e),t.barMeasure=ei(e),n.maxLineChanged&&!e.options.lineWrapping&&(t.adjustWidthTo=Ke(e,n.maxLine,n.maxLine.text.length).left+3,e.display.sizerWidth=t.adjustWidthTo,t.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+t.adjustWidthTo+We(e)+e.display.barWidth),t.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+t.adjustWidthTo-He(e))),(t.updatedDisplay||t.selectionChanged)&&(t.preparedSelection=n.input.prepareSelection())}function hi(t){var e=t.cm;null!=t.adjustWidthTo&&(e.display.sizer.style.minWidth=t.adjustWidthTo+"px",t.maxScrollLeft<e.doc.scrollLeft&&ti(e,Math.min(e.display.scroller.scrollLeft,t.maxScrollLeft),!0),e.display.maxLineChanged=!1);var n=t.focus&&t.focus==s();t.preparedSelection&&e.display.input.showSelection(t.preparedSelection,n),(t.updatedDisplay||t.startHeight!=e.doc.height)&&ni(e,t.barMeasure),t.updatedDisplay&&Ni(e,t.barMeasure),t.selectionChanged&&En(e),e.state.focused&&t.updateInput&&e.display.input.reset(t.typing),n&&Nn(t.cm)}function pi(t){var e=t.cm,n=e.display,i=e.doc;if(t.updatedDisplay&&Ii(e,t.update),null==n.wheelStartX||null==t.scrollTop&&null==t.scrollLeft&&!t.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=t.scrollTop&&$n(e,t.scrollTop,t.forceScroll),null!=t.scrollLeft&&ti(e,t.scrollLeft,!0,!0),t.scrollToPos){zn(e,Bn(e,z(i,t.scrollToPos.from),z(i,t.scrollToPos.to),t.scrollToPos.margin))}var r=t.maybeHiddenMarkers,o=t.maybeUnhiddenMarkers;if(r)for(var s=0;s<r.length;++s)r[s].lines.length||Tt(r[s],"hide");if(o)for(var a=0;a<o.length;++a)o[a].lines.length&&Tt(o[a],"unhide");n.wrapper.offsetHeight&&(i.scrollTop=e.display.scroller.scrollTop),t.changeObjs&&Tt(e,"changes",e,t.changeObjs),t.update&&t.update.finish()}function fi(t,e){if(t.curOp)return e();oi(t);try{return e()}finally{si(t)}}function di(t,e){return function(){if(t.curOp)return e.apply(t,arguments);oi(t);try{return e.apply(t,arguments)}finally{si(t)}}}function mi(t){return function(){if(this.curOp)return t.apply(this,arguments);oi(this);try{return t.apply(this,arguments)}finally{si(this)}}}function vi(t){return function(){var e=this.cm;if(!e||e.curOp)return t.apply(this,arguments);oi(e);try{return t.apply(this,arguments)}finally{si(e)}}}function gi(t,e,n,i){null==e&&(e=t.doc.first),null==n&&(n=t.doc.first+t.doc.size),i||(i=0);var r=t.display;if(i&&n<r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>e)&&(r.updateLineNumbers=e),t.curOp.viewChanged=!0,e>=r.viewTo)Js&&dt(t.doc,e)<r.viewTo&&yi(t);else if(n<=r.viewFrom)Js&&mt(t.doc,n+i)>r.viewFrom?yi(t):(r.viewFrom+=i,r.viewTo+=i);else if(e<=r.viewFrom&&n>=r.viewTo)yi(t);else if(e<=r.viewFrom){var o=wi(t,n,n+i,1);o?(r.view=r.view.slice(o.index),r.viewFrom=o.lineN,r.viewTo+=i):yi(t)}else if(n>=r.viewTo){var s=wi(t,e,e,-1);s?(r.view=r.view.slice(0,s.index),r.viewTo=s.lineN):yi(t)}else{var a=wi(t,e,e,-1),l=wi(t,n,n+i,1);a&&l?(r.view=r.view.slice(0,a.index).concat(ve(t,a.lineN,l.lineN)).concat(r.view.slice(l.index)),r.viewTo+=i):yi(t)}var u=r.externalMeasured;u&&(n<u.lineN?u.lineN+=i:e<u.lineN+u.size&&(r.externalMeasured=null))}function bi(t,e,n){t.curOp.viewChanged=!0;var i=t.display,r=t.display.externalMeasured;if(r&&e>=r.lineN&&e<r.lineN+r.size&&(i.externalMeasured=null),!(e<i.viewFrom||e>=i.viewTo)){var o=i.view[Tn(t,e)];if(null!=o.node){var s=o.changes||(o.changes=[]);-1==p(s,n)&&s.push(n)}}}function yi(t){t.display.viewFrom=t.display.viewTo=t.doc.first,t.display.view=[],t.display.viewOffset=0}function wi(t,e,n,i){var r,o=Tn(t,e),s=t.display.view;if(!Js||n==t.doc.first+t.doc.size)return{index:o,lineN:n};for(var a=t.display.viewFrom,l=0;l<o;l++)a+=s[l].size;if(a!=e){if(i>0){if(o==s.length-1)return null;r=a+s[o].size-e,o++}else r=a-e;e+=r,n+=r}for(;dt(t.doc,n)!=n;){if(o==(i<0?0:s.length-1))return null;n+=i*s[o-(i<0?1:0)].size,o+=i}return{index:o,lineN:n}}function xi(t,e,n){var i=t.display;0==i.view.length||e>=i.viewTo||n<=i.viewFrom?(i.view=ve(t,e,n),i.viewFrom=e):(i.viewFrom>e?i.view=ve(t,e,i.viewFrom).concat(i.view):i.viewFrom<e&&(i.view=i.view.slice(Tn(t,e))),i.viewFrom=e,i.viewTo<n?i.view=i.view.concat(ve(t,i.viewTo,n)):i.viewTo>n&&(i.view=i.view.slice(0,Tn(t,n)))),i.viewTo=n}function Si(t){for(var e=t.display.view,n=0,i=0;i<e.length;i++){var r=e[i];r.hidden||r.node&&!r.changes||++n}return n}function Ci(t,e){t.doc.highlightFrontier<t.display.viewTo&&t.state.highlight.set(e,u(Oi,t))}function Oi(t){var e=t.doc;if(!(e.highlightFrontier>=t.display.viewTo)){var n=+new Date+t.options.workTime,i=Jt(t,e.highlightFrontier),r=[];e.iter(i.line,Math.min(e.first+e.size,t.display.viewTo+500),function(o){if(i.line>=t.display.viewFrom){var s=o.styles,a=o.text.length>t.options.maxHighlightLength?Kt(e.mode,i.state):null,l=Yt(t,o,i,!0);a&&(i.state=a),o.styles=l.styles;var u=o.styleClasses,c=l.classes;c?o.styleClasses=c:u&&(o.styleClasses=null);for(var h=!s||s.length!=o.styles.length||u!=c&&(!u||!c||u.bgClass!=c.bgClass||u.textClass!=c.textClass),p=0;!h&&p<s.length;++p)h=s[p]!=o.styles[p];h&&r.push(i.line),o.stateAfter=i.save(),i.nextLine()}else o.text.length<=t.options.maxHighlightLength&&Zt(t,o.text,i),o.stateAfter=i.line%5==0?i.save():null,i.nextLine();if(+new Date>n)return Ci(t,t.options.workDelay),!0}),e.highlightFrontier=i.line,e.modeFrontier=Math.max(e.modeFrontier,i.line),r.length&&fi(t,function(){for(var e=0;e<r.length;e++)bi(t,r[e],"text")})}}function ki(t){var e=t.display;!e.scrollbarsClipped&&e.scroller.offsetWidth&&(e.nativeBarWidth=e.scroller.offsetWidth-e.scroller.clientWidth,e.heightForcer.style.height=We(t)+"px",e.sizer.style.marginBottom=-e.nativeBarWidth+"px",e.sizer.style.borderRightWidth=We(t)+"px",e.scrollbarsClipped=!0)}function Ti(t){if(t.hasFocus())return null;var e=s();if(!e||!o(t.display.lineDiv,e))return null;var n={activeElt:e};if(window.getSelection){var i=window.getSelection();i.anchorNode&&i.extend&&o(t.display.lineDiv,i.anchorNode)&&(n.anchorNode=i.anchorNode,n.anchorOffset=i.anchorOffset,n.focusNode=i.focusNode,n.focusOffset=i.focusOffset)}return n}function _i(t){if(t&&t.activeElt&&t.activeElt!=s()&&(t.activeElt.focus(),t.anchorNode&&o(document.body,t.anchorNode)&&o(document.body,t.focusNode))){var e=window.getSelection(),n=document.createRange();n.setEnd(t.anchorNode,t.anchorOffset),n.collapse(!1),e.removeAllRanges(),e.addRange(n),e.extend(t.focusNode,t.focusOffset)}}function Li(t,n){var i=t.display,r=t.doc;if(n.editorIsHidden)return yi(t),!1;if(!n.force&&n.visible.from>=i.viewFrom&&n.visible.to<=i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>=i.viewTo)&&i.renderedView==i.view&&0==Si(t))return!1;Vn(t)&&(yi(t),n.dims=xn(t));var o=r.first+r.size,s=Math.max(n.visible.from-t.options.viewportMargin,r.first),a=Math.min(o,n.visible.to+t.options.viewportMargin);i.viewFrom<s&&s-i.viewFrom<20&&(s=Math.max(r.first,i.viewFrom)),i.viewTo>a&&i.viewTo-a<20&&(a=Math.min(o,i.viewTo)),Js&&(s=dt(t.doc,s),a=mt(t.doc,a));var l=s!=i.viewFrom||a!=i.viewTo||i.lastWrapHeight!=n.wrapperHeight||i.lastWrapWidth!=n.wrapperWidth;xi(t,s,a),i.viewOffset=bt(_(t.doc,i.viewFrom)),t.display.mover.style.top=i.viewOffset+"px";var u=Si(t);if(!l&&0==u&&!n.force&&i.renderedView==i.view&&(null==i.updateLineNumbers||i.updateLineNumbers>=i.viewTo))return!1;var c=Ti(t);return u>4&&(i.lineDiv.style.display="none"),Ai(t,i.updateLineNumbers,n.dims),u>4&&(i.lineDiv.style.display=""),i.renderedView=i.view,_i(c),e(i.cursorDiv),e(i.selectionDiv),i.gutters.style.height=i.sizer.style.minHeight=0,l&&(i.lastWrapHeight=n.wrapperHeight,i.lastWrapWidth=n.wrapperWidth,Ci(t,400)),i.updateLineNumbers=null,!0}function Ii(t,e){for(var n=e.viewport,i=!0;(i&&t.options.lineWrapping&&e.oldDisplayWidth!=He(t)||(n&&null!=n.top&&(n={top:Math.min(t.doc.height+je(t.display)-Ve(t),n.top)}),e.visible=Wn(t.display,t.doc,n),!(e.visible.from>=t.display.viewFrom&&e.visible.to<=t.display.viewTo)))&&Li(t,e);i=!1){jn(t);var r=ei(t);_n(t),ni(t,r),Ni(t,r),e.force=!1}e.signal(t,"update",t),t.display.viewFrom==t.display.reportedViewFrom&&t.display.viewTo==t.display.reportedViewTo||(e.signal(t,"viewportChange",t,t.display.viewFrom,t.display.viewTo),t.display.reportedViewFrom=t.display.viewFrom,t.display.reportedViewTo=t.display.viewTo)}function Mi(t,e){var n=new Oa(t,e);if(Li(t,n)){jn(t),Ii(t,n);var i=ei(t);_n(t),ni(t,i),Ni(t,i),n.finish()}}function Ai(t,n,i){function r(e){var n=e.nextSibling;return ys&&Is&&t.display.currentWheelTarget==e?e.style.display="none":e.parentNode.removeChild(e),n}for(var o=t.display,s=t.options.lineNumbers,a=o.lineDiv,l=a.firstChild,u=o.view,c=o.viewFrom,h=0;h<u.length;h++){var f=u[h];if(f.hidden);else if(f.node&&f.node.parentNode==a){for(;l!=f.node;)l=r(l);var d=s&&null!=n&&n<=c&&f.lineNumber;f.changes&&(p(f.changes,"gutter")>-1&&(d=!1),Se(t,f,c,i)),d&&(e(f.lineNumber),f.lineNumber.appendChild(document.createTextNode(R(t.options,c)))),l=f.node.nextSibling}else{var m=Me(t,f,c,i);a.insertBefore(m,l)}c+=f.size}for(;l;)l=r(l)}function Ei(t){var e=t.display.gutters.offsetWidth;t.display.sizer.style.marginLeft=e+"px"}function Ni(t,e){t.display.sizer.style.minHeight=e.docHeight+"px",t.display.heightForcer.style.top=e.docHeight+"px",t.display.gutters.style.height=e.docHeight+t.display.barHeight+We(t)+"px"}function Ri(t){var n=t.display.gutters,r=t.options.gutters;e(n);for(var o=0;o<r.length;++o){var s=r[o],a=n.appendChild(i("div",null,"CodeMirror-gutter "+s));"CodeMirror-linenumbers"==s&&(t.display.lineGutter=a,a.style.width=(t.display.lineNumWidth||1)+"px")}n.style.display=o?"":"none",Ei(t)}function Di(t){var e=p(t.gutters,"CodeMirror-linenumbers");-1==e&&t.lineNumbers?t.gutters=t.gutters.concat(["CodeMirror-linenumbers"]):e>-1&&!t.lineNumbers&&(t.gutters=t.gutters.slice(0),t.gutters.splice(e,1))}function Pi(t){var e=t.wheelDeltaX,n=t.wheelDeltaY;return null==e&&t.detail&&t.axis==t.HORIZONTAL_AXIS&&(e=t.detail),null==n&&t.detail&&t.axis==t.VERTICAL_AXIS?n=t.detail:null==n&&(n=t.wheelDelta),{x:e,y:n}}function ji(t){var e=Pi(t);return e.x*=Ta,e.y*=Ta,e}function Fi(t,e){var n=Pi(e),i=n.x,r=n.y,o=t.display,s=o.scroller,a=s.scrollWidth>s.clientWidth,l=s.scrollHeight>s.clientHeight;if(i&&a||r&&l){if(r&&Is&&ys)t:for(var u=e.target,c=o.view;u!=s;u=u.parentNode)for(var h=0;h<c.length;h++)if(c[h].node==u){t.display.currentWheelTarget=u;break t}if(i&&!fs&&!Ss&&null!=Ta)return r&&l&&Qn(t,Math.max(0,s.scrollTop+r*Ta)),ti(t,Math.max(0,s.scrollLeft+i*Ta)),(!r||r&&l)&&At(e),void(o.wheelStartX=null);if(r&&null!=Ta){var p=r*Ta,f=t.doc.scrollTop,d=f+o.wrapper.clientHeight;p<0?f=Math.max(0,f+p-50):d=Math.min(t.doc.height,d+p+50),Mi(t,{top:f,bottom:d})}ka<20&&(null==o.wheelStartX?(o.wheelStartX=s.scrollLeft,o.wheelStartY=s.scrollTop,o.wheelDX=i,o.wheelDY=r,setTimeout(function(){if(null!=o.wheelStartX){var t=s.scrollLeft-o.wheelStartX,e=s.scrollTop-o.wheelStartY,n=e&&o.wheelDY&&e/o.wheelDY||t&&o.wheelDX&&t/o.wheelDX;o.wheelStartX=o.wheelStartY=null,n&&(Ta=(Ta*ka+n)/(ka+1),++ka)}},200)):(o.wheelDX+=i,o.wheelDY+=r))}}function Wi(t,e){var n=t[e];t.sort(function(t,e){return P(t.from(),e.from())}),e=p(t,n);for(var i=1;i<t.length;i++){var r=t[i],o=t[i-1];if(P(o.to(),r.from())>=0){var s=H(o.from(),r.from()),a=W(o.to(),r.to()),l=o.empty()?r.from()==r.head:o.from()==o.head;i<=e&&--e,t.splice(--i,2,new La(l?a:s,l?s:a))}}return new _a(t,e)}function Hi(t,e){return new _a([new La(t,e||t)],0)}function Vi(t){return t.text?D(t.from.line+t.text.length-1,m(t.text).length+(1==t.text.length?t.from.ch:0)):t.to}function zi(t,e){if(P(t,e.from)<0)return t;if(P(t,e.to)<=0)return Vi(e);var n=t.line+e.text.length-(e.to.line-e.from.line)-1,i=t.ch;return t.line==e.to.line&&(i+=Vi(e).ch-e.to.ch),D(n,i)}function Bi(t,e){for(var n=[],i=0;i<t.sel.ranges.length;i++){var r=t.sel.ranges[i];n.push(new La(zi(r.anchor,e),zi(r.head,e)))}return Wi(n,t.sel.primIndex)}function qi(t,e,n){return t.line==e.line?D(n.line,t.ch-e.ch+n.ch):D(n.line+(t.line-e.line),t.ch)}function Ki(t,e,n){for(var i=[],r=D(t.first,0),o=r,s=0;s<e.length;s++){var a=e[s],l=qi(a.from,r,o),u=qi(Vi(a),r,o);if(r=a.to,o=u,"around"==n){var c=t.sel.ranges[s],h=P(c.head,c.anchor)<0;i[s]=new La(h?u:l,h?l:u)}else i[s]=new La(l,l)}return new _a(i,t.sel.primIndex)}function Ui(t){t.doc.mode=Bt(t.options,t.doc.modeOption),Gi(t)}function Gi(t){t.doc.iter(function(t){t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null)}),t.doc.modeFrontier=t.doc.highlightFrontier=t.doc.first,Ci(t,100),t.state.modeGen++,t.curOp&&gi(t)}function Yi(t,e){return 0==e.from.ch&&0==e.to.ch&&""==m(e.text)&&(!t.cm||t.cm.options.wholeLineUpdateBefore)}function Xi(t,e,n,i){function r(t){return n?n[t]:null}function o(t,n,r){oe(t,n,r,i),we(t,"change",t,e)}function s(t,e){for(var n=[],o=t;o<e;++o)n.push(new fa(u[o],r(o),i));return n}var a=e.from,l=e.to,u=e.text,c=_(t,a.line),h=_(t,l.line),p=m(u),f=r(u.length-1),d=l.line-a.line;if(e.full)t.insert(0,s(0,u.length)),t.remove(u.length,t.size-u.length);else if(Yi(t,e)){var v=s(0,u.length-1);o(h,h.text,f),d&&t.remove(a.line,d),v.length&&t.insert(a.line,v)}else if(c==h)if(1==u.length)o(c,c.text.slice(0,a.ch)+p+c.text.slice(l.ch),f);else{var g=s(1,u.length-1);g.push(new fa(p+c.text.slice(l.ch),f,i)),o(c,c.text.slice(0,a.ch)+u[0],r(0)),t.insert(a.line+1,g)}else if(1==u.length)o(c,c.text.slice(0,a.ch)+u[0]+h.text.slice(l.ch),r(0)),t.remove(a.line+1,d);else{o(c,c.text.slice(0,a.ch)+u[0],r(0)),o(h,p+h.text.slice(l.ch),f);var b=s(1,u.length-1);d>1&&t.remove(a.line+1,d-1),t.insert(a.line+1,b)}we(t,"change",t,e)}function Ji(t,e,n){function i(t,r,o){if(t.linked)for(var s=0;s<t.linked.length;++s){var a=t.linked[s];if(a.doc!=r){var l=o&&a.sharedHist;n&&!l||(e(a.doc,l),i(a.doc,t,l))}}}i(t,null,!0)}function Zi(t,e){if(e.cm)throw new Error("This document is already in use.");t.doc=e,e.cm=t,On(t),Ui(t),Qi(t),t.options.lineWrapping||wt(t),t.options.mode=e.modeOption,gi(t)}function Qi(t){("rtl"==t.doc.direction?a:Ps)(t.display.lineDiv,"CodeMirror-rtl")}function $i(t){fi(t,function(){Qi(t),gi(t)})}function tr(t){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=t||1}function er(t,e){var n={from:F(e.from),to:Vi(e),text:L(t,e.from,e.to)};return lr(t,n,e.from.line,e.to.line+1),Ji(t,function(t){return lr(t,n,e.from.line,e.to.line+1)},!0),n}function nr(t){for(;t.length;){if(!m(t).ranges)break;t.pop()}}function ir(t,e){return e?(nr(t.done),m(t.done)):t.done.length&&!m(t.done).ranges?m(t.done):t.done.length>1&&!t.done[t.done.length-2].ranges?(t.done.pop(),m(t.done)):void 0}function rr(t,e,n,i){var r=t.history;r.undone.length=0;var o,s,a=+new Date;if((r.lastOp==i||r.lastOrigin==e.origin&&e.origin&&("+"==e.origin.charAt(0)&&t.cm&&r.lastModTime>a-t.cm.options.historyEventDelay||"*"==e.origin.charAt(0)))&&(o=ir(r,r.lastOp==i)))s=m(o.changes),0==P(e.from,e.to)&&0==P(e.from,s.to)?s.to=Vi(e):o.changes.push(er(t,e));else{var l=m(r.done);for(l&&l.ranges||ar(t.sel,r.done),o={changes:[er(t,e)],generation:r.generation},r.done.push(o);r.done.length>r.undoDepth;)r.done.shift(),r.done[0].ranges||r.done.shift()}r.done.push(n),r.generation=++r.maxGeneration,r.lastModTime=r.lastSelTime=a,r.lastOp=r.lastSelOp=i,r.lastOrigin=r.lastSelOrigin=e.origin,s||Tt(t,"historyAdded")}function or(t,e,n,i){var r=e.charAt(0);return"*"==r||"+"==r&&n.ranges.length==i.ranges.length&&n.somethingSelected()==i.somethingSelected()&&new Date-t.history.lastSelTime<=(t.cm?t.cm.options.historyEventDelay:500)}function sr(t,e,n,i){var r=t.history,o=i&&i.origin;n==r.lastSelOp||o&&r.lastSelOrigin==o&&(r.lastModTime==r.lastSelTime&&r.lastOrigin==o||or(t,o,m(r.done),e))?r.done[r.done.length-1]=e:ar(e,r.done),r.lastSelTime=+new Date,r.lastSelOrigin=o,r.lastSelOp=n,i&&!1!==i.clearRedo&&nr(r.undone)}function ar(t,e){var n=m(e);n&&n.ranges&&n.equals(t)||e.push(t)}function lr(t,e,n,i){var r=e["spans_"+t.id],o=0;t.iter(Math.max(t.first,n),Math.min(t.first+t.size,i),function(n){n.markedSpans&&((r||(r=e["spans_"+t.id]={}))[o]=n.markedSpans),++o})}function ur(t){if(!t)return null;for(var e,n=0;n<t.length;++n)t[n].marker.explicitlyCleared?e||(e=t.slice(0,n)):e&&e.push(t[n]);return e?e.length?e:null:t}function cr(t,e){var n=e["spans_"+t.id];if(!n)return null;for(var i=[],r=0;r<e.text.length;++r)i.push(ur(n[r]));return i}function hr(t,e){var n=cr(t,e),i=$(t,e);if(!n)return i;if(!i)return n;for(var r=0;r<n.length;++r){var o=n[r],s=i[r];if(o&&s)t:for(var a=0;a<s.length;++a){for(var l=s[a],u=0;u<o.length;++u)if(o[u].marker==l.marker)continue t;o.push(l)}else s&&(n[r]=s)}return n}function pr(t,e,n){for(var i=[],r=0;r<t.length;++r){var o=t[r];if(o.ranges)i.push(n?_a.prototype.deepCopy.call(o):o);else{var s=o.changes,a=[];i.push({changes:a});for(var l=0;l<s.length;++l){var u=s[l],c=void 0;if(a.push({from:u.from,to:u.to,text:u.text}),e)for(var h in u)(c=h.match(/^spans_(\d+)$/))&&p(e,Number(c[1]))>-1&&(m(a)[h]=u[h],delete u[h])}}}return i}function fr(t,e,n,i){if(i){var r=t.anchor;if(n){var o=P(e,r)<0;o!=P(n,r)<0?(r=e,e=n):o!=P(e,n)<0&&(e=n)}return new La(r,e)}return new La(n||e,e)}function dr(t,e,n,i,r){null==r&&(r=t.cm&&(t.cm.display.shift||t.extend)),wr(t,new _a([fr(t.sel.primary(),e,n,r)],0),i)}function mr(t,e,n){for(var i=[],r=t.cm&&(t.cm.display.shift||t.extend),o=0;o<t.sel.ranges.length;o++)i[o]=fr(t.sel.ranges[o],e[o],null,r);wr(t,Wi(i,t.sel.primIndex),n)}function vr(t,e,n,i){var r=t.sel.ranges.slice(0);r[e]=n,wr(t,Wi(r,t.sel.primIndex),i)}function gr(t,e,n,i){wr(t,Hi(e,n),i)}function br(t,e,n){var i={ranges:e.ranges,update:function(e){var n=this;this.ranges=[];for(var i=0;i<e.length;i++)n.ranges[i]=new La(z(t,e[i].anchor),z(t,e[i].head))},origin:n&&n.origin};return Tt(t,"beforeSelectionChange",t,i),t.cm&&Tt(t.cm,"beforeSelectionChange",t.cm,i),i.ranges!=e.ranges?Wi(i.ranges,i.ranges.length-1):e}function yr(t,e,n){var i=t.history.done,r=m(i);r&&r.ranges?(i[i.length-1]=e,xr(t,e,n)):wr(t,e,n)}function wr(t,e,n){xr(t,e,n),sr(t,t.sel,t.cm?t.cm.curOp.id:NaN,n)}function xr(t,e,n){(It(t,"beforeSelectionChange")||t.cm&&It(t.cm,"beforeSelectionChange"))&&(e=br(t,e,n)),Sr(t,Or(t,e,n&&n.bias||(P(e.primary().head,t.sel.primary().head)<0?-1:1),!0)),n&&!1===n.scroll||!t.cm||Gn(t.cm)}function Sr(t,e){e.equals(t.sel)||(t.sel=e,t.cm&&(t.cm.curOp.updateInput=t.cm.curOp.selectionChanged=!0,Lt(t.cm)),we(t,"cursorActivity",t))}function Cr(t){Sr(t,Or(t,t.sel,null,!1))}function Or(t,e,n,i){for(var r,o=0;o<e.ranges.length;o++){var s=e.ranges[o],a=e.ranges.length==t.sel.ranges.length&&t.sel.ranges[o],l=Tr(t,s.anchor,a&&a.anchor,n,i),u=Tr(t,s.head,a&&a.head,n,i);(r||l!=s.anchor||u!=s.head)&&(r||(r=e.ranges.slice(0,o)),r[o]=new La(l,u))}return r?Wi(r,e.primIndex):e}function kr(t,e,n,i,r){var o=_(t,e.line);if(o.markedSpans)for(var s=0;s<o.markedSpans.length;++s){var a=o.markedSpans[s],l=a.marker;if((null==a.from||(l.inclusiveLeft?a.from<=e.ch:a.from<e.ch))&&(null==a.to||(l.inclusiveRight?a.to>=e.ch:a.to>e.ch))){if(r&&(Tt(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--s;continue}break}if(!l.atomic)continue;if(n){var u=l.find(i<0?1:-1),c=void 0;if((i<0?l.inclusiveRight:l.inclusiveLeft)&&(u=_r(t,u,-i,u&&u.line==e.line?o:null)),u&&u.line==e.line&&(c=P(u,n))&&(i<0?c<0:c>0))return kr(t,u,e,i,r)}var h=l.find(i<0?-1:1);return(i<0?l.inclusiveLeft:l.inclusiveRight)&&(h=_r(t,h,i,h.line==e.line?o:null)),h?kr(t,h,e,i,r):null}}return e}function Tr(t,e,n,i,r){var o=i||1,s=kr(t,e,n,o,r)||!r&&kr(t,e,n,o,!0)||kr(t,e,n,-o,r)||!r&&kr(t,e,n,-o,!0);return s||(t.cantEdit=!0,D(t.first,0))}function _r(t,e,n,i){return n<0&&0==e.ch?e.line>t.first?z(t,D(e.line-1)):null:n>0&&e.ch==(i||_(t,e.line)).text.length?e.line<t.first+t.size-1?D(e.line+1,0):null:new D(e.line,e.ch+n)}function Lr(t){t.setSelection(D(t.firstLine(),0),D(t.lastLine()),Bs)}function Ir(t,e,n){var i={canceled:!1,from:e.from,to:e.to,text:e.text,origin:e.origin,cancel:function(){return i.canceled=!0}};return n&&(i.update=function(e,n,r,o){e&&(i.from=z(t,e)),n&&(i.to=z(t,n)),r&&(i.text=r),void 0!==o&&(i.origin=o)}),Tt(t,"beforeChange",t,i),t.cm&&Tt(t.cm,"beforeChange",t.cm,i),i.canceled?null:{from:i.from,to:i.to,text:i.text,origin:i.origin}}function Mr(t,e,n){if(t.cm){if(!t.cm.curOp)return di(t.cm,Mr)(t,e,n);if(t.cm.state.suppressEdits)return}if(!(It(t,"beforeChange")||t.cm&&It(t.cm,"beforeChange"))||(e=Ir(t,e,!0))){var i=Xs&&!n&&et(t,e.from,e.to);if(i)for(var r=i.length-1;r>=0;--r)Ar(t,{from:i[r].from,to:i[r].to,text:r?[""]:e.text,origin:e.origin});else Ar(t,e)}}function Ar(t,e){if(1!=e.text.length||""!=e.text[0]||0!=P(e.from,e.to)){var n=Bi(t,e);rr(t,e,n,t.cm?t.cm.curOp.id:NaN),Rr(t,e,n,$(t,e));var i=[];Ji(t,function(t,n){n||-1!=p(i,t.history)||(Wr(t.history,e),i.push(t.history)),Rr(t,e,null,$(t,e))})}}function Er(t,e,n){if(!t.cm||!t.cm.state.suppressEdits||n){for(var i,r=t.history,o=t.sel,s="undo"==e?r.done:r.undone,a="undo"==e?r.undone:r.done,l=0;l<s.length&&(i=s[l],n?!i.ranges||i.equals(t.sel):i.ranges);l++);if(l!=s.length){for(r.lastOrigin=r.lastSelOrigin=null;i=s.pop(),i.ranges;){if(ar(i,a),n&&!i.equals(t.sel))return void wr(t,i,{clearRedo:!1});o=i}var u=[];ar(o,a),a.push({changes:u,generation:r.generation}),r.generation=i.generation||++r.maxGeneration;for(var c=It(t,"beforeChange")||t.cm&&It(t.cm,"beforeChange"),h=i.changes.length-1;h>=0;--h){var f=function(n){var r=i.changes[n];if(r.origin=e,c&&!Ir(t,r,!1))return s.length=0,{};u.push(er(t,r));var o=n?Bi(t,r):m(s);Rr(t,r,o,hr(t,r)),!n&&t.cm&&t.cm.scrollIntoView({from:r.from,to:Vi(r)});var a=[];Ji(t,function(t,e){e||-1!=p(a,t.history)||(Wr(t.history,r),a.push(t.history)),Rr(t,r,null,hr(t,r))})}(h);if(f)return f.v}}}}function Nr(t,e){if(0!=e&&(t.first+=e,t.sel=new _a(v(t.sel.ranges,function(t){return new La(D(t.anchor.line+e,t.anchor.ch),D(t.head.line+e,t.head.ch))}),t.sel.primIndex),t.cm)){gi(t.cm,t.first,t.first-e,e);for(var n=t.cm.display,i=n.viewFrom;i<n.viewTo;i++)bi(t.cm,i,"gutter")}}function Rr(t,e,n,i){if(t.cm&&!t.cm.curOp)return di(t.cm,Rr)(t,e,n,i);if(e.to.line<t.first)return void Nr(t,e.text.length-1-(e.to.line-e.from.line));if(!(e.from.line>t.lastLine())){if(e.from.line<t.first){var r=e.text.length-1-(t.first-e.from.line);Nr(t,r),e={from:D(t.first,0),to:D(e.to.line+r,e.to.ch),text:[m(e.text)],origin:e.origin}}var o=t.lastLine();e.to.line>o&&(e={from:e.from,to:D(o,_(t,o).text.length),text:[e.text[0]],origin:e.origin}),e.removed=L(t,e.from,e.to),n||(n=Bi(t,e)),t.cm?Dr(t.cm,e,i):Xi(t,e,i),xr(t,n,Bs)}}function Dr(t,e,n){var i=t.doc,r=t.display,o=e.from,s=e.to,a=!1,l=o.line;t.options.lineWrapping||(l=A(ht(_(i,o.line))),i.iter(l,s.line+1,function(t){if(t==r.maxLine)return a=!0,!0})),i.sel.contains(e.from,e.to)>-1&&Lt(t),Xi(i,e,n,Cn(t)),t.options.lineWrapping||(i.iter(l,o.line+e.text.length,function(t){var e=yt(t);e>r.maxLineLength&&(r.maxLine=t,r.maxLineLength=e,r.maxLineChanged=!0,a=!1)}),a&&(t.curOp.updateMaxLine=!0)),re(i,o.line),Ci(t,400);var u=e.text.length-(s.line-o.line)-1;e.full?gi(t):o.line!=s.line||1!=e.text.length||Yi(t.doc,e)?gi(t,o.line,s.line+1,u):bi(t,o.line,"text");var c=It(t,"changes"),h=It(t,"change");if(h||c){var p={from:o,to:s,text:e.text,removed:e.removed,origin:e.origin};h&&we(t,"change",t,p),c&&(t.curOp.changeObjs||(t.curOp.changeObjs=[])).push(p)}t.display.selForContextMenu=null}function Pr(t,e,n,i,r){if(i||(i=n),P(i,n)<0){var o;o=[i,n],n=o[0],i=o[1]}"string"==typeof e&&(e=t.splitLines(e)),Mr(t,{from:n,to:i,text:e,origin:r})}function jr(t,e,n,i){n<t.line?t.line+=i:e<t.line&&(t.line=e,t.ch=0)}function Fr(t,e,n,i){for(var r=0;r<t.length;++r){var o=t[r],s=!0;if(o.ranges){o.copied||(o=t[r]=o.deepCopy(),o.copied=!0);for(var a=0;a<o.ranges.length;a++)jr(o.ranges[a].anchor,e,n,i),jr(o.ranges[a].head,e,n,i)}else{for(var l=0;l<o.changes.length;++l){var u=o.changes[l];if(n<u.from.line)u.from=D(u.from.line+i,u.from.ch),u.to=D(u.to.line+i,u.to.ch);else if(e<=u.to.line){s=!1;break}}s||(t.splice(0,r+1),r=0)}}}function Wr(t,e){var n=e.from.line,i=e.to.line,r=e.text.length-(i-n)-1;Fr(t.done,n,i,r),Fr(t.undone,n,i,r)}function Hr(t,e,n,i){var r=e,o=e;return"number"==typeof e?o=_(t,V(t,e)):r=A(e),null==r?null:(i(o,r)&&t.cm&&bi(t.cm,r,n),o)}function Vr(t){var e=this;this.lines=t,this.parent=null;for(var n=0,i=0;i<t.length;++i)t[i].parent=e,n+=t[i].height;this.height=n}function zr(t){var e=this;this.children=t;for(var n=0,i=0,r=0;r<t.length;++r){var o=t[r];n+=o.chunkSize(),i+=o.height,o.parent=e}this.size=n,this.height=i,this.parent=null}function Br(t,e,n){bt(e)<(t.curOp&&t.curOp.scrollTop||t.doc.scrollTop)&&Un(t,n)}function qr(t,e,n,i){var r=new Ia(t,n,i),o=t.cm;return o&&r.noHScroll&&(o.display.alignWidgets=!0),Hr(t,e,"widget",function(e){var n=e.widgets||(e.widgets=[]);if(null==r.insertAt?n.push(r):n.splice(Math.min(n.length-1,Math.max(0,r.insertAt)),0,r),r.line=e,o&&!vt(t,e)){var i=bt(e)<t.scrollTop;M(e,e.height+Re(r)),i&&Un(o,r.height),o.curOp.forceUpdate=!0}return!0}),we(o,"lineWidgetAdded",o,r,"number"==typeof e?e:A(e)),r}function Kr(t,e,n,i,o){if(i&&i.shared)return Ur(t,e,n,i,o);if(t.cm&&!t.cm.curOp)return di(t.cm,Kr)(t,e,n,i,o);var s=new Aa(t,o),a=P(e,n);if(i&&c(i,s,!1),a>0||0==a&&!1!==s.clearWhenEmpty)return s;if(s.replacedWith&&(s.collapsed=!0,s.widgetNode=r("span",[s.replacedWith],"CodeMirror-widget"),i.handleMouseEvents||s.widgetNode.setAttribute("cm-ignore-events","true"),i.insertLeft&&(s.widgetNode.insertLeft=!0)),s.collapsed){if(ct(t,e.line,e,n,s)||e.line!=n.line&&ct(t,n.line,e,n,s))throw new Error("Inserting collapsed marker partially overlapping an existing one");U()}s.addToHistory&&rr(t,{from:e,to:n,origin:"markText"},t.sel,NaN);var l,u=e.line,h=t.cm;if(t.iter(u,n.line+1,function(t){h&&s.collapsed&&!h.options.lineWrapping&&ht(t)==h.display.maxLine&&(l=!0),s.collapsed&&u!=e.line&&M(t,0),J(t,new G(s,u==e.line?e.ch:null,u==n.line?n.ch:null)),++u}),s.collapsed&&t.iter(e.line,n.line+1,function(e){vt(t,e)&&M(e,0)}),s.clearOnEnter&&ta(s,"beforeCursorEnter",function(){return s.clear()}),s.readOnly&&(K(),(t.history.done.length||t.history.undone.length)&&t.clearHistory()),s.collapsed&&(s.id=++Ma,s.atomic=!0),h){if(l&&(h.curOp.updateMaxLine=!0),s.collapsed)gi(h,e.line,n.line+1);else if(s.className||s.title||s.startStyle||s.endStyle||s.css)for(var p=e.line;p<=n.line;p++)bi(h,p,"text");s.atomic&&Cr(h.doc),we(h,"markerAdded",h,s)}return s}function Ur(t,e,n,i,r){i=c(i),i.shared=!1;var o=[Kr(t,e,n,i,r)],s=o[0],a=i.widgetNode;return Ji(t,function(t){a&&(i.widgetNode=a.cloneNode(!0)),o.push(Kr(t,z(t,e),z(t,n),i,r));for(var l=0;l<t.linked.length;++l)if(t.linked[l].isParent)return;s=m(o)}),new Ea(o,s)}function Gr(t){return t.findMarks(D(t.first,0),t.clipPos(D(t.lastLine())),function(t){return t.parent})}function Yr(t,e){for(var n=0;n<e.length;n++){var i=e[n],r=i.find(),o=t.clipPos(r.from),s=t.clipPos(r.to);if(P(o,s)){var a=Kr(t,o,s,i.primary,i.primary.type);i.markers.push(a),a.parent=i}}}function Xr(t){for(var e=0;e<t.length;e++)!function(e){var n=t[e],i=[n.primary.doc];Ji(n.primary.doc,function(t){return i.push(t)});for(var r=0;r<n.markers.length;r++){var o=n.markers[r];-1==p(i,o.doc)&&(o.parent=null,n.markers.splice(r--,1))}}(e)}function Jr(t){var e=this;if($r(e),!_t(e,t)&&!De(e.display,t)){At(t),gs&&(Da=+new Date);var n=kn(e,t,!0),i=t.dataTransfer.files;if(n&&!e.isReadOnly())if(i&&i.length&&window.FileReader&&window.File)for(var r=i.length,o=Array(r),s=0,a=0;a<r;++a)!function(t,i){if(!e.options.allowDropFileTypes||-1!=p(e.options.allowDropFileTypes,t.type)){var a=new FileReader;a.onload=di(e,function(){var t=a.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(t)&&(t=""),o[i]=t,++s==r){n=z(e.doc,n);var l={from:n,to:n,text:e.doc.splitLines(o.join(e.doc.lineSeparator())),origin:"paste"};Mr(e.doc,l),yr(e.doc,Hi(n,Vi(l)))}}),a.readAsText(t)}}(i[a],a);else{if(e.state.draggingText&&e.doc.sel.contains(n)>-1)return e.state.draggingText(t),void setTimeout(function(){return e.display.input.focus()},20);try{var l=t.dataTransfer.getData("Text");if(l){var u;if(e.state.draggingText&&!e.state.draggingText.copy&&(u=e.listSelections()),xr(e.doc,Hi(n,n)),u)for(var c=0;c<u.length;++c)Pr(e.doc,"",u[c].anchor,u[c].head,"drag");e.replaceSelection(l,"around","paste"),e.display.input.focus()}}catch(t){}}}}function Zr(t,e){if(gs&&(!t.state.draggingText||+new Date-Da<100))return void Rt(e);if(!_t(t,e)&&!De(t.display,e)&&(e.dataTransfer.setData("Text",t.getSelection()),e.dataTransfer.effectAllowed="copyMove",e.dataTransfer.setDragImage&&!Cs)){var n=i("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Ss&&(n.width=n.height=1,t.display.wrapper.appendChild(n),n._top=n.offsetTop),e.dataTransfer.setDragImage(n,0,0),Ss&&n.parentNode.removeChild(n)}}function Qr(t,e){var r=kn(t,e);if(r){var o=document.createDocumentFragment();In(t,r,o),t.display.dragCursor||(t.display.dragCursor=i("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),t.display.lineSpace.insertBefore(t.display.dragCursor,t.display.cursorDiv)),n(t.display.dragCursor,o)}}function $r(t){t.display.dragCursor&&(t.display.lineSpace.removeChild(t.display.dragCursor),t.display.dragCursor=null)}function to(t){if(document.getElementsByClassName)for(var e=document.getElementsByClassName("CodeMirror"),n=0;n<e.length;n++){var i=e[n].CodeMirror;i&&t(i)}}function eo(){Pa||(no(),Pa=!0)}function no(){var t;ta(window,"resize",function(){null==t&&(t=setTimeout(function(){t=null,to(io)},100))}),ta(window,"blur",function(){return to(Pn)})}function io(t){var e=t.display;e.lastWrapHeight==e.wrapper.clientHeight&&e.lastWrapWidth==e.wrapper.clientWidth||(e.cachedCharWidth=e.cachedTextHeight=e.cachedPaddingH=null,e.scrollbarsClipped=!1,t.setSize())}function ro(t){var e=t.split(/-(?!$)/);t=e[e.length-1];for(var n,i,r,o,s=0;s<e.length-1;s++){var a=e[s];if(/^(cmd|meta|m)$/i.test(a))o=!0;else if(/^a(lt)?$/i.test(a))n=!0;else if(/^(c|ctrl|control)$/i.test(a))i=!0;else{if(!/^s(hift)?$/i.test(a))throw new Error("Unrecognized modifier name: "+a);r=!0}}return n&&(t="Alt-"+t),i&&(t="Ctrl-"+t),o&&(t="Cmd-"+t),r&&(t="Shift-"+t),t}function oo(t){var e={};for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==i){delete t[n];continue}for(var r=v(n.split(" "),ro),o=0;o<r.length;o++){var s=void 0,a=void 0;o==r.length-1?(a=r.join(" "),s=i):(a=r.slice(0,o+1).join(" "),s="...");var l=e[a];if(l){if(l!=s)throw new Error("Inconsistent bindings for "+a)}else e[a]=s}delete t[n]}for(var u in e)t[u]=e[u];return t}function so(t,e,n,i){e=co(e);var r=e.call?e.call(t,i):e[t];if(!1===r)return"nothing";if("..."===r)return"multi";if(null!=r&&n(r))return"handled";if(e.fallthrough){if("[object Array]"!=Object.prototype.toString.call(e.fallthrough))return so(t,e.fallthrough,n,i);for(var o=0;o<e.fallthrough.length;o++){var s=so(t,e.fallthrough[o],n,i);if(s)return s}}}function ao(t){var e="string"==typeof t?t:ja[t.keyCode];return"Ctrl"==e||"Alt"==e||"Shift"==e||"Mod"==e}function lo(t,e,n){var i=t;return e.altKey&&"Alt"!=i&&(t="Alt-"+t),(Rs?e.metaKey:e.ctrlKey)&&"Ctrl"!=i&&(t="Ctrl-"+t),(Rs?e.ctrlKey:e.metaKey)&&"Cmd"!=i&&(t="Cmd-"+t),!n&&e.shiftKey&&"Shift"!=i&&(t="Shift-"+t),t}function uo(t,e){if(Ss&&34==t.keyCode&&t.char)return!1;var n=ja[t.keyCode];return null!=n&&!t.altGraphKey&&lo(n,t,e)}function co(t){return"string"==typeof t?Va[t]:t}function ho(t,e){for(var n=t.doc.sel.ranges,i=[],r=0;r<n.length;r++){for(var o=e(n[r]);i.length&&P(o.from,m(i).to)<=0;){var s=i.pop();if(P(s.from,o.from)<0){o.from=s.from;break}}i.push(o)}fi(t,function(){for(var e=i.length-1;e>=0;e--)Pr(t.doc,"",i[e].from,i[e].to,"+delete");Gn(t)})}function po(t,e,n){var i=O(t.text,e+n,n);return i<0||i>t.text.length?null:i}function fo(t,e,n){var i=po(t,e.ch,n);return null==i?null:new D(e.line,i,n<0?"after":"before")}function mo(t,e,n,i,r){if(t){var o=Ct(n,e.doc.direction);if(o){var s,a=r<0?m(o):o[0],l=r<0==(1==a.level),u=l?"after":"before";if(a.level>0||"rtl"==e.doc.direction){var c=Ge(e,n);s=r<0?n.text.length-1:0;var h=Ye(e,c,s).top;s=k(function(t){return Ye(e,c,t).top==h},r<0==(1==a.level)?a.from:a.to-1,s),"before"==u&&(s=po(n,s,1))}else s=r<0?a.to:a.from;return new D(i,s,u)}}return new D(i,r<0?n.text.length:0,r<0?"before":"after")}function vo(t,e,n,i){var r=Ct(e,t.doc.direction);if(!r)return fo(e,n,i);n.ch>=e.text.length?(n.ch=e.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=St(r,n.ch,n.sticky),s=r[o];if("ltr"==t.doc.direction&&s.level%2==0&&(i>0?s.to>n.ch:s.from<n.ch))return fo(e,n,i);var a,l=function(t,n){return po(e,t instanceof D?t.ch:t,n)},u=function(n){return t.options.lineWrapping?(a=a||Ge(t,e),dn(t,e,a,n)):{begin:0,end:e.text.length}},c=u("before"==n.sticky?l(n,-1):n.ch);if("rtl"==t.doc.direction||1==s.level){var h=1==s.level==i<0,p=l(n,h?1:-1);if(null!=p&&(h?p<=s.to&&p<=c.end:p>=s.from&&p>=c.begin)){var f=h?"before":"after";return new D(n.line,p,f)}}var d=function(t,e,i){for(var o=function(t,e){return e?new D(n.line,l(t,1),"before"):new D(n.line,t,"after")};t>=0&&t<r.length;t+=e){var s=r[t],a=e>0==(1!=s.level),u=a?i.begin:l(i.end,-1);if(s.from<=u&&u<s.to)return o(u,a);if(u=a?s.from:l(s.to,-1),i.begin<=u&&u<i.end)return o(u,a)}},m=d(o+i,i,c);if(m)return m;var v=i>0?c.end:l(c.begin,-1);return null==v||i>0&&v==e.text.length||!(m=d(i>0?0:r.length-1,i,u(v)))?null:m}function go(t,e){var n=_(t.doc,e),i=ht(n);return i!=n&&(e=A(i)),mo(!0,t,i,e,1)}function bo(t,e){var n=_(t.doc,e),i=pt(n);return i!=n&&(e=A(i)),mo(!0,t,n,e,-1)}function yo(t,e){var n=go(t,e.line),i=_(t.doc,n.line),r=Ct(i,t.doc.direction);if(!r||0==r[0].level){var o=Math.max(0,i.text.search(/\S/)),s=e.line==n.line&&e.ch<=o&&e.ch;return D(n.line,s?0:o,n.sticky)}return n}function wo(t,e,n){if("string"==typeof e&&!(e=za[e]))return!1;t.display.input.ensurePolled();var i=t.display.shift,r=!1;try{t.isReadOnly()&&(t.state.suppressEdits=!0),n&&(t.display.shift=!1),r=e(t)!=zs}finally{t.display.shift=i,t.state.suppressEdits=!1}return r}function xo(t,e,n){for(var i=0;i<t.state.keyMaps.length;i++){var r=so(e,t.state.keyMaps[i],n,t);if(r)return r}return t.options.extraKeys&&so(e,t.options.extraKeys,n,t)||so(e,t.options.keyMap,n,t)}function So(t,e,n,i){var r=t.state.keySeq;if(r){if(ao(e))return"handled";Ba.set(50,function(){t.state.keySeq==r&&(t.state.keySeq=null,t.display.input.reset())}),e=r+" "+e}var o=xo(t,e,i);return"multi"==o&&(t.state.keySeq=e),"handled"==o&&we(t,"keyHandled",t,e,n),"handled"!=o&&"multi"!=o||(At(n),En(t)),r&&!o&&/\'$/.test(e)?(At(n),!0):!!o}function Co(t,e){var n=uo(e,!0);return!!n&&(e.shiftKey&&!t.state.keySeq?So(t,"Shift-"+n,e,function(e){return wo(t,e,!0)})||So(t,n,e,function(e){if("string"==typeof e?/^go[A-Z]/.test(e):e.motion)return wo(t,e)}):So(t,n,e,function(e){return wo(t,e)}))}function Oo(t,e,n){return So(t,"'"+n+"'",e,function(e){return wo(t,e,!0)})}function ko(t){var e=this;if(e.curOp.focus=s(),!_t(e,t)){gs&&bs<11&&27==t.keyCode&&(t.returnValue=!1);var n=t.keyCode;e.display.shift=16==n||t.shiftKey;var i=Co(e,t);Ss&&(qa=i?n:null,!i&&88==n&&!ra&&(Is?t.metaKey:t.ctrlKey)&&e.replaceSelection("",null,"cut")),18!=n||/\bCodeMirror-crosshair\b/.test(e.display.lineDiv.className)||To(e)}}function To(t){function e(t){18!=t.keyCode&&t.altKey||(Ps(n,"CodeMirror-crosshair"),kt(document,"keyup",e),kt(document,"mouseover",e))}var n=t.display.lineDiv;a(n,"CodeMirror-crosshair"),ta(document,"keyup",e),ta(document,"mouseover",e)}function _o(t){16==t.keyCode&&(this.doc.sel.shift=!1),_t(this,t)}function Lo(t){var e=this;if(!(De(e.display,t)||_t(e,t)||t.ctrlKey&&!t.altKey||Is&&t.metaKey)){var n=t.keyCode,i=t.charCode;if(Ss&&n==qa)return qa=null,void At(t);if(!Ss||t.which&&!(t.which<10)||!Co(e,t)){var r=String.fromCharCode(null==i?n:i);"\b"!=r&&(Oo(e,t,r)||e.display.input.onKeyPress(t))}}}function Io(t,e){var n=+new Date;return Ga&&Ga.compare(n,t,e)?(Ua=Ga=null,"triple"):Ua&&Ua.compare(n,t,e)?(Ga=new Ka(n,t,e),Ua=null,"double"):(Ua=new Ka(n,t,e),Ga=null,"single")}function Mo(t){var e=this,n=e.display;if(!(_t(e,t)||n.activeTouch&&n.input.supportsTouch())){if(n.input.ensurePolled(),n.shift=t.shiftKey,De(n,t))return void(ys||(n.scroller.draggable=!1,setTimeout(function(){return n.scroller.draggable=!0},100)));if(!Wo(e,t)){var i=kn(e,t),r=Pt(t),o=i?Io(i,r):"single";window.focus(),1==r&&e.state.selectingText&&e.state.selectingText(t),i&&Ao(e,r,i,o,t)||(1==r?i?No(e,i,o,t):Dt(t)==n.scroller&&At(t):2==r?(i&&dr(e.doc,i),setTimeout(function(){return n.input.focus()},20)):3==r&&(Ds?Ho(e,t):Rn(e)))}}}function Ao(t,e,n,i,r){var o="Click";return"double"==i?o="Double"+o:"triple"==i&&(o="Triple"+o),o=(1==e?"Left":2==e?"Middle":"Right")+o,So(t,lo(o,r),r,function(e){if("string"==typeof e&&(e=za[e]),!e)return!1;var i=!1;try{t.isReadOnly()&&(t.state.suppressEdits=!0),i=e(t,n)!=zs}finally{t.state.suppressEdits=!1}return i})}function Eo(t,e,n){var i=t.getOption("configureMouse"),r=i?i(t,e,n):{};if(null==r.unit){var o=Ms?n.shiftKey&&n.metaKey:n.altKey;r.unit=o?"rectangle":"single"==e?"char":"double"==e?"word":"line"}return(null==r.extend||t.doc.extend)&&(r.extend=t.doc.extend||n.shiftKey),null==r.addNew&&(r.addNew=Is?n.metaKey:n.ctrlKey),null==r.moveOnDrag&&(r.moveOnDrag=!(Is?n.altKey:n.ctrlKey)),r}function No(t,e,n,i){gs?setTimeout(u(Nn,t),0):t.curOp.focus=s();var r,o=Eo(t,n,i),a=t.doc.sel;t.options.dragDrop&&ea&&!t.isReadOnly()&&"single"==n&&(r=a.contains(e))>-1&&(P((r=a.ranges[r]).from(),e)<0||e.xRel>0)&&(P(r.to(),e)>0||e.xRel<0)?Ro(t,i,e,o):Po(t,i,e,o)}function Ro(t,e,n,i){var r=t.display,o=!1,s=di(t,function(e){ys&&(r.scroller.draggable=!1),t.state.draggingText=!1,kt(document,"mouseup",s),kt(document,"mousemove",a),kt(r.scroller,"dragstart",l),kt(r.scroller,"drop",s),o||(At(e),i.addNew||dr(t.doc,n,null,null,i.extend),ys||gs&&9==bs?setTimeout(function(){document.body.focus(),r.input.focus()},20):r.input.focus())}),a=function(t){o=o||Math.abs(e.clientX-t.clientX)+Math.abs(e.clientY-t.clientY)>=10},l=function(){return o=!0};ys&&(r.scroller.draggable=!0),t.state.draggingText=s,s.copy=!i.moveOnDrag,r.scroller.dragDrop&&r.scroller.dragDrop(),ta(document,"mouseup",s),ta(document,"mousemove",a),ta(r.scroller,"dragstart",l),ta(r.scroller,"drop",s),Rn(t),setTimeout(function(){return r.input.focus()},20)}function Do(t,e,n){if("char"==n)return new La(e,e);if("word"==n)return t.findWordAt(e);if("line"==n)return new La(D(e.line,0),z(t.doc,D(e.line+1,0)));var i=n(t,e);return new La(i.from,i.to)}function Po(t,e,n,i){function r(e){if(0!=P(g,e))if(g=e,"rectangle"==i.unit){for(var r=[],o=t.options.tabSize,s=h(_(u,n.line).text,n.ch,o),a=h(_(u,e.line).text,e.ch,o),l=Math.min(s,a),m=Math.max(s,a),v=Math.min(n.line,e.line),b=Math.min(t.lastLine(),Math.max(n.line,e.line));v<=b;v++){var y=_(u,v).text,w=f(y,l,o);l==m?r.push(new La(D(v,w),D(v,w))):y.length>w&&r.push(new La(D(v,w),D(v,f(y,m,o))))}r.length||r.push(new La(n,n)),wr(u,Wi(d.ranges.slice(0,p).concat(r),p),{origin:"*mouse",scroll:!1}),t.scrollIntoView(e)}else{var x,S=c,C=Do(t,e,i.unit),O=S.anchor;P(C.anchor,O)>0?(x=C.head,O=H(S.from(),C.anchor)):(x=C.anchor,O=W(S.to(),C.head));var k=d.ranges.slice(0);k[p]=jo(t,new La(z(u,O),x)),wr(u,Wi(k,p),qs)}}function o(e){var n=++y,a=kn(t,e,!0,"rectangle"==i.unit);if(a)if(0!=P(a,g)){t.curOp.focus=s(),r(a);var c=Wn(l,u);(a.line>=c.to||a.line<c.from)&&setTimeout(di(t,function(){y==n&&o(e)}),150)}else{var h=e.clientY<b.top?-20:e.clientY>b.bottom?20:0;h&&setTimeout(di(t,function(){y==n&&(l.scroller.scrollTop+=h,o(e))}),50)}}function a(e){t.state.selectingText=!1,y=1/0,At(e),l.input.focus(),kt(document,"mousemove",w),kt(document,"mouseup",x),u.history.lastSelOrigin=null}var l=t.display,u=t.doc;At(e);var c,p,d=u.sel,m=d.ranges;if(i.addNew&&!i.extend?(p=u.sel.contains(n),c=p>-1?m[p]:new La(n,n)):(c=u.sel.primary(),p=u.sel.primIndex),"rectangle"==i.unit)i.addNew||(c=new La(n,n)),n=kn(t,e,!0,!0),p=-1;else{var v=Do(t,n,i.unit);c=i.extend?fr(c,v.anchor,v.head,i.extend):v}i.addNew?-1==p?(p=m.length,wr(u,Wi(m.concat([c]),p),{scroll:!1,origin:"*mouse"})):m.length>1&&m[p].empty()&&"char"==i.unit&&!i.extend?(wr(u,Wi(m.slice(0,p).concat(m.slice(p+1)),0),{scroll:!1,origin:"*mouse"}),d=u.sel):vr(u,p,c,qs):(p=0,wr(u,new _a([c],0),qs),d=u.sel);var g=n,b=l.wrapper.getBoundingClientRect(),y=0,w=di(t,function(t){Pt(t)?o(t):a(t)}),x=di(t,a);t.state.selectingText=x,ta(document,"mousemove",w),ta(document,"mouseup",x)}function jo(t,e){var n=e.anchor,i=e.head,r=_(t.doc,n.line);if(0==P(n,i)&&n.sticky==i.sticky)return e;var o=Ct(r);if(!o)return e;var s=St(o,n.ch,n.sticky),a=o[s];if(a.from!=n.ch&&a.to!=n.ch)return e;var l=s+(a.from==n.ch==(1!=a.level)?0:1);if(0==l||l==o.length)return e;var u;if(i.line!=n.line)u=(i.line-n.line)*("ltr"==t.doc.direction?1:-1)>0;else{var c=St(o,i.ch,i.sticky),h=c-s||(i.ch-n.ch)*(1==a.level?-1:1);u=c==l-1||c==l?h<0:h>0}var p=o[l+(u?-1:0)],f=u==(1==p.level),d=f?p.from:p.to,m=f?"after":"before";return n.ch==d&&n.sticky==m?e:new La(new D(n.line,d,m),i)}function Fo(t,e,n,i){var r,o;if(e.touches)r=e.touches[0].clientX,o=e.touches[0].clientY;else try{r=e.clientX,o=e.clientY}catch(e){return!1}if(r>=Math.floor(t.display.gutters.getBoundingClientRect().right))return!1;i&&At(e);var s=t.display,a=s.lineDiv.getBoundingClientRect();if(o>a.bottom||!It(t,n))return Nt(e);o-=a.top-s.viewOffset;for(var l=0;l<t.options.gutters.length;++l){var u=s.gutters.childNodes[l];if(u&&u.getBoundingClientRect().right>=r){return Tt(t,n,t,E(t.doc,o),t.options.gutters[l],e),Nt(e)}}}function Wo(t,e){return Fo(t,e,"gutterClick",!0)}function Ho(t,e){De(t.display,e)||Vo(t,e)||_t(t,e,"contextmenu")||t.display.input.onContextMenu(e)}function Vo(t,e){return!!It(t,"gutterContextMenu")&&Fo(t,e,"gutterContextMenu",!1)}function zo(t){t.display.wrapper.className=t.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+t.options.theme.replace(/(^|\s)\s*/g," cm-s-"),en(t)}function Bo(t){Ri(t),gi(t),Hn(t)}function qo(t,e,n){if(!e!=!(n&&n!=Ya)){var i=t.display.dragFunctions,r=e?ta:kt;r(t.display.scroller,"dragstart",i.start),r(t.display.scroller,"dragenter",i.enter),r(t.display.scroller,"dragover",i.over),r(t.display.scroller,"dragleave",i.leave),r(t.display.scroller,"drop",i.drop)}}function Ko(t){t.options.lineWrapping?(a(t.display.wrapper,"CodeMirror-wrap"),t.display.sizer.style.minWidth="",t.display.sizerWidth=null):(Ps(t.display.wrapper,"CodeMirror-wrap"),wt(t)),On(t),gi(t),en(t),setTimeout(function(){return ni(t)},100)}function Uo(t,e){var n=this;if(!(this instanceof Uo))return new Uo(t,e);this.options=e=e?c(e):{},c(Xa,e,!1),Di(e);var i=e.value;"string"==typeof i&&(i=new Ra(i,e.mode,null,e.lineSeparator,e.direction)),this.doc=i;var r=new Uo.inputStyles[e.inputStyle](this),o=this.display=new T(t,i,r);o.wrapper.CodeMirror=this,Ri(this),zo(this),e.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),ri(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new Fs,keySeq:null,specialChars:null},e.autofocus&&!Ls&&o.input.focus(),gs&&bs<11&&setTimeout(function(){return n.display.input.reset(!0)},20),Go(this),eo(),oi(this),this.curOp.forceUpdate=!0,Zi(this,i),e.autofocus&&!Ls||this.hasFocus()?setTimeout(u(Dn,this),20):Pn(this);for(var s in Ja)Ja.hasOwnProperty(s)&&Ja[s](n,e[s],Ya);Vn(this),e.finishInit&&e.finishInit(this);for(var a=0;a<Za.length;++a)Za[a](n);si(this),ys&&e.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}function Go(t){function e(){r.activeTouch&&(o=setTimeout(function(){return r.activeTouch=null},1e3),s=r.activeTouch,s.end=+new Date)}function n(t){if(1!=t.touches.length)return!1;var e=t.touches[0];return e.radiusX<=1&&e.radiusY<=1}function i(t,e){if(null==e.left)return!0;var n=e.left-t.left,i=e.top-t.top;return n*n+i*i>400}var r=t.display;ta(r.scroller,"mousedown",di(t,Mo)),gs&&bs<11?ta(r.scroller,"dblclick",di(t,function(e){if(!_t(t,e)){var n=kn(t,e);if(n&&!Wo(t,e)&&!De(t.display,e)){At(e);var i=t.findWordAt(n);dr(t.doc,i.anchor,i.head)}}})):ta(r.scroller,"dblclick",function(e){return _t(t,e)||At(e)}),Ds||ta(r.scroller,"contextmenu",function(e){return Ho(t,e)});var o,s={end:0};ta(r.scroller,"touchstart",function(e){if(!_t(t,e)&&!n(e)&&!Wo(t,e)){r.input.ensurePolled(),clearTimeout(o);var i=+new Date;r.activeTouch={start:i,moved:!1,prev:i-s.end<=300?s:null},1==e.touches.length&&(r.activeTouch.left=e.touches[0].pageX,r.activeTouch.top=e.touches[0].pageY)}}),ta(r.scroller,"touchmove",function(){r.activeTouch&&(r.activeTouch.moved=!0)}),ta(r.scroller,"touchend",function(n){var o=r.activeTouch;if(o&&!De(r,n)&&null!=o.left&&!o.moved&&new Date-o.start<300){var s,a=t.coordsChar(r.activeTouch,"page");s=!o.prev||i(o,o.prev)?new La(a,a):!o.prev.prev||i(o,o.prev.prev)?t.findWordAt(a):new La(D(a.line,0),z(t.doc,D(a.line+1,0))),t.setSelection(s.anchor,s.head),t.focus(),At(n)}e()}),ta(r.scroller,"touchcancel",e),ta(r.scroller,"scroll",function(){r.scroller.clientHeight&&(Qn(t,r.scroller.scrollTop),ti(t,r.scroller.scrollLeft,!0),Tt(t,"scroll",t))}),ta(r.scroller,"mousewheel",function(e){return Fi(t,e)}),ta(r.scroller,"DOMMouseScroll",function(e){return Fi(t,e)}),ta(r.wrapper,"scroll",function(){return r.wrapper.scrollTop=r.wrapper.scrollLeft=0}),r.dragFunctions={enter:function(e){_t(t,e)||Rt(e)},over:function(e){_t(t,e)||(Qr(t,e),Rt(e))},start:function(e){return Zr(t,e)},drop:di(t,Jr),leave:function(e){_t(t,e)||$r(t)}};var a=r.input.getField();ta(a,"keyup",function(e){return _o.call(t,e)}),ta(a,"keydown",di(t,ko)),ta(a,"keypress",di(t,Lo)),ta(a,"focus",function(e){return Dn(t,e)}),ta(a,"blur",function(e){return Pn(t,e)})}function Yo(t,e,n,i){var r,o=t.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?r=Jt(t,e).state:n="prev");var s=t.options.tabSize,a=_(o,e),l=h(a.text,null,s);a.stateAfter&&(a.stateAfter=null);var u,c=a.text.match(/^\s*/)[0];if(i||/\S/.test(a.text)){if("smart"==n&&((u=o.mode.indent(r,a.text.slice(c.length),a.text))==zs||u>150)){if(!i)return;n="prev"}}else u=0,n="not";"prev"==n?u=e>o.first?h(_(o,e-1).text,null,s):0:"add"==n?u=l+t.options.indentUnit:"subtract"==n?u=l-t.options.indentUnit:"number"==typeof n&&(u=l+n),u=Math.max(0,u);var p="",f=0;if(t.options.indentWithTabs)for(var m=Math.floor(u/s);m;--m)f+=s,p+="\t";if(f<u&&(p+=d(u-f)),p!=c)return Pr(o,p,D(e,0),D(e,c.length),"+input"),a.stateAfter=null,!0;for(var v=0;v<o.sel.ranges.length;v++){var g=o.sel.ranges[v];if(g.head.line==e&&g.head.ch<c.length){var b=D(e,c.length);vr(o,v,new La(b,b));break}}}function Xo(t){Qa=t}function Jo(t,e,n,i,r){var o=t.doc;t.display.shift=!1,i||(i=o.sel);var s=t.state.pasteIncoming||"paste"==r,a=na(e),l=null;if(s&&i.ranges.length>1)if(Qa&&Qa.text.join("\n")==e){if(i.ranges.length%Qa.text.length==0){l=[];for(var u=0;u<Qa.text.length;u++)l.push(o.splitLines(Qa.text[u]))}}else a.length==i.ranges.length&&t.options.pasteLinesPerSelection&&(l=v(a,function(t){return[t]}));for(var c,h=i.ranges.length-1;h>=0;h--){var p=i.ranges[h],f=p.from(),d=p.to();p.empty()&&(n&&n>0?f=D(f.line,f.ch-n):t.state.overwrite&&!s?d=D(d.line,Math.min(_(o,d.line).text.length,d.ch+m(a).length)):Qa&&Qa.lineWise&&Qa.text.join("\n")==e&&(f=d=D(f.line,0))),c=t.curOp.updateInput;var g={from:f,to:d,text:l?l[h%l.length]:a,origin:r||(s?"paste":t.state.cutIncoming?"cut":"+input")};Mr(t.doc,g),we(t,"inputRead",t,g)}e&&!s&&Qo(t,e),Gn(t),t.curOp.updateInput=c,t.curOp.typing=!0,t.state.pasteIncoming=t.state.cutIncoming=!1}function Zo(t,e){var n=t.clipboardData&&t.clipboardData.getData("Text");if(n)return t.preventDefault(),e.isReadOnly()||e.options.disableInput||fi(e,function(){return Jo(e,n,0,null,"paste")}),!0}function Qo(t,e){if(t.options.electricChars&&t.options.smartIndent)for(var n=t.doc.sel,i=n.ranges.length-1;i>=0;i--){var r=n.ranges[i];if(!(r.head.ch>100||i&&n.ranges[i-1].head.line==r.head.line)){var o=t.getModeAt(r.head),s=!1;if(o.electricChars){for(var a=0;a<o.electricChars.length;a++)if(e.indexOf(o.electricChars.charAt(a))>-1){s=Yo(t,r.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(_(t.doc,r.head.line).text.slice(0,r.head.ch))&&(s=Yo(t,r.head.line,"smart"));s&&we(t,"electricInput",t,r.head.line)}}}function $o(t){for(var e=[],n=[],i=0;i<t.doc.sel.ranges.length;i++){var r=t.doc.sel.ranges[i].head.line,o={anchor:D(r,0),head:D(r+1,0)};n.push(o),e.push(t.getRange(o.anchor,o.head))}return{text:e,ranges:n}}function ts(t,e){t.setAttribute("autocorrect","off"),t.setAttribute("autocapitalize","off"),t.setAttribute("spellcheck",!!e)}function es(){var t=i("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),e=i("div",[t],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return ys?t.style.width="1000px":t.setAttribute("wrap","off"),Ts&&(t.style.border="1px solid black"),ts(t),e}function ns(t,e,n,i,r){function o(){var i=e.line+n;return!(i<t.first||i>=t.first+t.size)&&(e=new D(i,e.ch,e.sticky),u=_(t,i))}function s(i){var s;if(null==(s=r?vo(t.cm,u,e,n):fo(u,e,n))){if(i||!o())return!1;e=mo(r,t.cm,u,e.line,n)}else e=s;return!0}var a=e,l=n,u=_(t,e.line);if("char"==i)s();else if("column"==i)s(!0);else if("word"==i||"group"==i)for(var c=null,h="group"==i,p=t.cm&&t.cm.getHelper(e,"wordChars"),f=!0;!(n<0)||s(!f);f=!1){var d=u.text.charAt(e.ch)||"\n",m=x(d,p)?"w":h&&"\n"==d?"n":!h||/\s/.test(d)?null:"p";if(!h||f||m||(m="s"),c&&c!=m){n<0&&(n=1,s(),e.sticky="after");break}if(m&&(c=m),n>0&&!s(!f))break}var v=Tr(t,e,a,l,!0);return j(a,v)&&(v.hitSide=!0),v}function is(t,e,n,i){var r,o=t.doc,s=e.left;if("page"==i){var a=Math.min(t.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),l=Math.max(a-.5*yn(t.display),3);r=(n>0?e.bottom:e.top)+n*l}else"line"==i&&(r=n>0?e.bottom+3:e.top-3);for(var u;u=pn(t,s,r),u.outside;){if(n<0?r<=0:r>=o.height){u.hitSide=!0;break}r+=5*n}return u}function rs(t,e){var n=Ue(t,e.line);if(!n||n.hidden)return null;var i=_(t.doc,e.line),r=Be(n,i,e.line),o=Ct(i,t.doc.direction),s="left";if(o){s=St(o,e.ch)%2?"right":"left"}var a=Xe(r.map,e.ch,s);return a.offset="right"==a.collapse?a.end:a.start,a}function os(t){for(var e=t;e;e=e.parentNode)if(/CodeMirror-gutter-wrapper/.test(e.className))return!0;return!1}function ss(t,e){return e&&(t.bad=!0),t}function as(t,e,n,i,r){function o(t){return function(e){return e.id==t}}function s(){c&&(u+=h,c=!1)}function a(t){t&&(s(),u+=t)}function l(e){if(1==e.nodeType){var n=e.getAttribute("cm-text");if(null!=n)return void a(n||e.textContent.replace(/\u200b/g,""));var u,p=e.getAttribute("cm-marker");if(p){var f=t.findMarks(D(i,0),D(r+1,0),o(+p));return void(f.length&&(u=f[0].find(0))&&a(L(t.doc,u.from,u.to).join(h)))}if("false"==e.getAttribute("contenteditable"))return;var d=/^(pre|div|p)$/i.test(e.nodeName);d&&s();for(var m=0;m<e.childNodes.length;m++)l(e.childNodes[m]);d&&(c=!0)}else 3==e.nodeType&&a(e.nodeValue)}for(var u="",c=!1,h=t.doc.lineSeparator();l(e),e!=n;)e=e.nextSibling;return u}function ls(t,e,n){var i;if(e==t.display.lineDiv){if(!(i=t.display.lineDiv.childNodes[n]))return ss(t.clipPos(D(t.display.viewTo-1)),!0);e=null,n=0}else for(i=e;;i=i.parentNode){if(!i||i==t.display.lineDiv)return null;if(i.parentNode&&i.parentNode==t.display.lineDiv)break}for(var r=0;r<t.display.view.length;r++){var o=t.display.view[r];if(o.node==i)return us(o,e,n)}}function us(t,e,n){function i(e,n,i){for(var r=-1;r<(h?h.length:0);r++)for(var o=r<0?c.map:h[r],s=0;s<o.length;s+=3){var a=o[s+2];if(a==e||a==n){var l=A(r<0?t.line:t.rest[r]),u=o[s]+i;return(i<0||a!=e)&&(u=o[s+(i?1:0)]),D(l,u)}}}var r=t.text.firstChild,s=!1;if(!e||!o(r,e))return ss(D(A(t.line),0),!0);if(e==r&&(s=!0,e=r.childNodes[n],n=0,!e)){var a=t.rest?m(t.rest):t.line;return ss(D(A(a),a.text.length),s)}var l=3==e.nodeType?e:null,u=e;for(l||1!=e.childNodes.length||3!=e.firstChild.nodeType||(l=e.firstChild,n&&(n=l.nodeValue.length));u.parentNode!=r;)u=u.parentNode;var c=t.measure,h=c.maps,p=i(l,u,n);if(p)return ss(p,s);for(var f=u.nextSibling,d=l?l.nodeValue.length-n:0;f;f=f.nextSibling){if(p=i(f,f.firstChild,0))return ss(D(p.line,p.ch-d),s);d+=f.textContent.length}for(var v=u.previousSibling,g=n;v;v=v.previousSibling){if(p=i(v,v.firstChild,-1))return ss(D(p.line,p.ch+g),s);g+=v.textContent.length}}function cs(t,e){function n(){t.value=l.getValue()}if(e=e?c(e):{},e.value=t.value,!e.tabindex&&t.tabIndex&&(e.tabindex=t.tabIndex),!e.placeholder&&t.placeholder&&(e.placeholder=t.placeholder),null==e.autofocus){var i=s();e.autofocus=i==t||null!=t.getAttribute("autofocus")&&i==document.body}var r;if(t.form&&(ta(t.form,"submit",n),!e.leaveSubmitMethodAlone)){var o=t.form;r=o.submit;try{var a=o.submit=function(){n(),o.submit=r,o.submit(),o.submit=a}}catch(t){}}e.finishInit=function(e){e.save=n,e.getTextArea=function(){return t},e.toTextArea=function(){e.toTextArea=isNaN,n(),t.parentNode.removeChild(e.getWrapperElement()),t.style.display="",t.form&&(kt(t.form,"submit",n),"function"==typeof t.form.submit&&(t.form.submit=r))}},t.style.display="none";var l=Uo(function(e){return t.parentNode.insertBefore(e,t.nextSibling)},e);return l}var hs=navigator.userAgent,ps=navigator.platform,fs=/gecko\/\d/i.test(hs),ds=/MSIE \d/.test(hs),ms=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(hs),vs=/Edge\/(\d+)/.exec(hs),gs=ds||ms||vs,bs=gs&&(ds?document.documentMode||6:+(vs||ms)[1]),ys=!vs&&/WebKit\//.test(hs),ws=ys&&/Qt\/\d+\.\d+/.test(hs),xs=!vs&&/Chrome\//.test(hs),Ss=/Opera\//.test(hs),Cs=/Apple Computer/.test(navigator.vendor),Os=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(hs),ks=/PhantomJS/.test(hs),Ts=!vs&&/AppleWebKit/.test(hs)&&/Mobile\/\w+/.test(hs),_s=/Android/.test(hs),Ls=Ts||_s||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(hs),Is=Ts||/Mac/.test(ps),Ms=/\bCrOS\b/.test(hs),As=/win/i.test(ps),Es=Ss&&hs.match(/Version\/(\d*\.\d*)/);Es&&(Es=Number(Es[1])),Es&&Es>=15&&(Ss=!1,ys=!0);var Ns,Rs=Is&&(ws||Ss&&(null==Es||Es<12.11)),Ds=fs||gs&&bs>=9,Ps=function(e,n){var i=e.className,r=t(n).exec(i);if(r){var o=i.slice(r.index+r[0].length);e.className=i.slice(0,r.index)+(o?r[1]+o:"")}};Ns=document.createRange?function(t,e,n,i){var r=document.createRange();return r.setEnd(i||t,n),r.setStart(t,e),r}:function(t,e,n){var i=document.body.createTextRange();try{i.moveToElementText(t.parentNode)}catch(t){return i}return i.collapse(!0),i.moveEnd("character",n),i.moveStart("character",e),i};var js=function(t){t.select()};Ts?js=function(t){t.selectionStart=0,t.selectionEnd=t.value.length}:gs&&(js=function(t){try{t.select()}catch(t){}});var Fs=function(){this.id=null};Fs.prototype.set=function(t,e){clearTimeout(this.id),this.id=setTimeout(e,t)};var Ws,Hs,Vs=30,zs={toString:function(){return"CodeMirror.Pass"}},Bs={scroll:!1},qs={origin:"*mouse"},Ks={origin:"+move"},Us=[""],Gs=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,Ys=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/,Xs=!1,Js=!1,Zs=null,Qs=function(){function t(t){return t<=247?n.charAt(t):1424<=t&&t<=1524?"R":1536<=t&&t<=1785?i.charAt(t-1536):1774<=t&&t<=2220?"r":8192<=t&&t<=8203?"w":8204==t?"b":"L"}function e(t,e,n){this.level=t,this.from=e,this.to=n}var n="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",i="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111",r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,o=/[stwN]/,s=/[LRr]/,a=/[Lb1n]/,l=/[1n]/;return function(n,i){var u="ltr"==i?"L":"R";if(0==n.length||"ltr"==i&&!r.test(n))return!1;for(var c=n.length,h=[],p=0;p<c;++p)h.push(t(n.charCodeAt(p)));for(var f=0,d=u;f<c;++f){var v=h[f];"m"==v?h[f]=d:d=v}for(var g=0,b=u;g<c;++g){var y=h[g];"1"==y&&"r"==b?h[g]="n":s.test(y)&&(b=y,"r"==y&&(h[g]="R"))}for(var w=1,x=h[0];w<c-1;++w){var S=h[w];"+"==S&&"1"==x&&"1"==h[w+1]?h[w]="1":","!=S||x!=h[w+1]||"1"!=x&&"n"!=x||(h[w]=x),x=S}for(var C=0;C<c;++C){var O=h[C];if(","==O)h[C]="N";else if("%"==O){var k=void 0;for(k=C+1;k<c&&"%"==h[k];++k);for(var T=C&&"!"==h[C-1]||k<c&&"1"==h[k]?"1":"N",_=C;_<k;++_)h[_]=T;C=k-1}}for(var L=0,I=u;L<c;++L){var M=h[L];"L"==I&&"1"==M?h[L]="L":s.test(M)&&(I=M)}for(var A=0;A<c;++A)if(o.test(h[A])){var E=void 0;for(E=A+1;E<c&&o.test(h[E]);++E);for(var N="L"==(A?h[A-1]:u),R="L"==(E<c?h[E]:u),D=N==R?N?"L":"R":u,P=A;P<E;++P)h[P]=D;A=E-1}for(var j,F=[],W=0;W<c;)if(a.test(h[W])){var H=W;for(++W;W<c&&a.test(h[W]);++W);F.push(new e(0,H,W))}else{var V=W,z=F.length;for(++W;W<c&&"L"!=h[W];++W);for(var B=V;B<W;)if(l.test(h[B])){V<B&&F.splice(z,0,new e(1,V,B));var q=B;for(++B;B<W&&l.test(h[B]);++B);F.splice(z,0,new e(2,q,B)),V=B}else++B;V<W&&F.splice(z,0,new e(1,V,W))}return"ltr"==i&&(1==F[0].level&&(j=n.match(/^\s+/))&&(F[0].from=j[0].length,F.unshift(new e(0,0,j[0].length))),1==m(F).level&&(j=n.match(/\s+$/))&&(m(F).to-=j[0].length,F.push(new e(0,c-j[0].length,c)))),"rtl"==i?F.reverse():F}}(),$s=[],ta=function(t,e,n){if(t.addEventListener)t.addEventListener(e,n,!1);else if(t.attachEvent)t.attachEvent("on"+e,n);else{var i=t._handlers||(t._handlers={});i[e]=(i[e]||$s).concat(n)}},ea=function(){if(gs&&bs<9)return!1;var t=i("div");return"draggable"in t||"dragDrop"in t}(),na=3!="\n\nb".split(/\n/).length?function(t){for(var e=0,n=[],i=t.length;e<=i;){var r=t.indexOf("\n",e);-1==r&&(r=t.length);var o=t.slice(e,"\r"==t.charAt(r-1)?r-1:r),s=o.indexOf("\r");-1!=s?(n.push(o.slice(0,s)),e+=s+1):(n.push(o),e=r+1)}return n}:function(t){return t.split(/\r\n?|\n/)},ia=window.getSelection?function(t){try{return t.selectionStart!=t.selectionEnd}catch(t){return!1}}:function(t){var e;try{e=t.ownerDocument.selection.createRange()}catch(t){}return!(!e||e.parentElement()!=t)&&0!=e.compareEndPoints("StartToEnd",e)},ra=function(){var t=i("div");return"oncopy"in t||(t.setAttribute("oncopy","return;"),"function"==typeof t.oncopy)}(),oa=null,sa={},aa={},la={},ua=function(t,e,n){this.pos=this.start=0,this.string=t,this.tabSize=e||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};ua.prototype.eol=function(){return this.pos>=this.string.length},ua.prototype.sol=function(){return this.pos==this.lineStart},ua.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},ua.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},ua.prototype.eat=function(t){var e=this.string.charAt(this.pos);if("string"==typeof t?e==t:e&&(t.test?t.test(e):t(e)))return++this.pos,e},ua.prototype.eatWhile=function(t){for(var e=this.pos;this.eat(t););return this.pos>e},ua.prototype.eatSpace=function(){for(var t=this,e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++t.pos;return this.pos>e},ua.prototype.skipToEnd=function(){this.pos=this.string.length},ua.prototype.skipTo=function(t){var e=this.string.indexOf(t,this.pos);if(e>-1)return this.pos=e,!0},ua.prototype.backUp=function(t){this.pos-=t},ua.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=h(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?h(this.string,this.lineStart,this.tabSize):0)},ua.prototype.indentation=function(){return h(this.string,null,this.tabSize)-(this.lineStart?h(this.string,this.lineStart,this.tabSize):0)},ua.prototype.match=function(t,e,n){if("string"!=typeof t){var i=this.string.slice(this.pos).match(t);return i&&i.index>0?null:(i&&!1!==e&&(this.pos+=i[0].length),i)}var r=function(t){return n?t.toLowerCase():t};if(r(this.string.substr(this.pos,t.length))==r(t))return!1!==e&&(this.pos+=t.length),!0},ua.prototype.current=function(){return this.string.slice(this.start,this.pos)},ua.prototype.hideFirstChars=function(t,e){this.lineStart+=t;try{return e()}finally{this.lineStart-=t}},ua.prototype.lookAhead=function(t){var e=this.lineOracle;return e&&e.lookAhead(t)},ua.prototype.baseToken=function(){var t=this.lineOracle;return t&&t.baseToken(this.pos)};var ca=function(t,e){this.state=t,this.lookAhead=e},ha=function(t,e,n,i){this.state=e,this.doc=t,this.line=n,this.maxLookAhead=i||0,this.baseTokens=null,this.baseTokenPos=1};ha.prototype.lookAhead=function(t){var e=this.doc.getLine(this.line+t);return null!=e&&t>this.maxLookAhead&&(this.maxLookAhead=t),e},ha.prototype.baseToken=function(t){var e=this;if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=t;)e.baseTokenPos+=2;var n=this.baseTokens[this.baseTokenPos+1];return{type:n&&n.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-t}},ha.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ha.fromSaved=function(t,e,n){return e instanceof ca?new ha(t,Kt(t.mode,e.state),n,e.lookAhead):new ha(t,Kt(t.mode,e),n)},ha.prototype.save=function(t){var e=!1!==t?Kt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ca(e,this.maxLookAhead):e};var pa=function(t,e,n){this.start=t.start,this.end=t.pos,this.string=t.current(),this.type=e||null,this.state=n},fa=function(t,e,n){this.text=t,it(this,e),this.height=n?n(this):1};fa.prototype.lineNo=function(){return A(this)},Mt(fa);var da,ma={},va={},ga=null,ba=null,ya={left:0,right:0,top:0,bottom:0},wa=function(t,e,n){this.cm=n;var r=this.vert=i("div",[i("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),o=this.horiz=i("div",[i("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");t(r),t(o),ta(r,"scroll",function(){r.clientHeight&&e(r.scrollTop,"vertical")}),ta(o,"scroll",function(){o.clientWidth&&e(o.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,gs&&bs<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};wa.prototype.update=function(t){var e=t.scrollWidth>t.clientWidth+1,n=t.scrollHeight>t.clientHeight+1,i=t.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=e?i+"px":"0";var r=t.viewHeight-(e?i:0);this.vert.firstChild.style.height=Math.max(0,t.scrollHeight-t.clientHeight+r)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(e){this.horiz.style.display="block",this.horiz.style.right=n?i+"px":"0",this.horiz.style.left=t.barLeft+"px";var o=t.viewWidth-t.barLeft-(n?i:0);this.horiz.firstChild.style.width=Math.max(0,t.scrollWidth-t.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&t.clientHeight>0&&(0==i&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?i:0,bottom:e?i:0}},wa.prototype.setScrollLeft=function(t){this.horiz.scrollLeft!=t&&(this.horiz.scrollLeft=t),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},wa.prototype.setScrollTop=function(t){this.vert.scrollTop!=t&&(this.vert.scrollTop=t),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},wa.prototype.zeroWidthHack=function(){var t=Is&&!Os?"12px":"18px";this.horiz.style.height=this.vert.style.width=t,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Fs,this.disableVert=new Fs},wa.prototype.enableZeroWidthBar=function(t,e,n){function i(){var r=t.getBoundingClientRect();("vert"==n?document.elementFromPoint(r.right-1,(r.top+r.bottom)/2):document.elementFromPoint((r.right+r.left)/2,r.bottom-1))!=t?t.style.pointerEvents="none":e.set(1e3,i)}t.style.pointerEvents="auto",e.set(1e3,i)},wa.prototype.clear=function(){var t=this.horiz.parentNode;t.removeChild(this.horiz),t.removeChild(this.vert)};var xa=function(){};xa.prototype.update=function(){return{bottom:0,right:0}},xa.prototype.setScrollLeft=function(){},xa.prototype.setScrollTop=function(){},xa.prototype.clear=function(){};var Sa={native:wa,null:xa},Ca=0,Oa=function(t,e,n){var i=t.display;this.viewport=e,this.visible=Wn(i,t.doc,e),this.editorIsHidden=!i.wrapper.offsetWidth,this.wrapperHeight=i.wrapper.clientHeight,this.wrapperWidth=i.wrapper.clientWidth,this.oldDisplayWidth=He(t),this.force=n,this.dims=xn(t),this.events=[]};Oa.prototype.signal=function(t,e){It(t,e)&&this.events.push(arguments)},Oa.prototype.finish=function(){for(var t=this,e=0;e<this.events.length;e++)Tt.apply(null,t.events[e])};var ka=0,Ta=null;gs?Ta=-.53:fs?Ta=15:xs?Ta=-.7:Cs&&(Ta=-1/3);var _a=function(t,e){this.ranges=t,this.primIndex=e};_a.prototype.primary=function(){return this.ranges[this.primIndex]},_a.prototype.equals=function(t){var e=this;if(t==this)return!0;if(t.primIndex!=this.primIndex||t.ranges.length!=this.ranges.length)return!1;for(var n=0;n<this.ranges.length;n++){var i=e.ranges[n],r=t.ranges[n];if(!j(i.anchor,r.anchor)||!j(i.head,r.head))return!1}return!0},_a.prototype.deepCopy=function(){for(var t=this,e=[],n=0;n<this.ranges.length;n++)e[n]=new La(F(t.ranges[n].anchor),F(t.ranges[n].head));return new _a(e,this.primIndex)},_a.prototype.somethingSelected=function(){for(var t=this,e=0;e<this.ranges.length;e++)if(!t.ranges[e].empty())return!0;return!1},_a.prototype.contains=function(t,e){var n=this;e||(e=t);for(var i=0;i<this.ranges.length;i++){var r=n.ranges[i];if(P(e,r.from())>=0&&P(t,r.to())<=0)return i}return-1};var La=function(t,e){this.anchor=t,this.head=e};La.prototype.from=function(){return H(this.anchor,this.head)},La.prototype.to=function(){return W(this.anchor,this.head)},La.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},Vr.prototype={chunkSize:function(){return this.lines.length},removeInner:function(t,e){for(var n=this,i=t,r=t+e;i<r;++i){var o=n.lines[i];n.height-=o.height,se(o),we(o,"delete")}this.lines.splice(t,e)},collapse:function(t){t.push.apply(t,this.lines)},insertInner:function(t,e,n){var i=this;this.height+=n,this.lines=this.lines.slice(0,t).concat(e).concat(this.lines.slice(t));for(var r=0;r<e.length;++r)e[r].parent=i},iterN:function(t,e,n){for(var i=this,r=t+e;t<r;++t)if(n(i.lines[t]))return!0}},zr.prototype={chunkSize:function(){return this.size},removeInner:function(t,e){var n=this;this.size-=e;for(var i=0;i<this.children.length;++i){var r=n.children[i],o=r.chunkSize();if(t<o){var s=Math.min(e,o-t),a=r.height;if(r.removeInner(t,s),n.height-=a-r.height,o==s&&(n.children.splice(i--,1),r.parent=null),0==(e-=s))break;t=0}else t-=o}if(this.size-e<25&&(this.children.length>1||!(this.children[0]instanceof Vr))){var l=[];this.collapse(l),this.children=[new Vr(l)],this.children[0].parent=this}},collapse:function(t){for(var e=this,n=0;n<this.children.length;++n)e.children[n].collapse(t)},insertInner:function(t,e,n){var i=this;this.size+=e.length,this.height+=n;for(var r=0;r<this.children.length;++r){var o=i.children[r],s=o.chunkSize();if(t<=s){if(o.insertInner(t,e,n),o.lines&&o.lines.length>50){for(var a=o.lines.length%25+25,l=a;l<o.lines.length;){var u=new Vr(o.lines.slice(l,l+=25));o.height-=u.height,i.children.splice(++r,0,u),u.parent=i}o.lines=o.lines.slice(0,a),i.maybeSpill()}break}t-=s}},maybeSpill:function(){if(!(this.children.length<=10)){var t=this;do{var e=t.children.splice(t.children.length-5,5),n=new zr(e);if(t.parent){t.size-=n.size,t.height-=n.height;var i=p(t.parent.children,t);t.parent.children.splice(i+1,0,n)}else{var r=new zr(t.children);r.parent=t,t.children=[r,n],t=r}n.parent=t.parent}while(t.children.length>10);t.parent.maybeSpill()}},iterN:function(t,e,n){for(var i=this,r=0;r<this.children.length;++r){var o=i.children[r],s=o.chunkSize();if(t<s){var a=Math.min(e,s-t);if(o.iterN(t,a,n))return!0;if(0==(e-=a))break;t=0}else t-=s}}};var Ia=function(t,e,n){var i=this;if(n)for(var r in n)n.hasOwnProperty(r)&&(i[r]=n[r]);this.doc=t,this.node=e};Ia.prototype.clear=function(){var t=this,e=this.doc.cm,n=this.line.widgets,i=this.line,r=A(i);if(null!=r&&n){for(var o=0;o<n.length;++o)n[o]==t&&n.splice(o--,1);n.length||(i.widgets=null);var s=Re(this);M(i,Math.max(0,i.height-s)),e&&(fi(e,function(){Br(e,i,-s),bi(e,r,"widget")}),we(e,"lineWidgetCleared",e,this,r))}},Ia.prototype.changed=function(){var t=this,e=this.height,n=this.doc.cm,i=this.line;this.height=null;var r=Re(this)-e;r&&(M(i,i.height+r),n&&fi(n,function(){n.curOp.forceUpdate=!0,Br(n,i,r),we(n,"lineWidgetChanged",n,t,A(i))}))},Mt(Ia);var Ma=0,Aa=function(t,e){this.lines=[],this.type=e,this.doc=t,this.id=++Ma};Aa.prototype.clear=function(){var t=this;if(!this.explicitlyCleared){var e=this.doc.cm,n=e&&!e.curOp;if(n&&oi(e),It(this,"clear")){var i=this.find();i&&we(this,"clear",i.from,i.to)}for(var r=null,o=null,s=0;s<this.lines.length;++s){var a=t.lines[s],l=Y(a.markedSpans,t);e&&!t.collapsed?bi(e,A(a),"text"):e&&(null!=l.to&&(o=A(a)),null!=l.from&&(r=A(a))),a.markedSpans=X(a.markedSpans,l),null==l.from&&t.collapsed&&!vt(t.doc,a)&&e&&M(a,yn(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var u=0;u<this.lines.length;++u){var c=ht(t.lines[u]),h=yt(c);h>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=h,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&gi(e,r,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Cr(e.doc)),e&&we(e,"markerCleared",e,this,r,o),n&&si(e),this.parent&&this.parent.clear()}},Aa.prototype.find=function(t,e){var n=this;null==t&&"bookmark"==this.type&&(t=1);for(var i,r,o=0;o<this.lines.length;++o){var s=n.lines[o],a=Y(s.markedSpans,n);if(null!=a.from&&(i=D(e?s:A(s),a.from),-1==t))return i;if(null!=a.to&&(r=D(e?s:A(s),a.to),1==t))return r}return i&&{from:i,to:r}},Aa.prototype.changed=function(){var t=this,e=this.find(-1,!0),n=this,i=this.doc.cm;e&&i&&fi(i,function(){var r=e.line,o=A(e.line),s=Ue(i,o);if(s&&($e(s),i.curOp.selectionChanged=i.curOp.forceUpdate=!0),i.curOp.updateMaxLine=!0,!vt(n.doc,r)&&null!=n.height){var a=n.height;n.height=null;var l=Re(n)-a;l&&M(r,r.height+l)}we(i,"markerChanged",i,t)})},Aa.prototype.attachLine=function(t){if(!this.lines.length&&this.doc.cm){var e=this.doc.cm.curOp;e.maybeHiddenMarkers&&-1!=p(e.maybeHiddenMarkers,this)||(e.maybeUnhiddenMarkers||(e.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(t)},Aa.prototype.detachLine=function(t){if(this.lines.splice(p(this.lines,t),1),!this.lines.length&&this.doc.cm){var e=this.doc.cm.curOp;(e.maybeHiddenMarkers||(e.maybeHiddenMarkers=[])).push(this)}},Mt(Aa);var Ea=function(t,e){var n=this;this.markers=t,this.primary=e;for(var i=0;i<t.length;++i)t[i].parent=n};Ea.prototype.clear=function(){var t=this;if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)t.markers[e].clear();we(this,"clear")}},Ea.prototype.find=function(t,e){return this.primary.find(t,e)},Mt(Ea);var Na=0,Ra=function(t,e,n,i,r){if(!(this instanceof Ra))return new Ra(t,e,n,i,r);null==n&&(n=0),zr.call(this,[new Vr([new fa("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=n;var o=D(n,0);this.sel=Hi(o),this.history=new tr(null),this.id=++Na,this.modeOption=e,this.lineSep=i,this.direction="rtl"==r?"rtl":"ltr",this.extend=!1,"string"==typeof t&&(t=this.splitLines(t)),Xi(this,{from:o,to:o,text:t}),wr(this,Hi(o),Bs)};Ra.prototype=y(zr.prototype,{constructor:Ra,iter:function(t,e,n){n?this.iterN(t-this.first,e-t,n):this.iterN(this.first,this.first+this.size,t)},insert:function(t,e){for(var n=0,i=0;i<e.length;++i)n+=e[i].height;this.insertInner(t-this.first,e,n)},remove:function(t,e){this.removeInner(t-this.first,e)},getValue:function(t){var e=I(this,this.first,this.first+this.size);return!1===t?e:e.join(t||this.lineSeparator())},setValue:vi(function(t){var e=D(this.first,0),n=this.first+this.size-1;Mr(this,{from:e,to:D(n,_(this,n).text.length),text:this.splitLines(t),origin:"setValue",full:!0},!0),this.cm&&Yn(this.cm,0,0),wr(this,Hi(e),Bs)}),replaceRange:function(t,e,n,i){e=z(this,e),n=n?z(this,n):e,Pr(this,t,e,n,i)},getRange:function(t,e,n){var i=L(this,z(this,t),z(this,e));return!1===n?i:i.join(n||this.lineSeparator())},getLine:function(t){var e=this.getLineHandle(t);return e&&e.text},getLineHandle:function(t){if(N(this,t))return _(this,t)},getLineNumber:function(t){return A(t)},getLineHandleVisualStart:function(t){return"number"==typeof t&&(t=_(this,t)),ht(t)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(t){return z(this,t)},getCursor:function(t){var e=this.sel.primary();return null==t||"head"==t?e.head:"anchor"==t?e.anchor:"end"==t||"to"==t||!1===t?e.to():e.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:vi(function(t,e,n){gr(this,z(this,"number"==typeof t?D(t,e||0):t),null,n)}),setSelection:vi(function(t,e,n){gr(this,z(this,t),z(this,e||t),n)}),extendSelection:vi(function(t,e,n){dr(this,z(this,t),e&&z(this,e),n)}),extendSelections:vi(function(t,e){mr(this,q(this,t),e)}),extendSelectionsBy:vi(function(t,e){mr(this,q(this,v(this.sel.ranges,t)),e)}),setSelections:vi(function(t,e,n){var i=this;if(t.length){for(var r=[],o=0;o<t.length;o++)r[o]=new La(z(i,t[o].anchor),z(i,t[o].head));null==e&&(e=Math.min(t.length-1,this.sel.primIndex)),wr(this,Wi(r,e),n)}}),addSelection:vi(function(t,e,n){var i=this.sel.ranges.slice(0);i.push(new La(z(this,t),z(this,e||t))),wr(this,Wi(i,i.length-1),n)}),getSelection:function(t){for(var e,n=this,i=this.sel.ranges,r=0;r<i.length;r++){var o=L(n,i[r].from(),i[r].to());e=e?e.concat(o):o}return!1===t?e:e.join(t||this.lineSeparator())},getSelections:function(t){for(var e=this,n=[],i=this.sel.ranges,r=0;r<i.length;r++){var o=L(e,i[r].from(),i[r].to());!1!==t&&(o=o.join(t||e.lineSeparator())),n[r]=o}return n},replaceSelection:function(t,e,n){for(var i=[],r=0;r<this.sel.ranges.length;r++)i[r]=t;this.replaceSelections(i,e,n||"+input")},replaceSelections:vi(function(t,e,n){for(var i=this,r=[],o=this.sel,s=0;s<o.ranges.length;s++){var a=o.ranges[s];r[s]={from:a.from(),to:a.to(),text:i.splitLines(t[s]),origin:n}}for(var l=e&&"end"!=e&&Ki(this,r,e),u=r.length-1;u>=0;u--)Mr(i,r[u]);l?yr(this,l):this.cm&&Gn(this.cm)}),undo:vi(function(){Er(this,"undo")}),redo:vi(function(){Er(this,"redo")}),undoSelection:vi(function(){Er(this,"undo",!0)}),redoSelection:vi(function(){Er(this,"redo",!0)}),setExtending:function(t){this.extend=t},getExtending:function(){return this.extend},historySize:function(){for(var t=this.history,e=0,n=0,i=0;i<t.done.length;i++)t.done[i].ranges||++e;for(var r=0;r<t.undone.length;r++)t.undone[r].ranges||++n;return{undo:e,redo:n}},clearHistory:function(){this.history=new tr(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(t){return t&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(t){return this.history.generation==(t||this.cleanGeneration)},getHistory:function(){return{done:pr(this.history.done),undone:pr(this.history.undone)}},setHistory:function(t){var e=this.history=new tr(this.history.maxGeneration);e.done=pr(t.done.slice(0),null,!0),e.undone=pr(t.undone.slice(0),null,!0)},setGutterMarker:vi(function(t,e,n){return Hr(this,t,"gutter",function(t){var i=t.gutterMarkers||(t.gutterMarkers={});return i[e]=n,!n&&S(i)&&(t.gutterMarkers=null),!0})}),clearGutter:vi(function(t){var e=this;this.iter(function(n){n.gutterMarkers&&n.gutterMarkers[t]&&Hr(e,n,"gutter",function(){return n.gutterMarkers[t]=null,S(n.gutterMarkers)&&(n.gutterMarkers=null),!0})})}),lineInfo:function(t){var e;if("number"==typeof t){if(!N(this,t))return null;if(e=t,!(t=_(this,t)))return null}else if(null==(e=A(t)))return null;return{line:e,handle:t,text:t.text,gutterMarkers:t.gutterMarkers,textClass:t.textClass,bgClass:t.bgClass,wrapClass:t.wrapClass,widgets:t.widgets}},addLineClass:vi(function(e,n,i){return Hr(this,e,"gutter"==n?"gutter":"class",function(e){var r="text"==n?"textClass":"background"==n?"bgClass":"gutter"==n?"gutterClass":"wrapClass";if(e[r]){if(t(i).test(e[r]))return!1;e[r]+=" "+i}else e[r]=i;return!0})}),removeLineClass:vi(function(e,n,i){return Hr(this,e,"gutter"==n?"gutter":"class",function(e){var r="text"==n?"textClass":"background"==n?"bgClass":"gutter"==n?"gutterClass":"wrapClass",o=e[r];if(!o)return!1;if(null==i)e[r]=null;else{var s=o.match(t(i));if(!s)return!1;var a=s.index+s[0].length;e[r]=o.slice(0,s.index)+(s.index&&a!=o.length?" ":"")+o.slice(a)||null}return!0})}),addLineWidget:vi(function(t,e,n){return qr(this,t,e,n)}),removeLineWidget:function(t){t.clear()},markText:function(t,e,n){return Kr(this,z(this,t),z(this,e),n,n&&n.type||"range")},setBookmark:function(t,e){var n={replacedWith:e&&(null==e.nodeType?e.widget:e),insertLeft:e&&e.insertLeft,clearWhenEmpty:!1,shared:e&&e.shared,handleMouseEvents:e&&e.handleMouseEvents};return t=z(this,t),Kr(this,t,t,n,"bookmark")},findMarksAt:function(t){t=z(this,t);var e=[],n=_(this,t.line).markedSpans;if(n)for(var i=0;i<n.length;++i){var r=n[i];(null==r.from||r.from<=t.ch)&&(null==r.to||r.to>=t.ch)&&e.push(r.marker.parent||r.marker)}return e},findMarks:function(t,e,n){t=z(this,t),e=z(this,e);var i=[],r=t.line;return this.iter(t.line,e.line+1,function(o){var s=o.markedSpans;if(s)for(var a=0;a<s.length;a++){var l=s[a];null!=l.to&&r==t.line&&t.ch>=l.to||null==l.from&&r!=t.line||null!=l.from&&r==e.line&&l.from>=e.ch||n&&!n(l.marker)||i.push(l.marker.parent||l.marker)}++r}),i},getAllMarks:function(){var t=[];return this.iter(function(e){var n=e.markedSpans;if(n)for(var i=0;i<n.length;++i)null!=n[i].from&&t.push(n[i].marker)}),t},posFromIndex:function(t){var e,n=this.first,i=this.lineSeparator().length;return this.iter(function(r){var o=r.text.length+i;if(o>t)return e=t,!0;t-=o,++n}),z(this,D(n,e))},indexFromPos:function(t){t=z(this,t);var e=t.ch;if(t.line<this.first||t.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,t.line,function(t){e+=t.text.length+n}),e},copy:function(t){var e=new Ra(I(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return e.scrollTop=this.scrollTop,e.scrollLeft=this.scrollLeft,e.sel=this.sel,e.extend=!1,t&&(e.history.undoDepth=this.history.undoDepth,e.setHistory(this.getHistory())),e},linkedDoc:function(t){t||(t={});var e=this.first,n=this.first+this.size;null!=t.from&&t.from>e&&(e=t.from),null!=t.to&&t.to<n&&(n=t.to);var i=new Ra(I(this,e,n),t.mode||this.modeOption,e,this.lineSep,this.direction);return t.sharedHist&&(i.history=this.history),(this.linked||(this.linked=[])).push({doc:i,sharedHist:t.sharedHist}),i.linked=[{doc:this,isParent:!0,sharedHist:t.sharedHist}],Yr(i,Gr(this)),i},unlinkDoc:function(t){var e=this;if(t instanceof Uo&&(t=t.doc),this.linked)for(var n=0;n<this.linked.length;++n){var i=e.linked[n];if(i.doc==t){e.linked.splice(n,1),t.unlinkDoc(e),Xr(Gr(e));break}}if(t.history==this.history){var r=[t.id];Ji(t,function(t){return r.push(t.id)},!0),t.history=new tr(null),t.history.done=pr(this.history.done,r),t.history.undone=pr(this.history.undone,r)}},iterLinkedDocs:function(t){Ji(this,t)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(t){return this.lineSep?t.split(this.lineSep):na(t)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:vi(function(t){"rtl"!=t&&(t="ltr"),t!=this.direction&&(this.direction=t,this.iter(function(t){return t.order=null}),this.cm&&$i(this.cm))})}),Ra.prototype.eachLine=Ra.prototype.iter;for(var Da=0,Pa=!1,ja={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",127:"Delete",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Fa=0;Fa<10;Fa++)ja[Fa+48]=ja[Fa+96]=String(Fa);for(var Wa=65;Wa<=90;Wa++)ja[Wa]=String.fromCharCode(Wa);for(var Ha=1;Ha<=12;Ha++)ja[Ha+111]=ja[Ha+63235]="F"+Ha;var Va={};Va.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Va.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Va.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Va.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Va.default=Is?Va.macDefault:Va.pcDefault;var za={selectAll:Lr,singleSelection:function(t){return t.setSelection(t.getCursor("anchor"),t.getCursor("head"),Bs)},killLine:function(t){return ho(t,function(e){if(e.empty()){var n=_(t.doc,e.head.line).text.length;return e.head.ch==n&&e.head.line<t.lastLine()?{from:e.head,to:D(e.head.line+1,0)}:{from:e.head,to:D(e.head.line,n)}}return{from:e.from(),to:e.to()}})},deleteLine:function(t){return ho(t,function(e){return{from:D(e.from().line,0),to:z(t.doc,D(e.to().line+1,0))}})},delLineLeft:function(t){return ho(t,function(t){return{from:D(t.from().line,0),to:t.from()}})},delWrappedLineLeft:function(t){return ho(t,function(e){var n=t.charCoords(e.head,"div").top+5;return{from:t.coordsChar({left:0,top:n},"div"),to:e.from()}})},delWrappedLineRight:function(t){return ho(t,function(e){var n=t.charCoords(e.head,"div").top+5,i=t.coordsChar({left:t.display.lineDiv.offsetWidth+100,top:n},"div");return{from:e.from(),to:i}})},undo:function(t){return t.undo()},redo:function(t){return t.redo()},undoSelection:function(t){return t.undoSelection()},redoSelection:function(t){return t.redoSelection()},goDocStart:function(t){return t.extendSelection(D(t.firstLine(),0))},goDocEnd:function(t){return t.extendSelection(D(t.lastLine()))},goLineStart:function(t){return t.extendSelectionsBy(function(e){return go(t,e.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(t){return t.extendSelectionsBy(function(e){return yo(t,e.head)},{origin:"+move",bias:1})},goLineEnd:function(t){return t.extendSelectionsBy(function(e){return bo(t,e.head.line)},{origin:"+move",bias:-1})},goLineRight:function(t){return t.extendSelectionsBy(function(e){var n=t.cursorCoords(e.head,"div").top+5;return t.coordsChar({left:t.display.lineDiv.offsetWidth+100,top:n},"div")},Ks)},goLineLeft:function(t){return t.extendSelectionsBy(function(e){var n=t.cursorCoords(e.head,"div").top+5;return t.coordsChar({left:0,top:n},"div")},Ks)},goLineLeftSmart:function(t){return t.extendSelectionsBy(function(e){var n=t.cursorCoords(e.head,"div").top+5,i=t.coordsChar({left:0,top:n},"div");return i.ch<t.getLine(i.line).search(/\S/)?yo(t,e.head):i},Ks)},goLineUp:function(t){return t.moveV(-1,"line")},goLineDown:function(t){return t.moveV(1,"line")},goPageUp:function(t){return t.moveV(-1,"page")},goPageDown:function(t){return t.moveV(1,"page")},goCharLeft:function(t){return t.moveH(-1,"char")},goCharRight:function(t){return t.moveH(1,"char")},goColumnLeft:function(t){return t.moveH(-1,"column")},goColumnRight:function(t){return t.moveH(1,"column")},goWordLeft:function(t){return t.moveH(-1,"word")},goGroupRight:function(t){return t.moveH(1,"group")},goGroupLeft:function(t){return t.moveH(-1,"group")},goWordRight:function(t){return t.moveH(1,"word")},delCharBefore:function(t){return t.deleteH(-1,"char")},delCharAfter:function(t){return t.deleteH(1,"char")},delWordBefore:function(t){return t.deleteH(-1,"word")},delWordAfter:function(t){return t.deleteH(1,"word")},delGroupBefore:function(t){return t.deleteH(-1,"group")},delGroupAfter:function(t){return t.deleteH(1,"group")},indentAuto:function(t){return t.indentSelection("smart")},indentMore:function(t){return t.indentSelection("add")},indentLess:function(t){return t.indentSelection("subtract")},insertTab:function(t){return t.replaceSelection("\t")},insertSoftTab:function(t){for(var e=[],n=t.listSelections(),i=t.options.tabSize,r=0;r<n.length;r++){var o=n[r].from(),s=h(t.getLine(o.line),o.ch,i);e.push(d(i-s%i))}t.replaceSelections(e)},defaultTab:function(t){t.somethingSelected()?t.indentSelection("add"):t.execCommand("insertTab")},transposeChars:function(t){return fi(t,function(){for(var e=t.listSelections(),n=[],i=0;i<e.length;i++)if(e[i].empty()){var r=e[i].head,o=_(t.doc,r.line).text;if(o)if(r.ch==o.length&&(r=new D(r.line,r.ch-1)),r.ch>0)r=new D(r.line,r.ch+1),t.replaceRange(o.charAt(r.ch-1)+o.charAt(r.ch-2),D(r.line,r.ch-2),r,"+transpose");else if(r.line>t.doc.first){var s=_(t.doc,r.line-1).text;s&&(r=new D(r.line,1),t.replaceRange(o.charAt(0)+t.doc.lineSeparator()+s.charAt(s.length-1),D(r.line-1,s.length-1),r,"+transpose"))}n.push(new La(r,r))}t.setSelections(n)})},newlineAndIndent:function(t){return fi(t,function(){for(var e=t.listSelections(),n=e.length-1;n>=0;n--)t.replaceRange(t.doc.lineSeparator(),e[n].anchor,e[n].head,"+input");e=t.listSelections();for(var i=0;i<e.length;i++)t.indentLine(e[i].from().line,null,!0);Gn(t)})},openLine:function(t){return t.replaceSelection("\n","start")},toggleOverwrite:function(t){return t.toggleOverwrite()}},Ba=new Fs,qa=null,Ka=function(t,e,n){this.time=t,this.pos=e,this.button=n};Ka.prototype.compare=function(t,e,n){return this.time+400>t&&0==P(e,this.pos)&&n==this.button};var Ua,Ga,Ya={toString:function(){return"CodeMirror.Init"}},Xa={},Ja={};Uo.defaults=Xa,Uo.optionHandlers=Ja;var Za=[];Uo.defineInitHook=function(t){return Za.push(t)};var Qa=null,$a=function(t){this.cm=t,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Fs,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};$a.prototype.init=function(t){function e(t){if(!_t(r,t)){if(r.somethingSelected())Xo({lineWise:!1,text:r.getSelections()}),"cut"==t.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var e=$o(r);Xo({lineWise:!0,text:e.text}),"cut"==t.type&&r.operation(function(){r.setSelections(e.ranges,0,Bs),r.replaceSelection("",null,"cut")})}if(t.clipboardData){t.clipboardData.clearData();var n=Qa.text.join("\n");if(t.clipboardData.setData("Text",n),t.clipboardData.getData("Text")==n)return void t.preventDefault()}var s=es(),a=s.firstChild;r.display.lineSpace.insertBefore(s,r.display.lineSpace.firstChild),a.value=Qa.text.join("\n");var l=document.activeElement;js(a),setTimeout(function(){r.display.lineSpace.removeChild(s),l.focus(),l==o&&i.showPrimarySelection()},50)}}var n=this,i=this,r=i.cm,o=i.div=t.lineDiv;ts(o,r.options.spellcheck),ta(o,"paste",function(t){_t(r,t)||Zo(t,r)||bs<=11&&setTimeout(di(r,function(){return n.updateFromDOM()}),20)}),ta(o,"compositionstart",function(t){n.composing={data:t.data,done:!1}}),ta(o,"compositionupdate",function(t){n.composing||(n.composing={data:t.data,done:!1})}),ta(o,"compositionend",function(t){n.composing&&(t.data!=n.composing.data&&n.readFromDOMSoon(),n.composing.done=!0)}),ta(o,"touchstart",function(){return i.forceCompositionEnd()}),ta(o,"input",function(){n.composing||n.readFromDOMSoon()}),ta(o,"copy",e),ta(o,"cut",e)},$a.prototype.prepareSelection=function(){var t=Ln(this.cm,!1);return t.focus=this.cm.state.focused,t},$a.prototype.showSelection=function(t,e){t&&this.cm.display.view.length&&((t.focus||e)&&this.showPrimarySelection(),this.showMultipleSelections(t))},$a.prototype.showPrimarySelection=function(){var t=window.getSelection(),e=this.cm,n=e.doc.sel.primary(),i=n.from(),r=n.to();if(e.display.viewTo==e.display.viewFrom||i.line>=e.display.viewTo||r.line<e.display.viewFrom)return void t.removeAllRanges();var o=ls(e,t.anchorNode,t.anchorOffset),s=ls(e,t.focusNode,t.focusOffset);if(!o||o.bad||!s||s.bad||0!=P(H(o,s),i)||0!=P(W(o,s),r)){var a=e.display.view,l=i.line>=e.display.viewFrom&&rs(e,i)||{node:a[0].measure.map[2],offset:0},u=r.line<e.display.viewTo&&rs(e,r);if(!u){var c=a[a.length-1].measure,h=c.maps?c.maps[c.maps.length-1]:c.map;u={node:h[h.length-1],offset:h[h.length-2]-h[h.length-3]}}if(!l||!u)return void t.removeAllRanges();var p,f=t.rangeCount&&t.getRangeAt(0);try{p=Ns(l.node,l.offset,u.offset,u.node)}catch(t){}p&&(!fs&&e.state.focused?(t.collapse(l.node,l.offset),p.collapsed||(t.removeAllRanges(),t.addRange(p))):(t.removeAllRanges(),t.addRange(p)),f&&null==t.anchorNode?t.addRange(f):fs&&this.startGracePeriod()),this.rememberSelection()}},$a.prototype.startGracePeriod=function(){var t=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){t.gracePeriod=!1,t.selectionChanged()&&t.cm.operation(function(){return t.cm.curOp.selectionChanged=!0})},20)},$a.prototype.showMultipleSelections=function(t){n(this.cm.display.cursorDiv,t.cursors),n(this.cm.display.selectionDiv,t.selection)},$a.prototype.rememberSelection=function(){var t=window.getSelection();this.lastAnchorNode=t.anchorNode,this.lastAnchorOffset=t.anchorOffset,this.lastFocusNode=t.focusNode,this.lastFocusOffset=t.focusOffset},$a.prototype.selectionInEditor=function(){var t=window.getSelection();if(!t.rangeCount)return!1;var e=t.getRangeAt(0).commonAncestorContainer;return o(this.div,e)},$a.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()||this.showSelection(this.prepareSelection(),!0),this.div.focus())},$a.prototype.blur=function(){this.div.blur()},$a.prototype.getField=function(){return this.div},$a.prototype.supportsTouch=function(){return!0},$a.prototype.receivedFocus=function(){function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}var e=this;this.selectionInEditor()?this.pollSelection():fi(this.cm,function(){return e.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,t)},$a.prototype.selectionChanged=function(){var t=window.getSelection();return t.anchorNode!=this.lastAnchorNode||t.anchorOffset!=this.lastAnchorOffset||t.focusNode!=this.lastFocusNode||t.focusOffset!=this.lastFocusOffset},$a.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var t=window.getSelection(),e=this.cm;if(_s&&xs&&this.cm.options.gutters.length&&os(t.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=ls(e,t.anchorNode,t.anchorOffset),i=ls(e,t.focusNode,t.focusOffset);n&&i&&fi(e,function(){wr(e.doc,Hi(n,i),Bs),(n.bad||i.bad)&&(e.curOp.selectionChanged=!0)})}}},$a.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var t=this.cm,e=t.display,n=t.doc.sel.primary(),i=n.from(),r=n.to();if(0==i.ch&&i.line>t.firstLine()&&(i=D(i.line-1,_(t.doc,i.line-1).length)),r.ch==_(t.doc,r.line).text.length&&r.line<t.lastLine()&&(r=D(r.line+1,0)),i.line<e.viewFrom||r.line>e.viewTo-1)return!1;var o,s,a;i.line==e.viewFrom||0==(o=Tn(t,i.line))?(s=A(e.view[0].line),a=e.view[0].node):(s=A(e.view[o].line),a=e.view[o-1].node.nextSibling);var l,u,c=Tn(t,r.line);if(c==e.view.length-1?(l=e.viewTo-1,u=e.lineDiv.lastChild):(l=A(e.view[c+1].line)-1,u=e.view[c+1].node.previousSibling),!a)return!1;for(var h=t.doc.splitLines(as(t,a,u,s,l)),p=L(t.doc,D(s,0),D(l,_(t.doc,l).text.length));h.length>1&&p.length>1;)if(m(h)==m(p))h.pop(),p.pop(),l--;else{if(h[0]!=p[0])break;h.shift(),p.shift(),s++}for(var f=0,d=0,v=h[0],g=p[0],b=Math.min(v.length,g.length);f<b&&v.charCodeAt(f)==g.charCodeAt(f);)++f;for(var y=m(h),w=m(p),x=Math.min(y.length-(1==h.length?f:0),w.length-(1==p.length?f:0));d<x&&y.charCodeAt(y.length-d-1)==w.charCodeAt(w.length-d-1);)++d;if(1==h.length&&1==p.length&&s==i.line)for(;f&&f>i.ch&&y.charCodeAt(y.length-d-1)==w.charCodeAt(w.length-d-1);)f--,d++;h[h.length-1]=y.slice(0,y.length-d).replace(/^\u200b+/,""),h[0]=h[0].slice(f).replace(/\u200b+$/,"");var S=D(s,f),C=D(l,p.length?m(p).length-d:0);return h.length>1||h[0]||P(S,C)?(Pr(t.doc,h,S,C,"+input"),!0):void 0},$a.prototype.ensurePolled=function(){this.forceCompositionEnd()},$a.prototype.reset=function(){this.forceCompositionEnd()},$a.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},$a.prototype.readFromDOMSoon=function(){var t=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(t.readDOMTimeout=null,t.composing){if(!t.composing.done)return;t.composing=null}t.updateFromDOM()},80))},$a.prototype.updateFromDOM=function(){var t=this;!this.cm.isReadOnly()&&this.pollContent()||fi(this.cm,function(){return gi(t.cm)})},$a.prototype.setUneditable=function(t){t.contentEditable="false"},$a.prototype.onKeyPress=function(t){0!=t.charCode&&(t.preventDefault(),this.cm.isReadOnly()||di(this.cm,Jo)(this.cm,String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),0))},$a.prototype.readOnlyChanged=function(t){this.div.contentEditable=String("nocursor"!=t)},$a.prototype.onContextMenu=function(){},$a.prototype.resetPosition=function(){},$a.prototype.needsContentAttribute=!0;var tl=function(t){this.cm=t,this.prevInput="",this.pollingFast=!1,this.polling=new Fs,this.hasSelection=!1,this.composing=null};tl.prototype.init=function(t){function e(t){if(!_t(r,t)){if(r.somethingSelected())Xo({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var e=$o(r);Xo({lineWise:!0,text:e.text}),"cut"==t.type?r.setSelections(e.ranges,null,Bs):(i.prevInput="",s.value=e.text.join("\n"),js(s))}"cut"==t.type&&(r.state.cutIncoming=!0)}}var n=this,i=this,r=this.cm,o=this.wrapper=es(),s=this.textarea=o.firstChild;t.wrapper.insertBefore(o,t.wrapper.firstChild),Ts&&(s.style.width="0px"),ta(s,"input",function(){gs&&bs>=9&&n.hasSelection&&(n.hasSelection=null),i.poll()}),ta(s,"paste",function(t){_t(r,t)||Zo(t,r)||(r.state.pasteIncoming=!0,i.fastPoll())}),ta(s,"cut",e),ta(s,"copy",e),ta(t.scroller,"paste",function(e){De(t,e)||_t(r,e)||(r.state.pasteIncoming=!0,i.focus())}),ta(t.lineSpace,"selectstart",function(e){De(t,e)||At(e)}),ta(s,"compositionstart",function(){var t=r.getCursor("from");i.composing&&i.composing.range.clear(),i.composing={start:t,range:r.markText(t,r.getCursor("to"),{className:"CodeMirror-composing"})}}),ta(s,"compositionend",function(){i.composing&&(i.poll(),i.composing.range.clear(),i.composing=null)})},tl.prototype.prepareSelection=function(){var t=this.cm,e=t.display,n=t.doc,i=Ln(t);if(t.options.moveInputWithCursor){var r=un(t,n.sel.primary().head,"div"),o=e.wrapper.getBoundingClientRect(),s=e.lineDiv.getBoundingClientRect();i.teTop=Math.max(0,Math.min(e.wrapper.clientHeight-10,r.top+s.top-o.top)),i.teLeft=Math.max(0,Math.min(e.wrapper.clientWidth-10,r.left+s.left-o.left))}return i},tl.prototype.showSelection=function(t){var e=this.cm,i=e.display;n(i.cursorDiv,t.cursors),n(i.selectionDiv,t.selection),null!=t.teTop&&(this.wrapper.style.top=t.teTop+"px",this.wrapper.style.left=t.teLeft+"px")},tl.prototype.reset=function(t){if(!this.contextMenuPending&&!this.composing){var e=this.cm;if(e.somethingSelected()){this.prevInput="";var n=e.getSelection();this.textarea.value=n,e.state.focused&&js(this.textarea),gs&&bs>=9&&(this.hasSelection=n)}else t||(this.prevInput=this.textarea.value="",gs&&bs>=9&&(this.hasSelection=null))}},tl.prototype.getField=function(){return this.textarea},tl.prototype.supportsTouch=function(){return!1},tl.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!Ls||s()!=this.textarea))try{this.textarea.focus()}catch(t){}},tl.prototype.blur=function(){this.textarea.blur()},tl.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},tl.prototype.receivedFocus=function(){this.slowPoll()},tl.prototype.slowPoll=function(){var t=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){t.poll(),t.cm.state.focused&&t.slowPoll()})},tl.prototype.fastPoll=function(){function t(){n.poll()||e?(n.pollingFast=!1,n.slowPoll()):(e=!0,n.polling.set(60,t))}var e=!1,n=this;n.pollingFast=!0,n.polling.set(20,t)},tl.prototype.poll=function(){var t=this,e=this.cm,n=this.textarea,i=this.prevInput;if(this.contextMenuPending||!e.state.focused||ia(n)&&!i&&!this.composing||e.isReadOnly()||e.options.disableInput||e.state.keySeq)return!1;var r=n.value;if(r==i&&!e.somethingSelected())return!1;if(gs&&bs>=9&&this.hasSelection===r||Is&&/[\uf700-\uf7ff]/.test(r))return e.display.input.reset(),!1;if(e.doc.sel==e.display.selForContextMenu){var o=r.charCodeAt(0);if(8203!=o||i||(i="​"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var s=0,a=Math.min(i.length,r.length);s<a&&i.charCodeAt(s)==r.charCodeAt(s);)++s;return fi(e,function(){Jo(e,r.slice(s),i.length-s,null,t.composing?"*compose":null),r.length>1e3||r.indexOf("\n")>-1?n.value=t.prevInput="":t.prevInput=r,t.composing&&(t.composing.range.clear(),t.composing.range=e.markText(t.composing.start,e.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},tl.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},tl.prototype.onKeyPress=function(){gs&&bs>=9&&(this.hasSelection=null),this.fastPoll()},tl.prototype.onContextMenu=function(t){function e(){if(null!=s.selectionStart){var t=r.somethingSelected(),e="​"+(t?s.value:"");s.value="⇚",s.value=e,i.prevInput=t?"":"​",s.selectionStart=1,s.selectionEnd=e.length,o.selForContextMenu=r.doc.sel}}function n(){if(i.contextMenuPending=!1,i.wrapper.style.cssText=c,s.style.cssText=u,gs&&bs<9&&o.scrollbars.setScrollTop(o.scroller.scrollTop=l),null!=s.selectionStart){(!gs||gs&&bs<9)&&e();var t=0,n=function(){o.selForContextMenu==r.doc.sel&&0==s.selectionStart&&s.selectionEnd>0&&"​"==i.prevInput?di(r,Lr)(r):t++<10?o.detectingSelectAll=setTimeout(n,500):(o.selForContextMenu=null,o.input.reset())};o.detectingSelectAll=setTimeout(n,200)}}var i=this,r=i.cm,o=r.display,s=i.textarea,a=kn(r,t),l=o.scroller.scrollTop;if(a&&!Ss){r.options.resetSelectionOnContextMenu&&-1==r.doc.sel.contains(a)&&di(r,wr)(r.doc,Hi(a),Bs);var u=s.style.cssText,c=i.wrapper.style.cssText;i.wrapper.style.cssText="position: absolute";var h=i.wrapper.getBoundingClientRect();s.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(t.clientY-h.top-5)+"px; left: "+(t.clientX-h.left-5)+"px;\n z-index: 1000; background: "+(gs?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var p;if(ys&&(p=window.scrollY),o.input.focus(),ys&&window.scrollTo(null,p),o.input.reset(),r.somethingSelected()||(s.value=i.prevInput=" "),i.contextMenuPending=!0,o.selForContextMenu=r.doc.sel,clearTimeout(o.detectingSelectAll),gs&&bs>=9&&e(),Ds){Rt(t);var f=function(){kt(window,"mouseup",f),setTimeout(n,20)};ta(window,"mouseup",f)}else setTimeout(n,50)}},tl.prototype.readOnlyChanged=function(t){t||this.reset(),this.textarea.disabled="nocursor"==t},tl.prototype.setUneditable=function(){},tl.prototype.needsContentAttribute=!1,function(t){function e(e,i,r,o){t.defaults[e]=i,r&&(n[e]=o?function(t,e,n){n!=Ya&&r(t,e,n)}:r)}var n=t.optionHandlers;t.defineOption=e,t.Init=Ya,e("value","",function(t,e){return t.setValue(e)},!0),e("mode",null,function(t,e){t.doc.modeOption=e,Ui(t)},!0),e("indentUnit",2,Ui,!0),e("indentWithTabs",!1),e("smartIndent",!0),e("tabSize",4,function(t){Gi(t),en(t),gi(t)},!0),e("lineSeparator",null,function(t,e){if(t.doc.lineSep=e,e){var n=[],i=t.doc.first;t.doc.iter(function(t){for(var r=0;;){var o=t.text.indexOf(e,r);if(-1==o)break;r=o+e.length,n.push(D(i,o))}i++});for(var r=n.length-1;r>=0;r--)Pr(t.doc,e,n[r],D(n[r].line,n[r].ch+e.length))}}),e("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(t,e,n){t.state.specialChars=new RegExp(e.source+(e.test("\t")?"":"|\t"),"g"),n!=Ya&&t.refresh()}),e("specialCharPlaceholder",ue,function(t){return t.refresh()},!0),e("electricChars",!0),e("inputStyle",Ls?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),e("spellcheck",!1,function(t,e){return t.getInputField().spellcheck=e},!0),e("rtlMoveVisually",!As),e("wholeLineUpdateBefore",!0),e("theme","default",function(t){zo(t),Bo(t)},!0),e("keyMap","default",function(t,e,n){var i=co(e),r=n!=Ya&&co(n);r&&r.detach&&r.detach(t,i),i.attach&&i.attach(t,r||null)}),e("extraKeys",null),e("configureMouse",null),e("lineWrapping",!1,Ko,!0),e("gutters",[],function(t){Di(t.options),Bo(t)},!0),e("fixedGutter",!0,function(t,e){t.display.gutters.style.left=e?Sn(t.display)+"px":"0",t.refresh()},!0),e("coverGutterNextToScrollbar",!1,function(t){return ni(t)},!0),e("scrollbarStyle","native",function(t){ri(t),ni(t),t.display.scrollbars.setScrollTop(t.doc.scrollTop),t.display.scrollbars.setScrollLeft(t.doc.scrollLeft)},!0),e("lineNumbers",!1,function(t){Di(t.options),Bo(t)},!0),e("firstLineNumber",1,Bo,!0),e("lineNumberFormatter",function(t){return t},Bo,!0),e("showCursorWhenSelecting",!1,_n,!0),e("resetSelectionOnContextMenu",!0),e("lineWiseCopyCut",!0),e("pasteLinesPerSelection",!0),e("readOnly",!1,function(t,e){"nocursor"==e&&(Pn(t),t.display.input.blur()),t.display.input.readOnlyChanged(e)}),e("disableInput",!1,function(t,e){e||t.display.input.reset()},!0),e("dragDrop",!0,qo),e("allowDropFileTypes",null),e("cursorBlinkRate",530),e("cursorScrollMargin",0),e("cursorHeight",1,_n,!0),e("singleCursorHeightPerLine",!0,_n,!0),e("workTime",100),e("workDelay",100),e("flattenSpans",!0,Gi,!0),e("addModeClass",!1,Gi,!0),e("pollInterval",100),e("undoDepth",200,function(t,e){return t.doc.history.undoDepth=e}),e("historyEventDelay",1250),e("viewportMargin",10,function(t){return t.refresh()},!0),e("maxHighlightLength",1e4,Gi,!0),e("moveInputWithCursor",!0,function(t,e){e||t.display.input.resetPosition()}),e("tabindex",null,function(t,e){return t.display.input.getField().tabIndex=e||""}),e("autofocus",null),e("direction","ltr",function(t,e){return t.doc.setDirection(e)},!0)}(Uo),function(t){var e=t.optionHandlers,n=t.helpers={};t.prototype={constructor:t,focus:function(){window.focus(),this.display.input.focus()},setOption:function(t,n){var i=this.options,r=i[t];i[t]==n&&"mode"!=t||(i[t]=n,e.hasOwnProperty(t)&&di(this,e[t])(this,n,r),Tt(this,"optionChange",this,t))},getOption:function(t){return this.options[t]},getDoc:function(){return this.doc},addKeyMap:function(t,e){this.state.keyMaps[e?"push":"unshift"](co(t))},removeKeyMap:function(t){for(var e=this.state.keyMaps,n=0;n<e.length;++n)if(e[n]==t||e[n].name==t)return e.splice(n,1),!0},addOverlay:mi(function(e,n){var i=e.token?e:t.getMode(this.options,e);if(i.startState)throw new Error("Overlays may not be stateful.");g(this.state.overlays,{mode:i,modeSpec:e,opaque:n&&n.opaque,priority:n&&n.priority||0},function(t){return t.priority}),this.state.modeGen++,gi(this)}),removeOverlay:mi(function(t){for(var e=this,n=this.state.overlays,i=0;i<n.length;++i){var r=n[i].modeSpec;if(r==t||"string"==typeof t&&r.name==t)return n.splice(i,1),e.state.modeGen++,void gi(e)}}),indentLine:mi(function(t,e,n){"string"!=typeof e&&"number"!=typeof e&&(e=null==e?this.options.smartIndent?"smart":"prev":e?"add":"subtract"),N(this.doc,t)&&Yo(this,t,e,n)}),indentSelection:mi(function(t){for(var e=this,n=this.doc.sel.ranges,i=-1,r=0;r<n.length;r++){var o=n[r];if(o.empty())o.head.line>i&&(Yo(e,o.head.line,t,!0),i=o.head.line,r==e.doc.sel.primIndex&&Gn(e));else{var s=o.from(),a=o.to(),l=Math.max(i,s.line);i=Math.min(e.lastLine(),a.line-(a.ch?0:1))+1;for(var u=l;u<i;++u)Yo(e,u,t);var c=e.doc.sel.ranges;0==s.ch&&n.length==c.length&&c[r].from().ch>0&&vr(e.doc,r,new La(s,c[r].to()),Bs)}}}),getTokenAt:function(t,e){return te(this,t,e)},getLineTokens:function(t,e){return te(this,D(t),e,!0)},getTokenTypeAt:function(t){t=z(this.doc,t);var e,n=Xt(this,_(this.doc,t.line)),i=0,r=(n.length-1)/2,o=t.ch;if(0==o)e=n[2];else for(;;){var s=i+r>>1;if((s?n[2*s-1]:0)>=o)r=s;else{if(!(n[2*s+1]<o)){e=n[2*s+2];break}i=s+1}}var a=e?e.indexOf("overlay "):-1;return a<0?e:0==a?null:e.slice(0,a-1)},getModeAt:function(e){var n=this.doc.mode;return n.innerMode?t.innerMode(n,this.getTokenAt(e).state).mode:n},getHelper:function(t,e){return this.getHelpers(t,e)[0]},getHelpers:function(t,e){var i=this,r=[];if(!n.hasOwnProperty(e))return r;var o=n[e],s=this.getModeAt(t);if("string"==typeof s[e])o[s[e]]&&r.push(o[s[e]]);else if(s[e])for(var a=0;a<s[e].length;a++){var l=o[s[e][a]];l&&r.push(l)}else s.helperType&&o[s.helperType]?r.push(o[s.helperType]):o[s.name]&&r.push(o[s.name]);for(var u=0;u<o._global.length;u++){var c=o._global[u];c.pred(s,i)&&-1==p(r,c.val)&&r.push(c.val)}return r},getStateAfter:function(t,e){var n=this.doc;return t=V(n,null==t?n.first+n.size-1:t),Jt(this,t+1,e).state},cursorCoords:function(t,e){var n,i=this.doc.sel.primary();return n=null==t?i.head:"object"==typeof t?z(this.doc,t):t?i.from():i.to(),un(this,n,e||"page")},charCoords:function(t,e){return ln(this,z(this.doc,t),e||"page")},coordsChar:function(t,e){return t=an(this,t,e||"page"),pn(this,t.left,t.top)},lineAtHeight:function(t,e){return t=an(this,{top:t,left:0},e||"page").top,E(this.doc,t+this.display.viewOffset)},heightAtLine:function(t,e,n){var i,r=!1;if("number"==typeof t){var o=this.doc.first+this.doc.size-1;t<this.doc.first?t=this.doc.first:t>o&&(t=o,r=!0),i=_(this.doc,t)}else i=t;return sn(this,i,{top:0,left:0},e||"page",n||r).top+(r?this.doc.height-bt(i):0)},defaultTextHeight:function(){return yn(this.display)},defaultCharWidth:function(){return wn(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(t,e,n,i,r){var o=this.display;t=un(this,z(this.doc,t));var s=t.bottom,a=t.left;if(e.style.position="absolute",e.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(e),o.sizer.appendChild(e),"over"==i)s=t.top;else if("above"==i||"near"==i){var l=Math.max(o.wrapper.clientHeight,this.doc.height),u=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==i||t.bottom+e.offsetHeight>l)&&t.top>e.offsetHeight?s=t.top-e.offsetHeight:t.bottom+e.offsetHeight<=l&&(s=t.bottom),a+e.offsetWidth>u&&(a=u-e.offsetWidth)}e.style.top=s+"px",e.style.left=e.style.right="","right"==r?(a=o.sizer.clientWidth-e.offsetWidth,e.style.right="0px"):("left"==r?a=0:"middle"==r&&(a=(o.sizer.clientWidth-e.offsetWidth)/2),e.style.left=a+"px"),n&&qn(this,{left:a,top:s,right:a+e.offsetWidth,bottom:s+e.offsetHeight})},triggerOnKeyDown:mi(ko),triggerOnKeyPress:mi(Lo),triggerOnKeyUp:_o,triggerOnMouseDown:mi(Mo),execCommand:function(t){if(za.hasOwnProperty(t))return za[t].call(null,this)},triggerElectric:mi(function(t){Qo(this,t)}),findPosH:function(t,e,n,i){var r=this,o=1;e<0&&(o=-1,e=-e);for(var s=z(this.doc,t),a=0;a<e&&(s=ns(r.doc,s,o,n,i),!s.hitSide);++a);return s},moveH:mi(function(t,e){var n=this;this.extendSelectionsBy(function(i){return n.display.shift||n.doc.extend||i.empty()?ns(n.doc,i.head,t,e,n.options.rtlMoveVisually):t<0?i.from():i.to()},Ks)}),deleteH:mi(function(t,e){var n=this.doc.sel,i=this.doc;n.somethingSelected()?i.replaceSelection("",null,"+delete"):ho(this,function(n){var r=ns(i,n.head,t,e,!1);return t<0?{from:r,to:n.head}:{from:n.head,to:r}})}),findPosV:function(t,e,n,i){var r=this,o=1,s=i;e<0&&(o=-1,e=-e);for(var a=z(this.doc,t),l=0;l<e;++l){var u=un(r,a,"div");if(null==s?s=u.left:u.left=s,a=is(r,u,o,n),a.hitSide)break}return a},moveV:mi(function(t,e){var n=this,i=this.doc,r=[],o=!this.display.shift&&!i.extend&&i.sel.somethingSelected();if(i.extendSelectionsBy(function(s){if(o)return t<0?s.from():s.to();var a=un(n,s.head,"div");null!=s.goalColumn&&(a.left=s.goalColumn),r.push(a.left);var l=is(n,a,t,e);return"page"==e&&s==i.sel.primary()&&Un(n,ln(n,l,"div").top-a.top),l},Ks),r.length)for(var s=0;s<i.sel.ranges.length;s++)i.sel.ranges[s].goalColumn=r[s]}),findWordAt:function(t){var e=this.doc,n=_(e,t.line).text,i=t.ch,r=t.ch;if(n){var o=this.getHelper(t,"wordChars");"before"!=t.sticky&&r!=n.length||!i?++r:--i;for(var s=n.charAt(i),a=x(s,o)?function(t){return x(t,o)}:/\s/.test(s)?function(t){return/\s/.test(t)}:function(t){return!/\s/.test(t)&&!x(t)};i>0&&a(n.charAt(i-1));)--i;for(;r<n.length&&a(n.charAt(r));)++r}return new La(D(t.line,i),D(t.line,r))},toggleOverwrite:function(t){null!=t&&t==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?a(this.display.cursorDiv,"CodeMirror-overwrite"):Ps(this.display.cursorDiv,"CodeMirror-overwrite"),Tt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==s()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:mi(function(t,e){Yn(this,t,e)}),getScrollInfo:function(){var t=this.display.scroller;return{left:t.scrollLeft,top:t.scrollTop,height:t.scrollHeight-We(this)-this.display.barHeight,width:t.scrollWidth-We(this)-this.display.barWidth,clientHeight:Ve(this),clientWidth:He(this)}},scrollIntoView:mi(function(t,e){null==t?(t={from:this.doc.sel.primary().head,to:null},null==e&&(e=this.options.cursorScrollMargin)):"number"==typeof t?t={from:D(t,0),to:null}:null==t.from&&(t={from:t,to:null}),t.to||(t.to=t.from),t.margin=e||0,null!=t.from.line?Xn(this,t):Zn(this,t.from,t.to,t.margin)}),setSize:mi(function(t,e){var n=this,i=function(t){return"number"==typeof t||/^\d+$/.test(String(t))?t+"px":t};null!=t&&(this.display.wrapper.style.width=i(t)),null!=e&&(this.display.wrapper.style.height=i(e)),this.options.lineWrapping&&tn(this);var r=this.display.viewFrom;this.doc.iter(r,this.display.viewTo,function(t){if(t.widgets)for(var e=0;e<t.widgets.length;e++)if(t.widgets[e].noHScroll){bi(n,r,"widget");break}++r}),this.curOp.forceUpdate=!0,Tt(this,"refresh",this)}),operation:function(t){return fi(this,t)},startOperation:function(){return oi(this)},endOperation:function(){return si(this)},refresh:mi(function(){var t=this.display.cachedTextHeight;gi(this),this.curOp.forceUpdate=!0,en(this),Yn(this,this.doc.scrollLeft,this.doc.scrollTop),Ei(this),(null==t||Math.abs(t-yn(this.display))>.5)&&On(this),Tt(this,"refresh",this)}),swapDoc:mi(function(t){var e=this.doc;return e.cm=null,Zi(this,t),en(this),this.display.input.reset(),Yn(this,t.scrollLeft,t.scrollTop),this.curOp.forceScroll=!0,we(this,"swapDoc",this,e),e}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Mt(t),t.registerHelper=function(e,i,r){n.hasOwnProperty(e)||(n[e]=t[e]={_global:[]}),n[e][i]=r},t.registerGlobalHelper=function(e,i,r,o){t.registerHelper(e,i,o),n[e]._global.push({pred:r,val:o})}}(Uo);var el="iter insert remove copy getEditor constructor".split(" ");for(var nl in Ra.prototype)Ra.prototype.hasOwnProperty(nl)&&p(el,nl)<0&&(Uo.prototype[nl]=function(t){return function(){return t.apply(this.doc,arguments)}}(Ra.prototype[nl]));return Mt(Ra),Uo.inputStyles={textarea:tl,contenteditable:$a},Uo.defineMode=function(t){Uo.defaults.mode||"null"==t||(Uo.defaults.mode=t),Ht.apply(this,arguments)},Uo.defineMIME=Vt,Uo.defineMode("null",function(){return{token:function(t){return t.skipToEnd()}}}),Uo.defineMIME("text/plain","null"),Uo.defineExtension=function(t,e){Uo.prototype[t]=e},Uo.defineDocExtension=function(t,e){Ra.prototype[t]=e},Uo.fromTextArea=cs,function(t){t.off=kt,t.on=ta,t.wheelEventPixels=ji,t.Doc=Ra,t.splitLines=na,t.countColumn=h,t.findColumn=f,t.isWordChar=w,t.Pass=zs,t.signal=Tt,t.Line=fa,t.changeEnd=Vi,t.scrollbarModel=Sa,t.Pos=D,t.cmpPos=P,t.modes=sa,t.mimeModes=aa,t.resolveMode=zt,t.getMode=Bt,t.modeExtensions=la,t.extendMode=qt,t.copyState=Kt,t.startState=Gt,t.innerMode=Ut,t.commands=za,t.keyMap=Va,t.keyName=uo,t.isModifierKey=ao,t.lookupKey=so,t.normalizeKeyMap=oo,t.StringStream=ua,t.SharedTextMarker=Ea,t.TextMarker=Aa,t.LineWidget=Ia,t.e_preventDefault=At,t.e_stopPropagation=Et,t.e_stop=Rt,t.addClass=a,t.contains=o,t.rmClass=Ps,t.keyNames=ja}(Uo),Uo.version="5.31.0",Uo})},okgN:function(t,e,n){"use strict";var i=n("bKpL"),r=n("pOTC");i.Observable.if=r._if},olOS:function(t,e,n){"use strict";function i(t){return void 0===t&&(t=r.async),o.timestamp(t)(this)}var r=n("IhB/"),o=n("xK8X");e.timestamp=i},olrH:function(t,e,n){"use strict";function i(t,e){return r.concatMapTo(t,e)(this)}var r=n("0mJJ");e.concatMapTo=i},p2gU:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n("nhnq");e.BootstrapModalModule=i.BootstrapModalModule,e.DialogComponent=i.DialogComponent,e.DialogService=i.DialogService},p2y2:function(t,e,n){"use strict";function i(t,e){for(var n=0,i=e.length;n<i;n++)for(var r=e[n],o=Object.getOwnPropertyNames(r.prototype),s=0,a=o.length;s<a;s++){var l=o[s];t.prototype[l]=r.prototype[l]}}e.applyMixins=i},p3bn:function(t,e,n){"use strict";var i=n("bKpL"),r=n("Obns");i.Observable.prototype.debounce=r.debounce},p3u8:function(t,e,n){"use strict";var i=n("bKpL"),r=n("BbOI");i.Observable.bindNodeCallback=r.bindNodeCallback},p4do:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){var n;"function"==typeof t[t.length-1]&&(n=t.pop());var i=t;return e.lift(new a(i,n))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("yW9Z"),s=n("ktfo");e.withLatestFrom=i;var a=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.observables,this.project))},t}(),l=function(t){function e(e,n,i){t.call(this,e),this.observables=n,this.project=i,this.toRespond=[];var r=n.length;this.values=new Array(r);for(var o=0;o<r;o++)this.toRespond.push(o);for(var o=0;o<r;o++){var a=n[o];this.add(s.subscribeToResult(this,a,a,o))}}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.values[n]=e;var o=this.toRespond;if(o.length>0){var s=o.indexOf(n);-1!==s&&o.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}(o.OuterSubscriber)},pHO4:function(t,e,n){"use strict";var i=n("bKpL"),r=n("0nG5");i.Observable.prototype.min=r.min},pOTC:function(t,e,n){"use strict";var i=n("S08L");e._if=i.IfObservable.create},pd7P:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i;!function(t){t[t.PREV=0]="PREV",t[t.NEXT=1]="NEXT"}(i||(i={}))},pguX:function(t,e,n){"use strict";function i(){return function(t){return t.lift(new s)}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+");e.dematerialize=i;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e)}return r(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(o.Subscriber)},pkLr:function(t,e,n){"use strict";var i=n("bKpL"),r=n("PwNK");i.Observable.prototype.audit=r.audit},ptvE:function(t,e,n){"use strict";var i=n("bKpL"),r=n("ki6Z");i.Observable.prototype.exhaust=r.exhaust},"q+5A":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("EsGe"),o=n("bKpL"),s=n("IhB/"),a=function(t){function e(e,n){void 0===e&&(e=0),void 0===n&&(n=s.async),t.call(this),this.period=e,this.scheduler=n,(!r.isNumeric(e)||e<0)&&(this.period=0),n&&"function"==typeof n.schedule||(this.scheduler=s.async)}return i(e,t),e.create=function(t,n){return void 0===t&&(t=0),void 0===n&&(n=s.async),new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.subscriber,i=t.period;n.next(e),n.closed||(t.index+=1,this.schedule(t,i))},e.prototype._subscribe=function(t){var n=this.period,i=this.scheduler;t.add(i.schedule(e.dispatch,n,{index:0,subscriber:t,period:n}))},e}(o.Observable);e.IntervalObservable=a},q07K:function(t,e,n){"use strict";var i=n("bKpL"),r=n("8Jh8");i.Observable.prototype.takeUntil=r.takeUntil},qHrI:function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=0),function(n){return n.lift(new o(t,e))}}var r=n("P+lj");e.subscribeOn=i;var o=function(){function t(t,e){this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return new r.SubscribeOnObservable(e,this.delay,this.scheduler).subscribe(t)},t}()},qIlB:function(t,e,n){"use strict";var i=n("zijX"),r=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,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}return!1},t.prototype.partiallyApplied=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var i=function t(){var e=t,n=e.handler,i=e.args;"function"==typeof n?n.apply(void 0,i):new Function(""+n)()};return i.handler=t,i.args=e,i},t.prototype.addFromSetImmediateArguments=function(t){return this.tasksByHandle[this.nextHandle]=this.partiallyApplied.apply(void 0,t),this.nextHandle++},t.prototype.createProcessNextTickSetImmediate=function(){var t=function t(){var e=t.instance,n=e.addFromSetImmediateArguments(arguments);return e.root.process.nextTick(e.partiallyApplied(e.runIfPresent,n)),n};return t.instance=this,t},t.prototype.createPostMessageSetImmediate=function(){var t=this.root,e="setImmediate$"+t.Math.random()+"$",n=function n(i){var r=n.instance;i.source===t&&"string"==typeof i.data&&0===i.data.indexOf(e)&&r.runIfPresent(+i.data.slice(e.length))};n.instance=this,t.addEventListener("message",n,!1);var i=function t(){var e=t,n=e.messagePrefix,i=e.instance,r=i.addFromSetImmediateArguments(arguments);return i.root.postMessage(n+r,"*"),r};return i.instance=this,i.messagePrefix=e,i},t.prototype.runIfPresent=function(t){if(this.currentlyRunningATask)this.root.setTimeout(this.partiallyApplied(this.runIfPresent,t),0);else{var e=this.tasksByHandle[t];if(e){this.currentlyRunningATask=!0;try{e()}finally{this.clearImmediate(t),this.currentlyRunningATask=!1}}}},t.prototype.createMessageChannelSetImmediate=function(){var t=this,e=new this.root.MessageChannel;e.port1.onmessage=function(e){var n=e.data;t.runIfPresent(n)};var n=function t(){var e=t,n=e.channel,i=e.instance,r=i.addFromSetImmediateArguments(arguments);return n.port2.postMessage(r),r};return n.channel=e,n.instance=this,n},t.prototype.createReadyStateChangeSetImmediate=function(){var t=function t(){var e=t.instance,n=e.root,i=n.document,r=i.documentElement,o=e.addFromSetImmediateArguments(arguments),s=i.createElement("script");return s.onreadystatechange=function(){e.runIfPresent(o),s.onreadystatechange=null,r.removeChild(s),s=null},r.appendChild(s),o};return t.instance=this,t},t.prototype.createSetTimeoutSetImmediate=function(){var t=function t(){var e=t.instance,n=e.addFromSetImmediateArguments(arguments);return e.root.setTimeout(e.partiallyApplied(e.runIfPresent,n),0),n};return t.instance=this,t},t}();e.ImmediateDefinition=r,e.Immediate=new r(i.root)},qNQE:function(t,e,n){"use strict";var i=n("bKpL"),r=n("Txt5");i.Observable.prototype.auditTime=r.auditTime},qanz:function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new c(t,e))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("rlar"),s=n("RdI5"),a=n("XRvs"),l=n("yW9Z"),u=n("ktfo");e.retryWhen=i;var c=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.notifier,this.source))},t}(),h=function(t){function e(e,n,i){t.call(this,e),this.notifier=n,this.source=i}return r(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,i=this.retries,r=this.retriesSubscription;if(i)this.errors=null,this.retriesSubscription=null;else{if(n=new o.Subject,(i=s.tryCatch(this.notifier)(n))===a.errorObject)return t.prototype.error.call(this,a.errorObject.e);r=u.subscribeToResult(this,i)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=i,this.retriesSubscription=r,n.next(e)}},e.prototype._unsubscribe=function(){var t=this,e=t.errors,n=t.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,n,i,r){var o=this,s=o.errors,a=o.retries,l=o.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=s,this.retries=a,this.retriesSubscription=l,this.source.subscribe(this)},e}(l.OuterSubscriber)},qbcG:function(t,e,n){"use strict";var i=n("/oeL");n.d(e,"a",function(){return r});var r=function(){function t(){this.collapsed=!1}return t}();r.decorators=[{type:i.Directive,args:[{selector:"[ngbCollapse]",exportAs:"ngbCollapse",host:{"[class.collapse]":"true","[class.show]":"!collapsed"}}]}],r.ctorParameters=function(){return[]},r.propDecorators={collapsed:[{type:i.Input,args:["ngbCollapse"]}]}},qbt9:function(t,e,n){"use strict";function i(t,e){void 0===e&&(e=o.async);var n=s.isDate(t),i=n?+t-e.now():Math.abs(t);return function(t){return t.lift(new u(i,n,e,new l.TimeoutError))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("IhB/"),s=n("6jp4"),a=n("T14+"),l=n("0L2s");e.timeout=i;var u=function(){function t(t,e,n,i){this.waitFor=t,this.absoluteTimeout=e,this.scheduler=n,this.errorInstance=i}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.absoluteTimeout,this.waitFor,this.scheduler,this.errorInstance))},t}(),c=function(t){function e(e,n,i,r,o){t.call(this,e),this.absoluteTimeout=n,this.waitFor=i,this.scheduler=r,this.errorInstance=o,this.action=null,this.scheduleTimeout()}return r(e,t),e.dispatchTimeout=function(t){t.error(t.errorInstance)},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.errorInstance=null},e}(a.Subscriber)},qfkx:function(t,e,n){"use strict";function i(){return function(t){return o.multicast(new r.AsyncSubject)(t)}}var r=n("l6Wf"),o=n("P02W");e.publishLast=i},"qm+V":function(t,e,n){"use strict";var i=n("bKpL"),r=n("CE6k");i.Observable.prototype.share=r.share},"r+/7":function(t,e,n){"use strict";var i=n("bKpL"),r=n("THYR");i.Observable.prototype.every=r.every},r2Rd:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("Io40"),o=n("IqVs"),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return i(e,t),e.prototype.requestAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0?t.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e.scheduled||(e.scheduled=o.AnimationFrame.requestAnimationFrame(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,i){if(void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,i);0===e.actions.length&&(o.AnimationFrame.cancelAnimationFrame(n),e.scheduled=void 0)},e}(r.AsyncAction);e.AnimationFrameAction=s},r6G9:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 1===t.length&&a.isArray(t[0])&&(t=t[0]),function(e){return e.lift(new c(t))}}function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null;return 1===t.length&&a.isArray(t[0])&&(t=t[0]),n=t.shift(),new s.FromObservable(n,null).lift(new c(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("OWbQ"),a=n("NSJx"),l=n("yW9Z"),u=n("ktfo");e.onErrorResumeNext=i,e.onErrorResumeNextStatic=r;var c=function(){function t(t){this.nextSources=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.nextSources))},t}(),h=function(t){function e(e,n){t.call(this,e),this.destination=e,this.nextSources=n}return o(e,t),e.prototype.notifyError=function(t,e){this.subscribeToNextSource()},e.prototype.notifyComplete=function(t){this.subscribeToNextSource()},e.prototype._error=function(t){this.subscribeToNextSource()},e.prototype._complete=function(){this.subscribeToNextSource()},e.prototype.subscribeToNextSource=function(){var t=this.nextSources.shift();t?this.add(u.subscribeToResult(this,t)):this.destination.complete()},e}(l.OuterSubscriber)},rAcl:function(t,e,n){"use strict";var i=n("Qv0T");e.pairs=i.PairsObservable.create},rDIt:function(t,e,n){"use strict";function i(t,e,n){return r.tap(t,e,n)(this)}var r=n("4HZJ");e._do=i},raIJ:function(t,e,n){"use strict";var i=n("/oeL"),r=n("bm2B"),o=n("8Ben"),s=(n.n(o),n("rDIt")),a=(n.n(s),n("zGUx")),l=(n.n(a),n("75Hr")),u=n("c0Tg"),c=n("uJci"),h=n("wM1e"),p=n("0H8/");n.d(e,"a",function(){return v});var f;!function(t){t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowDown=40]="ArrowDown"}(f||(f={}));var d={provide:r.NG_VALUE_ACCESSOR,useExisting:n.i(i.forwardRef)(function(){return v}),multi:!0},m=0,v=function(){function t(t,e,r,o,s,h,p){var f=this;this._elementRef=t,this._viewContainerRef=e,this._renderer=r,this._injector=o,this.selectItem=new i.EventEmitter,this.popupId="ngb-typeahead-"+m++,this._onTouched=function(){},this._onChange=function(t){},this.editable=h.editable,this.focusFirst=h.focusFirst,this.showHint=h.showHint,this._valueChanges=n.i(a.fromEvent)(t.nativeElement,"input",function(t){return t.target.value}),this._popupService=new c.a(u.a,o,e,r,s),this._zoneSubscription=p.onStable.subscribe(function(){f.isPopupOpen()&&n.i(l.a)(f._elementRef.nativeElement,f._windowRef.location.nativeElement,"bottom-left")})}return t.prototype.ngOnInit=function(){var t=this,e=s._do.call(this._valueChanges,function(e){t._userInput=e,t.editable&&t._onChange(e)}),n=o.letProto.call(e,this.ngbTypeahead),i=s._do.call(n,function(){t.editable||t._onChange(void 0)});this._subscription=this._subscribeToUserInput(i)},t.prototype.ngOnDestroy=function(){this._unsubscribeFromUserInput(),this._zoneSubscription.unsubscribe()},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.writeValue=function(t){this._writeInputValue(this._formatItemForInput(t))},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype.dismissPopup=function(){this.isPopupOpen()&&(this._closePopup(),this._writeInputValue(this._userInput))},t.prototype.isPopupOpen=function(){return null!=this._windowRef},t.prototype.handleBlur=function(){this._onTouched()},t.prototype.handleKeyDown=function(t){if(this.isPopupOpen()&&f[n.i(h.d)(t.which)])switch(t.which){case f.ArrowDown:t.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case f.ArrowUp:t.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case f.Enter:case f.Tab:var e=this._windowRef.instance.getActive();n.i(h.h)(e)&&(t.preventDefault(),t.stopPropagation(),this._selectResult(e)),this._closePopup();break;case f.Escape:t.preventDefault(),this.dismissPopup()}},t.prototype._openPopup=function(){var t=this;this.isPopupOpen()||(this._windowRef=this._popupService.open(),this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe(function(e){return t._selectResultClosePopup(e)}),this._windowRef.instance.activeChangeEvent.subscribe(function(e){return t.activeDescendant=e}))},t.prototype._closePopup=function(){this._popupService.close(),this._windowRef=null,this.activeDescendant=void 0},t.prototype._selectResult=function(t){var e=!1;this.selectItem.emit({item:t,preventDefault:function(){e=!0}}),e||(this.writeValue(t),this._onChange(t))},t.prototype._selectResultClosePopup=function(t){this._selectResult(t),this._closePopup()},t.prototype._showHint=function(){if(this.showHint){var t=this._userInput.toLowerCase(),e=this._formatItemForInput(this._windowRef.instance.getActive());t===e.substr(0,this._userInput.length).toLowerCase()?(this._writeInputValue(this._userInput+e.substr(this._userInput.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._userInput.length,e.length])):this.writeValue(this._windowRef.instance.getActive())}},t.prototype._formatItemForInput=function(t){return t&&this.inputFormatter?this.inputFormatter(t):n.i(h.d)(t)},t.prototype._writeInputValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",t)},t.prototype._subscribeToUserInput=function(t){var e=this;return t.subscribe(function(t){t&&0!==t.length?(e._openPopup(),e._windowRef.instance.focusFirst=e.focusFirst,e._windowRef.instance.results=t,e._windowRef.instance.term=e._elementRef.nativeElement.value,e.resultFormatter&&(e._windowRef.instance.formatter=e.resultFormatter),e.resultTemplate&&(e._windowRef.instance.resultTemplate=e.resultTemplate),e._showHint(),e._windowRef.changeDetectorRef.detectChanges()):e._closePopup()})},t.prototype._unsubscribeFromUserInput=function(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null},t}();v.decorators=[{type:i.Directive,args:[{selector:"input[ngbTypeahead]",host:{"(blur)":"handleBlur()","[class.open]":"isPopupOpen()","(document:click)":"dismissPopup()","(keydown)":"handleKeyDown($event)",autocomplete:"off",autocapitalize:"off",autocorrect:"off",role:"combobox","aria-multiline":"false","[attr.aria-autocomplete]":'showHint ? "both" : "list"',"[attr.aria-activedescendant]":"activeDescendant","[attr.aria-owns]":"isPopupOpen() ? popupId : null","[attr.aria-expanded]":"isPopupOpen()"},providers:[d]}]}],v.ctorParameters=function(){return[{type:i.ElementRef},{type:i.ViewContainerRef},{type:i.Renderer2},{type:i.Injector},{type:i.ComponentFactoryResolver},{type:p.a},{type:i.NgZone}]},v.propDecorators={editable:[{type:i.Input}],focusFirst:[{type:i.Input}],inputFormatter:[{type:i.Input}],ngbTypeahead:[{type:i.Input}],resultFormatter:[{type:i.Input}],resultTemplate:[{type:i.Input}],showHint:[{type:i.Input}],selectItem:[{type:i.Output}]}},rhfi:function(t,e,n){"use strict";function i(){return r.switchMap(o.identity)}var r=n("TupL"),o=n("Yuqz");e.switchAll=i},rp90:function(t,e,n){"use strict";var i=n("bKpL"),r=n("IOeT");i.Observable.prototype.combineAll=r.combineAll},ruZE:function(t,e,n){"use strict";var i=n("r2Rd"),r=n("7Obz");e.animationFrame=new r.AnimationFrameScheduler(i.AnimationFrameAction)},s6AU:function(t,e,n){"use strict";function i(t){return r.takeWhile(t)(this)}var r=n("5x23");e.takeWhile=i},sLwK:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("EsGe"),o=n("bKpL"),s=n("IhB/"),a=n("MicL"),l=n("6jp4"),u=function(t){function e(e,n,i){void 0===e&&(e=0),t.call(this),this.period=-1,this.dueTime=0,r.isNumeric(n)?this.period=Number(n)<1&&1||Number(n):a.isScheduler(n)&&(i=n),a.isScheduler(i)||(i=s.async),this.scheduler=i,this.dueTime=l.isDate(e)?+e-this.scheduler.now():e}return i(e,t),e.create=function(t,n,i){return void 0===t&&(t=0),new e(t,n,i)},e.dispatch=function(t){var e=t.index,n=t.period,i=t.subscriber,r=this;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,r.schedule(t,n)}},e.prototype._subscribe=function(t){var n=this,i=n.period,r=n.dueTime;return n.scheduler.schedule(e.dispatch,r,{index:0,period:i,subscriber:t})},e}(o.Observable);e.TimerObservable=u},sSYo:function(t,e,n){"use strict";var i=n("bKpL"),r=n("Fi2k");i.Observable.prototype.windowToggle=r.windowToggle},saEi:function(t,e,n){"use strict";function i(t){return r.publishBehavior(t)(this)}var r=n("ASfG");e.publishBehavior=i},sdK6:function(t,e,n){"use strict";function i(t,e,n,i){return new u.DialogService(t,e,n,i)}var r=this&&this.__decorate||function(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};Object.defineProperty(e,"__esModule",{value:!0});var o=n("/oeL"),s=n("qbdv"),a=n("3WPo"),l=n("taw3"),u=n("V672");e.dialogServiceFactory=i;var c=h=function(){function t(){}return t.forRoot=function(t){return{ngModule:h,providers:[{provide:u.DialogServiceConfig,useValue:t},{provide:u.DialogService,useFactory:i,deps:[o.ComponentFactoryResolver,o.ApplicationRef,o.Injector,u.DialogServiceConfig]}]}},t}();c=h=r([o.NgModule({declarations:[a.DialogHolderComponent,l.DialogWrapperComponent],providers:[u.DialogService],imports:[s.CommonModule],entryComponents:[a.DialogHolderComponent,l.DialogWrapperComponent]})],c),e.BootstrapModalModule=c;var h},slZm:function(t,e,n){"use strict";var i=n("fcnB");e.empty=i.EmptyObservable.create},srZQ:function(t,e,n){"use strict";var i=n("bKpL"),r=n("RvTY");i.Observable.prototype.flatMapTo=r.mergeMapTo,i.Observable.prototype.mergeMapTo=r.mergeMapTo},svCP:function(t,e,n){"use strict";var i=n("bKpL"),r=n("tl8U");i.Observable.prototype.retryWhen=r.retryWhen},t8nJ:function(t,e,n){"use strict";var i=n("bKpL"),r=n("8pdA");i.Observable.prototype.bufferTime=r.bufferTime},t9cH:function(t,e,n){"use strict";function i(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(i){return i.lift(new u(t,e,n))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("RdI5"),s=n("XRvs"),a=n("ktfo"),l=n("yW9Z");e.mergeScan=i;var u=function(){function t(t,e,n){this.accumulator=t,this.seed=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.accumulator,this.seed,this.concurrent))},t}();e.MergeScanOperator=u;var c=function(t){function e(e,n,i,r){t.call(this,e),this.accumulator=n,this.acc=i,this.concurrent=r,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return r(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.index++,n=o.tryCatch(this.accumulator)(this.acc,t),i=this.destination;n===s.errorObject?i.error(s.errorObject.e):(this.active++,this._innerSub(n,t,e))}else this.buffer.push(t)},e.prototype._innerSub=function(t,e,n){this.add(a.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e.prototype.notifyNext=function(t,e,n,i,r){var o=this.destination;this.acc=e,this.hasValue=!0,o.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(l.OuterSubscriber);e.MergeScanSubscriber=c},tAjV:function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new u(t))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("RdI5"),s=n("XRvs"),a=n("yW9Z"),l=n("ktfo");e.audit=i;var u=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.durationSelector))},t}(),c=function(t){function e(e,n){t.call(this,e),this.durationSelector=n,this.hasValue=!1}return r(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=o.tryCatch(this.durationSelector)(t);if(e===s.errorObject)this.destination.error(s.errorObject.e);else{var n=l.subscribeToResult(this,e);n.closed?this.clearThrottle():this.add(this.throttled=n)}}},e.prototype.clearThrottle=function(){var t=this,e=t.value,n=t.hasValue,i=t.throttled;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),n&&(this.value=null,this.hasValue=!1,this.destination.next(e))},e.prototype.notifyNext=function(t,e,n,i){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(a.OuterSubscriber)},tBQh:function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=r.async),o.delay(t,e)(this)}var r=n("IhB/"),o=n("EUVd");e.delay=i},taw3:function(t,e,n){"use strict";var i=this&&this.__decorate||function(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},r=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var o=n("/oeL"),s=n("V672"),a=function(){function t(t,e){this.resolver=t,this.dialogService=e}return t.prototype.addComponent=function(t){var e=this.resolver.resolveComponentFactory(t),n=o.ReflectiveInjector.fromResolvedProviders([],this.element.injector),i=e.create(n);return this.element.insert(i.hostView),this.content=i.instance,this.content.wrapper=this,this.content},t.prototype.closeByClickOutside=function(){var t=this,e=this.container.nativeElement;e.querySelector(".modal-content").addEventListener("click",function(t){t.stopPropagation()}),e.addEventListener("click",function(){t.dialogService.removeDialog(t.content)},!1)},t}();i([o.ViewChild("element",{read:o.ViewContainerRef}),r("design:type",o.ViewContainerRef)],a.prototype,"element",void 0),i([o.ViewChild("container"),r("design:type",Object)],a.prototype,"container",void 0),a=i([o.Component({selector:"dialog-wrapper",template:'\n <div #container class="modal fade" style="display:block !important;" role="dialog">\n <template #element></template>\n </div>\n'}),r("design:paramtypes",[o.ComponentFactoryResolver,s.DialogService])],a),e.DialogWrapperComponent=a},tcot:function(t,e,n){"use strict";var i=n("bKpL"),r=n("F/7+");i.Observable.zip=r.zip},tl8U:function(t,e,n){"use strict";function i(t){return r.retryWhen(t)(this)}var r=n("qanz");e.retryWhen=i},tpuU:function(t,e,n){"use strict";function i(t){return r.zipAll(t)(this)}var r=n("IkMW");e.zipAll=i},uGEk:function(t,e,n){"use strict";var i=n("bKpL"),r=n("2UX5");i.Observable.prototype.timeout=r.timeout},uJci:function(t,e,n){"use strict";var i=n("/oeL");n.d(e,"b",function(){return r}),n.d(e,"a",function(){return o});var r=function(){function t(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n}return t}(),o=function(){function t(t,e,n,i,r){this._injector=e,this._viewContainerRef=n,this._renderer=i,this._windowFactory=r.resolveComponentFactory(t)}return t.prototype.open=function(t,e){return this._windowRef||(this._contentRef=this._getContentRef(t,e),this._windowRef=this._viewContainerRef.createComponent(this._windowFactory,0,this._injector,this._contentRef.nodes)),this._windowRef},t.prototype.close=function(){this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null,this._contentRef.viewRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef=null))},t.prototype._getContentRef=function(t,e){if(t){if(t instanceof i.TemplateRef){var n=this._viewContainerRef.createEmbeddedView(t,e);return new r([n.rootNodes],n)}return new r([[this._renderer.createText(""+t)]])}return new r([])},t}()},uYJe:function(t,e,n){"use strict";function i(t){return r.finalize(t)(this)}var r=n("FTnw");e._finally=i},ub06:function(t,e,n){"use strict";var i=n("bKpL"),r=n("ViUi");i.Observable.prototype.merge=r.merge},ufkV:function(t,e,n){"use strict";function i(t){return s["ɵvid"](0,[(t()(),s["ɵand"](0,null,null,0))],null,null)}function r(t){return s["ɵvid"](0,[s["ɵqud"](402653184,1,{element:0}),(t()(),s["ɵand"](16777216,[[1,3],["element",2]],null,0,null,i))],null,null)}function o(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,0,null,null,1,"dialog-holder",[],null,null,null,r,u)),s["ɵdid"](1,49152,null,0,a.DialogHolderComponent,[s.ComponentFactoryResolver],null,null)],null,null)}var s=n("/oeL"),a=n("3WPo");n.n(a);n.d(e,"a",function(){return c});var l=[],u=s["ɵcrt"]({encapsulation:2,styles:l,data:{}}),c=s["ɵccf"]("dialog-holder",a.DialogHolderComponent,o,{},{},[])},uy4m:function(t,e,n){"use strict";function i(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,0,null,null,2,"ngb-datepicker-navigation-select",[["class","d-block"]],[[4,"width","rem"]],[[null,"select"]],function(t,e,n){var i=!0,r=t.component;if("select"===e){i=!1!==r.selectDate(n)&&i}return i},a.a,a.b)),s["ɵdid"](1,573440,null,0,l.a,[u.a,c.a],{date:[0,"date"],disabled:[1,"disabled"],maxDate:[2,"maxDate"],minDate:[3,"minDate"]},{select:"select"}),(t()(),s["ɵted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,1,0,n.date,n.disabled,n.maxDate,n.minDate)},function(t,e){t(e,0,0,9*e.component.months)})}function r(t){return s["ɵvid"](0,[(t()(),s["ɵted"](-1,null,["\n "])),(t()(),s["ɵeld"](1,0,null,null,3,"button",[["class","btn-link"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!=!!r.doNavigate(r.navigation.PREV)&&i}return i},null,null)),(t()(),s["ɵted"](-1,null,["\n "])),(t()(),s["ɵeld"](3,0,null,null,0,"span",[["class","ngb-dp-navigation-chevron"]],null,null,null,null,null)),(t()(),s["ɵted"](-1,null,[" \n "])),(t()(),s["ɵted"](-1,null,["\n \n "])),(t()(),s["ɵand"](16777216,null,null,1,null,i)),s["ɵdid"](7,16384,null,0,p.NgIf,[s.ViewContainerRef,s.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),s["ɵted"](-1,null,["\n \n "])),(t()(),s["ɵeld"](9,0,null,null,3,"button",[["class","btn-link"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!=!!r.doNavigate(r.navigation.NEXT)&&i}return i},null,null)),(t()(),s["ɵted"](-1,null,["\n "])),(t()(),s["ɵeld"](11,0,null,null,0,"span",[["class","ngb-dp-navigation-chevron right"]],null,null,null,null,null)),(t()(),s["ɵted"](-1,null,["\n "])),(t()(),s["ɵted"](-1,null,["\n "]))],function(t,e){t(e,7,0,e.component.showSelect)},function(t,e){var n=e.component;t(e,1,0,n.prevDisabled()),t(e,9,0,n.nextDisabled())})}function o(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,0,null,null,1,"ngb-datepicker-navigation",[["class","d-flex justify-content-between"]],[[2,"collapsed",null]],null,null,r,d)),s["ɵdid"](1,49152,null,0,h.a,[u.a,c.a],null,null)],null,function(t,e){t(e,0,0,!s["ɵnov"](e,1).showSelect)})}var s=n("/oeL"),a=n("cviY"),l=n("JNkN"),u=n("CuDZ"),c=n("KSV9"),h=n("Pc3Y"),p=n("qbdv");n.d(e,"b",function(){return d}),e.a=r;var f=["[_nghost-%COMP%] {\n height: 2rem;\n line-height: 1.85rem;\n }\n .collapsed[_nghost-%COMP%] {\n margin-bottom: -2rem; \n }\n .ngb-dp-navigation-chevron[_ngcontent-%COMP%]::before {\n border-style: solid;\n border-width: 0.2em 0.2em 0 0;\n content: '';\n display: inline-block;\n height: 0.75em;\n transform: rotate(-135deg);\n -webkit-transform: rotate(-135deg);\n -ms-transform: rotate(-135deg);\n width: 0.75em;\n margin: 0 0 0 0.5rem;\n } \n .ngb-dp-navigation-chevron.right[_ngcontent-%COMP%]:before {\n -webkit-transform: rotate(45deg);\n -ms-transform: rotate(45deg);\n transform: rotate(45deg);\n margin: 0 0.5rem 0 0;\n }\n .btn-link[_ngcontent-%COMP%] {\n cursor: pointer;\n outline: 0;\n }\n .btn-link[disabled][_ngcontent-%COMP%] {\n cursor: not-allowed;\n opacity: .65;\n }"],d=s["ɵcrt"]({encapsulation:0,styles:f,data:{}});s["ɵccf"]("ngb-datepicker-navigation",h.a,o,{date:"date",disabled:"disabled",maxDate:"maxDate",minDate:"minDate",months:"months",showSelect:"showSelect",showWeekNumbers:"showWeekNumbers"},{navigate:"navigate",select:"select"},[])},v1IT:function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new c(t))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("xFbG"),s=n("RdI5"),a=n("XRvs"),l=n("yW9Z"),u=n("ktfo");e.bufferWhen=i;var c=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.closingSelector))},t}(),h=function(t){function e(e,n){t.call(this,e),this.closingSelector=n,this.subscribing=!1,this.openBuffer()}return r(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},e.prototype.notifyNext=function(t,e,n,i,r){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe());var e=this.buffer;this.buffer&&this.destination.next(e),this.buffer=[];var n=s.tryCatch(this.closingSelector)();n===a.errorObject?this.error(a.errorObject.e):(t=new o.Subscription,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(u.subscribeToResult(this,n)),this.subscribing=!1)},e}(l.OuterSubscriber)},v6xs:function(t,e,n){"use strict";var i=n("bKpL"),r=n("zjlw");i.Observable.prototype.retry=r.retry},"v71/":function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new a(t,e))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+"),s=n("TpsG");e.single=i;var a=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.predicate,this.source))},t}(),l=function(t){function e(e,n,i){t.call(this,e),this.predicate=n,this.source=i,this.seenValue=!1,this.index=0}return r(e,t),e.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},e.prototype._next=function(t){var e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)},e.prototype.tryNext=function(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new s.EmptyError)},e}(o.Subscriber)},vJ3t:function(t,e,n){"use strict";var i=n("bKpL"),r=n("6P86");i.Observable.combineLatest=r.combineLatest},"vKg+":function(t,e,n){"use strict";var i=n("bKpL"),r=n("jKKE");i.Observable.prototype.count=r.count},vNV3:function(t,e,n){"use strict";var i=n("bKpL"),r=n("olOS");i.Observable.prototype.timestamp=r.timestamp},vNxK:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){return e.lift.call(r.concat.apply(void 0,[e].concat(t)))}}var r=n("7kbP");e.concat=i},vfw3:function(t,e,n){"use strict";var i=n("bKpL"),r=n("iDKa");i.Observable.prototype.skip=r.skip},vg2M:function(t,e,n){"use strict";function i(t){var e=t.getFullYear();return e%4==0&&e%100!=0||e%400==0}function r(t,e){return t-e*Math.floor(t/e)}var o=n("SGrN"),s=n("GaSD"),a=n("/oeL"),l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.fromGregorian=function(t){var e=new Date(t),n=e.getFullYear(),r=e.getMonth(),o=e.getDate(),a=1721424.5+365*(n-1)+Math.floor((n-1)/4)+-Math.floor((n-1)/100)+Math.floor((n-1)/400)+Math.floor((367*(r+1)-362)/12+(r+1<=2?0:i(e)?-1:-2)+o);a=Math.floor(a)+.5;var l=a-1948439.5,u=Math.floor((30*l+10646)/10631),c=Math.ceil((l-29-this._getYearStart(u))/29.5);c=Math.min(c,11);var h=Math.ceil(l-this._getMonthStart(u,c))+1;return new s.a(u,c+1,h)},e.prototype.toGregorian=function(t){var e=t.year,n=t.month-1,o=t.day,s=o+Math.ceil(29.5*n)+354*(e-1)+Math.floor((3+11*e)/30)+1948439.5-1,a=Math.floor(s-.5)+.5,l=a-1721425.5,u=Math.floor(l/146097),c=r(l,146097),h=Math.floor(c/36524),p=r(c,36524),f=Math.floor(p/1461),d=r(p,1461),m=Math.floor(d/365),v=400*u+100*h+4*f+m;4!==h&&4!==m&&v++;var g=1721425.5+365*(v-1)+Math.floor((v-1)/4)-Math.floor((v-1)/100)+Math.floor((v-1)/400),b=a-g,y=1721424.5+365*(v-1)+Math.floor((v-1)/4)-Math.floor((v-1)/100)+Math.floor((v-1)/400)+Math.floor(739/12+(i(new Date(v,3,1))?-1:-2)+1),w=a<y?0:i(new Date(v,3,1))?1:2,x=Math.floor((12*(b+w)+373)/367),S=1721424.5+365*(v-1)+Math.floor((v-1)/4)-Math.floor((v-1)/100)+Math.floor((v-1)/400)+Math.floor((367*x-362)/12+(x<=2?0:i(new Date(v,x-1,1))?-1:-2)+1),C=a-S+1;return new Date(v,x-1,C)},e.prototype.getDaysInIslamicMonth=function(t,e){e+=Math.floor(t/13),t=(t-1)%12+1;var n=29+t%2;return 12===t&&this._isIslamicLeapYear(e)&&n++,n},e.prototype.getNext=function(t,e,n){switch(void 0===e&&(e="d"),void 0===n&&(n=1),t=s.a.from(t),e){case"y":return t=this.setYear(t,t.year+n),t.month=1,t.day=1,t;case"m":return t=this.setMonth(t,t.month+n),t.day=1,t;case"d":return this.setDay(t,t.day+n);default:return t}},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e="d"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=this.toGregorian(t).getDay();return 0===e?7:e},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=(11-e)%7,i=t[n],r=this.toGregorian(i);r.setDate(r.getDate()+4-(r.getDay()||7));var o=r.getTime(),a=this.toGregorian(new s.a(i.year,1,1));return Math.floor(Math.round((o-a.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return this.fromGregorian(new Date)},e}(o.a);u.decorators=[{type:a.Injectable}],u.ctorParameters=function(){return[]}},vioa:function(t,e,n){"use strict";var i=n("sLwK");e.timer=i.TimerObservable.create},vokw:function(t,e,n){"use strict";function i(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,r.expand(t,e,n)(this)}var r=n("y23k");e.expand=i},vtHn:function(t,e,n){"use strict";var i=n("bKpL"),r=n("OCM8");i.Observable.prototype.publishLast=r.publishLast},wDL6:function(t,e,n){"use strict";function i(t){return void 0===t&&(t=-1),r.repeat(t)(this)}var r=n("Hg2u");e.repeat=i},wEhC:function(t,e,n){"use strict";var i=n("JCyH"),r=n("HyAm");e.asap=new r.AsapScheduler(i.AsapAction)},wM1e:function(t,e,n){"use strict";function i(t){return parseInt(""+t,10)}function r(t){return void 0!==t&&null!==t?""+t:""}function o(t,e,n){return void 0===n&&(n=0),Math.max(Math.min(t,e),n)}function s(t){return"string"==typeof t}function a(t){return!isNaN(i(t))}function l(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}function u(t){return void 0!==t&&null!==t}function c(t){return a(t)?("0"+t).slice(-2):""}function h(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}e.b=i,e.d=r,e.e=o,e.f=s,e.a=a,e.i=l,e.h=u,e.c=c,e.g=h},wQte:function(t,e,n){"use strict";var i=function(){function t(){this.size=0,this._values=[],this._keys=[]}return t.prototype.get=function(t){var e=this._keys.indexOf(t);return-1===e?void 0:this._values[e]},t.prototype.set=function(t,e){var n=this._keys.indexOf(t);return-1===n?(this._keys.push(t),this._values.push(e),this.size++):this._values[n]=e,this},t.prototype.delete=function(t){var e=this._keys.indexOf(t);return-1!==e&&(this._values.splice(e,1),this._keys.splice(e,1),this.size--,!0)},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this.size=0},t.prototype.forEach=function(t,e){for(var n=0;n<this.size;n++)t.call(e,this._values[n],this._keys[n])},t}();e.MapPolyfill=i},wbX9:function(t,e,n){"use strict";function i(t){return!!t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}function r(t){return!!t&&"function"==typeof t.on&&"function"==typeof t.off}function o(t){return!!t&&"[object NodeList]"===d.call(t)}function s(t){return!!t&&"[object HTMLCollection]"===d.call(t)}function a(t){return!!t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=n("bKpL"),c=n("RdI5"),h=n("fclq"),p=n("XRvs"),f=n("xFbG"),d=Object.prototype.toString,m=function(t){function e(e,n,i,r){t.call(this),this.sourceObj=e,this.eventName=n,this.selector=i,this.options=r}return l(e,t),e.create=function(t,n,i,r){return h.isFunction(i)&&(r=i,i=void 0),new e(t,n,r,i)},e.setupSubscription=function(t,n,l,u,c){var h;if(o(t)||s(t))for(var p=0,d=t.length;p<d;p++)e.setupSubscription(t[p],n,l,u,c);else if(a(t)){var m=t;t.addEventListener(n,l,c),h=function(){return m.removeEventListener(n,l)}}else if(r(t)){var v=t;t.on(n,l),h=function(){return v.off(n,l)}}else{if(!i(t))throw new TypeError("Invalid event target");var g=t;t.addListener(n,l),h=function(){return g.removeListener(n,l)}}u.add(new f.Subscription(h))},e.prototype._subscribe=function(t){var n=this.sourceObj,i=this.eventName,r=this.options,o=this.selector,s=o?function(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var i=c.tryCatch(o).apply(void 0,e);i===p.errorObject?t.error(p.errorObject.e):t.next(i)}:function(e){return t.next(e)};e.setupSubscription(n,i,s,t,r)},e}(u.Observable);e.FromEventObservable=m},wcuQ:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t.length;if(0===n)throw new Error("list of properties cannot be empty.");return function(e){return o.map(r(t,n))(e)}}function r(t,e){return function(n){for(var i=n,r=0;r<e;r++){var o=i[t[r]];if(void 0===o)return;i=o}return i}}var o=n("L8VJ");e.pluck=i},weui:function(t,e,n){"use strict";function i(){return function(t){return t.lift(new a)}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("yW9Z"),s=n("ktfo");e.exhaust=i;var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(e){t.call(this,e),this.hasCompleted=!1,this.hasSubscription=!1}return r(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(s.subscribeToResult(this,t)))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber)},wsck:function(t,e,n){"use strict";var i=n("wM1e");n.d(e,"a",function(){return r});var r=function(){function t(t,e,r){this.hour=n.i(i.b)(t),this.minute=n.i(i.b)(e),this.second=n.i(i.b)(r)}return t.prototype.changeHour=function(t){void 0===t&&(t=1),this.updateHour((isNaN(this.hour)?0:this.hour)+t)},t.prototype.updateHour=function(t){n.i(i.a)(t)?this.hour=(t<0?24+t:t)%24:this.hour=NaN},t.prototype.changeMinute=function(t){void 0===t&&(t=1),this.updateMinute((isNaN(this.minute)?0:this.minute)+t)},t.prototype.updateMinute=function(t){n.i(i.a)(t)?(this.minute=t%60<0?60+t%60:t%60,this.changeHour(Math.floor(t/60))):this.minute=NaN},t.prototype.changeSecond=function(t){void 0===t&&(t=1),this.updateSecond((isNaN(this.second)?0:this.second)+t)},t.prototype.updateSecond=function(t){n.i(i.a)(t)?(this.second=t<0?60+t%60:t%60,this.changeMinute(Math.floor(t/60))):this.second=NaN},t.prototype.isValid=function(t){return void 0===t&&(t=!0),n.i(i.a)(this.hour)&&n.i(i.a)(this.minute)&&(!t||n.i(i.a)(this.second))},t.prototype.toString=function(){return(this.hour||0)+":"+(this.minute||0)+":"+(this.second||0)},t}()},xAqS:function(t,e,n){"use strict";function i(t,e){return r.bufferToggle(t,e)(this)}var r=n("6QEA");e.bufferToggle=i},xBEz:function(t,e,n){"use strict";var i=n("/oeL"),r=n("1Dsc"),o=n("AVYa"),s=n("KRwK"),a=n("dN2u");n("C8VA"),n("zGKh");n.d(e,"a",function(){return l});var l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[a.a,s.a]}},t}();l.decorators=[{type:i.NgModule,args:[{declarations:[r.a,o.a],entryComponents:[r.a,o.a],providers:[a.a]}]}],l.ctorParameters=function(){return[]}},xDpJ:function(t,e,n){"use strict";function i(t){return s["ɵvid"](0,[(t()(),s["ɵand"](0,null,null,0))],null,null)}function r(t){return s["ɵvid"](0,[s["ɵqud"](402653184,1,{element:0}),s["ɵqud"](402653184,2,{container:0}),(t()(),s["ɵted"](-1,null,["\n "])),(t()(),s["ɵeld"](3,0,[[2,0],["container",1]],null,3,"div",[["class","modal fade"],["role","dialog"],["style","display:block !important;"]],null,null,null,null,null)),(t()(),s["ɵted"](-1,null,["\n "])),(t()(),s["ɵand"](16777216,[[1,3],["element",2]],null,0,null,i)),(t()(),s["ɵted"](-1,null,["\n "])),(t()(),s["ɵted"](-1,null,["\n"]))],null,null)}function o(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,0,null,null,1,"dialog-wrapper",[],null,null,null,r,c)),s["ɵdid"](1,49152,null,0,a.DialogWrapperComponent,[s.ComponentFactoryResolver,l.DialogService],null,null)],null,null)}var s=n("/oeL"),a=n("taw3"),l=(n.n(a),n("V672"));n.n(l);n.d(e,"a",function(){return h});var u=[],c=s["ɵcrt"]({encapsulation:2,styles:u,data:{}}),h=s["ɵccf"]("dialog-wrapper",a.DialogWrapperComponent,o,{},{},[])},xJeO:function(t,e,n){"use strict";function i(t,e){return function(n){return n.lift(new l(t,e))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+"),s=n("RdI5"),a=n("XRvs");e.sequenceEqual=i;var l=function(){function t(t,e){this.compareTo=t,this.comparor=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.compareTo,this.comparor))},t}();e.SequenceEqualOperator=l;var u=function(t){function e(e,n,i){t.call(this,e),this.compareTo=n,this.comparor=i,this._a=[],this._b=[],this._oneComplete=!1,this.add(n.subscribe(new c(e,this)))}return r(e,t),e.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e.prototype.checkValues=function(){for(var t=this,e=t._a,n=t._b,i=t.comparor;e.length>0&&n.length>0;){var r=e.shift(),o=n.shift(),l=!1;i?(l=s.tryCatch(i)(r,o))===a.errorObject&&this.destination.error(a.errorObject.e):l=r===o,l||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e}(o.Subscriber);e.SequenceEqualSubscriber=u;var c=function(t){function e(e,n){t.call(this,e),this.parent=n}return r(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t)},e.prototype._complete=function(){this.parent._complete()},e}(o.Subscriber)},xK8X:function(t,e,n){"use strict";function i(t){return void 0===t&&(t=r.async),o.map(function(e){return new s(e,t.now())})}var r=n("IhB/"),o=n("L8VJ");e.timestamp=i;var s=function(){function t(t,e){this.value=t,this.timestamp=e}return t}();e.Timestamp=s},xpf9:function(t,e,n){"use strict";var i=n("bKpL"),r=n("ueUM");i.Observable.prototype.catch=r._catch,i.Observable.prototype._catch=r._catch},"y+rW":function(t,e,n){"use strict";function i(t,e){return function(n){return n.lift(new l(t,e))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("yW9Z"),s=n("ktfo"),a=n("M11L");e.distinct=i;var l=function(){function t(t,e){this.keySelector=t,this.flushes=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.keySelector,this.flushes))},t}(),u=function(t){function e(e,n,i){t.call(this,e),this.keySelector=n,this.values=new a.Set,i&&this.add(s.subscribeToResult(this,i))}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.values.clear()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},e.prototype._useKeySelector=function(t){var e,n=this.destination;try{e=this.keySelector(t)}catch(t){return void n.error(t)}this._finalizeNext(e,t)},e.prototype._finalizeNext=function(t,e){var n=this.values;n.has(t)||(n.add(t),this.destination.next(e))},e}(o.OuterSubscriber);e.DistinctSubscriber=u},y23k:function(t,e,n){"use strict";function i(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,function(i){return i.lift(new u(t,e,n))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("RdI5"),s=n("XRvs"),a=n("yW9Z"),l=n("ktfo");e.expand=i;var u=function(){function t(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.project,this.concurrent,this.scheduler))},t}();e.ExpandOperator=u;var c=function(t){function e(e,n,i,r){t.call(this,e),this.project=n,this.concurrent=i,this.scheduler=r,this.index=0,this.active=0,this.hasCompleted=!1,i<Number.POSITIVE_INFINITY&&(this.buffer=[])}return r(e,t),e.dispatch=function(t){var e=t.subscriber,n=t.result,i=t.value,r=t.index;e.subscribeToProjection(n,i,r)},e.prototype._next=function(t){var n=this.destination;if(n.closed)return void this._complete();var i=this.index++;if(this.active<this.concurrent){n.next(t);var r=o.tryCatch(this.project)(t,i);if(r===s.errorObject)n.error(s.errorObject.e);else if(this.scheduler){var a={subscriber:this,result:r,value:t,index:i};this.add(this.scheduler.schedule(e.dispatch,0,a))}else this.subscribeToProjection(r,t,i)}else this.buffer.push(t)},e.prototype.subscribeToProjection=function(t,e,n){this.active++,this.add(l.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,i,r){this._next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e&&e.length>0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(a.OuterSubscriber);e.ExpandSubscriber=c},y3SI:function(t,e,n){"use strict";function i(t){var e="function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t<e?t:e};return r.reduce(e)}var r=n("JwCl");e.min=i},y3aq:function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new a(t))}}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("yW9Z"),s=n("ktfo");e.takeUntil=i;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.notifier))},t}(),l=function(t){function e(e,n){t.call(this,e),this.notifier=n,this.add(s.subscribeToResult(this,n))}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.complete()},e.prototype.notifyComplete=function(){},e}(o.OuterSubscriber)},yIff:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rlar"),o=n("T14+"),s=n("bKpL"),a=n("xFbG"),l=n("zijX"),u=n("0imh"),c=n("RdI5"),h=n("XRvs"),p=n("fV3I"),f=function(t){function e(e,n){if(e instanceof s.Observable)t.call(this,n,e);else{if(t.call(this),this.WebSocketCtor=l.root.WebSocket,this._output=new r.Subject,"string"==typeof e?this.url=e:p.assign(this,e),!this.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new u.ReplaySubject}}return i(e,t),e.prototype.resultSelector=function(t){return JSON.parse(t.data)},e.create=function(t){return new e(t)},e.prototype.lift=function(t){var n=new e(this,this.destination);return n.operator=t,n},e.prototype._resetState=function(){this.socket=null,this.source||(this.destination=new u.ReplaySubject),this._output=new r.Subject},e.prototype.multiplex=function(t,e,n){var i=this;return new s.Observable(function(r){var o=c.tryCatch(t)();o===h.errorObject?r.error(h.errorObject.e):i.next(o);var s=i.subscribe(function(t){var e=c.tryCatch(n)(t);e===h.errorObject?r.error(h.errorObject.e):e&&r.next(t)},function(t){return r.error(t)},function(){return r.complete()});return function(){var t=c.tryCatch(e)();t===h.errorObject?r.error(h.errorObject.e):i.next(t),s.unsubscribe()}})},e.prototype._connectSocket=function(){var t=this,e=this.WebSocketCtor,n=this._output,i=null;try{i=this.protocol?new e(this.url,this.protocol):new e(this.url),this.socket=i,this.binaryType&&(this.socket.binaryType=this.binaryType)}catch(t){return void n.error(t)}var r=new a.Subscription(function(){t.socket=null,i&&1===i.readyState&&i.close()});i.onopen=function(e){var s=t.openObserver;s&&s.next(e);var a=t.destination;t.destination=o.Subscriber.create(function(t){return 1===i.readyState&&i.send(t)},function(e){var r=t.closingObserver;r&&r.next(void 0),e&&e.code?i.close(e.code,e.reason):n.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),t._resetState()},function(){var e=t.closingObserver;e&&e.next(void 0),i.close(),t._resetState()}),a&&a instanceof u.ReplaySubject&&r.add(a.subscribe(t.destination))},i.onerror=function(e){t._resetState(),n.error(e)},i.onclose=function(e){t._resetState();var i=t.closeObserver;i&&i.next(e),e.wasClean?n.complete():n.error(e)},i.onmessage=function(e){var i=c.tryCatch(t.resultSelector)(e);i===h.errorObject?n.error(h.errorObject.e):n.next(i)}},e.prototype._subscribe=function(t){var e=this,n=this.source;if(n)return n.subscribe(t);this.socket||this._connectSocket();var i=new a.Subscription;return i.add(this._output.subscribe(t)),i.add(function(){var t=e.socket;0===e._output.observers.length&&(t&&1===t.readyState&&t.close(),e._resetState())}),i},e.prototype.unsubscribe=function(){var e=this,n=e.source,i=e.socket;i&&1===i.readyState&&(i.close(),this._resetState()),t.prototype.unsubscribe.call(this),n||(this.destination=new u.ReplaySubject)},e}(r.AnonymousSubject);e.WebSocketSubject=f},yQ6o:function(t,e,n){"use strict";var i=n("T1tZ");e.bindCallback=i.BoundCallbackObservable.create},yR50:function(t,e,n){"use strict";var i=n("Fpv1"),r=n("HHMl");e.queue=new r.QueueScheduler(i.QueueAction)},ykQW:function(t,e,n){"use strict";var i=n("bKpL"),r=n("8Ben");i.Observable.prototype.let=r.letProto,i.Observable.prototype.letBind=r.letProto},ytB7:function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=r.async),o.sampleTime(t,e)(this)}var r=n("IhB/"),o=n("60lp");e.sampleTime=i},z69B:function(t,e,n){"use strict";var i=n("bKpL"),r=n("gb+0");i.Observable.prototype.single=r.single},"z8/z":function(t,e,n){"use strict";function i(t,e,n,i){n&&"function"!=typeof n&&(i=n);var s="function"==typeof n?n:void 0,a=new r.ReplaySubject(t,e,i);return function(t){return o.multicast(function(){return a},s)(t)}}var r=n("0imh"),o=n("P02W");e.publishReplay=i},"zBM/":function(t,e,n){"use strict";function i(t){return t?o.multicast(function(){return new r.Subject},t):o.multicast(new r.Subject)}var r=n("rlar"),o=n("P02W");e.publish=i},zGKh:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i;!function(t){t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC"}(i||(i={}))},zGUx:function(t,e,n){"use strict";var i=n("wbX9");e.fromEvent=i.FromEventObservable.create},zZnE:function(t,e,n){"use strict";var i=n("bKpL"),r=n("jyAw");i.Observable.prototype.groupBy=r.groupBy},zbre:function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=null),r.bufferCount(t,e)(this)}var r=n("5NGA");e.bufferCount=i},zc4d:function(t,e,n){"use strict";var i=n("bKpL"),r=n("uYJe");i.Observable.prototype.finally=r._finally,i.Observable.prototype._finally=r._finally},zdWg:function(t,e,n){"use strict";var i=n("bKpL"),r=n("Zfg9");i.Observable.prototype.skipLast=r.skipLast},ziym:function(t,e,n){"use strict";var i=n("HPkd");e.ajax=i.AjaxObservable.create},zjlw:function(t,e,n){"use strict";function i(t){return void 0===t&&(t=-1),r.retry(t)(this)}var r=n("5r3W");e.retry=i}}); \ No newline at end of file diff --git a/Servidor JEE/WebContent/0.dddfc681213dbab6ce18.chunk.js b/Servidor JEE/WebContent/0.dddfc681213dbab6ce18.chunk.js deleted file mode 100644 index 34e0559eea0c19507d87aae23df23cfeea06acba..0000000000000000000000000000000000000000 --- a/Servidor JEE/WebContent/0.dddfc681213dbab6ce18.chunk.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([0,11],{"+EXD":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rCTf"),o=n("CURp"),s=n("wAkD"),a=function(t){function e(e){t.call(this),this.observableFactory=e}return i(e,t),e.create=function(t){return new e(t)},e.prototype._subscribe=function(t){return new l(t,this.observableFactory)},e}(r.Observable);e.DeferObservable=a;var l=function(t){function e(e,n){t.call(this,e),this.factory=n,this.tryDefer()}return i(e,t),e.prototype.tryDefer=function(){try{this._callFactory()}catch(t){this._error(t)}},e.prototype._callFactory=function(){var t=this.factory();t&&this.add(o.subscribeToResult(this,t))},e}(s.OuterSubscriber)},"+KN+":function(t,e,n){"use strict";var i=n("rCTf"),r=n("O/+v");i.Observable.prototype.bufferCount=r.bufferCount},"+Qf+":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i;!function(t){t[t.PREV=0]="PREV",t[t.NEXT=1]="NEXT"}(i||(i={}))},"+Y2e":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("EEr4"),o=n("mmVS"),s=n("rCTf"),a=n("B00U"),l=n("VOfZ"),u=n("MQMf"),c=n("+3eL"),h=n("WhVc"),p=n("KLoZ"),d=function(t){function e(e,n){if(e instanceof s.Observable)t.call(this,n,e);else{if(t.call(this),this.WebSocketCtor=l.root.WebSocket,this._output=new r.Subject,"string"==typeof e?this.url=e:p.assign(this,e),!this.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new u.ReplaySubject}}return i(e,t),e.prototype.resultSelector=function(t){return JSON.parse(t.data)},e.create=function(t){return new e(t)},e.prototype.lift=function(t){var n=new e(this,this.destination);return n.operator=t,n},e.prototype._resetState=function(){this.socket=null,this.source||(this.destination=new u.ReplaySubject),this._output=new r.Subject},e.prototype.multiplex=function(t,e,n){var i=this;return new s.Observable(function(r){var o=c.tryCatch(t)();o===h.errorObject?r.error(h.errorObject.e):i.next(o);var s=i.subscribe(function(t){var e=c.tryCatch(n)(t);e===h.errorObject?r.error(h.errorObject.e):e&&r.next(t)},function(t){return r.error(t)},function(){return r.complete()});return function(){var t=c.tryCatch(e)();t===h.errorObject?r.error(h.errorObject.e):i.next(t),s.unsubscribe()}})},e.prototype._connectSocket=function(){var t=this,e=this.WebSocketCtor,n=this._output,i=null;try{i=this.protocol?new e(this.url,this.protocol):new e(this.url),this.socket=i,this.binaryType&&(this.socket.binaryType=this.binaryType)}catch(t){return void n.error(t)}var r=new a.Subscription(function(){t.socket=null,i&&1===i.readyState&&i.close()});i.onopen=function(e){var s=t.openObserver;s&&s.next(e);var a=t.destination;t.destination=o.Subscriber.create(function(t){return 1===i.readyState&&i.send(t)},function(e){var r=t.closingObserver;r&&r.next(void 0),e&&e.code?i.close(e.code,e.reason):n.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),t._resetState()},function(){var e=t.closingObserver;e&&e.next(void 0),i.close(),t._resetState()}),a&&a instanceof u.ReplaySubject&&r.add(a.subscribe(t.destination))},i.onerror=function(e){t._resetState(),n.error(e)},i.onclose=function(e){t._resetState();var i=t.closeObserver;i&&i.next(e),e.wasClean?n.complete():n.error(e)},i.onmessage=function(e){var i=c.tryCatch(t.resultSelector)(e);i===h.errorObject?n.error(h.errorObject.e):n.next(i)}},e.prototype._subscribe=function(t){var e=this,n=this.source;if(n)return n.subscribe(t);this.socket||this._connectSocket();var i=new a.Subscription;return i.add(this._output.subscribe(t)),i.add(function(){var t=e.socket;0===e._output.observers.length&&(t&&1===t.readyState&&t.close(),e._resetState())}),i},e.prototype.unsubscribe=function(){var e=this,n=e.source,i=e.socket;i&&1===i.readyState&&(i.close(),this._resetState()),t.prototype.unsubscribe.call(this),n||(this.destination=new u.ReplaySubject)},e}(r.AnonymousSubject);e.WebSocketSubject=d},"+dDw":function(t,e,n){"use strict";var i=n("3j3K"),r=n("NVOs");n.d(e,"c",function(){return s}),n.d(e,"b",function(){return a}),n.d(e,"a",function(){return l});var o={provide:r.NG_VALUE_ACCESSOR,useExisting:n.i(i.forwardRef)(function(){return s}),multi:!0},s=function(){function t(){this._radios=new Set,this._value=null,this.onChange=function(t){},this.onTouched=function(){}}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this.setDisabledState(t)},enumerable:!0,configurable:!0}),t.prototype.onRadioChange=function(t){this.writeValue(t.value),this.onChange(t.value)},t.prototype.onRadioValueUpdate=function(){this._updateRadiosValue()},t.prototype.register=function(t){this._radios.add(t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._disabled=t,this._updateRadiosDisabled()},t.prototype.unregister=function(t){this._radios.delete(t)},t.prototype.writeValue=function(t){this._value=t,this._updateRadiosValue()},t.prototype._updateRadiosValue=function(){var t=this;this._radios.forEach(function(e){return e.updateValue(t._value)})},t.prototype._updateRadiosDisabled=function(){this._radios.forEach(function(t){return t.updateDisabled()})},t}();s.decorators=[{type:i.Directive,args:[{selector:"[ngbRadioGroup]",host:{"data-toggle":"buttons",class:"btn-group",role:"group"},providers:[o]}]}],s.ctorParameters=function(){return[]};var a=function(){function t(t,e){this._renderer=t,this._elRef=e}return Object.defineProperty(t.prototype,"active",{set:function(t){t?this._renderer.addClass(this._elRef.nativeElement,"active"):this._renderer.removeClass(this._elRef.nativeElement,"active")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{set:function(t){t?this._renderer.addClass(this._elRef.nativeElement,"disabled"):this._renderer.removeClass(this._elRef.nativeElement,"disabled")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focused",{set:function(t){t?this._renderer.addClass(this._elRef.nativeElement,"focus"):this._renderer.removeClass(this._elRef.nativeElement,"focus")},enumerable:!0,configurable:!0}),t}();a.decorators=[{type:i.Directive,args:[{selector:"label.btn"}]}],a.ctorParameters=function(){return[{type:i.Renderer2},{type:i.ElementRef}]};var l=function(){function t(t,e,n,i){this._group=t,this._label=e,this._renderer=n,this._element=i,this._value=null,this._group&&this._group.register(this)}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t;var e=t?t.toString():"";this._renderer.setProperty(this._element.nativeElement,"value",e),this._group&&this._group.onRadioValueUpdate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(t){this._checked=!!this._element.nativeElement.hasAttribute("checked")||t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._group&&this._group.disabled||this._disabled},set:function(t){this._disabled=!1!==t,this.updateDisabled()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focused",{set:function(t){this._label&&(this._label.focused=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._group&&this._group.unregister(this)},t.prototype.onChange=function(){this._group&&this._group.onRadioChange(this)},t.prototype.updateValue=function(t){this._checked=this.value===t&&null!==t,this._label.active=this._checked},t.prototype.updateDisabled=function(){var t=this._group&&this._group.disabled||this._disabled;this._label&&(this._label.disabled=t)},t}();l.decorators=[{type:i.Directive,args:[{selector:"input[type=radio]",host:{"[checked]":"checked","[disabled]":"disabled","(change)":"onChange()","(focus)":"focused = true","(blur)":"focused = false"}}]}],l.ctorParameters=function(){return[{type:s,decorators:[{type:i.Optional}]},{type:a,decorators:[{type:i.Optional}]},{type:i.Renderer2},{type:i.ElementRef}]},l.propDecorators={value:[{type:i.Input,args:["value"]}],checked:[{type:i.Input,args:["checked"]}],disabled:[{type:i.Input,args:["disabled"]}]}},"+fCR":function(t,e,n){!function(t){t(n("8U58"))}(function(t){"use strict";t.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["pgp"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mime:"text/x-coffeescript",mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"null",mode:"jinja2"},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mime:"text/n-triples",mode:"ntriples",ext:["nt"]},{name:"Objective C",mime:"text/x-objectivec",mode:"clike",ext:["m","mm"],alias:["objective-c","objc"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mime:"application/x-httpd-php",mode:"php",ext:["php","php3","php4","php5","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mime:"text/x-sh",mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki ",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var e=0;e<t.modeInfo.length;e++){var n=t.modeInfo[e];n.mimes&&(n.mime=n.mimes[0])}t.findModeByMIME=function(e){e=e.toLowerCase();for(var n=0;n<t.modeInfo.length;n++){var i=t.modeInfo[n];if(i.mime==e)return i;if(i.mimes)for(var r=0;r<i.mimes.length;r++)if(i.mimes[r]==e)return i}return/\+xml$/.test(e)?t.findModeByMIME("application/xml"):/\+json$/.test(e)?t.findModeByMIME("application/json"):void 0},t.findModeByExtension=function(e){for(var n=0;n<t.modeInfo.length;n++){var i=t.modeInfo[n];if(i.ext)for(var r=0;r<i.ext.length;r++)if(i.ext[r]==e)return i}},t.findModeByFileName=function(e){for(var n=0;n<t.modeInfo.length;n++){var i=t.modeInfo[n];if(i.file&&i.file.test(e))return i}var r=e.lastIndexOf("."),o=r>-1&&e.substring(r+1,e.length);if(o)return t.findModeByExtension(o)},t.findModeByName=function(e){e=e.toLowerCase();for(var n=0;n<t.modeInfo.length;n++){var i=t.modeInfo[n];if(i.name.toLowerCase()==e)return i;if(i.alias)for(var r=0;r<i.alias.length;r++)if(i.alias[r].toLowerCase()==e)return i}}})},"+pb+":function(t,e,n){"use strict";var i=n("rCTf"),r=n("xAJs");i.Observable.prototype.map=r.map},"+vPe":function(t,e,n){"use strict";var i=n("Q0je");e.never=i.NeverObservable.create},"+w3m":function(t,e,n){"use strict";function i(t,e){return this.lift(new a(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("8Z8y");e.elementAt=i;var a=function(){function t(t,e){if(this.index=t,this.defaultValue=e,t<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.index,this.defaultValue))},t}(),l=function(t){function e(e,n,i){t.call(this,e),this.index=n,this.defaultValue=i}return r(e,t),e.prototype._next=function(t){0==this.index--&&(this.destination.next(t),this.destination.complete())},e.prototype._complete=function(){var t=this.destination;this.index>=0&&(void 0!==this.defaultValue?t.next(this.defaultValue):t.error(new s.ArgumentOutOfRangeError)),t.complete()},e}(o.Subscriber)},"/181":function(t,e,n){"use strict";var i=n("rCTf"),r=n("2jZb");i.Observable.prototype.count=r.count},"/8te":function(t,e,n){"use strict";var i=n("Gb0N");e.range=i.RangeObservable.create},"/A6h":function(t,e,n){!function(t){t(n("8U58"),n("c+I8"),n("QSKu"))}(function(t){"use strict";function e(t,e,n,i){this.cm=t,this.options=i;var r={listenForChanges:!1};for(var o in i)r[o]=i[o];r.className||(r.className="CodeMirror-search-match"),this.annotation=t.annotateScrollbar(r),this.query=e,this.caseFold=n,this.gap={from:t.firstLine(),to:t.lastLine()+1},this.matches=[],this.update=null,this.findMatches(),this.annotation.update(this.matches);var s=this;t.on("change",this.changeHandler=function(t,e){s.onChange(e)})}function n(t,e,n){return t<=e?t:Math.max(e,t+n)}t.defineExtension("showMatchesOnScrollbar",function(t,n,i){return"string"==typeof i&&(i={className:i}),i||(i={}),new e(this,t,n,i)});var i=1e3;e.prototype.findMatches=function(){if(this.gap){for(var e=0;e<this.matches.length;e++){var n=this.matches[e];if(n.from.line>=this.gap.to)break;n.to.line>=this.gap.from&&this.matches.splice(e--,1)}for(var r=this.cm.getSearchCursor(this.query,t.Pos(this.gap.from,0),this.caseFold),o=this.options&&this.options.maxMatches||i;r.findNext();){var n={from:r.from(),to:r.to()};if(n.from.line>=this.gap.to)break;if(this.matches.splice(e++,0,n),this.matches.length>o)break}this.gap=null}},e.prototype.onChange=function(e){var i=e.from.line,r=t.changeEnd(e).line,o=r-e.to.line;if(this.gap?(this.gap.from=Math.min(n(this.gap.from,i,o),e.from.line),this.gap.to=Math.max(n(this.gap.to,i,o),e.from.line)):this.gap={from:e.from.line,to:r+1},o)for(var s=0;s<this.matches.length;s++){var a=this.matches[s],l=n(a.from.line,i,o);l!=a.from.line&&(a.from=t.Pos(l,a.from.ch));var u=n(a.to.line,i,o);u!=a.to.line&&(a.to=t.Pos(u,a.to.ch))}clearTimeout(this.update);var c=this;this.update=setTimeout(function(){c.updateAfterChange()},250)},e.prototype.updateAfterChange=function(){this.findMatches(),this.annotation.update(this.matches)},e.prototype.clear=function(){this.cm.off("change",this.changeHandler),this.annotation.clear()}})},"/FbB":function(t,e,n){"use strict";function i(t){var e=t.getFullYear();return e%4==0&&e%100!=0||e%400==0}function r(t,e){return t-e*Math.floor(t/e)}var o=n("CO0D"),s=n("hlt1"),a=n("3j3K"),l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=1721425.5,c=1948439.5,h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.fromGregorian=function(t){var e=new Date(t),n=e.getFullYear(),r=e.getMonth(),o=e.getDate(),a=u-1+365*(n-1)+Math.floor((n-1)/4)+-Math.floor((n-1)/100)+Math.floor((n-1)/400)+Math.floor((367*(r+1)-362)/12+(r+1<=2?0:i(e)?-1:-2)+o);a=Math.floor(a)+.5;var l=a-c,h=Math.floor((30*l+10646)/10631),p=Math.ceil((l-29-this._getYearStart(h))/29.5);p=Math.min(p,11);var d=Math.ceil(l-this._getMonthStart(h,p))+1;return new s.a(h,p+1,d)},e.prototype.toGregorian=function(t){var e=t.year,n=t.month-1,o=t.day,s=o+Math.ceil(29.5*n)+354*(e-1)+Math.floor((3+11*e)/30)+c-1,a=Math.floor(s-.5)+.5,l=a-u,h=Math.floor(l/146097),p=r(l,146097),d=Math.floor(p/36524),f=r(p,36524),m=Math.floor(f/1461),v=r(f,1461),g=Math.floor(v/365),y=400*h+100*d+4*m+g;4!==d&&4!==g&&y++;var b=u+365*(y-1)+Math.floor((y-1)/4)-Math.floor((y-1)/100)+Math.floor((y-1)/400),w=a-b,x=u-1+365*(y-1)+Math.floor((y-1)/4)-Math.floor((y-1)/100)+Math.floor((y-1)/400)+Math.floor(739/12+(i(new Date(y,3,1))?-1:-2)+1),C=a<x?0:i(new Date(y,3,1))?1:2,S=Math.floor((12*(w+C)+373)/367),k=u-1+365*(y-1)+Math.floor((y-1)/4)-Math.floor((y-1)/100)+Math.floor((y-1)/400)+Math.floor((367*S-362)/12+(S<=2?0:i(new Date(y,S-1,1))?-1:-2)+1),O=a-k+1;return new Date(y,S-1,O)},e.prototype.getDaysInIslamicMonth=function(t,e){e+=Math.floor(t/13),t=(t-1)%12+1;var n=29+t%2;return 12===t&&this._isIslamicLeapYear(e)&&n++,n},e.prototype.getNext=function(t,e,n){switch(void 0===e&&(e="d"),void 0===n&&(n=1),t=s.a.from(t),e){case"y":return t=this.setYear(t,t.year+n),t.month=1,t.day=1,t;case"m":return t=this.setMonth(t,t.month+n),t.day=1,t;case"d":return this.setDay(t,t.day+n);default:return t}},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e="d"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=this.toGregorian(t).getDay();return 0===e?7:e},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=(11-e)%7,i=t[n],r=this.toGregorian(i);r.setDate(r.getDate()+4-(r.getDay()||7));var o=r.getTime(),a=this.toGregorian(new s.a(i.year,1,1));return Math.floor(Math.round((o-a.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return this.fromGregorian(new Date)},e}(o.a);h.decorators=[{type:a.Injectable}],h.ctorParameters=function(){return[]}},"/I96":function(t,e,n){"use strict";var i=n("3j3K"),r=n("2Je8"),o=n("l5HU"),s=n("DDfv");n.d(e,"a",function(){return a});var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();a.decorators=[{type:i.NgModule,args:[{declarations:o.a,exports:o.a,imports:[r.CommonModule]}]}],a.ctorParameters=function(){return[]}},"/J7H":function(t,e,n){"use strict";function i(t){return!!t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}function r(t){return!!t&&"function"==typeof t.on&&"function"==typeof t.off}function o(t){return!!t&&"[object NodeList]"===f.call(t)}function s(t){return!!t&&"[object HTMLCollection]"===f.call(t)}function a(t){return!!t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=n("rCTf"),c=n("+3eL"),h=n("SKH6"),p=n("WhVc"),d=n("B00U"),f=Object.prototype.toString,m=function(t){function e(e,n,i,r){t.call(this),this.sourceObj=e,this.eventName=n,this.selector=i,this.options=r}return l(e,t),e.create=function(t,n,i,r){return h.isFunction(i)&&(r=i,i=void 0),new e(t,n,r,i)},e.setupSubscription=function(t,n,l,u,c){var h;if(o(t)||s(t))for(var p=0,f=t.length;p<f;p++)e.setupSubscription(t[p],n,l,u,c);else if(a(t)){var m=t;t.addEventListener(n,l,c),h=function(){return m.removeEventListener(n,l)}}else if(r(t)){var v=t;t.on(n,l),h=function(){return v.off(n,l)}}else{if(!i(t))throw new TypeError("Invalid event target");var g=t;t.addListener(n,l),h=function(){return g.removeListener(n,l)}}u.add(new d.Subscription(h))},e.prototype._subscribe=function(t){var n=this.sourceObj,i=this.eventName,r=this.options,o=this.selector,s=o?function(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var i=c.tryCatch(o).apply(void 0,e);i===p.errorObject?t.error(p.errorObject.e):t.next(i)}:function(e){return t.next(e)};e.setupSubscription(n,i,s,t,r)},e}(u.Observable);e.FromEventObservable=m},"/KGk":function(t,e,n){"use strict";var i=n("3j3K"),r=n("NVOs"),o=n("lcaH"),s=n("hlt1"),a=n("fAHw"),l=n("+Qf+"),u=n("2yGx"),c=n("hwnt"),h=n("gEbu");n.d(e,"a",function(){return d});var p={provide:r.NG_VALUE_ACCESSOR,useExisting:n.i(i.forwardRef)(function(){return d}),multi:!0},d=function(){function t(t,e,n,r){this._service=t,this._calendar=e,this.i18n=n,this.months=[],this.navigate=new i.EventEmitter,this.disabled=!1,this.onChange=function(t){},this.onTouched=function(){},this.dayTemplate=r.dayTemplate,this.displayMonths=r.displayMonths,this.firstDayOfWeek=r.firstDayOfWeek,this.markDisabled=r.markDisabled,this.minDate=r.minDate,this.maxDate=r.maxDate,this.navigation=r.navigation,this.outsideDays=r.outsideDays,this.showWeekdays=r.showWeekdays,this.showWeekNumbers=r.showWeekNumbers,this.startDate=r.startDate}return t.prototype.getHeaderHeight=function(){var t=this.showWeekdays?6.25:4.25;return 1===this.displayMonths||"select"!==this.navigation?t-2:t},t.prototype.getHeaderMargin=function(){var t=this.showWeekdays?2:0;return 1!==this.displayMonths||"select"!==this.navigation?t+2:t},t.prototype.navigateTo=function(t){this._setViewWithinLimits(this._service.toValidDate(t)),this._updateData()},t.prototype.ngOnInit=function(){this._setDates(),this.navigateTo(this._date)},t.prototype.ngOnChanges=function(t){this._setDates(),this._setViewWithinLimits(this._date),t.displayMonths&&(this.displayMonths=n.i(u.b)(this.displayMonths)),["startDate","minDate","maxDate","navigation","firstDayOfWeek","markDisabled","displayMonths"].some(function(e){return!!t[e]})&&this._updateData(!0)},t.prototype.onDateSelect=function(t){this._setViewWithinLimits(t),this.onTouched(),this.writeValue(t),this.onChange({year:t.year,month:t.month,day:t.day}),this._date.month!==this.months[0].number&&1===this.displayMonths&&this._updateData()},t.prototype.onNavigateDateSelect=function(t){this._setViewWithinLimits(t),this._updateData()},t.prototype.onNavigateEvent=function(t){switch(t){case l.a.PREV:this._setViewWithinLimits(this._calendar.getPrev(this.months[0].firstDate,"m"));break;case l.a.NEXT:this._setViewWithinLimits(this._calendar.getNext(this.months[0].firstDate,"m"))}this._updateData()},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.writeValue=function(t){this.model=this._service.toValidDate(t,null)},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype._setDates=function(){if(this._maxDate=s.a.from(this.maxDate),this._minDate=s.a.from(this.minDate),this._date=this._service.toValidDate(this.startDate),this._calendar.isValid(this._minDate)||(this._minDate=this._calendar.getPrev(this._date,"y",10),this.minDate={year:this._minDate.year,month:this._minDate.month,day:this._minDate.day}),this._calendar.isValid(this._maxDate)||(this._maxDate=this._calendar.getNext(this._date,"y",11),this._maxDate=this._calendar.getPrev(this._maxDate),this.maxDate={year:this._maxDate.year,month:this._maxDate.month,day:this._maxDate.day}),this._minDate&&this._maxDate&&this._maxDate.before(this._minDate))throw new Error("'maxDate' "+this._maxDate+" should be greater than 'minDate' "+this._minDate)},t.prototype._setViewWithinLimits=function(t){this._minDate&&t.before(this._minDate)?this._date=new s.a(this._minDate.year,this._minDate.month,1):this._maxDate&&t.after(this._maxDate)?this._date=new s.a(this._maxDate.year,this._maxDate.month,1):this._date=new s.a(t.year,t.month,1)},t.prototype._updateData=function(t){void 0===t&&(t=!1);for(var e=[],i=function(i){var o=r._calendar.getNext(r._date,"m",i),s=r.months.findIndex(function(t){return t.firstDate.equals(o)});t||-1===s?e.push(r._service.generateMonthViewModel(o,r._minDate,r._maxDate,n.i(u.b)(r.firstDayOfWeek),r.markDisabled)):e.push(r.months[s])},r=this,o=0;o<this.displayMonths;o++)i(o);var s=e[0].firstDate,a=this.months[0]?this.months[0].firstDate:null;this.months=e,s.equals(a)||this.navigate.emit({current:a?{year:a.year,month:a.month}:null,next:{year:s.year,month:s.month}})},t}();d.decorators=[{type:i.Component,args:[{exportAs:"ngbDatepicker",selector:"ngb-datepicker",host:{class:"d-inline-block rounded"},styles:["\n :host {\n border: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-header {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-month {\n pointer-events: none;\n }\n ngb-datepicker-month-view {\n pointer-events: auto;\n }\n .ngb-dp-month:first-child {\n margin-left: 0 !important;\n } \n .ngb-dp-month-name {\n font-size: larger;\n height: 2rem;\n line-height: 2rem;\n } \n "],template:'\n <ng-template #dt let-date="date" let-currentMonth="currentMonth" let-selected="selected" let-disabled="disabled">\n <div ngbDatepickerDayView [date]="date" [currentMonth]="currentMonth" [selected]="selected" [disabled]="disabled"></div>\n </ng-template>\n \n <div class="ngb-dp-header bg-faded pt-1 rounded-top" [style.height.rem]="getHeaderHeight()" \n [style.marginBottom.rem]="-getHeaderMargin()">\n <ngb-datepicker-navigation *ngIf="navigation !== \'none\'"\n [date]="months[0]?.firstDate"\n [minDate]="_minDate"\n [maxDate]="_maxDate"\n [months]="months.length"\n [disabled]="disabled"\n [showWeekNumbers]="showWeekNumbers"\n [showSelect]="navigation === \'select\'"\n (navigate)="onNavigateEvent($event)"\n (select)="onNavigateDateSelect($event)">\n </ngb-datepicker-navigation>\n </div>\n\n <div class="ngb-dp-months d-flex px-1 pb-1">\n <ng-template ngFor let-month [ngForOf]="months" let-i="index">\n <div class="ngb-dp-month d-block ml-3"> \n <div *ngIf="navigation !== \'select\' || displayMonths > 1" class="ngb-dp-month-name text-center">\n {{ i18n.getMonthFullName(month.number) }} {{ month.year }}\n </div>\n <ngb-datepicker-month-view\n [month]="month"\n [selectedDate]="model"\n [dayTemplate]="dayTemplate || dt"\n [showWeekdays]="showWeekdays"\n [showWeekNumbers]="showWeekNumbers"\n [disabled]="disabled"\n [outsideDays]="displayMonths === 1 ? outsideDays : \'hidden\'"\n (select)="onDateSelect($event)">\n </ngb-datepicker-month-view>\n </div>\n </ng-template>\n </div>\n ',providers:[p,a.a]}]}],d.ctorParameters=function(){return[{type:a.a},{type:o.a},{type:h.a},{type:c.a}]},d.propDecorators={dayTemplate:[{type:i.Input}],displayMonths:[{type:i.Input}],firstDayOfWeek:[{type:i.Input}],markDisabled:[{type:i.Input}],minDate:[{type:i.Input}],maxDate:[{type:i.Input}],navigation:[{type:i.Input}],outsideDays:[{type:i.Input}],showWeekdays:[{type:i.Input}],showWeekNumbers:[{type:i.Input}],startDate:[{type:i.Input}],navigate:[{type:i.Output}]}},"/PMa":function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"b",function(){return r}),n.d(e,"a",function(){return o});var r=function(){function t(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n}return t}(),o=function(){function t(t,e,n,i,r){this._injector=e,this._viewContainerRef=n,this._renderer=i,this._windowFactory=r.resolveComponentFactory(t)}return t.prototype.open=function(t,e){return this._windowRef||(this._contentRef=this._getContentRef(t,e),this._windowRef=this._viewContainerRef.createComponent(this._windowFactory,0,this._injector,this._contentRef.nodes)),this._windowRef},t.prototype.close=function(){this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null,this._contentRef.viewRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef=null))},t.prototype._getContentRef=function(t,e){if(t){if(t instanceof i.TemplateRef){var n=this._viewContainerRef.createEmbeddedView(t,e);return new r([n.rootNodes],n)}return new r([[this._renderer.createText(""+t)]])}return new r([])},t}()},"/TOt":function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=s.async),this.lift(new l(t,e))}function r(t){t.clearThrottle()}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("CGGv"),a=n("mmVS");e.auditTime=i;var l=function(){function t(t,e){this.duration=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.duration,this.scheduler))},t}(),u=function(t){function e(e,n,i){t.call(this,e),this.duration=n,this.scheduler=i,this.hasValue=!1}return o(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0,this.throttled||this.add(this.throttled=this.scheduler.schedule(r,this.duration,this))},e.prototype.clearThrottle=function(){var t=this,e=t.value,n=t.hasValue,i=t.throttled;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),n&&(this.value=null,this.hasValue=!1,this.destination.next(e))},e}(a.Subscriber)},"/i+G":function(t,e,n){"use strict";var i=n("3j3K"),r=n("2yGx"),o=n("K0TW");n.d(e,"a",function(){return s});var s=function(){function t(t){this.pageCount=0,this.pages=[],this.page=0,this.pageChange=new i.EventEmitter(!0),this.disabled=t.disabled,this.boundaryLinks=t.boundaryLinks,this.directionLinks=t.directionLinks,this.ellipses=t.ellipses,this.maxSize=t.maxSize,this.pageSize=t.pageSize,this.rotate=t.rotate,this.size=t.size}return t.prototype.hasPrevious=function(){return this.page>1},t.prototype.hasNext=function(){return this.page<this.pageCount},t.prototype.selectPage=function(t){this._updatePages(t)},t.prototype.ngOnChanges=function(t){this._updatePages(this.page)},t.prototype.isEllipsis=function(t){return-1===t},t.prototype._applyEllipses=function(t,e){this.ellipses&&(t>0&&(t>1&&this.pages.unshift(-1),this.pages.unshift(1)),e<this.pageCount&&(e<this.pageCount-1&&this.pages.push(-1),this.pages.push(this.pageCount)))},t.prototype._applyRotation=function(){var t=0,e=this.pageCount,n=Math.floor(this.maxSize/2),i=this.maxSize%2==0?n-1:n;return this.page<=n?e=this.maxSize:this.pageCount-this.page<n?t=this.pageCount-this.maxSize:(t=this.page-n-1,e=this.page+i),[t,e]},t.prototype._applyPagination=function(){var t=Math.ceil(this.page/this.maxSize)-1,e=t*this.maxSize;return[e,e+this.maxSize]},t.prototype._setPageInRange=function(t){var e=this.page;this.page=n.i(r.e)(t,this.pageCount,1),this.page!==e&&this.pageChange.emit(this.page)},t.prototype._updatePages=function(t){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),n.i(r.a)(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(var e=1;e<=this.pageCount;e++)this.pages.push(e);if(this._setPageInRange(t),this.maxSize>0&&this.pageCount>this.maxSize){var i=0,o=this.pageCount;this.rotate?(s=this._applyRotation(),i=s[0],o=s[1]):(a=this._applyPagination(),i=a[0],o=a[1]),this.pages=this.pages.slice(i,o),this._applyEllipses(i,o)}var s,a},t}();s.decorators=[{type:i.Component,args:[{selector:"ngb-pagination",changeDetection:i.ChangeDetectionStrategy.OnPush,host:{role:"navigation"},template:'\n <ul [class]="\'pagination\' + (size ? \' pagination-\' + size : \'\')">\n <li *ngIf="boundaryLinks" class="page-item"\n [class.disabled]="!hasPrevious() || disabled">\n <a aria-label="First" class="page-link" href (click)="!!selectPage(1)" [attr.tabindex]="(hasPrevious() ? null : \'-1\')">\n <span aria-hidden="true">««</span>\n </a>\n </li>\n\n <li *ngIf="directionLinks" class="page-item"\n [class.disabled]="!hasPrevious() || disabled">\n <a aria-label="Previous" class="page-link" href (click)="!!selectPage(page-1)" [attr.tabindex]="(hasPrevious() ? null : \'-1\')">\n <span aria-hidden="true">«</span>\n </a>\n </li>\n <li *ngFor="let pageNumber of pages" class="page-item" [class.active]="pageNumber === page"\n [class.disabled]="isEllipsis(pageNumber) || disabled">\n <a *ngIf="isEllipsis(pageNumber)" class="page-link">...</a>\n <a *ngIf="!isEllipsis(pageNumber)" class="page-link" href (click)="!!selectPage(pageNumber)">\n {{pageNumber}}\n <span *ngIf="pageNumber === page" class="sr-only">(current)</span>\n </a>\n </li>\n <li *ngIf="directionLinks" class="page-item" [class.disabled]="!hasNext() || disabled">\n <a aria-label="Next" class="page-link" href (click)="!!selectPage(page+1)" [attr.tabindex]="(hasNext() ? null : \'-1\')">\n <span aria-hidden="true">»</span>\n </a>\n </li>\n\n <li *ngIf="boundaryLinks" class="page-item" [class.disabled]="!hasNext() || disabled">\n <a aria-label="Last" class="page-link" href (click)="!!selectPage(pageCount)" [attr.tabindex]="(hasNext() ? null : \'-1\')">\n <span aria-hidden="true">»»</span>\n </a>\n </li>\n </ul>\n '}]}],s.ctorParameters=function(){return[{type:o.a}]},s.propDecorators={disabled:[{type:i.Input}],boundaryLinks:[{type:i.Input}],directionLinks:[{type:i.Input}],ellipses:[{type:i.Input}],rotate:[{type:i.Input}],collectionSize:[{type:i.Input}],maxSize:[{type:i.Input}],page:[{type:i.Input}],pageSize:[{type:i.Input}],pageChange:[{type:i.Output}],size:[{type:i.Input}]}},"/lY3":function(t,e,n){"use strict";var i=n("rCTf"),r=n("Ji1V");i.Observable.prototype.startWith=r.startWith},"/m/U":function(t,e,n){(function(e){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t){jt.forEach(function(e){var n=e.popper,i=e.tippyInstance,r=e.settings,o=r.appendTo,s=r.hideOnClick,a=r.trigger;if(o.contains(n)){var l=!0===s||-1!==a.indexOf("focus"),u=!t||n!==t.popper;l&&u&&i.hide(n)}})}function n(t,e){return(Element.prototype.closest||function(t){for(var e=this;e;){if(zt.call(e,t))return e;e=e.parentElement}}).call(t,e)}function i(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function r(){var e=function(){Dt.touch=!0,Dt.iOS()&&document.body.classList.add("tippy-touch"),Dt.dynamicInputDetection&&window.performance&&document.addEventListener("mousemove",r)},r=function(){var t=void 0;return function(){var e=performance.now();e-t<20&&(Dt.touch=!1,document.removeEventListener("mousemove",r),Dt.iOS()||document.body.classList.remove("tippy-touch")),t=e}}(),o=function(e){if(!(e.target instanceof Element))return t();var r=n(e.target,Lt.TOOLTIPPED_EL),o=n(e.target,Lt.POPPER);if(o){if(i(jt,function(t){return t.popper===o}).settings.interactive)return}if(r){var s=i(jt,function(t){return t.el===r}),a=s.settings,l=a.hideOnClick,u=a.multiple,c=a.trigger;if(!u&&Dt.touch||!u&&-1!==c.indexOf("click"))return t(s);if(!0!==l||-1!==c.indexOf("click"))return}!n(e.target,Lt.CONTROLLER)&&document.querySelector(Lt.POPPER)&&t()},s=function(t){var e=document,n=e.activeElement;n&&n.blur&&zt.call(n,Lt.TOOLTIPPED_EL)&&n.blur()};document.addEventListener("click",o),document.addEventListener("touchstart",e),window.addEventListener("blur",s),!Dt.SUPPORTS_TOUCH&&(navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&document.addEventListener("pointerdown",e)}function o(){return!o.done&&(o.done=!0,Ft.appendTo=document.body,r(),!0)}function s(t){window.requestAnimationFrame(function(){setTimeout(t,0)})}function a(t){for(var e=[!1,"webkit"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var r=e[i],o=r?""+r+n:t;if(void 0!==window.document.body.style[o])return o}return null}function l(t,e){return Array.prototype.findIndex?t.findIndex(e):t.indexOf(i(t,e))}function u(t){var e=t.getAttribute("title");t.setAttribute("data-original-title",e||"html"),t.removeAttribute("title")}function c(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}function h(t,e){e?window.getComputedStyle(e)[a("transform")]:window.getComputedStyle(t).opacity}function p(t,e){t.forEach(function(t){t&&e(t.classList)})}function d(t,e){t.forEach(function(t){if(t){var n=zt.call(t,Lt.CONTENT),i=n?Math.round(e/1.3):e;t.style[a("transitionDuration")]=i+"ms"}})}function f(t){return"visible"===t.style.visibility}function m(){}function v(t){return t.replace(/-.+/,"")}function g(t){var e=this,n=i(jt,function(t){return t.el===e}),r=n.popper,o=n.settings.offset,s=v(r.getAttribute("x-placement")),l=Math.round(r.offsetWidth/2),u=Math.round(r.offsetHeight/2),c=5,h=document.documentElement.offsetWidth||document.body.offsetWidth,p=t.pageX,d=t.pageY,f=void 0,m=void 0;switch(s){case"top":f=p-l+o,m=d-2.25*u;break;case"left":f=p-2*l-10,m=d-u+o;break;case"right":f=p+u,m=d-u+o;break;case"bottom":f=p-l+o,m=d+u/1.5}var g=p+c+l+o>h,y=p-c-l+o<0;"top"!==s&&"bottom"!==s||(g&&(f=h-c-2*l),y&&(f=c)),r.style[a("transform")]="translate3d("+f+"px, "+m+"px, 0)"}function y(t){return t instanceof Element?[t]:Array.isArray(t)?t:[].slice.call(document.querySelectorAll(t))}function b(t,e,n){if(!e)return n();var i=t.popper.querySelector(Lt.TOOLTIP),r=!1,o=function t(e){e.target===i&&(r=!0,i.removeEventListener("webkitTransitionEnd",t),i.removeEventListener("transitionend",t),n())};i.addEventListener("webkitTransitionEnd",o),i.addEventListener("transitionend",o),clearTimeout(t._transitionendTimeout),t._transitionendTimeout=setTimeout(function(){!r&&n()},e)}function w(t){var e=!1,n=0,i=document.createElement("span");return new MutationObserver(function(){t(),e=!1}).observe(i,{attributes:!0}),function(){e||(e=!0,i.setAttribute("x-index",n),n+=1)}}function x(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},Yt))}}function C(t){var e={};return t&&"[object Function]"===e.toString.call(t)}function S(t,e){if(1!==t.nodeType)return[];var n=window.getComputedStyle(t,null);return e?n[e]:n}function k(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function O(t){if(!t||-1!==["HTML","BODY","#document"].indexOf(t.nodeName))return window.document.body;var e=S(t),n=e.overflow,i=e.overflowX;return/(auto|scroll)/.test(n+e.overflowY+i)?t:O(k(t))}function T(t){var e=t&&t.offsetParent,n=e&&e.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TD","TABLE"].indexOf(e.nodeName)&&"static"===S(e,"position")?T(e):e:window.document.documentElement}function _(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||T(t.firstElementChild)===t)}function E(t){return null!==t.parentNode?E(t.parentNode):t}function R(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return window.document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,r=n?e:t,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var s=o.commonAncestorContainer;if(t!==s&&e!==s||i.contains(r))return _(s)?s:T(s);var a=E(t);return a.host?R(a.host,e):R(t,E(e).host)}function M(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var r=window.document.documentElement;return(window.document.scrollingElement||r)[n]}return t[n]}function I(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=M(e,"top"),r=M(e,"left"),o=n?-1:1;return t.top+=i*o,t.bottom+=i*o,t.left+=r*o,t.right+=r*o,t}function P(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return+t["border"+n+"Width"].split("px")[0]+ +t["border"+i+"Width"].split("px")[0]}function A(t,e,n,i){return Math.max(e["offset"+t],n["client"+t],n["offset"+t],Zt()?n["offset"+t]+i["margin"+("Height"===t?"Top":"Left")]+i["margin"+("Height"===t?"Bottom":"Right")]:0)}function N(){var t=window.document.body,e=window.document.documentElement,n=Zt()&&window.getComputedStyle(e);return{height:A("Height",t,e,n),width:A("Width",t,e,n)}}function D(t){return ee({},t,{right:t.left+t.width,bottom:t.top+t.height})}function j(t){var e={};if(Zt())try{e=t.getBoundingClientRect();var n=M(t,"top"),i=M(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i}catch(t){}else e=t.getBoundingClientRect();var r={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?N():{},s=o.width||t.clientWidth||r.right-r.left,a=o.height||t.clientHeight||r.bottom-r.top,l=t.offsetWidth-s,u=t.offsetHeight-a;if(l||u){var c=S(t);l-=P(c,"x"),u-=P(c,"y"),r.width-=l,r.height-=u}return D(r)}function L(t,e){var n=Zt(),i="HTML"===e.nodeName,r=j(t),o=j(e),s=O(t),a=S(e),l=+a.borderTopWidth.split("px")[0],u=+a.borderLeftWidth.split("px")[0],c=D({top:r.top-o.top-l,left:r.left-o.left-u,width:r.width,height:r.height});if(c.marginTop=0,c.marginLeft=0,!n&&i){var h=+a.marginTop.split("px")[0],p=+a.marginLeft.split("px")[0];c.top-=l-h,c.bottom-=l-h,c.left-=u-p,c.right-=u-p,c.marginTop=h,c.marginLeft=p}return(n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(c=I(c,e)),c}function F(t){var e=window.document.documentElement,n=L(t,e),i=Math.max(e.clientWidth,window.innerWidth||0),r=Math.max(e.clientHeight,window.innerHeight||0),o=M(e),s=M(e,"left");return D({top:o-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:i,height:r})}function W(t){var e=t.nodeName;return"BODY"!==e&&"HTML"!==e&&("fixed"===S(t,"position")||W(k(t)))}function V(t,e,n,i){var r={top:0,left:0},o=R(t,e);if("viewport"===i)r=F(o);else{var s=void 0;"scrollParent"===i?(s=O(k(t)),"BODY"===s.nodeName&&(s=window.document.documentElement)):s="window"===i?window.document.documentElement:i;var a=L(s,o);if("HTML"!==s.nodeName||W(o))r=a;else{var l=N(),u=l.height,c=l.width;r.top+=a.top-a.marginTop,r.bottom=u+a.top,r.left+=a.left-a.marginLeft,r.right=c+a.left}}return r.left+=n,r.top+=n,r.right-=n,r.bottom-=n,r}function z(t){return t.width*t.height}function H(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=V(n,i,o,r),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map(function(t){return ee({key:t},a[t],{area:z(a[t])})}).sort(function(t,e){return e.area-t.area}),u=l.filter(function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight}),c=u.length>0?u[0].key:l[0].key,h=t.split("-")[1];return c+(h?"-"+h:"")}function B(t,e,n){return L(n,R(e,n))}function U(t){var e=window.getComputedStyle(t),n=parseFloat(e.marginTop)+parseFloat(e.marginBottom),i=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function q(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function Y(t,e,n){n=n.split("-")[0];var i=U(t),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),s=o?"top":"left",a=o?"left":"top",l=o?"height":"width",u=o?"width":"height";return r[s]=e[s]+e[l]/2-i[l]/2,r[a]=n===a?e[a]-i[u]:e[q(a)],r}function X(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function G(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=X(t,function(t){return t[e]===n});return t.indexOf(i)}function K(t,e,n){return(void 0===n?t:t.slice(0,G(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&C(n)&&(e.offsets.popper=D(e.offsets.popper),e.offsets.reference=D(e.offsets.reference),e=n(e,t))}),e}function J(){if(!this.state.isDestroyed){var t={instance:this,styles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=B(this.state,this.popper,this.reference),t.placement=H(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.offsets.popper=Y(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position="absolute",t=K(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function Z(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function $(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length-1;i++){var r=e[i],o=r?""+r+n:t;if(void 0!==window.document.body.style[o])return o}return null}function Q(){return this.state.isDestroyed=!0,Z(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[$("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function tt(t,e,n,i){var r="BODY"===t.nodeName,o=r?window:t;o.addEventListener(e,n,{passive:!0}),r||tt(O(o.parentNode),e,n,i),i.push(o)}function et(t,e,n,i){n.updateBound=i,window.addEventListener("resize",n.updateBound,{passive:!0});var r=O(t);return tt(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function nt(){this.state.eventsEnabled||(this.state=et(this.reference,this.options,this.state,this.scheduleUpdate))}function it(t,e){return window.removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}function rt(){this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=it(this.reference,this.state))}function ot(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function st(t,e){Object.keys(e).forEach(function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&ot(e[n])&&(i="px"),t.style[n]=e[n]+i})}function at(t,e){Object.keys(e).forEach(function(n){!1!==e[n]?t.setAttribute(n,e[n]):t.removeAttribute(n)})}function lt(t){return st(t.instance.popper,t.styles),at(t.instance.popper,t.attributes),t.offsets.arrow&&st(t.arrowElement,t.offsets.arrow),t}function ut(t,e,n,i,r){var o=B(r,e,t),s=H(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),st(e,{position:"absolute"}),n}function ct(t,e){var n=e.x,i=e.y,r=t.offsets.popper,o=X(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==o?o:e.gpuAcceleration,a=T(t.instance.popper),l=j(a),u={position:r.position},c={left:Math.floor(r.left),top:Math.floor(r.top),bottom:Math.floor(r.bottom),right:Math.floor(r.right)},h="bottom"===n?"top":"bottom",p="right"===i?"left":"right",d=$("transform"),f=void 0,m=void 0;if(m="bottom"===h?-l.height+c.bottom:c.top,f="right"===p?-l.width+c.right:c.left,s&&d)u[d]="translate3d("+f+"px, "+m+"px, 0)",u[h]=0,u[p]=0,u.willChange="transform";else{var v="bottom"===h?-1:1,g="right"===p?-1:1;u[h]=m*v,u[p]=f*g,u.willChange=h+", "+p}var y={"x-placement":t.placement};return t.attributes=ee({},y,t.attributes),t.styles=ee({},u,t.styles),t}function ht(t,e,n){var i=X(t,function(t){return t.name===e}),r=!!i&&t.some(function(t){return t.name===n&&t.enabled&&t.order<i.order});if(!r){var o="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return r}function pt(t,e){if(!ht(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],r=t.offsets,o=r.popper,s=r.reference,a=-1!==["left","right"].indexOf(i),l=a?"height":"width",u=a?"top":"left",c=a?"left":"top",h=a?"bottom":"right",p=U(n)[l];s[h]-p<o[u]&&(t.offsets.popper[u]-=o[u]-(s[h]-p)),s[u]+p>o[h]&&(t.offsets.popper[u]+=s[u]+p-o[h]);var d=s[u]+s[l]/2-p/2,f=d-D(t.offsets.popper)[u];return f=Math.max(Math.min(o[l]-p,f),0),t.arrowElement=n,t.offsets.arrow={},t.offsets.arrow[u]=Math.round(f),t.offsets.arrow[c]="",t}function dt(t){return"end"===t?"start":"start"===t?"end":t}function ft(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=ie.indexOf(t),i=ie.slice(n+1).concat(ie.slice(0,n));return e?i.reverse():i}function mt(t,e){if(Z(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=V(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement),i=t.placement.split("-")[0],r=q(i),o=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case re.FLIP:s=[i,r];break;case re.CLOCKWISE:s=ft(i);break;case re.COUNTERCLOCKWISE:s=ft(i,!0);break;default:s=e.behavior}return s.forEach(function(a,l){if(i!==a||s.length===l+1)return t;i=t.placement.split("-")[0],r=q(i);var u=t.offsets.popper,c=t.offsets.reference,h=Math.floor,p="left"===i&&h(u.right)>h(c.left)||"right"===i&&h(u.left)<h(c.right)||"top"===i&&h(u.bottom)>h(c.top)||"bottom"===i&&h(u.top)<h(c.bottom),d=h(u.left)<h(n.left),f=h(u.right)>h(n.right),m=h(u.top)<h(n.top),v=h(u.bottom)>h(n.bottom),g="left"===i&&d||"right"===i&&f||"top"===i&&m||"bottom"===i&&v,y=-1!==["top","bottom"].indexOf(i),b=!!e.flipVariations&&(y&&"start"===o&&d||y&&"end"===o&&f||!y&&"start"===o&&m||!y&&"end"===o&&v);(p||g||b)&&(t.flipped=!0,(p||g)&&(i=s[l+1]),b&&(o=dt(o)),t.placement=i+(o?"-"+o:""),t.offsets.popper=ee({},t.offsets.popper,Y(t.instance.popper,t.offsets.reference,t.placement)),t=K(t.instance.modifiers,t,"flip"))}),t}function vt(t){var e=t.offsets,n=e.popper,i=e.reference,r=t.placement.split("-")[0],o=Math.floor,s=-1!==["top","bottom"].indexOf(r),a=s?"right":"bottom",l=s?"left":"top",u=s?"width":"height";return n[a]<o(i[l])&&(t.offsets.popper[l]=o(i[l])-n[u]),n[l]>o(i[a])&&(t.offsets.popper[l]=o(i[a])),t}function gt(t,e,n,i){var r=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],s=r[2];if(!o)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return D(a)[e]/100*o}if("vh"===s||"vw"===s){return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o}return o}function yt(t,e,n,i){var r=[0,0],o=-1!==["right","left"].indexOf(i),s=t.split(/(\+|\-)/).map(function(t){return t.trim()}),a=s.indexOf(X(s,function(t){return-1!==t.search(/,|\s/)}));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return u=u.map(function(t,i){var r=(1===i?!o:o)?"height":"width",s=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)},[]).map(function(t){return gt(t,r,e,n)})}),u.forEach(function(t,e){t.forEach(function(n,i){ot(n)&&(r[e]+=n*("-"===t[i-1]?-1:1))})}),r}function bt(t,e){var n=e.offset,i=t.placement,r=t.offsets,o=r.popper,s=r.reference,a=i.split("-")[0],l=void 0;return l=ot(+n)?[+n,0]:yt(n,o,s,a),"left"===a?(o.top+=l[0],o.left-=l[1]):"right"===a?(o.top+=l[0],o.left+=l[1]):"top"===a?(o.left+=l[0],o.top-=l[1]):"bottom"===a&&(o.left+=l[0],o.top+=l[1]),t.popper=o,t}function wt(t,e){var n=e.boundariesElement||T(t.instance.popper);t.instance.reference===n&&(n=T(n));var i=V(t.instance.popper,t.instance.reference,e.padding,n);e.boundaries=i;var r=e.priority,o=t.offsets.popper,s={primary:function(t){var n=o[t];return o[t]<i[t]&&!e.escapeWithReference&&(n=Math.max(o[t],i[t])),te({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=o[n];return o[t]>i[t]&&!e.escapeWithReference&&(r=Math.min(o[n],i[t]-("right"===t?o.width:o.height))),te({},n,r)}};return r.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";o=ee({},o,s[e](t))}),t.offsets.popper=o,t}function xt(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var r=t.offsets,o=r.reference,s=r.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",u=a?"width":"height",c={start:te({},l,o[l]),end:te({},l,o[l]+o[u]-s[u])};t.offsets.popper=ee({},s,c[i])}return t}function Ct(t){if(!ht(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=X(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}function St(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,r=i.popper,o=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return r[s?"left":"top"]=o[e]-(a?r[s?"width":"height"]:0),t.placement=q(e),t.offsets.popper=D(r),t}function kt(t){return-(t-Ft.distance)+"px"}function Ot(t){var e=t.el,n=t.popper,i=t.settings,r=i.position,o=i.popperOptions,s=i.offset,a=i.distance,l=(i.flipDuration,n.querySelector(Lt.TOOLTIP)),u=ce({placement:r},o||{},{modifiers:ce({},o?o.modifiers:{},{flip:ce({padding:a+5},o&&o.modifiers?o.modifiers.flip:{}),offset:ce({offset:s},o&&o.modifiers?o.modifiers.offset:{})}),onUpdate:function(){var t=l.style;t.top="",t.bottom="",t.left="",t.right="",t[v(n.getAttribute("x-placement"))]=kt(a)}});return new ae(e,n,u)}function Tt(t){var e=t.el,n=t.popper,i=t.settings,r=i.appendTo,o=i.followCursor,l=i.flipDuration;if(!r.contains(n)){if(r.appendChild(n),t.popperInstance)t.popperInstance.update(),o&&!Dt.touch||t.popperInstance.enableEventListeners();else if(t.popperInstance=Ot(t),window.MutationObserver){var u=n.style,c=new MutationObserver(function(){u[a("transitionDuration")]="0ms",t.popperInstance.update(),s(function(){u[a("transitionDuration")]=l+"ms"})});c.observe(n,{childList:!0,subtree:!0,characterData:!0}),t._mutationObserver=c}o&&!Dt.touch&&(e.addEventListener("mousemove",g),t.popperInstance.disableEventListeners())}}function _t(t){var e=t.popper,n=t.popperInstance,i=t.settings.stickyDuration,r=function(){return e.style[a("transitionDuration")]=i+"ms"},o=function(){return e.style[a("transitionDuration")]=""};s(function t(){n&&n.scheduleUpdate(),r(),f(e)?window.requestAnimationFrame(t):o()})}function Et(t,e){var n=Wt.reduce(function(n,i){var r=t.getAttribute("data-"+i.toLowerCase())||e[i];return"false"===r&&(r=!1),"true"===r&&(r=!0),isFinite(r)&&!isNaN(parseFloat(r))&&(r=parseFloat(r)),"string"==typeof r&&"["===r.trim().charAt(0)&&(r=JSON.parse(r)),n[i]=r,n},{});return ce({},e,n)}function Rt(t,e,n){var i=n.position,r=n.distance,o=n.arrow,s=n.animateFill,a=n.inertia,l=n.animation,u=n.arrowSize,c=n.size,h=n.theme,p=n.html,d=n.zIndex,f=n.interactive,m=document.createElement("div");m.setAttribute("class","tippy-popper"),m.setAttribute("role","tooltip"),m.setAttribute("aria-hidden","true"),m.setAttribute("id","tippy-tooltip-"+t),m.style.zIndex=d;var g=document.createElement("div");if(g.setAttribute("class","tippy-tooltip tippy-tooltip--"+c+" leave"),g.setAttribute("data-animation",l),h.split(" ").forEach(function(t){g.classList.add(t+"-theme")}),o){var y=document.createElement("div");y.setAttribute("class","arrow-"+u),y.setAttribute("x-arrow",""),g.appendChild(y)}if(s){g.setAttribute("data-animatefill","");var b=document.createElement("div");b.setAttribute("class","leave"),b.setAttribute("x-circle",""),g.appendChild(b)}a&&g.setAttribute("data-inertia",""),f&&g.setAttribute("data-interactive","");var w=document.createElement("div");if(w.setAttribute("class","tippy-tooltip-content"),p){var x=void 0;p instanceof Element?(w.appendChild(p),x="#"+p.id||"tippy-html-template"):(w.innerHTML=document.getElementById(p.replace("#","")).innerHTML,x=p),m.classList.add("html-template"),f&&m.setAttribute("tabindex","-1"),g.setAttribute("data-template-id",x)}else w.innerHTML=e;return g.style[v(i)]=kt(r),g.appendChild(w),m.appendChild(g),m}function Mt(t,e,n,i){var r=[];return"manual"===t?r:(e.addEventListener(t,n.handleTrigger),r.push({event:t,handler:n.handleTrigger}),"mouseenter"===t&&(Dt.SUPPORTS_TOUCH&&i&&(e.addEventListener("touchstart",n.handleTrigger),r.push({event:"touchstart",handler:n.handleTrigger}),e.addEventListener("touchend",n.handleMouseleave),r.push({event:"touchend",handler:n.handleMouseleave})),e.addEventListener("mouseleave",n.handleMouseleave),r.push({event:"mouseleave",handler:n.handleMouseleave})),"focus"===t&&(e.addEventListener("blur",n.handleBlur),r.push({event:"blur",handler:n.handleBlur})),r)}function It(t,e,n){if(!e.getAttribute("x-placement"))return!0;var i=t.clientX,r=t.clientY,o=n.interactiveBorder,s=n.distance,a=e.getBoundingClientRect(),l=v(e.getAttribute("x-placement")),u=o+s,c={top:a.top-r>o,bottom:r-a.bottom>o,left:a.left-i>o,right:i-a.right>o};switch(l){case"top":c.top=a.top-r>u;break;case"bottom":c.bottom=r-a.bottom>u;break;case"left":c.left=a.left-i>u;break;case"right":c.right=i-a.right>u}return c.top||c.bottom||c.left||c.right}function Pt(t,e,i){var r=this,o=(i.position,i.delay),s=(i.duration,i.interactive),a=(i.interactiveBorder,i.distance,i.hideOnClick),l=i.trigger,u=i.touchHold,c=(i.touchWait,void 0),h=void 0,p=function(){clearTimeout(c),clearTimeout(h)},d=function(){if(p(),!f(e)){var t=Array.isArray(o)?o[0]:o;o?c=setTimeout(function(){return r.show(e)},t):r.show(e)}},m=function(t){return r.callbacks.wait?r.callbacks.wait.call(e,d,t):d()},v=function(){p();var t=Array.isArray(o)?o[1]:o;o?h=setTimeout(function(){return r.hide(e)},t):r.hide(e)};return{handleTrigger:function(n){var i="mouseenter"===n.type&&Dt.SUPPORTS_TOUCH&&Dt.touch;if(!i||!u){var r="click"===n.type,o="persistent"!==a;r&&f(e)&&o?v():m(n),i&&Dt.iOS()&&t.click&&t.click()}},handleMouseleave:function(r){if(!("mouseleave"===r.type&&Dt.SUPPORTS_TOUCH&&Dt.touch&&u)){if(s){var o=function r(o){var s=function(){document.body.removeEventListener("mouseleave",v),document.removeEventListener("mousemove",r),v()},a=n(o.target,Lt.TOOLTIPPED_EL),u=n(o.target,Lt.POPPER)===e,c=a===t,h=-1!==l.indexOf("click");if(a&&a!==t)return s();u||c||h||It(o,e,i)&&s()};return document.body.addEventListener("mouseleave",v),void document.addEventListener("mousemove",o)}v()}},handleBlur:function(t){t.relatedTarget&&!Dt.touch&&(n(t.relatedTarget,Lt.POPPER)||v())}}}function At(t){var e=this;return t.reduce(function(t,n){var i=he,r=e.settings.performance?e.settings:Et(n,e.settings);r.arrow&&(r.animateFill=!1);var o=r.html,s=r.trigger,a=r.touchHold,l=n.getAttribute("title");if(!l&&!o)return t;n.setAttribute("data-tooltipped",""),n.setAttribute("aria-describedby","tippy-tooltip-"+i),u(n);var c=Rt(i,l,r),h=Pt.call(e,n,c,r),p=[];return s.trim().split(" ").forEach(function(t){return p=p.concat(Mt(t,n,h,a))}),t.push({id:i,el:n,popper:c,settings:r,listeners:p,tippyInstance:e}),he++,t},[])}function Nt(t,e){return new pe(t,e)}var Dt={};"undefined"!=typeof window&&(Dt.SUPPORTED="requestAnimationFrame"in window,Dt.SUPPORTS_TOUCH="ontouchstart"in window,Dt.touch=!1,Dt.dynamicInputDetection=!0,Dt.iOS=function(){return/iPhone|iPad|iPod/.test(navigator.userAgent)&&!window.MSStream});for(var jt=[],Lt={POPPER:".tippy-popper",TOOLTIP:".tippy-tooltip",CONTENT:".tippy-tooltip-content",CIRCLE:"[x-circle]",ARROW:"[x-arrow]",TOOLTIPPED_EL:"[data-tooltipped]",CONTROLLER:"[data-tippy-controller]"},Ft={html:!1,position:"top",animation:"shift",animateFill:!0,arrow:!1,arrowSize:"regular",delay:0,trigger:"mouseenter focus",duration:350,interactive:!1,interactiveBorder:2,theme:"dark",size:"regular",distance:10,offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,flipDuration:350,sticky:!1,stickyDuration:200,appendTo:null,zIndex:9999,touchHold:!1,performance:!1,dynamicTitle:!1,popperOptions:{}},Wt=Dt.SUPPORTED&&Object.keys(Ft),Vt=Element.prototype,zt=Vt.matches||Vt.matchesSelector||Vt.webkitMatchesSelector||Vt.mozMatchesSelector||Vt.msMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),n=e.length;--n>=0&&e.item(n)!==this;);return n>-1},Ht=["native code","[object MutationObserverConstructor]"],Bt=function(t){return Ht.some(function(e){return(t||"").toString().indexOf(e)>-1})},Ut="undefined"!=typeof window,qt=["Edge","Trident","Firefox"],Yt=0,Xt=0;Xt<qt.length;Xt+=1)if(Ut&&navigator.userAgent.indexOf(qt[Xt])>=0){Yt=1;break}var Gt=Ut&&Bt(window.MutationObserver),Kt=Gt?w:x,Jt=void 0,Zt=function(){return void 0===Jt&&(Jt=-1!==navigator.appVersion.indexOf("MSIE 10")),Jt},$t=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Qt=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),te=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},ee=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ne=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ie=ne.slice(3),re={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},oe={shift:{order:100,enabled:!0,fn:xt},offset:{order:200,enabled:!0,fn:bt,offset:0},preventOverflow:{order:300,enabled:!0,fn:wt,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:vt},arrow:{order:500,enabled:!0,fn:pt,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:mt,behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:St},hide:{order:800,enabled:!0,fn:Ct},computeStyle:{order:850,enabled:!0,fn:ct,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:lt,onLoad:ut,gpuAcceleration:void 0}},se={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:oe},ae=function(){function t(e,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};$t(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=Kt(this.update.bind(this)),this.options=ee({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e.jquery?e[0]:e,this.popper=n.jquery?n[0]:n,this.options.modifiers={},Object.keys(ee({},t.Defaults.modifiers,r.modifiers)).forEach(function(e){i.options.modifiers[e]=ee({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return ee({name:t},i.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&C(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return Qt(t,[{key:"update",value:function(){return J.call(this)}},{key:"destroy",value:function(){return Q.call(this)}},{key:"enableEventListeners",value:function(){return nt.call(this)}},{key:"disableEventListeners",value:function(){return rt.call(this)}}]),t}();ae.Utils=("undefined"!=typeof window?window:e).PopperUtils,ae.placements=ne,ae.Defaults=se;var le=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},ue=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),ce=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},he=1,pe=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};le(this,t),Dt.SUPPORTED&&(o(),this.state={destroyed:!1},this.selector=e,this.settings=ce({},Ft,n),this.callbacks={wait:n.wait,show:n.onShow||n.show||m,shown:n.onShown||n.shown||m,hide:n.onHide||n.hide||m,hidden:n.onHidden||n.hidden||m},this.store=At.call(this,y(e)),jt.push.apply(jt,this.store))}return ue(t,[{key:"getPopperElement",value:function(t){try{return i(this.store,function(e){return e.el===t}).popper}catch(t){console.error("[getPopperElement]: Element passed as the argument does not exist in the instance")}}},{key:"getReferenceElement",value:function(t){try{return i(this.store,function(e){return e.popper===t}).el}catch(t){console.error("[getReferenceElement]: Popper passed as the argument does not exist in the instance")}}},{key:"getReferenceData",value:function(t){return i(this.store,function(e){return e.el===t||e.popper===t})}},{key:"show",value:function(t,e){var n=this;if(!this.state.destroyed){this.callbacks.show.call(t);var r=i(this.store,function(e){return e.popper===t}),o=t.querySelector(Lt.TOOLTIP),a=t.querySelector(Lt.CIRCLE),l=t.querySelector(Lt.CONTENT),c=r.el,m=r.settings,v=(m.appendTo,m.sticky),g=m.interactive,y=m.followCursor,w=m.flipDuration,x=m.duration;if(m.dynamicTitle){var C=c.getAttribute("title");C&&(l.innerHTML=C,u(c))}var S=void 0!==e?e:Array.isArray(x)?x[0]:x;d([t,o,a],0),Tt(r),t.style.visibility="visible",t.setAttribute("aria-hidden","false"),s(function(){f(t)&&(y&&!Dt.touch||r.popperInstance.update(),d([o,a],S),y&&!Dt.touch||d([t],w),a&&(l.style.opacity=1),g&&c.classList.add("active"),v&&_t(r),h(o,a),p([o,a],function(t){t.contains("tippy-notransition")&&t.remove("tippy-notransition"),t.remove("leave"),t.add("enter")}),b(r,S,function(){f(t)&&!r._onShownFired&&(g&&t.focus(),o.classList.add("tippy-notransition"),r._onShownFired=!0,n.callbacks.shown.call(t))}))})}}},{key:"hide",value:function(t,e){var n=this;if(!this.state.destroyed){this.callbacks.hide.call(t);var r=i(this.store,function(e){return e.popper===t}),o=t.querySelector(Lt.TOOLTIP),s=t.querySelector(Lt.CIRCLE),a=t.querySelector(Lt.CONTENT),l=r.el,u=r.settings,h=u.appendTo,m=(u.sticky,u.interactive),v=(u.followCursor,u.html),y=u.trigger,w=u.duration,x=void 0!==e?e:Array.isArray(w)?w[1]:w;r._onShownFired=!1,m&&l.classList.remove("active"),t.style.visibility="hidden",t.setAttribute("aria-hidden","true"),d([o,s,s?a:null],x),s&&(a.style.opacity=0),p([o,s],function(t){t.contains("tippy-tooltip")&&t.remove("tippy-notransition"),t.remove("enter"),t.add("leave")}),v&&-1!==y.indexOf("click")&&c(l)&&l.focus(),b(r,x,function(){!f(t)&&h.contains(t)&&(l.removeEventListener("mousemove",g),r.popperInstance.disableEventListeners(),h.removeChild(t),n.callbacks.hidden.call(t))})}}},{key:"update",value:function(t){if(!this.state.destroyed){var e=i(this.store,function(e){return e.popper===t}),n=t.querySelector(Lt.CONTENT),r=e.el,o=e.settings.html;if(o instanceof Element)return void console.warn("Aborted: update() should not be used if `html` is a DOM element");n.innerHTML=o?document.getElementById(o.replace("#","")).innerHTML:r.getAttribute("title")||r.getAttribute("data-original-title"),o||u(r)}}},{key:"destroy",value:function(t,e){var n=this;if(!this.state.destroyed){var r=i(this.store,function(e){return e.popper===t}),o=r.el,s=r.popperInstance,a=r.listeners,u=r._mutationObserver;f(t)&&this.hide(t,0),a.forEach(function(t){return o.removeEventListener(t.event,t.handler)}),o.setAttribute("title",o.getAttribute("data-original-title")),o.removeAttribute("data-original-title"),o.removeAttribute("data-tooltipped"),o.removeAttribute("aria-describedby"),s&&s.destroy(),u&&u.disconnect(),jt.splice(l(jt,function(e){return e.popper===t}),1),(void 0===e||e)&&(this.store=jt.filter(function(t){return t.tippyInstance===n}))}}},{key:"destroyAll",value:function(){var t=this;if(!this.state.destroyed){var e=this.store.length;this.store.forEach(function(n,i){var r=n.popper;t.destroy(r,i===e-1)}),this.store=null,this.state.destroyed=!0}}}]),t}();return Nt.Browser=Dt,Nt.Defaults=Ft,Nt.disableDynamicInputDetection=function(){return Dt.dynamicInputDetection=!1},Nt.enableDynamicInputDetection=function(){return Dt.dynamicInputDetection=!0},Nt})}).call(e,n("DuR2"))},"/rMs":function(t,e,n){"use strict";var i=n("rCTf"),r=n("8MUz");i.Observable.prototype.concat=r.concat},"09LQ":function(t,e,n){"use strict";function i(t){return this.lift(new a(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("B00U");e._finally=i;var a=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.callback))},t}(),l=function(t){function e(e,n){t.call(this,e),this.add(new s.Subscription(n))}return r(e,t),e}(o.Subscriber)},"0EZR":function(t,e,n){"use strict";function i(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function r(t){var e=t.err;t.subject.error(e)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("rCTf"),a=n("+3eL"),l=n("WhVc"),u=n("5c/I"),c=function(t){function e(e,n,i,r,o){t.call(this),this.callbackFunc=e,this.selector=n,this.args=i,this.context=r,this.scheduler=o}return o(e,t),e.create=function(t,n,i){return void 0===n&&(n=void 0),function(){for(var r=[],o=0;o<arguments.length;o++)r[o-0]=arguments[o];return new e(t,n,r,this,i)}},e.prototype._subscribe=function(t){var n=this.callbackFunc,i=this.args,r=this.scheduler,o=this.subject;if(r)return r.schedule(e.dispatch,0,{source:this,subscriber:t,context:this.context});if(!o){o=this.subject=new u.AsyncSubject;var s=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var i=t.source,r=i.selector,o=i.subject;if(r){var s=a.tryCatch(r).apply(this,e);s===l.errorObject?o.error(l.errorObject.e):(o.next(s),o.complete())}else o.next(e.length<=1?e[0]:e),o.complete()};s.source=this;a.tryCatch(n).apply(this.context,i.concat(s))===l.errorObject&&o.error(l.errorObject.e)}return o.subscribe(t)},e.dispatch=function(t){var e=this,n=t.source,o=t.subscriber,s=t.context,c=n.callbackFunc,h=n.args,p=n.scheduler,d=n.subject;if(!d){d=n.subject=new u.AsyncSubject;var f=function t(){for(var n=[],o=0;o<arguments.length;o++)n[o-0]=arguments[o];var s=t.source,u=s.selector,c=s.subject;if(u){var h=a.tryCatch(u).apply(this,n);h===l.errorObject?e.add(p.schedule(r,0,{err:l.errorObject.e,subject:c})):e.add(p.schedule(i,0,{value:h,subject:c}))}else{var d=n.length<=1?n[0]:n;e.add(p.schedule(i,0,{value:d,subject:c}))}};f.source=n;a.tryCatch(c).apply(s,h.concat(f))===l.errorObject&&d.error(l.errorObject.e)}e.add(d.subscribe(o))},e}(s.Observable);e.BoundCallbackObservable=c},"0GXu":function(t,e,n){"use strict";function i(t){return void 0===t&&(t=-1),0===t?new s.EmptyObservable:t<0?this.lift(new a(-1,this)):this.lift(new a(t-1,this))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("jBEF");e.repeat=i;var a=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.count,this.source))},t}(),l=function(t){function e(e,n,i){t.call(this,e),this.count=n,this.source=i}return r(e,t),e.prototype.complete=function(){if(!this.isStopped){var e=this,n=e.source,i=e.count;if(0===i)return t.prototype.complete.call(this);i>-1&&(this.count=i-1),n.subscribe(this._unsubscribeAndRecycle())}},e}(o.Subscriber)},"0TiQ":function(t,e,n){"use strict";var i=n("rCTf"),r=n("QNuG");i.Observable.prototype.publishLast=r.publishLast},"0VSF":function(t,e,n){"use strict";function i(t){return this.lift(new a(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.sample=i;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new l(t),i=e.subscribe(n);return i.add(s.subscribeToResult(n,this.notifier)),i},t}(),l=function(t){function e(){t.apply(this,arguments),this.hasValue=!1}return r(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,n,i,r){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(o.OuterSubscriber)},"0gHg":function(t,e,n){"use strict";function i(t,e,n){return void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===e&&(e=Number.POSITIVE_INFINITY),o.multicast.call(this,new r.ReplaySubject(t,e,n))}var r=n("MQMf"),o=n("emOw");e.publishReplay=i},"10Gq":function(t,e,n){"use strict";var i=n("rCTf"),r=n("Cx8F");i.Observable.prototype.retryWhen=r.retryWhen},"16m9":function(t,e,n){"use strict";var i=n("rCTf"),r=n("Yuqe");i.Observable.prototype.concatMapTo=r.concatMapTo},"1APj":function(t,e,n){"use strict";var i=n("rCTf"),r=n("lgiQ");i.Observable.of=r.of},"1Axw":function(t,e,n){"use strict";function i(t,e){return e?new h(this,e).lift(new u(t)):this.lift(new u(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("rCTf"),a=n("wAkD"),l=n("CURp");e.delayWhen=i;var u=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.delayDurationSelector))},t}(),c=function(t){function e(e,n){t.call(this,e),this.delayDurationSelector=n,this.completed=!1,this.delayNotifierSubscriptions=[],this.values=[]}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(t),this.removeSubscription(r),this.tryComplete()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(t){try{var e=this.delayDurationSelector(t);e&&this.tryDelay(e,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t),n=null;return-1!==e&&(n=this.values[e],this.delayNotifierSubscriptions.splice(e,1),this.values.splice(e,1)),n},e.prototype.tryDelay=function(t,e){var n=l.subscribeToResult(this,t,e);n&&!n.closed&&(this.add(n),this.delayNotifierSubscriptions.push(n)),this.values.push(e)},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(a.OuterSubscriber),h=function(t){function e(e,n){t.call(this),this.source=e,this.subscriptionDelay=n}return r(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new p(t,this.source))},e}(s.Observable),p=function(t){function e(e,n){t.call(this),this.parent=e,this.source=n,this.sourceSubscribed=!1}return r(e,t),e.prototype._next=function(t){this.subscribeToSource()},e.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},e.prototype._complete=function(){this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(o.Subscriber)},"1Cj3":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("9Avi"),o=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<r&&(t=n.shift()));if(this.active=!1,e){for(;++i<r&&(t=n.shift());)t.unsubscribe();throw e}},e}(r.AsyncScheduler);e.AsapScheduler=o},"1NVl":function(t,e,n){"use strict";var i=n("rCTf"),r=n("83T1");i.Observable.prototype.every=r.every},"1Nls":function(t,e,n){"use strict";var i=n("rCTf"),r=n("gIFM");i.Observable.ajax=r.ajax},"1VLl":function(t,e,n){"use strict";var i=n("rCTf"),r=n("ASN6");i.Observable.onErrorResumeNext=r.onErrorResumeNextStatic},"1Z2I":function(t,e,n){"use strict";var i=n("3j3K"),r=n("2Je8"),o=n("W5jB"),s=n("nCuf");n.d(e,"a",function(){return a});var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();a.decorators=[{type:i.NgModule,args:[{declarations:[o.a],exports:[o.a],imports:[r.CommonModule]}]}],a.ctorParameters=function(){return[]}},"1ZrL":function(t,e,n){"use strict";var i=n("rCTf"),r=n("lU4I");i.Observable.concat=r.concat},"1hN3":function(t,e,n){"use strict";function i(t){return this.lift(new c(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("B00U"),s=n("+3eL"),a=n("WhVc"),l=n("wAkD"),u=n("CURp");e.bufferWhen=i;var c=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.closingSelector))},t}(),h=function(t){function e(e,n){t.call(this,e),this.closingSelector=n,this.subscribing=!1,this.openBuffer()}return r(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},e.prototype.notifyNext=function(t,e,n,i,r){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe());var e=this.buffer;this.buffer&&this.destination.next(e),this.buffer=[];var n=s.tryCatch(this.closingSelector)();n===a.errorObject?this.error(a.errorObject.e):(t=new o.Subscription,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(u.subscribeToResult(this,n)),this.subscribing=!1)},e}(l.OuterSubscriber)},"1hiA":function(t,e,n){"use strict";function i(t){return o["ɵvid"](0,[o["ɵqud"](402653184,1,{host:0}),(t()(),o["ɵeld"](0,[[1,0],["host",1]],null,0,"textarea",[],null,null,null,null,null))],null,null)}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,2,"codemirror",[],null,null,null,s.a,s.b)),o["ɵprd"](5120,null,a.NG_VALUE_ACCESSOR,function(t){return[t]},[l.CodemirrorComponent]),o["ɵdid"](4374528,null,0,l.CodemirrorComponent,[],null,null)],null,null)}var o=n("3j3K"),s=n("1hiA"),a=n("NVOs"),l=n("zK+N");n.n(l);n.d(e,"b",function(){return c}),e.a=i;var u=[],c=o["ɵcrt"]({encapsulation:2,styles:u,data:{}});o["ɵccf"]("codemirror",l.CodemirrorComponent,r,{config:"config",value:"value"},{change:"change",focus:"focus",blur:"blur",instance:"instance"},[])},"1k2o":function(t,e,n){"use strict";var i=n("rCTf"),r=n("33Pm");i.Observable.bindCallback=r.bindCallback},"1kxm":function(t,e,n){"use strict";var i=function(){function t(){this.values={}}return t.prototype.delete=function(t){return this.values[t]=null,!0},t.prototype.set=function(t,e){return this.values[t]=e,this},t.prototype.get=function(t){return this.values[t]},t.prototype.forEach=function(t,e){var n=this.values;for(var i in n)n.hasOwnProperty(i)&&null!==n[i]&&t.call(e,n[i],i)},t.prototype.clear=function(){this.values={}},t}();e.FastMap=i},2395:function(t,e,n){"use strict";var i=n("rCTf"),r=n("9TuE");i.Observable.prototype.isEmpty=r.isEmpty},"27zr":function(t,e,n){"use strict";function i(t){return c["ɵvid"](0,[(t()(),c["ɵted"](null,["\n\t\t\t","\n\t\t"]))],null,function(t,e){t(e,0,0,e.component.tipoZoomDesc)})}function r(t){return c["ɵvid"](0,[(t()(),c["ɵted"](null,["\n\t\t\t"])),(t()(),c["ɵeld"](0,null,null,23,"div",[["style","width: 8em"]],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n\t\t\t\t"])),(t()(),c["ɵeld"](0,null,null,20,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n\t\t\t\t\t"])),(t()(),c["ɵeld"](0,null,null,3,"label",[],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n\t\t\t\t\t\t"])),(t()(),c["ɵeld"](0,null,null,0,"input",[["class","form-control form-control-sm"],["name","evaluacionVertical"],["style","width: 15px; display: inline-block;"],["type","checkbox"]],[[8,"checked",0]],[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.mostrarEvaluacionVertical()&&i}return i},null,null)),(t()(),c["ɵted"](null,["\n\t\t\t\t\t\tEvaluacion\n\t\t\t\t\t"])),(t()(),c["ɵted"](null,["\n\t\t\t\t\t"])),(t()(),c["ɵeld"](0,null,null,0,"br",[],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n\t\t\t\t\t"])),(t()(),c["ɵeld"](0,null,null,3,"label",[],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n\t\t\t\t\t\t"])),(t()(),c["ɵeld"](0,null,null,0,"input",[["class","form-control form-control-sm"],["name","mostrarGrilla"],["style","width: 15px; display: inline-block;"],["type","checkbox"]],[[8,"checked",0]],[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.mostrarOcultarGrilla()&&i}return i},null,null)),(t()(),c["ɵted"](null,["\n\t\t\t\t\t\tGrilla\n\t\t\t\t\t"])),(t()(),c["ɵted"](null,["\n\t\t\t\t\t"])),(t()(),c["ɵeld"](0,null,null,0,"br",[],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n\t\t\t\t\t"])),(t()(),c["ɵeld"](0,null,null,3,"label",[],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n\t\t\t\t\t\t"])),(t()(),c["ɵeld"](0,null,null,0,"input",[["class","form-control form-control-sm"],["name","mostrarEjes"],["style","width: 15px; display: inline-block;"],["type","checkbox"]],[[8,"checked",0]],[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.mostrarOcultarEjes()&&i}return i},null,null)),(t()(),c["ɵted"](null,["\n\t\t\t\t\t\tEjes\n\t\t\t\t\t"])),(t()(),c["ɵted"](null,["\n\t\t\t\t"])),(t()(),c["ɵted"](null,["\n\t\t\t"])),(t()(),c["ɵted"](null,["\n\t\t"]))],null,function(t,e){var n=e.component;t(e,7,0,n.evaluacionVertical),t(e,14,0,n.mostrarGrilla),t(e,21,0,n.mostrarEjes)})}function o(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,null,null,1,"button",[["class","btn btn-sm btn-secondary"],["data-placement","bottom"],["style"," float:left; margin-top: -5px; margin-right: 5px"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.play()&&i}return i},null,null)),(t()(),c["ɵeld"](0,null,null,0,"i",[["class","fa fa-play"]],null,null,null,null,null))],null,null)}function s(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,null,null,1,"button",[["class","btn btn-sm btn-secondary"],["data-placement","bottom"],["style"," float:left; margin-top: -5px; margin-right: 5px"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.pause()&&i}return i},null,null)),(t()(),c["ɵeld"](0,null,null,0,"i",[["class","fa fa-pause"]],null,null,null,null,null))],null,null)}function a(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,null,null,1,"ngb-progressbar",[["style","float: none"],["type","info"]],null,null,null,h.a,h.b)),c["ɵdid"](49152,null,0,p.a,[d.a],{type:[0,"type"],value:[1,"value"]},null)],function(t,e){var n=e.component;t(e,1,0,"info",(n.frameAnimacion+1)/n.elementosAnimacion.length*100)},null)}function l(t){return c["ɵvid"](0,[c["ɵqud"](402653184,1,{canvasRef:0}),c["ɵqud"](402653184,2,{popover:0}),(t()(),c["ɵeld"](0,null,null,54,"div",[["class","card"]],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n"])),(t()(),c["ɵted"](null,["\n\t"])),(t()(),c["ɵeld"](0,null,null,50,"div",[["class","card-block contenedor-canvas"]],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n\t\t"])),(t()(),c["ɵeld"](16777216,null,null,2,"button",[["class","btn btn-sm btn-secondary"],["data-placement","bottom"],["placement","bottom"],["style","float:right; margin-right: 198px; margin-top: -55px"],["triggers","mouseenter:mouseleave:click"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.cambiarTipoZoom()&&i}return i},null,null)),c["ɵdid"](212992,null,0,m.a,[c.ElementRef,c.Renderer2,c.Injector,c.ComponentFactoryResolver,c.ViewContainerRef,v.a,c.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(t()(),c["ɵted"](null,["",""])),(t()(),c["ɵted"](null,["\n\t\t"])),(t()(),c["ɵand"](0,[["popoverTipoZoom",2]],null,0,null,i)),(t()(),c["ɵted"](null,["\n\t\t"])),(t()(),c["ɵeld"](16777216,null,null,2,"button",[["class","btn btn-sm btn-secondary"],["data-placement","bottom"],["ngbPopover","Zoom +"],["style","float:right; margin-right: 165px; margin-top: -55px"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.zoomMas()&&i}return i},null,null)),c["ɵdid"](212992,null,0,m.a,[c.ElementRef,c.Renderer2,c.Injector,c.ComponentFactoryResolver,c.ViewContainerRef,v.a,c.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(t()(),c["ɵeld"](0,null,null,0,"i",[["class","fa fa-plus"]],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n\t\t"])),(t()(),c["ɵeld"](16777216,null,null,2,"button",[["class","btn btn-sm btn-secondary"],["data-placement","bottom"],["ngbPopover","Zoom -"],["style","float:right; margin-right: 132px; margin-top: -55px"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.zoomMenos()&&i}return i},null,null)),c["ɵdid"](212992,null,0,m.a,[c.ElementRef,c.Renderer2,c.Injector,c.ComponentFactoryResolver,c.ViewContainerRef,v.a,c.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(t()(),c["ɵeld"](0,null,null,0,"i",[["class","fa fa-minus"]],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n\t\t"])),(t()(),c["ɵeld"](16777216,null,null,2,"button",[["class","btn btn-sm btn-secondary"],["data-placement","bottom"],["ngbPopover","Centrar"],["style"," float:right; margin-right: 99px; margin-top: -55px"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.centrarCanvas()&&i}return i},null,null)),c["ɵdid"](212992,null,0,m.a,[c.ElementRef,c.Renderer2,c.Injector,c.ComponentFactoryResolver,c.ViewContainerRef,v.a,c.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(t()(),c["ɵeld"](0,null,null,0,"i",[["class","fa fa-arrows"]],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n\t\t"])),(t()(),c["ɵeld"](16777216,null,null,2,"button",[["class","btn btn-sm btn-secondary"],["data-placement","bottom"],["ngbPopover","Borrar"],["style"," float:right; margin-right: 66px; margin-top: -55px"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.limpiarCanvas()&&i}return i},null,null)),c["ɵdid"](212992,null,0,m.a,[c.ElementRef,c.Renderer2,c.Injector,c.ComponentFactoryResolver,c.ViewContainerRef,v.a,c.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(t()(),c["ɵeld"](0,null,null,0,"i",[["class","fa fa-trash"]],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n\n\t\t"])),(t()(),c["ɵeld"](16777216,null,null,2,"button",[["class","btn btn-sm btn-secondary"],["data-placement","bottom"],["ngbPopover","Descargar PNG"],["style","float:right; margin-right: 33px; margin-top: -55px"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.exportImg()&&i}return i},null,null)),c["ɵdid"](212992,null,0,m.a,[c.ElementRef,c.Renderer2,c.Injector,c.ComponentFactoryResolver,c.ViewContainerRef,v.a,c.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(t()(),c["ɵeld"](0,null,null,0,"i",[["class","fa fa-download"]],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n\t\t"])),(t()(),c["ɵeld"](0,null,null,1,"a",[["download","Canvas.png"],["id","dl"],["style","display: none"]],null,null,null,null,null)),(t()(),c["ɵted"](null,["Download Canvas"])),(t()(),c["ɵted"](null,["\n\n\t\t"])),(t()(),c["ɵeld"](16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary"],["id","popover"],["placement","bottom"],["popoverTitle","Configuración"],["style","float:right; margin-top: -55px"],["tiggers","click"]],null,null,null,null,null)),c["ɵdid"](212992,[[2,4],["popover",4]],0,m.a,[c.ElementRef,c.Renderer2,c.Injector,c.ComponentFactoryResolver,c.ViewContainerRef,v.a,c.NgZone],{ngbPopover:[0,"ngbPopover"],popoverTitle:[1,"popoverTitle"],placement:[2,"placement"]},null),(t()(),c["ɵted"](null,["\n\t\t\t"])),(t()(),c["ɵeld"](0,null,null,0,"i",[["class","fa fa-gear"]],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n\t\t"])),(t()(),c["ɵted"](null,["\n\t\t"])),(t()(),c["ɵand"](0,[["popoverCanvas",2]],null,0,null,r)),(t()(),c["ɵted"](null,["\n\t\t\n\t\t"])),(t()(),c["ɵand"](16777216,null,null,1,null,o)),c["ɵdid"](16384,null,0,g.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),c["ɵted"](null,["\n\t\t"])),(t()(),c["ɵand"](16777216,null,null,1,null,s)),c["ɵdid"](16384,null,0,g.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),c["ɵted"](null,["\n\t\t"])),(t()(),c["ɵand"](16777216,null,null,1,null,a)),c["ɵdid"](16384,null,0,g.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),c["ɵted"](null,["\n\t\t"])),(t()(),c["ɵeld"](0,[[1,0],["canvasElement",1]],null,1,"canvas",[["height","2000"],["id","myCanvas"],["style","max-width: 100%;"],["width","2000"]],null,[[null,"mousemove"],[null,"touchmove"],[null,"touchstart"],[null,"touchend"],[null,"mouseleave"],[null,"mousewheel"],[null,"DOMMouseScroll"]],function(t,e,n){var i=!0,r=t.component;if("mousemove"===e){i=!1!==r.moveGraph(n)&&i}if("touchmove"===e){i=!1!==r.moveGraph(n)&&i}if("touchstart"===e){i=!1!==r.moveGraph(n)&&i}if("touchend"===e){i=!1!==r.moveGraph(n)&&i}if("mouseleave"===e){i=!1!==r.leaveCanvas(n)&&i}if("mousewheel"===e){i=!1!==r.zoomGraph(n)&&i}if("DOMMouseScroll"===e){i=!1!==r.zoomGraph(n)&&i}return i},null,null)),(t()(),c["ɵted"](null,["\n\t\t"])),(t()(),c["ɵted"](null,["\n\t\t\n\t"])),(t()(),c["ɵted"](null,["\n"]))],function(t,e){var n=e.component;t(e,8,0,c["ɵnov"](e,11),"bottom","mouseenter:mouseleave:click"),t(e,14,0,"Zoom +","bottom","mouseenter:mouseleave"),t(e,18,0,"Zoom -","bottom","mouseenter:mouseleave"),t(e,22,0,"Centrar","bottom","mouseenter:mouseleave"),t(e,26,0,"Borrar","bottom","mouseenter:mouseleave"),t(e,30,0,"Descargar PNG","bottom","mouseenter:mouseleave"),t(e,37,0,c["ɵnov"](e,42),"Configuración","bottom"),t(e,45,0,!n.animando&&n.elementosAnimacion.length>0),t(e,48,0,n.animando&&n.elementosAnimacion.length>0),t(e,51,0,n.elementosAnimacion.length>0)},function(t,e){t(e,9,0,e.component.tipoZoom)})}function u(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,null,null,1,"canvas-component",[],null,[["window","resize"],["document","click"]],function(t,e,n){var i=!0;if("window:resize"===e){i=!1!==c["ɵnov"](t,1).onResize(n)&&i}if("document:click"===e){i=!1!==c["ɵnov"](t,1).documentClicked(n)&&i}return i},l,w)),c["ɵdid"](4243456,null,0,f.a,[y.a],null,null)],null,null)}var c=n("3j3K"),h=n("EF7k"),p=n("W5jB"),d=n("nCuf"),f=n("QQ7W"),m=n("WtNX"),v=n("ETCP"),g=n("2Je8"),y=n("J3Pa");n.d(e,"b",function(){return w}),e.a=l;var b=[],w=c["ɵcrt"]({encapsulation:2,styles:b,data:{}});c["ɵccf"]("canvas-component",f.a,u,{},{},[])},"2AEF":function(t,e,n){"use strict";function i(t,e){return this.lift(new a(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.exhaustMap=i;var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.project,this.resultSelector))},t}(),l=function(t){function e(e,n,i){t.call(this,e),this.project=n,this.resultSelector=i,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return r(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e=this.index++,n=this.destination;try{var i=this.project(t,e);this.hasSubscription=!0,this.add(s.subscribeToResult(this,i,t,e))}catch(t){n.error(t)}},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyNext=function(t,e,n,i,r){var o=this,s=o.resultSelector,a=o.destination;s?this.trySelectResult(t,e,n,i):a.next(e)},e.prototype.trySelectResult=function(t,e,n,i){var r=this,o=r.resultSelector,s=r.destination;try{var a=o(t,e,n,i);s.next(a)}catch(t){s.error(t)}},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber)},"2BXm":function(t,e,n){"use strict";var i=n("3j3K"),r=n("2yGx");n.d(e,"a",function(){return o});var o=function(){function t(){this.activeIdx=0,this.focusFirst=!0,this.formatter=r.d,this.selectEvent=new i.EventEmitter,this.activeChangeEvent=new i.EventEmitter}return t.prototype.getActive=function(){return this.results[this.activeIdx]},t.prototype.markActive=function(t){this.activeIdx=t,this._activeChanged()},t.prototype.next=function(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()},t.prototype.prev=function(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()},t.prototype.select=function(t){this.selectEvent.emit(t)},t.prototype.ngOnInit=function(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()},t.prototype._activeChanged=function(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)},t}();o.decorators=[{type:i.Component,args:[{selector:"ngb-typeahead-window",exportAs:"ngbTypeaheadWindow",host:{class:"dropdown-menu",style:"display: block",role:"listbox","[id]":"id"},template:'\n <ng-template #rt let-result="result" let-term="term" let-formatter="formatter">\n <ngb-highlight [result]="formatter(result)" [term]="term"></ngb-highlight>\n </ng-template>\n <ng-template ngFor [ngForOf]="results" let-result let-idx="index">\n <button type="button" class="dropdown-item" role="option"\n [id]="id + \'-\' + idx"\n [class.active]="idx === activeIdx"\n (mouseenter)="markActive(idx)"\n (click)="select(result)">\n <ng-template [ngTemplateOutlet]="resultTemplate || rt"\n [ngOutletContext]="{result: result, term: term, formatter: formatter}"></ng-template>\n </button>\n </ng-template>\n '}]}],o.ctorParameters=function(){return[]},o.propDecorators={id:[{type:i.Input}],focusFirst:[{type:i.Input}],results:[{type:i.Input}],term:[{type:i.Input}],formatter:[{type:i.Input}],resultTemplate:[{type:i.Input}],selectEvent:[{type:i.Output,args:["select"]}],activeChangeEvent:[{type:i.Output,args:["activeChange"]}]}},"2ER/":function(t,e,n){"use strict";var i=function(){function t(){this.size=0,this._values=[],this._keys=[]}return t.prototype.get=function(t){var e=this._keys.indexOf(t);return-1===e?void 0:this._values[e]},t.prototype.set=function(t,e){var n=this._keys.indexOf(t);return-1===n?(this._keys.push(t),this._values.push(e),this.size++):this._values[n]=e,this},t.prototype.delete=function(t){var e=this._keys.indexOf(t);return-1!==e&&(this._values.splice(e,1),this._keys.splice(e,1),this.size--,!0)},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this.size=0},t.prototype.forEach=function(t,e){for(var n=0;n<this.size;n++)t.call(e,this._values[n],this._keys[n])},t}();e.MapPolyfill=i},"2NoN":function(t,e,n){"use strict";function i(t){return u["ɵvid"](0,[(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,1,"div",[["ngbDatepickerDayView",""]],[[2,"bg-primary",null],[2,"text-white",null],[2,"text-muted",null],[2,"outside",null],[2,"btn-secondary",null]],null,null,c.a,c.b)),u["ɵdid"](49152,null,0,h.a,[],{currentMonth:[0,"currentMonth"],date:[1,"date"],disabled:[2,"disabled"],selected:[3,"selected"]},null),(t()(),u["ɵted"](null,["\n "]))],function(t,e){t(e,2,0,e.context.currentMonth,e.context.date,e.context.disabled,e.context.selected)},function(t,e){t(e,1,0,u["ɵnov"](e,2).selected,u["ɵnov"](e,2).selected,u["ɵnov"](e,2).isMuted(),u["ɵnov"](e,2).isMuted(),!u["ɵnov"](e,2).disabled)})}function r(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,2,"ngb-datepicker-navigation",[["class","d-flex justify-content-between"]],[[2,"collapsed",null]],[[null,"navigate"],[null,"select"]],function(t,e,n){var i=!0,r=t.component;if("navigate"===e){i=!1!==r.onNavigateEvent(n)&&i}if("select"===e){i=!1!==r.onNavigateDateSelect(n)&&i}return i},p.a,p.b)),u["ɵdid"](49152,null,0,d.a,[f.a,m.a],{date:[0,"date"],disabled:[1,"disabled"],maxDate:[2,"maxDate"],minDate:[3,"minDate"],months:[4,"months"],showSelect:[5,"showSelect"],showWeekNumbers:[6,"showWeekNumbers"]},{navigate:"navigate",select:"select"}),(t()(),u["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,1,0,null==n.months[0]?null:n.months[0].firstDate,n.disabled,n._maxDate,n._minDate,n.months.length,"select"===n.navigation,n.showWeekNumbers)},function(t,e){t(e,0,0,!u["ɵnov"](e,1).showSelect)})}function o(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,1,"div",[["class","ngb-dp-month-name text-center"]],null,null,null,null,null)),(t()(),u["ɵted"](null,["\n "," ","\n "]))],null,function(t,e){t(e,1,0,e.component.i18n.getMonthFullName(e.parent.context.$implicit.number),e.parent.context.$implicit.year)})}function s(t){return u["ɵvid"](0,[(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,8,"div",[["class","ngb-dp-month d-block ml-3"]],null,null,null,null,null)),(t()(),u["ɵted"](null,[" \n "])),(t()(),u["ɵand"](16777216,null,null,1,null,o)),u["ɵdid"](16384,null,0,v.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,2,"ngb-datepicker-month-view",[["class","d-block"]],null,[[null,"select"]],function(t,e,n){var i=!0,r=t.component;if("select"===e){i=!1!==r.onDateSelect(n)&&i}return i},g.a,g.b)),u["ɵdid"](49152,null,0,y.a,[f.a],{dayTemplate:[0,"dayTemplate"],disabled:[1,"disabled"],month:[2,"month"],outsideDays:[3,"outsideDays"],selectedDate:[4,"selectedDate"],showWeekdays:[5,"showWeekdays"],showWeekNumbers:[6,"showWeekNumbers"]},{select:"select"}),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,4,0,"select"!==n.navigation||n.displayMonths>1),t(e,7,0,n.dayTemplate||u["ɵnov"](e.parent,1),n.disabled,e.context.$implicit,1===n.displayMonths?n.outsideDays:"hidden",n.model,n.showWeekdays,n.showWeekNumbers)},null)}function a(t){return u["ɵvid"](0,[(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵand"](0,[["dt",2]],null,0,null,i)),(t()(),u["ɵted"](null,["\n \n "])),(t()(),u["ɵeld"](0,null,null,4,"div",[["class","ngb-dp-header bg-faded pt-1 rounded-top"]],[[4,"height","rem"],[4,"marginBottom","rem"]],null,null,null,null)),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵand"](16777216,null,null,1,null,r)),u["ɵdid"](16384,null,0,v.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n\n "])),(t()(),u["ɵeld"](0,null,null,4,"div",[["class","ngb-dp-months d-flex px-1 pb-1"]],null,null,null,null,null)),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵand"](16777216,null,null,1,null,s)),u["ɵdid"](802816,null,0,v.NgForOf,[u.ViewContainerRef,u.TemplateRef,u.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,6,0,"none"!==n.navigation),t(e,12,0,n.months)},function(t,e){var n=e.component;t(e,3,0,n.getHeaderHeight(),0-n.getHeaderMargin())})}function l(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,3,"ngb-datepicker",[["class","d-inline-block rounded"]],null,null,null,w.b,w.c)),u["ɵprd"](5120,null,x.NG_VALUE_ACCESSOR,function(t){return[t]},[b.a]),u["ɵprd"](512,null,C.a,C.a,[m.a]),u["ɵdid"](638976,null,0,b.a,[C.a,m.a,f.a,S.a],null,null)],function(t,e){t(e,3,0)},null)}var u=n("3j3K"),c=n("Mn0/"),h=n("U6gI"),p=n("YDZ5"),d=n("3fcS"),f=n("gEbu"),m=n("lcaH"),v=n("2Je8"),g=n("4yvs"),y=n("5ZV5"),b=n("/KGk"),w=n("2NoN"),x=n("NVOs"),C=n("fAHw"),S=n("hwnt");n.d(e,"c",function(){return O}),e.b=a,n.d(e,"a",function(){return T});var k=["[_nghost-%COMP%] {\n border: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-header[_ngcontent-%COMP%] {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-month[_ngcontent-%COMP%] {\n pointer-events: none;\n }\n ngb-datepicker-month-view[_ngcontent-%COMP%] {\n pointer-events: auto;\n }\n .ngb-dp-month[_ngcontent-%COMP%]:first-child {\n margin-left: 0 !important;\n } \n .ngb-dp-month-name[_ngcontent-%COMP%] {\n font-size: larger;\n height: 2rem;\n line-height: 2rem;\n }"],O=u["ɵcrt"]({encapsulation:0,styles:k,data:{}}),T=u["ɵccf"]("ngb-datepicker",b.a,l,{dayTemplate:"dayTemplate",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",showWeekdays:"showWeekdays",showWeekNumbers:"showWeekNumbers",startDate:"startDate"},{navigate:"navigate"},[])},"2jZb":function(t,e,n){"use strict";function i(t){return this.lift(new s(t,this))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.count=i;var s=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.source))},t}(),a=function(t){function e(e,n,i){t.call(this,e),this.predicate=n,this.source=i,this.count=0,this.index=0}return r(e,t),e.prototype._next=function(t){this.predicate?this._tryPredicate(t):this.count++},e.prototype._tryPredicate=function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e&&this.count++},e.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},e}(o.Subscriber)},"2yGx":function(t,e,n){"use strict";function i(t){return parseInt(""+t,10)}function r(t){return void 0!==t&&null!==t?""+t:""}function o(t,e,n){return void 0===n&&(n=0),Math.max(Math.min(t,e),n)}function s(t){return"string"==typeof t}function a(t){return!isNaN(i(t))}function l(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}function u(t){return void 0!==t&&null!==t}function c(t){return a(t)?("0"+t).slice(-2):""}function h(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}e.b=i,e.d=r,e.e=o,e.f=s,e.a=a,e.i=l,e.h=u,e.c=c,e.g=h},"33Pm":function(t,e,n){"use strict";var i=n("0EZR");e.bindCallback=i.BoundCallbackObservable.create},"3eju":function(t,e,n){"use strict";var i=n("+Y2e");e.webSocket=i.WebSocketSubject.create},"3fcS":function(t,e,n){"use strict";var i=n("3j3K"),r=n("+Qf+"),o=n("gEbu"),s=n("lcaH");n.d(e,"a",function(){return a});var a=function(){function t(t,e){this.i18n=t,this._calendar=e,this.navigation=r.a,this.navigate=new i.EventEmitter,this.select=new i.EventEmitter}return t.prototype.doNavigate=function(t){this.navigate.emit(t)},t.prototype.nextDisabled=function(){return this.disabled||this.maxDate&&this._calendar.getNext(this.date,"m").after(this.maxDate)},t.prototype.prevDisabled=function(){var t=this._calendar.getPrev(this.date,"m");return this.disabled||this.minDate&&t.year<=this.minDate.year&&t.month<this.minDate.month},t.prototype.selectDate=function(t){this.select.emit(t)},t}();a.decorators=[{type:i.Component,args:[{selector:"ngb-datepicker-navigation",host:{class:"d-flex justify-content-between","[class.collapsed]":"!showSelect"},styles:["\n :host {\n height: 2rem;\n line-height: 1.85rem;\n }\n :host.collapsed {\n margin-bottom: -2rem; \n }\n .ngb-dp-navigation-chevron::before {\n border-style: solid;\n border-width: 0.2em 0.2em 0 0;\n content: '';\n display: inline-block;\n height: 0.75em;\n transform: rotate(-135deg);\n -webkit-transform: rotate(-135deg);\n -ms-transform: rotate(-135deg);\n width: 0.75em;\n margin: 0 0 0 0.5rem;\n } \n .ngb-dp-navigation-chevron.right:before {\n -webkit-transform: rotate(45deg);\n -ms-transform: rotate(45deg);\n transform: rotate(45deg);\n margin: 0 0.5rem 0 0;\n }\n .btn-link {\n cursor: pointer;\n outline: 0;\n }\n .btn-link[disabled] {\n cursor: not-allowed;\n opacity: .65;\n } \n "],template:'\n <button type="button" class="btn-link" (click)="!!doNavigate(navigation.PREV)" [disabled]="prevDisabled()">\n <span class="ngb-dp-navigation-chevron"></span> \n </button>\n \n <ngb-datepicker-navigation-select *ngIf="showSelect" class="d-block" [style.width.rem]="months * 9"\n [date]="date"\n [minDate]="minDate"\n [maxDate]="maxDate"\n [disabled] = "disabled"\n (select)="selectDate($event)">\n </ngb-datepicker-navigation-select>\n \n <button type="button" class="btn-link" (click)="!!doNavigate(navigation.NEXT)" [disabled]="nextDisabled()">\n <span class="ngb-dp-navigation-chevron right"></span>\n </button>\n '}]}],a.ctorParameters=function(){return[{type:o.a},{type:s.a}]},a.propDecorators={date:[{type:i.Input}],disabled:[{type:i.Input}],maxDate:[{type:i.Input}],minDate:[{type:i.Input}],months:[{type:i.Input}],showSelect:[{type:i.Input}],showWeekNumbers:[{type:i.Input}],navigate:[{type:i.Output}],select:[{type:i.Output}]}},"3kwk":function(t,e,n){"use strict";var i=n("3j3K"),r=n("CXHW");n.d(e,"a",function(){return o});var o=function(){function t(t,e,n){this._moduleCFR=t,this._injector=e,this._modalStack=n}return t.prototype.open=function(t,e){return void 0===e&&(e={}),this._modalStack.open(this._moduleCFR,this._injector,t,e)},t}();o.decorators=[{type:i.Injectable}],o.ctorParameters=function(){return[{type:i.ComponentFactoryResolver},{type:i.Injector},{type:r.a}]}},"48bo":function(t,e,n){"use strict";var i=n("rCTf"),r=n("Y3yw");i.Observable.prototype.race=r.race},"4Ie8":function(t,e,n){"use strict";var i=n("rCTf"),r=n("52Ty");i.Observable.prototype.publish=r.publish},"4yvs":function(t,e,n){"use strict";function i(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,0,"div",[["class","ngb-dp-weekday"]],null,null,null,null,null))],null,null)}function r(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,1,"div",[["class","ngb-dp-weekday small text-center text-info font-italic"]],null,null,null,null,null)),(t()(),f["ɵted"](null,["\n ","\n "]))],null,function(t,e){t(e,1,0,e.component.i18n.getWeekdayShortName(e.context.$implicit))})}function o(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,7,"div",[["class","ngb-dp-week d-flex"]],null,null,null,null,null)),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,i)),f["ɵdid"](16384,null,0,m.NgIf,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,r)),f["ɵdid"](802816,null,0,m.NgForOf,[f.ViewContainerRef,f.TemplateRef,f.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),f["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,3,0,n.showWeekNumbers),t(e,6,0,n.month.weekdays)},null)}function s(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,1,"div",[["class","ngb-dp-week-number small text-center font-italic text-muted"]],null,null,null,null,null)),(t()(),f["ɵted"](null,["",""]))],null,function(t,e){t(e,1,0,e.parent.parent.context.$implicit.number)})}function a(t){return f["ɵvid"](0,[(t()(),f["ɵted"](null,["\n "]))],null,null)}function l(t){return f["ɵvid"](0,[(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,3,null,a)),f["ɵdid"](540672,null,0,m.NgTemplateOutlet,[f.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"],ngOutletContext:[1,"ngOutletContext"]},null),f["ɵpod"](["year","month","day"]),f["ɵpod"](["date","currentMonth","disabled","selected"]),(t()(),f["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,2,0,n.dayTemplate,t(e,4,0,t(e,3,0,e.parent.context.$implicit.date.year,e.parent.context.$implicit.date.month,e.parent.context.$implicit.date.day),n.month.number,n.isDisabled(e.parent.context.$implicit),n.isSelected(e.parent.context.$implicit.date)))},null)}function u(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,4,"div",[["class","ngb-dp-day"]],[[2,"disabled",null],[2,"hidden",null]],[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.doSelect(t.context.$implicit)&&i}return i},null,null)),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,l)),f["ɵdid"](16384,null,0,m.NgIf,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),f["ɵted"](null,["\n "]))],function(t,e){t(e,3,0,!e.component.isHidden(e.context.$implicit))},function(t,e){var n=e.component;t(e,0,0,n.isDisabled(e.context.$implicit),n.isHidden(e.context.$implicit))})}function c(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,7,"div",[["class","ngb-dp-week d-flex"]],null,null,null,null,null)),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,s)),f["ɵdid"](16384,null,0,m.NgIf,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,u)),f["ɵdid"](802816,null,0,m.NgForOf,[f.ViewContainerRef,f.TemplateRef,f.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),f["ɵted"](null,["\n "]))],function(t,e){t(e,3,0,e.component.showWeekNumbers),t(e,6,0,e.parent.context.$implicit.days)},null)}function h(t){return f["ɵvid"](0,[(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,c)),f["ɵdid"](16384,null,0,m.NgIf,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),f["ɵted"](null,["\n "]))],function(t,e){t(e,2,0,!e.component.isCollapsed(e.context.$implicit))},null)}function p(t){return f["ɵvid"](0,[(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,o)),f["ɵdid"](16384,null,0,m.NgIf,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,h)),f["ɵdid"](802816,null,0,m.NgForOf,[f.ViewContainerRef,f.TemplateRef,f.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),f["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,2,0,n.showWeekdays),t(e,5,0,n.month.weeks)},null)}function d(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,1,"ngb-datepicker-month-view",[["class","d-block"]],null,null,null,g.a,g.b)),f["ɵdid"](49152,null,0,v.a,[y.a],null,null)],null,null)}var f=n("3j3K"),m=n("2Je8"),v=n("5ZV5"),g=n("4yvs"),y=n("gEbu");n.d(e,"b",function(){return w}),e.a=p;var b=[".ngb-dp-weekday[_ngcontent-%COMP%], .ngb-dp-week-number[_ngcontent-%COMP%] {\n line-height: 2rem;\n }\n .ngb-dp-day[_ngcontent-%COMP%], .ngb-dp-weekday[_ngcontent-%COMP%], .ngb-dp-week-number[_ngcontent-%COMP%] {\n width: 2rem;\n height: 2rem; \n }\n .ngb-dp-day[_ngcontent-%COMP%] {\n cursor: pointer;\n }\n .ngb-dp-day.disabled[_ngcontent-%COMP%], .ngb-dp-day.hidden[_ngcontent-%COMP%] {\n cursor: default;\n }"],w=f["ɵcrt"]({encapsulation:0,styles:b,data:{}});f["ɵccf"]("ngb-datepicker-month-view",v.a,d,{dayTemplate:"dayTemplate",disabled:"disabled",month:"month",outsideDays:"outsideDays",selectedDate:"selectedDate",showWeekdays:"showWeekdays",showWeekNumbers:"showWeekNumbers"},{select:"select"},[])},"52Ty":function(t,e,n){"use strict";function i(t){return t?o.multicast.call(this,function(){return new r.Subject},t):o.multicast.call(this,new r.Subject)}var r=n("EEr4"),o=n("emOw");e.publish=i},"5ZV5":function(t,e,n){"use strict";var i=n("3j3K"),r=n("hlt1"),o=n("gEbu");n.d(e,"a",function(){return s});var s=function(){function t(t){this.i18n=t,this.select=new i.EventEmitter}return t.prototype.doSelect=function(t){this.isDisabled(t)||this.isHidden(t)||this.select.emit(r.a.from(t.date))},t.prototype.isDisabled=function(t){return this.disabled||t.disabled},t.prototype.isSelected=function(t){return this.selectedDate&&this.selectedDate.equals(t)},t.prototype.isCollapsed=function(t){return"collapsed"===this.outsideDays&&t.days[0].date.month!==this.month.number&&t.days[t.days.length-1].date.month!==this.month.number},t.prototype.isHidden=function(t){return("hidden"===this.outsideDays||"collapsed"===this.outsideDays)&&this.month.number!==t.date.month},t}();s.decorators=[{type:i.Component,args:[{selector:"ngb-datepicker-month-view",host:{class:"d-block"},styles:["\n .ngb-dp-weekday, .ngb-dp-week-number {\n line-height: 2rem;\n }\n .ngb-dp-day, .ngb-dp-weekday, .ngb-dp-week-number {\n width: 2rem;\n height: 2rem; \n }\n .ngb-dp-day {\n cursor: pointer;\n }\n .ngb-dp-day.disabled, .ngb-dp-day.hidden {\n cursor: default;\n }\n "],template:'\n <div *ngIf="showWeekdays" class="ngb-dp-week d-flex">\n <div *ngIf="showWeekNumbers" class="ngb-dp-weekday"></div>\n <div *ngFor="let w of month.weekdays" class="ngb-dp-weekday small text-center text-info font-italic">\n {{ i18n.getWeekdayShortName(w) }}\n </div>\n </div>\n <ng-template ngFor let-week [ngForOf]="month.weeks">\n <div *ngIf="!isCollapsed(week)" class="ngb-dp-week d-flex">\n <div *ngIf="showWeekNumbers" class="ngb-dp-week-number small text-center font-italic text-muted">{{ week.number }}</div>\n <div *ngFor="let day of week.days" (click)="doSelect(day)" class="ngb-dp-day" [class.disabled]="isDisabled(day)"\n [class.hidden]="isHidden(day)">\n <ng-template [ngIf]="!isHidden(day)">\n <ng-template [ngTemplateOutlet]="dayTemplate"\n [ngOutletContext]="{date: {year: day.date.year, month: day.date.month, day: day.date.day},\n currentMonth: month.number,\n disabled: isDisabled(day),\n selected: isSelected(day.date)}">\n </ng-template>\n </ng-template>\n </div>\n </div>\n </ng-template>\n '}]}],s.ctorParameters=function(){return[{type:o.a}]},s.propDecorators={dayTemplate:[{type:i.Input}],disabled:[{type:i.Input}],month:[{type:i.Input}],outsideDays:[{type:i.Input}],selectedDate:[{type:i.Input}],showWeekdays:[{type:i.Input}],showWeekNumbers:[{type:i.Input}],select:[{type:i.Output}]}},"5c/I":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("EEr4"),o=n("B00U"),s=function(t){function e(){t.apply(this,arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}return i(e,t),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),o.Subscription.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),o.Subscription.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(r.Subject);e.AsyncSubject=s},"5cpg":function(t,e,n){"use strict";var i=n("Nr0j"),r=(n.n(i),n("x+30"));n.d(e,"a",function(){return s});var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.confirm=function(){var t=this,e=/^[A-Z]/;if(void 0==this.nombre||""==this.nombre)this.parent.notifService.error("Nombre de archivo invalido.");else if(e.test(this.nombre)){var n=new r.b;n.cedulaCreador=this.parent.authService.getUser().cedula,n.contenido="",n.nombre=this.nombre,n.directorio=!1,n.padreId=this.directorioActual.id,n.editable=!0,this.parent.haskellService.crearArchivo(n).subscribe(function(e){t.parent.archivo=e,t.parent.ghciService.loadFile(e.id),t.parent.sessionService.setArchivo(e)},function(e){t.parent.notifService.error(e)}),this.result=!0,this.close()}else this.parent.notifService.error("Nombre de archivo debe iniciar con mayusula.")},e.prototype.navToDir=function(t){t.directorio&&(this.directorioActual=t)},e.prototype.navBack=function(){var t=this.directorioActual.padreId,e=this.parent.sessionService.getArchivosList(),n=e.filter(function(e){return e.id===t})[0];this.directorioActual=n},e.ctorParameters=function(){return[{type:i.DialogService}]},e}(i.DialogComponent)},"5nj5":function(t,e,n){"use strict";var i=n("LhE+");e._if=i.IfObservable.create},"5pRa":function(t,e,n){"use strict";function i(t){return void 0===t&&(t=s.async),this.lift(new l(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("CGGv");e.timestamp=i;var a=function(){function t(t,e){this.value=t,this.timestamp=e}return t}();e.Timestamp=a;var l=function(){function t(t){this.scheduler=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.scheduler))},t}(),u=function(t){function e(e,n){t.call(this,e),this.scheduler=n}return r(e,t),e.prototype._next=function(t){var e=this.scheduler.now();this.destination.next(new a(t,e))},e}(o.Subscriber)},"5uzG":function(t,e,n){"use strict";var i=n("Fzro"),r=n("rCTf"),o=(n.n(r),n("+pb+")),s=(n.n(o),n("6Yye")),a=(n.n(s),n("mwbX"));n.d(e,"a",function(){return l});var l=function(){function t(t){this.http=t}return t.prototype.actualizarConfiguracion=function(t,e){var n=new i.l({"Content-Type":"application/json"}),r=new i.g({headers:n});return this.http.put(a.a+"/servicios/usuario/"+t+"/configuracion",e,r).map(this.extractData).catch(this.handleError)},t.prototype.extractData=function(t){return t.json()||[]},t.prototype.handleError=function(t){var e=t.message?t.message:t.status?t.status+" - "+t.statusText:"Server error";return console.error(e),r.Observable.throw(e)},t.ctorParameters=function(){return[{type:i.i}]},t}()},"62nT":function(t,e,n){"use strict";var i=n("3j3K"),r=n("2Je8"),o=n("OEcN"),s=n("tyH+");n.d(e,"a",function(){return a});var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();a.decorators=[{type:i.NgModule,args:[{declarations:[o.a],exports:[o.a],imports:[r.CommonModule]}]}],a.ctorParameters=function(){return[]}},"69uX":function(t,e,n){"use strict";function i(t,e){return this.lift(new l(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp"),a=n("Ou9t");e.distinct=i;var l=function(){function t(t,e){this.keySelector=t,this.flushes=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.keySelector,this.flushes))},t}(),u=function(t){function e(e,n,i){t.call(this,e),this.keySelector=n,this.values=new a.Set,i&&this.add(s.subscribeToResult(this,i))}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.values.clear()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},e.prototype._useKeySelector=function(t){var e,n=this.destination;try{e=this.keySelector(t)}catch(t){return void n.error(t)}this._finalizeNext(e,t)},e.prototype._finalizeNext=function(t,e){var n=this.values;n.has(t)||(n.add(t),this.destination.next(e))},e}(o.OuterSubscriber);e.DistinctSubscriber=u},"6Yye":function(t,e,n){"use strict";var i=n("rCTf"),r=n("+4ur");i.Observable.prototype.catch=r._catch,i.Observable.prototype._catch=r._catch},"6gFN":function(t,e,n){"use strict";var i=n("rCTf"),r=n("9oiU");i.Observable.prototype.mapTo=r.mapTo},"6hPP":function(t,e,n){"use strict";var i=n("rCTf"),r=n("t2Bb");i.Observable.prototype.sampleTime=r.sampleTime},"6s76":function(t,e,n){"use strict";var i=n("rCTf"),r=n("cJSH");i.Observable.prototype.groupBy=r.groupBy},"6uCv":function(t,e,n){"use strict";var i=n("3j3K"),r=n("c7mC");n.d(e,"b",function(){return o}),n.d(e,"a",function(){return s});var o=function(){function t(t){this._open=!1,this.openChange=new i.EventEmitter,this.up=t.up,this.autoClose=t.autoClose}return t.prototype.isOpen=function(){return this._open},t.prototype.open=function(){this._open||(this._open=!0,this.openChange.emit(!0))},t.prototype.close=function(){this._open&&(this._open=!1,this.openChange.emit(!1))},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype.closeFromOutsideClick=function(t){this.autoClose&&2!==t.button&&!this._isEventFromToggle(t)&&this.close()},t.prototype.closeFromOutsideEsc=function(){this.autoClose&&this.close()},Object.defineProperty(t.prototype,"toggleElement",{set:function(t){this._toggleElement=t},enumerable:!0,configurable:!0}),t.prototype._isEventFromToggle=function(t){return!!this._toggleElement&&this._toggleElement.contains(t.target)},t}();o.decorators=[{type:i.Directive,args:[{selector:"[ngbDropdown]",exportAs:"ngbDropdown",host:{"[class.dropdown]":"!up","[class.dropup]":"up","[class.show]":"isOpen()","(keyup.esc)":"closeFromOutsideEsc()","(document:click)":"closeFromOutsideClick($event)"}}]}],o.ctorParameters=function(){return[{type:r.a}]},o.propDecorators={up:[{type:i.Input}],autoClose:[{type:i.Input}],_open:[{type:i.Input,args:["open"]}],openChange:[{type:i.Output}]};var s=function(){function t(t,e){this.dropdown=t,t.toggleElement=e.nativeElement}return t.prototype.toggleOpen=function(){this.dropdown.toggle()},t}();s.decorators=[{type:i.Directive,args:[{selector:"[ngbDropdownToggle]",host:{class:"dropdown-toggle","aria-haspopup":"true","[attr.aria-expanded]":"dropdown.isOpen()","(click)":"toggleOpen()"}}]}],s.ctorParameters=function(){return[{type:o},{type:i.ElementRef}]}},7064:function(t,e,n){"use strict";var i=this&&this.__decorate||function(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},r=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var o=n("3j3K"),s=n("hz2l"),a=function(){function t(t,e){this.resolver=t,this.dialogService=e}return t.prototype.addComponent=function(t){var e=this.resolver.resolveComponentFactory(t),n=o.ReflectiveInjector.fromResolvedProviders([],this.element.injector),i=e.create(n);return this.element.insert(i.hostView),this.content=i.instance,this.content.wrapper=this,this.content},t.prototype.closeByClickOutside=function(){var t=this,e=this.container.nativeElement;e.querySelector(".modal-content").addEventListener("click",function(t){t.stopPropagation()}),e.addEventListener("click",function(){t.dialogService.removeDialog(t.content)},!1)},t}();i([o.ViewChild("element",{read:o.ViewContainerRef}),r("design:type",o.ViewContainerRef)],a.prototype,"element",void 0),i([o.ViewChild("container"),r("design:type",Object)],a.prototype,"container",void 0),a=i([o.Component({selector:"dialog-wrapper",template:'\n <div #container class="modal fade" style="display:block !important;" role="dialog">\n <template #element></template>\n </div>\n'}),r("design:paramtypes",[o.ComponentFactoryResolver,s.DialogService])],a),e.DialogWrapperComponent=a},"77/N":function(t,e,n){"use strict";var i=n("rCTf"),r=n("l19J");i.Observable.prototype.takeLast=r.takeLast},"7DGp":function(t,e,n){"use strict";var i=n("2yGx");n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s});var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(){function t(){}return t}(),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.parse=function(t){if(t){var e=t.trim().split("-");if(1===e.length&&n.i(i.a)(e[0]))return{year:n.i(i.b)(e[0]),month:null,day:null};if(2===e.length&&n.i(i.a)(e[0])&&n.i(i.a)(e[1]))return{year:n.i(i.b)(e[0]),month:n.i(i.b)(e[1]),day:null};if(3===e.length&&n.i(i.a)(e[0])&&n.i(i.a)(e[1])&&n.i(i.a)(e[2]))return{year:n.i(i.b)(e[0]),month:n.i(i.b)(e[1]),day:n.i(i.b)(e[2])}}return null},e.prototype.format=function(t){return t?t.year+"-"+(n.i(i.a)(t.month)?n.i(i.c)(t.month):"")+"-"+(n.i(i.a)(t.day)?n.i(i.c)(t.day):""):""},e}(o)},"7FaQ":function(t,e,n){"use strict";var i=n("rCTf"),r=n("Llwz");i.Observable.prototype.window=r.window},"7Gky":function(t,e,n){"use strict";function i(t,e){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=t,n.thisArg=e,n}e.not=i},"7axH":function(t,e,n){"use strict";var i=n("rCTf"),r=n("9PGs");i.Observable.prototype.toArray=r.toArray},"8+J1":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("3j3K"),r=n("Z+Ka"),o=n("7ldD"),s=n("2NoN"),a=n("xiEB"),l=n("SDm3"),u=n("jtp5"),c=n("h+Bk"),h=n("IiyU"),p=n("cpnk"),d=n("QRpj"),f=n("wFtq"),m=n("zfaK"),v=n("XvGV"),g=n("2Je8"),y=n("NVOs"),b=n("3kwk"),w=n("CXHW"),x=n("hz2l"),C=(n.n(x),n("5oXY")),S=n("eCJc"),k=n("RX2M"),O=n("M0cT"),T=n("/I96"),_=n("vfkA"),E=n("qsK9"),R=n("MSQt"),M=n("UyZi"),I=n("Ep2y"),P=n("WKBe"),A=n("1Z2I"),N=n("A8b0"),D=n("as+d"),j=n("62nT"),L=n("yDyO"),F=n("K/oD"),W=n("kzcK"),V=n("8R8C"),z=n("kd+i"),H=n("sY+1"),B=n("Tbgx"),U=n("GW10"),q=(n.n(U),n("YqEa")),Y=(n.n(q),n("sBjJ"));n.d(e,"MateFunModuleNgFactory",function(){return X});var X=i["ɵcmf"](r.a,[],function(t){return i["ɵmod"]([i["ɵmpd"](512,i.ComponentFactoryResolver,i["ɵCodegenComponentFactoryResolver"],[[8,[o.a,s.a,a.a,l.a,u.a,c.a,h.a,p.a,d.a,f.a,m.a,v.a]],[3,i.ComponentFactoryResolver],i.NgModuleRef]),i["ɵmpd"](4608,g.NgLocalization,g.NgLocaleLocalization,[i.LOCALE_ID]),i["ɵmpd"](4608,y["ɵi"],y["ɵi"],[]),i["ɵmpd"](4608,b.a,b.a,[i.ComponentFactoryResolver,i.Injector,w.a]),i["ɵmpd"](4608,x.DialogService,x.DialogService,[i.ComponentFactoryResolver,i.ApplicationRef,i.Injector,[2,x.DialogServiceConfig]]),i["ɵmpd"](512,g.CommonModule,g.CommonModule,[]),i["ɵmpd"](512,y["ɵba"],y["ɵba"],[]),i["ɵmpd"](512,y.FormsModule,y.FormsModule,[]),i["ɵmpd"](512,C.x,C.x,[[2,C.k],[2,C.c]]),i["ɵmpd"](512,S.a,S.a,[]),i["ɵmpd"](512,k.a,k.a,[]),i["ɵmpd"](512,O.a,O.a,[]),i["ɵmpd"](512,T.a,T.a,[]),i["ɵmpd"](512,_.a,_.a,[]),i["ɵmpd"](512,E.a,E.a,[]),i["ɵmpd"](512,R.a,R.a,[]),i["ɵmpd"](512,M.a,M.a,[]),i["ɵmpd"](512,I.a,I.a,[]),i["ɵmpd"](512,P.a,P.a,[]),i["ɵmpd"](512,A.a,A.a,[]),i["ɵmpd"](512,N.a,N.a,[]),i["ɵmpd"](512,D.a,D.a,[]),i["ɵmpd"](512,j.a,j.a,[]),i["ɵmpd"](512,L.a,L.a,[]),i["ɵmpd"](512,F.a,F.a,[]),i["ɵmpd"](512,W.b,W.b,[]),i["ɵmpd"](512,V.a,V.a,[]),i["ɵmpd"](512,z.a,z.a,[]),i["ɵmpd"](512,H.a,H.a,[]),i["ɵmpd"](512,B.a,B.a,[]),i["ɵmpd"](512,U.CodemirrorModule,U.CodemirrorModule,[]),i["ɵmpd"](512,q.BootstrapModalModule,q.BootstrapModalModule,[]),i["ɵmpd"](512,r.a,r.a,[]),i["ɵmpd"](1024,C.t,function(){return[[{path:"",component:Y.a}]]},[])])})},"8/gC":function(t,e,n){"use strict";var i=n("RYQg");e.zip=i.zipStatic},"8DDp":function(t,e,n){"use strict";function i(t,e,n){void 0===n&&(n=o.async);var i=s.isDate(t),r=i?+t-n.now():Math.abs(t);return this.lift(new u(r,i,e,n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("CGGv"),s=n("fuZx"),a=n("wAkD"),l=n("CURp");e.timeoutWith=i;var u=function(){function t(t,e,n,i){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=i}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),c=function(t){function e(e,n,i,r,o){t.call(this,e),this.absoluteTimeout=n,this.waitFor=i,this.withObservable=r,this.scheduler=o,this.action=null,this.scheduleTimeout()}return r(e,t),e.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add(l.subscribeToResult(t,e))},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},e}(a.OuterSubscriber)},"8MUz":function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return this.lift.call(r.apply(void 0,[this].concat(t)))}function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null,i=t;return s.isScheduler(i[t.length-1])&&(n=i.pop()),null===n&&1===t.length&&t[0]instanceof o.Observable?t[0]:new a.ArrayObservable(t,n).lift(new l.MergeAllOperator(1))}var o=n("rCTf"),s=n("fWbP"),a=n("Yh8Q"),l=n("cbuX");e.concat=i,e.concatStatic=r},"8R8C":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){}return t}()},"8T44":function(t,e,n){"use strict";function i(t){return this.lift(new c(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),s=n("+3eL"),a=n("WhVc"),l=n("wAkD"),u=n("CURp");e.repeatWhen=i;var c=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.notifier,e))},t}(),h=function(t){function e(e,n,i){t.call(this,e),this.notifier=n,this.source=i,this.sourceIsBeingSubscribedTo=!0}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries){if(this.retriesSubscription.closed)return t.prototype.complete.call(this)}else this.subscribeToRetries();this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this,e=t.notifications,n=t.retriesSubscription;e&&(e.unsubscribe(),this.notifications=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this,n=e.notifications,i=e.retries,r=e.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,t.prototype._unsubscribeAndRecycle.call(this),this.notifications=n,this.retries=i,this.retriesSubscription=r,this},e.prototype.subscribeToRetries=function(){this.notifications=new o.Subject;var e=s.tryCatch(this.notifier)(this.notifications);if(e===a.errorObject)return t.prototype.complete.call(this);this.retries=e,this.retriesSubscription=u.subscribeToResult(this,e)},e}(l.OuterSubscriber)},"8U58":function(t,e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t){return new RegExp("(^|\\s)"+t+"(?:$|\\s)\\s*")}function e(t){for(var e=t.childNodes.length;e>0;--e)t.removeChild(t.firstChild);return t}function n(t,n){return e(t).appendChild(n)}function i(t,e,n,i){var r=document.createElement(t);if(n&&(r.className=n),i&&(r.style.cssText=i),"string"==typeof e)r.appendChild(document.createTextNode(e));else if(e)for(var o=0;o<e.length;++o)r.appendChild(e[o]);return r}function r(t,e,n,r){var o=i(t,e,n,r);return o.setAttribute("role","presentation"),o}function o(t,e){if(3==e.nodeType&&(e=e.parentNode),t.contains)return t.contains(e);do{if(11==e.nodeType&&(e=e.host),e==t)return!0}while(e=e.parentNode)}function s(){var t;try{t=document.activeElement}catch(e){t=document.body||null}for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;return t}function a(e,n){var i=e.className;t(n).test(i)||(e.className+=(i?" ":"")+n)}function l(e,n){for(var i=e.split(" "),r=0;r<i.length;r++)i[r]&&!t(i[r]).test(n)&&(n+=" "+i[r]);return n}function u(t){var e=Array.prototype.slice.call(arguments,1);return function(){return t.apply(null,e)}}function c(t,e,n){e||(e={});for(var i in t)!t.hasOwnProperty(i)||!1===n&&e.hasOwnProperty(i)||(e[i]=t[i]);return e}function h(t,e,n,i,r){null==e&&-1==(e=t.search(/[^\s\u00a0]/))&&(e=t.length);for(var o=i||0,s=r||0;;){var a=t.indexOf("\t",o);if(a<0||a>=e)return s+(e-o);s+=a-o,s+=n-s%n,o=a+1}}function p(t,e){for(var n=0;n<t.length;++n)if(t[n]==e)return n;return-1}function d(t,e,n){for(var i=0,r=0;;){var o=t.indexOf("\t",i);-1==o&&(o=t.length);var s=o-i;if(o==t.length||r+s>=e)return i+Math.min(s,e-r);if(r+=o-i,r+=n-r%n,i=o+1,r>=e)return i}}function f(t){for(;Ns.length<=t;)Ns.push(m(Ns)+" ");return Ns[t]}function m(t){return t[t.length-1]}function v(t,e){for(var n=[],i=0;i<t.length;i++)n[i]=e(t[i],i);return n}function g(t,e,n){for(var i=0,r=n(e);i<t.length&&n(t[i])<=r;)i++;t.splice(i,0,e)}function y(){}function b(t,e){var n;return Object.create?n=Object.create(t):(y.prototype=t,n=new y),e&&c(e,n),n}function w(t){return/\w/.test(t)||t>"€"&&(t.toUpperCase()!=t.toLowerCase()||Ds.test(t))}function x(t,e){return e?!!(e.source.indexOf("\\w")>-1&&w(t))||e.test(t):w(t)}function C(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e])return!1;return!0}function S(t){return t.charCodeAt(0)>=768&&js.test(t)}function k(t,e,n){for(;(n<0?e>0:e<t.length)&&S(t.charAt(e));)e+=n;return e}function O(t,e,n){for(;;){if(Math.abs(e-n)<=1)return t(e)?e:n;var i=Math.floor((e+n)/2);t(i)?n=i:e=i}}function T(t,e,n){var o=this;this.input=n,o.scrollbarFiller=i("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=i("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=r("div",null,"CodeMirror-code"),o.selectionDiv=i("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=i("div",null,"CodeMirror-cursors"),o.measure=i("div",null,"CodeMirror-measure"),o.lineMeasure=i("div",null,"CodeMirror-measure"),o.lineSpace=r("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var s=r("div",[o.lineSpace],"CodeMirror-lines");o.mover=i("div",[s],null,"position: relative"),o.sizer=i("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=i("div",null,null,"position: absolute; height: "+Rs+"px; width: 1px;"),o.gutters=i("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=i("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=i("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),os&&ss<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),as||es&&vs||(o.scroller.draggable=!0),t&&(t.appendChild?t.appendChild(o.wrapper):t(o.wrapper)),o.viewFrom=o.viewTo=e.first,o.reportedViewFrom=o.reportedViewTo=e.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,n.init(o)}function _(t,e){if((e-=t.first)<0||e>=t.size)throw new Error("There is no line "+(e+t.first)+" in the document.");for(var n=t;!n.lines;)for(var i=0;;++i){var r=n.children[i],o=r.chunkSize();if(e<o){n=r;break}e-=o}return n.lines[e]}function E(t,e,n){var i=[],r=e.line;return t.iter(e.line,n.line+1,function(t){var o=t.text;r==n.line&&(o=o.slice(0,n.ch)),r==e.line&&(o=o.slice(e.ch)),i.push(o),++r}),i}function R(t,e,n){var i=[];return t.iter(e,n,function(t){i.push(t.text)}),i}function M(t,e){var n=e-t.height;if(n)for(var i=t;i;i=i.parent)i.height+=n}function I(t){if(null==t.parent)return null;for(var e=t.parent,n=p(e.lines,t),i=e.parent;i;e=i,i=i.parent)for(var r=0;i.children[r]!=e;++r)n+=i.children[r].chunkSize();return n+e.first}function P(t,e){var n=t.first;t:do{for(var i=0;i<t.children.length;++i){var r=t.children[i],o=r.height;if(e<o){t=r;continue t}e-=o,n+=r.chunkSize()}return n}while(!t.lines);for(var s=0;s<t.lines.length;++s){var a=t.lines[s],l=a.height;if(e<l)break;e-=l}return n+s}function A(t,e){return e>=t.first&&e<t.first+t.size}function N(t,e){return String(t.lineNumberFormatter(e+t.firstLineNumber))}function D(t,e,n){if(void 0===n&&(n=null),!(this instanceof D))return new D(t,e,n);this.line=t,this.ch=e,this.sticky=n}function j(t,e){return t.line-e.line||t.ch-e.ch}function L(t,e){return t.sticky==e.sticky&&0==j(t,e)}function F(t){return D(t.line,t.ch)}function W(t,e){return j(t,e)<0?e:t}function V(t,e){return j(t,e)<0?t:e}function z(t,e){return Math.max(t.first,Math.min(e,t.first+t.size-1))}function H(t,e){if(e.line<t.first)return D(t.first,0);var n=t.first+t.size-1;return e.line>n?D(n,_(t,n).text.length):B(e,_(t,e.line).text.length)}function B(t,e){var n=t.ch;return null==n||n>e?D(t.line,e):n<0?D(t.line,0):t}function U(t,e){for(var n=[],i=0;i<e.length;i++)n[i]=H(t,e[i]);return n}function q(){Ls=!0}function Y(){Fs=!0}function X(t,e,n){this.marker=t,this.from=e,this.to=n}function G(t,e){if(t)for(var n=0;n<t.length;++n){var i=t[n];if(i.marker==e)return i}}function K(t,e){for(var n,i=0;i<t.length;++i)t[i]!=e&&(n||(n=[])).push(t[i]);return n}function J(t,e){t.markedSpans=t.markedSpans?t.markedSpans.concat([e]):[e],e.marker.attachLine(t)}function Z(t,e,n){var i;if(t)for(var r=0;r<t.length;++r){var o=t[r],s=o.marker,a=null==o.from||(s.inclusiveLeft?o.from<=e:o.from<e);if(a||o.from==e&&"bookmark"==s.type&&(!n||!o.marker.insertLeft)){var l=null==o.to||(s.inclusiveRight?o.to>=e:o.to>e);(i||(i=[])).push(new X(s,o.from,l?null:o.to))}}return i}function $(t,e,n){var i;if(t)for(var r=0;r<t.length;++r){var o=t[r],s=o.marker,a=null==o.to||(s.inclusiveRight?o.to>=e:o.to>e);if(a||o.from==e&&"bookmark"==s.type&&(!n||o.marker.insertLeft)){var l=null==o.from||(s.inclusiveLeft?o.from<=e:o.from<e);(i||(i=[])).push(new X(s,l?null:o.from-e,null==o.to?null:o.to-e))}}return i}function Q(t,e){if(e.full)return null;var n=A(t,e.from.line)&&_(t,e.from.line).markedSpans,i=A(t,e.to.line)&&_(t,e.to.line).markedSpans;if(!n&&!i)return null;var r=e.from.ch,o=e.to.ch,s=0==j(e.from,e.to),a=Z(n,r,s),l=$(i,o,s),u=1==e.text.length,c=m(e.text).length+(u?r:0);if(a)for(var h=0;h<a.length;++h){var p=a[h];if(null==p.to){var d=G(l,p.marker);d?u&&(p.to=null==d.to?null:d.to+c):p.to=r}}if(l)for(var f=0;f<l.length;++f){var v=l[f];if(null!=v.to&&(v.to+=c),null==v.from){var g=G(a,v.marker);g||(v.from=c,u&&(a||(a=[])).push(v))}else v.from+=c,u&&(a||(a=[])).push(v)}a&&(a=tt(a)),l&&l!=a&&(l=tt(l));var y=[a];if(!u){var b,w=e.text.length-2;if(w>0&&a)for(var x=0;x<a.length;++x)null==a[x].to&&(b||(b=[])).push(new X(a[x].marker,null,null));for(var C=0;C<w;++C)y.push(b);y.push(l)}return y}function tt(t){for(var e=0;e<t.length;++e){var n=t[e];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&t.splice(e--,1)}return t.length?t:null}function et(t,e,n){var i=null;if(t.iter(e.line,n.line+1,function(t){if(t.markedSpans)for(var e=0;e<t.markedSpans.length;++e){var n=t.markedSpans[e].marker;!n.readOnly||i&&-1!=p(i,n)||(i||(i=[])).push(n)}}),!i)return null;for(var r=[{from:e,to:n}],o=0;o<i.length;++o)for(var s=i[o],a=s.find(0),l=0;l<r.length;++l){var u=r[l];if(!(j(u.to,a.from)<0||j(u.from,a.to)>0)){var c=[l,1],h=j(u.from,a.from),d=j(u.to,a.to);(h<0||!s.inclusiveLeft&&!h)&&c.push({from:u.from,to:a.from}),(d>0||!s.inclusiveRight&&!d)&&c.push({from:a.to,to:u.to}),r.splice.apply(r,c),l+=c.length-3}}return r}function nt(t){var e=t.markedSpans;if(e){for(var n=0;n<e.length;++n)e[n].marker.detachLine(t);t.markedSpans=null}}function it(t,e){if(e){for(var n=0;n<e.length;++n)e[n].marker.attachLine(t);t.markedSpans=e}}function rt(t){return t.inclusiveLeft?-1:0}function ot(t){return t.inclusiveRight?1:0}function st(t,e){var n=t.lines.length-e.lines.length;if(0!=n)return n;var i=t.find(),r=e.find(),o=j(i.from,r.from)||rt(t)-rt(e);if(o)return-o;var s=j(i.to,r.to)||ot(t)-ot(e);return s||e.id-t.id}function at(t,e){var n,i=Fs&&t.markedSpans;if(i)for(var r=void 0,o=0;o<i.length;++o)r=i[o],r.marker.collapsed&&null==(e?r.from:r.to)&&(!n||st(n,r.marker)<0)&&(n=r.marker);return n}function lt(t){return at(t,!0)}function ut(t){return at(t,!1)}function ct(t,e,n,i,r){var o=_(t,e),s=Fs&&o.markedSpans;if(s)for(var a=0;a<s.length;++a){var l=s[a];if(l.marker.collapsed){var u=l.marker.find(0),c=j(u.from,n)||rt(l.marker)-rt(r),h=j(u.to,i)||ot(l.marker)-ot(r);if(!(c>=0&&h<=0||c<=0&&h>=0)&&(c<=0&&(l.marker.inclusiveRight&&r.inclusiveLeft?j(u.to,n)>=0:j(u.to,n)>0)||c>=0&&(l.marker.inclusiveRight&&r.inclusiveLeft?j(u.from,i)<=0:j(u.from,i)<0)))return!0}}}function ht(t){for(var e;e=lt(t);)t=e.find(-1,!0).line;return t}function pt(t){for(var e;e=ut(t);)t=e.find(1,!0).line;return t}function dt(t){for(var e,n;e=ut(t);)t=e.find(1,!0).line,(n||(n=[])).push(t);return n}function ft(t,e){var n=_(t,e),i=ht(n);return n==i?e:I(i)}function mt(t,e){if(e>t.lastLine())return e;var n,i=_(t,e);if(!vt(t,i))return e;for(;n=ut(i);)i=n.find(1,!0).line;return I(i)+1}function vt(t,e){var n=Fs&&e.markedSpans;if(n)for(var i=void 0,r=0;r<n.length;++r)if(i=n[r],i.marker.collapsed){if(null==i.from)return!0;if(!i.marker.widgetNode&&0==i.from&&i.marker.inclusiveLeft&>(t,e,i))return!0}}function gt(t,e,n){if(null==n.to){var i=n.marker.find(1,!0);return gt(t,i.line,G(i.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==e.text.length)return!0;for(var r=void 0,o=0;o<e.markedSpans.length;++o)if(r=e.markedSpans[o],r.marker.collapsed&&!r.marker.widgetNode&&r.from==n.to&&(null==r.to||r.to!=n.from)&&(r.marker.inclusiveLeft||n.marker.inclusiveRight)&>(t,e,r))return!0}function yt(t){t=ht(t);for(var e=0,n=t.parent,i=0;i<n.lines.length;++i){var r=n.lines[i];if(r==t)break;e+=r.height}for(var o=n.parent;o;n=o,o=n.parent)for(var s=0;s<o.children.length;++s){var a=o.children[s];if(a==n)break;e+=a.height}return e}function bt(t){if(0==t.height)return 0;for(var e,n=t.text.length,i=t;e=lt(i);){var r=e.find(0,!0);i=r.from.line,n+=r.from.ch-r.to.ch}for(i=t;e=ut(i);){var o=e.find(0,!0);n-=i.text.length-o.from.ch,i=o.to.line,n+=i.text.length-o.to.ch}return n}function wt(t){var e=t.display,n=t.doc;e.maxLine=_(n,n.first),e.maxLineLength=bt(e.maxLine),e.maxLineChanged=!0,n.iter(function(t){var n=bt(t);n>e.maxLineLength&&(e.maxLineLength=n,e.maxLine=t)})}function xt(t,e,n,i){if(!t)return i(e,n,"ltr");for(var r=!1,o=0;o<t.length;++o){var s=t[o];(s.from<n&&s.to>e||e==n&&s.to==e)&&(i(Math.max(s.from,e),Math.min(s.to,n),1==s.level?"rtl":"ltr"),r=!0)}r||i(e,n,"ltr")}function Ct(t,e,n){var i;Ws=null;for(var r=0;r<t.length;++r){var o=t[r];if(o.from<e&&o.to>e)return r;o.to==e&&(o.from!=o.to&&"before"==n?i=r:Ws=r),o.from==e&&(o.from!=o.to&&"before"!=n?i=r:Ws=r)}return null!=i?i:Ws}function St(t,e){var n=t.order;return null==n&&(n=t.order=Vs(t.text,e)),n}function kt(t,e,n){var i=k(t.text,e+n,n);return i<0||i>t.text.length?null:i}function Ot(t,e,n){var i=kt(t,e.ch,n);return null==i?null:new D(e.line,i,n<0?"after":"before")}function Tt(t,e,n,i,r){if(t){var o=St(n,e.doc.direction);if(o){var s,a=r<0?m(o):o[0],l=r<0==(1==a.level),u=l?"after":"before";if(a.level>0){var c=Je(e,n);s=r<0?n.text.length-1:0;var h=Ze(e,c,s).top;s=O(function(t){return Ze(e,c,t).top==h},r<0==(1==a.level)?a.from:a.to-1,s),"before"==u&&(s=kt(n,s,1))}else s=r<0?a.to:a.from;return new D(i,s,u)}}return new D(i,r<0?n.text.length:0,r<0?"before":"after")}function _t(t,e,n,i){var r=St(e,t.doc.direction);if(!r)return Ot(e,n,i);n.ch>=e.text.length?(n.ch=e.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=Ct(r,n.ch,n.sticky),s=r[o];if("ltr"==t.doc.direction&&s.level%2==0&&(i>0?s.to>n.ch:s.from<n.ch))return Ot(e,n,i);var a,l=function(t,n){return kt(e,t instanceof D?t.ch:t,n)},u=function(n){return t.options.lineWrapping?(a=a||Je(t,e),vn(t,e,a,n)):{begin:0,end:e.text.length}},c=u("before"==n.sticky?l(n,-1):n.ch);if("rtl"==t.doc.direction||1==s.level){var h=1==s.level==i<0,p=l(n,h?1:-1);if(null!=p&&(h?p<=s.to&&p<=c.end:p>=s.from&&p>=c.begin)){var d=h?"before":"after";return new D(n.line,p,d)}}var f=function(t,e,i){for(var o=function(t,e){return e?new D(n.line,l(t,1),"before"):new D(n.line,t,"after")};t>=0&&t<r.length;t+=e){var s=r[t],a=e>0==(1!=s.level),u=a?i.begin:l(i.end,-1);if(s.from<=u&&u<s.to)return o(u,a);if(u=a?s.from:l(s.to,-1),i.begin<=u&&u<i.end)return o(u,a)}},m=f(o+i,i,c);if(m)return m;var v=i>0?c.end:l(c.begin,-1);return null==v||i>0&&v==e.text.length||!(m=f(i>0?0:r.length-1,i,u(v)))?null:m}function Et(t,e){return t._handlers&&t._handlers[e]||zs}function Rt(t,e,n){if(t.removeEventListener)t.removeEventListener(e,n,!1);else if(t.detachEvent)t.detachEvent("on"+e,n);else{var i=t._handlers,r=i&&i[e];if(r){var o=p(r,n);o>-1&&(i[e]=r.slice(0,o).concat(r.slice(o+1)))}}}function Mt(t,e){var n=Et(t,e);if(n.length)for(var i=Array.prototype.slice.call(arguments,2),r=0;r<n.length;++r)n[r].apply(null,i)}function It(t,e,n){return"string"==typeof e&&(e={type:e,preventDefault:function(){this.defaultPrevented=!0}}),Mt(t,n||e.type,t,e),Lt(e)||e.codemirrorIgnore}function Pt(t){var e=t._handlers&&t._handlers.cursorActivity;if(e)for(var n=t.curOp.cursorActivityHandlers||(t.curOp.cursorActivityHandlers=[]),i=0;i<e.length;++i)-1==p(n,e[i])&&n.push(e[i])}function At(t,e){return Et(t,e).length>0}function Nt(t){t.prototype.on=function(t,e){Hs(this,t,e)},t.prototype.off=function(t,e){Rt(this,t,e)}}function Dt(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function jt(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}function Lt(t){return null!=t.defaultPrevented?t.defaultPrevented:0==t.returnValue}function Ft(t){Dt(t),jt(t)}function Wt(t){return t.target||t.srcElement}function Vt(t){var e=t.which;return null==e&&(1&t.button?e=1:2&t.button?e=3:4&t.button&&(e=2)),gs&&t.ctrlKey&&1==e&&(e=3),e}function zt(t){if(null==_s){var e=i("span","​");n(t,i("span",[e,document.createTextNode("x")])),0!=t.firstChild.offsetHeight&&(_s=e.offsetWidth<=1&&e.offsetHeight>2&&!(os&&ss<8))}var r=_s?i("span","​"):i("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return r.setAttribute("cm-text",""),r}function Ht(t){if(null!=Es)return Es;var i=n(t,document.createTextNode("AØ®A")),r=xs(i,0,1).getBoundingClientRect(),o=xs(i,1,2).getBoundingClientRect();return e(t),!(!r||r.left==r.right)&&(Es=o.right-r.right<3)}function Bt(t){if(null!=Xs)return Xs;var e=n(t,i("span","x")),r=e.getBoundingClientRect(),o=xs(e,0,1).getBoundingClientRect();return Xs=Math.abs(r.left-o.left)>1}function Ut(t,e){arguments.length>2&&(e.dependencies=Array.prototype.slice.call(arguments,2)),Gs[t]=e}function qt(t,e){Ks[t]=e}function Yt(t){if("string"==typeof t&&Ks.hasOwnProperty(t))t=Ks[t];else if(t&&"string"==typeof t.name&&Ks.hasOwnProperty(t.name)){var e=Ks[t.name];"string"==typeof e&&(e={name:e}),t=b(e,t),t.name=e.name}else{if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+xml$/.test(t))return Yt("application/xml");if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+json$/.test(t))return Yt("application/json")}return"string"==typeof t?{name:t}:t||{name:"null"}}function Xt(t,e){e=Yt(e);var n=Gs[e.name];if(!n)return Xt(t,"text/plain");var i=n(t,e);if(Js.hasOwnProperty(e.name)){var r=Js[e.name];for(var o in r)r.hasOwnProperty(o)&&(i.hasOwnProperty(o)&&(i["_"+o]=i[o]),i[o]=r[o])}if(i.name=e.name,e.helperType&&(i.helperType=e.helperType),e.modeProps)for(var s in e.modeProps)i[s]=e.modeProps[s];return i}function Gt(t,e){c(e,Js.hasOwnProperty(t)?Js[t]:Js[t]={})}function Kt(t,e){if(!0===e)return e;if(t.copyState)return t.copyState(e);var n={};for(var i in e){var r=e[i];r instanceof Array&&(r=r.concat([])),n[i]=r}return n}function Jt(t,e){for(var n;t.innerMode&&(n=t.innerMode(e))&&n.mode!=t;)e=n.state,t=n.mode;return n||{mode:t,state:e}}function Zt(t,e,n){return!t.startState||t.startState(e,n)}function $t(t,e,n,i){var r=[t.state.modeGen],o={};se(t,e.text,t.doc.mode,n,function(t,e){return r.push(t,e)},o,i);for(var s=function(n){var i=t.state.overlays[n],s=1,a=0;se(t,e.text,i.mode,!0,function(t,e){for(var n=s;a<t;){var o=r[s];o>t&&r.splice(s,1,t,r[s+1],o),s+=2,a=Math.min(t,o)}if(e)if(i.opaque)r.splice(n,s-n,t,"overlay "+e),s=n+2;else for(;n<s;n+=2){var l=r[n+1];r[n+1]=(l?l+" ":"")+"overlay "+e}},o)},a=0;a<t.state.overlays.length;++a)s(a);return{styles:r,classes:o.bgClass||o.textClass?o:null}}function Qt(t,e,n){if(!e.styles||e.styles[0]!=t.state.modeGen){var i=te(t,I(e)),r=$t(t,e,e.text.length>t.options.maxHighlightLength?Kt(t.doc.mode,i):i);e.stateAfter=i,e.styles=r.styles,r.classes?e.styleClasses=r.classes:e.styleClasses&&(e.styleClasses=null),n===t.doc.frontier&&t.doc.frontier++}return e.styles}function te(t,e,n){var i=t.doc,r=t.display;if(!i.mode.startState)return!0;var o=ae(t,e,n),s=o>i.first&&_(i,o-1).stateAfter;return s=s?Kt(i.mode,s):Zt(i.mode),i.iter(o,e,function(n){ee(t,n.text,s);var a=o==e-1||o%5==0||o>=r.viewFrom&&o<r.viewTo;n.stateAfter=a?Kt(i.mode,s):null,++o}),n&&(i.frontier=o),s}function ee(t,e,n,i){var r=t.doc.mode,o=new Zs(e,t.options.tabSize);for(o.start=o.pos=i||0,""==e&&ne(r,n);!o.eol();)ie(r,o,n),o.start=o.pos}function ne(t,e){if(t.blankLine)return t.blankLine(e);if(t.innerMode){var n=Jt(t,e);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function ie(t,e,n,i){for(var r=0;r<10;r++){i&&(i[0]=Jt(t,n).mode);var o=t.token(e,n);if(e.pos>e.start)return o}throw new Error("Mode "+t.name+" failed to advance stream.")}function re(t,e,n,i){var r,o=function(t){return{start:h.start,end:h.pos,string:h.current(),type:r||null,state:t?Kt(s.mode,c):c}},s=t.doc,a=s.mode;e=H(s,e);var l,u=_(s,e.line),c=te(t,e.line,n),h=new Zs(u.text,t.options.tabSize);for(i&&(l=[]);(i||h.pos<e.ch)&&!h.eol();)h.start=h.pos,r=ie(a,h,c),i&&l.push(o(!0));return i?l:o()}function oe(t,e){if(t)for(;;){var n=t.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;t=t.slice(0,n.index)+t.slice(n.index+n[0].length);var i=n[1]?"bgClass":"textClass";null==e[i]?e[i]=n[2]:new RegExp("(?:^|s)"+n[2]+"(?:$|s)").test(e[i])||(e[i]+=" "+n[2])}return t}function se(t,e,n,i,r,o,s){var a=n.flattenSpans;null==a&&(a=t.options.flattenSpans);var l,u=0,c=null,h=new Zs(e,t.options.tabSize),p=t.options.addModeClass&&[null];for(""==e&&oe(ne(n,i),o);!h.eol();){if(h.pos>t.options.maxHighlightLength?(a=!1,s&&ee(t,e,i,h.pos),h.pos=e.length,l=null):l=oe(ie(n,h,i,p),o),p){var d=p[0].name;d&&(l="m-"+(l?d+" "+l:d))}if(!a||c!=l){for(;u<h.start;)u=Math.min(h.start,u+5e3),r(u,c);c=l}h.start=h.pos}for(;u<h.pos;){var f=Math.min(h.pos,u+5e3);r(f,c),u=f}}function ae(t,e,n){for(var i,r,o=t.doc,s=n?-1:e-(t.doc.mode.innerMode?1e3:100),a=e;a>s;--a){if(a<=o.first)return o.first;var l=_(o,a-1);if(l.stateAfter&&(!n||a<=o.frontier))return a;var u=h(l.text,null,t.options.tabSize);(null==r||i>u)&&(r=a-1,i=u)}return r}function le(t,e,n,i){t.text=e,t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null),null!=t.order&&(t.order=null),nt(t),it(t,n);var r=i?i(t):1;r!=t.height&&M(t,r)}function ue(t){t.parent=null,nt(t)}function ce(t,e){if(!t||/^\s*$/.test(t))return null;var n=e.addModeClass?ea:ta;return n[t]||(n[t]=t.replace(/\S+/g,"cm-$&"))}function he(t,e){var n=r("span",null,null,as?"padding-right: .1px":null),i={pre:r("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:t,trailingSpace:!1,splitSpaces:(os||as)&&t.getOption("lineWrapping")};e.measure={};for(var o=0;o<=(e.rest?e.rest.length:0);o++){var s=o?e.rest[o-1]:e.line,a=void 0;i.pos=0,i.addToken=de,Ht(t.display.measure)&&(a=St(s,t.doc.direction))&&(i.addToken=me(i.addToken,a)),i.map=[];ge(s,i,Qt(t,s,e!=t.display.externalMeasured&&I(s))),s.styleClasses&&(s.styleClasses.bgClass&&(i.bgClass=l(s.styleClasses.bgClass,i.bgClass||"")),s.styleClasses.textClass&&(i.textClass=l(s.styleClasses.textClass,i.textClass||""))),0==i.map.length&&i.map.push(0,0,i.content.appendChild(zt(t.display.measure))),0==o?(e.measure.map=i.map,e.measure.cache={}):((e.measure.maps||(e.measure.maps=[])).push(i.map),(e.measure.caches||(e.measure.caches=[])).push({}))}if(as){var u=i.content.lastChild;(/\bcm-tab\b/.test(u.className)||u.querySelector&&u.querySelector(".cm-tab"))&&(i.content.className="cm-tab-wrap-hack")}return Mt(t,"renderLine",t,e.line,i.pre),i.pre.className&&(i.textClass=l(i.pre.className,i.textClass||"")),i}function pe(t){var e=i("span","•","cm-invalidchar");return e.title="\\u"+t.charCodeAt(0).toString(16),e.setAttribute("aria-label",e.title),e}function de(t,e,n,r,o,s,a){if(e){var l,u=t.splitSpaces?fe(e,t.trailingSpace):e,c=t.cm.state.specialChars,h=!1;if(c.test(e)){l=document.createDocumentFragment();for(var p=0;;){c.lastIndex=p;var d=c.exec(e),m=d?d.index-p:e.length-p;if(m){var v=document.createTextNode(u.slice(p,p+m));os&&ss<9?l.appendChild(i("span",[v])):l.appendChild(v),t.map.push(t.pos,t.pos+m,v),t.col+=m,t.pos+=m}if(!d)break;p+=m+1;var g=void 0;if("\t"==d[0]){var y=t.cm.options.tabSize,b=y-t.col%y;g=l.appendChild(i("span",f(b),"cm-tab")),g.setAttribute("role","presentation"),g.setAttribute("cm-text","\t"),t.col+=b}else"\r"==d[0]||"\n"==d[0]?(g=l.appendChild(i("span","\r"==d[0]?"â":"â¤","cm-invalidchar")),g.setAttribute("cm-text",d[0]),t.col+=1):(g=t.cm.options.specialCharPlaceholder(d[0]),g.setAttribute("cm-text",d[0]),os&&ss<9?l.appendChild(i("span",[g])):l.appendChild(g),t.col+=1);t.map.push(t.pos,t.pos+1,g),t.pos++}}else t.col+=e.length,l=document.createTextNode(u),t.map.push(t.pos,t.pos+e.length,l),os&&ss<9&&(h=!0),t.pos+=e.length;if(t.trailingSpace=32==u.charCodeAt(e.length-1),n||r||o||h||a){var w=n||"";r&&(w+=r),o&&(w+=o);var x=i("span",[l],w,a);return s&&(x.title=s),t.content.appendChild(x)}t.content.appendChild(l)}}function fe(t,e){if(t.length>1&&!/ /.test(t))return t;for(var n=e,i="",r=0;r<t.length;r++){var o=t.charAt(r);" "!=o||!n||r!=t.length-1&&32!=t.charCodeAt(r+1)||(o=" "),i+=o,n=" "==o}return i}function me(t,e){return function(n,i,r,o,s,a,l){r=r?r+" cm-force-border":"cm-force-border";for(var u=n.pos,c=u+i.length;;){for(var h=void 0,p=0;p<e.length&&(h=e[p],!(h.to>u&&h.from<=u));p++);if(h.to>=c)return t(n,i,r,o,s,a,l);t(n,i.slice(0,h.to-u),r,o,null,a,l),o=null,i=i.slice(h.to-u),u=h.to}}}function ve(t,e,n,i){var r=!i&&n.widgetNode;r&&t.map.push(t.pos,t.pos+e,r),!i&&t.cm.display.input.needsContentAttribute&&(r||(r=t.content.appendChild(document.createElement("span"))),r.setAttribute("cm-marker",n.id)),r&&(t.cm.display.input.setUneditable(r),t.content.appendChild(r)),t.pos+=e,t.trailingSpace=!1}function ge(t,e,n){var i=t.markedSpans,r=t.text,o=0;if(i)for(var s,a,l,u,c,h,p,d=r.length,f=0,m=1,v="",g=0;;){if(g==f){l=u=c=h=a="",p=null,g=1/0;for(var y=[],b=void 0,w=0;w<i.length;++w){var x=i[w],C=x.marker;"bookmark"==C.type&&x.from==f&&C.widgetNode?y.push(C):x.from<=f&&(null==x.to||x.to>f||C.collapsed&&x.to==f&&x.from==f)?(null!=x.to&&x.to!=f&&g>x.to&&(g=x.to,u=""),C.className&&(l+=" "+C.className),C.css&&(a=(a?a+";":"")+C.css),C.startStyle&&x.from==f&&(c+=" "+C.startStyle),C.endStyle&&x.to==g&&(b||(b=[])).push(C.endStyle,x.to),C.title&&!h&&(h=C.title),C.collapsed&&(!p||st(p.marker,C)<0)&&(p=x)):x.from>f&&g>x.from&&(g=x.from)}if(b)for(var S=0;S<b.length;S+=2)b[S+1]==g&&(u+=" "+b[S]);if(!p||p.from==f)for(var k=0;k<y.length;++k)ve(e,0,y[k]);if(p&&(p.from||0)==f){if(ve(e,(null==p.to?d+1:p.to)-f,p.marker,null==p.from),null==p.to)return;p.to==f&&(p=!1)}}if(f>=d)break;for(var O=Math.min(d,g);;){if(v){var T=f+v.length;if(!p){var _=T>O?v.slice(0,O-f):v;e.addToken(e,_,s?s+l:l,c,f+_.length==g?u:"",h,a)}if(T>=O){v=v.slice(O-f),f=O;break}f=T,c=""}v=r.slice(o,o=n[m++]),s=ce(n[m++],e.cm.options)}}else for(var E=1;E<n.length;E+=2)e.addToken(e,r.slice(o,o=n[E]),ce(n[E+1],e.cm.options))}function ye(t,e,n){this.line=e,this.rest=dt(e),this.size=this.rest?I(m(this.rest))-n+1:1,this.node=this.text=null,this.hidden=vt(t,e)}function be(t,e,n){for(var i,r=[],o=e;o<n;o=i){var s=new ye(t.doc,_(t.doc,o),o);i=o+s.size,r.push(s)}return r}function we(t){na?na.ops.push(t):t.ownsGroup=na={ops:[t],delayedCallbacks:[]}}function xe(t){var e=t.delayedCallbacks,n=0;do{for(;n<e.length;n++)e[n].call(null);for(var i=0;i<t.ops.length;i++){var r=t.ops[i];if(r.cursorActivityHandlers)for(;r.cursorActivityCalled<r.cursorActivityHandlers.length;)r.cursorActivityHandlers[r.cursorActivityCalled++].call(null,r.cm)}}while(n<e.length)}function Ce(t,e){var n=t.ownsGroup;if(n)try{xe(n)}finally{na=null,e(n)}}function Se(t,e){var n=Et(t,e);if(n.length){var i,r=Array.prototype.slice.call(arguments,2);na?i=na.delayedCallbacks:ia?i=ia:(i=ia=[],setTimeout(ke,0));for(var o=function(t){i.push(function(){return n[t].apply(null,r)})},s=0;s<n.length;++s)o(s)}}function ke(){var t=ia;ia=null;for(var e=0;e<t.length;++e)t[e]()}function Oe(t,e,n,i){for(var r=0;r<e.changes.length;r++){var o=e.changes[r];"text"==o?Re(t,e):"gutter"==o?Ie(t,e,n,i):"class"==o?Me(t,e):"widget"==o&&Pe(t,e,i)}e.changes=null}function Te(t){return t.node==t.text&&(t.node=i("div",null,null,"position: relative"),t.text.parentNode&&t.text.parentNode.replaceChild(t.node,t.text),t.node.appendChild(t.text),os&&ss<8&&(t.node.style.zIndex=2)),t.node}function _e(t,e){var n=e.bgClass?e.bgClass+" "+(e.line.bgClass||""):e.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),e.background)n?e.background.className=n:(e.background.parentNode.removeChild(e.background),e.background=null);else if(n){var r=Te(e);e.background=r.insertBefore(i("div",null,n),r.firstChild),t.display.input.setUneditable(e.background)}}function Ee(t,e){var n=t.display.externalMeasured;return n&&n.line==e.line?(t.display.externalMeasured=null,e.measure=n.measure,n.built):he(t,e)}function Re(t,e){var n=e.text.className,i=Ee(t,e);e.text==e.node&&(e.node=i.pre),e.text.parentNode.replaceChild(i.pre,e.text),e.text=i.pre,i.bgClass!=e.bgClass||i.textClass!=e.textClass?(e.bgClass=i.bgClass,e.textClass=i.textClass,Me(t,e)):n&&(e.text.className=n)}function Me(t,e){_e(t,e),e.line.wrapClass?Te(e).className=e.line.wrapClass:e.node!=e.text&&(e.node.className="");var n=e.textClass?e.textClass+" "+(e.line.textClass||""):e.line.textClass;e.text.className=n||""}function Ie(t,e,n,r){if(e.gutter&&(e.node.removeChild(e.gutter),e.gutter=null),e.gutterBackground&&(e.node.removeChild(e.gutterBackground),e.gutterBackground=null),e.line.gutterClass){var o=Te(e);e.gutterBackground=i("div",null,"CodeMirror-gutter-background "+e.line.gutterClass,"left: "+(t.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),t.display.input.setUneditable(e.gutterBackground),o.insertBefore(e.gutterBackground,e.text)}var s=e.line.gutterMarkers;if(t.options.lineNumbers||s){var a=Te(e),l=e.gutter=i("div",null,"CodeMirror-gutter-wrapper","left: "+(t.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(t.display.input.setUneditable(l),a.insertBefore(l,e.text),e.line.gutterClass&&(l.className+=" "+e.line.gutterClass),!t.options.lineNumbers||s&&s["CodeMirror-linenumbers"]||(e.lineNumber=l.appendChild(i("div",N(t.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+t.display.lineNumInnerWidth+"px"))),s)for(var u=0;u<t.options.gutters.length;++u){var c=t.options.gutters[u],h=s.hasOwnProperty(c)&&s[c];h&&l.appendChild(i("div",[h],"CodeMirror-gutter-elt","left: "+r.gutterLeft[c]+"px; width: "+r.gutterWidth[c]+"px"))}}}function Pe(t,e,n){e.alignable&&(e.alignable=null);for(var i=e.node.firstChild,r=void 0;i;i=r)r=i.nextSibling,"CodeMirror-linewidget"==i.className&&e.node.removeChild(i);Ne(t,e,n)}function Ae(t,e,n,i){var r=Ee(t,e);return e.text=e.node=r.pre,r.bgClass&&(e.bgClass=r.bgClass),r.textClass&&(e.textClass=r.textClass),Me(t,e),Ie(t,e,n,i),Ne(t,e,i),e.node}function Ne(t,e,n){if(De(t,e.line,e,n,!0),e.rest)for(var i=0;i<e.rest.length;i++)De(t,e.rest[i],e,n,!1)}function De(t,e,n,r,o){if(e.widgets)for(var s=Te(n),a=0,l=e.widgets;a<l.length;++a){var u=l[a],c=i("div",[u.node],"CodeMirror-linewidget");u.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),je(u,c,n,r),t.display.input.setUneditable(c),o&&u.above?s.insertBefore(c,n.gutter||n.text):s.appendChild(c),Se(u,"redraw")}}function je(t,e,n,i){if(t.noHScroll){(n.alignable||(n.alignable=[])).push(e);var r=i.wrapperWidth;e.style.left=i.fixedPos+"px",t.coverGutter||(r-=i.gutterTotalWidth,e.style.paddingLeft=i.gutterTotalWidth+"px"),e.style.width=r+"px"}t.coverGutter&&(e.style.zIndex=5,e.style.position="relative",t.noHScroll||(e.style.marginLeft=-i.gutterTotalWidth+"px"))}function Le(t){if(null!=t.height)return t.height;var e=t.doc.cm;if(!e)return 0;if(!o(document.body,t.node)){var r="position: relative;";t.coverGutter&&(r+="margin-left: -"+e.display.gutters.offsetWidth+"px;"),t.noHScroll&&(r+="width: "+e.display.wrapper.clientWidth+"px;"),n(e.display.measure,i("div",[t.node],null,r))}return t.height=t.node.parentNode.offsetHeight}function Fe(t,e){for(var n=Wt(e);n!=t.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==t.sizer&&n!=t.mover)return!0}function We(t){return t.lineSpace.offsetTop}function Ve(t){return t.mover.offsetHeight-t.lineSpace.offsetHeight}function ze(t){if(t.cachedPaddingH)return t.cachedPaddingH;var e=n(t.measure,i("pre","x")),r=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,o={left:parseInt(r.paddingLeft),right:parseInt(r.paddingRight)};return isNaN(o.left)||isNaN(o.right)||(t.cachedPaddingH=o),o}function He(t){return Rs-t.display.nativeBarWidth}function Be(t){return t.display.scroller.clientWidth-He(t)-t.display.barWidth}function Ue(t){return t.display.scroller.clientHeight-He(t)-t.display.barHeight}function qe(t,e,n){var i=t.options.lineWrapping,r=i&&Be(t);if(!e.measure.heights||i&&e.measure.width!=r){var o=e.measure.heights=[];if(i){e.measure.width=r;for(var s=e.text.firstChild.getClientRects(),a=0;a<s.length-1;a++){var l=s[a],u=s[a+1];Math.abs(l.bottom-u.bottom)>2&&o.push((l.bottom+u.top)/2-n.top)}}o.push(n.bottom-n.top)}}function Ye(t,e,n){if(t.line==e)return{map:t.measure.map,cache:t.measure.cache};for(var i=0;i<t.rest.length;i++)if(t.rest[i]==e)return{map:t.measure.maps[i],cache:t.measure.caches[i]};for(var r=0;r<t.rest.length;r++)if(I(t.rest[r])>n)return{map:t.measure.maps[r],cache:t.measure.caches[r],before:!0}}function Xe(t,e){e=ht(e);var i=I(e),r=t.display.externalMeasured=new ye(t.doc,e,i);r.lineN=i;var o=r.built=he(t,r);return r.text=o.pre,n(t.display.lineMeasure,o.pre),r}function Ge(t,e,n,i){return Ze(t,Je(t,e),n,i)}function Ke(t,e){if(e>=t.display.viewFrom&&e<t.display.viewTo)return t.display.view[On(t,e)];var n=t.display.externalMeasured;return n&&e>=n.lineN&&e<n.lineN+n.size?n:void 0}function Je(t,e){var n=I(e),i=Ke(t,n);i&&!i.text?i=null:i&&i.changes&&(Oe(t,i,n,wn(t)),t.curOp.forceUpdate=!0),i||(i=Xe(t,e));var r=Ye(i,e,n);return{line:e,view:i,rect:null,map:r.map,cache:r.cache,before:r.before,hasHeights:!1}}function Ze(t,e,n,i,r){e.before&&(n=-1);var o,s=n+(i||"");return e.cache.hasOwnProperty(s)?o=e.cache[s]:(e.rect||(e.rect=e.view.text.getBoundingClientRect()),e.hasHeights||(qe(t,e.view,e.rect),e.hasHeights=!0),o=tn(t,e,n,i),o.bogus||(e.cache[s]=o)),{left:o.left,right:o.right,top:r?o.rtop:o.top,bottom:r?o.rbottom:o.bottom}}function $e(t,e,n){for(var i,r,o,s,a,l,u=0;u<t.length;u+=3)if(a=t[u],l=t[u+1],e<a?(r=0,o=1,s="left"):e<l?(r=e-a,o=r+1):(u==t.length-3||e==l&&t[u+3]>e)&&(o=l-a,r=o-1,e>=l&&(s="right")),null!=r){if(i=t[u+2],a==l&&n==(i.insertLeft?"left":"right")&&(s=n),"left"==n&&0==r)for(;u&&t[u-2]==t[u-3]&&t[u-1].insertLeft;)i=t[2+(u-=3)],s="left";if("right"==n&&r==l-a)for(;u<t.length-3&&t[u+3]==t[u+4]&&!t[u+5].insertLeft;)i=t[(u+=3)+2],s="right";break}return{node:i,start:r,end:o,collapse:s,coverStart:a,coverEnd:l}}function Qe(t,e){var n=ra;if("left"==e)for(var i=0;i<t.length&&(n=t[i]).left==n.right;i++);else for(var r=t.length-1;r>=0&&(n=t[r]).left==n.right;r--);return n}function tn(t,e,n,i){var r,o=$e(e.map,n,i),s=o.node,a=o.start,l=o.end,u=o.collapse;if(3==s.nodeType){for(var c=0;c<4;c++){for(;a&&S(e.line.text.charAt(o.coverStart+a));)--a;for(;o.coverStart+l<o.coverEnd&&S(e.line.text.charAt(o.coverStart+l));)++l;if(r=os&&ss<9&&0==a&&l==o.coverEnd-o.coverStart?s.parentNode.getBoundingClientRect():Qe(xs(s,a,l).getClientRects(),i),r.left||r.right||0==a)break;l=a,a-=1,u="right"}os&&ss<11&&(r=en(t.display.measure,r))}else{a>0&&(u=i="right");var h;r=t.options.lineWrapping&&(h=s.getClientRects()).length>1?h["right"==i?h.length-1:0]:s.getBoundingClientRect()}if(os&&ss<9&&!a&&(!r||!r.left&&!r.right)){var p=s.parentNode.getClientRects()[0];r=p?{left:p.left,right:p.left+bn(t.display),top:p.top,bottom:p.bottom}:ra}for(var d=r.top-e.rect.top,f=r.bottom-e.rect.top,m=(d+f)/2,v=e.view.measure.heights,g=0;g<v.length-1&&!(m<v[g]);g++);var y=g?v[g-1]:0,b=v[g],w={left:("right"==u?r.right:r.left)-e.rect.left,right:("left"==u?r.left:r.right)-e.rect.left,top:y,bottom:b};return r.left||r.right||(w.bogus=!0),t.options.singleCursorHeightPerLine||(w.rtop=d,w.rbottom=f),w}function en(t,e){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!Bt(t))return e;var n=screen.logicalXDPI/screen.deviceXDPI,i=screen.logicalYDPI/screen.deviceYDPI;return{left:e.left*n,right:e.right*n,top:e.top*i,bottom:e.bottom*i}}function nn(t){if(t.measure&&(t.measure.cache={},t.measure.heights=null,t.rest))for(var e=0;e<t.rest.length;e++)t.measure.caches[e]={}}function rn(t){t.display.externalMeasure=null,e(t.display.lineMeasure);for(var n=0;n<t.display.view.length;n++)nn(t.display.view[n])}function on(t){rn(t),t.display.cachedCharWidth=t.display.cachedTextHeight=t.display.cachedPaddingH=null,t.options.lineWrapping||(t.display.maxLineChanged=!0),t.display.lineNumChars=null}function sn(){return us&&ms?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function an(){return us&&ms?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function ln(t,e,n,i,r){if(!r&&e.widgets)for(var o=0;o<e.widgets.length;++o)if(e.widgets[o].above){var s=Le(e.widgets[o]);n.top+=s,n.bottom+=s}if("line"==i)return n;i||(i="local");var a=yt(e);if("local"==i?a+=We(t.display):a-=t.display.viewOffset,"page"==i||"window"==i){var l=t.display.lineSpace.getBoundingClientRect();a+=l.top+("window"==i?0:an());var u=l.left+("window"==i?0:sn());n.left+=u,n.right+=u}return n.top+=a,n.bottom+=a,n}function un(t,e,n){if("div"==n)return e;var i=e.left,r=e.top;if("page"==n)i-=sn(),r-=an();else if("local"==n||!n){var o=t.display.sizer.getBoundingClientRect();i+=o.left,r+=o.top}var s=t.display.lineSpace.getBoundingClientRect();return{left:i-s.left,top:r-s.top}}function cn(t,e,n,i,r){return i||(i=_(t.doc,e.line)),ln(t,i,Ge(t,i,e.ch,r),n)}function hn(t,e,n,i,r,o){function s(e,s){var a=Ze(t,r,e,s?"right":"left",o);return s?a.left=a.right:a.right=a.left,ln(t,i,a,n)}function a(t,e,n){var i=l[e],r=i.level%2!=0;return s(n?t-1:t,r!=n)}i=i||_(t.doc,e.line),r||(r=Je(t,i));var l=St(i,t.doc.direction),u=e.ch,c=e.sticky;if(u>=i.text.length?(u=i.text.length,c="before"):u<=0&&(u=0,c="after"),!l)return s("before"==c?u-1:u,"before"==c);var h=Ct(l,u,c),p=Ws,d=a(u,h,"before"==c);return null!=p&&(d.other=a(u,p,"before"!=c)),d}function pn(t,e){var n=0;e=H(t.doc,e),t.options.lineWrapping||(n=bn(t.display)*e.ch);var i=_(t.doc,e.line),r=yt(i)+We(t.display);return{left:n,right:n,top:r,bottom:r+i.height}}function dn(t,e,n,i,r){var o=D(t,e,n);return o.xRel=r,i&&(o.outside=!0),o}function fn(t,e,n){var i=t.doc;if((n+=t.display.viewOffset)<0)return dn(i.first,0,null,!0,-1);var r=P(i,n),o=i.first+i.size-1;if(r>o)return dn(i.first+i.size-1,_(i,o).text.length,null,!0,1);e<0&&(e=0);for(var s=_(i,r);;){var a=gn(t,s,r,e,n),l=ut(s),u=l&&l.find(0,!0);if(!l||!(a.ch>u.from.ch||a.ch==u.from.ch&&a.xRel>0))return a;r=I(s=u.to.line)}}function mn(t,e,n,i){var r=function(i){return ln(t,e,Ze(t,n,i),"line")},o=e.text.length,s=O(function(t){return r(t-1).bottom<=i},o,0);return o=O(function(t){return r(t).top>i},s,o),{begin:s,end:o}}function vn(t,e,n,i){return mn(t,e,n,ln(t,e,Ze(t,n,i),"line").top)}function gn(t,e,n,i,r){r-=yt(e);var o,s=0,a=e.text.length,l=Je(t,e);if(St(e,t.doc.direction)){if(t.options.lineWrapping){var u;u=mn(t,e,l,r),s=u.begin,a=u.end}o=new D(n,s);var c,h,p=hn(t,o,"line",e,l).left,d=p<i?1:-1,f=p-i;do{if(c=f,h=o,null==(o=_t(t,e,o,d))||o.ch<s||a<=("before"==o.sticky?o.ch-1:o.ch)){o=h;break}f=hn(t,o,"line",e,l).left-i}while(d<0!=f<0&&Math.abs(f)<=Math.abs(c));if(Math.abs(f)>Math.abs(c)){if(f<0==c<0)throw new Error("Broke out of infinite loop in coordsCharInner");o=h}}else{var m=O(function(n){var o=ln(t,e,Ze(t,l,n),"line");return o.top>r?(a=Math.min(n,a),!0):!(o.bottom<=r)&&(o.left>i||!(o.right<i)&&i-o.left<o.right-i)},s,a);m=k(e.text,m,1),o=new D(n,m,m==a?"before":"after")}var v=hn(t,o,"line",e,l);return(r<v.top||v.bottom<r)&&(o.outside=!0),o.xRel=i<v.left?-1:i>v.right?1:0,o}function yn(t){if(null!=t.cachedTextHeight)return t.cachedTextHeight;if(null==Qs){Qs=i("pre");for(var r=0;r<49;++r)Qs.appendChild(document.createTextNode("x")),Qs.appendChild(i("br"));Qs.appendChild(document.createTextNode("x"))}n(t.measure,Qs);var o=Qs.offsetHeight/50;return o>3&&(t.cachedTextHeight=o),e(t.measure),o||1}function bn(t){if(null!=t.cachedCharWidth)return t.cachedCharWidth;var e=i("span","xxxxxxxxxx"),r=i("pre",[e]);n(t.measure,r);var o=e.getBoundingClientRect(),s=(o.right-o.left)/10;return s>2&&(t.cachedCharWidth=s),s||10}function wn(t){for(var e=t.display,n={},i={},r=e.gutters.clientLeft,o=e.gutters.firstChild,s=0;o;o=o.nextSibling,++s)n[t.options.gutters[s]]=o.offsetLeft+o.clientLeft+r,i[t.options.gutters[s]]=o.clientWidth;return{fixedPos:xn(e),gutterTotalWidth:e.gutters.offsetWidth,gutterLeft:n,gutterWidth:i,wrapperWidth:e.wrapper.clientWidth}}function xn(t){return t.scroller.getBoundingClientRect().left-t.sizer.getBoundingClientRect().left}function Cn(t){var e=yn(t.display),n=t.options.lineWrapping,i=n&&Math.max(5,t.display.scroller.clientWidth/bn(t.display)-3);return function(r){if(vt(t.doc,r))return 0;var o=0;if(r.widgets)for(var s=0;s<r.widgets.length;s++)r.widgets[s].height&&(o+=r.widgets[s].height);return n?o+(Math.ceil(r.text.length/i)||1)*e:o+e}}function Sn(t){var e=t.doc,n=Cn(t);e.iter(function(t){var e=n(t);e!=t.height&&M(t,e)})}function kn(t,e,n,i){var r=t.display;if(!n&&"true"==Wt(e).getAttribute("cm-not-content"))return null;var o,s,a=r.lineSpace.getBoundingClientRect();try{o=e.clientX-a.left,s=e.clientY-a.top}catch(e){return null}var l,u=fn(t,o,s);if(i&&1==u.xRel&&(l=_(t.doc,u.line).text).length==u.ch){var c=h(l,l.length,t.options.tabSize)-l.length;u=D(u.line,Math.max(0,Math.round((o-ze(t.display).left)/bn(t.display))-c))}return u}function On(t,e){if(e>=t.display.viewTo)return null;if((e-=t.display.viewFrom)<0)return null;for(var n=t.display.view,i=0;i<n.length;i++)if((e-=n[i].size)<0)return i}function Tn(t){t.display.input.showSelection(t.display.input.prepareSelection())}function _n(t,e){for(var n=t.doc,i={},r=i.cursors=document.createDocumentFragment(),o=i.selection=document.createDocumentFragment(),s=0;s<n.sel.ranges.length;s++)if(!1!==e||s!=n.sel.primIndex){var a=n.sel.ranges[s];if(!(a.from().line>=t.display.viewTo||a.to().line<t.display.viewFrom)){var l=a.empty();(l||t.options.showCursorWhenSelecting)&&En(t,a.head,r),l||Rn(t,a,o)}}return i}function En(t,e,n){var r=hn(t,e,"div",null,null,!t.options.singleCursorHeightPerLine),o=n.appendChild(i("div"," ","CodeMirror-cursor"));if(o.style.left=r.left+"px",o.style.top=r.top+"px",o.style.height=Math.max(0,r.bottom-r.top)*t.options.cursorHeight+"px",r.other){var s=n.appendChild(i("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));s.style.display="",s.style.left=r.other.left+"px",s.style.top=r.other.top+"px",s.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function Rn(t,e,n){function r(t,e,n,r){e<0&&(e=0),e=Math.round(e),r=Math.round(r),l.appendChild(i("div",null,"CodeMirror-selected","position: absolute; left: "+t+"px;\n top: "+e+"px; width: "+(null==n?h-t:n)+"px;\n height: "+(r-e)+"px"))}function o(e,n,i){function o(n,i){return cn(t,D(e,n),"div",u,i)}var s,l,u=_(a,e),p=u.text.length;return xt(St(u,a.direction),n||0,null==i?p:i,function(t,e,a){var u,d,f,m=o(t,"left");if(t==e)u=m,d=f=m.left;else{if(u=o(e-1,"right"),"rtl"==a){var v=m;m=u,u=v}d=m.left,f=u.right}null==n&&0==t&&(d=c),u.top-m.top>3&&(r(d,m.top,null,m.bottom),d=c,m.bottom<u.top&&r(d,m.bottom,null,u.top)),null==i&&e==p&&(f=h),(!s||m.top<s.top||m.top==s.top&&m.left<s.left)&&(s=m),(!l||u.bottom>l.bottom||u.bottom==l.bottom&&u.right>l.right)&&(l=u),d<c+1&&(d=c),r(d,u.top,f-d,u.bottom)}),{start:s,end:l}}var s=t.display,a=t.doc,l=document.createDocumentFragment(),u=ze(t.display),c=u.left,h=Math.max(s.sizerWidth,Be(t)-s.sizer.offsetLeft)-u.right,p=e.from(),d=e.to();if(p.line==d.line)o(p.line,p.ch,d.ch);else{var f=_(a,p.line),m=_(a,d.line),v=ht(f)==ht(m),g=o(p.line,p.ch,v?f.text.length+1:null).end,y=o(d.line,v?0:null,d.ch).start;v&&(g.top<y.top-2?(r(g.right,g.top,null,g.bottom),r(c,y.top,y.left,y.bottom)):r(g.right,g.top,y.left-g.right,g.bottom)),g.bottom<y.top&&r(c,g.bottom,null,y.top)}n.appendChild(l)}function Mn(t){if(t.state.focused){var e=t.display;clearInterval(e.blinker);var n=!0;e.cursorDiv.style.visibility="",t.options.cursorBlinkRate>0?e.blinker=setInterval(function(){return e.cursorDiv.style.visibility=(n=!n)?"":"hidden"},t.options.cursorBlinkRate):t.options.cursorBlinkRate<0&&(e.cursorDiv.style.visibility="hidden")}}function In(t){t.state.focused||(t.display.input.focus(),An(t))}function Pn(t){t.state.delayingBlurEvent=!0,setTimeout(function(){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1,Nn(t))},100)}function An(t,e){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1),"nocursor"!=t.options.readOnly&&(t.state.focused||(Mt(t,"focus",t,e),t.state.focused=!0,a(t.display.wrapper,"CodeMirror-focused"),t.curOp||t.display.selForContextMenu==t.doc.sel||(t.display.input.reset(),as&&setTimeout(function(){return t.display.input.reset(!0)},20)),t.display.input.receivedFocus()),Mn(t))}function Nn(t,e){t.state.delayingBlurEvent||(t.state.focused&&(Mt(t,"blur",t,e),t.state.focused=!1,ks(t.display.wrapper,"CodeMirror-focused")),clearInterval(t.display.blinker),setTimeout(function(){t.state.focused||(t.display.shift=!1)},150))}function Dn(t){for(var e=t.display,n=e.lineDiv.offsetTop,i=0;i<e.view.length;i++){var r=e.view[i],o=void 0;if(!r.hidden){if(os&&ss<8){var s=r.node.offsetTop+r.node.offsetHeight;o=s-n,n=s}else{var a=r.node.getBoundingClientRect();o=a.bottom-a.top}var l=r.line.height-o;if(o<2&&(o=yn(e)),(l>.001||l<-.001)&&(M(r.line,o),jn(r.line),r.rest))for(var u=0;u<r.rest.length;u++)jn(r.rest[u])}}}function jn(t){if(t.widgets)for(var e=0;e<t.widgets.length;++e)t.widgets[e].height=t.widgets[e].node.parentNode.offsetHeight}function Ln(t,e,n){var i=n&&null!=n.top?Math.max(0,n.top):t.scroller.scrollTop;i=Math.floor(i-We(t));var r=n&&null!=n.bottom?n.bottom:i+t.wrapper.clientHeight,o=P(e,i),s=P(e,r);if(n&&n.ensure){var a=n.ensure.from.line,l=n.ensure.to.line;a<o?(o=a,s=P(e,yt(_(e,a))+t.wrapper.clientHeight)):Math.min(l,e.lastLine())>=s&&(o=P(e,yt(_(e,l))-t.wrapper.clientHeight),s=l)}return{from:o,to:Math.max(s,o+1)}}function Fn(t){var e=t.display,n=e.view;if(e.alignWidgets||e.gutters.firstChild&&t.options.fixedGutter){for(var i=xn(e)-e.scroller.scrollLeft+t.doc.scrollLeft,r=e.gutters.offsetWidth,o=i+"px",s=0;s<n.length;s++)if(!n[s].hidden){t.options.fixedGutter&&(n[s].gutter&&(n[s].gutter.style.left=o),n[s].gutterBackground&&(n[s].gutterBackground.style.left=o));var a=n[s].alignable;if(a)for(var l=0;l<a.length;l++)a[l].style.left=o}t.options.fixedGutter&&(e.gutters.style.left=i+r+"px")}}function Wn(t){if(!t.options.lineNumbers)return!1;var e=t.doc,n=N(t.options,e.first+e.size-1),r=t.display;if(n.length!=r.lineNumChars){var o=r.measure.appendChild(i("div",[i("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),s=o.firstChild.offsetWidth,a=o.offsetWidth-s;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(s,r.lineGutter.offsetWidth-a)+1,r.lineNumWidth=r.lineNumInnerWidth+a,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",Mi(t),!0}return!1}function Vn(t,e){if(!It(t,"scrollCursorIntoView")){var n=t.display,r=n.sizer.getBoundingClientRect(),o=null;if(e.top+r.top<0?o=!0:e.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(o=!1),null!=o&&!ds){var s=i("div","​",null,"position: absolute;\n top: "+(e.top-n.viewOffset-We(t.display))+"px;\n height: "+(e.bottom-e.top+He(t)+n.barHeight)+"px;\n left: "+e.left+"px; width: "+Math.max(2,e.right-e.left)+"px;");t.display.lineSpace.appendChild(s),s.scrollIntoView(o),t.display.lineSpace.removeChild(s)}}}function zn(t,e,n,i){null==i&&(i=0);for(var r,o=0;o<5;o++){var s=!1,a=hn(t,e),l=n&&n!=e?hn(t,n):a;r={left:Math.min(a.left,l.left),top:Math.min(a.top,l.top)-i,right:Math.max(a.left,l.left),bottom:Math.max(a.bottom,l.bottom)+i};var u=Bn(t,r),c=t.doc.scrollTop,h=t.doc.scrollLeft;if(null!=u.scrollTop&&(Jn(t,u.scrollTop),Math.abs(t.doc.scrollTop-c)>1&&(s=!0)),null!=u.scrollLeft&&($n(t,u.scrollLeft),Math.abs(t.doc.scrollLeft-h)>1&&(s=!0)),!s)break}return r}function Hn(t,e){var n=Bn(t,e);null!=n.scrollTop&&Jn(t,n.scrollTop),null!=n.scrollLeft&&$n(t,n.scrollLeft)}function Bn(t,e){var n=t.display,i=yn(t.display);e.top<0&&(e.top=0);var r=t.curOp&&null!=t.curOp.scrollTop?t.curOp.scrollTop:n.scroller.scrollTop,o=Ue(t),s={};e.bottom-e.top>o&&(e.bottom=e.top+o);var a=t.doc.height+Ve(n),l=e.top<i,u=e.bottom>a-i;if(e.top<r)s.scrollTop=l?0:e.top;else if(e.bottom>r+o){var c=Math.min(e.top,(u?a:e.bottom)-o);c!=r&&(s.scrollTop=c)}var h=t.curOp&&null!=t.curOp.scrollLeft?t.curOp.scrollLeft:n.scroller.scrollLeft,p=Be(t)-(t.options.fixedGutter?n.gutters.offsetWidth:0),d=e.right-e.left>p;return d&&(e.right=e.left+p),e.left<10?s.scrollLeft=0:e.left<h?s.scrollLeft=Math.max(0,e.left-(d?0:10)):e.right>p+h-3&&(s.scrollLeft=e.right+(d?0:10)-p),s}function Un(t,e){null!=e&&(Gn(t),t.curOp.scrollTop=(null==t.curOp.scrollTop?t.doc.scrollTop:t.curOp.scrollTop)+e)}function qn(t){Gn(t);var e=t.getCursor(),n=e,i=e;t.options.lineWrapping||(n=e.ch?D(e.line,e.ch-1):e,i=D(e.line,e.ch+1)),t.curOp.scrollToPos={from:n,to:i,margin:t.options.cursorScrollMargin}}function Yn(t,e,n){null==e&&null==n||Gn(t),null!=e&&(t.curOp.scrollLeft=e),null!=n&&(t.curOp.scrollTop=n)}function Xn(t,e){Gn(t),t.curOp.scrollToPos=e}function Gn(t){var e=t.curOp.scrollToPos;if(e){t.curOp.scrollToPos=null;Kn(t,pn(t,e.from),pn(t,e.to),e.margin)}}function Kn(t,e,n,i){var r=Bn(t,{left:Math.min(e.left,n.left),top:Math.min(e.top,n.top)-i,right:Math.max(e.right,n.right),bottom:Math.max(e.bottom,n.bottom)+i});Yn(t,r.scrollLeft,r.scrollTop)}function Jn(t,e){Math.abs(t.doc.scrollTop-e)<2||(es||Ei(t,{top:e}),Zn(t,e,!0),es&&Ei(t),xi(t,100))}function Zn(t,e,n){e=Math.min(t.display.scroller.scrollHeight-t.display.scroller.clientHeight,e),(t.display.scroller.scrollTop!=e||n)&&(t.doc.scrollTop=e,t.display.scrollbars.setScrollTop(e),t.display.scroller.scrollTop!=e&&(t.display.scroller.scrollTop=e))}function $n(t,e,n,i){e=Math.min(e,t.display.scroller.scrollWidth-t.display.scroller.clientWidth),(n?e==t.doc.scrollLeft:Math.abs(t.doc.scrollLeft-e)<2)&&!i||(t.doc.scrollLeft=e,Fn(t),t.display.scroller.scrollLeft!=e&&(t.display.scroller.scrollLeft=e),t.display.scrollbars.setScrollLeft(e))}function Qn(t){var e=t.display,n=e.gutters.offsetWidth,i=Math.round(t.doc.height+Ve(t.display));return{clientHeight:e.scroller.clientHeight,viewHeight:e.wrapper.clientHeight,scrollWidth:e.scroller.scrollWidth,clientWidth:e.scroller.clientWidth,viewWidth:e.wrapper.clientWidth,barLeft:t.options.fixedGutter?n:0,docHeight:i,scrollHeight:i+He(t)+e.barHeight,nativeBarWidth:e.nativeBarWidth,gutterWidth:n}}function ti(t,e){e||(e=Qn(t));var n=t.display.barWidth,i=t.display.barHeight;ei(t,e);for(var r=0;r<4&&n!=t.display.barWidth||i!=t.display.barHeight;r++)n!=t.display.barWidth&&t.options.lineWrapping&&Dn(t),ei(t,Qn(t)),n=t.display.barWidth,i=t.display.barHeight}function ei(t,e){var n=t.display,i=n.scrollbars.update(e);n.sizer.style.paddingRight=(n.barWidth=i.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=i.bottom)+"px",n.heightForcer.style.borderBottom=i.bottom+"px solid transparent",i.right&&i.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=i.bottom+"px",n.scrollbarFiller.style.width=i.right+"px"):n.scrollbarFiller.style.display="",i.bottom&&t.options.coverGutterNextToScrollbar&&t.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=i.bottom+"px",n.gutterFiller.style.width=e.gutterWidth+"px"):n.gutterFiller.style.display=""}function ni(t){t.display.scrollbars&&(t.display.scrollbars.clear(),t.display.scrollbars.addClass&&ks(t.display.wrapper,t.display.scrollbars.addClass)),t.display.scrollbars=new aa[t.options.scrollbarStyle](function(e){t.display.wrapper.insertBefore(e,t.display.scrollbarFiller),Hs(e,"mousedown",function(){t.state.focused&&setTimeout(function(){return t.display.input.focus()},0)}),e.setAttribute("cm-not-content","true")},function(e,n){"horizontal"==n?$n(t,e):Jn(t,e)},t),t.display.scrollbars.addClass&&a(t.display.wrapper,t.display.scrollbars.addClass)}function ii(t){t.curOp={cm:t,viewChanged:!1,startHeight:t.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++la},we(t.curOp)}function ri(t){Ce(t.curOp,function(t){for(var e=0;e<t.ops.length;e++)t.ops[e].cm.curOp=null;oi(t)})}function oi(t){for(var e=t.ops,n=0;n<e.length;n++)si(e[n]);for(var i=0;i<e.length;i++)ai(e[i]);for(var r=0;r<e.length;r++)li(e[r]);for(var o=0;o<e.length;o++)ui(e[o]);for(var s=0;s<e.length;s++)ci(e[s])}function si(t){var e=t.cm,n=e.display;Si(e),t.updateMaxLine&&wt(e),t.mustUpdate=t.viewChanged||t.forceUpdate||null!=t.scrollTop||t.scrollToPos&&(t.scrollToPos.from.line<n.viewFrom||t.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&e.options.lineWrapping,t.update=t.mustUpdate&&new ua(e,t.mustUpdate&&{top:t.scrollTop,ensure:t.scrollToPos},t.forceUpdate)}function ai(t){t.updatedDisplay=t.mustUpdate&&Ti(t.cm,t.update)}function li(t){var e=t.cm,n=e.display;t.updatedDisplay&&Dn(e),t.barMeasure=Qn(e),n.maxLineChanged&&!e.options.lineWrapping&&(t.adjustWidthTo=Ge(e,n.maxLine,n.maxLine.text.length).left+3,e.display.sizerWidth=t.adjustWidthTo,t.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+t.adjustWidthTo+He(e)+e.display.barWidth),t.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+t.adjustWidthTo-Be(e))),(t.updatedDisplay||t.selectionChanged)&&(t.preparedSelection=n.input.prepareSelection(t.focus))}function ui(t){var e=t.cm;null!=t.adjustWidthTo&&(e.display.sizer.style.minWidth=t.adjustWidthTo+"px",t.maxScrollLeft<e.doc.scrollLeft&&$n(e,Math.min(e.display.scroller.scrollLeft,t.maxScrollLeft),!0),e.display.maxLineChanged=!1);var n=t.focus&&t.focus==s()&&(!document.hasFocus||document.hasFocus());t.preparedSelection&&e.display.input.showSelection(t.preparedSelection,n),(t.updatedDisplay||t.startHeight!=e.doc.height)&&ti(e,t.barMeasure),t.updatedDisplay&&Ii(e,t.barMeasure),t.selectionChanged&&Mn(e),e.state.focused&&t.updateInput&&e.display.input.reset(t.typing),n&&In(t.cm)}function ci(t){var e=t.cm,n=e.display,i=e.doc;if(t.updatedDisplay&&_i(e,t.update),null==n.wheelStartX||null==t.scrollTop&&null==t.scrollLeft&&!t.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=t.scrollTop&&Zn(e,t.scrollTop,t.forceScroll),null!=t.scrollLeft&&$n(e,t.scrollLeft,!0,!0),t.scrollToPos){Vn(e,zn(e,H(i,t.scrollToPos.from),H(i,t.scrollToPos.to),t.scrollToPos.margin))}var r=t.maybeHiddenMarkers,o=t.maybeUnhiddenMarkers;if(r)for(var s=0;s<r.length;++s)r[s].lines.length||Mt(r[s],"hide");if(o)for(var a=0;a<o.length;++a)o[a].lines.length&&Mt(o[a],"unhide");n.wrapper.offsetHeight&&(i.scrollTop=e.display.scroller.scrollTop),t.changeObjs&&Mt(e,"changes",e,t.changeObjs),t.update&&t.update.finish()}function hi(t,e){if(t.curOp)return e();ii(t);try{return e()}finally{ri(t)}}function pi(t,e){return function(){if(t.curOp)return e.apply(t,arguments);ii(t);try{return e.apply(t,arguments)}finally{ri(t)}}}function di(t){return function(){if(this.curOp)return t.apply(this,arguments);ii(this);try{return t.apply(this,arguments)}finally{ri(this)}}}function fi(t){return function(){var e=this.cm;if(!e||e.curOp)return t.apply(this,arguments);ii(e);try{return t.apply(this,arguments)}finally{ri(e)}}}function mi(t,e,n,i){null==e&&(e=t.doc.first),null==n&&(n=t.doc.first+t.doc.size),i||(i=0);var r=t.display;if(i&&n<r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>e)&&(r.updateLineNumbers=e),t.curOp.viewChanged=!0,e>=r.viewTo)Fs&&ft(t.doc,e)<r.viewTo&&gi(t);else if(n<=r.viewFrom)Fs&&mt(t.doc,n+i)>r.viewFrom?gi(t):(r.viewFrom+=i,r.viewTo+=i);else if(e<=r.viewFrom&&n>=r.viewTo)gi(t);else if(e<=r.viewFrom){var o=yi(t,n,n+i,1);o?(r.view=r.view.slice(o.index),r.viewFrom=o.lineN,r.viewTo+=i):gi(t)}else if(n>=r.viewTo){var s=yi(t,e,e,-1);s?(r.view=r.view.slice(0,s.index),r.viewTo=s.lineN):gi(t)}else{var a=yi(t,e,e,-1),l=yi(t,n,n+i,1);a&&l?(r.view=r.view.slice(0,a.index).concat(be(t,a.lineN,l.lineN)).concat(r.view.slice(l.index)),r.viewTo+=i):gi(t)}var u=r.externalMeasured;u&&(n<u.lineN?u.lineN+=i:e<u.lineN+u.size&&(r.externalMeasured=null))}function vi(t,e,n){t.curOp.viewChanged=!0;var i=t.display,r=t.display.externalMeasured;if(r&&e>=r.lineN&&e<r.lineN+r.size&&(i.externalMeasured=null),!(e<i.viewFrom||e>=i.viewTo)){var o=i.view[On(t,e)];if(null!=o.node){var s=o.changes||(o.changes=[]);-1==p(s,n)&&s.push(n)}}}function gi(t){t.display.viewFrom=t.display.viewTo=t.doc.first,t.display.view=[],t.display.viewOffset=0}function yi(t,e,n,i){var r,o=On(t,e),s=t.display.view;if(!Fs||n==t.doc.first+t.doc.size)return{index:o,lineN:n};for(var a=t.display.viewFrom,l=0;l<o;l++)a+=s[l].size;if(a!=e){if(i>0){if(o==s.length-1)return null;r=a+s[o].size-e,o++}else r=a-e;e+=r,n+=r}for(;ft(t.doc,n)!=n;){if(o==(i<0?0:s.length-1))return null;n+=i*s[o-(i<0?1:0)].size,o+=i}return{index:o,lineN:n}}function bi(t,e,n){var i=t.display;0==i.view.length||e>=i.viewTo||n<=i.viewFrom?(i.view=be(t,e,n),i.viewFrom=e):(i.viewFrom>e?i.view=be(t,e,i.viewFrom).concat(i.view):i.viewFrom<e&&(i.view=i.view.slice(On(t,e))),i.viewFrom=e,i.viewTo<n?i.view=i.view.concat(be(t,i.viewTo,n)):i.viewTo>n&&(i.view=i.view.slice(0,On(t,n)))),i.viewTo=n}function wi(t){for(var e=t.display.view,n=0,i=0;i<e.length;i++){var r=e[i];r.hidden||r.node&&!r.changes||++n}return n}function xi(t,e){t.doc.mode.startState&&t.doc.frontier<t.display.viewTo&&t.state.highlight.set(e,u(Ci,t))}function Ci(t){var e=t.doc;if(e.frontier<e.first&&(e.frontier=e.first),!(e.frontier>=t.display.viewTo)){var n=+new Date+t.options.workTime,i=Kt(e.mode,te(t,e.frontier)),r=[];e.iter(e.frontier,Math.min(e.first+e.size,t.display.viewTo+500),function(o){if(e.frontier>=t.display.viewFrom){var s=o.styles,a=o.text.length>t.options.maxHighlightLength,l=$t(t,o,a?Kt(e.mode,i):i,!0);o.styles=l.styles;var u=o.styleClasses,c=l.classes;c?o.styleClasses=c:u&&(o.styleClasses=null);for(var h=!s||s.length!=o.styles.length||u!=c&&(!u||!c||u.bgClass!=c.bgClass||u.textClass!=c.textClass),p=0;!h&&p<s.length;++p)h=s[p]!=o.styles[p];h&&r.push(e.frontier),o.stateAfter=a?i:Kt(e.mode,i)}else o.text.length<=t.options.maxHighlightLength&&ee(t,o.text,i),o.stateAfter=e.frontier%5==0?Kt(e.mode,i):null;if(++e.frontier,+new Date>n)return xi(t,t.options.workDelay),!0}),r.length&&hi(t,function(){for(var e=0;e<r.length;e++)vi(t,r[e],"text")})}}function Si(t){var e=t.display;!e.scrollbarsClipped&&e.scroller.offsetWidth&&(e.nativeBarWidth=e.scroller.offsetWidth-e.scroller.clientWidth,e.heightForcer.style.height=He(t)+"px",e.sizer.style.marginBottom=-e.nativeBarWidth+"px",e.sizer.style.borderRightWidth=He(t)+"px",e.scrollbarsClipped=!0)}function ki(t){if(t.hasFocus())return null;var e=s();if(!e||!o(t.display.lineDiv,e))return null;var n={activeElt:e};if(window.getSelection){var i=window.getSelection();i.anchorNode&&i.extend&&o(t.display.lineDiv,i.anchorNode)&&(n.anchorNode=i.anchorNode,n.anchorOffset=i.anchorOffset,n.focusNode=i.focusNode,n.focusOffset=i.focusOffset)}return n}function Oi(t){if(t&&t.activeElt&&t.activeElt!=s()&&(t.activeElt.focus(),t.anchorNode&&o(document.body,t.anchorNode)&&o(document.body,t.focusNode))){var e=window.getSelection(),n=document.createRange();n.setEnd(t.anchorNode,t.anchorOffset),n.collapse(!1),e.removeAllRanges(),e.addRange(n),e.extend(t.focusNode,t.focusOffset)}}function Ti(t,n){var i=t.display,r=t.doc;if(n.editorIsHidden)return gi(t),!1;if(!n.force&&n.visible.from>=i.viewFrom&&n.visible.to<=i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>=i.viewTo)&&i.renderedView==i.view&&0==wi(t))return!1;Wn(t)&&(gi(t),n.dims=wn(t));var o=r.first+r.size,s=Math.max(n.visible.from-t.options.viewportMargin,r.first),a=Math.min(o,n.visible.to+t.options.viewportMargin);i.viewFrom<s&&s-i.viewFrom<20&&(s=Math.max(r.first,i.viewFrom)),i.viewTo>a&&i.viewTo-a<20&&(a=Math.min(o,i.viewTo)),Fs&&(s=ft(t.doc,s),a=mt(t.doc,a));var l=s!=i.viewFrom||a!=i.viewTo||i.lastWrapHeight!=n.wrapperHeight||i.lastWrapWidth!=n.wrapperWidth;bi(t,s,a),i.viewOffset=yt(_(t.doc,i.viewFrom)),t.display.mover.style.top=i.viewOffset+"px";var u=wi(t);if(!l&&0==u&&!n.force&&i.renderedView==i.view&&(null==i.updateLineNumbers||i.updateLineNumbers>=i.viewTo))return!1;var c=ki(t);return u>4&&(i.lineDiv.style.display="none"),Ri(t,i.updateLineNumbers,n.dims),u>4&&(i.lineDiv.style.display=""),i.renderedView=i.view,Oi(c),e(i.cursorDiv),e(i.selectionDiv),i.gutters.style.height=i.sizer.style.minHeight=0,l&&(i.lastWrapHeight=n.wrapperHeight,i.lastWrapWidth=n.wrapperWidth,xi(t,400)),i.updateLineNumbers=null,!0}function _i(t,e){for(var n=e.viewport,i=!0;(i&&t.options.lineWrapping&&e.oldDisplayWidth!=Be(t)||(n&&null!=n.top&&(n={top:Math.min(t.doc.height+Ve(t.display)-Ue(t),n.top)}),e.visible=Ln(t.display,t.doc,n),!(e.visible.from>=t.display.viewFrom&&e.visible.to<=t.display.viewTo)))&&Ti(t,e);i=!1){Dn(t);var r=Qn(t);Tn(t),ti(t,r),Ii(t,r)}e.signal(t,"update",t),t.display.viewFrom==t.display.reportedViewFrom&&t.display.viewTo==t.display.reportedViewTo||(e.signal(t,"viewportChange",t,t.display.viewFrom,t.display.viewTo),t.display.reportedViewFrom=t.display.viewFrom,t.display.reportedViewTo=t.display.viewTo)}function Ei(t,e){var n=new ua(t,e);if(Ti(t,n)){Dn(t),_i(t,n);var i=Qn(t);Tn(t),ti(t,i),Ii(t,i),n.finish()}}function Ri(t,n,i){function r(e){var n=e.nextSibling;return as&&gs&&t.display.currentWheelTarget==e?e.style.display="none":e.parentNode.removeChild(e),n}for(var o=t.display,s=t.options.lineNumbers,a=o.lineDiv,l=a.firstChild,u=o.view,c=o.viewFrom,h=0;h<u.length;h++){var d=u[h];if(d.hidden);else if(d.node&&d.node.parentNode==a){for(;l!=d.node;)l=r(l);var f=s&&null!=n&&n<=c&&d.lineNumber;d.changes&&(p(d.changes,"gutter")>-1&&(f=!1),Oe(t,d,c,i)),f&&(e(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(N(t.options,c)))),l=d.node.nextSibling}else{var m=Ae(t,d,c,i);a.insertBefore(m,l)}c+=d.size}for(;l;)l=r(l)}function Mi(t){var e=t.display.gutters.offsetWidth;t.display.sizer.style.marginLeft=e+"px"}function Ii(t,e){t.display.sizer.style.minHeight=e.docHeight+"px",t.display.heightForcer.style.top=e.docHeight+"px",t.display.gutters.style.height=e.docHeight+t.display.barHeight+He(t)+"px"}function Pi(t){var n=t.display.gutters,r=t.options.gutters;e(n);for(var o=0;o<r.length;++o){var s=r[o],a=n.appendChild(i("div",null,"CodeMirror-gutter "+s));"CodeMirror-linenumbers"==s&&(t.display.lineGutter=a,a.style.width=(t.display.lineNumWidth||1)+"px")}n.style.display=o?"":"none",Mi(t)}function Ai(t){var e=p(t.gutters,"CodeMirror-linenumbers");-1==e&&t.lineNumbers?t.gutters=t.gutters.concat(["CodeMirror-linenumbers"]):e>-1&&!t.lineNumbers&&(t.gutters=t.gutters.slice(0),t.gutters.splice(e,1))}function Ni(t){var e=t.wheelDeltaX,n=t.wheelDeltaY;return null==e&&t.detail&&t.axis==t.HORIZONTAL_AXIS&&(e=t.detail),null==n&&t.detail&&t.axis==t.VERTICAL_AXIS?n=t.detail:null==n&&(n=t.wheelDelta),{x:e,y:n}}function Di(t){var e=Ni(t);return e.x*=ha,e.y*=ha,e}function ji(t,e){var n=Ni(e),i=n.x,r=n.y,o=t.display,s=o.scroller,a=s.scrollWidth>s.clientWidth,l=s.scrollHeight>s.clientHeight;if(i&&a||r&&l){if(r&&gs&&as)t:for(var u=e.target,c=o.view;u!=s;u=u.parentNode)for(var h=0;h<c.length;h++)if(c[h].node==u){t.display.currentWheelTarget=u;break t}if(i&&!es&&!cs&&null!=ha)return r&&l&&Jn(t,Math.max(0,s.scrollTop+r*ha)),$n(t,Math.max(0,s.scrollLeft+i*ha)),(!r||r&&l)&&Dt(e),void(o.wheelStartX=null);if(r&&null!=ha){var p=r*ha,d=t.doc.scrollTop,f=d+o.wrapper.clientHeight;p<0?d=Math.max(0,d+p-50):f=Math.min(t.doc.height,f+p+50),Ei(t,{top:d,bottom:f})}ca<20&&(null==o.wheelStartX?(o.wheelStartX=s.scrollLeft,o.wheelStartY=s.scrollTop,o.wheelDX=i,o.wheelDY=r,setTimeout(function(){if(null!=o.wheelStartX){var t=s.scrollLeft-o.wheelStartX,e=s.scrollTop-o.wheelStartY,n=e&&o.wheelDY&&e/o.wheelDY||t&&o.wheelDX&&t/o.wheelDX;o.wheelStartX=o.wheelStartY=null,n&&(ha=(ha*ca+n)/(ca+1),++ca)}},200)):(o.wheelDX+=i,o.wheelDY+=r))}}function Li(t,e){var n=t[e];t.sort(function(t,e){return j(t.from(),e.from())}),e=p(t,n);for(var i=1;i<t.length;i++){var r=t[i],o=t[i-1];if(j(o.to(),r.from())>=0){var s=V(o.from(),r.from()),a=W(o.to(),r.to()),l=o.empty()?r.from()==r.head:o.from()==o.head;i<=e&&--e,t.splice(--i,2,new da(l?a:s,l?s:a))}}return new pa(t,e)}function Fi(t,e){return new pa([new da(t,e||t)],0)}function Wi(t){return t.text?D(t.from.line+t.text.length-1,m(t.text).length+(1==t.text.length?t.from.ch:0)):t.to}function Vi(t,e){if(j(t,e.from)<0)return t;if(j(t,e.to)<=0)return Wi(e);var n=t.line+e.text.length-(e.to.line-e.from.line)-1,i=t.ch;return t.line==e.to.line&&(i+=Wi(e).ch-e.to.ch),D(n,i)}function zi(t,e){for(var n=[],i=0;i<t.sel.ranges.length;i++){var r=t.sel.ranges[i];n.push(new da(Vi(r.anchor,e),Vi(r.head,e)))}return Li(n,t.sel.primIndex)}function Hi(t,e,n){return t.line==e.line?D(n.line,t.ch-e.ch+n.ch):D(n.line+(t.line-e.line),t.ch)}function Bi(t,e,n){for(var i=[],r=D(t.first,0),o=r,s=0;s<e.length;s++){var a=e[s],l=Hi(a.from,r,o),u=Hi(Wi(a),r,o);if(r=a.to,o=u,"around"==n){var c=t.sel.ranges[s],h=j(c.head,c.anchor)<0;i[s]=new da(h?u:l,h?l:u)}else i[s]=new da(l,l)}return new pa(i,t.sel.primIndex)}function Ui(t){t.doc.mode=Xt(t.options,t.doc.modeOption),qi(t)}function qi(t){t.doc.iter(function(t){t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null)}),t.doc.frontier=t.doc.first,xi(t,100),t.state.modeGen++,t.curOp&&mi(t)}function Yi(t,e){return 0==e.from.ch&&0==e.to.ch&&""==m(e.text)&&(!t.cm||t.cm.options.wholeLineUpdateBefore)}function Xi(t,e,n,i){function r(t){return n?n[t]:null}function o(t,n,r){le(t,n,r,i),Se(t,"change",t,e)}function s(t,e){for(var n=[],o=t;o<e;++o)n.push(new $s(u[o],r(o),i));return n}var a=e.from,l=e.to,u=e.text,c=_(t,a.line),h=_(t,l.line),p=m(u),d=r(u.length-1),f=l.line-a.line;if(e.full)t.insert(0,s(0,u.length)),t.remove(u.length,t.size-u.length);else if(Yi(t,e)){var v=s(0,u.length-1);o(h,h.text,d),f&&t.remove(a.line,f),v.length&&t.insert(a.line,v)}else if(c==h)if(1==u.length)o(c,c.text.slice(0,a.ch)+p+c.text.slice(l.ch),d);else{var g=s(1,u.length-1);g.push(new $s(p+c.text.slice(l.ch),d,i)),o(c,c.text.slice(0,a.ch)+u[0],r(0)),t.insert(a.line+1,g)}else if(1==u.length)o(c,c.text.slice(0,a.ch)+u[0]+h.text.slice(l.ch),r(0)),t.remove(a.line+1,f);else{o(c,c.text.slice(0,a.ch)+u[0],r(0)),o(h,p+h.text.slice(l.ch),d);var y=s(1,u.length-1);f>1&&t.remove(a.line+1,f-1),t.insert(a.line+1,y)}Se(t,"change",t,e)}function Gi(t,e,n){function i(t,r,o){if(t.linked)for(var s=0;s<t.linked.length;++s){var a=t.linked[s];if(a.doc!=r){var l=o&&a.sharedHist;n&&!l||(e(a.doc,l),i(a.doc,t,l))}}}i(t,null,!0)}function Ki(t,e){if(e.cm)throw new Error("This document is already in use.");t.doc=e,e.cm=t,Sn(t),Ui(t),Ji(t),t.options.lineWrapping||wt(t),t.options.mode=e.modeOption,mi(t)}function Ji(t){("rtl"==t.doc.direction?a:ks)(t.display.lineDiv,"CodeMirror-rtl")}function Zi(t){hi(t,function(){Ji(t),mi(t)})}function $i(t){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=t||1}function Qi(t,e){var n={from:F(e.from),to:Wi(e),text:E(t,e.from,e.to)};return sr(t,n,e.from.line,e.to.line+1),Gi(t,function(t){return sr(t,n,e.from.line,e.to.line+1)},!0),n}function tr(t){for(;t.length;){if(!m(t).ranges)break;t.pop()}}function er(t,e){return e?(tr(t.done),m(t.done)):t.done.length&&!m(t.done).ranges?m(t.done):t.done.length>1&&!t.done[t.done.length-2].ranges?(t.done.pop(),m(t.done)):void 0}function nr(t,e,n,i){var r=t.history;r.undone.length=0;var o,s,a=+new Date;if((r.lastOp==i||r.lastOrigin==e.origin&&e.origin&&("+"==e.origin.charAt(0)&&t.cm&&r.lastModTime>a-t.cm.options.historyEventDelay||"*"==e.origin.charAt(0)))&&(o=er(r,r.lastOp==i)))s=m(o.changes),0==j(e.from,e.to)&&0==j(e.from,s.to)?s.to=Wi(e):o.changes.push(Qi(t,e));else{var l=m(r.done);for(l&&l.ranges||or(t.sel,r.done),o={changes:[Qi(t,e)],generation:r.generation},r.done.push(o);r.done.length>r.undoDepth;)r.done.shift(),r.done[0].ranges||r.done.shift()}r.done.push(n),r.generation=++r.maxGeneration,r.lastModTime=r.lastSelTime=a,r.lastOp=r.lastSelOp=i,r.lastOrigin=r.lastSelOrigin=e.origin,s||Mt(t,"historyAdded")}function ir(t,e,n,i){var r=e.charAt(0);return"*"==r||"+"==r&&n.ranges.length==i.ranges.length&&n.somethingSelected()==i.somethingSelected()&&new Date-t.history.lastSelTime<=(t.cm?t.cm.options.historyEventDelay:500)}function rr(t,e,n,i){var r=t.history,o=i&&i.origin;n==r.lastSelOp||o&&r.lastSelOrigin==o&&(r.lastModTime==r.lastSelTime&&r.lastOrigin==o||ir(t,o,m(r.done),e))?r.done[r.done.length-1]=e:or(e,r.done),r.lastSelTime=+new Date,r.lastSelOrigin=o,r.lastSelOp=n,i&&!1!==i.clearRedo&&tr(r.undone)}function or(t,e){var n=m(e);n&&n.ranges&&n.equals(t)||e.push(t)}function sr(t,e,n,i){var r=e["spans_"+t.id],o=0;t.iter(Math.max(t.first,n),Math.min(t.first+t.size,i),function(n){n.markedSpans&&((r||(r=e["spans_"+t.id]={}))[o]=n.markedSpans),++o})}function ar(t){if(!t)return null;for(var e,n=0;n<t.length;++n)t[n].marker.explicitlyCleared?e||(e=t.slice(0,n)):e&&e.push(t[n]);return e?e.length?e:null:t}function lr(t,e){var n=e["spans_"+t.id];if(!n)return null;for(var i=[],r=0;r<e.text.length;++r)i.push(ar(n[r]));return i}function ur(t,e){var n=lr(t,e),i=Q(t,e);if(!n)return i;if(!i)return n;for(var r=0;r<n.length;++r){var o=n[r],s=i[r];if(o&&s)t:for(var a=0;a<s.length;++a){for(var l=s[a],u=0;u<o.length;++u)if(o[u].marker==l.marker)continue t;o.push(l)}else s&&(n[r]=s)}return n}function cr(t,e,n){for(var i=[],r=0;r<t.length;++r){var o=t[r];if(o.ranges)i.push(n?pa.prototype.deepCopy.call(o):o);else{var s=o.changes,a=[];i.push({changes:a});for(var l=0;l<s.length;++l){var u=s[l],c=void 0;if(a.push({from:u.from,to:u.to,text:u.text}),e)for(var h in u)(c=h.match(/^spans_(\d+)$/))&&p(e,Number(c[1]))>-1&&(m(a)[h]=u[h],delete u[h])}}}return i}function hr(t,e,n,i){if(t.cm&&t.cm.display.shift||t.extend){var r=e.anchor;if(i){var o=j(n,r)<0;o!=j(i,r)<0?(r=n,n=i):o!=j(n,i)<0&&(n=i)}return new da(r,n)}return new da(i||n,n)}function pr(t,e,n,i){yr(t,new pa([hr(t,t.sel.primary(),e,n)],0),i)}function dr(t,e,n){for(var i=[],r=0;r<t.sel.ranges.length;r++)i[r]=hr(t,t.sel.ranges[r],e[r],null);yr(t,Li(i,t.sel.primIndex),n)}function fr(t,e,n,i){var r=t.sel.ranges.slice(0);r[e]=n,yr(t,Li(r,t.sel.primIndex),i)}function mr(t,e,n,i){yr(t,Fi(e,n),i)}function vr(t,e,n){var i={ranges:e.ranges,update:function(e){var n=this;this.ranges=[];for(var i=0;i<e.length;i++)n.ranges[i]=new da(H(t,e[i].anchor),H(t,e[i].head))},origin:n&&n.origin};return Mt(t,"beforeSelectionChange",t,i),t.cm&&Mt(t.cm,"beforeSelectionChange",t.cm,i),i.ranges!=e.ranges?Li(i.ranges,i.ranges.length-1):e}function gr(t,e,n){var i=t.history.done,r=m(i);r&&r.ranges?(i[i.length-1]=e,br(t,e,n)):yr(t,e,n)}function yr(t,e,n){br(t,e,n),rr(t,t.sel,t.cm?t.cm.curOp.id:NaN,n)}function br(t,e,n){(At(t,"beforeSelectionChange")||t.cm&&At(t.cm,"beforeSelectionChange"))&&(e=vr(t,e,n)),wr(t,Cr(t,e,n&&n.bias||(j(e.primary().head,t.sel.primary().head)<0?-1:1),!0)),n&&!1===n.scroll||!t.cm||qn(t.cm)}function wr(t,e){e.equals(t.sel)||(t.sel=e,t.cm&&(t.cm.curOp.updateInput=t.cm.curOp.selectionChanged=!0,Pt(t.cm)),Se(t,"cursorActivity",t))}function xr(t){wr(t,Cr(t,t.sel,null,!1))}function Cr(t,e,n,i){for(var r,o=0;o<e.ranges.length;o++){var s=e.ranges[o],a=e.ranges.length==t.sel.ranges.length&&t.sel.ranges[o],l=kr(t,s.anchor,a&&a.anchor,n,i),u=kr(t,s.head,a&&a.head,n,i);(r||l!=s.anchor||u!=s.head)&&(r||(r=e.ranges.slice(0,o)),r[o]=new da(l,u))}return r?Li(r,e.primIndex):e}function Sr(t,e,n,i,r){var o=_(t,e.line);if(o.markedSpans)for(var s=0;s<o.markedSpans.length;++s){var a=o.markedSpans[s],l=a.marker;if((null==a.from||(l.inclusiveLeft?a.from<=e.ch:a.from<e.ch))&&(null==a.to||(l.inclusiveRight?a.to>=e.ch:a.to>e.ch))){if(r&&(Mt(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--s;continue}break}if(!l.atomic)continue;if(n){var u=l.find(i<0?1:-1),c=void 0;if((i<0?l.inclusiveRight:l.inclusiveLeft)&&(u=Or(t,u,-i,u&&u.line==e.line?o:null)),u&&u.line==e.line&&(c=j(u,n))&&(i<0?c<0:c>0))return Sr(t,u,e,i,r)}var h=l.find(i<0?-1:1);return(i<0?l.inclusiveLeft:l.inclusiveRight)&&(h=Or(t,h,i,h.line==e.line?o:null)),h?Sr(t,h,e,i,r):null}}return e}function kr(t,e,n,i,r){var o=i||1,s=Sr(t,e,n,o,r)||!r&&Sr(t,e,n,o,!0)||Sr(t,e,n,-o,r)||!r&&Sr(t,e,n,-o,!0);return s||(t.cantEdit=!0,D(t.first,0))}function Or(t,e,n,i){return n<0&&0==e.ch?e.line>t.first?H(t,D(e.line-1)):null:n>0&&e.ch==(i||_(t,e.line)).text.length?e.line<t.first+t.size-1?D(e.line+1,0):null:new D(e.line,e.ch+n)}function Tr(t){t.setSelection(D(t.firstLine(),0),D(t.lastLine()),Is)}function _r(t,e,n){var i={canceled:!1,from:e.from,to:e.to,text:e.text,origin:e.origin,cancel:function(){return i.canceled=!0}};return n&&(i.update=function(e,n,r,o){e&&(i.from=H(t,e)),n&&(i.to=H(t,n)),r&&(i.text=r),void 0!==o&&(i.origin=o)}),Mt(t,"beforeChange",t,i),t.cm&&Mt(t.cm,"beforeChange",t.cm,i),i.canceled?null:{from:i.from,to:i.to,text:i.text,origin:i.origin}}function Er(t,e,n){if(t.cm){if(!t.cm.curOp)return pi(t.cm,Er)(t,e,n);if(t.cm.state.suppressEdits)return}if(!(At(t,"beforeChange")||t.cm&&At(t.cm,"beforeChange"))||(e=_r(t,e,!0))){var i=Ls&&!n&&et(t,e.from,e.to);if(i)for(var r=i.length-1;r>=0;--r)Rr(t,{from:i[r].from,to:i[r].to,text:r?[""]:e.text});else Rr(t,e)}}function Rr(t,e){if(1!=e.text.length||""!=e.text[0]||0!=j(e.from,e.to)){var n=zi(t,e);nr(t,e,n,t.cm?t.cm.curOp.id:NaN),Pr(t,e,n,Q(t,e));var i=[];Gi(t,function(t,n){n||-1!=p(i,t.history)||(Lr(t.history,e),i.push(t.history)),Pr(t,e,null,Q(t,e))})}}function Mr(t,e,n){if(!t.cm||!t.cm.state.suppressEdits||n){for(var i,r=t.history,o=t.sel,s="undo"==e?r.done:r.undone,a="undo"==e?r.undone:r.done,l=0;l<s.length&&(i=s[l],n?!i.ranges||i.equals(t.sel):i.ranges);l++);if(l!=s.length){for(r.lastOrigin=r.lastSelOrigin=null;i=s.pop(),i.ranges;){if(or(i,a),n&&!i.equals(t.sel))return void yr(t,i,{clearRedo:!1});o=i}var u=[];or(o,a),a.push({changes:u,generation:r.generation}),r.generation=i.generation||++r.maxGeneration;for(var c=At(t,"beforeChange")||t.cm&&At(t.cm,"beforeChange"),h=function(n){var r=i.changes[n];if(r.origin=e,c&&!_r(t,r,!1))return s.length=0,{};u.push(Qi(t,r));var o=n?zi(t,r):m(s);Pr(t,r,o,ur(t,r)),!n&&t.cm&&t.cm.scrollIntoView({from:r.from,to:Wi(r)});var a=[];Gi(t,function(t,e){e||-1!=p(a,t.history)||(Lr(t.history,r),a.push(t.history)),Pr(t,r,null,ur(t,r))})},d=i.changes.length-1;d>=0;--d){var f=h(d);if(f)return f.v}}}}function Ir(t,e){if(0!=e&&(t.first+=e,t.sel=new pa(v(t.sel.ranges,function(t){return new da(D(t.anchor.line+e,t.anchor.ch),D(t.head.line+e,t.head.ch))}),t.sel.primIndex),t.cm)){mi(t.cm,t.first,t.first-e,e);for(var n=t.cm.display,i=n.viewFrom;i<n.viewTo;i++)vi(t.cm,i,"gutter")}}function Pr(t,e,n,i){if(t.cm&&!t.cm.curOp)return pi(t.cm,Pr)(t,e,n,i);if(e.to.line<t.first)return void Ir(t,e.text.length-1-(e.to.line-e.from.line));if(!(e.from.line>t.lastLine())){if(e.from.line<t.first){var r=e.text.length-1-(t.first-e.from.line);Ir(t,r),e={from:D(t.first,0),to:D(e.to.line+r,e.to.ch),text:[m(e.text)],origin:e.origin}}var o=t.lastLine();e.to.line>o&&(e={from:e.from,to:D(o,_(t,o).text.length),text:[e.text[0]],origin:e.origin}),e.removed=E(t,e.from,e.to),n||(n=zi(t,e)),t.cm?Ar(t.cm,e,i):Xi(t,e,i),br(t,n,Is)}}function Ar(t,e,n){var i=t.doc,r=t.display,o=e.from,s=e.to,a=!1,l=o.line;t.options.lineWrapping||(l=I(ht(_(i,o.line))),i.iter(l,s.line+1,function(t){if(t==r.maxLine)return a=!0,!0})),i.sel.contains(e.from,e.to)>-1&&Pt(t),Xi(i,e,n,Cn(t)),t.options.lineWrapping||(i.iter(l,o.line+e.text.length,function(t){var e=bt(t);e>r.maxLineLength&&(r.maxLine=t,r.maxLineLength=e,r.maxLineChanged=!0,a=!1)}),a&&(t.curOp.updateMaxLine=!0)),i.frontier=Math.min(i.frontier,o.line),xi(t,400);var u=e.text.length-(s.line-o.line)-1;e.full?mi(t):o.line!=s.line||1!=e.text.length||Yi(t.doc,e)?mi(t,o.line,s.line+1,u):vi(t,o.line,"text");var c=At(t,"changes"),h=At(t,"change");if(h||c){var p={from:o,to:s,text:e.text,removed:e.removed,origin:e.origin};h&&Se(t,"change",t,p),c&&(t.curOp.changeObjs||(t.curOp.changeObjs=[])).push(p)}t.display.selForContextMenu=null}function Nr(t,e,n,i,r){if(i||(i=n),j(i,n)<0){var o=i;i=n,n=o}"string"==typeof e&&(e=t.splitLines(e)),Er(t,{from:n,to:i,text:e,origin:r})}function Dr(t,e,n,i){n<t.line?t.line+=i:e<t.line&&(t.line=e,t.ch=0)}function jr(t,e,n,i){for(var r=0;r<t.length;++r){var o=t[r],s=!0;if(o.ranges){o.copied||(o=t[r]=o.deepCopy(),o.copied=!0);for(var a=0;a<o.ranges.length;a++)Dr(o.ranges[a].anchor,e,n,i),Dr(o.ranges[a].head,e,n,i)}else{for(var l=0;l<o.changes.length;++l){var u=o.changes[l];if(n<u.from.line)u.from=D(u.from.line+i,u.from.ch),u.to=D(u.to.line+i,u.to.ch);else if(e<=u.to.line){s=!1;break}}s||(t.splice(0,r+1),r=0)}}}function Lr(t,e){var n=e.from.line,i=e.to.line,r=e.text.length-(i-n)-1;jr(t.done,n,i,r),jr(t.undone,n,i,r)}function Fr(t,e,n,i){var r=e,o=e;return"number"==typeof e?o=_(t,z(t,e)):r=I(e),null==r?null:(i(o,r)&&t.cm&&vi(t.cm,r,n),o)}function Wr(t,e,n){yt(e)<(t.curOp&&t.curOp.scrollTop||t.doc.scrollTop)&&Un(t,n)}function Vr(t,e,n,i){var r=new va(t,n,i),o=t.cm;return o&&r.noHScroll&&(o.display.alignWidgets=!0),Fr(t,e,"widget",function(e){var n=e.widgets||(e.widgets=[]);if(null==r.insertAt?n.push(r):n.splice(Math.min(n.length-1,Math.max(0,r.insertAt)),0,r),r.line=e,o&&!vt(t,e)){var i=yt(e)<t.scrollTop;M(e,e.height+Le(r)),i&&Un(o,r.height),o.curOp.forceUpdate=!0}return!0}),Se(o,"lineWidgetAdded",o,r,"number"==typeof e?e:I(e)),r}function zr(t,e,n,i,o){if(i&&i.shared)return Hr(t,e,n,i,o);if(t.cm&&!t.cm.curOp)return pi(t.cm,zr)(t,e,n,i,o);var s=new ya(t,o),a=j(e,n);if(i&&c(i,s,!1),a>0||0==a&&!1!==s.clearWhenEmpty)return s;if(s.replacedWith&&(s.collapsed=!0,s.widgetNode=r("span",[s.replacedWith],"CodeMirror-widget"),i.handleMouseEvents||s.widgetNode.setAttribute("cm-ignore-events","true"),i.insertLeft&&(s.widgetNode.insertLeft=!0)),s.collapsed){if(ct(t,e.line,e,n,s)||e.line!=n.line&&ct(t,n.line,e,n,s))throw new Error("Inserting collapsed marker partially overlapping an existing one");Y()}s.addToHistory&&nr(t,{from:e,to:n,origin:"markText"},t.sel,NaN);var l,u=e.line,h=t.cm;if(t.iter(u,n.line+1,function(t){h&&s.collapsed&&!h.options.lineWrapping&&ht(t)==h.display.maxLine&&(l=!0),s.collapsed&&u!=e.line&&M(t,0),J(t,new X(s,u==e.line?e.ch:null,u==n.line?n.ch:null)),++u}),s.collapsed&&t.iter(e.line,n.line+1,function(e){vt(t,e)&&M(e,0)}),s.clearOnEnter&&Hs(s,"beforeCursorEnter",function(){return s.clear()}),s.readOnly&&(q(),(t.history.done.length||t.history.undone.length)&&t.clearHistory()),s.collapsed&&(s.id=++ga,s.atomic=!0),h){if(l&&(h.curOp.updateMaxLine=!0),s.collapsed)mi(h,e.line,n.line+1);else if(s.className||s.title||s.startStyle||s.endStyle||s.css)for(var p=e.line;p<=n.line;p++)vi(h,p,"text");s.atomic&&xr(h.doc),Se(h,"markerAdded",h,s)}return s}function Hr(t,e,n,i,r){i=c(i),i.shared=!1;var o=[zr(t,e,n,i,r)],s=o[0],a=i.widgetNode;return Gi(t,function(t){a&&(i.widgetNode=a.cloneNode(!0)),o.push(zr(t,H(t,e),H(t,n),i,r));for(var l=0;l<t.linked.length;++l)if(t.linked[l].isParent)return;s=m(o)}),new ba(o,s)}function Br(t){return t.findMarks(D(t.first,0),t.clipPos(D(t.lastLine())),function(t){return t.parent})}function Ur(t,e){for(var n=0;n<e.length;n++){var i=e[n],r=i.find(),o=t.clipPos(r.from),s=t.clipPos(r.to);if(j(o,s)){var a=zr(t,o,s,i.primary,i.primary.type);i.markers.push(a),a.parent=i}}}function qr(t){for(var e=function(e){var n=t[e],i=[n.primary.doc];Gi(n.primary.doc,function(t){return i.push(t)});for(var r=0;r<n.markers.length;r++){var o=n.markers[r];-1==p(i,o.doc)&&(o.parent=null,n.markers.splice(r--,1))}},n=0;n<t.length;n++)e(n)}function Yr(t){var e=this;if(Kr(e),!It(e,t)&&!Fe(e.display,t)){Dt(t),os&&(Ca=+new Date);var n=kn(e,t,!0),i=t.dataTransfer.files;if(n&&!e.isReadOnly())if(i&&i.length&&window.FileReader&&window.File)for(var r=i.length,o=Array(r),s=0,a=function(t,i){if(!e.options.allowDropFileTypes||-1!=p(e.options.allowDropFileTypes,t.type)){var a=new FileReader;a.onload=pi(e,function(){var t=a.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(t)&&(t=""),o[i]=t,++s==r){n=H(e.doc,n);var l={from:n,to:n,text:e.doc.splitLines(o.join(e.doc.lineSeparator())),origin:"paste"};Er(e.doc,l),gr(e.doc,Fi(n,Wi(l)))}}),a.readAsText(t)}},l=0;l<r;++l)a(i[l],l);else{if(e.state.draggingText&&e.doc.sel.contains(n)>-1)return e.state.draggingText(t),void setTimeout(function(){return e.display.input.focus()},20);try{var u=t.dataTransfer.getData("Text");if(u){var c;if(e.state.draggingText&&!e.state.draggingText.copy&&(c=e.listSelections()),br(e.doc,Fi(n,n)),c)for(var h=0;h<c.length;++h)Nr(e.doc,"",c[h].anchor,c[h].head,"drag");e.replaceSelection(u,"around","paste"),e.display.input.focus()}}catch(t){}}}}function Xr(t,e){if(os&&(!t.state.draggingText||+new Date-Ca<100))return void Ft(e);if(!It(t,e)&&!Fe(t.display,e)&&(e.dataTransfer.setData("Text",t.getSelection()),e.dataTransfer.effectAllowed="copyMove",e.dataTransfer.setDragImage&&!hs)){var n=i("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",cs&&(n.width=n.height=1,t.display.wrapper.appendChild(n),n._top=n.offsetTop),e.dataTransfer.setDragImage(n,0,0),cs&&n.parentNode.removeChild(n)}}function Gr(t,e){var r=kn(t,e);if(r){var o=document.createDocumentFragment();En(t,r,o),t.display.dragCursor||(t.display.dragCursor=i("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),t.display.lineSpace.insertBefore(t.display.dragCursor,t.display.cursorDiv)),n(t.display.dragCursor,o)}}function Kr(t){t.display.dragCursor&&(t.display.lineSpace.removeChild(t.display.dragCursor),t.display.dragCursor=null)}function Jr(t){if(document.body.getElementsByClassName)for(var e=document.body.getElementsByClassName("CodeMirror"),n=0;n<e.length;n++){var i=e[n].CodeMirror;i&&t(i)}}function Zr(){Sa||($r(),Sa=!0)}function $r(){var t;Hs(window,"resize",function(){null==t&&(t=setTimeout(function(){t=null,Jr(Qr)},100))}),Hs(window,"blur",function(){return Jr(Nn)})}function Qr(t){var e=t.display;e.lastWrapHeight==e.wrapper.clientHeight&&e.lastWrapWidth==e.wrapper.clientWidth||(e.cachedCharWidth=e.cachedTextHeight=e.cachedPaddingH=null,e.scrollbarsClipped=!1,t.setSize())}function to(t){var e=t.split(/-(?!$)/);t=e[e.length-1];for(var n,i,r,o,s=0;s<e.length-1;s++){var a=e[s];if(/^(cmd|meta|m)$/i.test(a))o=!0;else if(/^a(lt)?$/i.test(a))n=!0;else if(/^(c|ctrl|control)$/i.test(a))i=!0;else{if(!/^s(hift)?$/i.test(a))throw new Error("Unrecognized modifier name: "+a);r=!0}}return n&&(t="Alt-"+t),i&&(t="Ctrl-"+t),o&&(t="Cmd-"+t),r&&(t="Shift-"+t),t}function eo(t){var e={};for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==i){delete t[n];continue}for(var r=v(n.split(" "),to),o=0;o<r.length;o++){var s=void 0,a=void 0;o==r.length-1?(a=r.join(" "),s=i):(a=r.slice(0,o+1).join(" "),s="...");var l=e[a];if(l){if(l!=s)throw new Error("Inconsistent bindings for "+a)}else e[a]=s}delete t[n]}for(var u in e)t[u]=e[u];return t}function no(t,e,n,i){e=oo(e);var r=e.call?e.call(t,i):e[t];if(!1===r)return"nothing";if("..."===r)return"multi";if(null!=r&&n(r))return"handled";if(e.fallthrough){if("[object Array]"!=Object.prototype.toString.call(e.fallthrough))return no(t,e.fallthrough,n,i);for(var o=0;o<e.fallthrough.length;o++){var s=no(t,e.fallthrough[o],n,i);if(s)return s}}}function io(t){var e="string"==typeof t?t:ka[t.keyCode];return"Ctrl"==e||"Alt"==e||"Shift"==e||"Mod"==e}function ro(t,e){if(cs&&34==t.keyCode&&t.char)return!1;var n=ka[t.keyCode],i=n;return null!=i&&!t.altGraphKey&&(t.altKey&&"Alt"!=n&&(i="Alt-"+i),(Cs?t.metaKey:t.ctrlKey)&&"Ctrl"!=n&&(i="Ctrl-"+i),(Cs?t.ctrlKey:t.metaKey)&&"Cmd"!=n&&(i="Cmd-"+i),!e&&t.shiftKey&&"Shift"!=n&&(i="Shift-"+i),i)}function oo(t){return"string"==typeof t?Ea[t]:t}function so(t,e){for(var n=t.doc.sel.ranges,i=[],r=0;r<n.length;r++){for(var o=e(n[r]);i.length&&j(o.from,m(i).to)<=0;){var s=i.pop();if(j(s.from,o.from)<0){o.from=s.from;break}}i.push(o)}hi(t,function(){for(var e=i.length-1;e>=0;e--)Nr(t.doc,"",i[e].from,i[e].to,"+delete");qn(t)})}function ao(t,e){var n=_(t.doc,e),i=ht(n);return i!=n&&(e=I(i)),Tt(!0,t,i,e,1)}function lo(t,e){var n=_(t.doc,e),i=pt(n);return i!=n&&(e=I(i)),Tt(!0,t,n,e,-1)}function uo(t,e){var n=ao(t,e.line),i=_(t.doc,n.line),r=St(i,t.doc.direction);if(!r||0==r[0].level){var o=Math.max(0,i.text.search(/\S/)),s=e.line==n.line&&e.ch<=o&&e.ch;return D(n.line,s?0:o,n.sticky)}return n}function co(t,e,n){if("string"==typeof e&&!(e=Ia[e]))return!1;t.display.input.ensurePolled();var i=t.display.shift,r=!1;try{t.isReadOnly()&&(t.state.suppressEdits=!0),n&&(t.display.shift=!1),r=e(t)!=Ms}finally{t.display.shift=i,t.state.suppressEdits=!1}return r}function ho(t,e,n){for(var i=0;i<t.state.keyMaps.length;i++){var r=no(e,t.state.keyMaps[i],n,t);if(r)return r}return t.options.extraKeys&&no(e,t.options.extraKeys,n,t)||no(e,t.options.keyMap,n,t)}function po(t,e,n,i){var r=t.state.keySeq;if(r){if(io(e))return"handled";Pa.set(50,function(){t.state.keySeq==r&&(t.state.keySeq=null,t.display.input.reset())}),e=r+" "+e}var o=ho(t,e,i);return"multi"==o&&(t.state.keySeq=e),"handled"==o&&Se(t,"keyHandled",t,e,n),"handled"!=o&&"multi"!=o||(Dt(n),Mn(t)),r&&!o&&/\'$/.test(e)?(Dt(n),!0):!!o}function fo(t,e){var n=ro(e,!0);return!!n&&(e.shiftKey&&!t.state.keySeq?po(t,"Shift-"+n,e,function(e){return co(t,e,!0)})||po(t,n,e,function(e){if("string"==typeof e?/^go[A-Z]/.test(e):e.motion)return co(t,e)}):po(t,n,e,function(e){return co(t,e)}))}function mo(t,e,n){return po(t,"'"+n+"'",e,function(e){return co(t,e,!0)})}function vo(t){var e=this;if(e.curOp.focus=s(),!It(e,t)){os&&ss<11&&27==t.keyCode&&(t.returnValue=!1);var n=t.keyCode;e.display.shift=16==n||t.shiftKey;var i=fo(e,t);cs&&(Aa=i?n:null,!i&&88==n&&!Ys&&(gs?t.metaKey:t.ctrlKey)&&e.replaceSelection("",null,"cut")),18!=n||/\bCodeMirror-crosshair\b/.test(e.display.lineDiv.className)||go(e)}}function go(t){function e(t){18!=t.keyCode&&t.altKey||(ks(n,"CodeMirror-crosshair"),Rt(document,"keyup",e),Rt(document,"mouseover",e))}var n=t.display.lineDiv;a(n,"CodeMirror-crosshair"),Hs(document,"keyup",e),Hs(document,"mouseover",e)}function yo(t){16==t.keyCode&&(this.doc.sel.shift=!1),It(this,t)}function bo(t){var e=this;if(!(Fe(e.display,t)||It(e,t)||t.ctrlKey&&!t.altKey||gs&&t.metaKey)){var n=t.keyCode,i=t.charCode;if(cs&&n==Aa)return Aa=null,void Dt(t);if(!cs||t.which&&!(t.which<10)||!fo(e,t)){var r=String.fromCharCode(null==i?n:i);"\b"!=r&&(mo(e,t,r)||e.display.input.onKeyPress(t))}}}function wo(t){var e=this,n=e.display;if(!(It(e,t)||n.activeTouch&&n.input.supportsTouch())){if(n.input.ensurePolled(),n.shift=t.shiftKey,Fe(n,t))return void(as||(n.scroller.draggable=!1,setTimeout(function(){return n.scroller.draggable=!0},100)));if(!Oo(e,t)){var i=kn(e,t);switch(window.focus(),Vt(t)){case 1:e.state.selectingText?e.state.selectingText(t):i?xo(e,t,i):Wt(t)==n.scroller&&Dt(t);break;case 2:as&&(e.state.lastMiddleDown=+new Date),i&&pr(e.doc,i),setTimeout(function(){return n.input.focus()},20),Dt(t);break;case 3:Ss?To(e,t):Pn(e)}}}}function xo(t,e,n){os?setTimeout(u(In,t),0):t.curOp.focus=s();var i,r=+new Date;Ma&&Ma.time>r-400&&0==j(Ma.pos,n)?i="triple":Ra&&Ra.time>r-400&&0==j(Ra.pos,n)?(i="double",Ma={time:r,pos:n}):(i="single",Ra={time:r,pos:n});var o,a=t.doc.sel,l=gs?e.metaKey:e.ctrlKey;t.options.dragDrop&&Bs&&!t.isReadOnly()&&"single"==i&&(o=a.contains(n))>-1&&(j((o=a.ranges[o]).from(),n)<0||n.xRel>0)&&(j(o.to(),n)>0||n.xRel<0)?Co(t,e,n,l):So(t,e,n,i,l)}function Co(t,e,n,i){var r=t.display,o=!1,s=pi(t,function(e){as&&(r.scroller.draggable=!1),t.state.draggingText=!1,Rt(document,"mouseup",s),Rt(document,"mousemove",a),Rt(r.scroller,"dragstart",l),Rt(r.scroller,"drop",s),o||(Dt(e),i||pr(t.doc,n),as||os&&9==ss?setTimeout(function(){document.body.focus(),r.input.focus()},20):r.input.focus())}),a=function(t){o=o||Math.abs(e.clientX-t.clientX)+Math.abs(e.clientY-t.clientY)>=10},l=function(){return o=!0};as&&(r.scroller.draggable=!0),t.state.draggingText=s,s.copy=gs?e.altKey:e.ctrlKey,r.scroller.dragDrop&&r.scroller.dragDrop(),Hs(document,"mouseup",s),Hs(document,"mousemove",a),Hs(r.scroller,"dragstart",l),Hs(r.scroller,"drop",s),Pn(t),setTimeout(function(){return r.input.focus()},20)}function So(t,e,n,i,r){function o(e){if(0!=j(b,e))if(b=e,"rect"==i){for(var r=[],o=t.options.tabSize,s=h(_(c,n.line).text,n.ch,o),a=h(_(c,e.line).text,e.ch,o),l=Math.min(s,a),u=Math.max(s,a),v=Math.min(n.line,e.line),g=Math.min(t.lastLine(),Math.max(n.line,e.line));v<=g;v++){var y=_(c,v).text,w=d(y,l,o);l==u?r.push(new da(D(v,w),D(v,w))):y.length>w&&r.push(new da(D(v,w),D(v,d(y,u,o))))}r.length||r.push(new da(n,n)),yr(c,Li(m.ranges.slice(0,f).concat(r),f),{origin:"*mouse",scroll:!1}),t.scrollIntoView(e)}else{var x=p,C=x.anchor,S=e;if("single"!=i){var k;k="double"==i?t.findWordAt(e):new da(D(e.line,0),H(c,D(e.line+1,0))),j(k.anchor,C)>0?(S=k.head,C=V(x.from(),k.anchor)):(S=k.anchor,C=W(x.to(),k.head))}var O=m.ranges.slice(0);O[f]=new da(H(c,C),S),yr(c,Li(O,f),Ps)}}function a(e){var n=++x,r=kn(t,e,!0,"rect"==i);if(r)if(0!=j(r,b)){t.curOp.focus=s(),o(r);var l=Ln(u,c);(r.line>=l.to||r.line<l.from)&&setTimeout(pi(t,function(){x==n&&a(e)}),150)}else{var h=e.clientY<w.top?-20:e.clientY>w.bottom?20:0;h&&setTimeout(pi(t,function(){x==n&&(u.scroller.scrollTop+=h,a(e))}),50)}}function l(e){t.state.selectingText=!1,x=1/0,Dt(e),u.input.focus(),Rt(document,"mousemove",C),Rt(document,"mouseup",S),c.history.lastSelOrigin=null}var u=t.display,c=t.doc;Dt(e);var p,f,m=c.sel,v=m.ranges;if(r&&!e.shiftKey?(f=c.sel.contains(n),p=f>-1?v[f]:new da(n,n)):(p=c.sel.primary(),f=c.sel.primIndex),ys?e.shiftKey&&e.metaKey:e.altKey)i="rect",r||(p=new da(n,n)),n=kn(t,e,!0,!0),f=-1;else if("double"==i){var g=t.findWordAt(n);p=t.display.shift||c.extend?hr(c,p,g.anchor,g.head):g}else if("triple"==i){var y=new da(D(n.line,0),H(c,D(n.line+1,0)));p=t.display.shift||c.extend?hr(c,p,y.anchor,y.head):y}else p=hr(c,p,n);r?-1==f?(f=v.length,yr(c,Li(v.concat([p]),f),{scroll:!1,origin:"*mouse"})):v.length>1&&v[f].empty()&&"single"==i&&!e.shiftKey?(yr(c,Li(v.slice(0,f).concat(v.slice(f+1)),0),{scroll:!1,origin:"*mouse"}),m=c.sel):fr(c,f,p,Ps):(f=0,yr(c,new pa([p],0),Ps),m=c.sel);var b=n,w=u.wrapper.getBoundingClientRect(),x=0,C=pi(t,function(t){Vt(t)?a(t):l(t)}),S=pi(t,l);t.state.selectingText=S,Hs(document,"mousemove",C),Hs(document,"mouseup",S)}function ko(t,e,n,i){var r,o;try{r=e.clientX,o=e.clientY}catch(e){return!1}if(r>=Math.floor(t.display.gutters.getBoundingClientRect().right))return!1;i&&Dt(e);var s=t.display,a=s.lineDiv.getBoundingClientRect();if(o>a.bottom||!At(t,n))return Lt(e);o-=a.top-s.viewOffset;for(var l=0;l<t.options.gutters.length;++l){var u=s.gutters.childNodes[l];if(u&&u.getBoundingClientRect().right>=r){return Mt(t,n,t,P(t.doc,o),t.options.gutters[l],e),Lt(e)}}}function Oo(t,e){return ko(t,e,"gutterClick",!0)}function To(t,e){Fe(t.display,e)||_o(t,e)||It(t,e,"contextmenu")||t.display.input.onContextMenu(e)}function _o(t,e){return!!At(t,"gutterContextMenu")&&ko(t,e,"gutterContextMenu",!1)}function Eo(t){t.display.wrapper.className=t.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+t.options.theme.replace(/(^|\s)\s*/g," cm-s-"),on(t)}function Ro(t){function e(e,i,r,o){t.defaults[e]=i,r&&(n[e]=o?function(t,e,n){n!=Na&&r(t,e,n)}:r)}var n=t.optionHandlers;t.defineOption=e,t.Init=Na,e("value","",function(t,e){return t.setValue(e)},!0),e("mode",null,function(t,e){t.doc.modeOption=e,Ui(t)},!0),e("indentUnit",2,Ui,!0),e("indentWithTabs",!1),e("smartIndent",!0),e("tabSize",4,function(t){qi(t),on(t),mi(t)},!0),e("lineSeparator",null,function(t,e){if(t.doc.lineSep=e,e){var n=[],i=t.doc.first;t.doc.iter(function(t){for(var r=0;;){var o=t.text.indexOf(e,r);if(-1==o)break;r=o+e.length,n.push(D(i,o))}i++});for(var r=n.length-1;r>=0;r--)Nr(t.doc,e,n[r],D(n[r].line,n[r].ch+e.length))}}),e("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(t,e,n){t.state.specialChars=new RegExp(e.source+(e.test("\t")?"":"|\t"),"g"),n!=Na&&t.refresh()}),e("specialCharPlaceholder",pe,function(t){return t.refresh()},!0),e("electricChars",!0),e("inputStyle",vs?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),e("spellcheck",!1,function(t,e){return t.getInputField().spellcheck=e},!0),e("rtlMoveVisually",!bs),e("wholeLineUpdateBefore",!0),e("theme","default",function(t){Eo(t),Mo(t)},!0),e("keyMap","default",function(t,e,n){var i=oo(e),r=n!=Na&&oo(n);r&&r.detach&&r.detach(t,i),i.attach&&i.attach(t,r||null)}),e("extraKeys",null),e("lineWrapping",!1,Po,!0),e("gutters",[],function(t){Ai(t.options),Mo(t)},!0),e("fixedGutter",!0,function(t,e){t.display.gutters.style.left=e?xn(t.display)+"px":"0",t.refresh()},!0),e("coverGutterNextToScrollbar",!1,function(t){return ti(t)},!0),e("scrollbarStyle","native",function(t){ni(t),ti(t),t.display.scrollbars.setScrollTop(t.doc.scrollTop),t.display.scrollbars.setScrollLeft(t.doc.scrollLeft)},!0),e("lineNumbers",!1,function(t){Ai(t.options),Mo(t)},!0),e("firstLineNumber",1,Mo,!0),e("lineNumberFormatter",function(t){return t},Mo,!0),e("showCursorWhenSelecting",!1,Tn,!0),e("resetSelectionOnContextMenu",!0),e("lineWiseCopyCut",!0),e("readOnly",!1,function(t,e){"nocursor"==e?(Nn(t),t.display.input.blur(),t.display.disabled=!0):t.display.disabled=!1,t.display.input.readOnlyChanged(e)}),e("disableInput",!1,function(t,e){e||t.display.input.reset()},!0),e("dragDrop",!0,Io),e("allowDropFileTypes",null),e("cursorBlinkRate",530),e("cursorScrollMargin",0),e("cursorHeight",1,Tn,!0),e("singleCursorHeightPerLine",!0,Tn,!0),e("workTime",100),e("workDelay",100),e("flattenSpans",!0,qi,!0),e("addModeClass",!1,qi,!0),e("pollInterval",100),e("undoDepth",200,function(t,e){return t.doc.history.undoDepth=e}),e("historyEventDelay",1250),e("viewportMargin",10,function(t){return t.refresh()},!0),e("maxHighlightLength",1e4,qi,!0),e("moveInputWithCursor",!0,function(t,e){e||t.display.input.resetPosition()}),e("tabindex",null,function(t,e){return t.display.input.getField().tabIndex=e||""}),e("autofocus",null),e("direction","ltr",function(t,e){return t.doc.setDirection(e)},!0)}function Mo(t){Pi(t),mi(t),Fn(t)}function Io(t,e,n){if(!e!=!(n&&n!=Na)){var i=t.display.dragFunctions,r=e?Hs:Rt;r(t.display.scroller,"dragstart",i.start),r(t.display.scroller,"dragenter",i.enter),r(t.display.scroller,"dragover",i.over),r(t.display.scroller,"dragleave",i.leave),r(t.display.scroller,"drop",i.drop)}}function Po(t){t.options.lineWrapping?(a(t.display.wrapper,"CodeMirror-wrap"),t.display.sizer.style.minWidth="",t.display.sizerWidth=null):(ks(t.display.wrapper,"CodeMirror-wrap"),wt(t)),Sn(t),mi(t),on(t),setTimeout(function(){return ti(t)},100)}function Ao(t,e){var n=this;if(!(this instanceof Ao))return new Ao(t,e);this.options=e=e?c(e):{},c(Da,e,!1),Ai(e);var i=e.value;"string"==typeof i&&(i=new xa(i,e.mode,null,e.lineSeparator,e.direction)),this.doc=i;var r=new Ao.inputStyles[e.inputStyle](this),o=this.display=new T(t,i,r);o.wrapper.CodeMirror=this,Pi(this),Eo(this),e.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),ni(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new Ts,keySeq:null,specialChars:null},e.autofocus&&!vs&&o.input.focus(),os&&ss<11&&setTimeout(function(){return n.display.input.reset(!0)},20),No(this),Zr(),ii(this),this.curOp.forceUpdate=!0,Ki(this,i),e.autofocus&&!vs||this.hasFocus()?setTimeout(u(An,this),20):Nn(this);for(var s in ja)ja.hasOwnProperty(s)&&ja[s](n,e[s],Na);Wn(this),e.finishInit&&e.finishInit(this);for(var a=0;a<La.length;++a)La[a](n);ri(this),as&&e.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}function No(t){function e(){r.activeTouch&&(o=setTimeout(function(){return r.activeTouch=null},1e3),s=r.activeTouch,s.end=+new Date)}function n(t){if(1!=t.touches.length)return!1;var e=t.touches[0];return e.radiusX<=1&&e.radiusY<=1}function i(t,e){if(null==e.left)return!0;var n=e.left-t.left,i=e.top-t.top;return n*n+i*i>400}var r=t.display;Hs(r.scroller,"mousedown",pi(t,wo)),os&&ss<11?Hs(r.scroller,"dblclick",pi(t,function(e){if(!It(t,e)){var n=kn(t,e);if(n&&!Oo(t,e)&&!Fe(t.display,e)){Dt(e);var i=t.findWordAt(n);pr(t.doc,i.anchor,i.head)}}})):Hs(r.scroller,"dblclick",function(e){return It(t,e)||Dt(e)}),Ss||Hs(r.scroller,"contextmenu",function(e){return To(t,e)});var o,s={end:0};Hs(r.scroller,"touchstart",function(e){if(!It(t,e)&&!n(e)){r.input.ensurePolled(),clearTimeout(o);var i=+new Date;r.activeTouch={start:i,moved:!1,prev:i-s.end<=300?s:null},1==e.touches.length&&(r.activeTouch.left=e.touches[0].pageX,r.activeTouch.top=e.touches[0].pageY)}}),Hs(r.scroller,"touchmove",function(){r.activeTouch&&(r.activeTouch.moved=!0)}),Hs(r.scroller,"touchend",function(n){var o=r.activeTouch;if(o&&!Fe(r,n)&&null!=o.left&&!o.moved&&new Date-o.start<300){var s,a=t.coordsChar(r.activeTouch,"page");s=!o.prev||i(o,o.prev)?new da(a,a):!o.prev.prev||i(o,o.prev.prev)?t.findWordAt(a):new da(D(a.line,0),H(t.doc,D(a.line+1,0))),t.setSelection(s.anchor,s.head),t.focus(),Dt(n)}e()}),Hs(r.scroller,"touchcancel",e),Hs(r.scroller,"scroll",function(){r.scroller.clientHeight&&(Jn(t,r.scroller.scrollTop),$n(t,r.scroller.scrollLeft,!0),Mt(t,"scroll",t))}),Hs(r.scroller,"mousewheel",function(e){return ji(t,e)}),Hs(r.scroller,"DOMMouseScroll",function(e){return ji(t,e)}),Hs(r.wrapper,"scroll",function(){return r.wrapper.scrollTop=r.wrapper.scrollLeft=0}),r.dragFunctions={enter:function(e){It(t,e)||Ft(e)},over:function(e){It(t,e)||(Gr(t,e),Ft(e))},start:function(e){return Xr(t,e)},drop:pi(t,Yr),leave:function(e){It(t,e)||Kr(t)}};var a=r.input.getField();Hs(a,"keyup",function(e){return yo.call(t,e)}),Hs(a,"keydown",pi(t,vo)),Hs(a,"keypress",pi(t,bo)),Hs(a,"focus",function(e){return An(t,e)}),Hs(a,"blur",function(e){return Nn(t,e)})}function Do(t,e,n,i){var r,o=t.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?r=te(t,e):n="prev");var s=t.options.tabSize,a=_(o,e),l=h(a.text,null,s);a.stateAfter&&(a.stateAfter=null);var u,c=a.text.match(/^\s*/)[0];if(i||/\S/.test(a.text)){if("smart"==n&&((u=o.mode.indent(r,a.text.slice(c.length),a.text))==Ms||u>150)){if(!i)return;n="prev"}}else u=0,n="not";"prev"==n?u=e>o.first?h(_(o,e-1).text,null,s):0:"add"==n?u=l+t.options.indentUnit:"subtract"==n?u=l-t.options.indentUnit:"number"==typeof n&&(u=l+n),u=Math.max(0,u);var p="",d=0;if(t.options.indentWithTabs)for(var m=Math.floor(u/s);m;--m)d+=s,p+="\t";if(d<u&&(p+=f(u-d)),p!=c)return Nr(o,p,D(e,0),D(e,c.length),"+input"),a.stateAfter=null,!0;for(var v=0;v<o.sel.ranges.length;v++){var g=o.sel.ranges[v];if(g.head.line==e&&g.head.ch<c.length){var y=D(e,c.length);fr(o,v,new da(y,y));break}}}function jo(t){Fa=t}function Lo(t,e,n,i,r){var o=t.doc;t.display.shift=!1,i||(i=o.sel);var s=t.state.pasteIncoming||"paste"==r,a=Us(e),l=null;if(s&&i.ranges.length>1)if(Fa&&Fa.text.join("\n")==e){if(i.ranges.length%Fa.text.length==0){l=[];for(var u=0;u<Fa.text.length;u++)l.push(o.splitLines(Fa.text[u]))}}else a.length==i.ranges.length&&(l=v(a,function(t){return[t]}));for(var c,h=i.ranges.length-1;h>=0;h--){var p=i.ranges[h],d=p.from(),f=p.to();p.empty()&&(n&&n>0?d=D(d.line,d.ch-n):t.state.overwrite&&!s?f=D(f.line,Math.min(_(o,f.line).text.length,f.ch+m(a).length)):Fa&&Fa.lineWise&&Fa.text.join("\n")==e&&(d=f=D(d.line,0))),c=t.curOp.updateInput;var g={from:d,to:f,text:l?l[h%l.length]:a,origin:r||(s?"paste":t.state.cutIncoming?"cut":"+input")};Er(t.doc,g),Se(t,"inputRead",t,g)}e&&!s&&Wo(t,e),qn(t),t.curOp.updateInput=c,t.curOp.typing=!0,t.state.pasteIncoming=t.state.cutIncoming=!1}function Fo(t,e){var n=t.clipboardData&&t.clipboardData.getData("Text");if(n)return t.preventDefault(),e.isReadOnly()||e.options.disableInput||hi(e,function(){return Lo(e,n,0,null,"paste")}),!0}function Wo(t,e){if(t.options.electricChars&&t.options.smartIndent)for(var n=t.doc.sel,i=n.ranges.length-1;i>=0;i--){var r=n.ranges[i];if(!(r.head.ch>100||i&&n.ranges[i-1].head.line==r.head.line)){var o=t.getModeAt(r.head),s=!1;if(o.electricChars){for(var a=0;a<o.electricChars.length;a++)if(e.indexOf(o.electricChars.charAt(a))>-1){s=Do(t,r.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(_(t.doc,r.head.line).text.slice(0,r.head.ch))&&(s=Do(t,r.head.line,"smart"));s&&Se(t,"electricInput",t,r.head.line)}}}function Vo(t){for(var e=[],n=[],i=0;i<t.doc.sel.ranges.length;i++){var r=t.doc.sel.ranges[i].head.line,o={anchor:D(r,0),head:D(r+1,0)};n.push(o),e.push(t.getRange(o.anchor,o.head))}return{text:e,ranges:n}}function zo(t,e){t.setAttribute("autocorrect","off"),t.setAttribute("autocapitalize","off"),t.setAttribute("spellcheck",!!e)}function Ho(){var t=i("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),e=i("div",[t],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return as?t.style.width="1000px":t.setAttribute("wrap","off"),fs&&(t.style.border="1px solid black"),zo(t),e}function Bo(t,e,n,i,r){function o(){var i=e.line+n;return!(i<t.first||i>=t.first+t.size)&&(e=new D(i,e.ch,e.sticky),u=_(t,i))}function s(i){var s;if(null==(s=r?_t(t.cm,u,e,n):Ot(u,e,n))){if(i||!o())return!1;e=Tt(r,t.cm,u,e.line,n)}else e=s;return!0}var a=e,l=n,u=_(t,e.line);if("char"==i)s();else if("column"==i)s(!0);else if("word"==i||"group"==i)for(var c=null,h="group"==i,p=t.cm&&t.cm.getHelper(e,"wordChars"),d=!0;!(n<0)||s(!d);d=!1){var f=u.text.charAt(e.ch)||"\n",m=x(f,p)?"w":h&&"\n"==f?"n":!h||/\s/.test(f)?null:"p";if(!h||d||m||(m="s"),c&&c!=m){n<0&&(n=1,s(),e.sticky="after");break}if(m&&(c=m),n>0&&!s(!d))break}var v=kr(t,e,a,l,!0);return L(a,v)&&(v.hitSide=!0),v}function Uo(t,e,n,i){var r,o=t.doc,s=e.left;if("page"==i){var a=Math.min(t.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),l=Math.max(a-.5*yn(t.display),3);r=(n>0?e.bottom:e.top)+n*l}else"line"==i&&(r=n>0?e.bottom+3:e.top-3);for(var u;u=fn(t,s,r),u.outside;){if(n<0?r<=0:r>=o.height){u.hitSide=!0;break}r+=5*n}return u}function qo(t,e){var n=Ke(t,e.line);if(!n||n.hidden)return null;var i=_(t.doc,e.line),r=Ye(n,i,e.line),o=St(i,t.doc.direction),s="left";if(o){s=Ct(o,e.ch)%2?"right":"left"}var a=$e(r.map,e.ch,s);return a.offset="right"==a.collapse?a.end:a.start,a}function Yo(t){for(var e=t;e;e=e.parentNode)if(/CodeMirror-gutter-wrapper/.test(e.className))return!0;return!1}function Xo(t,e){return e&&(t.bad=!0),t}function Go(t,e,n,i,r){function o(t){return function(e){return e.id==t}}function s(){c&&(u+=h,c=!1)}function a(t){t&&(s(),u+=t)}function l(e){if(1==e.nodeType){var n=e.getAttribute("cm-text");if(null!=n)return void a(n||e.textContent.replace(/\u200b/g,""));var u,p=e.getAttribute("cm-marker");if(p){var d=t.findMarks(D(i,0),D(r+1,0),o(+p));return void(d.length&&(u=d[0].find())&&a(E(t.doc,u.from,u.to).join(h)))}if("false"==e.getAttribute("contenteditable"))return;var f=/^(pre|div|p)$/i.test(e.nodeName);f&&s();for(var m=0;m<e.childNodes.length;m++)l(e.childNodes[m]);f&&(c=!0)}else 3==e.nodeType&&a(e.nodeValue)}for(var u="",c=!1,h=t.doc.lineSeparator();l(e),e!=n;)e=e.nextSibling;return u}function Ko(t,e,n){var i;if(e==t.display.lineDiv){if(!(i=t.display.lineDiv.childNodes[n]))return Xo(t.clipPos(D(t.display.viewTo-1)),!0);e=null,n=0}else for(i=e;;i=i.parentNode){if(!i||i==t.display.lineDiv)return null;if(i.parentNode&&i.parentNode==t.display.lineDiv)break}for(var r=0;r<t.display.view.length;r++){var o=t.display.view[r];if(o.node==i)return Jo(o,e,n)}}function Jo(t,e,n){function i(e,n,i){for(var r=-1;r<(h?h.length:0);r++)for(var o=r<0?c.map:h[r],s=0;s<o.length;s+=3){var a=o[s+2];if(a==e||a==n){var l=I(r<0?t.line:t.rest[r]),u=o[s]+i;return(i<0||a!=e)&&(u=o[s+(i?1:0)]),D(l,u)}}}var r=t.text.firstChild,s=!1;if(!e||!o(r,e))return Xo(D(I(t.line),0),!0);if(e==r&&(s=!0,e=r.childNodes[n],n=0,!e)){var a=t.rest?m(t.rest):t.line;return Xo(D(I(a),a.text.length),s)}var l=3==e.nodeType?e:null,u=e;for(l||1!=e.childNodes.length||3!=e.firstChild.nodeType||(l=e.firstChild,n&&(n=l.nodeValue.length));u.parentNode!=r;)u=u.parentNode;var c=t.measure,h=c.maps,p=i(l,u,n);if(p)return Xo(p,s);for(var d=u.nextSibling,f=l?l.nodeValue.length-n:0;d;d=d.nextSibling){if(p=i(d,d.firstChild,0))return Xo(D(p.line,p.ch-f),s);f+=d.textContent.length}for(var v=u.previousSibling,g=n;v;v=v.previousSibling){if(p=i(v,v.firstChild,-1))return Xo(D(p.line,p.ch+g),s);g+=v.textContent.length}}function Zo(t,e){function n(){t.value=l.getValue()}if(e=e?c(e):{},e.value=t.value,!e.tabindex&&t.tabIndex&&(e.tabindex=t.tabIndex),!e.placeholder&&t.placeholder&&(e.placeholder=t.placeholder),null==e.autofocus){var i=s();e.autofocus=i==t||null!=t.getAttribute("autofocus")&&i==document.body}var r;if(t.form&&(Hs(t.form,"submit",n),!e.leaveSubmitMethodAlone)){var o=t.form;r=o.submit;try{var a=o.submit=function(){n(),o.submit=r,o.submit(),o.submit=a}}catch(t){}}e.finishInit=function(e){e.save=n,e.getTextArea=function(){return t},e.toTextArea=function(){e.toTextArea=isNaN,n(),t.parentNode.removeChild(e.getWrapperElement()),t.style.display="",t.form&&(Rt(t.form,"submit",n),"function"==typeof t.form.submit&&(t.form.submit=r))}},t.style.display="none";var l=Ao(function(e){return t.parentNode.insertBefore(e,t.nextSibling)},e);return l}function $o(t){t.off=Rt,t.on=Hs,t.wheelEventPixels=Di,t.Doc=xa,t.splitLines=Us,t.countColumn=h,t.findColumn=d,t.isWordChar=w,t.Pass=Ms,t.signal=Mt,t.Line=$s,t.changeEnd=Wi,t.scrollbarModel=aa,t.Pos=D,t.cmpPos=j,t.modes=Gs,t.mimeModes=Ks,t.resolveMode=Yt,t.getMode=Xt,t.modeExtensions=Js,t.extendMode=Gt,t.copyState=Kt,t.startState=Zt,t.innerMode=Jt,t.commands=Ia,t.keyMap=Ea,t.keyName=ro,t.isModifierKey=io,t.lookupKey=no,t.normalizeKeyMap=eo,t.StringStream=Zs,t.SharedTextMarker=ba,t.TextMarker=ya,t.LineWidget=va,t.e_preventDefault=Dt,t.e_stopPropagation=jt,t.e_stop=Ft,t.addClass=a,t.contains=o,t.rmClass=ks,t.keyNames=ka}var Qo=navigator.userAgent,ts=navigator.platform,es=/gecko\/\d/i.test(Qo),ns=/MSIE \d/.test(Qo),is=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Qo),rs=/Edge\/(\d+)/.exec(Qo),os=ns||is||rs,ss=os&&(ns?document.documentMode||6:+(rs||is)[1]),as=!rs&&/WebKit\//.test(Qo),ls=as&&/Qt\/\d+\.\d+/.test(Qo),us=!rs&&/Chrome\//.test(Qo),cs=/Opera\//.test(Qo),hs=/Apple Computer/.test(navigator.vendor),ps=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Qo),ds=/PhantomJS/.test(Qo),fs=!rs&&/AppleWebKit/.test(Qo)&&/Mobile\/\w+/.test(Qo),ms=/Android/.test(Qo),vs=fs||ms||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Qo),gs=fs||/Mac/.test(ts),ys=/\bCrOS\b/.test(Qo),bs=/win/i.test(ts),ws=cs&&Qo.match(/Version\/(\d*\.\d*)/);ws&&(ws=Number(ws[1])),ws&&ws>=15&&(cs=!1,as=!0);var xs,Cs=gs&&(ls||cs&&(null==ws||ws<12.11)),Ss=es||os&&ss>=9,ks=function(e,n){var i=e.className,r=t(n).exec(i);if(r){var o=i.slice(r.index+r[0].length);e.className=i.slice(0,r.index)+(o?r[1]+o:"")}};xs=document.createRange?function(t,e,n,i){var r=document.createRange();return r.setEnd(i||t,n),r.setStart(t,e),r}:function(t,e,n){var i=document.body.createTextRange();try{i.moveToElementText(t.parentNode)}catch(t){return i}return i.collapse(!0),i.moveEnd("character",n),i.moveStart("character",e),i};var Os=function(t){t.select()};fs?Os=function(t){t.selectionStart=0,t.selectionEnd=t.value.length}:os&&(Os=function(t){try{t.select()}catch(t){}});var Ts=function(){this.id=null};Ts.prototype.set=function(t,e){clearTimeout(this.id),this.id=setTimeout(e,t)};var _s,Es,Rs=30,Ms={toString:function(){return"CodeMirror.Pass"}},Is={scroll:!1},Ps={origin:"*mouse"},As={origin:"+move"},Ns=[""],Ds=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,js=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/,Ls=!1,Fs=!1,Ws=null,Vs=function(){function t(t){return t<=247?n.charAt(t):1424<=t&&t<=1524?"R":1536<=t&&t<=1785?i.charAt(t-1536):1774<=t&&t<=2220?"r":8192<=t&&t<=8203?"w":8204==t?"b":"L"}function e(t,e,n){this.level=t,this.from=e,this.to=n}var n="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",i="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111",r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,o=/[stwN]/,s=/[LRr]/,a=/[Lb1n]/,l=/[1n]/;return function(n,i){var u="ltr"==i?"L":"R";if(0==n.length||"ltr"==i&&!r.test(n))return!1;for(var c=n.length,h=[],p=0;p<c;++p)h.push(t(n.charCodeAt(p)));for(var d=0,f=u;d<c;++d){var v=h[d];"m"==v?h[d]=f:f=v}for(var g=0,y=u;g<c;++g){var b=h[g];"1"==b&&"r"==y?h[g]="n":s.test(b)&&(y=b,"r"==b&&(h[g]="R"))}for(var w=1,x=h[0];w<c-1;++w){var C=h[w];"+"==C&&"1"==x&&"1"==h[w+1]?h[w]="1":","!=C||x!=h[w+1]||"1"!=x&&"n"!=x||(h[w]=x),x=C}for(var S=0;S<c;++S){var k=h[S];if(","==k)h[S]="N";else if("%"==k){var O=void 0;for(O=S+1;O<c&&"%"==h[O];++O);for(var T=S&&"!"==h[S-1]||O<c&&"1"==h[O]?"1":"N",_=S;_<O;++_)h[_]=T;S=O-1}}for(var E=0,R=u;E<c;++E){var M=h[E];"L"==R&&"1"==M?h[E]="L":s.test(M)&&(R=M)}for(var I=0;I<c;++I)if(o.test(h[I])){var P=void 0;for(P=I+1;P<c&&o.test(h[P]);++P);for(var A="L"==(I?h[I-1]:u),N="L"==(P<c?h[P]:u),D=A==N?A?"L":"R":u,j=I;j<P;++j)h[j]=D;I=P-1}for(var L,F=[],W=0;W<c;)if(a.test(h[W])){var V=W;for(++W;W<c&&a.test(h[W]);++W);F.push(new e(0,V,W))}else{var z=W,H=F.length;for(++W;W<c&&"L"!=h[W];++W);for(var B=z;B<W;)if(l.test(h[B])){z<B&&F.splice(H,0,new e(1,z,B));var U=B;for(++B;B<W&&l.test(h[B]);++B);F.splice(H,0,new e(2,U,B)),z=B}else++B;z<W&&F.splice(H,0,new e(1,z,W))}return 1==F[0].level&&(L=n.match(/^\s+/))&&(F[0].from=L[0].length,F.unshift(new e(0,0,L[0].length))),1==m(F).level&&(L=n.match(/\s+$/))&&(m(F).to-=L[0].length,F.push(new e(0,c-L[0].length,c))),"rtl"==i?F.reverse():F}}(),zs=[],Hs=function(t,e,n){if(t.addEventListener)t.addEventListener(e,n,!1);else if(t.attachEvent)t.attachEvent("on"+e,n);else{var i=t._handlers||(t._handlers={});i[e]=(i[e]||zs).concat(n)}},Bs=function(){if(os&&ss<9)return!1;var t=i("div");return"draggable"in t||"dragDrop"in t}(),Us=3!="\n\nb".split(/\n/).length?function(t){for(var e=0,n=[],i=t.length;e<=i;){var r=t.indexOf("\n",e);-1==r&&(r=t.length);var o=t.slice(e,"\r"==t.charAt(r-1)?r-1:r),s=o.indexOf("\r");-1!=s?(n.push(o.slice(0,s)),e+=s+1):(n.push(o),e=r+1)}return n}:function(t){return t.split(/\r\n?|\n/)},qs=window.getSelection?function(t){try{return t.selectionStart!=t.selectionEnd}catch(t){return!1}}:function(t){var e;try{e=t.ownerDocument.selection.createRange()}catch(t){}return!(!e||e.parentElement()!=t)&&0!=e.compareEndPoints("StartToEnd",e)},Ys=function(){var t=i("div");return"oncopy"in t||(t.setAttribute("oncopy","return;"),"function"==typeof t.oncopy)}(),Xs=null,Gs={},Ks={},Js={},Zs=function(t,e){this.pos=this.start=0,this.string=t,this.tabSize=e||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0};Zs.prototype.eol=function(){return this.pos>=this.string.length},Zs.prototype.sol=function(){return this.pos==this.lineStart},Zs.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Zs.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Zs.prototype.eat=function(t){var e=this.string.charAt(this.pos);if("string"==typeof t?e==t:e&&(t.test?t.test(e):t(e)))return++this.pos,e},Zs.prototype.eatWhile=function(t){for(var e=this.pos;this.eat(t););return this.pos>e},Zs.prototype.eatSpace=function(){for(var t=this,e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++t.pos;return this.pos>e},Zs.prototype.skipToEnd=function(){this.pos=this.string.length},Zs.prototype.skipTo=function(t){var e=this.string.indexOf(t,this.pos);if(e>-1)return this.pos=e,!0},Zs.prototype.backUp=function(t){this.pos-=t},Zs.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=h(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?h(this.string,this.lineStart,this.tabSize):0)},Zs.prototype.indentation=function(){return h(this.string,null,this.tabSize)-(this.lineStart?h(this.string,this.lineStart,this.tabSize):0)},Zs.prototype.match=function(t,e,n){if("string"!=typeof t){var i=this.string.slice(this.pos).match(t);return i&&i.index>0?null:(i&&!1!==e&&(this.pos+=i[0].length),i)}var r=function(t){return n?t.toLowerCase():t};if(r(this.string.substr(this.pos,t.length))==r(t))return!1!==e&&(this.pos+=t.length),!0},Zs.prototype.current=function(){return this.string.slice(this.start,this.pos)},Zs.prototype.hideFirstChars=function(t,e){this.lineStart+=t;try{return e()}finally{this.lineStart-=t}};var $s=function(t,e,n){this.text=t,it(this,e),this.height=n?n(this):1};$s.prototype.lineNo=function(){return I(this)},Nt($s);var Qs,ta={},ea={},na=null,ia=null,ra={left:0,right:0,top:0,bottom:0},oa=function(t,e,n){this.cm=n;var r=this.vert=i("div",[i("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),o=this.horiz=i("div",[i("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");t(r),t(o),Hs(r,"scroll",function(){r.clientHeight&&e(r.scrollTop,"vertical")}),Hs(o,"scroll",function(){o.clientWidth&&e(o.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,os&&ss<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};oa.prototype.update=function(t){var e=t.scrollWidth>t.clientWidth+1,n=t.scrollHeight>t.clientHeight+1,i=t.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=e?i+"px":"0";var r=t.viewHeight-(e?i:0);this.vert.firstChild.style.height=Math.max(0,t.scrollHeight-t.clientHeight+r)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(e){this.horiz.style.display="block",this.horiz.style.right=n?i+"px":"0",this.horiz.style.left=t.barLeft+"px";var o=t.viewWidth-t.barLeft-(n?i:0);this.horiz.firstChild.style.width=Math.max(0,t.scrollWidth-t.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&t.clientHeight>0&&(0==i&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?i:0,bottom:e?i:0}},oa.prototype.setScrollLeft=function(t){this.horiz.scrollLeft!=t&&(this.horiz.scrollLeft=t),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},oa.prototype.setScrollTop=function(t){this.vert.scrollTop!=t&&(this.vert.scrollTop=t),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},oa.prototype.zeroWidthHack=function(){var t=gs&&!ps?"12px":"18px";this.horiz.style.height=this.vert.style.width=t,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ts,this.disableVert=new Ts},oa.prototype.enableZeroWidthBar=function(t,e,n){function i(){var r=t.getBoundingClientRect();("vert"==n?document.elementFromPoint(r.right-1,(r.top+r.bottom)/2):document.elementFromPoint((r.right+r.left)/2,r.bottom-1))!=t?t.style.pointerEvents="none":e.set(1e3,i)}t.style.pointerEvents="auto",e.set(1e3,i)},oa.prototype.clear=function(){var t=this.horiz.parentNode;t.removeChild(this.horiz),t.removeChild(this.vert)};var sa=function(){};sa.prototype.update=function(){return{bottom:0,right:0}},sa.prototype.setScrollLeft=function(){},sa.prototype.setScrollTop=function(){},sa.prototype.clear=function(){};var aa={native:oa,null:sa},la=0,ua=function(t,e,n){var i=t.display;this.viewport=e,this.visible=Ln(i,t.doc,e),this.editorIsHidden=!i.wrapper.offsetWidth,this.wrapperHeight=i.wrapper.clientHeight,this.wrapperWidth=i.wrapper.clientWidth,this.oldDisplayWidth=Be(t),this.force=n,this.dims=wn(t),this.events=[]};ua.prototype.signal=function(t,e){At(t,e)&&this.events.push(arguments)},ua.prototype.finish=function(){for(var t=this,e=0;e<this.events.length;e++)Mt.apply(null,t.events[e])};var ca=0,ha=null;os?ha=-.53:es?ha=15:us?ha=-.7:hs&&(ha=-1/3);var pa=function(t,e){this.ranges=t,this.primIndex=e};pa.prototype.primary=function(){return this.ranges[this.primIndex]},pa.prototype.equals=function(t){var e=this;if(t==this)return!0;if(t.primIndex!=this.primIndex||t.ranges.length!=this.ranges.length)return!1;for(var n=0;n<this.ranges.length;n++){var i=e.ranges[n],r=t.ranges[n];if(!L(i.anchor,r.anchor)||!L(i.head,r.head))return!1}return!0},pa.prototype.deepCopy=function(){for(var t=this,e=[],n=0;n<this.ranges.length;n++)e[n]=new da(F(t.ranges[n].anchor),F(t.ranges[n].head));return new pa(e,this.primIndex)},pa.prototype.somethingSelected=function(){for(var t=this,e=0;e<this.ranges.length;e++)if(!t.ranges[e].empty())return!0;return!1},pa.prototype.contains=function(t,e){var n=this;e||(e=t);for(var i=0;i<this.ranges.length;i++){var r=n.ranges[i];if(j(e,r.from())>=0&&j(t,r.to())<=0)return i}return-1};var da=function(t,e){this.anchor=t,this.head=e};da.prototype.from=function(){return V(this.anchor,this.head)},da.prototype.to=function(){return W(this.anchor,this.head)},da.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};var fa=function(t){var e=this;this.lines=t,this.parent=null;for(var n=0,i=0;i<t.length;++i)t[i].parent=e,n+=t[i].height;this.height=n};fa.prototype.chunkSize=function(){return this.lines.length},fa.prototype.removeInner=function(t,e){for(var n=this,i=t,r=t+e;i<r;++i){var o=n.lines[i];n.height-=o.height,ue(o),Se(o,"delete")}this.lines.splice(t,e)},fa.prototype.collapse=function(t){t.push.apply(t,this.lines)},fa.prototype.insertInner=function(t,e,n){var i=this;this.height+=n,this.lines=this.lines.slice(0,t).concat(e).concat(this.lines.slice(t));for(var r=0;r<e.length;++r)e[r].parent=i},fa.prototype.iterN=function(t,e,n){for(var i=this,r=t+e;t<r;++t)if(n(i.lines[t]))return!0};var ma=function(t){var e=this;this.children=t;for(var n=0,i=0,r=0;r<t.length;++r){var o=t[r];n+=o.chunkSize(),i+=o.height,o.parent=e}this.size=n,this.height=i,this.parent=null};ma.prototype.chunkSize=function(){return this.size},ma.prototype.removeInner=function(t,e){var n=this;this.size-=e;for(var i=0;i<this.children.length;++i){var r=n.children[i],o=r.chunkSize();if(t<o){var s=Math.min(e,o-t),a=r.height;if(r.removeInner(t,s),n.height-=a-r.height,o==s&&(n.children.splice(i--,1),r.parent=null),0==(e-=s))break;t=0}else t-=o}if(this.size-e<25&&(this.children.length>1||!(this.children[0]instanceof fa))){var l=[];this.collapse(l),this.children=[new fa(l)],this.children[0].parent=this}},ma.prototype.collapse=function(t){for(var e=this,n=0;n<this.children.length;++n)e.children[n].collapse(t)},ma.prototype.insertInner=function(t,e,n){var i=this;this.size+=e.length,this.height+=n;for(var r=0;r<this.children.length;++r){var o=i.children[r],s=o.chunkSize();if(t<=s){if(o.insertInner(t,e,n),o.lines&&o.lines.length>50){for(var a=o.lines.length%25+25,l=a;l<o.lines.length;){var u=new fa(o.lines.slice(l,l+=25));o.height-=u.height,i.children.splice(++r,0,u),u.parent=i}o.lines=o.lines.slice(0,a),i.maybeSpill()}break}t-=s}},ma.prototype.maybeSpill=function(){if(!(this.children.length<=10)){var t=this;do{var e=t.children.splice(t.children.length-5,5),n=new ma(e);if(t.parent){t.size-=n.size,t.height-=n.height;var i=p(t.parent.children,t);t.parent.children.splice(i+1,0,n)}else{var r=new ma(t.children);r.parent=t,t.children=[r,n],t=r}n.parent=t.parent}while(t.children.length>10);t.parent.maybeSpill()}},ma.prototype.iterN=function(t,e,n){for(var i=this,r=0;r<this.children.length;++r){var o=i.children[r],s=o.chunkSize();if(t<s){var a=Math.min(e,s-t);if(o.iterN(t,a,n))return!0;if(0==(e-=a))break;t=0}else t-=s}};var va=function(t,e,n){var i=this;if(n)for(var r in n)n.hasOwnProperty(r)&&(i[r]=n[r]);this.doc=t,this.node=e};va.prototype.clear=function(){var t=this,e=this.doc.cm,n=this.line.widgets,i=this.line,r=I(i);if(null!=r&&n){for(var o=0;o<n.length;++o)n[o]==t&&n.splice(o--,1);n.length||(i.widgets=null);var s=Le(this);M(i,Math.max(0,i.height-s)),e&&(hi(e,function(){Wr(e,i,-s),vi(e,r,"widget")}),Se(e,"lineWidgetCleared",e,this,r))}},va.prototype.changed=function(){var t=this,e=this.height,n=this.doc.cm,i=this.line;this.height=null;var r=Le(this)-e;r&&(M(i,i.height+r),n&&hi(n,function(){n.curOp.forceUpdate=!0,Wr(n,i,r),Se(n,"lineWidgetChanged",n,t,I(i))}))},Nt(va);var ga=0,ya=function(t,e){this.lines=[],this.type=e,this.doc=t,this.id=++ga};ya.prototype.clear=function(){var t=this;if(!this.explicitlyCleared){var e=this.doc.cm,n=e&&!e.curOp;if(n&&ii(e),At(this,"clear")){var i=this.find();i&&Se(this,"clear",i.from,i.to)}for(var r=null,o=null,s=0;s<this.lines.length;++s){var a=t.lines[s],l=G(a.markedSpans,t);e&&!t.collapsed?vi(e,I(a),"text"):e&&(null!=l.to&&(o=I(a)),null!=l.from&&(r=I(a))),a.markedSpans=K(a.markedSpans,l),null==l.from&&t.collapsed&&!vt(t.doc,a)&&e&&M(a,yn(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var u=0;u<this.lines.length;++u){var c=ht(t.lines[u]),h=bt(c);h>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=h,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&mi(e,r,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&xr(e.doc)),e&&Se(e,"markerCleared",e,this,r,o),n&&ri(e),this.parent&&this.parent.clear()}},ya.prototype.find=function(t,e){var n=this;null==t&&"bookmark"==this.type&&(t=1);for(var i,r,o=0;o<this.lines.length;++o){var s=n.lines[o],a=G(s.markedSpans,n);if(null!=a.from&&(i=D(e?s:I(s),a.from),-1==t))return i;if(null!=a.to&&(r=D(e?s:I(s),a.to),1==t))return r}return i&&{from:i,to:r}},ya.prototype.changed=function(){var t=this,e=this.find(-1,!0),n=this,i=this.doc.cm;e&&i&&hi(i,function(){var r=e.line,o=I(e.line),s=Ke(i,o);if(s&&(nn(s),i.curOp.selectionChanged=i.curOp.forceUpdate=!0),i.curOp.updateMaxLine=!0,!vt(n.doc,r)&&null!=n.height){var a=n.height;n.height=null;var l=Le(n)-a;l&&M(r,r.height+l)}Se(i,"markerChanged",i,t)})},ya.prototype.attachLine=function(t){if(!this.lines.length&&this.doc.cm){var e=this.doc.cm.curOp;e.maybeHiddenMarkers&&-1!=p(e.maybeHiddenMarkers,this)||(e.maybeUnhiddenMarkers||(e.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(t)},ya.prototype.detachLine=function(t){if(this.lines.splice(p(this.lines,t),1),!this.lines.length&&this.doc.cm){var e=this.doc.cm.curOp;(e.maybeHiddenMarkers||(e.maybeHiddenMarkers=[])).push(this)}},Nt(ya);var ba=function(t,e){var n=this;this.markers=t,this.primary=e;for(var i=0;i<t.length;++i)t[i].parent=n};ba.prototype.clear=function(){var t=this;if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)t.markers[e].clear();Se(this,"clear")}},ba.prototype.find=function(t,e){return this.primary.find(t,e)},Nt(ba);var wa=0,xa=function(t,e,n,i,r){if(!(this instanceof xa))return new xa(t,e,n,i,r);null==n&&(n=0),ma.call(this,[new fa([new $s("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.frontier=n;var o=D(n,0);this.sel=Fi(o),this.history=new $i(null),this.id=++wa,this.modeOption=e,this.lineSep=i,this.direction="rtl"==r?"rtl":"ltr",this.extend=!1,"string"==typeof t&&(t=this.splitLines(t)),Xi(this,{from:o,to:o,text:t}),yr(this,Fi(o),Is)};xa.prototype=b(ma.prototype,{constructor:xa,iter:function(t,e,n){n?this.iterN(t-this.first,e-t,n):this.iterN(this.first,this.first+this.size,t)},insert:function(t,e){for(var n=0,i=0;i<e.length;++i)n+=e[i].height;this.insertInner(t-this.first,e,n)},remove:function(t,e){this.removeInner(t-this.first,e)},getValue:function(t){var e=R(this,this.first,this.first+this.size);return!1===t?e:e.join(t||this.lineSeparator())},setValue:fi(function(t){var e=D(this.first,0),n=this.first+this.size-1;Er(this,{from:e,to:D(n,_(this,n).text.length),text:this.splitLines(t),origin:"setValue",full:!0},!0),this.cm&&Yn(this.cm,0,0),yr(this,Fi(e),Is)}),replaceRange:function(t,e,n,i){e=H(this,e),n=n?H(this,n):e,Nr(this,t,e,n,i)},getRange:function(t,e,n){var i=E(this,H(this,t),H(this,e));return!1===n?i:i.join(n||this.lineSeparator())},getLine:function(t){var e=this.getLineHandle(t);return e&&e.text},getLineHandle:function(t){if(A(this,t))return _(this,t)},getLineNumber:function(t){return I(t)},getLineHandleVisualStart:function(t){return"number"==typeof t&&(t=_(this,t)),ht(t)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(t){return H(this,t)},getCursor:function(t){var e=this.sel.primary();return null==t||"head"==t?e.head:"anchor"==t?e.anchor:"end"==t||"to"==t||!1===t?e.to():e.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:fi(function(t,e,n){mr(this,H(this,"number"==typeof t?D(t,e||0):t),null,n)}),setSelection:fi(function(t,e,n){mr(this,H(this,t),H(this,e||t),n)}),extendSelection:fi(function(t,e,n){pr(this,H(this,t),e&&H(this,e),n)}),extendSelections:fi(function(t,e){dr(this,U(this,t),e)}),extendSelectionsBy:fi(function(t,e){dr(this,U(this,v(this.sel.ranges,t)),e)}),setSelections:fi(function(t,e,n){var i=this;if(t.length){for(var r=[],o=0;o<t.length;o++)r[o]=new da(H(i,t[o].anchor),H(i,t[o].head));null==e&&(e=Math.min(t.length-1,this.sel.primIndex)),yr(this,Li(r,e),n)}}),addSelection:fi(function(t,e,n){var i=this.sel.ranges.slice(0);i.push(new da(H(this,t),H(this,e||t))),yr(this,Li(i,i.length-1),n)}),getSelection:function(t){for(var e,n=this,i=this.sel.ranges,r=0;r<i.length;r++){var o=E(n,i[r].from(),i[r].to());e=e?e.concat(o):o}return!1===t?e:e.join(t||this.lineSeparator())},getSelections:function(t){for(var e=this,n=[],i=this.sel.ranges,r=0;r<i.length;r++){var o=E(e,i[r].from(),i[r].to());!1!==t&&(o=o.join(t||e.lineSeparator())),n[r]=o}return n},replaceSelection:function(t,e,n){for(var i=[],r=0;r<this.sel.ranges.length;r++)i[r]=t;this.replaceSelections(i,e,n||"+input")},replaceSelections:fi(function(t,e,n){for(var i=this,r=[],o=this.sel,s=0;s<o.ranges.length;s++){var a=o.ranges[s];r[s]={from:a.from(),to:a.to(),text:i.splitLines(t[s]),origin:n}}for(var l=e&&"end"!=e&&Bi(this,r,e),u=r.length-1;u>=0;u--)Er(i,r[u]);l?gr(this,l):this.cm&&qn(this.cm)}),undo:fi(function(){Mr(this,"undo")}),redo:fi(function(){Mr(this,"redo")}),undoSelection:fi(function(){Mr(this,"undo",!0)}),redoSelection:fi(function(){Mr(this,"redo",!0)}),setExtending:function(t){this.extend=t},getExtending:function(){return this.extend},historySize:function(){for(var t=this.history,e=0,n=0,i=0;i<t.done.length;i++)t.done[i].ranges||++e;for(var r=0;r<t.undone.length;r++)t.undone[r].ranges||++n;return{undo:e,redo:n}},clearHistory:function(){this.history=new $i(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(t){return t&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(t){return this.history.generation==(t||this.cleanGeneration)},getHistory:function(){return{done:cr(this.history.done),undone:cr(this.history.undone)}},setHistory:function(t){var e=this.history=new $i(this.history.maxGeneration);e.done=cr(t.done.slice(0),null,!0),e.undone=cr(t.undone.slice(0),null,!0)},setGutterMarker:fi(function(t,e,n){return Fr(this,t,"gutter",function(t){var i=t.gutterMarkers||(t.gutterMarkers={});return i[e]=n,!n&&C(i)&&(t.gutterMarkers=null),!0})}),clearGutter:fi(function(t){var e=this;this.iter(function(n){n.gutterMarkers&&n.gutterMarkers[t]&&Fr(e,n,"gutter",function(){return n.gutterMarkers[t]=null,C(n.gutterMarkers)&&(n.gutterMarkers=null),!0})})}),lineInfo:function(t){var e;if("number"==typeof t){if(!A(this,t))return null;if(e=t,!(t=_(this,t)))return null}else if(null==(e=I(t)))return null;return{line:e,handle:t,text:t.text,gutterMarkers:t.gutterMarkers,textClass:t.textClass,bgClass:t.bgClass,wrapClass:t.wrapClass,widgets:t.widgets}},addLineClass:fi(function(e,n,i){return Fr(this,e,"gutter"==n?"gutter":"class",function(e){var r="text"==n?"textClass":"background"==n?"bgClass":"gutter"==n?"gutterClass":"wrapClass";if(e[r]){if(t(i).test(e[r]))return!1;e[r]+=" "+i}else e[r]=i;return!0})}),removeLineClass:fi(function(e,n,i){return Fr(this,e,"gutter"==n?"gutter":"class",function(e){var r="text"==n?"textClass":"background"==n?"bgClass":"gutter"==n?"gutterClass":"wrapClass",o=e[r];if(!o)return!1;if(null==i)e[r]=null;else{var s=o.match(t(i));if(!s)return!1;var a=s.index+s[0].length;e[r]=o.slice(0,s.index)+(s.index&&a!=o.length?" ":"")+o.slice(a)||null}return!0})}),addLineWidget:fi(function(t,e,n){return Vr(this,t,e,n)}),removeLineWidget:function(t){t.clear()},markText:function(t,e,n){return zr(this,H(this,t),H(this,e),n,n&&n.type||"range")},setBookmark:function(t,e){var n={replacedWith:e&&(null==e.nodeType?e.widget:e),insertLeft:e&&e.insertLeft,clearWhenEmpty:!1,shared:e&&e.shared,handleMouseEvents:e&&e.handleMouseEvents};return t=H(this,t),zr(this,t,t,n,"bookmark")},findMarksAt:function(t){t=H(this,t);var e=[],n=_(this,t.line).markedSpans;if(n)for(var i=0;i<n.length;++i){var r=n[i];(null==r.from||r.from<=t.ch)&&(null==r.to||r.to>=t.ch)&&e.push(r.marker.parent||r.marker)}return e},findMarks:function(t,e,n){t=H(this,t),e=H(this,e);var i=[],r=t.line;return this.iter(t.line,e.line+1,function(o){var s=o.markedSpans;if(s)for(var a=0;a<s.length;a++){var l=s[a];null!=l.to&&r==t.line&&t.ch>=l.to||null==l.from&&r!=t.line||null!=l.from&&r==e.line&&l.from>=e.ch||n&&!n(l.marker)||i.push(l.marker.parent||l.marker)}++r}),i},getAllMarks:function(){var t=[];return this.iter(function(e){var n=e.markedSpans;if(n)for(var i=0;i<n.length;++i)null!=n[i].from&&t.push(n[i].marker)}),t},posFromIndex:function(t){var e,n=this.first,i=this.lineSeparator().length;return this.iter(function(r){var o=r.text.length+i;if(o>t)return e=t,!0;t-=o,++n}),H(this,D(n,e))},indexFromPos:function(t){t=H(this,t);var e=t.ch;if(t.line<this.first||t.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,t.line,function(t){e+=t.text.length+n}),e},copy:function(t){var e=new xa(R(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return e.scrollTop=this.scrollTop,e.scrollLeft=this.scrollLeft,e.sel=this.sel,e.extend=!1,t&&(e.history.undoDepth=this.history.undoDepth,e.setHistory(this.getHistory())),e},linkedDoc:function(t){t||(t={});var e=this.first,n=this.first+this.size;null!=t.from&&t.from>e&&(e=t.from),null!=t.to&&t.to<n&&(n=t.to);var i=new xa(R(this,e,n),t.mode||this.modeOption,e,this.lineSep,this.direction);return t.sharedHist&&(i.history=this.history),(this.linked||(this.linked=[])).push({doc:i,sharedHist:t.sharedHist}),i.linked=[{doc:this,isParent:!0,sharedHist:t.sharedHist}],Ur(i,Br(this)),i},unlinkDoc:function(t){var e=this;if(t instanceof Ao&&(t=t.doc),this.linked)for(var n=0;n<this.linked.length;++n){var i=e.linked[n];if(i.doc==t){e.linked.splice(n,1),t.unlinkDoc(e),qr(Br(e));break}}if(t.history==this.history){var r=[t.id];Gi(t,function(t){return r.push(t.id)},!0),t.history=new $i(null),t.history.done=cr(this.history.done,r),t.history.undone=cr(this.history.undone,r)}},iterLinkedDocs:function(t){Gi(this,t)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(t){return this.lineSep?t.split(this.lineSep):Us(t)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:fi(function(t){"rtl"!=t&&(t="ltr"),t!=this.direction&&(this.direction=t,this.iter(function(t){return t.order=null}),this.cm&&Zi(this.cm))})}),xa.prototype.eachLine=xa.prototype.iter;for(var Ca=0,Sa=!1,ka={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",127:"Delete",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Oa=0;Oa<10;Oa++)ka[Oa+48]=ka[Oa+96]=String(Oa);for(var Ta=65;Ta<=90;Ta++)ka[Ta]=String.fromCharCode(Ta);for(var _a=1;_a<=12;_a++)ka[_a+111]=ka[_a+63235]="F"+_a;var Ea={};Ea.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ea.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ea.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ea.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ea.default=gs?Ea.macDefault:Ea.pcDefault;var Ra,Ma,Ia={selectAll:Tr,singleSelection:function(t){return t.setSelection(t.getCursor("anchor"),t.getCursor("head"),Is)},killLine:function(t){return so(t,function(e){if(e.empty()){var n=_(t.doc,e.head.line).text.length;return e.head.ch==n&&e.head.line<t.lastLine()?{from:e.head,to:D(e.head.line+1,0)}:{from:e.head,to:D(e.head.line,n)}}return{from:e.from(),to:e.to()}})},deleteLine:function(t){return so(t,function(e){return{from:D(e.from().line,0),to:H(t.doc,D(e.to().line+1,0))}})},delLineLeft:function(t){return so(t,function(t){return{from:D(t.from().line,0),to:t.from()}})},delWrappedLineLeft:function(t){return so(t,function(e){var n=t.charCoords(e.head,"div").top+5;return{from:t.coordsChar({left:0,top:n},"div"),to:e.from()}})},delWrappedLineRight:function(t){return so(t,function(e){var n=t.charCoords(e.head,"div").top+5,i=t.coordsChar({left:t.display.lineDiv.offsetWidth+100,top:n},"div");return{from:e.from(),to:i}})},undo:function(t){return t.undo()},redo:function(t){return t.redo()},undoSelection:function(t){return t.undoSelection()},redoSelection:function(t){return t.redoSelection()},goDocStart:function(t){return t.extendSelection(D(t.firstLine(),0))},goDocEnd:function(t){return t.extendSelection(D(t.lastLine()))},goLineStart:function(t){return t.extendSelectionsBy(function(e){return ao(t,e.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(t){return t.extendSelectionsBy(function(e){return uo(t,e.head)},{origin:"+move",bias:1})},goLineEnd:function(t){return t.extendSelectionsBy(function(e){return lo(t,e.head.line)},{origin:"+move",bias:-1})},goLineRight:function(t){return t.extendSelectionsBy(function(e){var n=t.charCoords(e.head,"div").top+5;return t.coordsChar({left:t.display.lineDiv.offsetWidth+100,top:n},"div")},As)},goLineLeft:function(t){return t.extendSelectionsBy(function(e){var n=t.charCoords(e.head,"div").top+5;return t.coordsChar({left:0,top:n},"div")},As)},goLineLeftSmart:function(t){return t.extendSelectionsBy(function(e){var n=t.charCoords(e.head,"div").top+5,i=t.coordsChar({left:0,top:n},"div");return i.ch<t.getLine(i.line).search(/\S/)?uo(t,e.head):i},As)},goLineUp:function(t){return t.moveV(-1,"line")},goLineDown:function(t){return t.moveV(1,"line")},goPageUp:function(t){return t.moveV(-1,"page")},goPageDown:function(t){return t.moveV(1,"page")},goCharLeft:function(t){return t.moveH(-1,"char")},goCharRight:function(t){return t.moveH(1,"char")},goColumnLeft:function(t){return t.moveH(-1,"column")},goColumnRight:function(t){return t.moveH(1,"column")},goWordLeft:function(t){return t.moveH(-1,"word")},goGroupRight:function(t){return t.moveH(1,"group")},goGroupLeft:function(t){return t.moveH(-1,"group")},goWordRight:function(t){return t.moveH(1,"word")},delCharBefore:function(t){return t.deleteH(-1,"char")},delCharAfter:function(t){return t.deleteH(1,"char")},delWordBefore:function(t){return t.deleteH(-1,"word")},delWordAfter:function(t){return t.deleteH(1,"word")},delGroupBefore:function(t){return t.deleteH(-1,"group")},delGroupAfter:function(t){return t.deleteH(1,"group")},indentAuto:function(t){return t.indentSelection("smart")},indentMore:function(t){return t.indentSelection("add")},indentLess:function(t){return t.indentSelection("subtract")},insertTab:function(t){return t.replaceSelection("\t")},insertSoftTab:function(t){for(var e=[],n=t.listSelections(),i=t.options.tabSize,r=0;r<n.length;r++){var o=n[r].from(),s=h(t.getLine(o.line),o.ch,i);e.push(f(i-s%i))}t.replaceSelections(e)},defaultTab:function(t){t.somethingSelected()?t.indentSelection("add"):t.execCommand("insertTab")},transposeChars:function(t){return hi(t,function(){for(var e=t.listSelections(),n=[],i=0;i<e.length;i++)if(e[i].empty()){var r=e[i].head,o=_(t.doc,r.line).text;if(o)if(r.ch==o.length&&(r=new D(r.line,r.ch-1)),r.ch>0)r=new D(r.line,r.ch+1),t.replaceRange(o.charAt(r.ch-1)+o.charAt(r.ch-2),D(r.line,r.ch-2),r,"+transpose");else if(r.line>t.doc.first){var s=_(t.doc,r.line-1).text;s&&(r=new D(r.line,1),t.replaceRange(o.charAt(0)+t.doc.lineSeparator()+s.charAt(s.length-1),D(r.line-1,s.length-1),r,"+transpose"))}n.push(new da(r,r))}t.setSelections(n)})},newlineAndIndent:function(t){return hi(t,function(){for(var e=t.listSelections(),n=e.length-1;n>=0;n--)t.replaceRange(t.doc.lineSeparator(),e[n].anchor,e[n].head,"+input");e=t.listSelections();for(var i=0;i<e.length;i++)t.indentLine(e[i].from().line,null,!0);qn(t)})},openLine:function(t){return t.replaceSelection("\n","start")},toggleOverwrite:function(t){return t.toggleOverwrite()}},Pa=new Ts,Aa=null,Na={toString:function(){return"CodeMirror.Init"}},Da={},ja={};Ao.defaults=Da,Ao.optionHandlers=ja;var La=[];Ao.defineInitHook=function(t){return La.push(t)};var Fa=null,Wa=function(t){var e=t.optionHandlers,n=t.helpers={};t.prototype={constructor:t,focus:function(){window.focus(),this.display.input.focus()},setOption:function(t,n){var i=this.options,r=i[t];i[t]==n&&"mode"!=t||(i[t]=n,e.hasOwnProperty(t)&&pi(this,e[t])(this,n,r),Mt(this,"optionChange",this,t))},getOption:function(t){return this.options[t]},getDoc:function(){return this.doc},addKeyMap:function(t,e){this.state.keyMaps[e?"push":"unshift"](oo(t))},removeKeyMap:function(t){for(var e=this.state.keyMaps,n=0;n<e.length;++n)if(e[n]==t||e[n].name==t)return e.splice(n,1),!0},addOverlay:di(function(e,n){var i=e.token?e:t.getMode(this.options,e);if(i.startState)throw new Error("Overlays may not be stateful.");g(this.state.overlays,{mode:i,modeSpec:e,opaque:n&&n.opaque,priority:n&&n.priority||0},function(t){return t.priority}),this.state.modeGen++,mi(this)}),removeOverlay:di(function(t){for(var e=this,n=this.state.overlays,i=0;i<n.length;++i){var r=n[i].modeSpec;if(r==t||"string"==typeof t&&r.name==t)return n.splice(i,1),e.state.modeGen++,void mi(e)}}),indentLine:di(function(t,e,n){"string"!=typeof e&&"number"!=typeof e&&(e=null==e?this.options.smartIndent?"smart":"prev":e?"add":"subtract"),A(this.doc,t)&&Do(this,t,e,n)}),indentSelection:di(function(t){for(var e=this,n=this.doc.sel.ranges,i=-1,r=0;r<n.length;r++){var o=n[r];if(o.empty())o.head.line>i&&(Do(e,o.head.line,t,!0),i=o.head.line,r==e.doc.sel.primIndex&&qn(e));else{var s=o.from(),a=o.to(),l=Math.max(i,s.line);i=Math.min(e.lastLine(),a.line-(a.ch?0:1))+1;for(var u=l;u<i;++u)Do(e,u,t);var c=e.doc.sel.ranges;0==s.ch&&n.length==c.length&&c[r].from().ch>0&&fr(e.doc,r,new da(s,c[r].to()),Is)}}}),getTokenAt:function(t,e){return re(this,t,e)},getLineTokens:function(t,e){return re(this,D(t),e,!0)},getTokenTypeAt:function(t){t=H(this.doc,t);var e,n=Qt(this,_(this.doc,t.line)),i=0,r=(n.length-1)/2,o=t.ch;if(0==o)e=n[2];else for(;;){var s=i+r>>1;if((s?n[2*s-1]:0)>=o)r=s;else{if(!(n[2*s+1]<o)){e=n[2*s+2];break}i=s+1}}var a=e?e.indexOf("overlay "):-1;return a<0?e:0==a?null:e.slice(0,a-1)},getModeAt:function(e){var n=this.doc.mode;return n.innerMode?t.innerMode(n,this.getTokenAt(e).state).mode:n},getHelper:function(t,e){return this.getHelpers(t,e)[0]},getHelpers:function(t,e){var i=this,r=[];if(!n.hasOwnProperty(e))return r;var o=n[e],s=this.getModeAt(t);if("string"==typeof s[e])o[s[e]]&&r.push(o[s[e]]);else if(s[e])for(var a=0;a<s[e].length;a++){var l=o[s[e][a]];l&&r.push(l)}else s.helperType&&o[s.helperType]?r.push(o[s.helperType]):o[s.name]&&r.push(o[s.name]);for(var u=0;u<o._global.length;u++){var c=o._global[u];c.pred(s,i)&&-1==p(r,c.val)&&r.push(c.val)}return r},getStateAfter:function(t,e){var n=this.doc;return t=z(n,null==t?n.first+n.size-1:t),te(this,t+1,e)},cursorCoords:function(t,e){var n,i=this.doc.sel.primary();return n=null==t?i.head:"object"==typeof t?H(this.doc,t):t?i.from():i.to(),hn(this,n,e||"page")},charCoords:function(t,e){return cn(this,H(this.doc,t),e||"page")},coordsChar:function(t,e){return t=un(this,t,e||"page"),fn(this,t.left,t.top)},lineAtHeight:function(t,e){return t=un(this,{top:t,left:0},e||"page").top,P(this.doc,t+this.display.viewOffset)},heightAtLine:function(t,e,n){var i,r=!1;if("number"==typeof t){var o=this.doc.first+this.doc.size-1;t<this.doc.first?t=this.doc.first:t>o&&(t=o,r=!0),i=_(this.doc,t)}else i=t;return ln(this,i,{top:0,left:0},e||"page",n||r).top+(r?this.doc.height-yt(i):0)},defaultTextHeight:function(){return yn(this.display)},defaultCharWidth:function(){return bn(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(t,e,n,i,r){var o=this.display;t=hn(this,H(this.doc,t));var s=t.bottom,a=t.left;if(e.style.position="absolute",e.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(e),o.sizer.appendChild(e),"over"==i)s=t.top;else if("above"==i||"near"==i){var l=Math.max(o.wrapper.clientHeight,this.doc.height),u=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==i||t.bottom+e.offsetHeight>l)&&t.top>e.offsetHeight?s=t.top-e.offsetHeight:t.bottom+e.offsetHeight<=l&&(s=t.bottom),a+e.offsetWidth>u&&(a=u-e.offsetWidth)}e.style.top=s+"px",e.style.left=e.style.right="","right"==r?(a=o.sizer.clientWidth-e.offsetWidth,e.style.right="0px"):("left"==r?a=0:"middle"==r&&(a=(o.sizer.clientWidth-e.offsetWidth)/2),e.style.left=a+"px"),n&&Hn(this,{left:a,top:s,right:a+e.offsetWidth,bottom:s+e.offsetHeight})},triggerOnKeyDown:di(vo),triggerOnKeyPress:di(bo),triggerOnKeyUp:yo,execCommand:function(t){if(Ia.hasOwnProperty(t))return Ia[t].call(null,this)},triggerElectric:di(function(t){Wo(this,t)}),findPosH:function(t,e,n,i){var r=this,o=1;e<0&&(o=-1,e=-e);for(var s=H(this.doc,t),a=0;a<e&&(s=Bo(r.doc,s,o,n,i),!s.hitSide);++a);return s},moveH:di(function(t,e){var n=this;this.extendSelectionsBy(function(i){return n.display.shift||n.doc.extend||i.empty()?Bo(n.doc,i.head,t,e,n.options.rtlMoveVisually):t<0?i.from():i.to()},As)}),deleteH:di(function(t,e){var n=this.doc.sel,i=this.doc;n.somethingSelected()?i.replaceSelection("",null,"+delete"):so(this,function(n){var r=Bo(i,n.head,t,e,!1);return t<0?{from:r,to:n.head}:{from:n.head,to:r}})}),findPosV:function(t,e,n,i){var r=this,o=1,s=i;e<0&&(o=-1,e=-e);for(var a=H(this.doc,t),l=0;l<e;++l){var u=hn(r,a,"div");if(null==s?s=u.left:u.left=s,a=Uo(r,u,o,n),a.hitSide)break}return a},moveV:di(function(t,e){var n=this,i=this.doc,r=[],o=!this.display.shift&&!i.extend&&i.sel.somethingSelected();if(i.extendSelectionsBy(function(s){if(o)return t<0?s.from():s.to();var a=hn(n,s.head,"div");null!=s.goalColumn&&(a.left=s.goalColumn),r.push(a.left);var l=Uo(n,a,t,e);return"page"==e&&s==i.sel.primary()&&Un(n,cn(n,l,"div").top-a.top),l},As),r.length)for(var s=0;s<i.sel.ranges.length;s++)i.sel.ranges[s].goalColumn=r[s]}),findWordAt:function(t){var e=this.doc,n=_(e,t.line).text,i=t.ch,r=t.ch;if(n){var o=this.getHelper(t,"wordChars");"before"!=t.sticky&&r!=n.length||!i?++r:--i;for(var s=n.charAt(i),a=x(s,o)?function(t){return x(t,o)}:/\s/.test(s)?function(t){return/\s/.test(t)}:function(t){return!/\s/.test(t)&&!x(t)};i>0&&a(n.charAt(i-1));)--i;for(;r<n.length&&a(n.charAt(r));)++r}return new da(D(t.line,i),D(t.line,r))},toggleOverwrite:function(t){null!=t&&t==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?a(this.display.cursorDiv,"CodeMirror-overwrite"):ks(this.display.cursorDiv,"CodeMirror-overwrite"),Mt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==s()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:di(function(t,e){Yn(this,t,e)}),getScrollInfo:function(){var t=this.display.scroller;return{left:t.scrollLeft,top:t.scrollTop,height:t.scrollHeight-He(this)-this.display.barHeight,width:t.scrollWidth-He(this)-this.display.barWidth,clientHeight:Ue(this),clientWidth:Be(this)}},scrollIntoView:di(function(t,e){null==t?(t={from:this.doc.sel.primary().head,to:null},null==e&&(e=this.options.cursorScrollMargin)):"number"==typeof t?t={from:D(t,0),to:null}:null==t.from&&(t={from:t,to:null}),t.to||(t.to=t.from),t.margin=e||0,null!=t.from.line?Xn(this,t):Kn(this,t.from,t.to,t.margin)}),setSize:di(function(t,e){var n=this,i=function(t){return"number"==typeof t||/^\d+$/.test(String(t))?t+"px":t};null!=t&&(this.display.wrapper.style.width=i(t)),null!=e&&(this.display.wrapper.style.height=i(e)),this.options.lineWrapping&&rn(this);var r=this.display.viewFrom;this.doc.iter(r,this.display.viewTo,function(t){if(t.widgets)for(var e=0;e<t.widgets.length;e++)if(t.widgets[e].noHScroll){vi(n,r,"widget");break}++r}),this.curOp.forceUpdate=!0,Mt(this,"refresh",this)}),operation:function(t){return hi(this,t)},refresh:di(function(){var t=this.display.cachedTextHeight;mi(this),this.curOp.forceUpdate=!0,on(this),Yn(this,this.doc.scrollLeft,this.doc.scrollTop),Mi(this),(null==t||Math.abs(t-yn(this.display))>.5)&&Sn(this),Mt(this,"refresh",this)}),swapDoc:di(function(t){var e=this.doc;return e.cm=null,Ki(this,t),on(this),this.display.input.reset(),Yn(this,t.scrollLeft,t.scrollTop),this.curOp.forceScroll=!0,Se(this,"swapDoc",this,e),e}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Nt(t),t.registerHelper=function(e,i,r){n.hasOwnProperty(e)||(n[e]=t[e]={_global:[]}),n[e][i]=r},t.registerGlobalHelper=function(e,i,r,o){t.registerHelper(e,i,o),n[e]._global.push({pred:r,val:o})}},Va=function(t){this.cm=t,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ts,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Va.prototype.init=function(t){function e(t){if(!It(r,t)){if(r.somethingSelected())jo({lineWise:!1,text:r.getSelections()}),"cut"==t.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var e=Vo(r);jo({lineWise:!0,text:e.text}),"cut"==t.type&&r.operation(function(){r.setSelections(e.ranges,0,Is),r.replaceSelection("",null,"cut")})}if(t.clipboardData){t.clipboardData.clearData();var n=Fa.text.join("\n");if(t.clipboardData.setData("Text",n),t.clipboardData.getData("Text")==n)return void t.preventDefault()}var s=Ho(),a=s.firstChild;r.display.lineSpace.insertBefore(s,r.display.lineSpace.firstChild),a.value=Fa.text.join("\n");var l=document.activeElement;Os(a),setTimeout(function(){r.display.lineSpace.removeChild(s),l.focus(),l==o&&i.showPrimarySelection()},50)}}var n=this,i=this,r=i.cm,o=i.div=t.lineDiv;zo(o,r.options.spellcheck),Hs(o,"paste",function(t){It(r,t)||Fo(t,r)||ss<=11&&setTimeout(pi(r,function(){return n.updateFromDOM()}),20)}),Hs(o,"compositionstart",function(t){n.composing={data:t.data,done:!1}}),Hs(o,"compositionupdate",function(t){n.composing||(n.composing={data:t.data,done:!1})}),Hs(o,"compositionend",function(t){n.composing&&(t.data!=n.composing.data&&n.readFromDOMSoon(),n.composing.done=!0)}),Hs(o,"touchstart",function(){return i.forceCompositionEnd()}),Hs(o,"input",function(){n.composing||n.readFromDOMSoon()}),Hs(o,"copy",e),Hs(o,"cut",e)},Va.prototype.prepareSelection=function(){var t=_n(this.cm,!1);return t.focus=this.cm.state.focused,t},Va.prototype.showSelection=function(t,e){t&&this.cm.display.view.length&&((t.focus||e)&&this.showPrimarySelection(),this.showMultipleSelections(t))},Va.prototype.showPrimarySelection=function(){var t=window.getSelection(),e=this.cm,n=e.doc.sel.primary(),i=n.from(),r=n.to();if(e.display.viewTo==e.display.viewFrom||i.line>=e.display.viewTo||r.line<e.display.viewFrom)return void t.removeAllRanges();var o=Ko(e,t.anchorNode,t.anchorOffset),s=Ko(e,t.focusNode,t.focusOffset);if(!o||o.bad||!s||s.bad||0!=j(V(o,s),i)||0!=j(W(o,s),r)){var a=e.display.view,l=i.line>=e.display.viewFrom&&qo(e,i)||{node:a[0].measure.map[2],offset:0},u=r.line<e.display.viewTo&&qo(e,r);if(!u){var c=a[a.length-1].measure,h=c.maps?c.maps[c.maps.length-1]:c.map;u={node:h[h.length-1],offset:h[h.length-2]-h[h.length-3]}}if(!l||!u)return void t.removeAllRanges();var p,d=t.rangeCount&&t.getRangeAt(0);try{p=xs(l.node,l.offset,u.offset,u.node)}catch(t){}p&&(!es&&e.state.focused?(t.collapse(l.node,l.offset),p.collapsed||(t.removeAllRanges(),t.addRange(p))):(t.removeAllRanges(),t.addRange(p)),d&&null==t.anchorNode?t.addRange(d):es&&this.startGracePeriod()),this.rememberSelection()}},Va.prototype.startGracePeriod=function(){var t=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){t.gracePeriod=!1,t.selectionChanged()&&t.cm.operation(function(){return t.cm.curOp.selectionChanged=!0})},20)},Va.prototype.showMultipleSelections=function(t){n(this.cm.display.cursorDiv,t.cursors),n(this.cm.display.selectionDiv,t.selection)},Va.prototype.rememberSelection=function(){var t=window.getSelection();this.lastAnchorNode=t.anchorNode,this.lastAnchorOffset=t.anchorOffset,this.lastFocusNode=t.focusNode,this.lastFocusOffset=t.focusOffset},Va.prototype.selectionInEditor=function(){var t=window.getSelection();if(!t.rangeCount)return!1;var e=t.getRangeAt(0).commonAncestorContainer;return o(this.div,e)},Va.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Va.prototype.blur=function(){this.div.blur()},Va.prototype.getField=function(){return this.div},Va.prototype.supportsTouch=function(){return!0},Va.prototype.receivedFocus=function(){function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}var e=this;this.selectionInEditor()?this.pollSelection():hi(this.cm,function(){return e.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,t)},Va.prototype.selectionChanged=function(){var t=window.getSelection();return t.anchorNode!=this.lastAnchorNode||t.anchorOffset!=this.lastAnchorOffset||t.focusNode!=this.lastFocusNode||t.focusOffset!=this.lastFocusOffset},Va.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var t=window.getSelection(),e=this.cm;if(ms&&us&&this.cm.options.gutters.length&&Yo(t.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=Ko(e,t.anchorNode,t.anchorOffset),i=Ko(e,t.focusNode,t.focusOffset);n&&i&&hi(e,function(){yr(e.doc,Fi(n,i),Is),(n.bad||i.bad)&&(e.curOp.selectionChanged=!0)})}}},Va.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var t=this.cm,e=t.display,n=t.doc.sel.primary(),i=n.from(),r=n.to();if(0==i.ch&&i.line>t.firstLine()&&(i=D(i.line-1,_(t.doc,i.line-1).length)),r.ch==_(t.doc,r.line).text.length&&r.line<t.lastLine()&&(r=D(r.line+1,0)),i.line<e.viewFrom||r.line>e.viewTo-1)return!1;var o,s,a;i.line==e.viewFrom||0==(o=On(t,i.line))?(s=I(e.view[0].line),a=e.view[0].node):(s=I(e.view[o].line),a=e.view[o-1].node.nextSibling);var l,u,c=On(t,r.line);if(c==e.view.length-1?(l=e.viewTo-1,u=e.lineDiv.lastChild):(l=I(e.view[c+1].line)-1,u=e.view[c+1].node.previousSibling),!a)return!1;for(var h=t.doc.splitLines(Go(t,a,u,s,l)),p=E(t.doc,D(s,0),D(l,_(t.doc,l).text.length));h.length>1&&p.length>1;)if(m(h)==m(p))h.pop(),p.pop(),l--;else{if(h[0]!=p[0])break;h.shift(),p.shift(),s++}for(var d=0,f=0,v=h[0],g=p[0],y=Math.min(v.length,g.length);d<y&&v.charCodeAt(d)==g.charCodeAt(d);)++d;for(var b=m(h),w=m(p),x=Math.min(b.length-(1==h.length?d:0),w.length-(1==p.length?d:0));f<x&&b.charCodeAt(b.length-f-1)==w.charCodeAt(w.length-f-1);)++f;if(1==h.length&&1==p.length&&s==i.line)for(;d&&d>i.ch&&b.charCodeAt(b.length-f-1)==w.charCodeAt(w.length-f-1);)d--,f++;h[h.length-1]=b.slice(0,b.length-f).replace(/^\u200b+/,""),h[0]=h[0].slice(d).replace(/\u200b+$/,"");var C=D(s,d),S=D(l,p.length?m(p).length-f:0);return h.length>1||h[0]||j(C,S)?(Nr(t.doc,h,C,S,"+input"),!0):void 0},Va.prototype.ensurePolled=function(){this.forceCompositionEnd()},Va.prototype.reset=function(){this.forceCompositionEnd()},Va.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Va.prototype.readFromDOMSoon=function(){var t=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(t.readDOMTimeout=null,t.composing){if(!t.composing.done)return;t.composing=null}t.updateFromDOM()},80))},Va.prototype.updateFromDOM=function(){var t=this;!this.cm.isReadOnly()&&this.pollContent()||hi(this.cm,function(){return mi(t.cm)})},Va.prototype.setUneditable=function(t){t.contentEditable="false"},Va.prototype.onKeyPress=function(t){0!=t.charCode&&(t.preventDefault(),this.cm.isReadOnly()||pi(this.cm,Lo)(this.cm,String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),0))},Va.prototype.readOnlyChanged=function(t){this.div.contentEditable=String("nocursor"!=t)},Va.prototype.onContextMenu=function(){},Va.prototype.resetPosition=function(){},Va.prototype.needsContentAttribute=!0;var za=function(t){this.cm=t,this.prevInput="",this.pollingFast=!1,this.polling=new Ts,this.inaccurateSelection=!1,this.hasSelection=!1,this.composing=null};za.prototype.init=function(t){function e(t){if(!It(r,t)){if(r.somethingSelected())jo({lineWise:!1,text:r.getSelections()}),i.inaccurateSelection&&(i.prevInput="",i.inaccurateSelection=!1,s.value=Fa.text.join("\n"),Os(s));else{if(!r.options.lineWiseCopyCut)return;var e=Vo(r);jo({lineWise:!0,text:e.text}),"cut"==t.type?r.setSelections(e.ranges,null,Is):(i.prevInput="",s.value=e.text.join("\n"),Os(s))}"cut"==t.type&&(r.state.cutIncoming=!0)}}var n=this,i=this,r=this.cm,o=this.wrapper=Ho(),s=this.textarea=o.firstChild;t.wrapper.insertBefore(o,t.wrapper.firstChild),fs&&(s.style.width="0px"),Hs(s,"input",function(){os&&ss>=9&&n.hasSelection&&(n.hasSelection=null),i.poll()}),Hs(s,"paste",function(t){It(r,t)||Fo(t,r)||(r.state.pasteIncoming=!0,i.fastPoll())}),Hs(s,"cut",e),Hs(s,"copy",e),Hs(t.scroller,"paste",function(e){Fe(t,e)||It(r,e)||(r.state.pasteIncoming=!0,i.focus())}),Hs(t.lineSpace,"selectstart",function(e){Fe(t,e)||Dt(e)}),Hs(s,"compositionstart",function(){var t=r.getCursor("from");i.composing&&i.composing.range.clear(),i.composing={start:t,range:r.markText(t,r.getCursor("to"),{className:"CodeMirror-composing"})}}),Hs(s,"compositionend",function(){i.composing&&(i.poll(),i.composing.range.clear(),i.composing=null)})},za.prototype.prepareSelection=function(){var t=this.cm,e=t.display,n=t.doc,i=_n(t);if(t.options.moveInputWithCursor){var r=hn(t,n.sel.primary().head,"div"),o=e.wrapper.getBoundingClientRect(),s=e.lineDiv.getBoundingClientRect();i.teTop=Math.max(0,Math.min(e.wrapper.clientHeight-10,r.top+s.top-o.top)),i.teLeft=Math.max(0,Math.min(e.wrapper.clientWidth-10,r.left+s.left-o.left))}return i},za.prototype.showSelection=function(t){var e=this.cm,i=e.display;n(i.cursorDiv,t.cursors),n(i.selectionDiv,t.selection),null!=t.teTop&&(this.wrapper.style.top=t.teTop+"px",this.wrapper.style.left=t.teLeft+"px")},za.prototype.reset=function(t){if(!this.contextMenuPending&&!this.composing){var e,n,i=this.cm,r=i.doc;if(i.somethingSelected()){this.prevInput="";var o=r.sel.primary();e=Ys&&(o.to().line-o.from().line>100||(n=i.getSelection()).length>1e3);var s=e?"-":n||i.getSelection();this.textarea.value=s,i.state.focused&&Os(this.textarea),os&&ss>=9&&(this.hasSelection=s)}else t||(this.prevInput=this.textarea.value="",os&&ss>=9&&(this.hasSelection=null));this.inaccurateSelection=e}},za.prototype.getField=function(){return this.textarea},za.prototype.supportsTouch=function(){return!1},za.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!vs||s()!=this.textarea))try{this.textarea.focus()}catch(t){}},za.prototype.blur=function(){this.textarea.blur()},za.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},za.prototype.receivedFocus=function(){this.slowPoll()},za.prototype.slowPoll=function(){var t=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){t.poll(),t.cm.state.focused&&t.slowPoll()})},za.prototype.fastPoll=function(){function t(){n.poll()||e?(n.pollingFast=!1,n.slowPoll()):(e=!0,n.polling.set(60,t))}var e=!1,n=this;n.pollingFast=!0,n.polling.set(20,t)},za.prototype.poll=function(){var t=this,e=this.cm,n=this.textarea,i=this.prevInput;if(this.contextMenuPending||!e.state.focused||qs(n)&&!i&&!this.composing||e.isReadOnly()||e.options.disableInput||e.state.keySeq)return!1;var r=n.value;if(r==i&&!e.somethingSelected())return!1;if(os&&ss>=9&&this.hasSelection===r||gs&&/[\uf700-\uf7ff]/.test(r))return e.display.input.reset(),!1;if(e.doc.sel==e.display.selForContextMenu){var o=r.charCodeAt(0);if(8203!=o||i||(i="​"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var s=0,a=Math.min(i.length,r.length);s<a&&i.charCodeAt(s)==r.charCodeAt(s);)++s;return hi(e,function(){Lo(e,r.slice(s),i.length-s,null,t.composing?"*compose":null),r.length>1e3||r.indexOf("\n")>-1?n.value=t.prevInput="":t.prevInput=r,t.composing&&(t.composing.range.clear(),t.composing.range=e.markText(t.composing.start,e.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},za.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},za.prototype.onKeyPress=function(){os&&ss>=9&&(this.hasSelection=null),this.fastPoll()},za.prototype.onContextMenu=function(t){function e(){if(null!=s.selectionStart){var t=r.somethingSelected(),e="​"+(t?s.value:"");s.value="⇚",s.value=e,i.prevInput=t?"":"​",s.selectionStart=1,s.selectionEnd=e.length,o.selForContextMenu=r.doc.sel}}function n(){if(i.contextMenuPending=!1,i.wrapper.style.cssText=c,s.style.cssText=u,os&&ss<9&&o.scrollbars.setScrollTop(o.scroller.scrollTop=l),null!=s.selectionStart){(!os||os&&ss<9)&&e();var t=0,n=function(){o.selForContextMenu==r.doc.sel&&0==s.selectionStart&&s.selectionEnd>0&&"​"==i.prevInput?pi(r,Tr)(r):t++<10?o.detectingSelectAll=setTimeout(n,500):(o.selForContextMenu=null,o.input.reset())};o.detectingSelectAll=setTimeout(n,200)}}var i=this,r=i.cm,o=r.display,s=i.textarea,a=kn(r,t),l=o.scroller.scrollTop;if(a&&!cs){r.options.resetSelectionOnContextMenu&&-1==r.doc.sel.contains(a)&&pi(r,yr)(r.doc,Fi(a),Is);var u=s.style.cssText,c=i.wrapper.style.cssText;i.wrapper.style.cssText="position: absolute";var h=i.wrapper.getBoundingClientRect();s.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(t.clientY-h.top-5)+"px; left: "+(t.clientX-h.left-5)+"px;\n z-index: 1000; background: "+(os?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var p;if(as&&(p=window.scrollY),o.input.focus(),as&&window.scrollTo(null,p),o.input.reset(),r.somethingSelected()||(s.value=i.prevInput=" "),i.contextMenuPending=!0,o.selForContextMenu=r.doc.sel,clearTimeout(o.detectingSelectAll),os&&ss>=9&&e(),Ss){Ft(t);var d=function(){Rt(window,"mouseup",d),setTimeout(n,20)};Hs(window,"mouseup",d)}else setTimeout(n,50)}},za.prototype.readOnlyChanged=function(t){t||this.reset()},za.prototype.setUneditable=function(){},za.prototype.needsContentAttribute=!1,Ro(Ao),Wa(Ao);var Ha="iter insert remove copy getEditor constructor".split(" ");for(var Ba in xa.prototype)xa.prototype.hasOwnProperty(Ba)&&p(Ha,Ba)<0&&(Ao.prototype[Ba]=function(t){return function(){return t.apply(this.doc,arguments)}}(xa.prototype[Ba]));return Nt(xa),Ao.inputStyles={textarea:za,contenteditable:Va},Ao.defineMode=function(t){Ao.defaults.mode||"null"==t||(Ao.defaults.mode=t),Ut.apply(this,arguments)},Ao.defineMIME=qt,Ao.defineMode("null",function(){return{token:function(t){return t.skipToEnd()}}}),Ao.defineMIME("text/plain","null"),Ao.defineExtension=function(t,e){Ao.prototype[t]=e},Ao.defineDocExtension=function(t,e){xa.prototype[t]=e},Ao.fromTextArea=Zo,$o(Ao),Ao.version="5.26.0",Ao})},"8Z8y":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=function(t){function e(){var e=t.call(this,"argument out of range");this.name=e.name="ArgumentOutOfRangeError",this.stack=e.stack,this.message=e.message}return i(e,t),e}(Error);e.ArgumentOutOfRangeError=r},"8hgl":function(t,e,n){"use strict";function i(t,e){return this.lift(new l(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("+3eL"),a=n("WhVc");e.distinctUntilChanged=i;var l=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,n,i){t.call(this,e),this.keySelector=i,this.hasKey=!1,"function"==typeof n&&(this.compare=n)}return r(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e=this.keySelector,n=t;if(e&&(n=s.tryCatch(this.keySelector)(t))===a.errorObject)return this.destination.error(a.errorObject.e);var i=!1;if(this.hasKey){if((i=s.tryCatch(this.compare)(this.key,n))===a.errorObject)return this.destination.error(a.errorObject.e)}else this.hasKey=!0;!1===Boolean(i)&&(this.key=n,this.destination.next(t))},e}(o.Subscriber)},"8szd":function(t,e,n){"use strict";var i=n("rCTf"),r=n("RyDc");i.Observable.prototype.skipUntil=r.skipUntil},"94IA":function(t,e,n){"use strict";var i=n("rCTf"),r=n("aec7");i.Observable.prototype.delay=r.delay},"9Avi":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("cPwE"),o=function(t){function e(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return i(e,t),e.prototype.flush=function(t){var e=this.actions;if(this.active)return void e.push(t);var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}},e}(r.Scheduler);e.AsyncScheduler=o},"9JPB":function(t,e,n){"use strict";var i=n("VOfZ"),r=n("2ER/");e.Map=i.root.Map||function(){return r.MapPolyfill}()},"9PGs":function(t,e,n){"use strict";function i(){return this.lift(new s)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.toArray=i;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e),this.array=[]}return r(e,t),e.prototype._next=function(t){this.array.push(t)},e.prototype._complete=function(){this.destination.next(this.array),this.destination.complete()},e}(o.Subscriber)},"9TuE":function(t,e,n){"use strict";function i(){return this.lift(new s)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.isEmpty=i;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e)}return r(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(o.Subscriber)},"9WjZ":function(t,e,n){"use strict";var i=n("rCTf"),r=n("+vPe");i.Observable.never=r.never},"9XFw":function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){}return t}();r.decorators=[{type:i.Component,args:[{selector:"ngb-modal-backdrop",template:"",host:{class:"modal-backdrop fade show"}}]}],r.ctorParameters=function(){return[]}},"9oY/":function(t,e,n){"use strict";var i=n("L2Hk");e.fromEventPattern=i.FromEventPatternObservable.create},"9oiU":function(t,e,n){"use strict";function i(t){return this.lift(new s(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.mapTo=i;var s=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.value))},t}(),a=function(t){function e(e,n){t.call(this,e),this.value=n}return r(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(o.Subscriber)},"9qUs":function(t,e,n){"use strict";var i=n("rCTf"),r=n("M5jZ");i.Observable.prototype.skip=r.skip},A7JX:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null;return"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&s.isArray(t[0])&&(t=t[0].slice()),t.unshift(this),this.lift.call(new o.ArrayObservable(t),new c(n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("Yh8Q"),s=n("Xajo"),a=n("wAkD"),l=n("CURp"),u={};e.combineLatest=i;var c=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.project))},t}();e.CombineLatestOperator=c;var h=function(t){function e(e,n){t.call(this,e),this.project=n,this.active=0,this.values=[],this.observables=[]}return r(e,t),e.prototype._next=function(t){this.values.push(u),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var i=t[n];this.add(l.subscribeToResult(this,i,i,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,i,r){var o=this.values,s=o[n],a=this.toRespond?s===u?--this.toRespond:this.toRespond:0;o[n]=e,0===a&&(this.project?this._tryProject(o):this.destination.next(o.slice()))},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}(a.OuterSubscriber);e.CombineLatestSubscriber=h},A8b0:function(t,e,n){"use strict";var i=n("3j3K"),r=n("2Je8"),o=n("aKiW"),s=n("qQ/N");n.d(e,"a",function(){return a});var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}();a.decorators=[{type:i.NgModule,args:[{declarations:[s.a],exports:[s.a],imports:[r.CommonModule]}]}],a.ctorParameters=function(){return[]}},AGQa:function(t,e,n){"use strict";var i=n("rCTf"),r=n("vvwv");i.Observable.empty=r.empty},AQOC:function(t,e,n){"use strict";function i(t,e){return r.distinctUntilChanged.call(this,function(n,i){return e?e(n[t],i[t]):n[t]===i[t]})}var r=n("8hgl");e.distinctUntilKeyChanged=i},ASN6:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 1===t.length&&a.isArray(t[0])&&(t=t[0]),this.lift(new c(t))}function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null;return 1===t.length&&a.isArray(t[0])&&(t=t[0]),n=t.shift(),new s.FromObservable(n,null).lift(new c(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("JkZN"),a=n("Xajo"),l=n("wAkD"),u=n("CURp");e.onErrorResumeNext=i,e.onErrorResumeNextStatic=r;var c=function(){function t(t){this.nextSources=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.nextSources))},t}(),h=function(t){function e(e,n){t.call(this,e),this.destination=e,this.nextSources=n}return o(e,t),e.prototype.notifyError=function(t,e){this.subscribeToNextSource()},e.prototype.notifyComplete=function(t){this.subscribeToNextSource()},e.prototype._error=function(t){this.subscribeToNextSource()},e.prototype._complete=function(){this.subscribeToNextSource()},e.prototype.subscribeToNextSource=function(){var t=this.nextSources.shift();t?this.add(u.subscribeToResult(this,t)):this.destination.complete()},e}(l.OuterSubscriber)},AXLD:function(t,e,n){"use strict";function i(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,3,"option",[],null,null,null,null,null)),a["ɵdid"](147456,null,0,l.NgSelectOption,[a.ElementRef,a.Renderer,[8,null]],{value:[0,"value"]},null),a["ɵdid"](147456,null,0,l["ɵq"],[a.ElementRef,a.Renderer,[8,null]],{value:[0,"value"]},null),(t()(),a["ɵted"](null,["",""]))],function(t,e){t(e,1,0,e.context.$implicit),t(e,2,0,e.context.$implicit)},function(t,e){t(e,3,0,e.component.i18n.getMonthShortName(e.context.$implicit))})}function r(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,3,"option",[],null,null,null,null,null)),a["ɵdid"](147456,null,0,l.NgSelectOption,[a.ElementRef,a.Renderer,[8,null]],{value:[0,"value"]},null),a["ɵdid"](147456,null,0,l["ɵq"],[a.ElementRef,a.Renderer,[8,null]],{value:[0,"value"]},null),(t()(),a["ɵted"](null,["",""]))],function(t,e){t(e,1,0,e.context.$implicit),t(e,2,0,e.context.$implicit)},function(t,e){t(e,3,0,e.context.$implicit)})}function o(t){return a["ɵvid"](0,[(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,4,"select",[["class","custom-select d-inline-block"]],[[8,"disabled",0],[8,"value",0]],[[null,"change"]],function(t,e,n){var i=!0,r=t.component;if("change"===e){i=!1!==r.changeMonth(n.target.value)&&i}return i},null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵand"](16777216,null,null,1,null,i)),a["ɵdid"](802816,null,0,c.NgForOf,[a.ViewContainerRef,a.TemplateRef,a.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,4,"select",[["class","custom-select d-inline-block"]],[[8,"disabled",0],[8,"value",0]],[[null,"change"]],function(t,e,n){var i=!0,r=t.component;if("change"===e){i=!1!==r.changeYear(n.target.value)&&i}return i},null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵand"](16777216,null,null,1,null,r)),a["ɵdid"](802816,null,0,c.NgForOf,[a.ViewContainerRef,a.TemplateRef,a.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵted"](null,[" \n "]))],function(t,e){var n=e.component;t(e,4,0,n.months),t(e,9,0,n.years)},function(t,e){var n=e.component;t(e,1,0,n.disabled,null==n.date?null:n.date.month),t(e,6,0,n.disabled,null==n.date?null:n.date.year)})}function s(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,1,"ngb-datepicker-navigation-select",[],null,null,null,h.a,h.b)),a["ɵdid"](573440,null,0,u.a,[p.a,d.a],null,null)],null,null)}var a=n("3j3K"),l=n("NVOs"),u=n("qBUJ"),c=n("2Je8"),h=n("AXLD"),p=n("gEbu"),d=n("lcaH");n.d(e,"b",function(){return m}),e.a=o;var f=["select[_ngcontent-%COMP%] {\n \n padding: 0.25rem 0.5rem;\n font-size: 0.875rem; \n line-height: 1.25;\n \n height: inherit;\n width: 50%;\n }"],m=a["ɵcrt"]({encapsulation:0,styles:f,data:{}});a["ɵccf"]("ngb-datepicker-navigation-select",u.a,s,{date:"date",disabled:"disabled",maxDate:"maxDate",minDate:"minDate"},{select:"select"},[])},AZSN:function(t,e,n){"use strict";function i(t){return this.lift(new a(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.buffer=i;var a=function(){function t(t){this.closingNotifier=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.closingNotifier))},t}(),l=function(t){function e(e,n){t.call(this,e),this.buffer=[],this.add(s.subscribeToResult(this,n))}return r(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype.notifyNext=function(t,e,n,i,r){var o=this.buffer;this.buffer=[],this.destination.next(o)},e}(o.OuterSubscriber)},B2te:function(t,e,n){"use strict";var i=n("rCTf"),r=n("0VSF");i.Observable.prototype.sample=r.sample},BnNN:function(t,e,n){"use strict";var i=this&&this.__decorate||function(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},r=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var o=n("3j3K"),s=n("7064"),a=function(){function t(t){this.resolver=t,this.dialogs=[]}return t.prototype.addDialog=function(t,e,n){var i=this;n=n||{};var r=this.resolver.resolveComponentFactory(s.DialogWrapperComponent),o=this.element.createComponent(r,n.index),a=o.instance,l=a.addComponent(t);return void 0!==n.index?this.dialogs.splice(n.index,0,l):this.dialogs.push(l),setTimeout(function(){a.container.nativeElement.classList.add("show"),a.container.nativeElement.classList.add("in")}),n.autoCloseTimeout&&setTimeout(function(){i.removeDialog(l)},n.autoCloseTimeout),n.closeByClickingOutside&&a.closeByClickOutside(),n.backdropColor&&(a.container.nativeElement.style.backgroundColor=n.backdropColor),l.fillData(e)},t.prototype.removeDialog=function(t){var e=this,n=t.wrapper.container.nativeElement;n.classList.remove("show"),n.classList.remove("in"),setTimeout(function(){e._removeElement(t)},300)},t.prototype._removeElement=function(t){var e=this.dialogs.indexOf(t);e>-1&&(this.element.remove(e),this.dialogs.splice(e,1))},t.prototype.clear=function(){this.element.clear(),this.dialogs=[]},t}();i([o.ViewChild("element",{read:o.ViewContainerRef}),r("design:type",o.ViewContainerRef)],a.prototype,"element",void 0),a=i([o.Component({selector:"dialog-holder",template:"<template #element></template>"}),r("design:paramtypes",[o.ComponentFactoryResolver])],a),e.DialogHolderComponent=a},"C0+T":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("9Avi"),o=function(t){function e(){t.apply(this,arguments)}return i(e,t),e}(r.AsyncScheduler);e.QueueScheduler=o},C4lF:function(t,e,n){"use strict";function i(){return this.lift(new a)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("YOd+");e.ignoreElements=i;var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype._next=function(t){s.noop()},e}(o.Subscriber)},CGGv:function(t,e,n){"use strict";var i=n("cwzr"),r=n("9Avi");e.async=new r.AsyncScheduler(i.AsyncAction)},CK2l:function(t,e,n){!function(t){t(n("8U58"),n("c+I8"),n("RkhK"))}(function(t){"use strict";function e(t,e){return"string"==typeof t?t=new RegExp(t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),e?"gi":"g"):t.global||(t=new RegExp(t.source,t.ignoreCase?"gi":"g")),{token:function(e){t.lastIndex=e.pos;var n=t.exec(e.string);if(n&&n.index==e.pos)return e.pos+=n[0].length||1,"searching";n?e.pos=n.index:e.skipToEnd()}}}function n(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function i(t){return t.state.search||(t.state.search=new n)}function r(t){return"string"==typeof t&&t==t.toLowerCase()}function o(t,e,n){return t.getSearchCursor(e,n,{caseFold:r(e),multiline:!0})}function s(t,e,n,i,r){t.openDialog(e,i,{value:n,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){f(t)},onKeyDown:r})}function a(t,e,n,i,r){t.openDialog?t.openDialog(e,r,{value:i,selectValueOnOpen:!0}):r(prompt(n,i))}function l(t,e,n,i){t.openConfirm?t.openConfirm(e,i):confirm(n)&&i[0]()}function u(t){return t.replace(/\\(.)/g,function(t,e){return"n"==e?"\n":"r"==e?"\r":e})}function c(t){var e=t.match(/^\/(.*)\/([a-z]*)$/);if(e)try{t=new RegExp(e[1],-1==e[2].indexOf("i")?"":"i")}catch(t){}else t=u(t);return("string"==typeof t?""==t:t.test(""))&&(t=/x^/),t}function h(t,n,i){n.queryText=i,n.query=c(i),t.removeOverlay(n.overlay,r(n.query)),n.overlay=e(n.query,r(n.query)),t.addOverlay(n.overlay),t.showMatchesOnScrollbar&&(n.annotate&&(n.annotate.clear(),n.annotate=null),n.annotate=t.showMatchesOnScrollbar(n.query,r(n.query)))}function p(e,n,r,o){var l=i(e);if(l.query)return d(e,n);var u=e.getSelection()||l.lastQuery;if(r&&e.openDialog){var c=null,p=function(n,i){t.e_stop(i),n&&(n!=l.queryText&&(h(e,l,n),l.posFrom=l.posTo=e.getCursor()),c&&(c.style.opacity=1),d(e,i.shiftKey,function(t,n){var i;n.line<3&&document.querySelector&&(i=e.display.wrapper.querySelector(".CodeMirror-dialog"))&&i.getBoundingClientRect().bottom-4>e.cursorCoords(n,"window").top&&((c=i).style.opacity=.4)}))};s(e,g,u,p,function(n,r){var o=t.keyName(n),s=t.keyMap[e.getOption("keyMap")][o];s||(s=e.getOption("extraKeys")[o]),"findNext"==s||"findPrev"==s||"findPersistentNext"==s||"findPersistentPrev"==s?(t.e_stop(n),h(e,i(e),r),e.execCommand(s)):"find"!=s&&"findPersistent"!=s||(t.e_stop(n),p(r,n))}),o&&u&&(h(e,l,u),d(e,n))}else a(e,g,"Buscar por:",u,function(t){t&&!l.query&&e.operation(function(){h(e,l,t),l.posFrom=l.posTo=e.getCursor(),d(e,n)})})}function d(e,n,r){e.operation(function(){var s=i(e),a=o(e,s.query,n?s.posFrom:s.posTo);(a.find(n)||(a=o(e,s.query,n?t.Pos(e.lastLine()):t.Pos(e.firstLine(),0)),a.find(n)))&&(e.setSelection(a.from(),a.to()),e.scrollIntoView({from:a.from(),to:a.to()},20),s.posFrom=a.from(),s.posTo=a.to(),r&&r(a.from(),a.to()))})}function f(t){t.operation(function(){var e=i(t);e.lastQuery=e.query,e.query&&(e.query=e.queryText=null,t.removeOverlay(e.overlay),e.annotate&&(e.annotate.clear(),e.annotate=null))})}function m(t,e,n){t.operation(function(){for(var i=o(t,e);i.findNext();)if("string"!=typeof e){var r=t.getRange(i.from(),i.to()).match(e);i.replace(n.replace(/\$(\d)/g,function(t,e){return r[e]}))}else i.replace(n)})}function v(t,e){if(!t.getOption("readOnly")){var n=t.getSelection()||i(t).lastQuery,r='<span class="CodeMirror-search-label">'+(e?"Reemplazar todo:":"Reemplazar:")+"</span>";a(t,r+y,r,n,function(n){n&&(n=c(n),a(t,b,"Reemplazar con:","",function(i){if(i=u(i),e)m(t,n,i);else{f(t);var r=o(t,n,t.getCursor("from")),s=function(){var e,u=r.from();!(e=r.findNext())&&(r=o(t,n),!(e=r.findNext())||u&&r.from().line==u.line&&r.from().ch==u.ch)||(t.setSelection(r.from(),r.to()),t.scrollIntoView({from:r.from(),to:r.to()}),l(t,w,"Reemplazar?",[function(){a(e)},s,function(){m(t,n,i)}]))},a=function(t){r.replace("string"==typeof n?i:i.replace(/\$(\d)/g,function(e,n){return t[n]})),s()};s()}}))})}}var g='<span class="CodeMirror-search-label">Buscar:</span> <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint"></span>',y=' <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint"></span>',b='<span class="CodeMirror-search-label">Con:</span> <input type="text" style="width: 10em" class="CodeMirror-search-field"/>',w='<span class="CodeMirror-search-label">Reemplazar?</span> <button>Si</button> <button>No</button> <button>Todos</button> <button>Cancelar</button>';t.commands.find=function(t){f(t),p(t)},t.commands.findPersistent=function(t){f(t),p(t,!1,!0)},t.commands.findPersistentNext=function(t){p(t,!1,!0,!0)},t.commands.findPersistentPrev=function(t){p(t,!0,!0,!0)},t.commands.findNext=p,t.commands.findPrev=function(t){p(t,!0)},t.commands.clearSearch=f,t.commands.replace=v,t.commands.replaceAll=function(t){v(t,!0)}})},CMrU:function(t,e,n){"use strict";var i=n("rCTf"),r=n("CfHE");i.Observable.prototype.concatAll=r.concatAll},CO0D:function(t,e,n){"use strict";var i=n("lcaH"),r=n("3j3K"),o=n("2yGx");n.d(e,"a",function(){return a});var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.getDaysPerWeek=function(){return 7},e.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},e.prototype.getWeeksPerMonth=function(){return 6},e.prototype.isValid=function(t){return t&&n.i(o.a)(t.year)&&n.i(o.a)(t.month)&&n.i(o.a)(t.day)&&!isNaN(this.toGregorian(t).getTime())},e.prototype.setDay=function(t,e){e=+e;var n=this.getDaysInIslamicMonth(t.month,t.year);if(e<=0)for(;e<=0;)t=this.setMonth(t,t.month-1),n=this.getDaysInIslamicMonth(t.month,t.year),e+=n;else if(e>n)for(;e>n;)e-=n,t=this.setMonth(t,t.month+1),n=this.getDaysInIslamicMonth(t.month,t.year);return t.day=e,t},e.prototype.setMonth=function(t,e){return e=+e,t.year=t.year+Math.floor((e-1)/12),t.month=Math.floor(((e-1)%12+12)%12)+1,t},e.prototype.setYear=function(t,e){return t.year=+e,t},e.prototype._isIslamicLeapYear=function(t){return(14+11*t)%30<11},e.prototype._getMonthStart=function(t,e){return Math.ceil(29.5*e)+354*(t-1)+Math.floor((3+11*t)/30)},e.prototype._getYearStart=function(t){return 354*(t-1)+Math.floor((3+11*t)/30)},e}(i.a);a.decorators=[{type:r.Injectable}],a.ctorParameters=function(){return[]}},CToi:function(t,e,n){"use strict";var i=n("rCTf"),r=n("ZvZx");i.Observable.prototype.max=r.max},CXHW:function(t,e,n){"use strict";var i=n("3j3K"),r=n("/PMa"),o=n("2yGx"),s=n("9XFw"),a=n("xOmt"),l=n("WtdY");n.d(e,"a",function(){return u});var u=function(){function t(t,e,n){this._applicationRef=t,this._injector=e,this._componentFactoryResolver=n,this._backdropFactory=n.resolveComponentFactory(s.a),this._windowFactory=n.resolveComponentFactory(a.a)}return t.prototype.open=function(t,e,n,i){var r=i.container||"body",o=document.querySelector(r);if(!o)throw new Error('The specified modal container "'+r+'" was not found in the DOM.');var s,a,u,c=new l.a,h=this._getContentRef(t,e,n,c);return!1!==i.backdrop&&(a=this._backdropFactory.create(this._injector),this._applicationRef.attachView(a.hostView),o.appendChild(a.location.nativeElement)),s=this._windowFactory.create(this._injector,h.nodes),this._applicationRef.attachView(s.hostView),o.appendChild(s.location.nativeElement),u=new l.b(s,h,a),c.close=function(t){u.close(t)},c.dismiss=function(t){u.dismiss(t)},this._applyWindowOptions(s.instance,i),u},t.prototype._applyWindowOptions=function(t,e){["backdrop","keyboard","size","windowClass"].forEach(function(i){n.i(o.h)(e[i])&&(t[i]=e[i])})},t.prototype._getContentRef=function(t,e,s,a){if(s){if(s instanceof i.TemplateRef){var u=s.createEmbeddedView(a);return this._applicationRef.attachView(u),new r.b([u.rootNodes],u)}if(n.i(o.f)(s))return new r.b([[document.createTextNode(""+s)]]);var c=t.resolveComponentFactory(s),h=i.ReflectiveInjector.resolveAndCreate([{provide:l.a,useValue:a}],e),p=c.create(h);return this._applicationRef.attachView(p.hostView),new r.b([[p.location.nativeElement]],p.hostView,p)}return new r.b([])},t}();u.decorators=[{type:i.Injectable}],u.ctorParameters=function(){return[{type:i.ApplicationRef},{type:i.Injector},{type:i.ComponentFactoryResolver}]}},CYDS:function(t,e,n){"use strict";var i=n("rCTf"),r=n("/TOt");i.Observable.prototype.auditTime=r.auditTime},Cr1h:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rCTf"),o=n("B00U"),s=n("y9a2"),a=n("g28B"),l=function(t){function e(e,n){t.call(this,function(t){var e=this,n=e.logSubscribedFrame();return t.add(new o.Subscription(function(){e.logUnsubscribedFrame(n)})),e.scheduleMessages(t),t}),this.messages=e,this.subscriptions=[],this.scheduler=n}return i(e,t),e.prototype.scheduleMessages=function(t){for(var e=this.messages.length,n=0;n<e;n++){var i=this.messages[n];t.add(this.scheduler.schedule(function(t){var e=t.message,n=t.subscriber;e.notification.observe(n)},i.frame,{message:i,subscriber:t}))}},e}(r.Observable);e.ColdObservable=l,a.applyMixins(l,[s.SubscriptionLoggable])},Cx8F:function(t,e,n){"use strict";function i(t){return this.lift(new c(t,this))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),s=n("+3eL"),a=n("WhVc"),l=n("wAkD"),u=n("CURp");e.retryWhen=i;var c=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.notifier,this.source))},t}(),h=function(t){function e(e,n,i){t.call(this,e),this.notifier=n,this.source=i}return r(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,i=this.retries,r=this.retriesSubscription;if(i)this.errors=null,this.retriesSubscription=null;else{if(n=new o.Subject,(i=s.tryCatch(this.notifier)(n))===a.errorObject)return t.prototype.error.call(this,a.errorObject.e);r=u.subscribeToResult(this,i)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=i,this.retriesSubscription=r,n.next(e)}},e.prototype._unsubscribe=function(){var t=this,e=t.errors,n=t.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,n,i,r){var o=this,s=o.errors,a=o.retries,l=o.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=s,this.retries=a,this.retriesSubscription=l,this.source.subscribe(this)},e}(l.OuterSubscriber)},DB2G:function(t,e,n){"use strict";function i(t){var e=arguments.length,n=l.async;c.isScheduler(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var i=null;e>=2&&(i=arguments[1]);var r=Number.POSITIVE_INFINITY;return e>=3&&(r=arguments[2]),this.lift(new h(t,i,r,n))}function r(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function o(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,i=t.subscriber,r=t.scheduler,o=i.openContext(),a=this;i.closed||(i.add(o.closeAction=r.schedule(s,n,{subscriber:i,context:o})),a.schedule(t,e))}function s(t){var e=t.subscriber,n=t.context;e.closeContext(n)}var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=n("CGGv"),u=n("mmVS"),c=n("fWbP");e.bufferTime=i;var h=function(){function t(t,e,n,i){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=i}return t.prototype.call=function(t,e){return e.subscribe(new d(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),p=function(){function t(){this.buffer=[]}return t}(),d=function(t){function e(e,n,i,a,l){t.call(this,e),this.bufferTimeSpan=n,this.bufferCreationInterval=i,this.maxBufferSize=a,this.scheduler=l,this.contexts=[];var u=this.openContext();if(this.timespanOnly=null==i||i<0,this.timespanOnly){var c={subscriber:this,context:u,bufferTimeSpan:n};this.add(u.closeAction=l.schedule(r,n,c))}else{var h={subscriber:this,context:u},p={bufferTimeSpan:n,bufferCreationInterval:i,subscriber:this,scheduler:l};this.add(u.closeAction=l.schedule(s,n,h)),this.add(l.schedule(o,i,p))}}return a(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,i=n.length,r=0;r<i;r++){var o=n[r],s=o.buffer;s.push(t),s.length==this.maxBufferSize&&(e=o)}e&&this.onBufferFull(e)},e.prototype._error=function(e){this.contexts.length=0,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this,n=e.contexts,i=e.destination;n.length>0;){var r=n.shift();i.next(r.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan,i={subscriber:this,context:t,bufferTimeSpan:n};this.add(t.closeAction=this.scheduler.schedule(r,n,i))}},e.prototype.openContext=function(){var t=new p;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(u.Subscriber)},DDfv:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.interval=5e3,this.wrap=!0,this.keyboard=!0}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},Dc2k:function(t,e,n){"use strict";function i(){if(p.root.XMLHttpRequest)return new p.root.XMLHttpRequest;if(p.root.XDomainRequest)return new p.root.XDomainRequest;throw new Error("CORS is not supported by your browser")}function r(){if(p.root.XMLHttpRequest)return new p.root.XMLHttpRequest;var t=void 0;try{for(var e=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],n=0;n<3;n++)try{if(t=e[n],new p.root.ActiveXObject(t))break}catch(t){}return new p.root.ActiveXObject(t)}catch(t){throw new Error("XMLHttpRequest is not supported by your browser")}}function o(t,e){return void 0===e&&(e=null),new y({method:"GET",url:t,headers:e})}function s(t,e,n){return new y({method:"POST",url:t,body:e,headers:n})}function a(t,e){return new y({method:"DELETE",url:t,headers:e})}function l(t,e,n){return new y({method:"PUT",url:t,body:e,headers:n})}function u(t,e,n){return new y({method:"PATCH",url:t,body:e,headers:n})}function c(t,e){return new y({method:"GET",url:t,responseType:"json",headers:e}).lift(new g.MapOperator(function(t,e){return t.response},null))}var h=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},p=n("VOfZ"),d=n("+3eL"),f=n("WhVc"),m=n("rCTf"),v=n("mmVS"),g=n("xAJs");e.ajaxGet=o,e.ajaxPost=s,e.ajaxDelete=a,e.ajaxPut=l,e.ajaxPatch=u,e.ajaxGetJSON=c;var y=function(t){function e(e){t.call(this);var n={async:!0,createXHR:function(){return this.crossDomain?i.call(this):r()},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof e)n.url=e;else for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);this.request=n}return h(e,t),e.prototype._subscribe=function(t){return new b(t,this.request)},e.create=function(){var t=function(t){return new e(t)};return t.get=o,t.post=s,t.delete=a,t.put=l,t.patch=u,t.getJSON=c,t}(),e}(m.Observable);e.AjaxObservable=y;var b=function(t){function e(e,n){t.call(this,e),this.request=n,this.done=!1;var i=n.headers=n.headers||{};n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in i||p.root.FormData&&n.body instanceof p.root.FormData||void 0===n.body||(i["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),n.body=this.serializeBody(n.body,n.headers["Content-Type"]),this.send()}return h(e,t),e.prototype.next=function(t){this.done=!0;var e=this,n=e.xhr,i=e.request,r=e.destination,o=new w(t,n,i);r.next(o)},e.prototype.send=function(){var t=this,e=t.request,n=t.request,i=n.user,r=n.method,o=n.url,s=n.async,a=n.password,l=n.headers,u=n.body,c=e.createXHR,h=d.tryCatch(c).call(e);if(h===f.errorObject)this.error(f.errorObject.e);else{this.xhr=h,this.setupEvents(h,e);if((i?d.tryCatch(h.open).call(h,r,o,s,i,a):d.tryCatch(h.open).call(h,r,o,s))===f.errorObject)return this.error(f.errorObject.e),null;if(s&&(h.timeout=e.timeout,h.responseType=e.responseType),"withCredentials"in h&&(h.withCredentials=!!e.withCredentials),this.setHeaders(h,l),(u?d.tryCatch(h.send).call(h,u):d.tryCatch(h.send).call(h))===f.errorObject)return this.error(f.errorObject.e),null}return h},e.prototype.serializeBody=function(t,e){if(!t||"string"==typeof t)return t;if(p.root.FormData&&t instanceof p.root.FormData)return t;if(e){var n=e.indexOf(";");-1!==n&&(e=e.substring(0,n))}switch(e){case"application/x-www-form-urlencoded":return Object.keys(t).map(function(e){return encodeURI(e)+"="+encodeURI(t[e])}).join("&");case"application/json":return JSON.stringify(t);default:return t}},e.prototype.setHeaders=function(t,e){for(var n in e)e.hasOwnProperty(n)&&t.setRequestHeader(n,e[n])},e.prototype.setupEvents=function(t,e){function n(t){var e=n,i=e.subscriber,r=e.progressSubscriber,o=e.request;r&&r.error(t),i.error(new C(this,o))}function i(t){var e=i,n=e.subscriber,r=e.progressSubscriber,o=e.request;if(4===this.readyState){var s=1223===this.status?204:this.status,a="text"===this.responseType?this.response||this.responseText:this.response;0===s&&(s=a?200:0),200<=s&&s<300?(r&&r.complete(),n.next(t),n.complete()):(r&&r.error(t),n.error(new x("ajax error "+s,this,o)))}}var r=e.progressSubscriber;if(t.ontimeout=n,n.request=e,n.subscriber=this,n.progressSubscriber=r,t.upload&&"withCredentials"in t){if(r){var o;o=function(t){o.progressSubscriber.next(t)},p.root.XDomainRequest?t.onprogress=o:t.upload.onprogress=o,o.progressSubscriber=r}var s;s=function(t){var e=s,n=e.progressSubscriber,i=e.subscriber,r=e.request;n&&n.error(t),i.error(new x("ajax error",this,r))},t.onerror=s,s.request=e,s.subscriber=this,s.progressSubscriber=r}t.onreadystatechange=i,i.subscriber=this,i.progressSubscriber=r,i.request=e},e.prototype.unsubscribe=function(){var e=this,n=e.done,i=e.xhr;!n&&i&&4!==i.readyState&&"function"==typeof i.abort&&i.abort(),t.prototype.unsubscribe.call(this)},e}(v.Subscriber);e.AjaxSubscriber=b;var w=function(){function t(t,e,n){switch(this.originalEvent=t,this.xhr=e,this.request=n,this.status=e.status,this.responseType=e.responseType||n.responseType,this.responseType){case"json":this.response="response"in e?e.responseType?e.response:JSON.parse(e.response||e.responseText||"null"):JSON.parse(e.responseText||"null");break;case"xml":this.response=e.responseXML;break;case"text":default:this.response="response"in e?e.response:e.responseText}}return t}();e.AjaxResponse=w;var x=function(t){function e(e,n,i){t.call(this,e),this.message=e,this.xhr=n,this.request=i,this.status=n.status}return h(e,t),e}(Error);e.AjaxError=x;var C=function(t){function e(e,n){t.call(this,"ajax timeout",e,n)}return h(e,t),e}(x);e.AjaxTimeoutError=C},Di9Q:function(t,e,n){"use strict";var i=n("rCTf"),r=n("DB2G");i.Observable.prototype.bufferTime=r.bufferTime},Dkzu:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rCTf"),o=function(t){function e(e,n){t.call(this),this.error=e,this.scheduler=n}return i(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.error;t.subscriber.error(e)},e.prototype._subscribe=function(t){var n=this.error,i=this.scheduler;if(t.syncErrorThrowable=!0,i)return i.schedule(e.dispatch,0,{error:n,subscriber:t});t.error(n)},e}(r.Observable);e.ErrorObservable=o},DzMp:function(t,e,n){"use strict";var i=n("+EXD");e.defer=i.DeferObservable.create},"E/WS":function(t,e,n){"use strict";function i(t,e){void 0===e&&(e=o.async);var n=s.isDate(t),i=n?+t-e.now():Math.abs(t);return this.lift(new u(i,n,e,new l.TimeoutError))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("CGGv"),s=n("fuZx"),a=n("mmVS"),l=n("cmqr");e.timeout=i;var u=function(){function t(t,e,n,i){this.waitFor=t,this.absoluteTimeout=e,this.scheduler=n,this.errorInstance=i}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.absoluteTimeout,this.waitFor,this.scheduler,this.errorInstance))},t}(),c=function(t){function e(e,n,i,r,o){t.call(this,e),this.absoluteTimeout=n,this.waitFor=i,this.scheduler=r,this.errorInstance=o,this.action=null,this.scheduleTimeout()}return r(e,t),e.dispatchTimeout=function(t){t.error(t.errorInstance)},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.errorInstance=null},e}(a.Subscriber)},E7Yq:function(t,e,n){"use strict";var i=n("rCTf"),r=n("TIy+");i.Observable.fromEvent=r.fromEvent},EF7k:function(t,e,n){"use strict";function i(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,1,"span",[],null,null,null,null,null)),(t()(),s["ɵted"](null,["","%"]))],null,function(t,e){t(e,1,0,e.component.getPercentValue())})}function r(t){return s["ɵvid"](2,[(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,8,"div",[["class","progress"]],null,null,null,null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,5,"div",[["aria-valuemin","0"],["role","progressbar"]],[[8,"className",0],[4,"width","%"],[1,"aria-valuenow",0],[1,"aria-valuemax",0]],null,null,null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵand"](16777216,null,null,1,null,i)),s["ɵdid"](16384,null,0,a.NgIf,[s.ViewContainerRef,s.TemplateRef],{ngIf:[0,"ngIf"]},null),s["ɵncd"](null,0),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵted"](null,["\n "]))],function(t,e){t(e,6,0,e.component.showValue)},function(t,e){var n=e.component;t(e,3,0,s["ɵinlineInterpolate"](3,"progress-bar",n.type?" bg-"+n.type:"","",n.animated?" progress-bar-animated":"","",n.striped?" progress-bar-striped":"",""),n.getPercentValue(),n.getValue(),n.max)})}function o(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,1,"ngb-progressbar",[],null,null,null,u.a,u.b)),s["ɵdid"](49152,null,0,l.a,[c.a],null,null)],null,null)}var s=n("3j3K"),a=n("2Je8"),l=n("W5jB"),u=n("EF7k"),c=n("nCuf");n.d(e,"b",function(){return p}),e.a=r;var h=[],p=s["ɵcrt"]({encapsulation:2,styles:h,data:{}});s["ɵccf"]("ngb-progressbar",l.a,o,{max:"max",animated:"animated",striped:"striped",showValue:"showValue",type:"type",value:"value"},{},["*"])},EGMK:function(t,e,n){"use strict";var i=n("rCTf"),r=n("kkb0");i.Observable.prototype.merge=r.merge},ENML:function(t,e,n){"use strict";var i=n("rCTf"),r=n("/8te");i.Observable.range=r.range},ETCP:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.placement="top",this.triggers="click"}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},EnA3:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Rewd");i.Observable.prototype.do=r._do,i.Observable.prototype._do=r._do},EoAl:function(t,e,n){"use strict";var i=n("rCTf"),r=n("KuCq");i.Observable.prototype.takeWhile=r.takeWhile},Ep2y:function(t,e,n){"use strict";var i=n("3j3K"),r=n("2Je8"),o=n("/i+G"),s=n("K0TW");n.d(e,"a",function(){return a});var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();a.decorators=[{type:i.NgModule,args:[{declarations:[o.a],exports:[o.a],imports:[r.CommonModule]}]}],a.ctorParameters=function(){return[]}},Ev5Y:function(t,e,n){!function(t){t(n("8U58"))}(function(t){"use strict";var e=/[\w$]+/,n=500;t.registerHelper("hint","anyword",function(i,r){for(var o=r&&r.word||e,s=r&&r.range||n,a=i.getCursor(),l=i.getLine(a.line),u=a.ch,c=u;c&&o.test(l.charAt(c-1));)--c;for(var h=c!=u&&l.slice(c,u),p=r&&r.list||[],d={},f=new RegExp(o.source,"g"),m=-1;m<=1;m+=2)for(var v=a.line,g=Math.min(Math.max(v+m*s,i.firstLine()),i.lastLine())+m;v!=g;v+=m)for(var y,b=i.getLine(v);y=f.exec(b);)v==a.line&&y[0]===h||h&&0!=y[0].lastIndexOf(h,0)||Object.prototype.hasOwnProperty.call(d,y[0])||(d[y[0]]=!0,p.push(y[0]));return{list:p,from:t.Pos(a.line,c),to:t.Pos(a.line,u)}})})},EzwU:function(t,e,n){"use strict";var i=n("3j3K"),r=n("2yGx");n.d(e,"a",function(){return o});var o=function(){function t(){this.highlightClass="ngb-highlight"}return t.prototype.ngOnChanges=function(t){var e=n.i(r.d)(this.result),i=e.toLowerCase(),o=n.i(r.d)(this.term).toLowerCase(),s=0;o.length>0?this.parts=i.split(new RegExp("("+n.i(r.g)(o)+")")).map(function(t){var n=e.substr(s,t.length);return s+=t.length,n}):this.parts=[e]},t}();o.decorators=[{type:i.Component,args:[{selector:"ngb-highlight",changeDetection:i.ChangeDetectionStrategy.OnPush,template:'<ng-template ngFor [ngForOf]="parts" let-part let-isOdd="odd"><span *ngIf="isOdd" class="{{highlightClass}}">{{part}}</span><ng-template [ngIf]="!isOdd">{{part}}</ng-template></ng-template>',styles:["\n .ngb-highlight {\n font-weight: bold;\n }\n "]}]}],o.ctorParameters=function(){return[]},o.propDecorators={highlightClass:[{type:i.Input}],result:[{type:i.Input}],term:[{type:i.Input}]}},FE8a:function(t,e,n){"use strict";var i=n("rCTf"),r=n("1Axw");i.Observable.prototype.delayWhen=r.delayWhen},FR2h:function(t,e,n){"use strict";var i=n("Fzro"),r=n("rCTf"),o=(n.n(r),n("mwbX")),s=n("R6W2"),a=n("+pb+"),l=(n.n(a),n("6Yye"));n.n(l);n.d(e,"a",function(){return u});var u=function(){function t(t,e){this.http=t,this.authService=e}return t.prototype.getArchivos=function(t){var e=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new i.m;n.set("cedula",t);var r=new i.g({headers:e,search:n});return this.http.get(o.a+"/servicios/archivo",r).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.getArchivosCompartidosAlumno=function(t){var e=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new i.m;n.set("cedula",t),n.set("compartidos","true");var r=new i.g({headers:e,search:n});return this.http.get(o.a+"/servicios/archivo",r).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.crearArchivo=function(t){var e=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new i.g({headers:e});return this.http.post(o.a+"/servicios/archivo",t,n).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.editarArchivo=function(t,e){var n=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),r=new i.g({headers:n});return this.http.put(o.a+"/servicios/archivo/"+t,e,r).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.eliminarArchivo=function(t){var e=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new i.g({headers:e});return this.http.delete(o.a+"/servicios/archivo/"+t,n).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.getCopiaArchivoCompartidoGrupo=function(t,e){var n=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),r=new i.m;r.set("cedula",t);var s=new i.g({headers:n,search:r});return this.http.get(o.a+"/servicios/archivo/compartido/"+e,s).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.compartirArchivoGrupo=function(t,e){var n=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),r=new i.g({headers:n}),s={id:e};return this.http.post(o.a+"/servicios/grupo/"+t.liceoId+"/"+t.anio+"/"+t.grado+"/"+t.grupo+"/archivo",s,r).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.calificarArchivo=function(t,e){var n=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),r=new i.g({headers:n});return this.http.post(o.a+"/servicios/archivo/"+t+"/evaluacion",e,r).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.getGrupos=function(t){var e=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new i.m;n.set("cedula",t);var r=new i.g({headers:e,search:n});return this.http.get(o.a+"/servicios/grupo",r).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.handleError=function(t){var e=t.message?t.message:t.status?t.status+" - "+t.statusText:"Server error";return console.error(e),r.Observable.throw(e)},t.ctorParameters=function(){return[{type:i.i},{type:s.a}]},t}()},FT6u:function(t,e,n){"use strict";function i(t){var e="function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t<e?t:e};return this.lift(new r.ReduceOperator(e))}var r=n("pgP5");e.min=i},"Ffu+":function(t,e,n){"use strict";function i(){return this.lift(new s)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.pairwise=i;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e),this.hasPrev=!1}return r(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(o.Subscriber)},FiTo:function(t,e,n){"use strict";function i(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,2,"ngb-alert",[["class","alertPosition"]],[[4,"top",null]],[[null,"close"]],function(t,e,n){var i=!0,r=t.component;if("close"===e){i=!1!==r.closeAlert(t.context.index)&&i}return i},a.b,a.c)),s["ɵdid"](49152,null,0,l.a,[u.a],{type:[0,"type"]},{close:"close"}),(t()(),s["ɵted"](0,["\n","\n"]))],function(t,e){t(e,1,0,null==e.context.$implicit?null:e.context.$implicit.type)},function(t,e){t(e,0,0,60*e.context.index+30+"px"),t(e,2,0,null==e.context.$implicit?null:e.context.$implicit.text)})}function r(t){return s["ɵvid"](0,[(t()(),s["ɵted"](null,["\n\n"])),(t()(),s["ɵand"](16777216,null,null,1,null,i)),s["ɵdid"](802816,null,0,c.NgForOf,[s.ViewContainerRef,s.TemplateRef,s.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),s["ɵted"](null,["\n"]))],function(t,e){t(e,2,0,e.component.alerts)},null)}function o(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,1,"notificacion",[],null,null,null,r,f)),s["ɵdid"](114688,null,0,h.a,[p.a],null,null)],function(t,e){t(e,1,0)},null)}var s=n("3j3K"),a=n("7ldD"),l=n("s28n"),u=n("gFLb"),c=n("2Je8"),h=n("SIx6"),p=n("dBGY");n.d(e,"b",function(){return f}),e.a=r;var d=[],f=s["ɵcrt"]({encapsulation:2,styles:d,data:{}});s["ɵccf"]("notificacion",h.a,o,{},{},[])},GR1s:function(t,e,n){"use strict";function i(){return this.lift(new a)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.exhaust=i;var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(e){t.call(this,e),this.hasCompleted=!1,this.hasSubscription=!1}return r(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(s.subscribeToResult(this,t)))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber)},GW10:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("3j3K"),r=n("2Je8"),o=n("zK+N"),s=function(){function t(){}return t}();s.decorators=[{type:i.NgModule,args:[{imports:[r.CommonModule],declarations:[o.CodemirrorComponent],exports:[o.CodemirrorComponent]}]}],s.ctorParameters=function(){return[]},e.CodemirrorModule=s},GZqV:function(t,e,n){"use strict";function i(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return this.lift(new s(t,this,!1,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.find=i;var s=function(){function t(t,e,n,i){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=i}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}();e.FindValueOperator=s;var a=function(t){function e(e,n,i,r,o){t.call(this,e),this.predicate=n,this.source=i,this.yieldIndex=r,this.thisArg=o,this.index=0}return r(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){var e=this,n=e.predicate,i=e.thisArg,r=this.index++;try{n.call(i||this,t,r,this.source)&&this.notifyComplete(this.yieldIndex?r:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(o.Subscriber);e.FindValueSubscriber=a},Gb0N:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rCTf"),o=function(t){function e(e,n,i){t.call(this),this.start=e,this._count=n,this.scheduler=i}return i(e,t),e.create=function(t,n,i){return void 0===t&&(t=0),void 0===n&&(n=0),new e(t,n,i)},e.dispatch=function(t){var e=t.start,n=t.index,i=t.count,r=t.subscriber;if(n>=i)return void r.complete();r.next(e),r.closed||(t.index=n+1,t.start=e+1,this.schedule(t))},e.prototype._subscribe=function(t){var n=0,i=this.start,r=this._count,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{index:n,count:r,start:i,subscriber:t});for(;;){if(n++>=r){t.complete();break}if(t.next(i++),t.closed)break}},e}(r.Observable);e.RangeObservable=o},GcOx:function(t,e,n){"use strict";var i=n("rCTf"),r=n("cjT5");i.Observable.prototype.debounce=r.debounce},Gvdl:function(t,e,n){"use strict";var i=n("EEr4");e.Subject=i.Subject,e.AnonymousSubject=i.AnonymousSubject;var r=n("rCTf");e.Observable=r.Observable,n("1k2o"),n("U85J"),n("XlOA"),n("1ZrL"),n("zO2v"),n("AGQa"),n("iJMh"),n("S35O"),n("E7Yq"),n("LHw1"),n("c3t5"),n("f1gJ"),n("iUY6"),n("SUuD"),n("fICK"),n("O8p4"),n("9WjZ"),n("1APj"),n("1VLl"),n("g0nL"),n("ENML"),n("vQ+N"),n("h0qH"),n("jdeX"),n("iod1"),n("1Nls"),n("lh/Z"),n("nsuO"),n("+KN+"),n("Di9Q"),n("jDQW"),n("Whbc"),n("6Yye"),n("k27J"),n("qp8k"),n("/rMs"),n("CMrU"),n("jvbR"),n("16m9"),n("/181"),n("zC23"),n("GcOx"),n("aV5h"),n("NJh0"),n("94IA"),n("FE8a"),n("qhgQ"),n("q3ik"),n("tYwL"),n("EnA3"),n("Yfq7"),n("SSeX"),n("sT3i"),n("Mvzr"),n("wUn1"),n("tDJK"),n("hs6U"),n("W1/H"),n("okk1"),n("6s76"),n("LppN"),n("2395"),n("qcjU"),n("CYDS"),n("JJSU"),n("KRCp"),n("1NVl"),n("+pb+"),n("6gFN"),n("Ye9U"),n("CToi"),n("EGMK"),n("JPC0"),n("HcJ8"),n("VfeM"),n("SGWz"),n("Rxv9"),n("j7ye"),n("p1Um"),n("rLWm"),n("iIfT"),n("adqA"),n("xOQQ"),n("4Ie8"),n("nDCe"),n("PvYY"),n("0TiQ"),n("48bo"),n("UNGF"),n("XZ4o"),n("y6Vm"),n("y3IE"),n("10Gq"),n("B2te"),n("6hPP"),n("zJQZ"),n("UFi/"),n("WQmy"),n("s616"),n("JQ6u"),n("9qUs"),n("WnEV"),n("8szd"),n("VaQ6"),n("/lY3"),n("oHQS"),n("UyzR"),n("uCY4"),n("tuHt"),n("hzF8"),n("77/N"),n("T3fU"),n("EoAl"),n("PMZt"),n("jF50"),n("XKof"),n("cDAr"),n("a0Ch"),n("voL5"),n("7axH"),n("eErF"),n("7FaQ"),n("q4U+"),n("PwiB"),n("xFXl"),n("gDzJ"),n("fiy1"),n("ixac"),n("tQRI");var o=n("B00U");e.Subscription=o.Subscription;var s=n("mmVS");e.Subscriber=s.Subscriber;var a=n("5c/I");e.AsyncSubject=a.AsyncSubject;var l=n("MQMf");e.ReplaySubject=l.ReplaySubject;var u=n("TfWX");e.BehaviorSubject=u.BehaviorSubject;var c=n("sIYO");e.ConnectableObservable=c.ConnectableObservable;var h=n("8GmM");e.Notification=h.Notification;var p=n("F7Al");e.EmptyError=p.EmptyError;var d=n("8Z8y");e.ArgumentOutOfRangeError=d.ArgumentOutOfRangeError;var f=n("IZVw");e.ObjectUnsubscribedError=f.ObjectUnsubscribedError;var m=n("cmqr");e.TimeoutError=m.TimeoutError;var v=n("GIjk");e.UnsubscriptionError=v.UnsubscriptionError;var g=n("sVus");e.TimeInterval=g.TimeInterval;var y=n("5pRa");e.Timestamp=y.Timestamp;var b=n("u1gx");e.TestScheduler=b.TestScheduler;var w=n("q0UB");e.VirtualTimeScheduler=w.VirtualTimeScheduler;var x=n("Dc2k");e.AjaxResponse=x.AjaxResponse,e.AjaxError=x.AjaxError,e.AjaxTimeoutError=x.AjaxTimeoutError;var C=n("Uqs8"),S=n("CGGv"),k=n("RA5l"),O=n("HwIK"),T=n("r8ZY"),_=n("cdmN"),E=n("mbVC"),R={asap:C.asap,queue:k.queue,animationFrame:O.animationFrame,async:S.async};e.Scheduler=R;var M={rxSubscriber:T.rxSubscriber,observable:E.observable,iterator:_.iterator};e.Symbol=M},GwVO:function(t,e,n){"use strict";var i=n("Gvdl");n.n(i);n.d(e,"a",function(){return r});var r=function(){function t(){}return t.prototype.connect=function(t){return this.subject||(this.subject=this.create(t),console.log("Successfully connected: "+t)),this.subject},t.prototype.create=function(t){var e=new WebSocket(t),n=i.Observable.create(function(t){return e.onmessage=t.next.bind(t),e.onerror=t.error.bind(t),e.onclose=t.complete.bind(t),e.close.bind(e)}),r={next:function(t){e.readyState===WebSocket.OPEN?e.send(JSON.stringify(t)):console.log("Se perdio la conexion")}};return i.Subject.create(r,n)},t.ctorParameters=function(){return[]},t}()},HcJ8:function(t,e,n){"use strict";var i=n("rCTf"),r=n("XO5T");i.Observable.prototype.mergeMap=r.mergeMap,i.Observable.prototype.flatMap=r.mergeMap},HwIK:function(t,e,n){"use strict";var i=n("gi2R"),r=n("ww7A");e.animationFrame=new r.AnimationFrameScheduler(i.AnimationFrameAction)},IBkQ:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("EEr4"),o=n("B00U"),s=n("y9a2"),a=n("g28B"),l=function(t){function e(e,n){t.call(this),this.messages=e,this.subscriptions=[],this.scheduler=n}return i(e,t),e.prototype._subscribe=function(e){var n=this,i=n.logSubscribedFrame();return e.add(new o.Subscription(function(){n.logUnsubscribedFrame(i)})),t.prototype._subscribe.call(this,e)},e.prototype.setup=function(){for(var t=this,e=t.messages.length,n=0;n<e;n++)!function(){var e=t.messages[n];t.scheduler.schedule(function(){e.notification.observe(t)},e.frame)}()},e}(r.Subject);e.HotObservable=l,a.applyMixins(l,[s.SubscriptionLoggable])},INWX:function(t,e,n){"use strict";function i(t){return c["ɵvid"](0,[(t()(),c["ɵand"](0,null,null,0))],null,null)}function r(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,null,null,7,"li",[["class","nav-item"]],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵeld"](0,null,null,4,"a",[["class","nav-link"],["href",""],["role","tab"]],[[8,"id",0],[2,"active",null],[2,"disabled",null],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0]],[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!=!!r.select(t.context.$implicit.id)&&i}return i},null,null)),(t()(),c["ɵted"](null,["\n ",""])),(t()(),c["ɵand"](16777216,null,null,1,null,i)),c["ɵdid"](540672,null,0,h.NgTemplateOutlet,[c.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵted"](null,["\n "]))],function(t,e){t(e,5,0,null==e.context.$implicit.titleTpl?null:e.context.$implicit.titleTpl.templateRef)},function(t,e){var n=e.component;t(e,2,0,e.context.$implicit.id,e.context.$implicit.id===n.activeId,e.context.$implicit.disabled,e.context.$implicit.disabled?"-1":void 0,n.destroyOnHide&&e.context.$implicit.id!==n.activeId?null:e.context.$implicit.id+"-panel",e.context.$implicit.id===n.activeId,e.context.$implicit.disabled),t(e,3,0,e.context.$implicit.title)})}function o(t){return c["ɵvid"](0,[(t()(),c["ɵand"](0,null,null,0))],null,null)}function s(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,null,null,4,"div",[["role","tabpanel"]],[[8,"className",0],[1,"aria-labelledby",0],[8,"id",0],[1,"aria-expanded",0]],null,null,null,null)),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵand"](16777216,null,null,1,null,o)),c["ɵdid"](540672,null,0,h.NgTemplateOutlet,[c.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),c["ɵted"](null,["\n "]))],function(t,e){t(e,3,0,e.parent.context.$implicit.contentTpl.templateRef)},function(t,e){var n=e.component;t(e,0,0,c["ɵinlineInterpolate"](1,"tab-pane ",e.parent.context.$implicit.id===n.activeId?"active":null,""),e.parent.context.$implicit.id,c["ɵinlineInterpolate"](1,"",e.parent.context.$implicit.id,"-panel"),e.parent.context.$implicit.id===n.activeId)})}function a(t){return c["ɵvid"](0,[(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵand"](16777216,null,null,1,null,s)),c["ɵdid"](16384,null,0,h.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),c["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,2,0,!n.destroyOnHide||e.context.$implicit.id===n.activeId)},null)}function l(t){return c["ɵvid"](0,[(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵeld"](0,null,null,4,"ul",[["role","tablist"]],[[8,"className",0]],null,null,null,null)),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵand"](16777216,null,null,1,null,r)),c["ɵdid"](802816,null,0,h.NgForOf,[c.ViewContainerRef,c.TemplateRef,c.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵeld"](0,null,null,4,"div",[["class","tab-content"]],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵand"](16777216,null,null,1,null,a)),c["ɵdid"](802816,null,0,h.NgForOf,[c.ViewContainerRef,c.TemplateRef,c.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,4,0,n.tabs),t(e,10,0,n.tabs)},function(t,e){var n=e.component;t(e,1,0,"nav nav-"+n.type+" justify-content-"+n.justify)})}function u(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,null,null,2,"ngb-tabset",[],null,null,null,d.a,d.b)),c["ɵdid"](2146304,null,1,p.a,[f.a],null,null),c["ɵqud"](603979776,1,{tabs:1})],null,null)}var c=n("3j3K"),h=n("2Je8"),p=n("edM1"),d=n("INWX"),f=n("v4DA");n.d(e,"b",function(){return v}),e.a=l;var m=[],v=c["ɵcrt"]({encapsulation:2,styles:m,data:{}});c["ɵccf"]("ngb-tabset",p.a,u,{activeId:"activeId",destroyOnHide:"destroyOnHide",justify:"justify",type:"type"},{tabChange:"tabChange"},[])},IiyU:function(t,e,n){"use strict";function i(t){return l["ɵvid"](0,[(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,1,"ngb-highlight",[],null,null,null,u.a,u.b)),l["ɵdid"](573440,null,0,c.a,[],{result:[0,"result"],term:[1,"term"]},null),(t()(),l["ɵted"](null,["\n "]))],function(t,e){t(e,2,0,e.context.formatter(e.context.result),e.context.term)},null)}function r(t){return l["ɵvid"](0,[(t()(),l["ɵand"](0,null,null,0))],null,null)}function o(t){return l["ɵvid"](0,[(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,5,"button",[["class","dropdown-item"],["role","option"],["type","button"]],[[8,"id",0],[2,"active",null]],[[null,"mouseenter"],[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("mouseenter"===e){i=!1!==r.markActive(t.context.index)&&i}if("click"===e){i=!1!==r.select(t.context.$implicit)&&i}return i},null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵand"](16777216,null,null,2,null,r)),l["ɵdid"](540672,null,0,h.NgTemplateOutlet,[l.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"],ngOutletContext:[1,"ngOutletContext"]},null),l["ɵpod"](["result","term","formatter"]),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,4,0,n.resultTemplate||l["ɵnov"](e.parent,1),t(e,5,0,e.context.$implicit,n.term,n.formatter))},function(t,e){var n=e.component;t(e,1,0,n.id+"-"+e.context.index,e.context.index===n.activeIdx)})}function s(t){return l["ɵvid"](0,[(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵand"](0,[["rt",2]],null,0,null,i)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵand"](16777216,null,null,1,null,o)),l["ɵdid"](802816,null,0,h.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),l["ɵted"](null,["\n "]))],function(t,e){t(e,4,0,e.component.results)},null)}function a(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,1,"ngb-typeahead-window",[["class","dropdown-menu"],["role","listbox"],["style","display: block"]],[[8,"id",0]],null,null,d.b,d.c)),l["ɵdid"](114688,null,0,p.a,[],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,l["ɵnov"](e,1).id)})}var l=n("3j3K"),u=n("YJv1"),c=n("EzwU"),h=n("2Je8"),p=n("2BXm"),d=n("IiyU");n.d(e,"c",function(){return m}),e.b=s,n.d(e,"a",function(){return v});var f=[],m=l["ɵcrt"]({encapsulation:2,styles:f,data:{}}),v=l["ɵccf"]("ngb-typeahead-window",p.a,a,{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate"},{selectEvent:"select",activeChangeEvent:"activeChange"},[])},Imsy:function(t,e,n){"use strict";function i(t){return this.lift(new c(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),s=n("+3eL"),a=n("WhVc"),l=n("wAkD"),u=n("CURp");e.windowWhen=i;var c=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.closingSelector))},t}(),h=function(t){function e(e,n){t.call(this,e),this.destination=e,this.closingSelector=n,this.openWindow()}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.openWindow(r)},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this.openWindow(t)},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t),this.unsubscribeClosingNotification()},e.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},e.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},e.prototype.openWindow=function(t){void 0===t&&(t=null),t&&(this.remove(t),t.unsubscribe());var e=this.window;e&&e.complete();var n=this.window=new o.Subject;this.destination.next(n);var i=s.tryCatch(this.closingSelector)();if(i===a.errorObject){var r=a.errorObject.e;this.destination.error(r),this.window.error(r)}else this.add(this.closingNotification=u.subscribeToResult(this,i))},e}(l.OuterSubscriber)},J3Pa:function(t,e,n){"use strict";var i=n("Gvdl"),r=(n.n(i),n("R6W2")),o=n("mwbX"),s=n("/m/U");n.n(s);n.d(e,"a",function(){return l});var a=/^color (errores|input|output|logs) (\d)$/g,l=function(){function t(t){this.authService=t,this.messages=new i.Subject,this.connection=void 0,this.cons=void 0,this.modoAvanzado=!1,this.clear=!1,this.error="",this.warnings=[],this.codemirrorRef=null,this.warningStepReaded=0,this.waitingForError=!1,this.waitingForWarning=!1,this.waitingForWarning2=!1,this.warningText="",this.lastError=-1,this.lastWarning=-1,this.console_error_class="jqconsole-asd",this.consoleBuffer=[],this.regex="/(<svg.*s*.*</svg>)/g",this.consola=void 0,this.jqconsole=void 0,console.log("contructor ghci"),this.conectarWS(o.b,t.getUser().cedula,t.getToken()),setInterval(this.checkConnection.bind(this),5e3),setInterval(this.doPing.bind(this),3e4)}return t.prototype.setCodemirrorRef=function(t){this.codemirrorRef=t},t.prototype.clearWarnings=function(){this.warnings=[]},t.prototype.getWarnings=function(){return this.warnings},t.prototype.loadFile=function(t,e){this.waitingForWarning=!0;var n={token:this.authService.getToken(),load:t,dependencias:[]};for(var i in e)n.dependencias.push(e[i]);this.connection.send(JSON.stringify(n))},t.prototype.copyFile=function(t){var e={token:this.authService.getToken(),copy:t};this.connection.send(JSON.stringify(e))},t.prototype.reiniciarInterprete=function(){var t={token:this.authService.getToken(),restart:""};console.log(t),this.connection.send(JSON.stringify(t))},t.prototype.conectarWS=function(t,e,n){!e||!n||this.connection&&this.connection.readyState!=WebSocket.CLOSED||(this.connection=new WebSocket(t+"/"+e+"/"+n),this.connection.onopen=function(){console.log("Conexión con web socket exitosa")},this.connection.onclose=function(){console.log("Conexión con web socket cerrada")},this.connection.onmessage=this.onMessage.bind(this))},t.prototype.desconectarWS=function(){this.connection&&this.connection.close()},t.prototype.logConsole=function(t){this.consoleRef?this.consoleRef.Write(t,"jqconsole-logs"):(this.consoleBuffer.unshift({text:t,type:"jqconsole-logs"}),setTimeout(this.checkConsole.bind(this),100))},t.prototype.outputConsole=function(t){this.consoleRef?this.consoleRef.Write(t,"jqconsole-output"):(this.consoleBuffer.unshift({text:t,type:"jqconsole-output"}),setTimeout(this.checkConsole.bind(this),100))},t.prototype.errorConsole=function(t){this.consoleRef?this.consoleRef.Write(t,"jqconsole-errors"):(this.consoleBuffer.unshift({text:t,type:"jqconsole-errors"}),setTimeout(this.checkConsole.bind(this),100))},t.prototype.hayError=function(t){var e=-1;if(!this.waitingForError){try{var e=Number(JSON.parse(t).resultado.split("en lÃnea")[1].split(",")[0].trim())-1;this.waitingForError=!0,this.lastError=e}catch(t){}return!1}var e=this.lastError;if(null!==this.codemirrorRef){var n=function(){var n=document.createElement("div");return n.id="error_"+e.toString(),n.style.width="15px",n.title=JSON.parse(t).resultado.split("OUT")[1].trim(),n.style.height="15px",n.style.marginLeft="-5px",n.style.cursor="pointer",n.style["background-image"]="url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=')",n.innerHTML="<a href='@' title='cuidado , advertencia matefun'></a>",n};this.codemirrorRef.setGutterMarker(e,"breakpoints",n()),this.waitingForError=!1,this.lastError=-1}},t.prototype.resetGutters=function(){null!==this.codemirrorRef&&this.codemirrorRef.clearGutter("breakpoints")},t.prototype.hayWarnings=function(t){var e=-1,n=JSON.parse(t);if(1===this.warningStepReaded)try{var i=n.resultado.split("OUT")[1].trim();this.warningStepReaded=2,this.warningText=this.warningText+"\n\n"+i;var e=this.lastWarning,r=this.warningText,o=r.split("columna:")[1].split("}")[0],s=r.split("}")[1],a="En columna "+o+": "+s;if(null!==this.codemirrorRef){var l=function(){var t=document.createElement("div");return t.style.width="15px",t.style.height="15px",t.style.marginLeft="-5px",t.style.cursor="pointer",t.innerHTML="<a href='@' title='cuidado , advertencia matefun'></a>",t.title=a,t.style["background-image"]="url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=')",t.innerHTML="",t};this.codemirrorRef.setGutterMarker(e,"breakpoints",l())}}catch(t){}if(0===this.warningStepReaded)try{var e=n.resultado.split("OUTAdvertencia:")[1].trim().split("lÃnea:")[1].split(" ")[1]-1;this.lastWarning=e,this.warnings.push(e);var u=n.resultado.split("OUTAdvertencia:")[1].trim();this.warningStepReaded=1,this.warningText=u,this.waitingForWarning&&(this.outputConsole("El programa contiene advertencias\n"),this.waitingForWarning=!1)}catch(t){}},t.prototype.onMessage=function(t){this.modoAvanzado&&this.logConsole("Respuesta: "+t.data+"\n"),this.clear&&this.clearConsole();var e=t.data;if(this.hayError(e)?this.error="Error":this.error="",this.hayWarnings(e),2==this.warningStepReaded)return void(this.warningStepReaded=0);if(1!=this.warningStepReaded){var n=JSON.parse(e);if("salida"==n.tipo){var i=n.resultado.trim();if(i.startsWith("OUT"))this.outputConsole(i.substring(3)+"\n");else if(i.startsWith("IN")){var r=i.substring(3);void 0===this.consoleRef&&this.renderConsole(),this.consoleRef.SetPromptLabel(r),this.consoleRef.SetPromptText(""),this.startPrompt.bind(this),this.startPrompt()}}else"error"==n.tipo?this.modoAvanzado&&this.errorConsole(n.resultado+"\n"):"prompt"==n.tipo?(this.consoleRef.SetPromptLabel(n.resultado+">"),this.consoleRef.SetPromptText(""),this.startPrompt.bind(this),this.startPrompt()):"canvas"!=n.tipo&&"animacion"!=n.tipo&&"graph"!=n.tipo||(document.getElementById("FigurasBtn").click(),this.focusConsole(),this.messages.next(n))}},t.prototype.checkConsole=function(){if(this.consoleRef)for(;this.consoleBuffer.length>0;){var t=this.consoleBuffer.pop();this.consoleRef.Write(t.text,t.type)}else setTimeout(this.checkConsole.bind(this),500)},t.prototype.checkConnection=function(){var t=this.authService.getUser(),e=this.authService.getToken();!t||!e||this.connection&&this.connection.readyState!=WebSocket.CLOSED||this.conectarWS(o.b,t.cedula,e)},t.prototype.doPing=function(){var t=this.authService.getToken();if(this.connection&&this.connection.readyState==WebSocket.OPEN&&t){var e={token:t,ping:""};this.connection.send(JSON.stringify(e))}},t.prototype.sendLine=function(t){if(""!==t.trim()){var e={token:this.authService.getToken(),comando:t};console.log(e),this.connection&&this.connection.readyState==WebSocket.OPEN?this.connection.send(JSON.stringify(e)):this.errorConsole("Sin conexión al servidor...")}},t.prototype.startPrompt=function(){this.jqconsole.Prompt(!0,this.callback.bind(this))},t.prototype.focusConsole=function(){this.jqconsole.Focus()},t.prototype.clearConsole=function(){this.consoleRef.Reset(),this.startPrompt.bind(this),this.startPrompt(),this.clear=!1},t.prototype.callback=function(t){var e;e=this.procesarInput(t),e&&(this.modoAvanzado&&this.logConsole("Ejecutar: "+t+"\n"),this.sendLine.bind(this),this.sendLine(t)),this.startPrompt.bind(this),this.startPrompt()},t.prototype.procesarInput=function(t){var e,n=!1;if("limpiar"===(e=t.trim().toLocaleLowerCase()))this.clearConsole();else if("modo avanzado"===e)this.modoAvanzado=!0,this.logConsole("Modo avanzado activado\n");else if("modo normal"===e)this.modoAvanzado=!1,this.logConsole("Modo avanzado desactivado\n");else if("listar colores"===e)this.outputConsole("1 - Azul\n"),this.outputConsole("2 - Rojo\n"),this.outputConsole("3 - Verde\n"),this.outputConsole("4 - Verde oscuro\n"),this.outputConsole("5 - Blanco\n"),this.outputConsole("6 - Naranja\n"),this.outputConsole("7 - Gris\n"),this.outputConsole("8 - Gris oscuro\n"),this.outputConsole("9 - Marrón\n");else if(null!==e.match(a)){var i=e.split(" ")[1],r=t.split(" ")[2];this.jqconsoleColor(r,i),this.modoAvanzado&&this.logConsole("Color "+i+" seleccionado\n")}else n=!0;return n},t.prototype.getCSSColorName=function(t){return"1"===t?"rgb(77, 77, 255)":"2"===t?"rgb(255, 26, 26)":"3"===t?"rgb(0, 179, 60)":"4"===t?"rgb(0, 77, 0)":"5"===t?"rgb(255, 255, 255)":"6"===t?"rgb(255, 133, 51)":"7"===t?"rgb(204, 204, 179)":"8"===t?"rgb(102, 102, 102)":"9"===t?"rgb(101, 27, 27)":void 0},t.prototype.getJQConsoleClass=function(t){return"input"===t?".jqconsole-prompt":"error"===t?".jqconsole-error":"logs"===t?".jqconsole-logs":"output"===t?".jqconsole-output":void 0},t.prototype.jqconsoleColor=function(t,e){var n=this.getCSSColorName(t),i=this.getJQConsoleClass(e),r=document.createElement("style");if(r.type="text/css",r.innerHTML=i+" { color: "+n+"; }",document.getElementsByTagName("head")[0].appendChild(r),".jqconsole-prompt"===i){var o=document.createElement("style");o.type="text/css",o.innerHTML=".jqconsole-old-prompt { color: "+n+"; }",document.getElementsByTagName("head")[0].appendChild(o)}},t.prototype.renderConsole=function(){this.jqconsole?$("#console").replaceWith(this.consola):(void 0!=$("#console").jqconsole?(this.jqconsole=$("#console").jqconsole(""),this.consoleRef=this.jqconsole,this.startPrompt.bind(this),this.startPrompt()):this.rendered(),this.consola=$("#console"))},t.prototype.rendered=function(){setTimeout(this.renderConsole.bind(this),1e3)},t.ctorParameters=function(){return[{type:r.a}]},t}()},JJSU:function(t,e,n){"use strict";var i=n("rCTf"),r=n("7nvF");i.Observable.prototype.last=r.last},JPC0:function(t,e,n){"use strict";var i=n("rCTf"),r=n("cbuX");i.Observable.prototype.mergeAll=r.mergeAll},JQ6u:function(t,e,n){"use strict";var i=n("rCTf"),r=n("p5++");i.Observable.prototype.single=r.single},JSba:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){}return t}();!function(){function t(){}}()},Ji1V:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t[t.length-1];l.isScheduler(n)?t.pop():n=null;var i=t.length;return 1===i?a.concatStatic(new o.ScalarObservable(t[0],n),this):i>1?a.concatStatic(new r.ArrayObservable(t,n),this):a.concatStatic(new s.EmptyObservable(n),this)}var r=n("Yh8Q"),o=n("RRVv"),s=n("jBEF"),a=n("8MUz"),l=n("fWbP");e.startWith=i},"K/oD":function(t,e,n){"use strict";var i=n("3j3K"),r=n("2Je8"),o=n("EzwU"),s=n("2BXm"),a=n("qoi6"),l=n("cG9e");n.d(e,"a",function(){return u});var u=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[l.a]}},t}();u.decorators=[{type:i.NgModule,args:[{declarations:[a.a,o.a,s.a],exports:[a.a],imports:[r.CommonModule],entryComponents:[s.a]}]}],u.ctorParameters=function(){return[]}},K0TW:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},KKz1:function(t,e,n){"use strict";function i(t,e,n){return void 0===e&&(e=a.async),void 0===n&&(n=l.defaultThrottleConfig),this.lift(new u(t,e,n.leading,n.trailing))}function r(t){t.subscriber.clearThrottle()}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("mmVS"),a=n("CGGv"),l=n("u/VN");e.throttleTime=i;var u=function(){function t(t,e,n,i){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=i}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),c=function(t){function e(e,n,i,r,o){t.call(this,e),this.duration=n,this.scheduler=i,this.leading=r,this.trailing=o,this._hasTrailingValue=!1,this._trailingValue=null}return o(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(r,this.duration,{subscriber:this})),this.leading&&this.destination.next(t))},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(s.Subscriber)},KLoZ:function(t,e,n){"use strict";function i(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var i=e.length,r=0;r<i;r++){var o=e[r];for(var s in o)o.hasOwnProperty(s)&&(t[s]=o[s])}return t}function r(t){return t.Object.assign||i}var o=n("VOfZ");e.assignImpl=i,e.getAssign=r,e.assign=r(o.root)},KRCp:function(t,e,n){"use strict";var i=n("rCTf"),r=n("sb+e");i.Observable.prototype.let=r.letProto,i.Observable.prototype.letBind=r.letProto},Kjxw:function(t,e,n){"use strict";function i(t,e,n){var i;return r.multicast.call(this,function(){return this._isComplete?i:i=new o.ReplaySubject(t,e,n)}).refCount()}var r=n("emOw"),o=n("MQMf");e.shareReplay=i},KuCq:function(t,e,n){"use strict";function i(t){return this.lift(new s(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.takeWhile=i;var s=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate))},t}(),a=function(t){function e(e,n){t.call(this,e),this.predicate=n,this.index=0}return r(e,t),e.prototype._next=function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(t){return void n.error(t)}this.nextOrComplete(t,e)},e.prototype.nextOrComplete=function(t,e){var n=this.destination;Boolean(e)?n.next(t):n.complete()},e}(o.Subscriber)},L2Hk:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("SKH6"),o=n("rCTf"),s=n("B00U"),a=function(t){function e(e,n,i){t.call(this),this.addHandler=e,this.removeHandler=n,this.selector=i}return i(e,t),e.create=function(t,n,i){return new e(t,n,i)},e.prototype._subscribe=function(t){var e=this,n=this.removeHandler,i=this.selector?function(){for(var n=[],i=0;i<arguments.length;i++)n[i-0]=arguments[i];e._callSelector(t,n)}:function(e){t.next(e)},o=this._callAddHandler(i,t);r.isFunction(n)&&t.add(new s.Subscription(function(){n(i,o)}))},e.prototype._callSelector=function(t,e){try{var n=this.selector.apply(this,e);t.next(n)}catch(e){t.error(e)}},e.prototype._callAddHandler=function(t,e){try{return this.addHandler(t)||null}catch(t){e.error(t)}},e}(o.Observable);e.FromEventPatternObservable=a},LHw1:function(t,e,n){"use strict";var i=n("rCTf"),r=n("9oY/");i.Observable.fromEventPattern=r.fromEventPattern},LON3:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=["#svgHaskell[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:100%!important;height:100%!important}"]},"LhE+":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rCTf"),o=n("CURp"),s=n("wAkD"),a=function(t){function e(e,n,i){t.call(this),this.condition=e,this.thenSource=n,this.elseSource=i}return i(e,t),e.create=function(t,n,i){return new e(t,n,i)},e.prototype._subscribe=function(t){var e=this,n=e.condition,i=e.thenSource,r=e.elseSource;return new l(t,n,i,r)},e}(r.Observable);e.IfObservable=a;var l=function(t){function e(e,n,i,r){t.call(this,e),this.condition=n,this.thenSource=i,this.elseSource=r,this.tryIf()}return i(e,t),e.prototype.tryIf=function(){var t,e=this,n=e.condition,i=e.thenSource,r=e.elseSource;try{t=n();var s=t?i:r;s?this.add(o.subscribeToResult(this,s)):this._complete()}catch(t){this._error(t)}},e}(s.OuterSubscriber)},Llwz:function(t,e,n){"use strict";function i(t){return this.lift(new l(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),s=n("wAkD"),a=n("CURp");e.window=i;var l=function(){function t(t){this.windowBoundaries=t}return t.prototype.call=function(t,e){var n=new u(t),i=e.subscribe(n);return i.closed||n.add(a.subscribeToResult(n,this.windowBoundaries)),i},t}(),u=function(t){function e(e){t.call(this,e),this.window=new o.Subject,e.next(this.window)}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.openWindow()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this._complete()},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t)},e.prototype._complete=function(){this.window.complete(),this.destination.complete()},e.prototype._unsubscribe=function(){this.window=null},e.prototype.openWindow=function(){var t=this.window;t&&t.complete();var e=this.destination,n=this.window=new o.Subject;e.next(n)},e}(s.OuterSubscriber)},LppN:function(t,e,n){"use strict";var i=n("rCTf"),r=n("C4lF");i.Observable.prototype.ignoreElements=r.ignoreElements},M0cT:function(t,e,n){"use strict";var i=n("3j3K"),r=n("+dDw");n.d(e,"a",function(){return s});var o=[r.a,r.b,r.c],s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t}();s.decorators=[{type:i.NgModule,args:[{declarations:o,exports:o}]}],s.ctorParameters=function(){return[]}},M5jZ:function(t,e,n){"use strict";function i(t){return this.lift(new s(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.skip=i;var s=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.total))},t}(),a=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return r(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(o.Subscriber)},MQMf:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("EEr4"),o=n("RA5l"),s=n("B00U"),a=n("Ji1B"),l=n("IZVw"),u=n("ZJf8"),c=function(t){function e(e,n,i){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY),t.call(this),this.scheduler=i,this._events=[],this._bufferSize=e<1?1:e,this._windowTime=n<1?1:n}return i(e,t),e.prototype.next=function(e){var n=this._getNow();this._events.push(new h(n,e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._trimBufferThenGetEvents(),i=this.scheduler;if(this.closed)throw new l.ObjectUnsubscribedError;this.hasError?e=s.Subscription.EMPTY:this.isStopped?e=s.Subscription.EMPTY:(this.observers.push(t),e=new u.SubjectSubscription(this,t)),i&&t.add(t=new a.ObserveOnSubscriber(t,i));for(var r=n.length,o=0;o<r&&!t.closed;o++)t.next(n[o].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||o.queue).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,n=this._windowTime,i=this._events,r=i.length,o=0;o<r&&!(t-i[o].time<n);)o++;return r>e&&(o=Math.max(o,r-e)),o>0&&i.splice(0,o),i},e}(r.Subject);e.ReplaySubject=c;var h=function(){function t(t,e){this.time=t,this.value=e}return t}()},MSQt:function(t,e,n){"use strict";var i=n("3j3K"),r=n("6uCv"),o=n("c7mC");n.d(e,"a",function(){return a});var s=[r.a,r.b],a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}();a.decorators=[{type:i.NgModule,args:[{declarations:s,exports:s}]}],a.ctorParameters=function(){return[]}},"Mn0/":function(t,e,n){"use strict";function i(t){return o["ɵvid"](0,[(t()(),o["ɵted"](null,["",""]))],null,function(t,e){t(e,0,0,e.component.date.day)})}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"div",[["ngbDatepickerDayView",""]],[[2,"bg-primary",null],[2,"text-white",null],[2,"text-muted",null],[2,"outside",null],[2,"btn-secondary",null]],null,null,a.a,a.b)),o["ɵdid"](49152,null,0,s.a,[],null,null)],null,function(t,e){t(e,0,0,o["ɵnov"](e,1).selected,o["ɵnov"](e,1).selected,o["ɵnov"](e,1).isMuted(),o["ɵnov"](e,1).isMuted(),!o["ɵnov"](e,1).disabled)})}var o=n("3j3K"),s=n("U6gI"),a=n("Mn0/");n.d(e,"b",function(){return u}),e.a=i;var l=["[_nghost-%COMP%] {\n text-align: center;\n width: 2rem;\n height: 2rem;\n line-height: 2rem; \n border-radius: 0.25rem;\n }\n .outside[_nghost-%COMP%] {\n opacity: 0.5;\n }"],u=o["ɵcrt"]({encapsulation:0,styles:l,data:{}});o["ɵccf"]("[ngbDatepickerDayView]",s.a,r,{currentMonth:"currentMonth",date:"date",disabled:"disabled",selected:"selected"},{},[])},Mqdq:function(t,e,n){"use strict";function i(t,e){return this.lift(new l(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("B00U"),s=n("CURp"),a=n("wAkD");e.bufferToggle=i;var l=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.openings,this.closingSelector))},t}(),u=function(t){function e(e,n,i){t.call(this,e),this.openings=n,this.closingSelector=i,this.contexts=[],this.add(s.subscribeToResult(this,n))}return r(e,t),e.prototype._next=function(t){for(var e=this.contexts,n=e.length,i=0;i<n;i++)e[i].buffer.push(t)},e.prototype._error=function(e){for(var n=this.contexts;n.length>0;){var i=n.shift();i.subscription.unsubscribe(),i.buffer=null,i.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var n=e.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,i,r){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector,n=e.call(this,t);n&&this.trySubscribe(n)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var n=t.buffer,i=t.subscription;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(i),i.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=[],i=new o.Subscription,r={buffer:n,subscription:i};e.push(r);var a=s.subscribeToResult(this,t,r);!a||a.closed?this.closeBuffer(r):(a.context=r,this.add(a),i.add(a))},e}(a.OuterSubscriber)},MvGQ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Gvdl"),r=function(){function t(t){this.dialogService=t}return t.prototype.fillData=function(t){var e=this;t=t||{};for(var n=Object.keys(t),r=0,o=n.length;r<o;r++){var s=n[r];this[s]=t[s]}return i.Observable.create(function(t){return e.observer=t,function(){e.close()}})},t.prototype.close=function(){this.dialogService.removeDialog(this)},t.prototype.ngOnDestroy=function(){this.observer&&this.observer.next(this.result)},t}();e.DialogComponent=r},Mvzr:function(t,e,n){"use strict";var i=n("rCTf"),r=n("+w3m");i.Observable.prototype.elementAt=r.elementAt},NJh0:function(t,e,n){"use strict";var i=n("rCTf"),r=n("RJ4+");i.Observable.prototype.defaultIfEmpty=r.defaultIfEmpty},NgUg:function(t,e,n){"use strict";function i(t){var e=t.obj,n=t.keys,i=t.length,r=t.index,o=t.subscriber;if(r===i)return void o.complete();var s=n[r];o.next([s,e[s]]),t.index=r+1,this.schedule(t)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("rCTf"),s=function(t){function e(e,n){t.call(this),this.obj=e,this.scheduler=n,this.keys=Object.keys(e)}return r(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e=this,n=e.keys,r=e.scheduler,o=n.length;if(r)return r.schedule(i,0,{obj:this.obj,keys:n,length:o,index:0,subscriber:t});for(var s=0;s<o;s++){var a=n[s];t.next([a,this.obj[a]])}t.complete()},e}(o.Observable);e.PairsObservable=s},Nr0j:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n("XMV4");e.BootstrapModalModule=i.BootstrapModalModule,e.DialogComponent=i.DialogComponent,e.DialogService=i.DialogService},"O/+v":function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=null),this.lift(new s(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.bufferCount=i;var s=function(){function t(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?l:a}return t.prototype.call=function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))},t}(),a=function(t){function e(e,n){t.call(this,e),this.bufferSize=n,this.buffer=[]}return r(e,t),e.prototype._next=function(t){var e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])},e.prototype._complete=function(){var e=this.buffer;e.length>0&&this.destination.next(e),t.prototype._complete.call(this)},e}(o.Subscriber),l=function(t){function e(e,n,i){t.call(this,e),this.bufferSize=n,this.startBufferEvery=i,this.buffers=[],this.count=0}return r(e,t),e.prototype._next=function(t){var e=this,n=e.bufferSize,i=e.startBufferEvery,r=e.buffers,o=e.count;this.count++,o%i==0&&r.push([]);for(var s=r.length;s--;){var a=r[s];a.push(t),a.length===n&&(r.splice(s,1),this.destination.next(a))}},e.prototype._complete=function(){for(var e=this,n=e.buffers,i=e.destination;n.length>0;){var r=n.shift();r.length>0&&i.next(r)}t.prototype._complete.call(this)},e}(o.Subscriber)},O8p4:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Y3yw");i.Observable.race=r.raceStatic},OEcN:function(t,e,n){"use strict";var i=n("3j3K"),r=n("NVOs"),o=n("2yGx"),s=n("hUSH"),a=n("tyH+");n.d(e,"a",function(){return u});var l={provide:r.NG_VALUE_ACCESSOR,useExisting:n.i(i.forwardRef)(function(){return u}),multi:!0},u=function(){function t(t){this.onChange=function(t){},this.onTouched=function(){},this.meridian=t.meridian,this.spinners=t.spinners,this.seconds=t.seconds,this.hourStep=t.hourStep,this.minuteStep=t.minuteStep,this.secondStep=t.secondStep,this.disabled=t.disabled,this.readonlyInputs=t.readonlyInputs,this.size=t.size}return t.prototype.writeValue=function(t){this.model=t?new s.a(t.hour,t.minute,t.second):new s.a,this.seconds||t&&n.i(o.a)(t.second)||(this.model.second=0)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.changeHour=function(t){this.model.changeHour(t),this.propagateModelChange()},t.prototype.changeMinute=function(t){this.model.changeMinute(t),this.propagateModelChange()},t.prototype.changeSecond=function(t){this.model.changeSecond(t),this.propagateModelChange()},t.prototype.updateHour=function(t){this.model.updateHour(n.i(o.b)(t)),this.propagateModelChange()},t.prototype.updateMinute=function(t){this.model.updateMinute(n.i(o.b)(t)),this.propagateModelChange()},t.prototype.updateSecond=function(t){this.model.updateSecond(n.i(o.b)(t)),this.propagateModelChange()},t.prototype.toggleMeridian=function(){this.meridian&&this.changeHour(12)},t.prototype.formatHour=function(t){return n.i(o.a)(t)?this.meridian?n.i(o.c)(t%12==0?12:t%12):n.i(o.c)(t%24):n.i(o.c)(NaN)},t.prototype.formatMinSec=function(t){return n.i(o.c)(t)},t.prototype.setFormControlSize=function(){return{"form-control-sm":"small"===this.size,"form-control-lg":"large"===this.size}},t.prototype.setButtonSize=function(){return{"btn-sm":"small"===this.size,"btn-lg":"large"===this.size}},t.prototype.ngOnChanges=function(t){t.seconds&&!this.seconds&&this.model&&!n.i(o.a)(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))},t.prototype.propagateModelChange=function(t){void 0===t&&(t=!0),t&&this.onTouched(),this.model.isValid(this.seconds)?this.onChange({hour:this.model.hour,minute:this.model.minute,second:this.model.second}):this.onChange(null)},t}();u.decorators=[{type:i.Component,args:[{selector:"ngb-timepicker",styles:["\n .ngb-tp {\n display: flex;\n align-items: center;\n }\n\n .ngb-tp-hour, .ngb-tp-minute, .ngb-tp-second, .ngb-tp-meridian {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n }\n\n .ngb-tp-spacer {\n width: 1em;\n text-align: center;\n }\n\n .chevron::before {\n border-style: solid;\n border-width: 0.29em 0.29em 0 0;\n content: '';\n display: inline-block;\n height: 0.69em;\n left: 0.05em;\n position: relative;\n top: 0.15em;\n transform: rotate(-45deg);\n -webkit-transform: rotate(-45deg);\n -ms-transform: rotate(-45deg);\n vertical-align: middle;\n width: 0.71em;\n }\n\n .chevron.bottom:before {\n top: -.3em;\n -webkit-transform: rotate(135deg);\n -ms-transform: rotate(135deg);\n transform: rotate(135deg);\n }\n\n .btn-link {\n outline: 0;\n }\n\n .btn-link.disabled {\n cursor: not-allowed;\n opacity: .65;\n }\n\n input {\n text-align: center;\n display: inline-block;\n width: auto;\n }\n "],template:'\n <fieldset [disabled]="disabled" [class.disabled]="disabled">\n <div class="ngb-tp">\n <div class="ngb-tp-hour">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeHour(hourStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron"></span>\n <span class="sr-only">Increment hours</span>\n </button>\n <input type="text" class="form-control" [ngClass]="setFormControlSize()" maxlength="2" size="2" placeholder="HH"\n [value]="formatHour(model?.hour)" (change)="updateHour($event.target.value)"\n [readonly]="readonlyInputs" [disabled]="disabled" aria-label="Hours">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeHour(-hourStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron bottom"></span>\n <span class="sr-only">Decrement hours</span>\n </button>\n </div>\n <div class="ngb-tp-spacer">:</div>\n <div class="ngb-tp-minute">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeMinute(minuteStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron"></span>\n <span class="sr-only">Increment minutes</span>\n </button>\n <input type="text" class="form-control" [ngClass]="setFormControlSize()" maxlength="2" size="2" placeholder="MM"\n [value]="formatMinSec(model?.minute)" (change)="updateMinute($event.target.value)"\n [readonly]="readonlyInputs" [disabled]="disabled" aria-label="Minutes">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeMinute(-minuteStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron bottom"></span>\n <span class="sr-only">Decrement minutes</span>\n </button>\n </div>\n <div *ngIf="seconds" class="ngb-tp-spacer">:</div>\n <div *ngIf="seconds" class="ngb-tp-second">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeSecond(secondStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron"></span>\n <span class="sr-only">Increment seconds</span>\n </button>\n <input type="text" class="form-control" [ngClass]="setFormControlSize()" maxlength="2" size="2" placeholder="SS"\n [value]="formatMinSec(model?.second)" (change)="updateSecond($event.target.value)"\n [readonly]="readonlyInputs" [disabled]="disabled" aria-label="Seconds">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeSecond(-secondStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron bottom"></span>\n <span class="sr-only">Decrement seconds</span>\n </button>\n </div>\n <div *ngIf="meridian" class="ngb-tp-spacer"></div>\n <div *ngIf="meridian" class="ngb-tp-meridian">\n <button type="button" class="btn btn-outline-primary" [ngClass]="setButtonSize()"\n [disabled]="disabled" [class.disabled]="disabled"\n (click)="toggleMeridian()">{{model.hour >= 12 ? \'PM\' : \'AM\'}}</button>\n </div>\n </div>\n </fieldset>\n ',providers:[l]}]}],u.ctorParameters=function(){return[{type:a.a}]},u.propDecorators={meridian:[{type:i.Input}],spinners:[{type:i.Input}],seconds:[{type:i.Input}],hourStep:[{type:i.Input}],minuteStep:[{type:i.Input}],secondStep:[{type:i.Input}],readonlyInputs:[{type:i.Input}],size:[{type:i.Input}]}},OLzJ:function(t,e,n){"use strict";var i=n("VOfZ"),r=function(){function t(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){return t.setTimeout(e,1e3/60)})}return t}();e.RequestAnimationFrameDefinition=r,e.AnimationFrame=new r(i.root)},"Oa+j":function(t,e,n){"use strict";function i(){return this.lift(new s)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.dematerialize=i;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e)}return r(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(o.Subscriber)},Ou9t:function(t,e,n){"use strict";function i(){return function(){function t(){this._values=[]}return t.prototype.add=function(t){this.has(t)||this._values.push(t)},t.prototype.has=function(t){return-1!==this._values.indexOf(t)},Object.defineProperty(t.prototype,"size",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this._values.length=0},t}()}var r=n("VOfZ");e.minimalSetImpl=i,e.Set=r.root.Set||i()},P3oE:function(t,e,n){"use strict";function i(t){return!r.isArray(t)&&t-parseFloat(t)+1>=0}var r=n("Xajo");e.isNumeric=i},PMZt:function(t,e,n){"use strict";var i=n("rCTf"),r=n("u/VN");i.Observable.prototype.throttle=r.throttle},PN3d:function(t,e,n){"use strict";function i(t){return o.multicast.call(this,new r.BehaviorSubject(t))}var r=n("TfWX"),o=n("emOw");e.publishBehavior=i},POFt:function(t,e,n){"use strict";function i(t){return 0===t?new a.EmptyObservable:this.lift(new l(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("8Z8y"),a=n("jBEF");e.take=i;var l=function(){function t(t){if(this.total=t,this.total<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return r(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(o.Subscriber)},PutI:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("cwzr"),o=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return i(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,i):e.flush(this)},e}(r.AsyncAction);e.QueueAction=o},PvYY:function(t,e,n){"use strict";var i=n("rCTf"),r=n("0gHg");i.Observable.prototype.publishReplay=r.publishReplay},PwiB:function(t,e,n){"use strict";var i=n("rCTf"),r=n("sKQ8");i.Observable.prototype.windowTime=r.windowTime},Q0je:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rCTf"),o=n("YOd+"),s=function(t){function e(){t.call(this)}return i(e,t),e.create=function(){return new e},e.prototype._subscribe=function(t){o.noop()},e}(r.Observable);e.NeverObservable=s},QNuG:function(t,e,n){"use strict";function i(){return o.multicast.call(this,new r.AsyncSubject)}var r=n("5c/I"),o=n("emOw");e.publishLast=i},QQ7W:function(module,__webpack_exports__,__webpack_require__){"use strict";var __WEBPACK_IMPORTED_MODULE_0__shared_services_ghci_service__=__webpack_require__("J3Pa");__webpack_require__.d(__webpack_exports__,"a",function(){return CanvasComponent});var CanvasComponent=function(){function CanvasComponent(ghciService){var _this=this;this.ghciService=ghciService,this.animar_=!0,this.objetos=[],this.evaluacionVertical=!0,this.elementosAnimacion=[],this.frameAnimacion=0,this.animando=!0,this.mostrarEjes=!0,this.mostrarGrilla=!0,this.tipoZoom="Todo",this.tipoZoomDesc="Zoom en ambos ejes",this.mostrarOcultarEjes=function(){this.mostrarEjes=!this.mostrarEjes,this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),this.dibujarObjetos()},this.mostrarOcultarGrilla=function(){this.mostrarGrilla=!this.mostrarGrilla,this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),this.dibujarObjetos()},this.mostrarEvaluacionVertical=function(){this.evaluacionVertical=!this.evaluacionVertical,this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),this.dibujarObjetos()},this.limpiarCanvas=function(){this.animar_=!1,clearTimeout(this.timeOutRef),this.objetos=[],this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),(this.mostrarEjes||this.mostrarGrilla)&&(this.drawXAxis(this.context),this.drawYAxis(this.context))},this.centrarCanvas=function(){this.maxX=10,this.maxY=10/this.aspectRatio,this.minX=-10,this.minY=-10/this.aspectRatio,this.rangeX=this.maxX-this.minX,this.rangeY=this.maxY-this.minY,this.unitsPerTickX=1,this.unitsPerTickY=1,this.unitX=this.canvasRef.nativeElement.width/this.rangeX,this.unitY=this.canvasRef.nativeElement.height/this.rangeY,this.centerY=-this.minY/this.rangeY*this.canvasRef.nativeElement.height,this.centerX=-this.minX/this.rangeX*this.canvasRef.nativeElement.width,this.iteration=(this.maxX-this.minX)/1e3,this.scaleX=this.canvasRef.nativeElement.width/this.rangeX,this.scaleY=this.canvasRef.nativeElement.height/this.rangeY,this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),this.dibujarObjetos()},this.cambiarTipoZoom=function(){"Todo"==this.tipoZoom?(this.tipoZoom="Abscisa",this.tipoZoomDesc="Zoom en abscisa"):"Abscisa"==this.tipoZoom?(this.tipoZoom="Ordenada",this.tipoZoomDesc="Zoom en ordenada"):(this.tipoZoom="Todo",this.tipoZoomDesc="Zoom en ambos ejes")},this.generarFuncion=function(t){for(var e,n="",i=0,r=t.funs;i<r.length;i++){var o=r[i];n="var "+o.fun+" = function("+o.args.join()+"){\n return "+this.generarExpresion(o.bdy)+"}\n"+n,o.fun==t.graph&&(n+="return "+o.fun+"("+o.args.join()+");\n",e=o)}return n="("+e.args.join()+",delta,hayPunto)=>{\n"+n+"}"},this.generarExpresion=function(t){var e=this,n="";return"cnd"==t.kind?n=" ("+this.generarExpresion(t.cond)+"?"+this.generarExpresion(t.exp1)+":"+this.generarExpresion(t.exp2)+") ":"bop"==t.kind?n="=="==t.op?" Math.abs(("+this.generarExpresion(t.exp1)+") - ("+this.generarExpresion(t.exp2)+")) < delta && hayPunto() ":"/="==t.op?" Math.abs(("+this.generarExpresion(t.exp1)+") - ("+this.generarExpresion(t.exp2)+")) > delta || Math.abs(("+this.generarExpresion(t.exp1)+") - ("+this.generarExpresion(t.exp2)+")) < delta && !hayPunto() ":" ("+this.generarExpresion(t.exp1)+")"+t.op+"("+this.generarExpresion(t.exp2)+") ":"uop"==t.kind?n=" "+t.op+" "+this.generarExpresion(t.exp)+" ":"app"==t.kind?("cos"==t.fun?t.fun="Math.cos":"sen"==t.fun?t.fun="Math.sin":"red"==t.fun&&(t.fun="Math.round"),n=" "+t.fun+"("+t.args.map(function(t){return e.generarExpresion(t)}).join()+") "):n="tup"==t.kind?" ("+t.exps.map(function(t){return e.generarExpresion(t)}).join()+") ":"lit"==t.kind?" "+t.val+" ":"var"==t.kind?" "+t.var+" ":" undefined ",n},this.animar=function(){this.animar_=!0,(this.mostrarEjes||this.mostrarGrilla)&&(this.drawXAxis(this.context),this.drawYAxis(this.context)),this.objetos=[],this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),(this.mostrarEjes||this.mostrarGrilla)&&(this.drawXAxis(this.context),this.drawYAxis(this.context)),this.objetos=this.elementosAnimacion[this.frameAnimacion],this.dibujarObjetos(),this.animando&&(this.timeOutRef=setTimeout(function(){this.animando&&(this.frameAnimacion++,this.frameAnimacion>=this.elementosAnimacion.length&&(this.frameAnimacion=0),this.animar_&&this.animar())}.bind(this),1e3))},this.dibujarObjetos=function(){(this.mostrarEjes||this.mostrarGrilla)&&(this.drawXAxis(this.context),this.drawYAxis(this.context));for(var t=0,e=this.objetos;t<e.length;t++){var n=e[t];"circulo"==n.tipo?this.drawCircle(n.x,n.y,n.r,n.color,n.rotacion):"grafica"==n.tipo?this.drawEquation(n.ecuacion,n.color,n.thickness):"rectangulo"==n.tipo?this.drawRect(n.x,n.y,n.w,n.h,n.color,n.rotacion):"texto"==n.tipo?this.drawText(n.x,n.y,n.text,n.size,n.color,n.rotacion):"poligono"==n.tipo?this.drawPolyline(!0,n.puntos,n.color,n.rotacion):"lineas"==n.tipo&&this.drawPolyline(!1,n.puntos,n.color,n.rotacion)}},this.Graph=function(t){this.config={canvasId:"myCanvas",minX:-10,minY:-10/t,maxX:10,maxY:10/t,unitsPerTickX:1,unitsPerTickY:1},this.aspectRatio=t,this.canvas=this.canvasRef,this.minX=this.config.minX,this.minY=this.config.minY,this.maxX=this.config.maxX,this.maxY=this.config.maxY,this.unitsPerTickX=this.config.unitsPerTickX,this.unitsPerTickY=this.config.unitsPerTickY,this.axisColor="#aaa",this.font="8pt Calibri",this.tickSize=10,this.context=this.canvasRef.nativeElement.getContext("2d"),this.rangeX=this.maxX-this.minX,this.rangeY=this.maxY-this.minY,this.unitX=this.canvasRef.nativeElement.width/this.rangeX,this.unitY=this.canvasRef.nativeElement.height/this.rangeY,this.centerY=Math.round(Math.abs(this.minY/this.rangeY)*this.canvasRef.nativeElement.height),this.centerX=Math.round(Math.abs(this.minX/this.rangeX)*this.canvasRef.nativeElement.width),this.iteration=(this.maxX-this.minX)/1e3,this.scaleX=this.canvasRef.nativeElement.width/this.rangeX,this.scaleY=this.canvasRef.nativeElement.height/this.rangeY},this.drawXAxis=function(t){t.save();var e=this.unitsPerTickX*this.unitX;t.font=this.font,t.textAlign="center",t.textBaseline="top";var n=this.centerX-e,i=-1*this.unitsPerTickX;for(this.mostrarGrilla&&(t.beginPath(),t.strokeStyle="#EEEEEE",t.lineWidth=1,t.moveTo(this.centerX,0),t.lineTo(this.centerX,this.canvasRef.nativeElement.height),t.stroke());n>0;)this.mostrarGrilla&&(t.beginPath(),t.strokeStyle="#EEEEEE",t.lineWidth=1,t.moveTo(n,0),t.lineTo(n,this.canvasRef.nativeElement.height),t.stroke()),this.mostrarEjes&&(t.beginPath(),t.strokeStyle=this.axisColor,t.lineWidth=2,t.moveTo(n,this.centerY-this.tickSize/2),t.lineTo(n,this.centerY+this.tickSize/2),t.stroke(),t.fillText(i+"",n,this.centerY+this.tickSize/2+3)),i=parseFloat((i-this.unitsPerTickX).toFixed(2)),n=Math.round(n-e);for(n=this.centerX+e,i=this.unitsPerTickX;n<this.canvas.nativeElement.width;)this.mostrarGrilla&&(t.beginPath(),t.strokeStyle="#EEEEEE",t.lineWidth=1,t.moveTo(n,0),t.lineTo(n,this.canvasRef.nativeElement.height),t.stroke()),this.mostrarEjes&&(t.beginPath(),t.strokeStyle=this.axisColor,t.lineWidth=2,t.moveTo(n,this.centerY-this.tickSize/2),t.lineTo(n,this.centerY+this.tickSize/2),t.stroke(),t.fillText(i+"",n,this.centerY+this.tickSize/2+3)),i=parseFloat((i+this.unitsPerTickX).toFixed(2)),n=Math.round(n+e);this.mostrarEjes&&(t.beginPath(),t.strokeStyle=this.axisColor,t.lineWidth=2,t.moveTo(0,this.centerY),t.lineTo(this.canvasRef.nativeElement.width,this.centerY),t.stroke(),t.moveTo(this.canvasRef.nativeElement.width,this.centerY),t.lineTo(this.canvasRef.nativeElement.width-12,this.centerY-5),t.stroke(),t.moveTo(this.canvasRef.nativeElement.width,this.centerY),t.lineTo(this.canvasRef.nativeElement.width-12,this.centerY+5),t.stroke()),t.restore()},this.drawYAxis=function(t){t.save();var e=this.unitsPerTickY*this.unitY;t.font=this.font,t.textAlign="right",t.textBaseline="middle";var n=this.centerY-e,i=this.unitsPerTickY;for(this.mostrarGrilla&&(t.beginPath(),t.strokeStyle="#EEEEEE",t.lineWidth=1,t.moveTo(0,this.centerY),t.lineTo(this.canvasRef.nativeElement.width,this.centerY),t.stroke());n>0;)this.mostrarGrilla&&(t.beginPath(),t.strokeStyle="#EEEEEE",t.lineWidth=1,t.moveTo(0,n),t.lineTo(this.canvasRef.nativeElement.width,n),t.stroke()),this.mostrarEjes&&(t.beginPath(),t.strokeStyle=this.axisColor,t.lineWidth=2,t.moveTo(this.centerX-this.tickSize/2,n),t.lineTo(this.centerX+this.tickSize/2,n),t.stroke(),t.fillText(i,this.centerX-this.tickSize/2-3,n)),i=parseFloat((i+this.unitsPerTickY).toFixed(2)),n=Math.round(n-e);for(n=this.centerY+e,i=-1*this.unitsPerTickY;n<this.canvasRef.nativeElement.height;)this.mostrarGrilla&&(t.beginPath(),t.strokeStyle="#EEEEEE",t.lineWidth=1,t.moveTo(0,n),t.lineTo(this.canvasRef.nativeElement.width,n),t.stroke()),this.mostrarEjes&&(t.beginPath(),t.strokeStyle=this.axisColor,t.lineWidth=2,t.moveTo(this.centerX-this.tickSize/2,n),t.lineTo(this.centerX+this.tickSize/2,n),t.stroke(),t.fillText(i,this.centerX-this.tickSize/2-3,n)),i=parseFloat((i-this.unitsPerTickY).toFixed(2)),n=Math.round(n+e);this.mostrarEjes&&(t.beginPath(),t.strokeStyle=this.axisColor,t.lineWidth=2,t.moveTo(this.centerX,0),t.lineTo(this.centerX,this.canvasRef.nativeElement.height),t.stroke(),t.moveTo(this.centerX,0),t.lineTo(this.centerX+5,12),t.stroke(),t.moveTo(this.centerX,0),t.lineTo(this.centerX-5,12),t.stroke()),t.restore()},this.transformContext=function(t){t.translate(this.centerX,this.centerY),t.scale(this.scaleX,-this.scaleY)},this.hayGraficas=function(){for(var t=0,e=this.objetos;t<e.length;t++){if("grafica"==e[t].tipo)return!0}return!1},this.verticalLine=function(t,e){if(this.hayGraficas()){this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),this.dibujarObjetos();this.context;this.context.moveTo(t,0),this.context.lineTo(t,this.canvasRef.nativeElement.height);for(var n=-this.centerX/this.scaleX,i=-this.centerY/this.scaleY,r=t/this.canvasRef.nativeElement.width*this.rangeX+n,o=0,s=this.objetos;o<s.length;o++){var a=s[o];if("grafica"==a.tipo){var r=Math.trunc(100*r)/100,l=a.ecuacion(r,this.rangeX/500,function(){return!0}),u=-(l+i)/this.rangeY*this.canvasRef.nativeElement.height;a.color&&(this.context.fillStyle=a.color),this.context.fillText("("+r.toFixed(2)+","+l.toFixed(2)+")",t+10,u),this.context.fillStyle="black",this.context.fillRect(t-2.5,u-2.5,5,5)}}this.context.stroke()}},this.leaveCanvas=function(t){this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),this.dibujarObjetos()},this.moveGraph=function(t){if(1===t.buttons&&"mousemove"==t.type)this.centerX+=t.offsetX-this.lastPositionX,this.centerY+=t.offsetY-this.lastPositionY,this.minX=-this.centerX/this.scaleX,this.maxY=this.centerY/this.scaleY,this.maxX=this.canvasRef.nativeElement.width/this.scaleX-this.centerX/this.scaleX,this.minY=-(this.canvasRef.nativeElement.height/this.scaleY-this.centerY/this.scaleY),this.lastPositionX=t.offsetX,this.lastPositionY=t.offsetY,this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),this.dibujarObjetos();else if("touchend"==t.type)1==t.touches.length&&(this.lastPositionX=t.touches[0].clientX,this.lastPositionY=t.touches[0].clientY);else if("touchmove"==t.type){if(1==t.touches.length)this.centerX+=t.touches[0].clientX-this.lastPositionX,this.centerY+=t.touches[0].clientY-this.lastPositionY,this.minX=-this.centerX/this.scaleX,this.maxY=this.centerY/this.scaleY,this.maxX=this.canvasRef.nativeElement.width/this.scaleX-this.centerX/this.scaleX,this.minY=-(this.canvasRef.nativeElement.height/this.scaleY-this.centerY/this.scaleY),this.lastPositionX=t.touches[0].clientX,this.lastPositionY=t.touches[0].clientY,this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),this.dibujarObjetos();else if(this.lastZoom&&t.touches.length>1){this.lastPositionX=t.touches[0].clientX,this.lastPositionY=t.touches[0].clientY;var e=t.touches[1].clientX,n=t.touches[1].clientY,i=Math.sqrt(Math.pow(this.lastPositionX-e,2)+Math.pow(this.lastPositionY-n,2));Math.abs(i-this.lastZoom)>2&&this.zoom((i-this.lastZoom)/15),this.lastZoom=i}}else if("touchstart"==t.type)if(this.lastPositionX=t.touches[0].clientX,this.lastPositionY=t.touches[0].clientY,t.touches.length>1){var e=t.touches[1].clientX,n=t.touches[1].clientY;this.lastZoom=Math.sqrt(Math.pow(this.lastPositionX-e,2)+Math.pow(this.lastPositionY-n,2))}else this.lastZoom=void 0;else this.lastPositionX=t.offsetX,this.lastPositionY=t.offsetY;if(this.evaluacionVertical){var e,n,r=this.canvasRef.nativeElement.getBoundingClientRect();t instanceof MouseEvent?(e=t.clientX-r.left,n=t.clientY-r.top):t instanceof TouchEvent&&(e=t.touches[0].clientX-r.left,n=t.touches[0].clientY-r.top),this.verticalLine(e,n)}t instanceof TouchEvent&&t.preventDefault()},this.zoomGraph=function(t){var t=window.event||t,e=Math.max(-1,Math.min(1,t.wheelDelta||-t.detail));return this.zoom(e,t.clientX,t.clientY),!1},this.zoomMas=function(){this.zoom(1)},this.zoomMenos=function(){this.zoom(-1)},this.zoom=function(t,e,n){var i=t*this.rangeX/20,r=t*this.rangeY/20;if(!("Todo"==this.tipoZoom&&(this.rangeX<.1&&i>0||this.rangeX>1e4&&i<0||this.rangeY<.1&&r>0||this.rangeY>1e4&&r<0)||"Abscisa"==this.tipoZoom&&(this.rangeX<.1&&i>0||this.rangeX>1e4&&i<0)||"Ordenada"==this.tipoZoom&&(this.rangeY<.1&&r>0||this.rangeY>1e4&&r<0))){if(e&&n){var o=this.canvasRef.nativeElement.getBoundingClientRect(),s=e-o.left,a=n-o.top,l=-this.centerX/this.scaleX,u=-(this.canvasRef.nativeElement.height/this.scaleY-this.centerY/this.scaleY),c=s/this.canvasRef.nativeElement.width*this.rangeX+l,h=(1-a/this.canvasRef.nativeElement.height)*this.rangeY+u,p=Math.abs(c-this.minX)/Math.abs(this.maxX-this.minX),d=Math.abs(h-this.minY)/Math.abs(this.maxY-this.minY);"Todo"==this.tipoZoom?(this.maxX-=i*(1-p),this.maxY-=r*(1-d),this.minX+=i*p,this.minY+=r*d):"Abscisa"==this.tipoZoom?(this.maxX-=i*(1-p),this.minX+=i*p):(this.maxY-=r*(1-d),this.minY+=r*d)}else"Todo"==this.tipoZoom?(this.maxX-=i,this.maxY-=r,this.minX+=i,this.minY+=r):"Abscisa"==this.tipoZoom?(this.maxX-=i,this.minX+=i):(this.maxY-=r,this.minY+=r);this.rangeX=this.maxX-this.minX,this.rangeY=this.maxY-this.minY,this.rangeX>15?this.unitsPerTickX=Math.round(this.rangeX/15):this.rangeX>4?this.unitsPerTickX=1:this.rangeX>1.5?this.unitsPerTickX=Math.round(this.rangeX/15*10)/10:this.rangeX>.4?this.unitsPerTickX=.1:this.rangeX>.15?this.unitsPerTickX=Math.round(this.rangeX/15*100)/100:this.unitsPerTickX=.01,this.rangeY>15?this.unitsPerTickY=Math.round(this.rangeY/15):this.rangeY>4?this.unitsPerTickY=1:this.rangeY>1.5?this.unitsPerTickY=Math.round(this.rangeY/15*10)/10:this.rangeY>.4?this.unitsPerTickY=.1:this.rangeY>.15?this.unitsPerTickY=Math.round(this.rangeY/15*100)/100:this.unitsPerTickY=.01,this.unitX=this.canvasRef.nativeElement.width/this.rangeX,this.unitY=this.canvasRef.nativeElement.height/this.rangeY,this.centerY=this.maxY/this.rangeY*this.canvasRef.nativeElement.height,this.centerX=-this.minX/this.rangeX*this.canvasRef.nativeElement.width,this.iteration=(this.maxX-this.minX)/1e3,this.scaleX=this.canvasRef.nativeElement.width/this.rangeX,this.scaleY=this.canvasRef.nativeElement.height/this.rangeY,this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),this.dibujarObjetos()}},this.drawCircle=function(t,e,n,i,r){var o=this.context;o.save(),o.save(),this.transformContext(o),o.beginPath();try{o.translate(0,0);var s=r*Math.PI/180,a=Math.cos(s)*t-Math.sin(s)*e,l=Math.sin(s)*t+Math.cos(s)*e;o.rotate(-s),this.context.arc(a,l,n,0,2*Math.PI,!1),i&&(o.fillStyle=i,o.fill())}catch(t){this.limpiarCanvas()}o.restore(),o.lineJoin="round",o.lineWidth=this.thickness,o.strokeStyle=this.color,o.stroke(),o.restore()},this.drawText=function(t,e,n,i,r,o){this.context.save();var s=-this.centerX/this.scaleX,a=-this.centerY/this.scaleY,l=-(e+a)/this.rangeY*this.canvasRef.nativeElement.height,u=(t-s)/this.rangeX*this.canvasRef.nativeElement.width;r&&(this.context.fillStyle=r),this.context.translate(u,l);var c=o*Math.PI/180;this.context.rotate(c),this.context.font=100*i/this.rangeX+"pt Arial",this.context.textBaseline="middle",this.context.textAlign="center",this.context.fillText(n,0,0),this.context.restore()},this.drawRect=function(t,e,n,i,r,o){var s=this.context;s.save(),s.save(),this.transformContext(s),s.beginPath();try{s.translate(0,0);var a=o*Math.PI/180,l=Math.cos(a)*t-Math.sin(a)*e,u=Math.sin(a)*t+Math.cos(a)*e;s.rotate(-a),s.rect(l-n/2,u-i/2,n,i),r&&(s.fillStyle=r,s.fill()),s.translate(this.centerX,this.centerY)}catch(t){this.limpiarCanvas()}s.restore(),s.lineJoin="round",s.lineWidth=this.thickness,s.strokeStyle=this.color,s.stroke(),s.restore()},this.drawElipse=function(t,e,n,i,r){var o=this.context;this.color="green",this.thickness=3,o.save(),o.save(),this.transformContext(o),o.beginPath();try{this.context.ellipse(t,e,n,i,r*Math.PI/180,0,2*Math.PI)}catch(t){this.limpiarCanvas()}o.restore(),o.lineJoin="round",o.lineWidth=this.thickness,o.strokeStyle=this.color,o.stroke(),o.restore()},this.drawEquation=function(t,e,n){var i=this.context;i.save(),i.save(),this.transformContext(i),i.beginPath(),i.lineWidth=n;try{i.moveTo(this.minX,t(this.minX));for(var r=!0,o=void 0,s=void 0,a=void 0,l=.5,u=void 0,l=this.rangeX/1e3,c=this.rangeX/200,h=this.minX+this.iteration;h<=this.maxX;h+=this.iteration)try{var p=!1,d=function(){return p=!0,!0},f=t(h,l,d);if(p)this.context.fillRect(h-c/2,f-c/2,c,c),r=!0,p=!1;else{if(void 0!=a){var m=(Math.abs(Math.abs(u)-Math.abs(f)),Math.tan(Math.atan(a)+Math.PI/8)),v=Math.tan(Math.atan(a)-Math.PI/8);a>0&&m<0&&(m=1e6),a<0&&v>0&&(v=-1e6);var g=(h-o)*m-(f-s),y=(h-o)*v-(f-s);(g<0||y>0)&&(r=!0)}o&&(a=(f-s)/(h-o)),f>1e7?f=1e7:f<-1e7&&(f=-1e7),r?(i.moveTo(h,f),r=!1):i.lineTo(h,f)}o=h,s=f}catch(t){r=!0}}catch(t){this.limpiarCanvas()}i.restore(),i.lineJoin="bevel",i.lineWidth=n,i.strokeStyle=e,i.stroke(),i.restore()},this.drawPolyline=function(t,e,n,i){var r=this.context;r.save(),r.save(),this.transformContext(r),r.beginPath();try{if(e.length>1){var o=e[0];r.moveTo(o[0],o[1]);for(var s=0,a=e;s<a.length;s++){var l=a[s];r.lineTo(l[0],l[1])}t&&r.lineTo(o[0],o[1])}}catch(t){this.limpiarCanvas()}r.restore(),r.lineJoin="round",r.strokeStyle=n,n&&(r.fillStyle=n,r.fill()),r.strokeStyle="black",r.stroke(),r.restore()},ghciService.messages.subscribe(function(canvas){if(_this.limpiarCanvas(),"canvas"==canvas.tipo)_this.objetos=JSON.parse(canvas.resultado),_this.elementosAnimacion=[],_this.frameAnimacion=0,_this.dibujarObjetos();else if("animacion"==canvas.tipo)_this.elementosAnimacion=canvas.resultado.map(function(t){return JSON.parse(t)}),_this.frameAnimacion=0,_this.animando=!0,_this.animar();else if("graph"==canvas.tipo){var jsonCanvas=JSON.parse(canvas.resultado),fun=_this.generarFuncion(jsonCanvas);_this.objetos=[{tipo:"grafica",ecuacion:eval(fun),color:"black",thickness:2}],_this.dibujarObjetos()}},function(t){_this.objetos=[]})}return CanvasComponent.prototype.onResize=function(t){if(this.canvasRef.nativeElement.offsetParent){var e=window.devicePixelRatio||1;e>2?e=2:e<1&&(e=1),this.canvasRef.nativeElement.width=this.canvasRef.nativeElement.offsetParent.offsetWidth*e*.94,this.canvasRef.nativeElement.height=this.canvasRef.nativeElement.offsetParent.offsetHeight*e*.94;var n=this.canvasRef.nativeElement.width/this.canvasRef.nativeElement.height;this.Graph(n),this.dibujarObjetos()}},CanvasComponent.prototype.exportImg=function(){function t(){var t;t=document.getElementById("myCanvas");var e=t.toDataURL("image/png");e=e.replace(/^data:image\/[^;]*/,"data:application/octet-stream"),e=e.replace(/^data:application\/octet-stream/,"data:application/octet-stream;headers=Content-Disposition%3A%20attachment%3B%20filename=Canvas.png"),this.href=e}document.getElementById("dl").addEventListener("click",t,!1),document.getElementById("dl").click()},CanvasComponent.prototype.ngAfterViewInit=function(){this.canvasRef.nativeElement.width=.94*this.canvasRef.nativeElement.offsetParent.offsetWidth,this.canvasRef.nativeElement.height=.94*this.canvasRef.nativeElement.offsetParent.offsetHeight;var t=this.canvasRef.nativeElement.width/this.canvasRef.nativeElement.height;this.Graph(t),this.dibujarObjetos()},CanvasComponent.prototype.documentClicked=function(t){if(this.popover&&this.popover.isOpen()&&!this.popover._elementRef.nativeElement.contains(t.target)){this.popover._windowRef.location.nativeElement.contains(t.target)||this.popover.close()}},CanvasComponent.prototype.play=function(){this.animando=!0,this.animar()},CanvasComponent.prototype.pause=function(){this.animando=!1},CanvasComponent.ctorParameters=function(){return[{type:__WEBPACK_IMPORTED_MODULE_0__shared_services_ghci_service__.a}]},CanvasComponent}()},QRpj:function(t,e,n){"use strict";function i(t){return s["ɵvid"](0,[(t()(),s["ɵand"](0,null,null,0))],null,null)}function r(t){return s["ɵvid"](0,[s["ɵqud"](402653184,1,{element:0}),(t()(),s["ɵand"](16777216,[[1,3],["element",2]],null,0,null,i))],null,null)}function o(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,1,"dialog-holder",[],null,null,null,a.b,a.c)),s["ɵdid"](49152,null,0,l.DialogHolderComponent,[s.ComponentFactoryResolver],null,null)],null,null)}var s=n("3j3K"),a=n("QRpj"),l=n("BnNN");n.n(l);n.d(e,"c",function(){return c}),e.b=r,n.d(e,"a",function(){return h});var u=[],c=s["ɵcrt"]({encapsulation:2,styles:u,data:{}}),h=s["ɵccf"]("dialog-holder",l.DialogHolderComponent,o,{},{},[])},QSKu:function(t,e,n){!function(t){t(n("8U58"))}(function(t){"use strict";function e(t,e){function n(t){clearTimeout(i.doRedraw),i.doRedraw=setTimeout(function(){i.redraw()},t)}this.cm=t,this.options=e,this.buttonHeight=e.scrollButtonHeight||t.getOption("scrollButtonHeight"),this.annotations=[],this.doRedraw=this.doUpdate=null,this.div=t.getWrapperElement().appendChild(document.createElement("div")),this.div.style.cssText="position: absolute; right: 0; top: 0; z-index: 7; pointer-events: none",this.computeScale();var i=this;t.on("refresh",this.resizeHandler=function(){clearTimeout(i.doUpdate),i.doUpdate=setTimeout(function(){i.computeScale()&&n(20)},100)}),t.on("markerAdded",this.resizeHandler),t.on("markerCleared",this.resizeHandler),!1!==e.listenForChanges&&t.on("change",this.changeHandler=function(){n(250)})}t.defineExtension("annotateScrollbar",function(t){return"string"==typeof t&&(t={className:t}),new e(this,t)}),t.defineOption("scrollButtonHeight",0),e.prototype.computeScale=function(){var t=this.cm,e=(t.getWrapperElement().clientHeight-t.display.barHeight-2*this.buttonHeight)/t.getScrollerElement().scrollHeight;if(e!=this.hScale)return this.hScale=e,!0},e.prototype.update=function(t){this.annotations=t,this.redraw()},e.prototype.redraw=function(t){function e(t,e){return l!=t.line&&(l=t.line,u=n.getLineHandle(l)),u.widgets&&u.widgets.length||s&&u.height>a?n.charCoords(t,"local")[e?"top":"bottom"]:n.heightAtLine(u,"local")+(e?0:u.height)}!1!==t&&this.computeScale();var n=this.cm,i=this.hScale,r=document.createDocumentFragment(),o=this.annotations,s=n.getOption("lineWrapping"),a=s&&1.5*n.defaultTextHeight(),l=null,u=null,c=n.lastLine();if(n.display.barWidth)for(var h,p=0;p<o.length;p++){var d=o[p];if(!(d.to.line>c)){for(var f=h||e(d.from,!0)*i,m=e(d.to,!1)*i;p<o.length-1&&!(o[p+1].to.line>c)&&!((h=e(o[p+1].from,!0)*i)>m+.9);)d=o[++p],m=e(d.to,!1)*i;if(m!=f){var v=Math.max(m-f,3),g=r.appendChild(document.createElement("div"));g.style.cssText="position: absolute; right: 0px; width: "+Math.max(n.display.barWidth-1,2)+"px; top: "+(f+this.buttonHeight)+"px; height: "+v+"px",g.className=this.options.className,d.id&&g.setAttribute("annotation-id",d.id)}}}this.div.textContent="",this.div.appendChild(r)},e.prototype.clear=function(){this.cm.off("refresh",this.resizeHandler),this.cm.off("markerAdded",this.resizeHandler),this.cm.off("markerCleared",this.resizeHandler),this.changeHandler&&this.cm.off("change",this.changeHandler),this.div.parentNode.removeChild(this.div)}})},Qt4r:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rCTf"),o=n("fWbP"),s=function(t){return t},a=function(t){function e(e,n,i,r,o){t.call(this),this.initialState=e,this.condition=n,this.iterate=i,this.resultSelector=r,this.scheduler=o}return i(e,t),e.create=function(t,n,i,r,a){return 1==arguments.length?new e(t.initialState,t.condition,t.iterate,t.resultSelector||s,t.scheduler):void 0===r||o.isScheduler(r)?new e(t,n,i,s,r):new e(t,n,i,r,a)},e.prototype._subscribe=function(t){var n=this.initialState;if(this.scheduler)return this.scheduler.schedule(e.dispatch,0,{subscriber:t,iterate:this.iterate,condition:this.condition,resultSelector:this.resultSelector,state:n});for(var i=this,r=i.condition,o=i.resultSelector,s=i.iterate;;){if(r){var a=void 0;try{a=r(n)}catch(e){return void t.error(e)}if(!a){t.complete();break}}var l=void 0;try{l=o(n)}catch(e){return void t.error(e)}if(t.next(l),t.closed)break;try{n=s(n)}catch(e){return void t.error(e)}}},e.dispatch=function(t){var e=t.subscriber,n=t.condition;if(!e.closed){if(t.needIterate)try{t.state=t.iterate(t.state)}catch(t){return void e.error(t)}else t.needIterate=!0;if(n){var i=void 0;try{i=n(t.state)}catch(t){return void e.error(t)}if(!i)return void e.complete();if(e.closed)return}var r;try{r=t.resultSelector(t.state)}catch(t){return void e.error(t)}if(!e.closed&&(e.next(r),!e.closed))return this.schedule(t)}},e}(r.Observable);e.GenerateObservable=a},R6W2:function(t,e,n){"use strict";var i=n("Fzro"),r=n("+pb+"),o=(n.n(r),n("mwbX"));n.d(e,"a",function(){return s});var s=function(){function t(t){this.http=t}return t.prototype.login=function(t,e){var n=new i.l({"Content-Type":"application/json"}),r=new i.g({headers:n});return this.http.post(o.a+"/servicios/login",JSON.stringify({cedula:t,password:e}),r).map(function(t){var e=t.json();sessionStorage.setItem("currentUser",JSON.stringify(e))})},t.prototype.getUser=function(){return JSON.parse(sessionStorage.getItem("currentUser"))},t.prototype.getUserConfig=function(){return JSON.parse(sessionStorage.getItem("currentUser")).configuracion},t.prototype.getToken=function(){var t=JSON.parse(sessionStorage.getItem("currentUser"));return t?t.token:void 0},t.prototype.setUserConfig=function(t){var e=JSON.parse(sessionStorage.getItem("currentUser"));e.configuracion=t,sessionStorage.setItem("currentUser",JSON.stringify(e))},t.prototype.logout=function(){sessionStorage.removeItem("currentUser")},t.ctorParameters=function(){return[{type:i.i}]},t}()},RA5l:function(t,e,n){"use strict";var i=n("PutI"),r=n("C0+T");e.queue=new r.QueueScheduler(i.QueueAction)},"RJ4+":function(t,e,n){"use strict";function i(t){return void 0===t&&(t=null),this.lift(new s(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.defaultIfEmpty=i;var s=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.defaultValue))},t}(),a=function(t){function e(e,n){t.call(this,e),this.defaultValue=n,this.isEmpty=!0}return r(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(o.Subscriber)},RSMh:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rCTf"),o=n("CURp"),s=n("wAkD"),a=function(t){function e(e,n){t.call(this),this.resourceFactory=e,this.observableFactory=n}return i(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e,n=this,i=n.resourceFactory,r=n.observableFactory;try{return e=i(),new l(t,e,r)}catch(e){t.error(e)}},e}(r.Observable);e.UsingObservable=a;var l=function(t){function e(e,n,i){t.call(this,e),this.resource=n,this.observableFactory=i,e.add(n),this.tryUse()}return i(e,t),e.prototype.tryUse=function(){try{var t=this.observableFactory.call(this,this.resource);t&&this.add(o.subscribeToResult(this,t))}catch(t){this._error(t)}},e}(s.OuterSubscriber)},RYQg:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return this.lift.call(r.apply(void 0,[this].concat(t)))}function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t[t.length-1];return"function"==typeof n&&t.pop(),new s.ArrayObservable(t).lift(new p(n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("Yh8Q"),a=n("Xajo"),l=n("mmVS"),u=n("wAkD"),c=n("CURp"),h=n("cdmN");e.zipProto=i,e.zipStatic=r;var p=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new d(t,this.project))},t}();e.ZipOperator=p;var d=function(t){function e(e,n,i){void 0===i&&(i=Object.create(null)),t.call(this,e),this.iterators=[],this.active=0,this.project="function"==typeof n?n:null,this.values=i}return o(e,t),e.prototype._next=function(t){var e=this.iterators;a.isArray(t)?e.push(new m(t)):"function"==typeof t[h.iterator]?e.push(new f(t[h.iterator]())):e.push(new v(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;if(0===e)return void this.destination.complete();this.active=e;for(var n=0;n<e;n++){var i=t[n];i.stillUnsubscribed?this.add(i.subscribe(i,n)):this.active--}},e.prototype.notifyInactive=function(){0===--this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,n=this.destination,i=0;i<e;i++){var r=t[i];if("function"==typeof r.hasValue&&!r.hasValue())return}for(var o=!1,s=[],i=0;i<e;i++){var r=t[i],a=r.next();if(r.hasCompleted()&&(o=!0),a.done)return void n.complete();s.push(a.value)}this.project?this._tryProject(s):n.next(s),o&&n.complete()},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}(l.Subscriber);e.ZipSubscriber=d;var f=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return t&&t.done},t}(),m=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[h.iterator]=function(){return this},t.prototype.next=function(t){var e=this.index++,n=this.array;return e<this.length?{value:n[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),v=function(t){function e(e,n,i){t.call(this,e),this.parent=n,this.observable=i,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return o(e,t),e.prototype[h.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,n,i,r){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return c.subscribeToResult(this,this.observable,this,e)},e}(u.OuterSubscriber)},Rewd:function(t,e,n){"use strict";function i(t,e,n){return this.lift(new s(t,e,n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e._do=i;var s=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.nextOrObserver,this.error,this.complete))},t}(),a=function(t){function e(e,n,i,r){t.call(this,e);var s=new o.Subscriber(n,i,r);s.syncErrorThrowable=!0,this.add(s),this.safeSubscriber=s}return r(e,t),e.prototype._next=function(t){var e=this.safeSubscriber;e.next(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.next(t)},e.prototype._error=function(t){var e=this.safeSubscriber;e.error(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.error(t)},e.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},e}(o.Subscriber)},Rgi1:function(t,e,n){"use strict";function i(t){return this.lift(new a(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("8Z8y");e.skipLast=i;var a=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return 0===this._skipCount?e.subscribe(new o.Subscriber(t)):e.subscribe(new l(t,this._skipCount))},t}(),l=function(t){function e(e,n){t.call(this,e),this._skipCount=n,this._count=0,this._ring=new Array(n)}return r(e,t),e.prototype._next=function(t){var e=this._skipCount,n=this._count++;if(n<e)this._ring[n]=t;else{var i=n%e,r=this._ring,o=r[i];r[i]=t,this.destination.next(o)}},e}(o.Subscriber)},RkhK:function(t,e,n){!function(t){t(n("8U58"))}(function(t){function e(t,e,n){var i,r=t.getWrapperElement();return i=r.appendChild(document.createElement("div")),i.className=n?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof e?i.innerHTML=e:i.appendChild(e),i}function n(t,e){t.state.currentNotificationClose&&t.state.currentNotificationClose(),t.state.currentNotificationClose=e}t.defineExtension("openDialog",function(i,r,o){function s(t){if("string"==typeof t)h.value=t;else{if(u)return;u=!0,l.parentNode.removeChild(l),c.focus(),o.onClose&&o.onClose(l)}}o||(o={}),n(this,null);var a,l=e(this,i,o.bottom),u=!1,c=this,h=l.getElementsByTagName("input")[0];return h?(h.focus(),o.value&&(h.value=o.value,!1!==o.selectValueOnOpen&&h.select()),o.onInput&&t.on(h,"input",function(t){o.onInput(t,h.value,s)}),o.onKeyUp&&t.on(h,"keyup",function(t){o.onKeyUp(t,h.value,s)}),t.on(h,"keydown",function(e){o&&o.onKeyDown&&o.onKeyDown(e,h.value,s)||((27==e.keyCode||!1!==o.closeOnEnter&&13==e.keyCode)&&(h.blur(),t.e_stop(e),s()),13==e.keyCode&&r(h.value,e))}),!1!==o.closeOnBlur&&t.on(h,"blur",s)):(a=l.getElementsByTagName("button")[0])&&(t.on(a,"click",function(){s(),c.focus()}),!1!==o.closeOnBlur&&t.on(a,"blur",s),a.focus()),s}),t.defineExtension("openConfirm",function(i,r,o){function s(){u||(u=!0,a.parentNode.removeChild(a),c.focus())}n(this,null);var a=e(this,i,o&&o.bottom),l=a.getElementsByTagName("button"),u=!1,c=this,h=1;l[0].focus();for(var p=0;p<l.length;++p){var d=l[p];!function(e){t.on(d,"click",function(n){t.e_preventDefault(n),s(),e&&e(c)})}(r[p]),t.on(d,"blur",function(){--h,setTimeout(function(){h<=0&&s()},200)}),t.on(d,"focus",function(){++h})}}),t.defineExtension("openNotification",function(i,r){function o(){l||(l=!0,clearTimeout(s),a.parentNode.removeChild(a))}n(this,o);var s,a=e(this,i,r&&r.bottom),l=!1,u=r&&void 0!==r.duration?r.duration:5e3;return t.on(a,"click",function(e){t.e_preventDefault(e),o()}),u&&(s=setTimeout(o,u)),o})})},Rxv9:function(t,e,n){"use strict";var i=n("rCTf"),r=n("FT6u");i.Observable.prototype.min=r.min},RyDc:function(t,e,n){"use strict";function i(t){return this.lift(new a(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.skipUntil=i;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.notifier))},t}(),l=function(t){function e(e,n){t.call(this,e),this.hasValue=!1,this.isInnerStopped=!1,this.add(s.subscribeToResult(this,n))}return r(e,t),e.prototype._next=function(e){this.hasValue&&t.prototype._next.call(this,e)},e.prototype._complete=function(){this.isInnerStopped?t.prototype._complete.call(this):this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,i,r){this.hasValue=!0},e.prototype.notifyComplete=function(){this.isInnerStopped=!0,this.isStopped&&t.prototype._complete.call(this)},e}(o.OuterSubscriber)},S35O:function(t,e,n){"use strict";var i=n("rCTf"),r=n("PKvP");i.Observable.from=r.from},SDFq:function(t,e,n){"use strict";function i(t,e){return this.lift(new a(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.switchMapTo=i;var a=function(){function t(t,e){this.observable=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.observable,this.resultSelector))},t}(),l=function(t){function e(e,n,i){t.call(this,e),this.inner=n,this.resultSelector=i,this.index=0}return r(e,t),e.prototype._next=function(t){var e=this.innerSubscription;e&&e.unsubscribe(),this.add(this.innerSubscription=s.subscribeToResult(this,this.inner,t,this.index++))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,i,r){var o=this,s=o.resultSelector,a=o.destination;s?this.tryResultSelector(t,e,n,i):a.next(e)},e.prototype.tryResultSelector=function(t,e,n,i){var r,o=this,s=o.resultSelector,a=o.destination;try{r=s(t,e,n,i)}catch(t){return void a.error(t)}a.next(r)},e}(o.OuterSubscriber)},SDm3:function(t,e,n){"use strict";function i(t){return o["ɵvid"](0,[(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,4,"div",[["role","document"]],[[8,"className",0]],null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"div",[["class","modal-content"]],null,null,null,null,null)),o["ɵncd"](null,0),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n "]))],null,function(t,e){var n=e.component;t(e,1,0,"modal-dialog"+(n.size?" modal-"+n.size:""))})}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"ngb-modal-window",[["role","dialog"],["style","display: block;"],["tabindex","-1"]],[[8,"className",0]],[[null,"keyup.esc"],[null,"click"]],function(t,e,n){var i=!0;if("keyup.esc"===e){i=!1!==o["ɵnov"](t,1).escKey(n)&&i}if("click"===e){i=!1!==o["ɵnov"](t,1).backdropClick(n)&&i}return i},a.b,a.c)),o["ɵdid"](4440064,null,0,s.a,[o.ElementRef,o.Renderer2],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,"modal fade show"+(o["ɵnov"](e,1).windowClass?" "+o["ɵnov"](e,1).windowClass:""))})}var o=n("3j3K"),s=n("xOmt"),a=n("SDm3");n.d(e,"c",function(){return u}),e.b=i,n.d(e,"a",function(){return c});var l=[],u=o["ɵcrt"]({encapsulation:2,styles:l,data:{}}),c=o["ɵccf"]("ngb-modal-window",s.a,r,{backdrop:"backdrop",keyboard:"keyboard",size:"size",windowClass:"windowClass"},{dismissEvent:"dismiss"},["*"])},SGWz:function(t,e,n){"use strict";var i=n("rCTf"),r=n("UELl");i.Observable.prototype.mergeScan=r.mergeScan},SIx6:function(t,e,n){"use strict";var i=n("dBGY"),r=n("aV5h");n.n(r);n.d(e,"a",function(){return o});var o=function(){function t(t){this.notifService=t,this.alerts=[]}return t.prototype.ngOnInit=function(){var t=this;this.notifService.getMessageSubject().subscribe(function(e){t.alerts.push(e),setTimeout(function(){t.closeAlert(0)},5e3)})},t.prototype.closeAlert=function(t){this.alerts.splice(t,1)},t.ctorParameters=function(){return[{type:i.a}]},t}()},SSeX:function(t,e,n){"use strict";var i=n("rCTf"),r=n("2AEF");i.Observable.prototype.exhaustMap=r.exhaustMap},SUuD:function(t,e,n){"use strict";var i=n("rCTf"),r=n("rpzr");i.Observable.interval=r.interval},SudU:function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=0),this.lift(new o(t,e))}var r=n("ftJA");e.subscribeOn=i;var o=function(){function t(t,e){this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return new r.SubscribeOnObservable(e,this.delay,this.scheduler).subscribe(t)},t}()},T3fU:function(t,e,n){"use strict";var i=n("rCTf"),r=n("q+cp");i.Observable.prototype.takeUntil=r.takeUntil},"TIy+":function(t,e,n){"use strict";var i=n("/J7H");e.fromEvent=i.FromEventObservable.create},TL2s:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("kcyo"),o=n("cwzr"),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return i(e,t),e.prototype.requestAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0?t.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e.scheduled||(e.scheduled=r.Immediate.setImmediate(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,i){if(void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,i);0===e.actions.length&&(r.Immediate.clearImmediate(n),e.scheduled=void 0)},e}(o.AsyncAction);e.AsapAction=s},Tbgx:function(t,e,n){"use strict";var i=n("sBjJ");n.d(e,"a",function(){return r});var r=(i.a,function(){function t(){}return t}())},U6gI:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){}return t.prototype.isMuted=function(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)},t}();r.decorators=[{type:i.Component,args:[{selector:"[ngbDatepickerDayView]",styles:["\n :host {\n text-align: center;\n width: 2rem;\n height: 2rem;\n line-height: 2rem; \n border-radius: 0.25rem;\n }\n :host.outside {\n opacity: 0.5;\n }\n "],host:{"[class.bg-primary]":"selected","[class.text-white]":"selected","[class.text-muted]":"isMuted()","[class.outside]":"isMuted()","[class.btn-secondary]":"!disabled"},template:"{{ date.day }}"}]}],r.ctorParameters=function(){return[]},r.propDecorators={currentMonth:[{type:i.Input}],date:[{type:i.Input}],disabled:[{type:i.Input}],selected:[{type:i.Input}]}},U85J:function(t,e,n){"use strict";var i=n("rCTf"),r=n("b1Ba");i.Observable.bindNodeCallback=r.bindNodeCallback},U9ky:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t.length;if(0===n)throw new Error("list of properties cannot be empty.");return o.map.call(this,r(t,n))}function r(t,e){return function(n){for(var i=n,r=0;r<e;r++){var o=i[t[r]];if(void 0===o)return;i=o}return i}}var o=n("xAJs");e.pluck=i},UELl:function(t,e,n){"use strict";function i(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),this.lift(new u(t,e,n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("+3eL"),s=n("WhVc"),a=n("CURp"),l=n("wAkD");e.mergeScan=i;var u=function(){function t(t,e,n){this.accumulator=t,this.seed=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.accumulator,this.seed,this.concurrent))},t}();e.MergeScanOperator=u;var c=function(t){function e(e,n,i,r){t.call(this,e),this.accumulator=n,this.acc=i,this.concurrent=r,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return r(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.index++,n=o.tryCatch(this.accumulator)(this.acc,t),i=this.destination;n===s.errorObject?i.error(s.errorObject.e):(this.active++,this._innerSub(n,t,e))}else this.buffer.push(t)},e.prototype._innerSub=function(t,e,n){this.add(a.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e.prototype.notifyNext=function(t,e,n,i,r){var o=this.destination;this.acc=e,this.hasValue=!0,o.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(l.OuterSubscriber);e.MergeScanSubscriber=c},"UFi/":function(t,e,n){"use strict";var i=n("rCTf"),r=n("xYP1");i.Observable.prototype.sequenceEqual=r.sequenceEqual},UNGF:function(t,e,n){"use strict";var i=n("rCTf"),r=n("pgP5");i.Observable.prototype.reduce=r.reduce},UmTU:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null,i=null;return r.isScheduler(t[t.length-1])&&(i=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&o.isArray(t[0])&&(t=t[0]),new s.ArrayObservable(t,i).lift(new a.CombineLatestOperator(n))}var r=n("fWbP"),o=n("Xajo"),s=n("Yh8Q"),a=n("A7JX");e.combineLatest=i},Uqs8:function(t,e,n){"use strict";var i=n("TL2s"),r=n("1Cj3");e.asap=new r.AsapScheduler(i.AsapAction)},UyZi:function(t,e,n){"use strict";var i=n("3j3K"),r=n("9XFw"),o=n("xOmt"),s=n("CXHW"),a=n("3kwk");n("WtdY"),n("nxqe");n.d(e,"a",function(){return l});var l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[a.a,s.a]}},t}();l.decorators=[{type:i.NgModule,args:[{declarations:[r.a,o.a],entryComponents:[r.a,o.a],providers:[a.a]}]}],l.ctorParameters=function(){return[]}},UyzR:function(t,e,n){"use strict";var i=n("rCTf"),r=n("XvGf");i.Observable.prototype.switch=r._switch,i.Observable.prototype._switch=r._switch},VEfc:function(t,e,n){"use strict";function i(t,e){return this.lift(new a(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.switchMap=i;var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.project,this.resultSelector))},t}(),l=function(t){function e(e,n,i){t.call(this,e),this.project=n,this.resultSelector=i,this.index=0}return r(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var i=this.innerSubscription;i&&i.unsubscribe(),this.add(this.innerSubscription=s.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,i,r){this.resultSelector?this._tryNotifyNext(t,e,n,i):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,n,i){var r;try{r=this.resultSelector(t,e,n,i)}catch(t){return void this.destination.error(t)}this.destination.next(r)},e}(o.OuterSubscriber)},VaQ6:function(t,e,n){"use strict";var i=n("rCTf"),r=n("sake");i.Observable.prototype.skipWhile=r.skipWhile},VfeM:function(t,e,n){"use strict";var i=n("rCTf"),r=n("iESu");i.Observable.prototype.flatMapTo=r.mergeMapTo,i.Observable.prototype.mergeMapTo=r.mergeMapTo},"W1/H":function(t,e,n){"use strict";var i=n("rCTf"),r=n("YgqK");i.Observable.prototype.findIndex=r.findIndex},W5jB:function(t,e,n){"use strict";var i=n("3j3K"),r=n("2yGx"),o=n("nCuf");n.d(e,"a",function(){return s});var s=function(){function t(t){this.value=0,this.max=t.max,this.animated=t.animated,this.striped=t.striped,this.type=t.type,this.showValue=t.showValue}return t.prototype.getValue=function(){return n.i(r.e)(this.value,this.max)},t.prototype.getPercentValue=function(){return 100*this.getValue()/this.max},t}();s.decorators=[{type:i.Component,args:[{selector:"ngb-progressbar",changeDetection:i.ChangeDetectionStrategy.OnPush,template:'\n <div class="progress">\n <div class="progress-bar{{type ? \' bg-\' + type : \'\'}}{{animated ? \' progress-bar-animated\' : \'\'}}{{striped ?\n \' progress-bar-striped\' : \'\'}}" role="progressbar" [style.width.%]="getPercentValue()"\n [attr.aria-valuenow]="getValue()" aria-valuemin="0" [attr.aria-valuemax]="max">\n <span *ngIf="showValue">{{getPercentValue()}}%</span><ng-content></ng-content>\n </div>\n </div>\n '}]}],s.ctorParameters=function(){return[{type:o.a}]},s.propDecorators={max:[{type:i.Input}],animated:[{type:i.Input}],striped:[{type:i.Input}],showValue:[{type:i.Input}],type:[{type:i.Input}],value:[{type:i.Input}]}},WKBe:function(t,e,n){"use strict";var i=n("3j3K"),r=n("WtNX"),o=n("ETCP");n.d(e,"a",function(){return s});var s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}();s.decorators=[{type:i.NgModule,args:[{declarations:[r.a,r.b],exports:[r.a],entryComponents:[r.b]}]}],s.ctorParameters=function(){return[]}},WQmy:function(t,e,n){"use strict";var i=n("rCTf"),r=n("+ayw");i.Observable.prototype.share=r.share},WTUZ:function(t,e,n){"use strict";function i(t){return this.lift(new u(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("+3eL"),s=n("WhVc"),a=n("wAkD"),l=n("CURp");e.audit=i;var u=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.durationSelector))},t}(),c=function(t){function e(e,n){t.call(this,e),this.durationSelector=n,this.hasValue=!1}return r(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=o.tryCatch(this.durationSelector)(t);if(e===s.errorObject)this.destination.error(s.errorObject.e);else{var n=l.subscribeToResult(this,e);n.closed?this.clearThrottle():this.add(this.throttled=n)}}},e.prototype.clearThrottle=function(){var t=this,e=t.value,n=t.hasValue,i=t.throttled;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),n&&(this.value=null,this.hasValue=!1,this.destination.next(e))},e.prototype.notifyNext=function(t,e,n,i){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(a.OuterSubscriber)},Whbc:function(t,e,n){"use strict";var i=n("rCTf"),r=n("1hN3");i.Observable.prototype.bufferWhen=r.bufferWhen},WnEV:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Rgi1");i.Observable.prototype.skipLast=r.skipLast},WtNX:function(t,e,n){"use strict";var i=n("3j3K"),r=n("aalB"),o=n("jRSa"),s=n("/PMa"),a=n("ETCP");n.d(e,"b",function(){return u}),n.d(e,"a",function(){return c});var l=0,u=function(){function t(){this.placement="top"}return t}();u.decorators=[{type:i.Component,args:[{selector:"ngb-popover-window",changeDetection:i.ChangeDetectionStrategy.OnPush,host:{"[class]":'"popover show popover-" + placement',role:"tooltip","[id]":"id"},template:'\n <h3 class="popover-title">{{title}}</h3><div class="popover-content"><ng-content></ng-content></div>\n '}]}],u.ctorParameters=function(){return[]},u.propDecorators={placement:[{type:i.Input}],title:[{type:i.Input}],id:[{type:i.Input}]};var c=function(){function t(t,e,r,a,c,h,p){var d=this;this._elementRef=t,this._renderer=e,this.shown=new i.EventEmitter,this.hidden=new i.EventEmitter,this._ngbPopoverWindowId="ngb-popover-"+l++,this.placement=h.placement,this.triggers=h.triggers,this.container=h.container,this._popupService=new s.a(u,r,c,e,a),this._zoneSubscription=p.onStable.subscribe(function(){d._windowRef&&n.i(o.a)(d._elementRef.nativeElement,d._windowRef.location.nativeElement,d.placement,"body"===d.container)})}return t.prototype.open=function(t){this._windowRef||(this._windowRef=this._popupService.open(this.ngbPopover,t),this._windowRef.instance.placement=this.placement,this._windowRef.instance.title=this.popoverTitle,this._windowRef.instance.id=this._ngbPopoverWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.markForCheck(),this.shown.emit())},t.prototype.close=function(){this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=n.i(r.a)(this._renderer,this._elementRef.nativeElement,this.triggers,this.open.bind(this),this.close.bind(this),this.toggle.bind(this))},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t}();c.decorators=[{type:i.Directive,args:[{selector:"[ngbPopover]",exportAs:"ngbPopover"}]}],c.ctorParameters=function(){return[{type:i.ElementRef},{type:i.Renderer2},{type:i.Injector},{type:i.ComponentFactoryResolver},{type:i.ViewContainerRef},{type:a.a},{type:i.NgZone}]},c.propDecorators={ngbPopover:[{type:i.Input}],popoverTitle:[{type:i.Input}],placement:[{type:i.Input}],triggers:[{type:i.Input}],container:[{type:i.Input}],shown:[{type:i.Output}],hidden:[{type:i.Output}]}},WtdY:function(t,e,n){"use strict";var i=n("3j3K"),r=n("/PMa");n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s});var o=function(){function t(){}return t.prototype.close=function(t){},t.prototype.dismiss=function(t){},t}();o.decorators=[{type:i.Injectable}],o.ctorParameters=function(){return[]};var s=function(){function t(t,e,n){var i=this;this._windowCmptRef=t,this._contentRef=e,this._backdropCmptRef=n,t.instance.dismissEvent.subscribe(function(t){i.dismiss(t)}),this.result=new Promise(function(t,e){i._resolve=t,i._reject=e}),this.result.then(null,function(){})}return Object.defineProperty(t.prototype,"componentInstance",{get:function(){if(this._contentRef.componentRef)return this._contentRef.componentRef.instance},set:function(t){},enumerable:!0,configurable:!0}),t.prototype.close=function(t){this._windowCmptRef&&(this._resolve(t),this._removeModalElements())},t.prototype.dismiss=function(t){this._windowCmptRef&&(this._reject(t),this._removeModalElements())},t.prototype._removeModalElements=function(){var t=this._windowCmptRef.location.nativeElement;if(t.parentNode.removeChild(t),this._windowCmptRef.destroy(),this._backdropCmptRef){var e=this._backdropCmptRef.location.nativeElement;e.parentNode.removeChild(e),this._backdropCmptRef.destroy()}this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._backdropCmptRef=null,this._contentRef=null},t}();s.decorators=[{type:i.Injectable}],s.ctorParameters=function(){return[{type:i.ComponentRef},{type:r.b},{type:i.ComponentRef}]}},WxOs:function(t,e,n){"use strict";function i(t){var e=this,n=t.source,i=t.subscriber,s=t.context,a=n,h=a.callbackFunc,p=a.args,d=a.scheduler,f=n.subject;if(!f){f=n.subject=new c.AsyncSubject;var m=function t(){for(var n=[],i=0;i<arguments.length;i++)n[i-0]=arguments[i];var s=t.source,a=s.selector,c=s.subject,h=n.shift();if(h)e.add(d.schedule(o,0,{err:h,subject:c}));else if(a){var p=l.tryCatch(a).apply(this,n);p===u.errorObject?e.add(d.schedule(o,0,{err:u.errorObject.e,subject:c})):e.add(d.schedule(r,0,{value:p,subject:c}))}else{var f=n.length<=1?n[0]:n;e.add(d.schedule(r,0,{value:f,subject:c}))}};m.source=n;l.tryCatch(h).apply(s,p.concat(m))===u.errorObject&&e.add(d.schedule(o,0,{err:u.errorObject.e,subject:f}))}e.add(f.subscribe(i))}function r(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function o(t){var e=t.err;t.subject.error(e)}var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=n("rCTf"),l=n("+3eL"),u=n("WhVc"),c=n("5c/I"),h=function(t){function e(e,n,i,r,o){t.call(this),this.callbackFunc=e,this.selector=n,this.args=i,this.context=r,this.scheduler=o}return s(e,t),e.create=function(t,n,i){return void 0===n&&(n=void 0),function(){for(var r=[],o=0;o<arguments.length;o++)r[o-0]=arguments[o];return new e(t,n,r,this,i)}},e.prototype._subscribe=function(t){var e=this.callbackFunc,n=this.args,r=this.scheduler,o=this.subject;if(r)return r.schedule(i,0,{source:this,subscriber:t,context:this.context});if(!o){o=this.subject=new c.AsyncSubject;var s=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var i=t.source,r=i.selector,o=i.subject,s=e.shift();if(s)o.error(s);else if(r){var a=l.tryCatch(r).apply(this,e);a===u.errorObject?o.error(u.errorObject.e):(o.next(a),o.complete())}else o.next(e.length<=1?e[0]:e),o.complete()};s.source=this;l.tryCatch(e).apply(this.context,n.concat(s))===u.errorObject&&o.error(u.errorObject.e)}return o.subscribe(t)},e}(a.Observable);e.BoundNodeCallbackObservable=h},X2ud:function(t,e,n){"use strict";function i(t){return this.lift(new r.CombineLatestOperator(t))}var r=n("A7JX");e.combineAll=i},XKof:function(t,e,n){"use strict";var i=n("rCTf"),r=n("sVus");i.Observable.prototype.timeInterval=r.timeInterval},XMV4:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("YqEa");e.BootstrapModalModule=i.BootstrapModalModule;var r=n("MvGQ");e.DialogComponent=r.DialogComponent;var o=n("hz2l");e.DialogService=o.DialogService,e.DialogServiceConfig=o.DialogServiceConfig},XZ4o:function(t,e,n){"use strict";var i=n("rCTf"),r=n("0GXu");i.Observable.prototype.repeat=r.repeat},XlOA:function(t,e,n){"use strict";var i=n("rCTf"),r=n("UmTU");i.Observable.combineLatest=r.combineLatest},XvGV:function(t,e,n){"use strict";function i(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-folder"],["style","margin-right:10px; font-size: 3em; cursor: pointer;"]],null,null,null,null,null))],null,null)}function r(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-file-text"],["style","margin-right:10px;font-size: 3em; cursor: pointer;"]],null,null,null,null,null))],null,null)}function o(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,7,"button",[["class","list-group-item list-group-item-action"],["style","cursor:pointer"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.navToDir(t.context.$implicit)&&i}return i},null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵand"](16777216,null,null,1,null,i)),l["ɵdid"](16384,null,0,u.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵand"](16777216,null,null,1,null,r)),l["ɵdid"](16384,null,0,u.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),l["ɵted"](null,["\n ","\n "]))],function(t,e){t(e,3,0,e.context.$implicit.directorio),t(e,6,0,!e.context.$implicit.directorio)},function(t,e){t(e,7,0,e.context.$implicit.nombre)})}function s(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,47,"div",[["class","modal-dialog"],["style","margin-top:100px;"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,44,"div",[["class","modal-content"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,7,"div",[["class","modal-header"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,1,"h6",[["class","modal-title pull-lefth"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["¿Dónde quieres crear el archivo?"])),(t()(),l["ɵted"](null,[" \n "])),(t()(),l["ɵeld"](0,null,null,1,"button",[["class","close"],["style","margin-rigth:8px;"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.close()&&i}return i},null,null)),(t()(),l["ɵted"](null,["×"])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,23,"div",[["class","modal-body"],["style","height:350px;overflow-y: scroll;"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,20,"div",[],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,11,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,1,"label",[["class","form-control-label"],["for","file-name"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["Nombre:"])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,5,"input",[["class","form-control"],["id","file-name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var i=!0,r=t.component;if("input"===e){i=!1!==l["ɵnov"](t,23)._handleInput(n.target.value)&&i}if("blur"===e){i=!1!==l["ɵnov"](t,23).onTouched()&&i}if("compositionstart"===e){i=!1!==l["ɵnov"](t,23)._compositionStart()&&i}if("compositionend"===e){i=!1!==l["ɵnov"](t,23)._compositionEnd(n.target.value)&&i}if("ngModelChange"===e){i=!1!==(r.nombre=n)&&i}return i},null,null)),l["ɵdid"](16384,null,0,h.DefaultValueAccessor,[l.Renderer,l.ElementRef,[2,h.COMPOSITION_BUFFER_MODE]],null,null),l["ɵprd"](1024,null,h.NG_VALUE_ACCESSOR,function(t){return[t]},[h.DefaultValueAccessor]),l["ɵdid"](671744,null,0,h.NgModel,[[8,null],[8,null],[8,null],[2,h.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,h.NgControl,null,[h.NgModel]),l["ɵdid"](16384,null,0,h.NgControlStatus,[h.NgControl],null,null),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,4,"div",[["class","list-group"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵand"](16777216,null,null,1,null,o)),l["ɵdid"](802816,null,0,u.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,7,"div",[["class","modal-footer"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,1,"button",[["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.navBack()&&i}return i},null,null)),(t()(),l["ɵted"](null,["Atras"])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,1,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.confirm()&&i}return i},null,null)),(t()(),l["ɵted"](null,["Crear"])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,25,0,n.nombre),t(e,33,0,n.directorioActual.archivos)},function(t,e){t(e,22,0,l["ɵnov"](e,27).ngClassUntouched,l["ɵnov"](e,27).ngClassTouched,l["ɵnov"](e,27).ngClassPristine,l["ɵnov"](e,27).ngClassDirty,l["ɵnov"](e,27).ngClassValid,l["ɵnov"](e,27).ngClassInvalid,l["ɵnov"](e,27).ngClassPending)})}function a(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,1,"confirm",[],null,null,null,s,f)),l["ɵdid"](180224,null,0,c.a,[p.DialogService],null,null)],null,null)}var l=n("3j3K"),u=n("2Je8"),c=n("5cpg"),h=n("NVOs"),p=n("hz2l");n.n(p);n.d(e,"a",function(){return m});var d=[],f=l["ɵcrt"]({encapsulation:2,styles:d,data:{}}),m=l["ɵccf"]("confirm",c.a,a,{},{},[])},XvGf:function(t,e,n){"use strict";function i(){return this.lift(new a)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e._switch=i;var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(e){t.call(this,e),this.active=0,this.hasCompleted=!1}return r(e,t),e.prototype._next=function(t){this.unsubscribeInner(),this.active++,this.add(this.innerSubscription=s.subscribeToResult(this,t))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&this.destination.complete()},e.prototype.unsubscribeInner=function(){this.active=this.active>0?this.active-1:0;var t=this.innerSubscription;t&&(t.unsubscribe(),this.remove(t))},e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(e)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.unsubscribeInner(),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(o.OuterSubscriber)},Y3yw:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 1===t.length&&s.isArray(t[0])&&(t=t[0]),this.lift.call(r.apply(void 0,[this].concat(t)))}function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];if(1===t.length){if(!s.isArray(t[0]))return t[0];t=t[0]}return new a.ArrayObservable(t).lift(new c)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("Xajo"),a=n("Yh8Q"),l=n("wAkD"),u=n("CURp");e.race=i,e.raceStatic=r;var c=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new h(t))},t}();e.RaceOperator=c;var h=function(t){function e(e){t.call(this,e),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}return o(e,t),e.prototype._next=function(t){this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var n=0;n<e&&!this.hasFirst;n++){var i=t[n],r=u.subscribeToResult(this,i,i,n);this.subscriptions&&this.subscriptions.push(r),this.add(r)}this.observables=null}},e.prototype.notifyNext=function(t,e,n,i,r){if(!this.hasFirst){this.hasFirst=!0;for(var o=0;o<this.subscriptions.length;o++)if(o!==n){var s=this.subscriptions[o];s.unsubscribe(),this.remove(s)}this.subscriptions=null}this.destination.next(e)},e}(l.OuterSubscriber);e.RaceSubscriber=h},Y6hq:function(t,e,n){"use strict";function i(){return this.lift(new a)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("8GmM");e.materialize=i;var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(e){t.call(this,e)}return r(e,t),e.prototype._next=function(t){this.destination.next(s.Notification.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(s.Notification.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(s.Notification.createComplete()),t.complete()},e}(o.Subscriber)},YDZ5:function(t,e,n){"use strict";function i(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,2,"ngb-datepicker-navigation-select",[["class","d-block"]],[[4,"width","rem"]],[[null,"select"]],function(t,e,n){var i=!0,r=t.component;if("select"===e){i=!1!==r.selectDate(n)&&i}return i},a.a,a.b)),s["ɵdid"](573440,null,0,l.a,[u.a,c.a],{date:[0,"date"],disabled:[1,"disabled"],maxDate:[2,"maxDate"],minDate:[3,"minDate"]},{select:"select"}),(t()(),s["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,1,0,n.date,n.disabled,n.maxDate,n.minDate)},function(t,e){t(e,0,0,9*e.component.months)})}function r(t){return s["ɵvid"](0,[(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,3,"button",[["class","btn-link"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!=!!r.doNavigate(r.navigation.PREV)&&i}return i},null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,0,"span",[["class","ngb-dp-navigation-chevron"]],null,null,null,null,null)),(t()(),s["ɵted"](null,[" \n "])),(t()(),s["ɵted"](null,["\n \n "])),(t()(),s["ɵand"](16777216,null,null,1,null,i)),s["ɵdid"](16384,null,0,p.NgIf,[s.ViewContainerRef,s.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),s["ɵted"](null,["\n \n "])),(t()(),s["ɵeld"](0,null,null,3,"button",[["class","btn-link"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!=!!r.doNavigate(r.navigation.NEXT)&&i}return i},null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,0,"span",[["class","ngb-dp-navigation-chevron right"]],null,null,null,null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵted"](null,["\n "]))],function(t,e){t(e,7,0,e.component.showSelect)},function(t,e){var n=e.component;t(e,1,0,n.prevDisabled()),t(e,9,0,n.nextDisabled())})}function o(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,1,"ngb-datepicker-navigation",[["class","d-flex justify-content-between"]],[[2,"collapsed",null]],null,null,d.a,d.b)),s["ɵdid"](49152,null,0,h.a,[u.a,c.a],null,null)],null,function(t,e){t(e,0,0,!s["ɵnov"](e,1).showSelect)})}var s=n("3j3K"),a=n("AXLD"),l=n("qBUJ"),u=n("gEbu"),c=n("lcaH"),h=n("3fcS"),p=n("2Je8"),d=n("YDZ5");n.d(e,"b",function(){return m}),e.a=r;var f=["[_nghost-%COMP%] {\n height: 2rem;\n line-height: 1.85rem;\n }\n .collapsed[_nghost-%COMP%] {\n margin-bottom: -2rem; \n }\n .ngb-dp-navigation-chevron[_ngcontent-%COMP%]::before {\n border-style: solid;\n border-width: 0.2em 0.2em 0 0;\n content: '';\n display: inline-block;\n height: 0.75em;\n transform: rotate(-135deg);\n -webkit-transform: rotate(-135deg);\n -ms-transform: rotate(-135deg);\n width: 0.75em;\n margin: 0 0 0 0.5rem;\n } \n .ngb-dp-navigation-chevron.right[_ngcontent-%COMP%]:before {\n -webkit-transform: rotate(45deg);\n -ms-transform: rotate(45deg);\n transform: rotate(45deg);\n margin: 0 0.5rem 0 0;\n }\n .btn-link[_ngcontent-%COMP%] {\n cursor: pointer;\n outline: 0;\n }\n .btn-link[disabled][_ngcontent-%COMP%] {\n cursor: not-allowed;\n opacity: .65;\n }"],m=s["ɵcrt"]({encapsulation:0,styles:f,data:{}});s["ɵccf"]("ngb-datepicker-navigation",h.a,o,{date:"date",disabled:"disabled",maxDate:"maxDate",minDate:"minDate",months:"months",showSelect:"showSelect",showWeekNumbers:"showWeekNumbers"},{navigate:"navigate",select:"select"},[])},YJv1:function(t,e,n){"use strict";function i(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,1,"span",[],[[8,"className",0]],null,null,null,null)),(t()(),l["ɵted"](null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,l["ɵinlineInterpolate"](1,"",n.highlightClass,"")),t(e,1,0,e.parent.context.$implicit)})}function r(t){return l["ɵvid"](0,[(t()(),l["ɵted"](null,["",""]))],null,function(t,e){t(e,0,0,e.parent.context.$implicit)})}function o(t){return l["ɵvid"](0,[(t()(),l["ɵand"](16777216,null,null,1,null,i)),l["ɵdid"](16384,null,0,u.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),l["ɵand"](16777216,null,null,1,null,r)),l["ɵdid"](16384,null,0,u.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),l["ɵand"](0,null,null,0))],function(t,e){t(e,1,0,e.context.odd),t(e,3,0,!e.context.odd)},null)}function s(t){return l["ɵvid"](2,[(t()(),l["ɵand"](16777216,null,null,1,null,o)),l["ɵdid"](802816,null,0,u.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,1,0,e.component.parts)},null)}function a(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,1,"ngb-highlight",[],null,null,null,h.a,h.b)),l["ɵdid"](573440,null,0,c.a,[],null,null)],null,null)}var l=n("3j3K"),u=n("2Je8"),c=n("EzwU"),h=n("YJv1");n.d(e,"b",function(){return d}),e.a=s;var p=[".ngb-highlight[_ngcontent-%COMP%] {\n font-weight: bold;\n }"],d=l["ɵcrt"]({encapsulation:0,styles:p,data:{}});l["ɵccf"]("ngb-highlight",c.a,a,{highlightClass:"highlightClass",result:"result",term:"term"},{},[])},"YOd+":function(t,e,n){"use strict";function i(){}e.noop=i},Ye9U:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Y6hq");i.Observable.prototype.materialize=r.materialize},Yfq7:function(t,e,n){"use strict";var i=n("rCTf"),r=n("GR1s");i.Observable.prototype.exhaust=r.exhaust},YgqK:function(t,e,n){"use strict";function i(t,e){return this.lift(new r.FindValueOperator(t,this,!0,e))}var r=n("GZqV");e.findIndex=i},YqEa:function(t,e,n){"use strict";function i(t,e,n,i){return new u.DialogService(t,e,n,i)}var r=this&&this.__decorate||function(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};Object.defineProperty(e,"__esModule",{value:!0});var o=n("3j3K"),s=n("2Je8"),a=n("BnNN"),l=n("7064"),u=n("hz2l");e.dialogServiceFactory=i;var c=h=function(){function t(){}return t.forRoot=function(t){return{ngModule:h,providers:[{provide:u.DialogServiceConfig,useValue:t},{provide:u.DialogService,useFactory:i,deps:[o.ComponentFactoryResolver,o.ApplicationRef,o.Injector,u.DialogServiceConfig]}]}},t}();c=h=r([o.NgModule({declarations:[a.DialogHolderComponent,l.DialogWrapperComponent],providers:[u.DialogService],imports:[s.CommonModule],entryComponents:[a.DialogHolderComponent,l.DialogWrapperComponent]})],c),e.BootstrapModalModule=c;var h},Yuqe:function(t,e,n){"use strict";function i(t,e){return this.lift(new r.MergeMapToOperator(t,e,1))}var r=n("iESu");e.concatMapTo=i},"Z+Ka":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){}return t}()},ZvZx:function(t,e,n){"use strict";function i(t){var e="function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e};return this.lift(new r.ReduceOperator(e))}var r=n("pgP5");e.max=i},ZwZs:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.closeOthers=!1}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},a0Ch:function(t,e,n){"use strict";var i=n("rCTf"),r=n("8DDp");i.Observable.prototype.timeoutWith=r.timeoutWith},aKiW:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.max=10,this.readonly=!1,this.resettable=!1}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},aV5h:function(t,e,n){"use strict";var i=n("rCTf"),r=n("driz");i.Observable.prototype.debounceTime=r.debounceTime},aalB:function(t,e,n){"use strict";function i(t,e){void 0===e&&(e=s);var n=(t||"").trim();if(0===n.length)return[];var i=n.split(/\s+/).map(function(t){return t.split(":")}).map(function(t){var n=e[t[0]]||t;return new o(n[0],n[1])}),r=i.filter(function(t){return t.isManual()});if(r.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===r.length&&i.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return i}function r(t,e,n,r,o,s){var l=i(n),u=[];return 1===l.length&&l[0].isManual()?a:(l.forEach(function(n){n.open===n.close?u.push(t.listen(e,n.open,s)):u.push(t.listen(e,n.open,r),t.listen(e,n.close,o))}),function(){u.forEach(function(t){return t()})})}e.a=r;var o=function(){function t(t,e){this.open=t,this.close=e,e||(this.close=t)}return t.prototype.isManual=function(){return"manual"===this.open||"manual"===this.close},t}(),s={hover:["mouseenter","mouseleave"]},a=function(){}},adqA:function(t,e,n){"use strict";var i=n("rCTf"),r=n("tn1n");i.Observable.prototype.partition=r.partition},aec7:function(t,e,n){"use strict";function i(t,e){void 0===e&&(e=o.async);var n=s.isDate(t),i=n?+t-e.now():Math.abs(t);return this.lift(new u(i,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("CGGv"),s=n("fuZx"),a=n("mmVS"),l=n("8GmM");e.delay=i;var u=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.delay,this.scheduler))},t}(),c=function(t){function e(e,n,i){t.call(this,e),this.delay=n,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}return r(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,i=t.scheduler,r=t.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var o=Math.max(0,n[0].time-i.now());this.schedule(t,o)}else e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new h(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(l.Notification.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},e.prototype._complete=function(){this.scheduleNotification(l.Notification.createComplete())},e}(a.Subscriber),h=function(){function t(t,e){this.time=t,this.notification=e}return t}()},ao9a:function(t,e,n){!function(t){t(n("8U58"))}(function(t){"use strict";t.defineMode("haskell",function(t,e){function n(t,e,n){return e(n),n(t,e)}function i(t,e){if(t.eatWhile(m))return null;var i=t.next();if(f.test(i)){if("{"==i&&t.eat("-")){var s="comment";return t.eat("#")&&(s="meta"),n(t,e,r(s,1))}return null}if("'"==i)return t.eat("\\"),t.next(),t.eat("'")?"string":"string error";if('"'==i)return n(t,e,o);if(l.test(i))return t.eatWhile(p),t.eat(".")?"qualifier":"variable-2";if(a.test(i))return t.eatWhile(p),"variable";if(u.test(i)){if("0"==i){if(t.eat(/[xX]/))return t.eatWhile(c),"integer";if(t.eat(/[oO]/))return t.eatWhile(h),"number"}t.eatWhile(u);var s="number";return t.match(/^\.\d+/)&&(s="number"),t.eat(/[eE]/)&&(s="number",t.eat(/[-+]/),t.eatWhile(u)),s}if("."==i&&t.eat("."))return"keyword";if(d.test(i)){if("-"==i&&t.eat(/-/)&&(t.eatWhile(/-/),!t.eat(d)))return t.skipToEnd(),"comment";var s="variable";return":"==i&&(s="variable-2"),t.eatWhile(d),s}return"error"}function r(t,e){return 0==e?i:function(n,o){for(var s=e;!n.eol();){var a=n.next();if("{"==a&&n.eat("-"))++s;else if("-"==a&&n.eat("}")&&0==--s)return o(i),t}return o(r(t,s)),t}}function o(t,e){for(;!t.eol();){var n=t.next();if('"'==n)return e(i),"string";if("\\"==n){if(t.eol()||t.eat(m))return e(s),"string";t.eat("&")||t.next()}}return e(i),"string error"}function s(t,e){return t.eat("\\")?n(t,e,o):(t.next(),e(i),"error")}var a=/[a-z_]/,l=/[A-Z]/,u=/\d/,c=/[0-9A-Fa-f]/,h=/[0-7]/,p=/[a-z_A-Z0-9'\xa1-\uffff]/,d=/[-!#$%&*+.\/<=>?@\\^|~:]/,f=/[(),;[\]`{}]/,m=/[ \t\v\f]/,v=function(){function t(t){return function(){for(var e=0;e<arguments.length;e++)n[arguments[e]]=t}}var n={};t("keyword")("incluir","conj","en","si","o","esVacia"),t("keyword")("<-","->"),t("builtin")("-","+","*","/","^","!",":","==","/=","<",">","<=",">=","::","->","X","|"),t("builtin")("Rojo","Verde","Azul","Negro","Blanco","Gris","Amarillo","FigVacia","[]","R","Fig","Color"),t("builtin")("abs","acos","acosh","all","and","any","appendFile","asTypeOf","asin","asinh","atan","atan2","atanh","break","catch","ceiling","compare","concat","concatMap","const","cos","cosh","curry","cycle","decodeFloat","div","divMod","drop","dropWhile","either","elem","encodeFloat","enumFrom","enumFromThen","enumFromThenTo","enumFromTo","error","even","exp","exponent","fail","filter","flip","floatDigits","floatRadix","floatRange","floor","fmap","foldl","foldl1","foldr","foldr1","fromEnum","fromInteger","fromIntegral","fromRational","fst","gcd","getChar","getContents","getLine","head","id","init","interact","ioError","isDenormalized","isIEEE","isInfinite","isNaN","isNegativeZero","iterate","last","lcm","length","lex","lines","log","logBase","lookup","map","mapM","mapM_","max","maxBound","maximum","maybe","min","minBound","minimum","mod","negate","not","notElem","null","odd","or","otherwise","pi","pred","print","product","properFraction","putChar","putStr","putStrLn","quot","quotRem","read","readFile","readIO","readList","readLn","readParen","reads","readsPrec","realToFrac","recip","rem","repeat","replicate","return","reverse","round","scaleFloat","scanl","scanl1","scanr","scanr1","seq","sequence","sequence_","show","showChar","showList","showParen","showString","shows","showsPrec","significand","signum","sin","sinh","snd","span","splitAt","sqrt","subtract","succ","sum","tail","take","takeWhile","tan","tanh","toEnum","toInteger","toRational","truncate","uncurry","undefined","unlines","until","unwords","unzip","unzip3","userError","words","writeFile","zip","zip3","zipWith","zipWith3");var i=e.overrideKeywords;if(i)for(var r in i)i.hasOwnProperty(r)&&(n[r]=i[r]);return n}();return{startState:function(){return{f:i}},copyState:function(t){return{f:t.f}},token:function(t,e){var n=e.f(t,function(t){e.f=t}),i=t.current();return v.hasOwnProperty(i)?v[i]:n},blockCommentStart:"{-",blockCommentEnd:"-}",lineComment:"--"}}),t.defineMIME("text/x-haskell","haskell")})},"as+d":function(t,e,n){"use strict";var i=n("3j3K"),r=n("2Je8"),o=n("edM1"),s=n("v4DA");n.d(e,"a",function(){return l});var a=[o.a,o.b,o.c,o.d],l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();l.decorators=[{type:i.NgModule,args:[{declarations:a,exports:a,imports:[r.CommonModule]}]}],l.ctorParameters=function(){return[]}},b1Ba:function(t,e,n){"use strict";var i=n("WxOs");e.bindNodeCallback=i.BoundNodeCallbackObservable.create},"bZY+":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("P3oE"),o=n("rCTf"),s=n("CGGv"),a=function(t){function e(e,n){void 0===e&&(e=0),void 0===n&&(n=s.async),t.call(this),this.period=e,this.scheduler=n,(!r.isNumeric(e)||e<0)&&(this.period=0),n&&"function"==typeof n.schedule||(this.scheduler=s.async)}return i(e,t),e.create=function(t,n){return void 0===t&&(t=0),void 0===n&&(n=s.async),new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.subscriber,i=t.period;n.next(e),n.closed||(t.index+=1,this.schedule(t,i))},e.prototype._subscribe=function(t){var n=this.period,i=this.scheduler;t.add(i.schedule(e.dispatch,n,{index:0,subscriber:t,period:n}))},e}(o.Observable);e.IntervalObservable=a},"c+I8":function(t,e,n){!function(t){t(n("8U58"))}(function(t){"use strict";function e(t,e,r,o){if(this.atOccurrence=!1,this.doc=t,null==o&&"string"==typeof e&&(o=!1),r=r?t.clipPos(r):i(0,0),this.pos={from:r,to:r},"string"!=typeof e)e.global||(e=new RegExp(e.source,e.ignoreCase?"ig":"g")),this.matches=function(n,r){if(n){e.lastIndex=0;for(var o,s,a=t.getLine(r.line).slice(0,r.ch),l=0;;){e.lastIndex=l;var u=e.exec(a);if(!u)break;if(o=u,s=o.index,(l=o.index+(o[0].length||1))==a.length)break}var c=o&&o[0].length||0;c||(0==s&&0==a.length?o=void 0:s!=t.getLine(r.line).length&&c++)}else{e.lastIndex=r.ch;var a=t.getLine(r.line),o=e.exec(a),c=o&&o[0].length||0,s=o&&o.index;s+c==a.length||c||(c=1)}if(o&&c)return{from:i(r.line,s),to:i(r.line,s+c),match:o}};else{var s=e;o&&(e=e.toLowerCase());var a=o?function(t){return t.toLowerCase()}:function(t){return t},l=e.split("\n");if(1==l.length)e.length?this.matches=function(r,o){if(r){var l=t.getLine(o.line).slice(0,o.ch),u=a(l),c=u.lastIndexOf(e);if(c>-1)return c=n(l,u,c),{from:i(o.line,c),to:i(o.line,c+s.length)}}else{var l=t.getLine(o.line).slice(o.ch),u=a(l),c=u.indexOf(e);if(c>-1)return c=n(l,u,c)+o.ch,{from:i(o.line,c),to:i(o.line,c+s.length)}}}:this.matches=function(){};else{var u=s.split("\n");this.matches=function(e,n){var r=l.length-1;if(e){if(n.line-(l.length-1)<t.firstLine())return;if(a(t.getLine(n.line).slice(0,u[r].length))!=l[l.length-1])return;for(var o=i(n.line,u[r].length),s=n.line-1,c=r-1;c>=1;--c,--s)if(l[c]!=a(t.getLine(s)))return;var h=t.getLine(s),p=h.length-u[0].length;if(a(h.slice(p))!=l[0])return;return{from:i(s,p),to:o}}if(!(n.line+(l.length-1)>t.lastLine())){var h=t.getLine(n.line),p=h.length-u[0].length;if(a(h.slice(p))==l[0]){for(var d=i(n.line,p),s=n.line+1,c=1;c<r;++c,++s)if(l[c]!=a(t.getLine(s)))return;if(a(t.getLine(s).slice(0,u[r].length))==l[r])return{from:d,to:i(s,u[r].length)}}}}}}}function n(t,e,n){if(t.length==e.length)return n;for(var i=Math.min(n,t.length);;){var r=t.slice(0,i).toLowerCase().length;if(r<n)++i;else{if(!(r>n))return i;--i}}}var i=t.Pos;e.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(t){function e(t){var e=i(t,0);return n.pos={from:e,to:e},n.atOccurrence=!1,!1}for(var n=this,r=this.doc.clipPos(t?this.pos.from:this.pos.to);;){if(this.pos=this.matches(t,r))return this.atOccurrence=!0,this.pos.match||!0;if(t){if(!r.line)return e(0);r=i(r.line-1,this.doc.getLine(r.line-1).length)}else{var o=this.doc.lineCount();if(r.line==o-1)return e(o);r=i(r.line+1,0)}}},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(e,n){if(this.atOccurrence){var r=t.splitLines(e);this.doc.replaceRange(r,this.pos.from,this.pos.to,n),this.pos.to=i(this.pos.from.line+r.length-1,r[r.length-1].length+(1==r.length?this.pos.from.ch:0))}}},t.defineExtension("getSearchCursor",function(t,n,i){return new e(this.doc,t,n,i)}),t.defineDocExtension("getSearchCursor",function(t,n,i){return new e(this,t,n,i)}),t.defineExtension("selectMatches",function(e,n){for(var i=[],r=this.getSearchCursor(e,this.getCursor("from"),n);r.findNext()&&!(t.cmpPos(r.to(),this.getCursor("to"))>0);)i.push({anchor:r.from(),head:r.to()});i.length&&this.setSelections(i,0)})})},c3t5:function(t,e,n){"use strict";var i=n("rCTf"),r=n("ioK+");i.Observable.fromPromise=r.fromPromise},c7mC:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.up=!1,this.autoClose=!0}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},cDAr:function(t,e,n){"use strict";var i=n("rCTf"),r=n("E/WS");i.Observable.prototype.timeout=r.timeout},cG9e:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.editable=!0,this.focusFirst=!0,this.showHint=!1}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},cJSH:function(t,e,n){"use strict";function i(t,e,n,i){return this.lift(new h(t,e,n,i))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("B00U"),a=n("rCTf"),l=n("EEr4"),u=n("9JPB"),c=n("1kxm");e.groupBy=i;var h=function(){function t(t,e,n,i){this.keySelector=t,this.elementSelector=e,this.durationSelector=n,this.subjectSelector=i}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},t}(),p=function(t){function e(e,n,i,r,o){t.call(this,e),this.keySelector=n,this.elementSelector=i,this.durationSelector=r,this.subjectSelector=o,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}return r(e,t),e.prototype._next=function(t){var e;try{e=this.keySelector(t)}catch(t){return void this.error(t)}this._group(t,e)},e.prototype._group=function(t,e){var n=this.groups;n||(n=this.groups="string"==typeof e?new c.FastMap:new u.Map);var i,r=n.get(e);if(this.elementSelector)try{i=this.elementSelector(t)}catch(t){this.error(t)}else i=t;if(!r){r=this.subjectSelector?this.subjectSelector():new l.Subject,n.set(e,r);var o=new f(e,r,this);if(this.destination.next(o),this.durationSelector){var s=void 0;try{s=this.durationSelector(new f(e,r))}catch(t){return void this.error(t)}this.add(s.subscribe(new d(e,r,this)))}}r.closed||r.next(i)},e.prototype._error=function(t){var e=this.groups;e&&(e.forEach(function(e,n){e.error(t)}),e.clear()),this.destination.error(t)},e.prototype._complete=function(){var t=this.groups;t&&(t.forEach(function(t,e){t.complete()}),t.clear()),this.destination.complete()},e.prototype.removeGroup=function(t){this.groups.delete(t)},e.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&t.prototype.unsubscribe.call(this))},e}(o.Subscriber),d=function(t){function e(e,n,i){t.call(this,n),this.key=e,this.group=n,this.parent=i}return r(e,t),e.prototype._next=function(t){this.complete()},e.prototype._unsubscribe=function(){var t=this,e=t.parent,n=t.key;this.key=this.parent=null,e&&e.removeGroup(n)},e}(o.Subscriber),f=function(t){function e(e,n,i){t.call(this),this.key=e,this.groupSubject=n,this.refCountSubscription=i}return r(e,t),e.prototype._subscribe=function(t){var e=new s.Subscription,n=this,i=n.refCountSubscription,r=n.groupSubject;return i&&!i.closed&&e.add(new m(i)),e.add(r.subscribe(t)),e},e}(a.Observable);e.GroupedObservable=f;var m=function(t){function e(e){t.call(this),this.parent=e,e.count++}return r(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(s.Subscription)},cPwE:function(t,e,n){"use strict";var i=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=Date.now?Date.now:function(){return+new Date},t}();e.Scheduler=i},cjT5:function(t,e,n){"use strict";function i(t){return this.lift(new a(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.debounce=i;var a=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.durationSelector))},t}(),l=function(t){function e(e,n){t.call(this,e),this.durationSelector=n,this.hasValue=!1,this.durationSubscription=null}return r(e,t),e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),n=s.subscribeToResult(this,e),n.closed||this.add(this.durationSubscription=n)},e.prototype.notifyNext=function(t,e,n,i,r){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,n=this.durationSubscription;n&&(this.durationSubscription=null,n.unsubscribe(),this.remove(n)),this.value=null,this.hasValue=!1,t.prototype._next.call(this,e)}},e}(o.OuterSubscriber)},cmqr:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=function(t){function e(){var e=t.call(this,"Timeout has occurred");this.name=e.name="TimeoutError",this.stack=e.stack,this.message=e.message}return i(e,t),e}(Error);e.TimeoutError=r},cpnk:function(t,e,n){"use strict";function i(t){return h["ɵvid"](0,[(t()(),h["ɵeld"](0,null,null,5,"input",[["class","nomArchivoInp form-control form-control-sm"],["name","archivo"],["placeholder","nombre del archivo"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var i=!0,r=t.component;if("input"===e){i=!1!==h["ɵnov"](t,1)._handleInput(n.target.value)&&i}if("blur"===e){i=!1!==h["ɵnov"](t,1).onTouched()&&i}if("compositionstart"===e){i=!1!==h["ɵnov"](t,1)._compositionStart()&&i}if("compositionend"===e){i=!1!==h["ɵnov"](t,1)._compositionEnd(n.target.value)&&i}if("ngModelChange"===e){i=!1!==(r.archivo.nombre=n)&&i}if("keyup"===e){i=!1!==r.archivoModificado()&&i}return i},null,null)),h["ɵdid"](16384,null,0,p.DefaultValueAccessor,[h.Renderer,h.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),h["ɵprd"](1024,null,p.NG_VALUE_ACCESSOR,function(t){return[t]},[p.DefaultValueAccessor]),h["ɵdid"](671744,null,0,p.NgModel,[[2,p.ControlContainer],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),h["ɵprd"](2048,null,p.NgControl,null,[p.NgModel]),h["ɵdid"](16384,null,0,p.NgControlStatus,[p.NgControl],null,null)],function(t,e){var n=e.component;t(e,3,0,"archivo",!n.archivo.editable||"Corregido"==n.archivo.estado||"Entregado"==n.archivo.estado,n.archivo.nombre)},function(t,e){t(e,0,0,h["ɵnov"](e,5).ngClassUntouched,h["ɵnov"](e,5).ngClassTouched,h["ɵnov"](e,5).ngClassPristine,h["ɵnov"](e,5).ngClassDirty,h["ɵnov"](e,5).ngClassValid,h["ɵnov"](e,5).ngClassInvalid,h["ɵnov"](e,5).ngClassPending)})}function r(t){return h["ɵvid"](0,[(t()(),h["ɵeld"](0,null,null,3,"option",[],[[8,"selected",0]],null,null,null,null)),h["ɵdid"](147456,null,0,p.NgSelectOption,[h.ElementRef,h.Renderer,[8,null]],{value:[0,"value"]},null),h["ɵdid"](147456,null,0,p["ɵq"],[h.ElementRef,h.Renderer,[8,null]],{value:[0,"value"]},null),(t()(),h["ɵted"](null,["",""]))],function(t,e){t(e,1,0,h["ɵinlineInterpolate"](1,"",e.context.$implicit,"")),t(e,2,0,h["ɵinlineInterpolate"](1,"",e.context.$implicit,""))},function(t,e){var n=e.component;t(e,0,0,e.context.$implicit==n.configCodeMirror.theme),t(e,3,0,e.context.$implicit)})}function o(t){return h["ɵvid"](0,[(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,59,"div",[["style","width: 12em"]],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,1,"label",[],null,null,null,null,null)),(t()(),h["ɵted"](null,["Tema:"])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,[["selectTheme",1]],null,4,"select",[["class","form-control form-control-sm"],["name","theme"]],null,[[null,"change"]],function(t,e,n){var i=!0,r=t.component;if("change"===e){i=!1!==r.updateConfig(h["ɵnov"](t,8).value)&&i}return i},null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵand"](16777216,null,null,1,null,r)),h["ɵdid"](802816,null,0,d.NgForOf,[h.ViewContainerRef,h.TemplateRef,h.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,13,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,1,"label",[],null,null,null,null,null)),(t()(),h["ɵted"](null,["Tamaño de fuente:"])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,7,"div",[],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,1,"button",[["class","btn btn-sm btn-secondary"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.aumentarFuente()&&i}return i},null,null)),(t()(),h["ɵted"](null,["Aâº"])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,1,"button",[["class","btn btn-sm btn-secondary"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.disminuirFuente()&&i}return i},null,null)),(t()(),h["ɵted"](null,["Aâ»"])),(t()(),h["ɵted"](null,["\n ","px \n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,8,"label",[],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,5,"input",[["class","form-control form-control-sm"],["name","argumentoF"],["style","width: 15px; display: inline-block;"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"blur"]],function(t,e,n){var i=!0,r=t.component;if("change"===e){i=!1!==h["ɵnov"](t,35).onChange(n.target.checked)&&i}if("blur"===e){i=!1!==h["ɵnov"](t,35).onTouched()&&i}if("ngModelChange"===e){i=!1!==(r.argumentoF=n)&&i}return i},null,null)),h["ɵdid"](16384,null,0,p.CheckboxControlValueAccessor,[h.Renderer,h.ElementRef],null,null),h["ɵprd"](1024,null,p.NG_VALUE_ACCESSOR,function(t){return[t]},[p.CheckboxControlValueAccessor]),h["ɵdid"](671744,null,0,p.NgModel,[[2,p.ControlContainer],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),h["ɵprd"](2048,null,p.NgControl,null,[p.NgModel]),h["ɵdid"](16384,null,0,p.NgControlStatus,[p.NgControl],null,null),(t()(),h["ɵted"](null,["\n Mostrar advertencias de uso de funciones\n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,0,"br",[],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,8,"label",[],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,5,"input",[["class","form-control form-control-sm"],["name","argumentoI"],["style","width: 15px; display: inline-block;"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"blur"]],function(t,e,n){var i=!0,r=t.component;if("change"===e){i=!1!==h["ɵnov"](t,47).onChange(n.target.checked)&&i}if("blur"===e){i=!1!==h["ɵnov"](t,47).onTouched()&&i}if("ngModelChange"===e){i=!1!==(r.argumentoI=n)&&i}return i},null,null)),h["ɵdid"](16384,null,0,p.CheckboxControlValueAccessor,[h.Renderer,h.ElementRef],null,null),h["ɵprd"](1024,null,p.NG_VALUE_ACCESSOR,function(t){return[t]},[p.CheckboxControlValueAccessor]),h["ɵdid"](671744,null,0,p.NgModel,[[2,p.ControlContainer],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),h["ɵprd"](2048,null,p.NgControl,null,[p.NgModel]),h["ɵdid"](16384,null,0,p.NgControlStatus,[p.NgControl],null,null),(t()(),h["ɵted"](null,["\n Mostrar advertencias de uso de operadores infijos\n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,4,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,1,"button",[["class","btn btn-secondary"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.saveConfig()&&i}return i},null,null)),(t()(),h["ɵted"](null,["Guardar"])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,11,0,n.themes),t(e,37,0,"argumentoF",n.argumentoF),t(e,49,0,"argumentoI",n.argumentoI)},function(t,e){t(e,27,0,e.component.configCodeMirror.fontSize),t(e,34,0,h["ɵnov"](e,39).ngClassUntouched,h["ɵnov"](e,39).ngClassTouched,h["ɵnov"](e,39).ngClassPristine,h["ɵnov"](e,39).ngClassDirty,h["ɵnov"](e,39).ngClassValid,h["ɵnov"](e,39).ngClassInvalid,h["ɵnov"](e,39).ngClassPending),t(e,46,0,h["ɵnov"](e,51).ngClassUntouched,h["ɵnov"](e,51).ngClassTouched,h["ɵnov"](e,51).ngClassPristine,h["ɵnov"](e,51).ngClassDirty,h["ɵnov"](e,51).ngClassValid,h["ɵnov"](e,51).ngClassInvalid,h["ɵnov"](e,51).ngClassPending)})}function s(t){return h["ɵvid"](0,[(t()(),h["ɵted"](null,["\n\n "])),(t()(),h["ɵeld"](0,null,null,65,"div",[["class","card"]],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,52,"div",[["class","card-header"]],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,49,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(t,e,n){var i=!0;if("submit"===e){i=!1!==h["ɵnov"](t,7).onSubmit(n)&&i}if("reset"===e){i=!1!==h["ɵnov"](t,7).onReset()&&i}return i},null,null)),h["ɵdid"](16384,null,0,p["ɵbf"],[],null,null),h["ɵdid"](16384,null,0,p.NgForm,[[8,null],[8,null]],null,null),h["ɵprd"](2048,null,p.ControlContainer,null,[p.NgForm]),h["ɵdid"](16384,null,0,p.NgControlStatusGroup,[p.ControlContainer],null,null),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵand"](16777216,null,null,1,null,i)),h["ɵdid"](16384,null,0,d.NgIf,[h.ViewContainerRef,h.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),h["ɵted"](null,["\n\n "])),(t()(),h["ɵeld"](16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary"],["id","downloadFileButton"],["ngbPopover","Exportar (Ctrl+E)"],["placement","bottom"],["style","margin-left: 10px; float: right;"],["tiggers","click"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.downloadFile()&&i}return i},null,null)),h["ɵdid"](212992,null,0,f.a,[h.ElementRef,h.Renderer2,h.Injector,h.ComponentFactoryResolver,h.ViewContainerRef,m.a,h.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,0,"i",[["class","fa fa-download "]],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n\n "])),(t()(),h["ɵeld"](16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary"],["id","popover"],["placement","bottom"],["popoverTitle","Configuración"],["style","margin-left: 10px; float: right;"],["tiggers","click"]],null,null,null,null,null)),h["ɵdid"](212992,[[2,4],["popover",4]],0,f.a,[h.ElementRef,h.Renderer2,h.Injector,h.ComponentFactoryResolver,h.ViewContainerRef,m.a,h.NgZone],{ngbPopover:[0,"ngbPopover"],popoverTitle:[1,"popoverTitle"],placement:[2,"placement"]},null),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,0,"i",[["class","fa fa-gear"]],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](16777216,null,null,7,"div",[["ngbPopover","Guardar archivo (Ctrl+G)"],["placement","bottom"],["style","margin-left: 10px; float: right;"],["triggers","mouseenter:mouseleave"]],null,null,null,null,null)),h["ɵdid"](212992,null,0,f.a,[h.ElementRef,h.Renderer2,h.Injector,h.ComponentFactoryResolver,h.ViewContainerRef,m.a,h.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,3,"button",[["class","btn btn-sm btn-secondary"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.guardarArchivo()&&i}return i},null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,0,"i",[["class","fa fa-save"]],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary"],["ngbPopover","Reiniciar intérprete (Ctrl+R)"],["placement","bottom"],["style","margin-left: 10px; float: right;"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.reiniciarInterprete()&&i}return i},null,null)),h["ɵdid"](212992,null,0,f.a,[h.ElementRef,h.Renderer2,h.Injector,h.ComponentFactoryResolver,h.ViewContainerRef,m.a,h.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,0,"i",[["class","fa fa-refresh"]],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary"],["ngbPopover","Cargar programa (Ctrl+P)"],["placement","bottom"],["style","margin-left: 10px; float: right;"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.runCode()&&i}return i},null,null)),h["ɵdid"](212992,null,0,f.a,[h.ElementRef,h.Renderer2,h.Injector,h.ComponentFactoryResolver,h.ViewContainerRef,m.a,h.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,0,"i",[["class","fa fa-play"]],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary"],["ngbPopover","Nuevo archivo (Ctrl+A)"],["placement","bottom"],["style","float: right;"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.seleccionarDirectorio()&&i}return i},null,null)),h["ɵdid"](212992,null,0,f.a,[h.ElementRef,h.Renderer2,h.Injector,h.ComponentFactoryResolver,h.ViewContainerRef,m.a,h.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,0,"i",[["class","fa fa-plus"]],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵand"](0,[["popoverContent",2]],null,0,null,o)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,8,"codemirror",[["class","codemirrorPrograma"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup"]],function(t,e,n){var i=!0,r=t.component;if("ngModelChange"===e){i=!1!==(r.archivo.contenido=n)&&i}if("keyup"===e){i=!1!==r.archivoModificado()&&i}return i},v.a,v.b)),h["ɵdid"](278528,null,0,d.NgStyle,[h.KeyValueDiffers,h.ElementRef,h.Renderer],{ngStyle:[0,"ngStyle"]},null),h["ɵpod"](["font-size"]),h["ɵdid"](4374528,[[1,4]],0,g.CodemirrorComponent,[],{config:[0,"config"]},null),h["ɵprd"](1024,null,p.NG_VALUE_ACCESSOR,function(t){return[t]},[g.CodemirrorComponent]),h["ɵdid"](671744,null,0,p.NgModel,[[8,null],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),h["ɵprd"](2048,null,p.NgControl,null,[p.NgModel]),h["ɵdid"](16384,null,0,p.NgControlStatus,[p.NgControl],null,null),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n\n "]))],function(t,e){var n=e.component;t(e,12,0,n.archivo),t(e,15,0,"Exportar (Ctrl+E)","bottom","mouseenter:mouseleave"),t(e,21,0,h["ɵnov"](e,53),"Configuración","bottom"),t(e,27,0,"Guardar archivo (Ctrl+G)","bottom","mouseenter:mouseleave"),t(e,36,0,"Reiniciar intérprete (Ctrl+R)","bottom","mouseenter:mouseleave"),t(e,42,0,"Cargar programa (Ctrl+P)","bottom","mouseenter:mouseleave"),t(e,48,0,"Nuevo archivo (Ctrl+A)","bottom","mouseenter:mouseleave"),t(e,58,0,t(e,59,0,n.configCodeMirror.fontSize+"px")),t(e,60,0,n.configCodeMirror),t(e,62,0,n.archivo.contenido)},function(t,e){var n=e.component;t(e,5,0,h["ɵnov"](e,9).ngClassUntouched,h["ɵnov"](e,9).ngClassTouched,h["ɵnov"](e,9).ngClassPristine,h["ɵnov"](e,9).ngClassDirty,h["ɵnov"](e,9).ngClassValid,h["ɵnov"](e,9).ngClassInvalid,h["ɵnov"](e,9).ngClassPending),t(e,29,0,!n.modificado),t(e,57,0,h["ɵnov"](e,64).ngClassUntouched,h["ɵnov"](e,64).ngClassTouched,h["ɵnov"](e,64).ngClassPristine,h["ɵnov"](e,64).ngClassDirty,h["ɵnov"](e,64).ngClassValid,h["ɵnov"](e,64).ngClassInvalid,h["ɵnov"](e,64).ngClassPending)})}function a(t){return h["ɵvid"](0,[(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,1,"canvas-component",[],null,[[null,"canvasComp"],["window","resize"],["document","click"]],function(t,e,n){var i=!0,r=t.component;if("window:resize"===e){i=!1!==h["ɵnov"](t,2).onResize(n)&&i}if("document:click"===e){i=!1!==h["ɵnov"](t,2).documentClicked(n)&&i}if("canvasComp"===e){i=!1!==r.canvasC&&i}return i},y.a,y.b)),h["ɵdid"](4243456,[[3,4]],0,b.a,[w.a],null,null),(t()(),h["ɵted"](null,["\n "]))],null,null)}function l(t){return h["ɵvid"](0,[h["ɵqud"](671088640,1,{codemirror:0}),h["ɵqud"](671088640,2,{popover:0}),h["ɵqud"](671088640,3,{canvasC:0}),(t()(),h["ɵeld"](0,null,null,1,"notificacion",[],null,null,null,x.a,x.b)),h["ɵdid"](114688,null,0,C.a,[S.a],null,null),(t()(),h["ɵted"](null,[" \n"])),(t()(),h["ɵeld"](0,null,null,41,"div",[["class","container-fluid"],["style"," padding-left: 0px; padding-right: 0px; margin-top: -13px; margin-left: -6px; margin-right: -6px;"]],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,38,"div",[["class","row"]],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,24,"div",[["class","col-md-6"]],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,21,"ngb-tabset",[],null,null,null,k.a,k.b)),h["ɵdid"](2146304,null,1,O.a,[T.a],{destroyOnHide:[0,"destroyOnHide"]},null),h["ɵqud"](603979776,4,{tabs:1}),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,7,"ngb-tab",[["id","ProgramBtn"],["title","Programa"]],null,null,null,null,null)),h["ɵdid"](16384,[[4,4]],2,O.b,[],{id:[0,"id"],title:[1,"title"]},null),h["ɵqud"](335544320,5,{contentTpl:0}),h["ɵqud"](335544320,6,{titleTpl:0}),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵand"](0,null,null,1,null,s)),h["ɵdid"](16384,[[5,4]],0,O.c,[h.TemplateRef],null,null),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,7,"ngb-tab",[["id","FigurasBtn"],["title","Figuras"]],null,null,null,null,null)),h["ɵdid"](16384,[[4,4]],2,O.b,[],{id:[0,"id"],title:[1,"title"]},null),h["ɵqud"](335544320,7,{contentTpl:0}),h["ɵqud"](335544320,8,{titleTpl:0}),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵand"](0,null,null,1,null,a)),h["ɵdid"](16384,[[7,4]],0,O.c,[h.TemplateRef],null,null),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,[" \n\n "])),(t()(),h["ɵted"](null,["\n\n "])),(t()(),h["ɵeld"](0,null,null,9,"div",[["class","col-md-6"]],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n \n\n\n "])),(t()(),h["ɵeld"](0,null,null,4,"div",[["class","card"]],null,null,null,null,null)),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵeld"](0,null,null,1,"div",[["id","console"]],null,null,null,null,null)),(t()(),h["ɵted"](null,[" "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n\n "])),(t()(),h["ɵted"](null,["\n "])),(t()(),h["ɵted"](null,["\n"])),(t()(),h["ɵted"](null,["\n\n"]))],function(t,e){t(e,4,0),t(e,13,0,!1),t(e,17,0,"ProgramBtn","Programa"),t(e,26,0,"FigurasBtn","Figuras")},null)}function u(t){return h["ɵvid"](0,[(t()(),h["ɵeld"](0,null,null,5,"matefun",[],null,[["document","click"]],function(t,e,n){var i=!0;if("document:click"===e){i=!1!==h["ɵnov"](t,5).documentClicked(n)&&i}return i},l,L)),h["ɵprd"](4608,null,_.a,_.a,[]),h["ɵprd"](4608,null,m.a,m.a,[]),h["ɵprd"](512,null,E.a,E.a,[]),h["ɵprd"](512,null,R.a,R.a,[M.i]),h["ɵdid"](4308992,null,0,I.a,[P.a,A.a,w.a,h.ElementRef,S.a,E.a,N.a,D.DialogService,R.a],null,null)],function(t,e){t(e,5,0)},null)}var c=n("LON3"),h=n("3j3K"),p=n("NVOs"),d=n("2Je8"),f=n("WtNX"),m=n("ETCP"),v=n("1hiA"),g=n("zK+N"),y=(n.n(g),n("27zr")),b=n("QQ7W"),w=n("J3Pa"),x=n("FiTo"),C=n("SIx6"),S=n("dBGY"),k=n("INWX"),O=n("edM1"),T=n("v4DA"),_=n("GwVO"),E=n("fw1O"),R=n("5uzG"),M=n("Fzro"),I=n("sBjJ"),P=n("FR2h"),A=n("R6W2"),N=n("Zwpz"),D=n("hz2l");n.n(D);n.d(e,"a",function(){return F});var j=[c.a],L=h["ɵcrt"]({encapsulation:0,styles:j,data:{}}),F=h["ɵccf"]("matefun",I.a,u,{},{},[])},cwzr:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("VOfZ"),o=n("zQPq"),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n,this.pending=!1}return i(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 n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),r.root.setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){return void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending?e:r.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 n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,i=void 0;try{this.work(t)}catch(t){n=!0,i=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),i},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(o.Action);e.AsyncAction=s},driz:function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=a.async),this.lift(new l(t,e))}function r(t){t.debouncedNext()}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("mmVS"),a=n("CGGv");e.debounceTime=i;var l=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.dueTime,this.scheduler))},t}(),u=function(t){function e(e,n,i){t.call(this,e),this.dueTime=n,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return o(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(r,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){this.clearDebounce(),this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(s.Subscriber)},eCJc:function(t,e,n){"use strict";var i=n("3j3K"),r=n("2Je8"),o=n("hApb"),s=n("ZwZs");n.d(e,"a",function(){return l});var a=[o.a,o.b,o.c,o.d],l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();l.decorators=[{type:i.NgModule,args:[{declarations:a,exports:a,imports:[r.CommonModule]}]}],l.ctorParameters=function(){return[]}},eErF:function(t,e,n){"use strict";var i=n("rCTf"),r=n("nFIP");i.Observable.prototype.toPromise=r.toPromise},edM1:function(t,e,n){"use strict";var i=n("3j3K"),r=n("v4DA");n.d(e,"d",function(){return s}),n.d(e,"c",function(){return a}),n.d(e,"b",function(){return l}),n.d(e,"a",function(){return u});var o=0,s=function(){function t(t){this.templateRef=t}return t}();s.decorators=[{type:i.Directive,args:[{selector:"ng-template[ngbTabTitle]"}]}],s.ctorParameters=function(){return[{type:i.TemplateRef}]};var a=function(){function t(t){this.templateRef=t}return t}();a.decorators=[{type:i.Directive,args:[{selector:"ng-template[ngbTabContent]"}]}],a.ctorParameters=function(){return[{type:i.TemplateRef}]};var l=function(){function t(){this.id="ngb-tab-"+o++,this.disabled=!1}return t}();l.decorators=[{type:i.Directive,args:[{selector:"ngb-tab"}]}],l.ctorParameters=function(){return[]},l.propDecorators={id:[{type:i.Input}],title:[{type:i.Input}],disabled:[{type:i.Input}],contentTpl:[{type:i.ContentChild,args:[a]}],titleTpl:[{type:i.ContentChild,args:[s]}]};var u=function(){function t(t){this.destroyOnHide=!0,this.tabChange=new i.EventEmitter,this.type=t.type,this.justify=t.justify}return t.prototype.select=function(t){var e=this._getTabById(t);if(e&&!e.disabled&&this.activeId!==e.id){var n=!1;this.tabChange.emit({activeId:this.activeId,nextId:e.id,preventDefault:function(){n=!0}}),n||(this.activeId=e.id)}},t.prototype.ngAfterContentChecked=function(){var t=this._getTabById(this.activeId);this.activeId=t?t.id:this.tabs.length?this.tabs.first.id:null},t.prototype._getTabById=function(t){var e=this.tabs.filter(function(e){return e.id===t});return e.length?e[0]:null},t}();u.decorators=[{type:i.Component,args:[{selector:"ngb-tabset",exportAs:"ngbTabset",template:'\n <ul [class]="\'nav nav-\' + type + \' justify-content-\' + justify" role="tablist">\n <li class="nav-item" *ngFor="let tab of tabs">\n <a [id]="tab.id" class="nav-link" [class.active]="tab.id === activeId" [class.disabled]="tab.disabled"\n href (click)="!!select(tab.id)" role="tab" [attr.tabindex]="(tab.disabled ? \'-1\': undefined)"\n [attr.aria-controls]="(!destroyOnHide || tab.id === activeId ? tab.id + \'-panel\' : null)"\n [attr.aria-expanded]="tab.id === activeId" [attr.aria-disabled]="tab.disabled">\n {{tab.title}}<ng-template [ngTemplateOutlet]="tab.titleTpl?.templateRef"></ng-template>\n </a>\n </li>\n </ul>\n <div class="tab-content">\n <ng-template ngFor let-tab [ngForOf]="tabs">\n <div\n class="tab-pane {{tab.id === activeId ? \'active\' : null}}"\n *ngIf="!destroyOnHide || tab.id === activeId"\n role="tabpanel"\n [attr.aria-labelledby]="tab.id" id="{{tab.id}}-panel"\n [attr.aria-expanded]="tab.id === activeId">\n <ng-template [ngTemplateOutlet]="tab.contentTpl.templateRef"></ng-template>\n </div>\n </ng-template>\n </div>\n '}]}],u.ctorParameters=function(){return[{type:r.a}]},u.propDecorators={tabs:[{type:i.ContentChildren,args:[l]}],activeId:[{type:i.Input}],destroyOnHide:[{type:i.Input}],justify:[{type:i.Input}],type:[{type:i.Input}],tabChange:[{type:i.Output}]}},erNO:function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=0),this.lift(new a(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("EEr4");e.windowCount=i;var a=function(){function t(t,e){this.windowSize=t,this.startWindowEvery=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.windowSize,this.startWindowEvery))},t}(),l=function(t){function e(e,n,i){t.call(this,e),this.destination=e,this.windowSize=n,this.startWindowEvery=i,this.windows=[new s.Subject],this.count=0,e.next(this.windows[0])}return r(e,t),e.prototype._next=function(t){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,i=this.windowSize,r=this.windows,o=r.length,a=0;a<o&&!this.closed;a++)r[a].next(t);var l=this.count-i+1;if(l>=0&&l%e==0&&!this.closed&&r.shift().complete(),++this.count%e==0&&!this.closed){var u=new s.Subject;r.push(u),n.next(u)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(o.Subscriber)},ezqs:function(t,e,n){!function(t){t(n("8U58"))}(function(t){"use strict";var e={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};t.defineMode("xml",function(i,r){function o(t,e){function n(n){return e.tokenize=n,n(t,e)}var i=t.next();if("<"==i)return t.eat("!")?t.eat("[")?t.match("CDATA[")?n(l("atom","]]>")):null:t.match("--")?n(l("comment","--\x3e")):t.match("DOCTYPE",!0,!0)?(t.eatWhile(/[\w\._\-]/),n(u(1))):null:t.eat("?")?(t.eatWhile(/[\w\._\-]/),e.tokenize=l("meta","?>"),"meta"):(T=t.eat("/")?"closeTag":"openTag",e.tokenize=s,"tag bracket");if("&"==i){var r;return r=t.eat("#")?t.eat("x")?t.eatWhile(/[a-fA-F\d]/)&&t.eat(";"):t.eatWhile(/[\d]/)&&t.eat(";"):t.eatWhile(/[\w\.\-:]/)&&t.eat(";"),r?"atom":"error"}return t.eatWhile(/[^&<]/),null}function s(t,e){var n=t.next();if(">"==n||"/"==n&&t.eat(">"))return e.tokenize=o,T=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return T="equals",null;if("<"==n){e.tokenize=o,e.state=d,e.tagName=e.tagStart=null;var i=e.tokenize(t,e);return i?i+" tag error":"tag error"}return/[\'\"]/.test(n)?(e.tokenize=a(n),e.stringStartCol=t.column(),e.tokenize(t,e)):(t.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function a(t){var e=function(e,n){for(;!e.eol();)if(e.next()==t){n.tokenize=s;break}return"string"};return e.isInAttribute=!0,e}function l(t,e){return function(n,i){for(;!n.eol();){if(n.match(e)){i.tokenize=o;break}n.next()}return t}}function u(t){return function(e,n){for(var i;null!=(i=e.next());){if("<"==i)return n.tokenize=u(t+1),n.tokenize(e,n);if(">"==i){if(1==t){n.tokenize=o;break}return n.tokenize=u(t-1),n.tokenize(e,n)}}return"meta"}}function c(t,e,n){this.prev=t.context,this.tagName=e,this.indent=t.indented,this.startOfLine=n,(S.doNotIndent.hasOwnProperty(e)||t.context&&t.context.noIndent)&&(this.noIndent=!0)}function h(t){t.context&&(t.context=t.context.prev)}function p(t,e){for(var n;;){if(!t.context)return;if(n=t.context.tagName,!S.contextGrabbers.hasOwnProperty(n)||!S.contextGrabbers[n].hasOwnProperty(e))return;h(t)}}function d(t,e,n){return"openTag"==t?(n.tagStart=e.column(),f):"closeTag"==t?m:d}function f(t,e,n){return"word"==t?(n.tagName=e.current(),_="tag",y):(_="error",f)}function m(t,e,n){if("word"==t){var i=e.current();return n.context&&n.context.tagName!=i&&S.implicitlyClosed.hasOwnProperty(n.context.tagName)&&h(n),n.context&&n.context.tagName==i||!1===S.matchClosing?(_="tag",v):(_="tag error",g)}return _="error",g}function v(t,e,n){return"endTag"!=t?(_="error",v):(h(n),d)}function g(t,e,n){return _="error",v(t,e,n)}function y(t,e,n){if("word"==t)return _="attribute",b;if("endTag"==t||"selfcloseTag"==t){var i=n.tagName,r=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==t||S.autoSelfClosers.hasOwnProperty(i)?p(n,i):(p(n,i),n.context=new c(n,i,r==n.indented)),d}return _="error",y}function b(t,e,n){return"equals"==t?w:(S.allowMissing||(_="error"),y(t,e,n))}function w(t,e,n){return"string"==t?x:"word"==t&&S.allowUnquoted?(_="string",y):(_="error",y(t,e,n))}function x(t,e,n){return"string"==t?x:y(t,e,n)}var C=i.indentUnit,S={},k=r.htmlMode?e:n;for(var O in k)S[O]=k[O];for(var O in r)S[O]=r[O];var T,_;return o.isInText=!0,{startState:function(t){var e={tokenize:o,state:d,indented:t||0,tagName:null,tagStart:null,context:null};return null!=t&&(e.baseIndent=t),e},token:function(t,e){if(!e.tagName&&t.sol()&&(e.indented=t.indentation()),t.eatSpace())return null;T=null;var n=e.tokenize(t,e);return(n||T)&&"comment"!=n&&(_=null,e.state=e.state(T||n,t,e),_&&(n="error"==_?n+" error":_)),n},indent:function(e,n,i){var r=e.context;if(e.tokenize.isInAttribute)return e.tagStart==e.indented?e.stringStartCol+1:e.indented+C;if(r&&r.noIndent)return t.Pass;if(e.tokenize!=s&&e.tokenize!=o)return i?i.match(/^(\s*)/)[0].length:0;if(e.tagName)return!1!==S.multilineTagIndentPastTag?e.tagStart+e.tagName.length+2:e.tagStart+C*(S.multilineTagIndentFactor||1);if(S.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var a=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(a&&a[1])for(;r;){if(r.tagName==a[2]){r=r.prev;break}if(!S.implicitlyClosed.hasOwnProperty(r.tagName))break;r=r.prev}else if(a)for(;r;){var l=S.contextGrabbers[r.tagName];if(!l||!l.hasOwnProperty(a[2]))break;r=r.prev}for(;r&&r.prev&&!r.startOfLine;)r=r.prev;return r?r.indent+C:e.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:S.htmlMode?"html":"xml",helperType:S.htmlMode?"html":"xml",skipAttribute:function(t){t.state==w&&(t.state=y)}}}),t.defineMIME("text/xml","xml"),t.defineMIME("application/xml","xml"),t.mimeModes.hasOwnProperty("text/html")||t.defineMIME("text/html",{name:"xml",htmlMode:!0})})},f1gJ:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Qt4r");i.Observable.generate=r.GenerateObservable.create},f6fj:function(t,e,n){!function(t){t(n("8U58"),n("ezqs"),n("+fCR"))}(function(t){"use strict";t.defineMode("markdown",function(e,n){function i(n){if(t.findModeByName){var i=t.findModeByName(n);i&&(n=i.mime||i.mimes[0])}var r=t.getMode(e,n);return"null"==r.name?null:r}function r(t,e,n){return e.f=e.inline=n,n(t,e)}function o(t,e,n){return e.f=e.block=n,n(t,e)}function s(t){return!t||!/\S/.test(t.string)}function a(t){return t.linkTitle=!1,t.em=!1,t.strong=!1,t.strikethrough=!1,t.quote=0,t.indentedCode=!1,t.f==u&&(t.f=d,t.block=l),t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.prevLine=t.thisLine,t.thisLine=null,null}function l(e,o){var a=e.sol(),l=!1!==o.list,u=o.indentedCode;o.indentedCode=!1,l&&(o.indentationDiff>=0?(o.indentationDiff<4&&(o.indentation-=o.indentationDiff),o.list=null):o.indentation>0?o.list=null:o.list=!1);var p=null;if(o.indentationDiff>=4)return e.skipToEnd(),u||s(o.prevLine)?(o.indentation-=4,o.indentedCode=!0,C.code):null;if(e.eatSpace())return null;if((p=e.match(_))&&p[1].length<=6)return o.header=p[1].length,n.highlightFormatting&&(o.formatting="header"),o.f=o.inline,h(o);if(!(s(o.prevLine)||o.quote||l||u)&&(p=e.match(E)))return o.header="="==p[0].charAt(0)?1:2,n.highlightFormatting&&(o.formatting="header"),o.f=o.inline,h(o);if(e.eat(">"))return o.quote=a?1:o.quote+1,n.highlightFormatting&&(o.formatting="quote"),e.eatSpace(),h(o);if("["===e.peek())return r(e,o,g);if(e.match(k,!0))return o.hr=!0,C.hr;if(p=e.match(O)){var d=p[1]?"ol":"ul";for(o.indentation=e.column()+e.current().length,o.list=!0;o.listStack&&e.column()<o.listStack[o.listStack.length-1];)o.listStack.pop();return o.listStack.push(o.indentation),n.taskLists&&e.match(T,!1)&&(o.taskList=!0),o.f=o.inline,n.highlightFormatting&&(o.formatting=["list","list-"+d]),h(o)}return n.fencedCodeBlocks&&(p=e.match(M,!0))?(o.fencedChars=p[1],o.localMode=i(p[2]),o.localMode&&(o.localState=t.startState(o.localMode)),o.f=o.block=c,n.highlightFormatting&&(o.formatting="code-block"),o.code=-1,h(o)):r(e,o,o.inline)}function u(e,n){var i=w.token(e,n.htmlState);if(!x){var r=t.innerMode(w,n.htmlState);("xml"==r.mode.name&&null===r.state.tagStart&&!r.state.context&&r.state.tokenize.isInText||n.md_inside&&e.current().indexOf(">")>-1)&&(n.f=d,n.block=l,n.htmlState=null)}return i}function c(t,e){if(e.fencedChars&&t.match(e.fencedChars)){n.highlightFormatting&&(e.formatting="code-block");var i=h(e);return e.localMode=e.localState=null,e.block=l,e.f=d,e.fencedChars=null,e.code=0,i}return e.fencedChars&&t.skipTo(e.fencedChars)?"comment":e.localMode?e.localMode.token(t,e.localState):(t.skipToEnd(),C.code)}function h(t){var e=[];if(t.formatting){e.push(C.formatting),"string"==typeof t.formatting&&(t.formatting=[t.formatting]);for(var i=0;i<t.formatting.length;i++)e.push(C.formatting+"-"+t.formatting[i]),"header"===t.formatting[i]&&e.push(C.formatting+"-"+t.formatting[i]+"-"+t.header),"quote"===t.formatting[i]&&(!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=t.quote?e.push(C.formatting+"-"+t.formatting[i]+"-"+t.quote):e.push("error"))}if(t.taskOpen)return e.push("meta"),e.length?e.join(" "):null;if(t.taskClosed)return e.push("property"),e.length?e.join(" "):null;if(t.linkHref?e.push(C.linkHref,"url"):(t.strong&&e.push(C.strong),t.em&&e.push(C.em),t.strikethrough&&e.push(C.strikethrough),t.linkText&&e.push(C.linkText),t.code&&e.push(C.code),t.image&&e.push(C.image),t.imageAltText&&e.push(C.imageAltText,"link"),t.imageMarker&&e.push(C.imageMarker)),t.header&&e.push(C.header,C.header+"-"+t.header),t.quote&&(e.push(C.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=t.quote?e.push(C.quote+"-"+t.quote):e.push(C.quote+"-"+n.maxBlockquoteDepth)),!1!==t.list){var r=(t.listStack.length-1)%3;r?1===r?e.push(C.list2):e.push(C.list3):e.push(C.list1)}return t.trailingSpaceNewLine?e.push("trailing-space-new-line"):t.trailingSpace&&e.push("trailing-space-"+(t.trailingSpace%2?"a":"b")),e.length?e.join(" "):null}function p(t,e){if(t.match(R,!0))return h(e)}function d(e,i){var r=i.text(e,i);if(void 0!==r)return r;if(i.list)return i.list=null,h(i);if(i.taskList){return"x"!==e.match(T,!0)[1]?i.taskOpen=!0:i.taskClosed=!0,n.highlightFormatting&&(i.formatting="task"),i.taskList=!1,h(i)}if(i.taskOpen=!1,i.taskClosed=!1,i.header&&e.match(/^#+$/,!0))return n.highlightFormatting&&(i.formatting="header"),h(i);var s=e.next();if(i.linkTitle){i.linkTitle=!1;var a=s;"("===s&&(a=")"),a=(a+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var l="^\\s*(?:[^"+a+"\\\\]+|\\\\\\\\|\\\\.)"+a;if(e.match(new RegExp(l),!0))return C.linkHref}if("`"===s){var c=i.formatting;n.highlightFormatting&&(i.formatting="code"),e.eatWhile("`");var p=e.current().length;if(0==i.code)return i.code=p,h(i);if(p==i.code){var v=h(i);return i.code=0,v}return i.formatting=c,h(i)}if(i.code)return h(i);if("\\"===s&&(e.next(),n.highlightFormatting)){var g=h(i),y=C.formatting+"-escape";return g?g+" "+y:y}if("!"===s&&e.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return i.imageMarker=!0,i.image=!0,n.highlightFormatting&&(i.formatting="image"),h(i);if("["===s&&i.imageMarker&&e.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return i.imageMarker=!1,i.imageAltText=!0,n.highlightFormatting&&(i.formatting="image"),h(i);if("]"===s&&i.imageAltText){n.highlightFormatting&&(i.formatting="image");var g=h(i);return i.imageAltText=!1,i.image=!1,i.inline=i.f=m,g}if("["===s&&!i.image)return i.linkText=!0,n.highlightFormatting&&(i.formatting="link"),h(i);if("]"===s&&i.linkText){n.highlightFormatting&&(i.formatting="link");var g=h(i);return i.linkText=!1,i.inline=i.f=e.match(/\(.*?\)| ?\[.*?\]/,!1)?m:d,g}if("<"===s&&e.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=f,n.highlightFormatting&&(i.formatting="link");var g=h(i);return g?g+=" ":g="",g+C.linkInline}if("<"===s&&e.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=f,n.highlightFormatting&&(i.formatting="link");var g=h(i);return g?g+=" ":g="",g+C.linkEmail}if("<"===s&&e.match(/^(!--|[a-z]+(?:\s+[a-z_:.\-]+(?:\s*=\s*[^ >]+)?)*\s*>)/i,!1)){var b=e.string.indexOf(">",e.pos);if(-1!=b){/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(e.string.substring(e.start,b))&&(i.md_inside=!0)}return e.backUp(1),i.htmlState=t.startState(w),o(e,i,u)}if("<"===s&&e.match(/^\/\w*?>/))return i.md_inside=!1,"tag";if("*"===s||"_"===s){for(var x=1,S=1==e.pos?" ":e.string.charAt(e.pos-2);x<3&&e.eat(s);)x++;var k=e.peek()||" ",O=!/\s/.test(k)&&(!I.test(k)||/\s/.test(S)||I.test(S)),_=!/\s/.test(S)&&(!I.test(S)||/\s/.test(k)||I.test(k)),E=null,R=null;if(x%2&&(i.em||!O||"*"!==s&&_&&!I.test(S)?i.em!=s||!_||"*"!==s&&O&&!I.test(k)||(E=!1):E=!0),x>1&&(i.strong||!O||"*"!==s&&_&&!I.test(S)?i.strong!=s||!_||"*"!==s&&O&&!I.test(k)||(R=!1):R=!0),null!=R||null!=E){n.highlightFormatting&&(i.formatting=null==E?"strong":null==R?"em":"strong em"),!0===E&&(i.em=s),!0===R&&(i.strong=s);var v=h(i);return!1===E&&(i.em=!1),!1===R&&(i.strong=!1),v}}else if(" "===s&&(e.eat("*")||e.eat("_"))){if(" "===e.peek())return h(i);e.backUp(1)}if(n.strikethrough)if("~"===s&&e.eatWhile(s)){if(i.strikethrough){n.highlightFormatting&&(i.formatting="strikethrough");var v=h(i);return i.strikethrough=!1,v}if(e.match(/^[^\s]/,!1))return i.strikethrough=!0,n.highlightFormatting&&(i.formatting="strikethrough"),h(i)}else if(" "===s&&e.match(/^~~/,!0)){if(" "===e.peek())return h(i);e.backUp(2)}return" "===s&&(e.match(/ +$/,!1)?i.trailingSpace++:i.trailingSpace&&(i.trailingSpaceNewLine=!0)),h(i)}function f(t,e){if(">"===t.next()){e.f=e.inline=d,n.highlightFormatting&&(e.formatting="link");var i=h(e);return i?i+=" ":i="",i+C.linkInline}return t.match(/^[^>]+/,!0),C.linkInline}function m(t,e){if(t.eatSpace())return null;var i=t.next();return"("===i||"["===i?(e.f=e.inline=v("("===i?")":"]"),n.highlightFormatting&&(e.formatting="link-string"),e.linkHref=!0,h(e)):"error"}function v(t){return function(e,i){if(e.next()===t){i.f=i.inline=d,n.highlightFormatting&&(i.formatting="link-string");var r=h(i);return i.linkHref=!1,r}return e.match(P[t]),i.linkHref=!0,h(i)}}function g(t,e){return t.match(/^([^\]\\]|\\.)*\]:/,!1)?(e.f=y,t.next(),n.highlightFormatting&&(e.formatting="link"),e.linkText=!0,h(e)):r(t,e,d)}function y(t,e){if(t.match(/^\]:/,!0)){e.f=e.inline=b,n.highlightFormatting&&(e.formatting="link");var i=h(e);return e.linkText=!1,i}return t.match(/^([^\]\\]|\\.)+/,!0),C.linkText}function b(t,e){return t.eatSpace()?null:(t.match(/^[^\s]+/,!0),void 0===t.peek()?e.linkTitle=!0:t.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),e.f=e.inline=d,C.linkHref+" url")}var w=t.getMode(e,"text/html"),x="null"==w.name;void 0===n.highlightFormatting&&(n.highlightFormatting=!1),void 0===n.maxBlockquoteDepth&&(n.maxBlockquoteDepth=0),void 0===n.taskLists&&(n.taskLists=!1),void 0===n.strikethrough&&(n.strikethrough=!1),void 0===n.tokenTypeOverrides&&(n.tokenTypeOverrides={});var C={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough"};for(var S in C)C.hasOwnProperty(S)&&n.tokenTypeOverrides[S]&&(C[S]=n.tokenTypeOverrides[S]);var k=/^([*\-_])(?:\s*\1){2,}\s*$/,O=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,T=/^\[(x| )\](?=\s)/,_=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,E=/^ *(?:\={1,}|-{1,})\s*$/,R=/^[^#!\[\]*_\\<>` "'(~]+/,M=new RegExp("^("+(!0===n.fencedCodeBlocks?"~~~+|```+":n.fencedCodeBlocks)+")[ \\t]*([\\w+#-]*)"),I=/[!\"#$%&\'()*+,\-\.\/:;<=>?@\[\\\]^_`{|}~—]/,P={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/},A={startState:function(){return{f:l,prevLine:null,thisLine:null,block:l,htmlState:null,indentation:0,inline:d,text:p,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,fencedChars:null}},copyState:function(e){return{f:e.f,prevLine:e.prevLine,thisLine:e.thisLine,block:e.block,htmlState:e.htmlState&&t.copyState(w,e.htmlState),indentation:e.indentation,localMode:e.localMode,localState:e.localMode?t.copyState(e.localMode,e.localState):null,inline:e.inline,text:e.text,formatting:!1,linkText:e.linkText,linkTitle:e.linkTitle,code:e.code,em:e.em,strong:e.strong,strikethrough:e.strikethrough,header:e.header,hr:e.hr,taskList:e.taskList,list:e.list,listStack:e.listStack.slice(0),quote:e.quote,indentedCode:e.indentedCode,trailingSpace:e.trailingSpace,trailingSpaceNewLine:e.trailingSpaceNewLine,md_inside:e.md_inside,fencedChars:e.fencedChars}},token:function(t,e){if(e.formatting=!1,t!=e.thisLine){var n=e.header||e.hr;if(e.header=0,e.hr=!1,t.match(/^\s*$/,!0)||n){if(a(e),!n)return null;e.prevLine=null}e.prevLine=e.thisLine,e.thisLine=t,e.taskList=!1,e.trailingSpace=0,e.trailingSpaceNewLine=!1,e.f=e.block;var i=t.match(/^\s*/,!0)[0].replace(/\t/g," ").length;if(e.indentationDiff=Math.min(i-e.indentation,4),e.indentation=e.indentation+e.indentationDiff,i>0)return null}return e.f(t,e)},innerMode:function(t){return t.block==u?{state:t.htmlState,mode:w}:t.localState?{state:t.localState,mode:t.localMode}:{state:t,mode:A}},blankLine:a,getType:h,closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return A},"xml"),t.defineMIME("text/x-markdown","markdown")})},fAHw:function(t,e,n){"use strict";var i=n("lcaH"),r=n("hlt1"),o=n("3j3K");n.d(e,"a",function(){return s});var s=function(){function t(t){this._calendar=t}return t.prototype.generateMonthViewModel=function(t,e,n,i,o){var s={firstDate:null,number:t.month,year:t.year,weeks:[],weekdays:[]};t=this._getFirstViewDate(t,i);for(var a=0;a<this._calendar.getWeeksPerMonth();a++){for(var l=[],u=0;u<this._calendar.getDaysPerWeek();u++){0===a&&s.weekdays.push(this._calendar.getWeekday(t));var c=new r.a(t.year,t.month,t.day),h=e&&c.before(e)||n&&c.after(n);!h&&o&&(h=o(c,{month:s.number,year:s.year})),null===s.firstDate&&t.month===s.number&&(s.firstDate=c),l.push({date:c,disabled:h}),t=this._calendar.getNext(t)}s.weeks.push({number:this._calendar.getWeekNumber(l.map(function(t){return r.a.from(t.date)}),i),days:l})}return s},t.prototype.toValidDate=function(t,e){var n=r.a.from(t);return void 0===e&&(e=this._calendar.getToday()),this._calendar.isValid(n)?n:e},t.prototype._getFirstViewDate=function(t,e){for(var n=this,i=t.month,o=new r.a(t.year,t.month,t.day),s=this._calendar.getPrev(o),a=function(){return o.month!==s.month&&e===n._calendar.getWeekday(o)},l=function(){return o.month!==i&&e===n._calendar.getWeekday(o)};!l()&&!a();)o=new r.a(s.year,s.month,s.day),s=this._calendar.getPrev(s);return o},t}();s.decorators=[{type:o.Injectable}],s.ctorParameters=function(){return[{type:i.a}]}},fICK:function(t,e,n){"use strict";var i=n("rCTf"),r=n("1KT0");i.Observable.merge=r.merge},fO1r:function(t,e,n){"use strict";var i=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.subscribedFrame=t,this.unsubscribedFrame=e}return t}();e.SubscriptionLog=i},fiy1:function(t,e,n){"use strict";var i=n("rCTf"),r=n("u2wr");i.Observable.prototype.withLatestFrom=r.withLatestFrom},ftJA:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rCTf"),o=n("Uqs8"),s=n("P3oE"),a=function(t){function e(e,n,i){void 0===n&&(n=0),void 0===i&&(i=o.asap),t.call(this),this.source=e,this.delayTime=n,this.scheduler=i,(!s.isNumeric(n)||n<0)&&(this.delayTime=0),i&&"function"==typeof i.schedule||(this.scheduler=o.asap)}return i(e,t),e.create=function(t,n,i){return void 0===n&&(n=0),void 0===i&&(i=o.asap),new e(t,n,i)},e.dispatch=function(t){var e=t.source,n=t.subscriber;return this.add(e.subscribe(n))},e.prototype._subscribe=function(t){var n=this.delayTime,i=this.source;return this.scheduler.schedule(e.dispatch,n,{source:i,subscriber:t})},e}(r.Observable);e.SubscribeOnObservable=a},fuZx:function(t,e,n){"use strict";function i(t){return t instanceof Date&&!isNaN(+t)}e.isDate=i},fw1O:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){this.allfunctions=[{id:12,name:"f",str:"f(x)=x+5"}]}return t.prototype.getAll=function(){return Promise.resolve(this.allfunctions)},t.prototype.delete=function(t){console.log("deleting"+t),this.allfunctions=this.allfunctions.filter(function(e){return e.name!=t})},t.prototype.add=function(t){if(console.log(t),0!=t.id){this.allfunctions.push(t);var e={code:200,msg:""}}else var e={code:500,msg:"Función no válida"};return e},t.prototype.get=function(t){try{return this.allfunctions.filter(function(e){return e.name===t})[0]}catch(t){return null}},t.prototype.getToPlot=function(t){console.log("Functions: "),console.log(this.allfunctions);try{return this.allfunctions.filter(function(e){return e.name===t})[0].str.split("=")[1]}catch(t){return null}},t}()},g0nL:function(t,e,n){"use strict";var i=n("rCTf"),r=n("tefl");i.Observable.pairs=r.pairs},g28B:function(t,e,n){"use strict";function i(t,e){for(var n=0,i=e.length;n<i;n++)for(var r=e[n],o=Object.getOwnPropertyNames(r.prototype),s=0,a=o.length;s<a;s++){var l=o[s];t.prototype[l]=r.prototype[l]}}e.applyMixins=i},gDzJ:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Imsy");i.Observable.prototype.windowWhen=r.windowWhen},gEbu:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return l}),n.d(e,"b",function(){return u});var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=["Mo","Tu","We","Th","Fr","Sa","Su"],s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],a=["January","February","March","April","May","June","July","August","September","October","November","December"],l=function(){function t(){}return t}();l.decorators=[{type:i.Injectable}],l.ctorParameters=function(){return[]};var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWeekdayShortName=function(t){return o[t-1]},e.prototype.getMonthShortName=function(t){return s[t-1]},e.prototype.getMonthFullName=function(t){return a[t-1]},e}(l);u.decorators=[{type:i.Injectable}],u.ctorParameters=function(){return[]}},gIFM:function(t,e,n){"use strict";var i=n("Dc2k");e.ajax=i.AjaxObservable.create},gi2R:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("cwzr"),o=n("OLzJ"),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return i(e,t),e.prototype.requestAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0?t.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e.scheduled||(e.scheduled=o.AnimationFrame.requestAnimationFrame(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,i){if(void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,i);0===e.actions.length&&(o.AnimationFrame.cancelAnimationFrame(n),e.scheduled=void 0)},e}(r.AsyncAction);e.AnimationFrameAction=s},"h+Bk":function(t,e,n){"use strict";function i(t){return o["ɵvid"](2,[(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"div",[["class","tooltip-inner"]],null,null,null,null,null)),o["ɵncd"](null,0),(t()(),o["ɵted"](null,["\n "]))],null,null)}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"ngb-tooltip-window",[["role","tooltip"]],[[8,"className",0],[8,"id",0]],null,null,s.b,s.c)),o["ɵdid"](49152,null,0,a.b,[],null,null)],null,function(t,e){t(e,0,0,"tooltip show tooltip-"+o["ɵnov"](e,1).placement,o["ɵnov"](e,1).id)})}var o=n("3j3K"),s=n("h+Bk"),a=n("sgnN");n.d(e,"c",function(){return u}),e.b=i,n.d(e,"a",function(){return c});var l=[],u=o["ɵcrt"]({encapsulation:2,styles:l,data:{}}),c=o["ɵccf"]("ngb-tooltip-window",a.b,r,{placement:"placement",id:"id"},{},["*"])},h0qH:function(t,e,n){"use strict";var i=n("rCTf"),r=n("s3oX");i.Observable.throw=r._throw},hApb:function(t,e,n){"use strict";var i=n("3j3K"),r=n("2yGx"),o=n("ZwZs");n.d(e,"c",function(){return a}),n.d(e,"d",function(){return l}),n.d(e,"b",function(){return u}),n.d(e,"a",function(){return c});var s=0,a=function(){function t(t){this.templateRef=t}return t}();a.decorators=[{type:i.Directive,args:[{selector:"ng-template[ngbPanelTitle]"}]}],a.ctorParameters=function(){return[{type:i.TemplateRef}]};var l=function(){function t(t){this.templateRef=t}return t}();l.decorators=[{type:i.Directive,args:[{selector:"ng-template[ngbPanelContent]"}]}],l.ctorParameters=function(){return[{type:i.TemplateRef}]};var u=function(){function t(){this.disabled=!1,this.id="ngb-panel-"+s++}return t}();u.decorators=[{type:i.Directive,args:[{selector:"ngb-panel"}]}],u.ctorParameters=function(){return[]},u.propDecorators={disabled:[{type:i.Input}],id:[{type:i.Input}],title:[{type:i.Input}],type:[{type:i.Input}],contentTpl:[{type:i.ContentChild,args:[l]}],titleTpl:[{type:i.ContentChild,args:[a]}]};var c=function(){function t(t){this._states=new Map,this._panelRefs=new Map,this.activeIds=[],this.panelChange=new i.EventEmitter,this.type=t.type,this.closeOtherPanels=t.closeOthers}return t.prototype.toggle=function(t){var e=this._panelRefs.get(t);if(e&&!e.disabled){var n=!this._states.get(t),i=!1;this.panelChange.emit({panelId:t,nextState:n,preventDefault:function(){i=!0}}),i||(this._states.set(t,n),this.closeOtherPanels&&this._closeOthers(t),this._updateActiveIds())}},t.prototype.ngAfterContentChecked=function(){n.i(r.f)(this.activeIds)&&(this.activeIds=this.activeIds.split(/\s*,\s*/)),this._updateStates(),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0]),this._updateActiveIds())},t.prototype.isOpen=function(t){return this._states.get(t)},t.prototype._closeOthers=function(t){var e=this;this._states.forEach(function(n,i){i!==t&&e._states.set(i,!1)})},t.prototype._updateActiveIds=function(){var t=this;this.activeIds=this.panels.toArray().filter(function(e){return t.isOpen(e.id)&&!e.disabled}).map(function(t){return t.id})},t.prototype._updateStates=function(){var t=this;this._states.clear(),this._panelRefs.clear(),this.panels.toArray().forEach(function(e){t._states.set(e.id,t.activeIds.indexOf(e.id)>-1&&!e.disabled),t._panelRefs.set(e.id,e)})},t}();c.decorators=[{type:i.Component,args:[{selector:"ngb-accordion",exportAs:"ngbAccordion",host:{role:"tablist","[attr.aria-multiselectable]":"!closeOtherPanels"},template:'\n <div class="card">\n <ng-template ngFor let-panel [ngForOf]="panels">\n <div role="tab" id="{{panel.id}}-header"\n [class]="\'card-header \' + (panel.type ? \'card-\'+panel.type: type ? \'card-\'+type : \'\')" [class.active]="isOpen(panel.id)">\n <a href (click)="!!toggle(panel.id)" [class.text-muted]="panel.disabled" [attr.tabindex]="(panel.disabled ? \'-1\' : null)"\n [attr.aria-expanded]="isOpen(panel.id)" [attr.aria-controls]="(isOpen(panel.id) ? panel.id : null)"\n [attr.aria-disabled]="panel.disabled">\n {{panel.title}}<ng-template [ngTemplateOutlet]="panel.titleTpl?.templateRef"></ng-template>\n </a>\n </div>\n <div id="{{panel.id}}" role="tabpanel" [attr.aria-labelledby]="panel.id + \'-header\'" class="card-block" *ngIf="isOpen(panel.id)">\n <ng-template [ngTemplateOutlet]="panel.contentTpl.templateRef"></ng-template>\n </div>\n </ng-template>\n </div>\n'}]}],c.ctorParameters=function(){return[{type:o.a}]},c.propDecorators={panels:[{type:i.ContentChildren,args:[u]}],activeIds:[{type:i.Input}],closeOtherPanels:[{type:i.Input,args:["closeOthers"]}],type:[{type:i.Input}],panelChange:[{type:i.Output}]}},hUSH:function(t,e,n){"use strict";var i=n("2yGx");n.d(e,"a",function(){return r});var r=function(){function t(t,e,r){this.hour=n.i(i.b)(t),this.minute=n.i(i.b)(e),this.second=n.i(i.b)(r)}return t.prototype.changeHour=function(t){void 0===t&&(t=1),this.updateHour((isNaN(this.hour)?0:this.hour)+t)},t.prototype.updateHour=function(t){n.i(i.a)(t)?this.hour=(t<0?24+t:t)%24:this.hour=NaN},t.prototype.changeMinute=function(t){void 0===t&&(t=1),this.updateMinute((isNaN(this.minute)?0:this.minute)+t)},t.prototype.updateMinute=function(t){n.i(i.a)(t)?(this.minute=t%60<0?60+t%60:t%60,this.changeHour(Math.floor(t/60))):this.minute=NaN},t.prototype.changeSecond=function(t){void 0===t&&(t=1),this.updateSecond((isNaN(this.second)?0:this.second)+t)},t.prototype.updateSecond=function(t){n.i(i.a)(t)?(this.second=t<0?60+t%60:t%60,this.changeMinute(Math.floor(t/60))):this.second=NaN},t.prototype.isValid=function(t){return void 0===t&&(t=!0),n.i(i.a)(this.hour)&&n.i(i.a)(this.minute)&&(!t||n.i(i.a)(this.second))},t.prototype.toString=function(){return(this.hour||0)+":"+(this.minute||0)+":"+(this.second||0)},t}()},hY6I:function(t,e,n){"use strict";var i=n("3j3K"),r=n("NVOs"),o=n("hlt1"),s=n("/KGk"),a=n("7DGp"),l=n("jRSa"),u=n("lcaH"),c=n("fAHw");n.d(e,"a",function(){return d});var h={provide:r.NG_VALUE_ACCESSOR,useExisting:n.i(i.forwardRef)(function(){return d}),multi:!0},p={provide:r.NG_VALIDATORS,useExisting:n.i(i.forwardRef)(function(){return d}),multi:!0},d=function(){function t(t,e,r,o,s,a,u,c){var h=this;this._parserFormatter=t,this._elRef=e,this._vcRef=r,this._renderer=o,this._cfr=s,this._service=u,this._calendar=c,this._cRef=null,this.navigate=new i.EventEmitter,this._onChange=function(t){},this._onTouched=function(){},this._validatorChange=function(){},this._zoneSubscription=a.onStable.subscribe(function(){h._cRef&&n.i(l.a)(h._elRef.nativeElement,h._cRef.location.nativeElement,"bottom-left")})}return t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.registerOnValidatorChange=function(t){this._validatorChange=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elRef.nativeElement,"disabled",t),this.isOpen()&&this._cRef.instance.setDisabledState(t)},t.prototype.validate=function(t){var e=t.value;return null===e||void 0===e?null:this._calendar.isValid(e)?this.minDate&&o.a.from(e).before(o.a.from(this.minDate))?{ngbDate:{requiredBefore:this.minDate}}:this.maxDate&&o.a.from(e).after(o.a.from(this.maxDate))?{ngbDate:{requiredAfter:this.maxDate}}:void 0:{ngbDate:{invalid:t.value}}},t.prototype.writeValue=function(t){var e=t?new o.a(t.year,t.month,t.day):null;this._model=this._calendar.isValid(t)?e:null,this._writeModelValue(this._model)},t.prototype.manualDateChange=function(t){this._model=this._service.toValidDate(this._parserFormatter.parse(t),null),this._onChange(this._model?{year:this._model.year,month:this._model.month,day:this._model.day}:t),this._writeModelValue(this._model)},t.prototype.isOpen=function(){return!!this._cRef},t.prototype.open=function(){var t=this;if(!this.isOpen()){var e=this._cfr.resolveComponentFactory(s.a);this._cRef=this._vcRef.createComponent(e),this._applyPopupStyling(this._cRef.location.nativeElement),this._cRef.instance.writeValue(this._model),this._applyDatepickerInputs(this._cRef.instance),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.registerOnChange(function(e){t.writeValue(e),t._onChange(e),t.close()})}},t.prototype.close=function(){this.isOpen()&&(this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null)},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype.navigateTo=function(t){this.isOpen()&&this._cRef.instance.navigateTo(t)},t.prototype.onBlur=function(){this._onTouched()},t.prototype.ngOnChanges=function(t){(t.minDate||t.maxDate)&&this._validatorChange()},t.prototype.ngOnDestroy=function(){this.close(),this._zoneSubscription.unsubscribe()},t.prototype._applyDatepickerInputs=function(t){var e=this;["dayTemplate","displayMonths","firstDayOfWeek","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekdays","showWeekNumbers"].forEach(function(n){void 0!==e[n]&&(t[n]=e[n])}),t.startDate=this.startDate||this._model},t.prototype._applyPopupStyling=function(t){this._renderer.addClass(t,"dropdown-menu"),this._renderer.setStyle(t,"padding","0")},t.prototype._subscribeForDatepickerOutputs=function(t){var e=this;t.navigate.subscribe(function(t){return e.navigate.emit(t)})},t.prototype._writeModelValue=function(t){this._renderer.setProperty(this._elRef.nativeElement,"value",this._parserFormatter.format(t)),this.isOpen()&&(this._cRef.instance.writeValue(t),this._onTouched())},t}();d.decorators=[{type:i.Directive,args:[{selector:"input[ngbDatepicker]",exportAs:"ngbDatepicker",host:{"(change)":"manualDateChange($event.target.value)","(keyup.esc)":"close()","(blur)":"onBlur()"},providers:[h,p,c.a]}]}],d.ctorParameters=function(){return[{type:a.a},{type:i.ElementRef},{type:i.ViewContainerRef},{type:i.Renderer2},{type:i.ComponentFactoryResolver},{type:i.NgZone},{type:c.a},{type:u.a}]},d.propDecorators={dayTemplate:[{type:i.Input}],displayMonths:[{type:i.Input}],firstDayOfWeek:[{type:i.Input}],markDisabled:[{type:i.Input}],minDate:[{type:i.Input}],maxDate:[{type:i.Input}],navigation:[{type:i.Input}],outsideDays:[{type:i.Input}],showWeekdays:[{type:i.Input}],showWeekNumbers:[{type:i.Input}],startDate:[{type:i.Input}],navigate:[{type:i.Output}]}},hiKS:function(t,e,n){"use strict";function i(t){return this.lift(new r.ZipOperator(t))}var r=n("RYQg");e.zipAll=i},hlt1:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t,e,n){this.year=t,this.month=e,this.day=n}return t.from=function(e){return e?new t(e.year,e.month,e.day?e.day:1):null},t.prototype.equals=function(t){return t&&this.year===t.year&&this.month===t.month&&this.day===t.day},t.prototype.before=function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day<t.day:this.month<t.month:this.year<t.year)},t.prototype.after=function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day>t.day:this.month>t.month:this.year>t.year)},t.prototype.toString=function(){return this.year+"-"+this.month+"-"+this.day},t}()},hs6U:function(t,e,n){"use strict";var i=n("rCTf"),r=n("GZqV");i.Observable.prototype.find=r.find},hwnt:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekdays=!0,this.showWeekNumbers=!1}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},hz2l:function(t,e,n){"use strict";var i=this&&this.__decorate||function(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},r=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},o=this&&this.__param||function(t,e){return function(n,i){e(n,i,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=n("3j3K"),a=n("BnNN"),l=function(){function t(){this.container=null}return t}();e.DialogServiceConfig=l;var u=function(){function t(t,e,n,i){this.resolver=t,this.applicationRef=e,this.injector=n,this.container=i&&i.container}return t.prototype.addDialog=function(t,e,n){return this.dialogHolderComponent||(this.dialogHolderComponent=this.createDialogHolder()),this.dialogHolderComponent.addDialog(t,e,n)},t.prototype.removeDialog=function(t){this.dialogHolderComponent&&this.dialogHolderComponent.removeDialog(t)},t.prototype.removeAll=function(){this.dialogHolderComponent.clear()},t.prototype.createDialogHolder=function(){var t=this,e=this.resolver.resolveComponentFactory(a.DialogHolderComponent),n=e.create(this.injector),i=n.hostView.rootNodes[0];if(!this.container){var r=this.applicationRef._rootComponents[0];this.container=r.hostView.rootNodes[0]}return this.applicationRef.attachView(n.hostView),n.onDestroy(function(){t.applicationRef.detachView(n.hostView)}),this.container.appendChild(i),n.instance},t}();u=i([s.Injectable(),o(3,s.Optional()),r("design:paramtypes",[s.ComponentFactoryResolver,s.ApplicationRef,s.Injector,l])],u),e.DialogService=u},hzF8:function(t,e,n){"use strict";var i=n("rCTf"),r=n("POFt");i.Observable.prototype.take=r.take},iESu:function(t,e,n){"use strict";function i(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof e&&(n=e,e=null),this.lift(new a(t,e,n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.mergeMapTo=i;var a=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.ish=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.ish,this.resultSelector,this.concurrent))},t}();e.MergeMapToOperator=a;var l=function(t){function e(e,n,i,r){void 0===r&&(r=Number.POSITIVE_INFINITY),t.call(this,e),this.ish=n,this.resultSelector=i,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return r(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.resultSelector,n=this.index++,i=this.ish,r=this.destination;this.active++,this._innerSub(i,r,e,t,n)}else this.buffer.push(t)},e.prototype._innerSub=function(t,e,n,i,r){this.add(s.subscribeToResult(this,t,i,r))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,i,r){var o=this,s=o.resultSelector,a=o.destination;s?this.trySelectResult(t,e,n,i):a.next(e)},e.prototype.trySelectResult=function(t,e,n,i){var r,o=this,s=o.resultSelector,a=o.destination;try{r=s(t,e,n,i)}catch(t){return void a.error(t)}a.next(r)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber);e.MergeMapToSubscriber=l},iHuw:function(t,e,n){!function(t){t(n("8U58"),n("RkhK"))}(function(t){"use strict";function e(t,e,n,i,r){t.openDialog?t.openDialog(e,r,{value:i,selectValueOnOpen:!0}):r(prompt(n,i))}function n(t,e){var n=Number(e);return/^[-+]/.test(e)?t.getCursor().line+n:n-1}t.commands.jumpToLine=function(t){var i=t.getCursor();e(t,'Ir a la lÃnea: <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint"></span>',"Jump to line:",i.line+1+":"+i.ch,function(e){if(e){var r;if(r=/^\s*([\+\-]?\d+)\s*\:\s*(\d+)\s*$/.exec(e))t.setCursor(n(t,r[1]),Number(r[2]));else if(r=/^\s*([\+\-]?\d+(\.\d+)?)\%\s*/.exec(e)){var o=Math.round(t.lineCount()*Number(r[1])/100);/^[-+]/.test(r[1])&&(o=i.line+o+1),t.setCursor(o-1,i.ch)}else(r=/^\s*\:?\s*([\+\-]?\d+)\s*/.exec(e))&&t.setCursor(n(t,r[1]),i.ch)}})},t.keyMap.default["Alt-G"]="jumpToLine"})},iIfT:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Ffu+");i.Observable.prototype.pairwise=r.pairwise},iJMh:function(t,e,n){"use strict";var i=n("rCTf"),r=n("7rB9");i.Observable.forkJoin=r.forkJoin},iUY6:function(t,e,n){"use strict";var i=n("rCTf"),r=n("5nj5");i.Observable.if=r._if},iod1:function(t,e,n){"use strict";var i=n("rCTf"),r=n("8/gC");i.Observable.zip=r.zip},ixac:function(t,e,n){"use strict";var i=n("rCTf"),r=n("RYQg");i.Observable.prototype.zip=r.zipProto},j7ye:function(t,e,n){"use strict";var i=n("rCTf"),r=n("emOw");i.Observable.prototype.multicast=r.multicast},jDQW:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Mqdq");i.Observable.prototype.bufferToggle=r.bufferToggle},jF50:function(t,e,n){"use strict";var i=n("rCTf"),r=n("KKz1");i.Observable.prototype.throttleTime=r.throttleTime},jQeI:function(t,e,n){!function(t){t(n("8U58"))}(function(t){"use strict";function e(t,e){this.cm=t,this.options=e,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length;var n=this;t.on("cursorActivity",this.activityFunc=function(){n.cursorActivity()})}function n(e,n){return t.cmpPos(n.from,e.from)>0&&e.to.ch-e.from.ch!=n.to.ch-n.from.ch}function i(t,e,n){var i=t.options.hintOptions,r={};for(var o in m)r[o]=m[o];if(i)for(var o in i)void 0!==i[o]&&(r[o]=i[o]);if(n)for(var o in n)void 0!==n[o]&&(r[o]=n[o]);return r.hint.resolve&&(r.hint=r.hint.resolve(t,e)),r}function r(t){return"string"==typeof t?t:t.text}function o(t,e){function n(t,n){var r;r="string"!=typeof n?function(t){return n(t,e)}:i.hasOwnProperty(n)?i[n]:n,o[t]=r}var i={Up:function(){e.moveFocus(-1)},Down:function(){e.moveFocus(1)},PageUp:function(){e.moveFocus(1-e.menuSize(),!0)},PageDown:function(){e.moveFocus(e.menuSize()-1,!0)},Home:function(){e.setFocus(0)},End:function(){e.setFocus(e.length-1)},Enter:e.pick,Tab:e.pick,Esc:e.close},r=t.options.customKeys,o=r?{}:i;if(r)for(var s in r)r.hasOwnProperty(s)&&n(s,r[s]);var a=t.options.extraKeys;if(a)for(var s in a)a.hasOwnProperty(s)&&n(s,a[s]);return o}function s(t,e){for(;e&&e!=t;){if("LI"===e.nodeName.toUpperCase()&&e.parentNode==t)return e;e=e.parentNode}}function a(e,n){this.completion=e,this.data=n,this.picked=!1;var i=this,a=e.cm,l=this.hints=document.createElement("ul");l.className="CodeMirror-hints",this.selectedHint=n.selectedHint||0;for(var u=n.list,c=0;c<u.length;++c){var d=l.appendChild(document.createElement("li")),f=u[c],m=h+(c!=this.selectedHint?"":" "+p);null!=f.className&&(m=f.className+" "+m),d.className=m,f.render?f.render(d,n,f):d.appendChild(document.createTextNode(f.displayText||r(f))),d.hintId=c}var v=a.cursorCoords(e.options.alignWithWord?n.from:null),g=v.left,y=v.bottom,b=!0;l.style.left=g+"px",l.style.top=y+"px";var w=window.innerWidth||Math.max(document.body.offsetWidth,document.documentElement.offsetWidth),x=window.innerHeight||Math.max(document.body.offsetHeight,document.documentElement.offsetHeight);(e.options.container||document.body).appendChild(l);var C=l.getBoundingClientRect(),S=C.bottom-x,k=l.scrollHeight>l.clientHeight+1,O=a.getScrollInfo();if(S>0){var T=C.bottom-C.top;if(v.top-(v.bottom-C.top)-T>0)l.style.top=(y=v.top-T)+"px",b=!1;else if(T>x){l.style.height=x-5+"px",l.style.top=(y=v.bottom-C.top)+"px";var _=a.getCursor();n.from.ch!=_.ch&&(v=a.cursorCoords(_),l.style.left=(g=v.left)+"px",C=l.getBoundingClientRect())}}var E=C.right-w;if(E>0&&(C.right-C.left>w&&(l.style.width=w-5+"px",E-=C.right-C.left-w),l.style.left=(g=v.left-E)+"px"),k)for(var R=l.firstChild;R;R=R.nextSibling)R.style.paddingRight=a.display.nativeBarWidth+"px";if(a.addKeyMap(this.keyMap=o(e,{moveFocus:function(t,e){i.changeActive(i.selectedHint+t,e)},setFocus:function(t){i.changeActive(t)},menuSize:function(){return i.screenAmount()},length:u.length,close:function(){e.close()},pick:function(){i.pick()},data:n})),e.options.closeOnUnfocus){var M;a.on("blur",this.onBlur=function(){M=setTimeout(function(){e.close()},100)}),a.on("focus",this.onFocus=function(){clearTimeout(M)})}return a.on("scroll",this.onScroll=function(){var t=a.getScrollInfo(),n=a.getWrapperElement().getBoundingClientRect(),i=y+O.top-t.top,r=i-(window.pageYOffset||(document.documentElement||document.body).scrollTop);if(b||(r+=l.offsetHeight),r<=n.top||r>=n.bottom)return e.close();l.style.top=i+"px",l.style.left=g+O.left-t.left+"px"}),t.on(l,"dblclick",function(t){var e=s(l,t.target||t.srcElement);e&&null!=e.hintId&&(i.changeActive(e.hintId),i.pick())}),t.on(l,"click",function(t){var n=s(l,t.target||t.srcElement);n&&null!=n.hintId&&(i.changeActive(n.hintId),e.options.completeOnSingleClick&&i.pick())}),t.on(l,"mousedown",function(){setTimeout(function(){a.focus()},20)}),t.signal(n,"select",u[0],l.firstChild),!0}function l(t,e){if(!t.somethingSelected())return e;for(var n=[],i=0;i<e.length;i++)e[i].supportsSelection&&n.push(e[i]);return n}function u(t,e,n,i){if(t.async)t(e,i,n);else{var r=t(e,n);r&&r.then?r.then(i):i(r)}}function c(e,n){var i,r=e.getHelpers(n,"hint");if(r.length){var o=function(t,e,n){function i(r){if(r==o.length)return e(null);u(o[r],t,n,function(t){t&&t.list.length>0?e(t):i(r+1)})}var o=l(t,r);i(0)};return o.async=!0,o.supportsSelection=!0,o}return(i=e.getHelper(e.getCursor(),"hintWords"))?function(e){return t.hint.fromList(e,{words:i})}:t.hint.anyword?function(e,n){return t.hint.anyword(e,n)}:function(){}}var h="CodeMirror-hint",p="CodeMirror-hint-active";t.showHint=function(t,e,n){if(!e)return t.showHint(n);n&&n.async&&(e.async=!0);var i={hint:e};if(n)for(var r in n)i[r]=n[r];return t.showHint(i)},t.defineExtension("showHint",function(n){n=i(this,this.getCursor("start"),n);var r=this.listSelections();if(!(r.length>1)){if(this.somethingSelected()){if(!n.hint.supportsSelection)return;for(var o=0;o<r.length;o++)if(r[o].head.line!=r[o].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var s=this.state.completionActive=new e(this,n);s.options.hint&&(t.signal(this,"startCompletion",this),s.update(!0))}});var d=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},f=window.cancelAnimationFrame||clearTimeout;e.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&t.signal(this.data,"close"),this.widget&&this.widget.close(),t.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(e,n){var i=e.list[n];i.hint?i.hint(this.cm,e,i):this.cm.replaceRange(r(i),i.from||e.from,i.to||e.to,"complete"),t.signal(e,"pick",i),this.close()},cursorActivity:function(){this.debounce&&(f(this.debounce),this.debounce=0);var t=this.cm.getCursor(),e=this.cm.getLine(t.line);if(t.line!=this.startPos.line||e.length-t.ch!=this.startLen-this.startPos.ch||t.ch<this.startPos.ch||this.cm.somethingSelected()||t.ch&&this.options.closeCharacters.test(e.charAt(t.ch-1)))this.close();else{var n=this;this.debounce=d(function(){n.update()}),this.widget&&this.widget.disable()}},update:function(t){if(null!=this.tick){var e=this,n=++this.tick;u(this.options.hint,this.cm,this.options,function(i){e.tick==n&&e.finishUpdate(i,t)})}},finishUpdate:function(e,i){this.data&&t.signal(this.data,"update");var r=this.widget&&this.widget.picked||i&&this.options.completeSingle;this.widget&&this.widget.close(),e&&this.data&&n(this.data,e)||(this.data=e,e&&e.list.length&&(r&&1==e.list.length?this.pick(e,0):(this.widget=new a(this,e),t.signal(e,"shown"))))}},a.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var t=this.completion.cm;this.completion.options.closeOnUnfocus&&(t.off("blur",this.onBlur),t.off("focus",this.onFocus)),t.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var t=this;this.keyMap={Enter:function(){t.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(e,n){if(e>=this.data.list.length?e=n?this.data.list.length-1:0:e<0&&(e=n?0:this.data.list.length-1),this.selectedHint!=e){var i=this.hints.childNodes[this.selectedHint];i.className=i.className.replace(" "+p,""),i=this.hints.childNodes[this.selectedHint=e],i.className+=" "+p,i.offsetTop<this.hints.scrollTop?this.hints.scrollTop=i.offsetTop-3:i.offsetTop+i.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=i.offsetTop+i.offsetHeight-this.hints.clientHeight+3),t.signal(this.data,"select",this.data.list[this.selectedHint],i)}},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1}},t.registerHelper("hint","auto",{resolve:c}),t.registerHelper("hint","fromList",function(e,n){var i=e.getCursor(),r=e.getTokenAt(i),o=t.Pos(i.line,r.end);if(r.string&&/\w/.test(r.string[r.string.length-1]))var s=r.string,a=t.Pos(i.line,r.start);else var s="",a=o;for(var l=[],u=0;u<n.words.length;u++){var c=n.words[u];c.slice(0,s.length)==s&&l.push(c)}if(l.length)return{list:l,from:a,to:o}}),t.commands.autocomplete=t.showHint;var m={hint:t.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnUnfocus:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null};t.defineOption("hintOptions",null)})},jRSa:function(t,e,n){"use strict";function i(t,e,n,i){var r=o.positionElements(t,e,n,i);e.style.top=r.top+"px",e.style.left=r.left+"px"}e.a=i;var r=function(){function t(){}return t.prototype.getStyle=function(t,e){return window.getComputedStyle(t)[e]},t.prototype.isStaticPositioned=function(t){return"static"===(this.getStyle(t,"position")||"static")},t.prototype.offsetParent=function(t){for(var e=t.offsetParent||document.documentElement;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement},t.prototype.position=function(t,e){void 0===e&&(e=!0);var n,i={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(t,"position"))n=t.getBoundingClientRect();else{var r=this.offsetParent(t);n=this.offset(t,!1),r!==document.documentElement&&(i=this.offset(r,!1)),i.top+=r.clientTop,i.left+=r.clientLeft}return n.top-=i.top,n.bottom-=i.top,n.left-=i.left,n.right-=i.left,e&&(n.top=Math.round(n.top),n.bottom=Math.round(n.bottom),n.left=Math.round(n.left),n.right=Math.round(n.right)),n},t.prototype.offset=function(t,e){void 0===e&&(e=!0);var n=t.getBoundingClientRect(),i={top:window.pageYOffset-document.documentElement.clientTop,left:window.pageXOffset-document.documentElement.clientLeft},r={height:n.height||t.offsetHeight,width:n.width||t.offsetWidth,top:n.top+i.top,bottom:n.bottom+i.top,left:n.left+i.left,right:n.right+i.left};return e&&(r.height=Math.round(r.height),r.width=Math.round(r.width),r.top=Math.round(r.top),r.bottom=Math.round(r.bottom),r.left=Math.round(r.left),r.right=Math.round(r.right)),r},t.prototype.positionElements=function(t,e,n,i){var r=i?this.offset(t,!1):this.position(t,!1),o={left:r.left,center:r.left+r.width/2-e.offsetWidth/2,right:r.left+r.width},s={top:r.top,center:r.top+r.height/2-e.offsetHeight/2,bottom:r.top+r.height},a=e.getBoundingClientRect(),l=n.split("-")[0]||"top",u=n.split("-")[1]||"center",c={height:a.height||e.offsetHeight,width:a.width||e.offsetWidth,top:0,bottom:a.height||e.offsetHeight,left:0,right:a.width||e.offsetWidth};switch(l){case"top":c.top=r.top-e.offsetHeight,c.bottom+=r.top-e.offsetHeight,c.left=o[u],c.right+=o[u];break;case"bottom":c.top=s[l],c.bottom+=s[l],c.left=o[u],c.right+=o[u];break;case"left":c.top=s[u],c.bottom+=s[u],c.left=r.left-e.offsetWidth,c.right+=r.left-e.offsetWidth;break;case"right":c.top=s[u],c.bottom+=s[u],c.left=o[l],c.right+=o[l]}return c.top=Math.round(c.top),c.bottom=Math.round(c.bottom),c.left=Math.round(c.left),c.right=Math.round(c.right),c},t}(),o=new r},jdTm:function(t,e,n){"use strict";var i=n("jnJ8");e.timer=i.TimerObservable.create},jdeX:function(t,e,n){"use strict";var i=n("rCTf"),r=n("jdTm");i.Observable.timer=r.timer},jnJ8:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("P3oE"),o=n("rCTf"),s=n("CGGv"),a=n("fWbP"),l=n("fuZx"),u=function(t){function e(e,n,i){void 0===e&&(e=0),t.call(this),this.period=-1,this.dueTime=0,r.isNumeric(n)?this.period=Number(n)<1&&1||Number(n):a.isScheduler(n)&&(i=n),a.isScheduler(i)||(i=s.async),this.scheduler=i,this.dueTime=l.isDate(e)?+e-this.scheduler.now():e}return i(e,t),e.create=function(t,n,i){return void 0===t&&(t=0),new e(t,n,i)},e.dispatch=function(t){var e=t.index,n=t.period,i=t.subscriber,r=this;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,r.schedule(t,n)}},e.prototype._subscribe=function(t){var n=this,i=n.period,r=n.dueTime;return n.scheduler.schedule(e.dispatch,r,{index:0,period:i,subscriber:t})},e}(o.Observable);e.TimerObservable=u},jtp5:function(t,e,n){"use strict";function i(t){return o["ɵvid"](2,[(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"h3",[["class","popover-title"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["",""])),(t()(),o["ɵeld"](0,null,null,1,"div",[["class","popover-content"]],null,null,null,null,null)),o["ɵncd"](null,0),(t()(),o["ɵted"](null,["\n "]))],null,function(t,e){t(e,2,0,e.component.title)})}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"ngb-popover-window",[["role","tooltip"]],[[8,"className",0],[8,"id",0]],null,null,a.b,a.c)),o["ɵdid"](49152,null,0,s.b,[],null,null)],null,function(t,e){t(e,0,0,"popover show popover-"+o["ɵnov"](e,1).placement,o["ɵnov"](e,1).id)})}var o=n("3j3K"),s=n("WtNX"),a=n("jtp5");n.d(e,"c",function(){return u}),e.b=i,n.d(e,"a",function(){return c});var l=[],u=o["ɵcrt"]({encapsulation:2,styles:l,data:{}}),c=o["ɵccf"]("ngb-popover-window",s.b,r,{placement:"placement",title:"title",id:"id"},{},["*"])},jvbR:function(t,e,n){"use strict";var i=n("rCTf"),r=n("bE1M");i.Observable.prototype.concatMap=r.concatMap},k27J:function(t,e,n){"use strict";var i=n("rCTf"),r=n("X2ud");i.Observable.prototype.combineAll=r.combineAll},kcyo:function(t,e,n){"use strict";var i=n("VOfZ"),r=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,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}return!1},t.prototype.partiallyApplied=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var i=function t(){var e=t,n=e.handler,i=e.args;"function"==typeof n?n.apply(void 0,i):new Function(""+n)()};return i.handler=t,i.args=e,i},t.prototype.addFromSetImmediateArguments=function(t){return this.tasksByHandle[this.nextHandle]=this.partiallyApplied.apply(void 0,t),this.nextHandle++},t.prototype.createProcessNextTickSetImmediate=function(){var t=function t(){var e=t.instance,n=e.addFromSetImmediateArguments(arguments);return e.root.process.nextTick(e.partiallyApplied(e.runIfPresent,n)),n};return t.instance=this,t},t.prototype.createPostMessageSetImmediate=function(){var t=this.root,e="setImmediate$"+t.Math.random()+"$",n=function n(i){var r=n.instance;i.source===t&&"string"==typeof i.data&&0===i.data.indexOf(e)&&r.runIfPresent(+i.data.slice(e.length))};n.instance=this,t.addEventListener("message",n,!1);var i=function t(){var e=t,n=e.messagePrefix,i=e.instance,r=i.addFromSetImmediateArguments(arguments);return i.root.postMessage(n+r,"*"),r};return i.instance=this,i.messagePrefix=e,i},t.prototype.runIfPresent=function(t){if(this.currentlyRunningATask)this.root.setTimeout(this.partiallyApplied(this.runIfPresent,t),0);else{var e=this.tasksByHandle[t];if(e){this.currentlyRunningATask=!0;try{e()}finally{this.clearImmediate(t),this.currentlyRunningATask=!1}}}},t.prototype.createMessageChannelSetImmediate=function(){var t=this,e=new this.root.MessageChannel;e.port1.onmessage=function(e){var n=e.data;t.runIfPresent(n)};var n=function t(){var e=t,n=e.channel,i=e.instance,r=i.addFromSetImmediateArguments(arguments);return n.port2.postMessage(r),r};return n.channel=e,n.instance=this,n},t.prototype.createReadyStateChangeSetImmediate=function(){var t=function t(){var e=t.instance,n=e.root,i=n.document,r=i.documentElement,o=e.addFromSetImmediateArguments(arguments),s=i.createElement("script");return s.onreadystatechange=function(){e.runIfPresent(o),s.onreadystatechange=null,r.removeChild(s),s=null},r.appendChild(s),o};return t.instance=this,t},t.prototype.createSetTimeoutSetImmediate=function(){var t=function t(){var e=t.instance,n=e.addFromSetImmediateArguments(arguments);return e.root.setTimeout(e.partiallyApplied(e.runIfPresent,n),0),n};return t.instance=this,t},t}();e.ImmediateDefinition=r,e.Immediate=new r(i.root)},kgIC:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.collapsed=!1}return t}();r.decorators=[{type:i.Directive,args:[{selector:"[ngbCollapse]",exportAs:"ngbCollapse",host:{"[class.collapse]":"true","[class.show]":"!collapsed"}}]}],r.ctorParameters=function(){return[]},r.propDecorators={collapsed:[{type:i.Input,args:["ngbCollapse"]}]}},kzcK:function(t,e,n){"use strict";var i=n("3j3K"),r=n("eCJc"),o=n("RX2M"),s=n("M0cT"),a=n("/I96"),l=n("vfkA"),u=n("qsK9"),c=n("MSQt"),h=n("UyZi"),p=n("Ep2y"),d=n("WKBe"),f=n("1Z2I"),m=n("A8b0"),v=n("as+d"),g=n("62nT"),y=n("yDyO"),b=n("K/oD");n.d(e,"a",function(){return x}),n.d(e,"b",function(){return C});var w=[r.a,o.a,s.a,a.a,l.a,u.a,c.a,h.a,p.a,d.a,f.a,m.a,v.a,g.a,y.a,b.a],x=function(){function t(){}return t}();x.decorators=[{type:i.NgModule,args:[{imports:[o.a.forRoot(),s.a.forRoot(),l.a.forRoot(),f.a.forRoot(),y.a.forRoot(),b.a.forRoot(),r.a.forRoot(),a.a.forRoot(),u.a.forRoot(),c.a.forRoot(),h.a.forRoot(),p.a.forRoot(),d.a.forRoot(),f.a.forRoot(),m.a.forRoot(),v.a.forRoot(),g.a.forRoot(),y.a.forRoot()],exports:w}]}],x.ctorParameters=function(){return[]};var C=function(){function t(){}return t.forRoot=function(){return{ngModule:x}},t}();C.decorators=[{type:i.NgModule,args:[{imports:w,exports:w}]}],C.ctorParameters=function(){return[]}},l19J:function(t,e,n){"use strict";function i(t){return 0===t?new a.EmptyObservable:this.lift(new l(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("8Z8y"),a=n("jBEF");e.takeLast=i;var l=function(){function t(t){if(this.total=t,this.total<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){t.call(this,e),this.total=n,this.ring=new Array,this.count=0}return r(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,i=this.count++;if(e.length<n)e.push(t);else{e[i%n]=t}},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r<n;r++){var o=e++%n;t.next(i[o])}t.complete()},e}(o.Subscriber)},l5HU:function(t,e,n){"use strict";var i=n("3j3K"),r=n("DDfv");n.d(e,"a",function(){return l});var o=0,s=function(){function t(t){this.tplRef=t,this.id="ngb-slide-"+o++}return t}();s.decorators=[{type:i.Directive,args:[{selector:"ng-template[ngbSlide]"}]}],s.ctorParameters=function(){return[{type:i.TemplateRef}]},s.propDecorators={id:[{type:i.Input}]};var a=function(){function t(t){this.interval=t.interval,this.wrap=t.wrap,this.keyboard=t.keyboard}return t.prototype.ngAfterContentChecked=function(){var t=this._getSlideById(this.activeId);this.activeId=t?t.id:this.slides.length?this.slides.first.id:null},t.prototype.ngOnInit=function(){this._startTimer()},t.prototype.ngOnDestroy=function(){clearInterval(this._slideChangeInterval)},t.prototype.select=function(t){this.cycleToSelected(t),this._restartTimer()},t.prototype.prev=function(){this.cycleToPrev(),this._restartTimer()},t.prototype.next=function(){this.cycleToNext(),this._restartTimer()},t.prototype.pause=function(){this._stopTimer()},t.prototype.cycle=function(){this._startTimer()},t.prototype.cycleToNext=function(){this.cycleToSelected(this._getNextSlide(this.activeId))},t.prototype.cycleToPrev=function(){this.cycleToSelected(this._getPrevSlide(this.activeId))},t.prototype.cycleToSelected=function(t){var e=this._getSlideById(t);e&&(this.activeId=e.id)},t.prototype.keyPrev=function(){this.keyboard&&this.prev()},t.prototype.keyNext=function(){this.keyboard&&this.next()},t.prototype._restartTimer=function(){this._stopTimer(),this._startTimer()},t.prototype._startTimer=function(){var t=this;this.interval>0&&(this._slideChangeInterval=setInterval(function(){t.cycleToNext()},this.interval))},t.prototype._stopTimer=function(){clearInterval(this._slideChangeInterval)},t.prototype._getSlideById=function(t){var e=this.slides.filter(function(e){return e.id===t});return e.length?e[0]:null},t.prototype._getSlideIdxById=function(t){return this.slides.toArray().indexOf(this._getSlideById(t))},t.prototype._getNextSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return n===e.length-1?this.wrap?e[0].id:e[e.length-1].id:e[n+1].id},t.prototype._getPrevSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return 0===n?this.wrap?e[e.length-1].id:e[0].id:e[n-1].id},t}();a.decorators=[{type:i.Component,args:[{selector:"ngb-carousel",exportAs:"ngbCarousel",host:{class:"carousel slide","[style.display]":'"block"',tabIndex:"0","(mouseenter)":"pause()","(mouseleave)":"cycle()","(keydown.arrowLeft)":"keyPrev()","(keydown.arrowRight)":"keyNext()"},template:'\n <ol class="carousel-indicators">\n <li *ngFor="let slide of slides" [id]="slide.id" [class.active]="slide.id === activeId" (click)="cycleToSelected(slide.id)"></li>\n </ol>\n <div class="carousel-inner">\n <div *ngFor="let slide of slides" class="carousel-item" [class.active]="slide.id === activeId">\n <ng-template [ngTemplateOutlet]="slide.tplRef"></ng-template>\n </div>\n </div>\n <a class="left carousel-control-prev" role="button" (click)="cycleToPrev()">\n <span class="carousel-control-prev-icon" aria-hidden="true"></span>\n <span class="sr-only">Previous</span>\n </a>\n <a class="right carousel-control-next" role="button" (click)="cycleToNext()">\n <span class="carousel-control-next-icon" aria-hidden="true"></span>\n <span class="sr-only">Next</span>\n </a>\n '}]}],a.ctorParameters=function(){return[{type:r.a}]},a.propDecorators={slides:[{type:i.ContentChildren,args:[s]}],interval:[{type:i.Input}],wrap:[{type:i.Input}],keyboard:[{type:i.Input}],activeId:[{type:i.Input}]};var l=[a,s]},lU4I:function(t,e,n){"use strict";var i=n("8MUz");e.concat=i.concatStatic},lcaH:function(t,e,n){"use strict";function i(t){return new o.a(t.getFullYear(),t.getMonth()+1,t.getDate())}function r(t){var e=new Date(t.year,t.month-1,t.day);return isNaN(e.getTime())||e.setFullYear(t.year),e}var o=n("hlt1"),s=n("3j3K"),a=n("2yGx");n.d(e,"a",function(){return u}),n.d(e,"b",function(){return c});var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(){function t(){}return t}();u.decorators=[{type:s.Injectable}],u.ctorParameters=function(){return[]};var c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.getDaysPerWeek=function(){return 7},e.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},e.prototype.getWeeksPerMonth=function(){return 6},e.prototype.getNext=function(t,e,n){void 0===e&&(e="d"),void 0===n&&(n=1);var s=r(t);switch(e){case"y":return new o.a(t.year+n,1,1);case"m":s=new Date(t.year,t.month+n-1,1);break;case"d":s.setDate(s.getDate()+n);break;default:return t}return i(s)},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e="d"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=r(t),n=e.getDay();return 0===n?7:n},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=(11-e)%7,i=t[n],o=r(i);o.setDate(o.getDate()+4-(o.getDay()||7));var s=o.getTime();return o.setMonth(0),o.setDate(1),Math.floor(Math.round((s-o.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return i(new Date)},e.prototype.isValid=function(t){if(!(t&&n.i(a.i)(t.year)&&n.i(a.i)(t.month)&&n.i(a.i)(t.day)))return!1;var e=r(t);return!isNaN(e.getTime())&&e.getFullYear()===t.year&&e.getMonth()+1===t.month&&e.getDate()===t.day},e}(u);c.decorators=[{type:s.Injectable}],c.ctorParameters=function(){return[]}},"lh/Z":function(t,e,n){"use strict";var i=n("rCTf"),r=n("3eju");i.Observable.webSocket=r.webSocket},mQmC:function(t,e,n){"use strict";var i=n("RSMh");e.using=i.UsingObservable.create},mwbX:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var i=window.location.protocol+"//"+window.location.host,r="http:"==window.location.protocol?"ws://"+window.location.host+"/endpoint":"wss://"+window.location.host+"/endpoint"},nCuf:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.max=100,this.animated=!1,this.striped=!1,this.showValue=!1}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},nDCe:function(t,e,n){"use strict";var i=n("rCTf"),r=n("PN3d");i.Observable.prototype.publishBehavior=r.publishBehavior},nFIP:function(t,e,n){"use strict";function i(t){var e=this;if(t||(r.root.Rx&&r.root.Rx.config&&r.root.Rx.config.Promise?t=r.root.Rx.config.Promise:r.root.Promise&&(t=r.root.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,n){var i;e.subscribe(function(t){return i=t},function(t){return n(t)},function(){return t(i)})})}var r=n("VOfZ");e.toPromise=i},nsuO:function(t,e,n){"use strict";var i=n("rCTf"),r=n("AZSN");i.Observable.prototype.buffer=r.buffer},nxqe:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i;!function(t){t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC"}(i||(i={}))},oHQS:function(t,e,n){"use strict";var i=n("rCTf"),r=n("SudU");i.Observable.prototype.subscribeOn=r.subscribeOn},okk1:function(t,e,n){"use strict";var i=n("rCTf"),r=n("bBiI");i.Observable.prototype.first=r.first},p1Um:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Ji1B");i.Observable.prototype.observeOn=r.observeOn},"p5++":function(t,e,n){"use strict";function i(t){return this.lift(new a(t,this))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("F7Al");e.single=i;var a=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.predicate,this.source))},t}(),l=function(t){function e(e,n,i){t.call(this,e),this.predicate=n,this.source=i,this.seenValue=!1,this.index=0}return r(e,t),e.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},e.prototype._next=function(t){var e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)},e.prototype.tryNext=function(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new s.EmptyError)},e}(o.Subscriber)},"q+cp":function(t,e,n){"use strict";function i(t){return this.lift(new a(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.takeUntil=i;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.notifier))},t}(),l=function(t){function e(e,n){t.call(this,e),this.notifier=n,this.add(s.subscribeToResult(this,n))}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.complete()},e.prototype.notifyComplete=function(){},e}(o.OuterSubscriber)},"q+ny":function(t,e,n){"use strict";function i(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,this.lift(new u(t,e,n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("+3eL"),s=n("WhVc"),a=n("wAkD"),l=n("CURp");e.expand=i;var u=function(){function t(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.project,this.concurrent,this.scheduler))},t}();e.ExpandOperator=u;var c=function(t){function e(e,n,i,r){t.call(this,e),this.project=n,this.concurrent=i,this.scheduler=r,this.index=0,this.active=0,this.hasCompleted=!1,i<Number.POSITIVE_INFINITY&&(this.buffer=[])}return r(e,t),e.dispatch=function(t){var e=t.subscriber,n=t.result,i=t.value,r=t.index;e.subscribeToProjection(n,i,r)},e.prototype._next=function(t){var n=this.destination;if(n.closed)return void this._complete();var i=this.index++;if(this.active<this.concurrent){n.next(t);var r=o.tryCatch(this.project)(t,i);if(r===s.errorObject)n.error(s.errorObject.e);else if(this.scheduler){var a={subscriber:this,result:r,value:t,index:i};this.add(this.scheduler.schedule(e.dispatch,0,a))}else this.subscribeToProjection(r,t,i)}else this.buffer.push(t)},e.prototype.subscribeToProjection=function(t,e,n){this.active++,this.add(l.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,i,r){this._next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e&&e.length>0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(a.OuterSubscriber);e.ExpandSubscriber=c},q0UB:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("cwzr"),o=n("9Avi"),s=function(t){function e(e,n){var i=this;void 0===e&&(e=a),void 0===n&&(n=Number.POSITIVE_INFINITY),t.call(this,e,function(){return i.frame}),this.maxFrames=n,this.frame=0,this.index=-1}return i(e,t),e.prototype.flush=function(){for(var t,e,n=this,i=n.actions,r=n.maxFrames;(e=i.shift())&&(this.frame=e.delay)<=r&&!(t=e.execute(e.state,e.delay)););if(t){for(;e=i.shift();)e.unsubscribe();throw t}},e.frameTimeFactor=10,e}(o.AsyncScheduler);e.VirtualTimeScheduler=s;var a=function(t){function e(e,n,i){void 0===i&&(i=e.index+=1),t.call(this,e,n),this.scheduler=e,this.work=n,this.index=i,this.active=!0,this.index=e.index=i}return i(e,t),e.prototype.schedule=function(n,i){if(void 0===i&&(i=0),!this.id)return t.prototype.schedule.call(this,n,i);this.active=!1;var r=new e(this.scheduler,this.work);return this.add(r),r.schedule(n,i)},e.prototype.requestAsyncId=function(t,n,i){void 0===i&&(i=0),this.delay=t.frame+i;var r=t.actions;return r.push(this),r.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(t,e,n){void 0===n&&(n=0)},e.prototype._execute=function(e,n){if(!0===this.active)return t.prototype._execute.call(this,e,n)},e.sortActions=function(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1},e}(r.AsyncAction);e.VirtualAction=a},q3ik:function(t,e,n){"use strict";var i=n("rCTf"),r=n("8hgl");i.Observable.prototype.distinctUntilChanged=r.distinctUntilChanged},"q4U+":function(t,e,n){"use strict";var i=n("rCTf"),r=n("erNO");i.Observable.prototype.windowCount=r.windowCount},qBUJ:function(t,e,n){"use strict";var i=n("3j3K"),r=n("hlt1"),o=n("2yGx"),s=n("gEbu"),a=n("lcaH");n.d(e,"a",function(){return l});var l=function(){function t(t,e){this.i18n=t,this.calendar=e,this.years=[],this.select=new i.EventEmitter,this.months=e.getMonths()}return t.prototype.ngOnChanges=function(t){(t.maxDate||t.minDate||t.date)&&(this._generateYears(),this._generateMonths())},t.prototype.changeMonth=function(t){this.select.emit(new r.a(this.date.year,n.i(o.b)(t),1))},t.prototype.changeYear=function(t){this.select.emit(new r.a(n.i(o.b)(t),this.date.month,1))},t.prototype._generateMonths=function(){var t=this;if(this.months=this.calendar.getMonths(),this.date&&this.date.year===this.minDate.year){var e=this.months.findIndex(function(e){return e===t.minDate.month});this.months=this.months.slice(e)}if(this.date&&this.date.year===this.maxDate.year){var e=this.months.findIndex(function(e){return e===t.maxDate.month});this.months=this.months.slice(0,e+1)}},t.prototype._generateYears=function(){var t=this;this.years=Array.from({length:this.maxDate.year-this.minDate.year+1},function(e,n){return t.minDate.year+n})},t}();l.decorators=[{type:i.Component,args:[{selector:"ngb-datepicker-navigation-select",styles:["\n select {\n /* to align with btn-sm */\n padding: 0.25rem 0.5rem;\n font-size: 0.875rem; \n line-height: 1.25;\n /* to cancel the custom height set by custom-select */\n height: inherit;\n width: 50%;\n }\n "],template:'\n <select [disabled]="disabled" class="custom-select d-inline-block" [value]="date?.month" (change)="changeMonth($event.target.value)">\n <option *ngFor="let m of months" [value]="m">{{ i18n.getMonthShortName(m) }}</option>\n </select><select [disabled]="disabled" class="custom-select d-inline-block" [value]="date?.year" (change)="changeYear($event.target.value)">\n <option *ngFor="let y of years" [value]="y">{{ y }}</option>\n </select> \n '}]}],l.ctorParameters=function(){return[{type:s.a},{type:a.a}]},l.propDecorators={date:[{type:i.Input}],disabled:[{type:i.Input}],maxDate:[{type:i.Input}],minDate:[{type:i.Input}],select:[{type:i.Output}]}},qKow:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.placement="top",this.triggers="hover"}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},"qQ/N":function(t,e,n){"use strict";var i=n("3j3K"),r=n("aKiW"),o=n("2yGx"),s=n("NVOs");n.d(e,"a",function(){return u});var a;!function(t){t[t.End=35]="End",t[t.Home=36]="Home",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowDown=40]="ArrowDown"}(a||(a={}));var l={provide:s.NG_VALUE_ACCESSOR,useExisting:n.i(i.forwardRef)(function(){return u}),multi:!0},u=function(){function t(t,e){this._changeDetectorRef=e,this.contexts=[],this.disabled=!1,this.hover=new i.EventEmitter,this.leave=new i.EventEmitter,this.rateChange=new i.EventEmitter(!0),this.onChange=function(t){},this.onTouched=function(){},this.max=t.max,this.readonly=t.readonly}return t.prototype.ariaValueText=function(){return this.nextRate+" out of "+this.max},t.prototype.enter=function(t){this.readonly||this.disabled||this._updateState(t),this.hover.emit(t)},t.prototype.handleBlur=function(){this.onTouched()},t.prototype.handleClick=function(t){this.update(this.resettable&&this.rate===t?0:t)},t.prototype.handleKeyDown=function(t){if(a[n.i(o.d)(t.which)])switch(t.preventDefault(),t.which){case a.ArrowDown:case a.ArrowLeft:this.update(this.rate-1);break;case a.ArrowUp:case a.ArrowRight:this.update(this.rate+1);break;case a.Home:this.update(0);break;case a.End:this.update(this.max)}},t.prototype.ngOnChanges=function(t){t.rate&&this.update(this.rate)},t.prototype.ngOnInit=function(){this.contexts=Array.from({length:this.max},function(){return{fill:0}}),this._updateState(this.rate)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.reset=function(){this.leave.emit(this.nextRate),this._updateState(this.rate)},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.update=function(t,e){void 0===e&&(e=!0);var i=n.i(o.e)(t,this.max,0);this.readonly||this.disabled||this.rate===i||(this.rate=i,this.rateChange.emit(this.rate)),e&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)},t.prototype.writeValue=function(t){this.update(t,!1),this._changeDetectorRef.markForCheck()},t.prototype._getFillValue=function(t){var e=this.nextRate-t;return e>=1?100:e<1&&e>0?Number.parseInt((100*e).toFixed(2)):0},t.prototype._updateState=function(t){var e=this;this.nextRate=t,this.contexts.forEach(function(t,n){return t.fill=e._getFillValue(n)})},t}();u.decorators=[{type:i.Component,args:[{selector:"ngb-rating",changeDetection:i.ChangeDetectionStrategy.OnPush,host:{class:"d-inline-flex",tabindex:"0",role:"slider","aria-valuemin":"0","[attr.aria-valuemax]":"max","[attr.aria-valuenow]":"nextRate","[attr.aria-valuetext]":"ariaValueText()","[attr.aria-disabled]":"readonly ? true : null","(blur)":"handleBlur()","(keydown)":"handleKeyDown($event)","(mouseleave)":"reset()"},template:'\n <ng-template #t let-fill="fill">{{ fill === 100 ? \'★\' : \'☆\' }}</ng-template>\n <ng-template ngFor [ngForOf]="contexts" let-index="index">\n <span class="sr-only">({{ index < nextRate ? \'*\' : \' \' }})</span>\n <span (mouseenter)="enter(index + 1)" (click)="handleClick(index + 1)" [style.cursor]="readonly || disabled ? \'default\' : \'pointer\'">\n <ng-template [ngTemplateOutlet]="starTemplate || t" [ngOutletContext]="contexts[index]"></ng-template>\n </span>\n </ng-template>\n ',providers:[l]}]}],u.ctorParameters=function(){return[{type:r.a},{type:i.ChangeDetectorRef}]},u.propDecorators={max:[{type:i.Input}],rate:[{type:i.Input}],readonly:[{type:i.Input}],resettable:[{type:i.Input}],starTemplate:[{type:i.Input},{type:i.ContentChild,args:[i.TemplateRef]}],hover:[{type:i.Output}],leave:[{type:i.Output}],rateChange:[{type:i.Output}]}},qcjU:function(t,e,n){"use strict";var i=n("rCTf"),r=n("WTUZ");i.Observable.prototype.audit=r.audit},qhgQ:function(t,e,n){"use strict";var i=n("rCTf"),r=n("69uX");i.Observable.prototype.distinct=r.distinct},qoi6:function(t,e,n){"use strict";var i=n("3j3K"),r=n("NVOs"),o=n("sb+e"),s=(n.n(o),n("Rewd")),a=(n.n(s),n("TIy+")),l=(n.n(a),n("jRSa")),u=n("2BXm"),c=n("/PMa"),h=n("2yGx"),p=n("cG9e");n.d(e,"a",function(){return v});var d;!function(t){t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowDown=40]="ArrowDown"}(d||(d={}));var f={provide:r.NG_VALUE_ACCESSOR,useExisting:n.i(i.forwardRef)(function(){return v}),multi:!0},m=0,v=function(){function t(t,e,r,o,s,h,p){var d=this;this._elementRef=t,this._viewContainerRef=e,this._renderer=r,this._injector=o,this.selectItem=new i.EventEmitter,this.popupId="ngb-typeahead-"+m++,this._onTouched=function(){},this._onChange=function(t){},this.editable=h.editable,this.focusFirst=h.focusFirst,this.showHint=h.showHint,this._valueChanges=n.i(a.fromEvent)(t.nativeElement,"input",function(t){return t.target.value}),this._popupService=new c.a(u.a,o,e,r,s),this._zoneSubscription=p.onStable.subscribe(function(){d.isPopupOpen()&&n.i(l.a)(d._elementRef.nativeElement,d._windowRef.location.nativeElement,"bottom-left")})}return t.prototype.ngOnInit=function(){var t=this,e=s._do.call(this._valueChanges,function(e){t._userInput=e,t.editable&&t._onChange(e)}),n=o.letProto.call(e,this.ngbTypeahead),i=s._do.call(n,function(){t.editable||t._onChange(void 0)});this._subscription=this._subscribeToUserInput(i)},t.prototype.ngOnDestroy=function(){this._unsubscribeFromUserInput(),this._zoneSubscription.unsubscribe()},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.writeValue=function(t){this._writeInputValue(this._formatItemForInput(t))},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype.dismissPopup=function(){this.isPopupOpen()&&(this._closePopup(),this._writeInputValue(this._userInput))},t.prototype.isPopupOpen=function(){return null!=this._windowRef},t.prototype.handleBlur=function(){this._onTouched()},t.prototype.handleKeyDown=function(t){if(this.isPopupOpen()&&d[n.i(h.d)(t.which)])switch(t.which){case d.ArrowDown:t.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case d.ArrowUp:t.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case d.Enter:case d.Tab:var e=this._windowRef.instance.getActive();n.i(h.h)(e)&&(t.preventDefault(),t.stopPropagation(),this._selectResult(e)),this._closePopup();break;case d.Escape:t.preventDefault(),this.dismissPopup()}},t.prototype._openPopup=function(){var t=this;this.isPopupOpen()||(this._windowRef=this._popupService.open(),this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe(function(e){return t._selectResultClosePopup(e)}),this._windowRef.instance.activeChangeEvent.subscribe(function(e){return t.activeDescendant=e}))},t.prototype._closePopup=function(){this._popupService.close(),this._windowRef=null,this.activeDescendant=void 0},t.prototype._selectResult=function(t){var e=!1;this.selectItem.emit({item:t,preventDefault:function(){e=!0}}),e||(this.writeValue(t),this._onChange(t))},t.prototype._selectResultClosePopup=function(t){this._selectResult(t),this._closePopup()},t.prototype._showHint=function(){if(this.showHint){var t=this._userInput.toLowerCase(),e=this._formatItemForInput(this._windowRef.instance.getActive());t===e.substr(0,this._userInput.length).toLowerCase()?(this._writeInputValue(this._userInput+e.substr(this._userInput.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._userInput.length,e.length])):this.writeValue(this._windowRef.instance.getActive())}},t.prototype._formatItemForInput=function(t){return t&&this.inputFormatter?this.inputFormatter(t):n.i(h.d)(t)},t.prototype._writeInputValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",t)},t.prototype._subscribeToUserInput=function(t){var e=this;return t.subscribe(function(t){t&&0!==t.length?(e._openPopup(),e._windowRef.instance.focusFirst=e.focusFirst,e._windowRef.instance.results=t,e._windowRef.instance.term=e._elementRef.nativeElement.value,e.resultFormatter&&(e._windowRef.instance.formatter=e.resultFormatter),e.resultTemplate&&(e._windowRef.instance.resultTemplate=e.resultTemplate),e._showHint(),e._windowRef.changeDetectorRef.detectChanges()):e._closePopup()})},t.prototype._unsubscribeFromUserInput=function(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null},t}();v.decorators=[{type:i.Directive,args:[{selector:"input[ngbTypeahead]",host:{"(blur)":"handleBlur()","[class.open]":"isPopupOpen()","(document:click)":"dismissPopup()","(keydown)":"handleKeyDown($event)",autocomplete:"off",autocapitalize:"off",autocorrect:"off",role:"combobox","aria-multiline":"false","[attr.aria-autocomplete]":'showHint ? "both" : "list"',"[attr.aria-activedescendant]":"activeDescendant","[attr.aria-owns]":"isPopupOpen() ? popupId : null","[attr.aria-expanded]":"isPopupOpen()"},providers:[f]}]}],v.ctorParameters=function(){return[{type:i.ElementRef},{type:i.ViewContainerRef},{type:i.Renderer2},{type:i.Injector},{type:i.ComponentFactoryResolver},{type:p.a},{type:i.NgZone}]},v.propDecorators={editable:[{type:i.Input}],focusFirst:[{type:i.Input}],inputFormatter:[{type:i.Input}],ngbTypeahead:[{type:i.Input}],resultFormatter:[{type:i.Input}],resultTemplate:[{type:i.Input}],showHint:[{type:i.Input}],selectItem:[{type:i.Output}]}},qp8k:function(t,e,n){"use strict";var i=n("rCTf"),r=n("A7JX");i.Observable.prototype.combineLatest=r.combineLatest},qsK9:function(t,e,n){"use strict";var i=n("3j3K"),r=n("2Je8"),o=n("/KGk"),s=n("5ZV5"),a=n("3fcS"),l=n("hY6I"),u=n("NVOs"),c=n("U6gI"),h=n("gEbu"),p=n("lcaH"),d=n("7DGp"),f=n("qBUJ"),m=n("hwnt");n("/FbB");n.d(e,"a",function(){return v});var v=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[{provide:p.a,useClass:p.b},{provide:h.a,useClass:h.b},{provide:d.a,useClass:d.b},m.a]}},t}();v.decorators=[{type:i.NgModule,args:[{declarations:[o.a,s.a,a.a,f.a,c.a,l.a],exports:[o.a,l.a],imports:[r.CommonModule,u.FormsModule],entryComponents:[o.a]}]}],v.ctorParameters=function(){return[]}},rLWm:function(t,e,n){"use strict";var i=n("rCTf"),r=n("ASN6");i.Observable.prototype.onErrorResumeNext=r.onErrorResumeNext},rpzr:function(t,e,n){"use strict";var i=n("bZY+");e.interval=i.IntervalObservable.create},s3oX:function(t,e,n){"use strict";var i=n("Dkzu");e._throw=i.ErrorObservable.create},s616:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Kjxw");i.Observable.prototype.shareReplay=r.shareReplay},sBjJ:function(t,e,n){"use strict";var i=n("3j3K"),r=n("FR2h"),o=n("fw1O"),s=n("5uzG"),a=n("Zwpz"),l=n("J3Pa"),u=n("R6W2"),c=n("x+30"),h=n("JSba"),p=n("yyk9"),d=n("5cpg"),f=n("Nr0j"),m=(n.n(f),n("dBGY")),v=n("6Yye"),g=(n.n(v),n("+pb+")),y=(n.n(g),n("ao9a")),b=(n.n(y),n("txvj")),w=(n.n(b),n("jQeI")),x=(n.n(w),n("Ev5Y")),C=(n.n(x),n("f6fj")),S=(n.n(C),n("8U58")),k=(n.n(S),n("CK2l")),O=(n.n(k),n("RkhK")),T=(n.n(O),n("/A6h")),_=(n.n(T),n("iHuw"));n.n(_);n.d(e,"a",function(){return I});var E,R,M,I=function(){function t(t,e,n,i,r,o,s,a,l){if(this.haskellService=t,this.authService=e,this.ghciService=n,this.elRef=i,this.notifService=r,this.functionServices=o,this.sessionService=s,this.dialogService=a,this.usuarioService=l,this.consoleDisable=!1,this.consolaVisible=!0,this.cursorLabelInit=!1,this.entrada="",this.modificado=!1,this.argumentoI=!1,this.argumentoF=!1,this.editableLoaded=!1,this.editDialogFired=!1,this.code="",this.configCodeMirror={readOnly:!1,lineNumbers:!0,lineWrapping:!0,extraKeys:{"Ctrl-Space":"autocomplete"},mode:{name:"haskell",globalVars:!0},gutters:["CodeMirror-linenumbers","breakpoints"],theme:"dracula",fontSize:12},this.themes=["3024-day","3024-night","abcdef","ambiance-mobile","ambiance","base16-dark","base16-light","bespin","blackboard","cobalt","colorforth","dracula","duotone-dark","duotone-light","eclipse","elegant","erlang-dark","hopscotch","icecoder","isotope","lesser-dark","liquibyte","material","mbo","mdn-like","midnight","monokai","neat","neo","night","panda-syntax","paraiso-dark","paraiso-light","pastel-on-dark","railscasts","rubyblue","seti","solarized","the-matrix","tomorrow-night-bright","tomorrow-night-eighties","ttcn","twilight","vibrant-ink","xq-dark","xq-light","yeti","zenburn"],this.funcionSTR="Math.sin(x)*x*x-20",this.consola="",this.command="",this.tipo=1,this.onKey=function(t){this.funcionSTR=t,this.archivo.contenido=t},this.writeCommand=function(t){this.command=t.split("\n")[t.split("\n").length-1]},this.selectFunction=function(){this.tipo=1,this.funcionSTR="Math.sin(x)*x*x-20"},this.selectElipse=function(){this.tipo=2,this.funcionSTR="elipse(x,y,radioX, radioY, rotacion_en_grados)"},this.selectCircle=function(){this.tipo=3,this.funcionSTR="circulo(x,y,radio)"},this.elipse=function(t,e,n,i,r){return[t,e,n,i,r]},this.circulo=function(t,e,n){return[t,e,n]},this.archivo=s.getArchivo(),this.archivo&&this.archivo.id||this.newFile(),this.copiaContenidoArchivo=this.archivo.contenido,this.copiaNombreArchivo=this.archivo.nombre,e.getUser().configuracion){var u=e.getUser().configuracion;u.fontSizeEditor<=30&&u.fontSizeEditor>=8&&(this.configCodeMirror.fontSize=u.fontSizeEditor),this.themes.some(function(t){return t==u.themeEditor})&&(this.configCodeMirror.theme=u.themeEditor),sessionStorage.setItem("codeMirrorConfig",JSON.stringify(this.configCodeMirror)),this.argumentoI=u.argumentoI,this.argumentoF=u.argumentoF}this.code="my code"}return t.prototype.updateConfig=function(t){this.configCodeMirror.theme=t,this.codemirror.instance.setOption("theme",t),sessionStorage.setItem("codeMirrorConfig",JSON.stringify(this.configCodeMirror))},t.prototype.lockSaveButton=function(){this.copiaNombreArchivo=this.archivo.nombre,this.copiaContenidoArchivo=this.archivo.contenido,this.modificado=!1},t.prototype.showConfirm=function(){this.dialogService.addDialog(p.a,{title:"Está intentando editar un archivo de solo lectura",message:"Está editando un archivo de solo lectura, desea continuar?"}).subscribe(function(t){t&&(E.options.readOnly=!1,R.editDialogFired=!0)})},t.prototype.makePanel=function(){var t=document.createElement("div");t.id="cursorpos-panel",t.className="panel bottom",this.cursorPanelLabel=t.appendChild(document.createElement("span"));var e=this.codemirror.instance,n=e.getCursor().line,i=e.getCursor().ch;n=(Number(n)+1).toString(),i=(Number(i)+1).toString(),this.cursorPanelLabel.textContent="Posición del cursor: ("+n+","+i+")",this.cursorPanel=this.codemirror.instance.addPanel(t,{position:"bottom",stable:!0});var r=this;this.codemirror.instance.on("cursorActivity",function(t){var e=t.getCursor().line,n=t.getCursor().ch;e=(Number(e)+1).toString(),n=(Number(n)+1).toString(),r.cursorPanel.node.innerText="Posición del cursor: ("+e+","+n+")"}),this.codemirror.instance.on("keyHandled",function(t,e,n){"Digit1"===e.code&&e.ctrlKey&&e.shiftKey?r.seleccionarDirectorio():"Digit2"===e.code&&e.ctrlKey&&e.shiftKey&&r.saveConfig()}),this.codemirror.instance.on("keypress",function(t,e,n){!r.editDialogFired&&"docente"===JSON.parse(sessionStorage.currentUser).tipo&&t.options.readOnly&&(E=r.codemirror.instance,R=r,r.showConfirm())})},t.prototype.saveConfig=function(){var t=this,e=new h.a;e.themeEditor=this.configCodeMirror.theme,e.fontSizeEditor=this.configCodeMirror.fontSize;var n=this.authService.getUserConfig(),i=n.argumentoF!=this.argumentoF||n.argumentoI!=this.argumentoI;e.argumentoF=this.argumentoF,e.argumentoI=this.argumentoI,this.usuarioService.actualizarConfiguracion(this.authService.getUser().cedula,e).subscribe(function(e){t.popover.close(),t.authService.setUserConfig(e),i&&t.reiniciarInterprete()},function(e){t.notifService.error(e),t.popover.close()})},t.prototype.aumentarFuente=function(){this.configCodeMirror.fontSize<30&&this.configCodeMirror.fontSize++},t.prototype.disminuirFuente=function(){this.configCodeMirror.fontSize>8&&this.configCodeMirror.fontSize--},t.prototype.documentClicked=function(t){if(this.popover&&this.popover.isOpen()&&!this.popover._elementRef.nativeElement.contains(t.target)){this.popover._windowRef.location.nativeElement.contains(t.target)||this.popover.close()}},t.prototype.ngOnInit=function(){function t(t){var e=window.event?event:t;if(90==e.keyCode&&e.ctrlKey,"a"===e.key.toLowerCase()&&e.ctrlKey)return R.seleccionarDirectorio(),!1;if("e"===e.key.toLowerCase()&&e.ctrlKey)return R.downloadFile(),!1;if("r"===e.key.toLowerCase()&&e.ctrlKey)return R.reiniciarInterprete(),!1;if("g"===e.key.toLowerCase()&&e.ctrlKey)return R.guardarArchivo(),!1;if("o"===e.key.toLowerCase()&&e.ctrlKey)return document.getElementById("popover").click(),!1;if(e.ctrlKey&&e.altKey&&"p"===e.key.toLowerCase()){document.getElementById("ProgramBtn").click();var n=R;return setTimeout(function(){n.codemirror.instance.focus()},250),R.codemirror.instance.focus(),M="program",!1}return e.ctrlKey&&e.altKey&&"c"===e.key.toLowerCase()?(R.ghciService.focusConsole(),M="consola",!1):e.ctrlKey&&e.altKey&&"f"===e.key.toLowerCase()?(document.getElementById("FigurasBtn").click(),R.ghciService.focusConsole(),M="graficas",!1):"p"===e.key.toLowerCase()&&e.ctrlKey&&!e.altKey?(R.runCode(),!1):void 0}var e=this;this.ghciService.rendered(),this.haskellService.getArchivos(this.authService.getUser().cedula).subscribe(function(t){e.buildTreeFromList(t)},function(t){return console.log("Error al obtener los archivos del alumno")}),document.onkeydown=t},t.prototype.ngAfterViewInit=function(){if(R=this,null==this.codemirror.instance||this.cursorLabelInit||(this.cursorLabelInit=!0,this.codemirror.instance.setOption("theme",this.configCodeMirror.theme),this.makePanel()),!this.editableLoaded&&null!=this.codemirror.instance&&void 0!==this.sessionService.archivo.editable)try{var t=this.sessionService.archivo.editable&&("Edicion"==this.sessionService.archivo.estado||"Devuelto"==this.sessionService.archivo.estado);this.codemirror.instance.options.readOnly=!t,this.editableLoaded=!0}catch(t){return}},t.prototype.htmlEncode=function(t){return t.replace("Prelude> ","").replace(/&/g,"&").replace(/\s/g," ").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")},t.prototype.inputConsola=function(t){this.entrada=t},t.prototype.newFile=function(){this.archivo=new c.b,this.archivo.cedulaCreador=this.authService.getUser().cedula,this.archivo.contenido="",this.archivo.nombre="",this.copiaNombreArchivo="",this.copiaContenidoArchivo=""},t.prototype.archivoModificado=function(){this.copiaNombreArchivo!=this.archivo.nombre||this.copiaContenidoArchivo!=this.archivo.contenido?this.modificado=!0:this.modificado=!1},t.prototype.guardarArchivo=function(){var t=this,e=/^[A-Z]/;""==this.archivo.nombre.trim()?this.notifService.error("Nombre de archivo sin especificar"):e.test(this.archivo.nombre)?this.archivo.id?this.haskellService.editarArchivo(this.archivo.id,this.archivo).subscribe(function(e){t.archivo=e,t.lockSaveButton()},function(e){t.notifService.error(e)}):this.haskellService.crearArchivo(this.archivo).subscribe(function(e){t.archivo=e,t.lockSaveButton()},function(e){t.notifService.error(e)}):this.notifService.error("Nombre de archivo debe iniciar con mayusula.")},t.prototype.runCode=function(){var t=this;this.ghciService.setCodemirrorRef(this.codemirror.instance),this.ghciService.resetGutters();var e=/^[A-Z]/;if(""==this.archivo.nombre.trim())this.notifService.error("Nombre de archivo sin especificar");else if(e.test(this.archivo.nombre)){var n=this.sessionService.cargarDependencias(this.archivo);if("miss"===n.status)return void this.ghciService.outputConsole("Error: No se encuentra el archivo "+n.nombre+"\n");if(this.archivo.id)if(this.archivo.editable||"docente"==this.authService.getUser().tipo)this.haskellService.editarArchivo(this.archivo.id,this.archivo).subscribe(function(e){t.archivo=e;var n=t.sessionService.getDependencias(),i=[];for(var r in n)i.push(n[r].id);i.some(function(t){return t==e.id})||i.push(e.id),t.lockSaveButton(),t.ghciService.loadFile(e.id,i)},function(e){t.notifService.error(e)});else{var i=this.sessionService.getDependencias(),r=[];for(var o in i)r.push(i[o].id);r.some(function(e){return e==t.archivo.id})||r.push(this.archivo.id),this.ghciService.loadFile(this.archivo.id,r)}else this.haskellService.crearArchivo(this.archivo).subscribe(function(e){t.archivo=e,t.lockSaveButton(),t.ghciService.loadFile(e.id,[])},function(e){t.notifService.error(e)})}else this.notifService.error("Nombre de archivo debe iniciar con mayusula.");this.ghciService.focusConsole()},t.prototype.download=function(t,e){var n=document.createElement("a");n.setAttribute("href","data:application/octet-stream,"+encodeURIComponent(e)),n.setAttribute("download",t+".mf"),n.style.display="none",document.body.appendChild(n),n.click(),document.body.removeChild(n)},t.prototype.downloadFile=function(){var t=this.archivo.nombre,e=this.archivo.contenido;void 0!=t&&""!=t&&void 0!=e&&""!=e&&this.download(t,e)},t.prototype.reiniciarInterprete=function(){this.ghciService.reiniciarInterprete()},t.prototype.toggleConsole=function(){this.consolaVisible=!this.consolaVisible},t.prototype.seleccionarDirectorio=function(){this.archivosTree=this.sessionService.getArchivos(void 0);this.dialogService.addDialog(d.a,{title:"",message:"",archivos:this.archivosTree,directorioActual:this.archivosTree,nombre:"",parent:this}).subscribe(function(t){})},t.prototype.buildTreeFromList=function(t){this.sessionService.setArchivosList(t);var e;for(var n in t){var i=t[n];-1===i.padreId&&(e=i)}this.idRecorridos=[e.id];var r=t.filter(function(t){return t.id!==e.id}),o=this.buildTree(r,e);this.archivosTree=o,this.sessionService.setArchivosTree(o)},t.prototype.buildTree=function(t,e){e.archivos=this.getArchivos(e.id,t);for(var n in e.archivos)if(e.archivos[n].directorio&&void 0===this.idRecorridos[e.archivos[n].id]){var i=e.archivos[n].id,r=t.filter(function(t){return t.id!==i});e.archivos[n]=this.buildTree(r,e.archivos[n])}return e},t.prototype.getArchivos=function(t,e){return e.filter(function(e){return e.padreId===t})},t.ctorParameters=function(){return[{type:r.a},{type:u.a},{type:l.a},{type:i.ElementRef},{type:m.a},{type:o.a},{type:a.a},{type:f.DialogService},{type:s.a}]},t}()},sKQ8:function(t,e,n){"use strict";function i(t){var e=u.async,n=null,i=Number.POSITIVE_INFINITY;return p.isScheduler(arguments[3])&&(e=arguments[3]),p.isScheduler(arguments[2])?e=arguments[2]:h.isNumeric(arguments[2])&&(i=arguments[2]),p.isScheduler(arguments[1])?e=arguments[1]:h.isNumeric(arguments[1])&&(n=arguments[1]),this.lift(new d(t,n,i,e))}function r(t){var e=t.subscriber,n=t.windowTimeSpan,i=t.window;i&&e.closeWindow(i),t.window=e.openWindow(),this.schedule(t,n)}function o(t){var e=t.windowTimeSpan,n=t.subscriber,i=t.scheduler,r=t.windowCreationInterval,o=n.openWindow(),a=this,l={action:a,subscription:null},u={subscriber:n,window:o,context:l};l.subscription=i.schedule(s,e,u),a.add(l.subscription),a.schedule(t,r)}function s(t){var e=t.subscriber,n=t.window,i=t.context;i&&i.action&&i.subscription&&i.action.remove(i.subscription),e.closeWindow(n)}var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=n("EEr4"),u=n("CGGv"),c=n("mmVS"),h=n("P3oE"),p=n("fWbP");e.windowTime=i;var d=function(){function t(t,e,n,i){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=n,this.scheduler=i}return t.prototype.call=function(t,e){return e.subscribe(new m(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),f=function(t){function e(){t.apply(this,arguments),this._numberOfNextedValues=0}return a(e,t),e.prototype.next=function(e){this._numberOfNextedValues++,t.prototype.next.call(this,e)},Object.defineProperty(e.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),e}(l.Subject),m=function(t){function e(e,n,i,a,l){t.call(this,e),this.destination=e,this.windowTimeSpan=n,this.windowCreationInterval=i,this.maxWindowSize=a,this.scheduler=l,this.windows=[];var u=this.openWindow();if(null!==i&&i>=0){var c={subscriber:this,window:u,context:null},h={windowTimeSpan:n,windowCreationInterval:i,subscriber:this,scheduler:l};this.add(l.schedule(s,n,c)),this.add(l.schedule(o,i,h))}else{var p={subscriber:this,window:u,windowTimeSpan:n};this.add(l.schedule(r,n,p))}}return a(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,i=0;i<n;i++){var r=e[i];r.closed||(r.next(t),r.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(r))}},e.prototype._error=function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new f;return this.windows.push(t),this.destination.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(c.Subscriber)},sT3i:function(t,e,n){"use strict";var i=n("rCTf"),r=n("q+ny");i.Observable.prototype.expand=r.expand},sVus:function(t,e,n){"use strict";function i(t){return void 0===t&&(t=s.async),this.lift(new l(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("CGGv");e.timeInterval=i;var a=function(){function t(t,e){this.value=t,this.interval=e}return t}();e.TimeInterval=a;var l=function(){function t(t){this.scheduler=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.scheduler))},t}(),u=function(t){function e(e,n){t.call(this,e),this.scheduler=n,this.lastTime=0,this.lastTime=n.now()}return r(e,t),e.prototype._next=function(t){var e=this.scheduler.now(),n=e-this.lastTime;this.lastTime=e,this.destination.next(new a(t,n))},e}(o.Subscriber)},"sY+1":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){}return t}()},sake:function(t,e,n){"use strict";function i(t){return this.lift(new s(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.skipWhile=i;var s=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate))},t}(),a=function(t){function e(e,n){t.call(this,e),this.predicate=n,this.skipping=!0,this.index=0}return r(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(o.Subscriber)},"sb+e":function(t,e,n){"use strict";function i(t){return t(this)}e.letProto=i},sgnN:function(t,e,n){"use strict";var i=n("3j3K"),r=n("aalB"),o=n("jRSa"),s=n("/PMa"),a=n("qKow");n.d(e,"b",function(){return u}),n.d(e,"a",function(){return c});var l=0,u=function(){function t(){this.placement="top"}return t}();u.decorators=[{type:i.Component,args:[{selector:"ngb-tooltip-window",changeDetection:i.ChangeDetectionStrategy.OnPush,host:{"[class]":'"tooltip show tooltip-" + placement',role:"tooltip","[id]":"id"},template:'\n <div class="tooltip-inner"><ng-content></ng-content></div>\n '}]}],u.ctorParameters=function(){return[]},u.propDecorators={placement:[{type:i.Input}],id:[{type:i.Input}]};var c=function(){function t(t,e,r,a,c,h,p){var d=this;this._elementRef=t,this._renderer=e,this.shown=new i.EventEmitter,this.hidden=new i.EventEmitter,this._ngbTooltipWindowId="ngb-tooltip-"+l++,this.placement=h.placement,this.triggers=h.triggers,this.container=h.container,this._popupService=new s.a(u,r,c,e,a),this._zoneSubscription=p.onStable.subscribe(function(){d._windowRef&&n.i(o.a)(d._elementRef.nativeElement,d._windowRef.location.nativeElement,d.placement,"body"===d.container)})}return Object.defineProperty(t.prototype,"ngbTooltip",{get:function(){return this._ngbTooltip},set:function(t){this._ngbTooltip=t,!t&&this._windowRef&&this.close()},enumerable:!0,configurable:!0}),t.prototype.open=function(t){!this._windowRef&&this._ngbTooltip&&(this._windowRef=this._popupService.open(this._ngbTooltip,t),this._windowRef.instance.placement=this.placement,this._windowRef.instance.id=this._ngbTooltipWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.markForCheck(),this.shown.emit())},t.prototype.close=function(){null!=this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=n.i(r.a)(this._renderer,this._elementRef.nativeElement,this.triggers,this.open.bind(this),this.close.bind(this),this.toggle.bind(this))},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t}();c.decorators=[{type:i.Directive,args:[{selector:"[ngbTooltip]",exportAs:"ngbTooltip"}]}],c.ctorParameters=function(){return[{type:i.ElementRef},{type:i.Renderer2},{type:i.Injector},{type:i.ComponentFactoryResolver},{type:i.ViewContainerRef},{type:a.a},{type:i.NgZone}]},c.propDecorators={placement:[{type:i.Input}],triggers:[{type:i.Input}],container:[{type:i.Input}],shown:[{type:i.Output}],hidden:[{type:i.Output}],ngbTooltip:[{type:i.Input}]}},t2Bb:function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=a.async),this.lift(new l(t,e))}function r(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("mmVS"),a=n("CGGv");e.sampleTime=i;var l=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.period,this.scheduler))},t}(),u=function(t){function e(e,n,i){t.call(this,e),this.period=n,this.scheduler=i,this.hasValue=!1,this.add(i.schedule(r,n,{subscriber:this,period:n}))}return o(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(s.Subscriber)},tDJK:function(t,e,n){"use strict";var i=n("rCTf"),r=n("09LQ");i.Observable.prototype.finally=r._finally,i.Observable.prototype._finally=r._finally},tQRI:function(t,e,n){"use strict";var i=n("rCTf"),r=n("hiKS");i.Observable.prototype.zipAll=r.zipAll},tYwL:function(t,e,n){"use strict";var i=n("rCTf"),r=n("AQOC");i.Observable.prototype.distinctUntilKeyChanged=r.distinctUntilKeyChanged},td8d:function(t,e,n){"use strict";function i(t,e){var n=!1;return arguments.length>=2&&(n=!0),this.lift(new s(t,e,n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.scan=i;var s=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.accumulator,this.seed,this.hasSeed))},t}(),a=function(t){function e(e,n,i,r){t.call(this,e),this.accumulator=n,this._seed=i,this.hasSeed=r,this.index=0}return r(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(o.Subscriber)},tefl:function(t,e,n){"use strict";var i=n("NgUg");e.pairs=i.PairsObservable.create},tn1n:function(t,e,n){"use strict";function i(t,e){return[o.filter.call(this,t,e),o.filter.call(this,r.not(t,e))]}var r=n("7Gky"),o=n("ack3");e.partition=i},tuHt:function(t,e,n){"use strict";var i=n("rCTf"),r=n("SDFq");i.Observable.prototype.switchMapTo=r.switchMapTo},txvj:function(t,e,n){!function(t){t(n("8U58"))}(function(t){function e(t,e,n,i){this.cm=t,this.node=e,this.options=n,this.height=i,this.cleared=!1}function n(t){var e=t.getWrapperElement(),n=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,i=parseInt(n.height),r=t.state.panels={setHeight:e.style.height,heightLeft:i,panels:0,wrapper:document.createElement("div")};e.parentNode.insertBefore(r.wrapper,e);var o=t.hasFocus();r.wrapper.appendChild(e),o&&t.focus(),t._setSize=t.setSize,null!=i&&(t.setSize=function(e,n){if(null==n)return this._setSize(e,n);if(r.setHeight=n,"number"!=typeof n){var o=/^(\d+\.?\d*)px$/.exec(n);o?n=Number(o[1]):(r.wrapper.style.height=n,n=r.wrapper.offsetHeight,r.wrapper.style.height="")}t._setSize(e,r.heightLeft+=n-i),i=n})}function i(t){var e=t.state.panels;t.state.panels=null;var n=t.getWrapperElement();e.wrapper.parentNode.replaceChild(n,e.wrapper),n.style.height=e.setHeight,t.setSize=t._setSize,t.setSize()}function r(t,e){for(var n=e.nextSibling;n;n=n.nextSibling)if(n==t.getWrapperElement())return!0;return!1}t.defineExtension("addPanel",function(t,i){i=i||{},this.state.panels||n(this);var o=this.state.panels,s=o.wrapper,a=this.getWrapperElement();i.after instanceof e&&!i.after.cleared?s.insertBefore(t,i.before.node.nextSibling):i.before instanceof e&&!i.before.cleared?s.insertBefore(t,i.before.node):i.replace instanceof e&&!i.replace.cleared?(s.insertBefore(t,i.replace.node),i.replace.clear()):"bottom"==i.position?s.appendChild(t):"before-bottom"==i.position?s.insertBefore(t,a.nextSibling):"after-top"==i.position?s.insertBefore(t,a):s.insertBefore(t,s.firstChild);var l=i&&i.height||t.offsetHeight;return this._setSize(null,o.heightLeft-=l),o.panels++,i.stable&&r(this,t)&&this.scrollTo(null,this.getScrollInfo().top+l),new e(this,t,i,l)}),e.prototype.clear=function(){if(!this.cleared){this.cleared=!0;var t=this.cm.state.panels;this.cm._setSize(null,t.heightLeft+=this.height),this.options.stable&&r(this.cm,this.node)&&this.cm.scrollTo(null,this.cm.getScrollInfo().top-this.height),t.wrapper.removeChild(this.node),0==--t.panels&&i(this.cm)}},e.prototype.changed=function(t){var e=null==t?this.node.offsetHeight:t,n=this.cm.state.panels;this.cm._setSize(null,n.heightLeft-=e-this.height),this.height=e}})},"tyH+":function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size="medium"}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},"u/VN":function(t,e,n){"use strict";function i(t,n){return void 0===n&&(n=e.defaultThrottleConfig),this.lift(new a(t,n.leading,n.trailing))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.defaultThrottleConfig={leading:!0,trailing:!1},e.throttle=i;var a=function(){function t(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.durationSelector,this.leading,this.trailing))},t}(),l=function(t){function e(e,n,i,r){t.call(this,e),this.destination=e,this.durationSelector=n,this._leading=i,this._trailing=r,this._hasTrailingValue=!1}return r(e,t),e.prototype._next=function(t){if(this.throttled)this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=t);else{var e=this.tryDurationSelector(t);e&&this.add(this.throttled=s.subscribeToResult(this,e)),this._leading&&(this.destination.next(t),this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=t))}},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype._unsubscribe=function(){var t=this,e=t.throttled;t._trailingValue,t._hasTrailingValue,t._trailing;this._trailingValue=null,this._hasTrailingValue=!1,e&&(this.remove(e),this.throttled=null,e.unsubscribe())},e.prototype._sendTrailing=function(){var t=this,e=t.destination,n=t.throttled,i=t._trailing,r=t._trailingValue,o=t._hasTrailingValue;n&&i&&o&&(e.next(r),this._trailingValue=null,this._hasTrailingValue=!1)},e.prototype.notifyNext=function(t,e,n,i,r){this._sendTrailing(),this._unsubscribe()},e.prototype.notifyComplete=function(){this._sendTrailing(),this._unsubscribe()},e}(o.OuterSubscriber)},u1gx:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rCTf"),o=n("8GmM"),s=n("Cr1h"),a=n("IBkQ"),l=n("fO1r"),u=n("q0UB"),c=750,h=function(t){function e(e){t.call(this,u.VirtualAction,c),this.assertDeepEqual=e,this.hotObservables=[],this.coldObservables=[],this.flushTests=[]}return i(e,t),e.prototype.createTime=function(t){var n=t.indexOf("|");if(-1===n)throw new Error('marble diagram for time should have a completion marker "|"');return n*e.frameTimeFactor},e.prototype.createColdObservable=function(t,n,i){if(-1!==t.indexOf("^"))throw new Error('cold observable cannot have subscription offset "^"');if(-1!==t.indexOf("!"))throw new Error('cold observable cannot have unsubscription marker "!"');var r=e.parseMarbles(t,n,i),o=new s.ColdObservable(r,this);return this.coldObservables.push(o),o},e.prototype.createHotObservable=function(t,n,i){if(-1!==t.indexOf("!"))throw new Error('hot observable cannot have unsubscription marker "!"');var r=e.parseMarbles(t,n,i),o=new a.HotObservable(r,this);return this.hotObservables.push(o),o},e.prototype.materializeInnerObservable=function(t,e){var n=this,i=[];return t.subscribe(function(t){i.push({frame:n.frame-e,notification:o.Notification.createNext(t)})},function(t){i.push({frame:n.frame-e,notification:o.Notification.createError(t)})},function(){i.push({frame:n.frame-e,notification:o.Notification.createComplete()})}),i},e.prototype.expectObservable=function(t,n){var i=this;void 0===n&&(n=null);var s,a=[],l={actual:a,ready:!1},u=e.parseMarblesAsSubscriptions(n).unsubscribedFrame;return this.schedule(function(){s=t.subscribe(function(t){var e=t;t instanceof r.Observable&&(e=i.materializeInnerObservable(e,i.frame)),a.push({frame:i.frame,notification:o.Notification.createNext(e)})},function(t){a.push({frame:i.frame,notification:o.Notification.createError(t)})},function(){a.push({frame:i.frame,notification:o.Notification.createComplete()})})},0),u!==Number.POSITIVE_INFINITY&&this.schedule(function(){return s.unsubscribe()},u),this.flushTests.push(l),{toBe:function(t,n,i){l.ready=!0,l.expected=e.parseMarbles(t,n,i,!0)}}},e.prototype.expectSubscriptions=function(t){var n={actual:t,ready:!1};return this.flushTests.push(n),{toBe:function(t){var i="string"==typeof t?[t]:t;n.ready=!0,n.expected=i.map(function(t){return e.parseMarblesAsSubscriptions(t)})}}},e.prototype.flush=function(){for(var e=this.hotObservables;e.length>0;)e.shift().setup();t.prototype.flush.call(this);for(var n=this.flushTests.filter(function(t){return t.ready});n.length>0;){var i=n.shift();this.assertDeepEqual(i.actual,i.expected)}},e.parseMarblesAsSubscriptions=function(t){if("string"!=typeof t)return new l.SubscriptionLog(Number.POSITIVE_INFINITY);for(var e=t.length,n=-1,i=Number.POSITIVE_INFINITY,r=Number.POSITIVE_INFINITY,o=0;o<e;o++){var s=o*this.frameTimeFactor,a=t[o];switch(a){case"-":case" ":break;case"(":n=s;break;case")":n=-1;break;case"^":if(i!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");i=n>-1?n:s;break;case"!":if(r!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");r=n>-1?n:s;break;default:throw new Error("there can only be '^' and '!' markers in a subscription marble diagram. Found instead '"+a+"'.")}}return r<0?new l.SubscriptionLog(i):new l.SubscriptionLog(i,r)},e.parseMarbles=function(t,e,n,i){if(void 0===i&&(i=!1),-1!==t.indexOf("!"))throw new Error('conventional marble diagrams cannot have the unsubscription marker "!"');for(var r=t.length,a=[],l=t.indexOf("^"),u=-1===l?0:l*-this.frameTimeFactor,c="object"!=typeof e?function(t){return t}:function(t){return i&&e[t]instanceof s.ColdObservable?e[t].messages:e[t]},h=-1,p=0;p<r;p++){var d=p*this.frameTimeFactor+u,f=void 0,m=t[p];switch(m){case"-":case" ":break;case"(":h=d;break;case")":h=-1;break;case"|":f=o.Notification.createComplete();break;case"^":break;case"#":f=o.Notification.createError(n||"error");break;default:f=o.Notification.createNext(c(m))}f&&a.push({frame:h>-1?h:d,notification:f})}return a},e}(u.VirtualTimeScheduler);e.TestScheduler=h},u2wr:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n;"function"==typeof t[t.length-1]&&(n=t.pop());var i=t;return this.lift(new a(i,n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.withLatestFrom=i;var a=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.observables,this.project))},t}(),l=function(t){function e(e,n,i){t.call(this,e),this.observables=n,this.project=i,this.toRespond=[];var r=n.length;this.values=new Array(r);for(var o=0;o<r;o++)this.toRespond.push(o);for(var o=0;o<r;o++){var a=n[o];this.add(s.subscribeToResult(this,a,a,o))}}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.values[n]=e;var o=this.toRespond;if(o.length>0){var s=o.indexOf(n);-1!==s&&o.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}(o.OuterSubscriber)},uCY4:function(t,e,n){"use strict";var i=n("rCTf"),r=n("VEfc");i.Observable.prototype.switchMap=r.switchMap},v4DA:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.justify="start",this.type="tabs"}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},"vQ+N":function(t,e,n){"use strict";var i=n("rCTf"),r=n("mQmC");i.Observable.using=r.using},vfkA:function(t,e,n){"use strict";var i=n("3j3K"),r=n("kgIC");n.d(e,"a",function(){return o});var o=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t}();o.decorators=[{type:i.NgModule,args:[{declarations:[r.a],exports:[r.a]}]}],o.ctorParameters=function(){return[]}},voL5:function(t,e,n){"use strict";var i=n("rCTf"),r=n("5pRa");i.Observable.prototype.timestamp=r.timestamp},vrkH:function(t,e,n){"use strict";function i(t){return void 0===t&&(t=-1),this.lift(new s(t,this))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.retry=i;var s=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.count,this.source))},t}(),a=function(t){function e(e,n,i){t.call(this,e),this.count=n,this.source=i}return r(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this,i=n.source,r=n.count;if(0===r)return t.prototype.error.call(this,e);r>-1&&(this.count=r-1),i.subscribe(this._unsubscribeAndRecycle())}},e}(o.Subscriber)},vvwv:function(t,e,n){"use strict";var i=n("jBEF");e.empty=i.EmptyObservable.create},wFtq:function(t,e,n){"use strict";function i(t){return s["ɵvid"](0,[(t()(),s["ɵand"](0,null,null,0))],null,null)}function r(t){return s["ɵvid"](0,[s["ɵqud"](402653184,1,{element:0}),s["ɵqud"](402653184,2,{container:0}),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,[[2,0],["container",1]],null,3,"div",[["class","modal fade"],["role","dialog"],["style","display:block !important;"]],null,null,null,null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵand"](16777216,[[1,3],["element",2]],null,0,null,i)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵted"](null,["\n"]))],null,null)}function o(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,1,"dialog-wrapper",[],null,null,null,a.b,a.c)),s["ɵdid"](49152,null,0,l.DialogWrapperComponent,[s.ComponentFactoryResolver,u.DialogService],null,null)],null,null)}var s=n("3j3K"),a=n("wFtq"),l=n("7064"),u=(n.n(l),n("hz2l"));n.n(u);n.d(e,"c",function(){return h}),e.b=r,n.d(e,"a",function(){return p});var c=[],h=s["ɵcrt"]({encapsulation:2,styles:c,data:{}}),p=s["ɵccf"]("dialog-wrapper",l.DialogWrapperComponent,o,{},{},[])},wUn1:function(t,e,n){"use strict";var i=n("rCTf"),r=n("ack3");i.Observable.prototype.filter=r.filter},ww7A:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("9Avi"),o=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<r&&(t=n.shift()));if(this.active=!1,e){for(;++i<r&&(t=n.shift());)t.unsubscribe();throw e}},e}(r.AsyncScheduler);e.AnimationFrameScheduler=o},xFXl:function(t,e,n){"use strict";var i=n("rCTf"),r=n("yZjU");i.Observable.prototype.windowToggle=r.windowToggle},xOQQ:function(t,e,n){"use strict";var i=n("rCTf"),r=n("U9ky");i.Observable.prototype.pluck=r.pluck},xOmt:function(t,e,n){"use strict";var i=n("3j3K"),r=n("nxqe");n.d(e,"a",function(){return o});var o=function(){function t(t,e){this._elRef=t,this._renderer=e,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new i.EventEmitter}return t.prototype.backdropClick=function(t){!0===this.backdrop&&this._elRef.nativeElement===t.target&&this.dismiss(r.a.BACKDROP_CLICK)},t.prototype.escKey=function(t){this.keyboard&&!t.defaultPrevented&&this.dismiss(r.a.ESC)},t.prototype.dismiss=function(t){this.dismissEvent.emit(t)},t.prototype.ngOnInit=function(){this._elWithFocus=document.activeElement,this._renderer.addClass(document.body,"modal-open")},t.prototype.ngAfterViewInit=function(){this._elRef.nativeElement.contains(document.activeElement)||this._elRef.nativeElement.focus.apply(this._elRef.nativeElement,[])},t.prototype.ngOnDestroy=function(){this._elWithFocus&&document.body.contains(this._elWithFocus)?this._elWithFocus.focus.apply(this._elWithFocus,[]):document.body.focus.apply(document.body,[]),this._elWithFocus=null,this._renderer.removeClass(document.body,"modal-open")},t}();o.decorators=[{type:i.Component,args:[{selector:"ngb-modal-window",host:{"[class]":'"modal fade show" + (windowClass ? " " + windowClass : "")',role:"dialog",tabindex:"-1",style:"display: block;","(keyup.esc)":"escKey($event)","(click)":"backdropClick($event)"},template:"\n <div [class]=\"'modal-dialog' + (size ? ' modal-' + size : '')\" role=\"document\">\n <div class=\"modal-content\"><ng-content></ng-content></div>\n </div>\n "}]}],o.ctorParameters=function(){return[{type:i.ElementRef},{type:i.Renderer2}]},o.propDecorators={backdrop:[{type:i.Input}],keyboard:[{type:i.Input}],size:[{type:i.Input}],windowClass:[{type:i.Input}],dismissEvent:[{type:i.Output,args:["dismiss"]}]}},xYP1:function(t,e,n){"use strict";function i(t,e){return this.lift(new l(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("+3eL"),a=n("WhVc");e.sequenceEqual=i;var l=function(){function t(t,e){this.compareTo=t,this.comparor=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.compareTo,this.comparor))},t}();e.SequenceEqualOperator=l;var u=function(t){function e(e,n,i){t.call(this,e),this.compareTo=n,this.comparor=i,this._a=[],this._b=[],this._oneComplete=!1,this.add(n.subscribe(new c(e,this)))}return r(e,t),e.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e.prototype.checkValues=function(){for(var t=this,e=t._a,n=t._b,i=t.comparor;e.length>0&&n.length>0;){var r=e.shift(),o=n.shift(),l=!1;i?(l=s.tryCatch(i)(r,o))===a.errorObject&&this.destination.error(a.errorObject.e):l=r===o,l||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e}(o.Subscriber);e.SequenceEqualSubscriber=u;var c=function(t){function e(e,n){t.call(this,e),this.parent=n}return r(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t)},e.prototype._complete=function(){this.parent._complete()},e}(o.Subscriber)},xiEB:function(t,e,n){"use strict";function i(t){return o["ɵvid"](0,[],null,null)}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"ngb-modal-backdrop",[["class","modal-backdrop fade show"]],null,null,null,s.b,s.c)),o["ɵdid"](49152,null,0,a.a,[],null,null)],null,null)}var o=n("3j3K"),s=n("xiEB"),a=n("9XFw");n.d(e,"c",function(){return u}),e.b=i,n.d(e,"a",function(){return c});var l=[],u=o["ɵcrt"]({encapsulation:2,styles:l,data:{}}),c=o["ɵccf"]("ngb-modal-backdrop",a.a,r,{},{},[])},y3IE:function(t,e,n){"use strict";var i=n("rCTf"),r=n("vrkH");i.Observable.prototype.retry=r.retry},y6Vm:function(t,e,n){"use strict";var i=n("rCTf"),r=n("8T44");i.Observable.prototype.repeatWhen=r.repeatWhen},y9a2:function(t,e,n){"use strict";var i=n("fO1r"),r=function(){function t(){this.subscriptions=[]}return t.prototype.logSubscribedFrame=function(){return this.subscriptions.push(new i.SubscriptionLog(this.scheduler.now())),this.subscriptions.length-1},t.prototype.logUnsubscribedFrame=function(t){var e=this.subscriptions,n=e[t];e[t]=new i.SubscriptionLog(n.subscribedFrame,this.scheduler.now())},t}();e.SubscriptionLoggable=r},yDyO:function(t,e,n){"use strict";var i=n("3j3K"),r=n("sgnN"),o=n("qKow");n.d(e,"a",function(){return s});var s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}();s.decorators=[{type:i.NgModule,args:[{declarations:[r.a,r.b],exports:[r.a],entryComponents:[r.b]}]}],s.ctorParameters=function(){return[]}},yZjU:function(t,e,n){"use strict";function i(t,e){return this.lift(new h(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),s=n("B00U"),a=n("+3eL"),l=n("WhVc"),u=n("wAkD"),c=n("CURp");e.windowToggle=i;var h=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.openings,this.closingSelector))},t}(),p=function(t){function e(e,n,i){t.call(this,e),this.openings=n,this.closingSelector=i,this.contexts=[],this.add(this.openSubscription=c.subscribeToResult(this,n,n))}return r(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,i=0;i<n;i++)e[i].window.next(t)},e.prototype._error=function(e){var n=this.contexts;if(this.contexts=null,n)for(var i=n.length,r=-1;++r<i;){var o=n[r];o.window.error(e),o.subscription.unsubscribe()}t.prototype._error.call(this,e)},e.prototype._complete=function(){var e=this.contexts;if(this.contexts=null,e)for(var n=e.length,i=-1;++i<n;){var r=e[i];r.window.complete(),r.subscription.unsubscribe()}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.contexts;if(this.contexts=null,t)for(var e=t.length,n=-1;++n<e;){var i=t[n];i.window.unsubscribe(),i.subscription.unsubscribe()}},e.prototype.notifyNext=function(t,e,n,i,r){if(t===this.openings){var u=this.closingSelector,h=a.tryCatch(u)(e);if(h===l.errorObject)return this.error(l.errorObject.e);var p=new o.Subject,d=new s.Subscription,f={window:p,subscription:d};this.contexts.push(f);var m=c.subscribeToResult(this,h,f);m.closed?this.closeWindow(this.contexts.length-1):(m.context=f,d.add(m)),this.destination.next(p)}else this.closeWindow(this.contexts.indexOf(t))},e.prototype.notifyError=function(t){this.error(t)},e.prototype.notifyComplete=function(t){t!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(t.context))},e.prototype.closeWindow=function(t){if(-1!==t){var e=this.contexts,n=e[t],i=n.window,r=n.subscription;e.splice(t,1),i.complete(),r.unsubscribe()}},e}(u.OuterSubscriber)},yyk9:function(t,e,n){"use strict";var i=n("Nr0j");n.n(i);n.d(e,"a",function(){return o});var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=function(t){function e(e){return t.call(this,e)||this}return r(e,t),e.prototype.confirm=function(){this.result=!0,this.close()},e.ctorParameters=function(){return[{type:i.DialogService}]},e}(i.DialogComponent)},zC23:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Oa+j");i.Observable.prototype.dematerialize=r.dematerialize},zJQZ:function(t,e,n){"use strict";var i=n("rCTf"),r=n("td8d");i.Observable.prototype.scan=r.scan},"zK+N":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("3j3K"),r=n("NVOs"),o=n("8U58"),s=function(){function t(){this.change=new i.EventEmitter,this.focus=new i.EventEmitter,this.blur=new i.EventEmitter,this.instance=null,this._value=""}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){t!==this._value&&(this._value=t,this.onChange(t))},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){},t.prototype.ngAfterViewInit=function(){this.config=this.config||{},this.codemirrorInit(this.config)},t.prototype.codemirrorInit=function(t){var e=this;this.instance=o.fromTextArea(this.host.nativeElement,t),this.instance.setValue(this._value),this.instance.on("change",function(){e.updateValue(e.instance.getValue())}),this.instance.on("focus",function(){e.focus.emit()}),this.instance.on("blur",function(){e.blur.emit()})},t.prototype.updateValue=function(t){this.value=t,this.onTouched(),this.change.emit(t)},t.prototype.writeValue=function(t){this._value=t||"",this.instance&&this.instance.setValue(this._value)},t.prototype.onChange=function(t){},t.prototype.onTouched=function(){},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t}();s.decorators=[{type:i.Component,args:[{selector:"codemirror",providers:[{provide:r.NG_VALUE_ACCESSOR,useExisting:i.forwardRef(function(){return s}),multi:!0}],template:"<textarea #host></textarea>"}]}],s.ctorParameters=function(){return[]},s.propDecorators={config:[{type:i.Input}],change:[{type:i.Output}],focus:[{type:i.Output}],blur:[{type:i.Output}],host:[{type:i.ViewChild,args:["host"]}],instance:[{type:i.Output}],value:[{type:i.Input}]},e.CodemirrorComponent=s},zO2v:function(t,e,n){"use strict";var i=n("rCTf"),r=n("DzMp");i.Observable.defer=r.defer},zQPq:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("B00U"),o=function(t){function e(e,n){t.call(this)}return i(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(r.Subscription);e.Action=o},zfaK:function(t,e,n){"use strict";function i(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,26,"div",[["class","modal-dialog"],["style","margin-top:100px;"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,23,"div",[["class","modal-content"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,5,"div",[["class","modal-header"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"button",[["class","close"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.close()&&i}return i},null,null)),(t()(),o["ɵted"](null,["×"])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,4,"div",[["class","modal-body"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"p",[],null,null,null,null,null)),(t()(),o["ɵted"](null,["",""])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,7,"div",[["class","modal-footer"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.confirm()&&i}return i},null,null)),(t()(),o["ɵted"](null,["Editar"])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"button",[["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.close()&&i}return i},null,null)),(t()(),o["ɵted"](null,["Cancelar"])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n "]))],null,function(t,e){t(e,14,0,e.component.message||"")})}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"confirm",[],null,null,null,i,u)),o["ɵdid"](180224,null,0,s.a,[a.DialogService],null,null)],null,null)}var o=n("3j3K"),s=n("yyk9"),a=n("hz2l");n.n(a);n.d(e,"a",function(){return c});var l=[],u=o["ɵcrt"]({encapsulation:2,styles:l,data:{}}),c=o["ɵccf"]("confirm",s.a,r,{},{},[])}}); \ No newline at end of file diff --git a/Servidor JEE/WebContent/1.41cb59b8f355e9241f05.chunk.js b/Servidor JEE/WebContent/1.41cb59b8f355e9241f05.chunk.js new file mode 100644 index 0000000000000000000000000000000000000000..afad40fa0f9890b94d482c4529f6cb6ca2254f66 --- /dev/null +++ b/Servidor JEE/WebContent/1.41cb59b8f355e9241f05.chunk.js @@ -0,0 +1 @@ +webpackJsonp([1],{"1F35":function(n,t,e){"use strict";var l=e("sRze");e.d(t,"a",function(){return i});var i=(l.a,function(){function n(){}return n}())},"26LX":function(n,t,e){"use strict";e.d(t,"a",function(){return l});var l=["#svgHaskell[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:100%!important;height:100%!important}"]},DVtk:function(n,t,e){"use strict";function l(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,26,"div",[["class","modal-dialog"],["style","margin-top:100px;"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["\n "])),(n()(),o["ɵeld"](2,0,null,null,23,"div",[["class","modal-content"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["\n "])),(n()(),o["ɵeld"](4,0,null,null,5,"div",[["class","modal-header"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["\n "])),(n()(),o["ɵeld"](6,0,null,null,1,"button",[["class","close"],["type","button"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.close()&&l}return l},null,null)),(n()(),o["ɵted"](-1,null,["×"])),(n()(),o["ɵted"](-1,null,["\n "])),(n()(),o["ɵted"](-1,null,["\n "])),(n()(),o["ɵted"](-1,null,["\n "])),(n()(),o["ɵeld"](11,0,null,null,4,"div",[["class","modal-body"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["\n "])),(n()(),o["ɵeld"](13,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),o["ɵted"](14,null,["",""])),(n()(),o["ɵted"](-1,null,["\n "])),(n()(),o["ɵted"](-1,null,["\n "])),(n()(),o["ɵeld"](17,0,null,null,7,"div",[["class","modal-footer"]],null,null,null,null,null)),(n()(),o["ɵted"](-1,null,["\n "])),(n()(),o["ɵeld"](19,0,null,null,1,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.confirm()&&l}return l},null,null)),(n()(),o["ɵted"](-1,null,["Editar"])),(n()(),o["ɵted"](-1,null,["\n "])),(n()(),o["ɵeld"](22,0,null,null,1,"button",[["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.close()&&l}return l},null,null)),(n()(),o["ɵted"](-1,null,["Cancelar"])),(n()(),o["ɵted"](-1,null,["\n "])),(n()(),o["ɵted"](-1,null,["\n "])),(n()(),o["ɵted"](-1,null,["\n "]))],null,function(n,t){n(t,14,0,t.component.message||"")})}function i(n){return o["ɵvid"](0,[(n()(),o["ɵeld"](0,0,null,null,1,"confirm",[],null,null,null,l,u)),o["ɵdid"](1,180224,null,0,r.a,[a.DialogService],null,null)],null,null)}var o=e("/oeL"),r=e("UfLB"),a=e("V672");e.n(a);e.d(t,"a",function(){return c});var s=[],u=o["ɵcrt"]({encapsulation:2,styles:s,data:{}}),c=o["ɵccf"]("confirm",r.a,i,{},{},[])},EZ6d:function(n,t,e){!function(n){n(e("oiK7"))}(function(n){"use strict";n.defineMode("matefun",function(n,t){function e(n,t,e){return t(e),e(n,t)}function l(n,t){if(n.eatWhile(p))return null;var l=n.next();if(m.test(l)){if("{"==l&&n.eat("-")){var r="comment";return n.eat("#")&&(r="meta"),e(n,t,i(r,1))}return null}if("'"==l)return n.eat("\\"),n.next(),n.eat("'")?"string":"string error";if('"'==l)return e(n,t,o);if(s.test(l))return n.eatWhile(d),n.eat(".")?"qualifier":"variable-2";if(a.test(l))return n.eatWhile(d),"variable";if(u.test(l)){if("0"==l){if(n.eat(/[xX]/))return n.eatWhile(c),"integer";if(n.eat(/[oO]/))return n.eatWhile(h),"number"}n.eatWhile(u);var r="number";return n.match(/^\.\d+/)&&(r="number"),n.eat(/[eE]/)&&(r="number",n.eat(/[-+]/),n.eatWhile(u)),r}if("."==l&&n.eat("."))return"keyword";if(f.test(l)){if("-"==l&&n.eat(/-/)&&(n.eatWhile(/-/),!n.eat(f)))return n.skipToEnd(),"comment";var r="variable";return":"==l&&(r="variable-2"),n.eatWhile(f),r}return"error"}function i(n,t){return 0==t?l:function(e,o){for(var r=t;!e.eol();){var a=e.next();if("{"==a&&e.eat("-"))++r;else if("-"==a&&e.eat("}")&&0==--r)return o(l),n}return o(i(n,r)),n}}function o(n,t){for(;!n.eol();){var e=n.next();if('"'==e)return t(l),"string";if("\\"==e){if(n.eol()||n.eat(p))return t(r),"string";n.eat("&")||n.next()}}return t(l),"string error"}function r(n,t){return n.eat("\\")?e(n,t,o):(n.next(),t(l),"error")}var a=/[a-z_]/,s=/[A-Z]/,u=/\d/,c=/[0-9A-Fa-f]/,h=/[0-7]/,d=/[a-z_A-Z0-9'\xa1-\uffff]/,f=/[-!#$%&*+.\/<=>?@\\^|~:]/,m=/[(),;[\]`{}]/,p=/[ \t\v\f]/,v=function(){function n(n){return function(){for(var t=0;t<arguments.length;t++)e[arguments[t]]=n}}var e={};n("keyword")("incluir","conj","en","si","o","esVacia"),n("keyword")("<-","->"),n("builtin")("-","+","*","/","^","!",":","==","/=","<",">","<=",">=","::","->","X","|"),n("builtin")("Rojo","Verde","Azul","Negro","Blanco","Gris","Amarillo","FigVacia","[]","R","Fig","Color"),n("builtin")("abs","acos","acosh","all","and","any","appendFile","asTypeOf","asin","asinh","atan","atan2","atanh","break","catch","ceiling","compare","concat","concatMap","const","cos","cosh","curry","cycle","decodeFloat","div","divMod","drop","dropWhile","either","elem","encodeFloat","enumFrom","enumFromThen","enumFromThenTo","enumFromTo","error","even","exp","exponent","fail","filter","flip","floatDigits","floatRadix","floatRange","floor","fmap","foldl","foldl1","foldr","foldr1","fromEnum","fromInteger","fromIntegral","fromRational","fst","gcd","getChar","getContents","getLine","head","id","init","interact","ioError","isDenormalized","isIEEE","isInfinite","isNaN","isNegativeZero","iterate","last","lcm","length","lex","lines","log","logBase","lookup","map","mapM","mapM_","max","maxBound","maximum","maybe","min","minBound","minimum","mod","negate","not","notElem","null","odd","or","otherwise","pi","pred","print","product","properFraction","putChar","putStr","putStrLn","quot","quotRem","read","readFile","readIO","readList","readLn","readParen","reads","readsPrec","realToFrac","recip","rem","repeat","replicate","return","reverse","round","scaleFloat","scanl","scanl1","scanr","scanr1","seq","sequence","sequence_","show","showChar","showList","showParen","showString","shows","showsPrec","significand","signum","sin","sinh","snd","span","splitAt","sqrt","subtract","succ","sum","tail","take","takeWhile","tan","tanh","toEnum","toInteger","toRational","truncate","uncurry","undefined","unlines","until","unwords","unzip","unzip3","userError","words","writeFile","zip","zip3","zipWith","zipWith3");var l=t.overrideKeywords;if(l)for(var i in l)l.hasOwnProperty(i)&&(e[i]=l[i]);return e}();return{startState:function(){return{f:l}},copyState:function(n){return{f:n.f}},token:function(n,t){var e=t.f(n,function(n){t.f=n}),l=n.current();return v.hasOwnProperty(l)?v[l]:e},blockCommentStart:"{-",blockCommentEnd:"-}",lineComment:"--"}}),n.defineMIME("text/x-matefun","matefun")})},EfLl:function(n,t,e){"use strict";e.d(t,"a",function(){return l});var l=function(){function n(){}return n}()},HXxp:function(n,t,e){"use strict";e.d(t,"a",function(){return l});var l=function(){function n(){}return n}();!function(){function n(){}}()},L8b4:function(n,t,e){!function(n){n(e("oiK7"),e("OZVu"),e("ppY8"))}(function(n){"use strict";function t(n,t){return"string"==typeof n?n=new RegExp(n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),t?"gi":"g"):n.global||(n=new RegExp(n.source,n.ignoreCase?"gi":"g")),{token:function(t){n.lastIndex=t.pos;var e=n.exec(t.string);if(e&&e.index==t.pos)return t.pos+=e[0].length||1,"searching";e?t.pos=e.index:t.skipToEnd()}}}function e(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function l(n){return n.state.search||(n.state.search=new e)}function i(n){return"string"==typeof n&&n==n.toLowerCase()}function o(n,t,e){return n.getSearchCursor(t,e,{caseFold:i(t),multiline:!0})}function r(n,t,e,l,i){n.openDialog(t,l,{value:e,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){m(n)},onKeyDown:i})}function a(n,t,e,l,i){n.openDialog?n.openDialog(t,i,{value:l,selectValueOnOpen:!0}):i(prompt(e,l))}function s(n,t,e,l){n.openConfirm?n.openConfirm(t,l):confirm(e)&&l[0]()}function u(n){return n.replace(/\\(.)/g,function(n,t){return"n"==t?"\n":"r"==t?"\r":t})}function c(n){var t=n.match(/^\/(.*)\/([a-z]*)$/);if(t)try{n=new RegExp(t[1],-1==t[2].indexOf("i")?"":"i")}catch(n){}else n=u(n);return("string"==typeof n?""==n:n.test(""))&&(n=/x^/),n}function h(n,e,l){e.queryText=l,e.query=c(l),n.removeOverlay(e.overlay,i(e.query)),e.overlay=t(e.query,i(e.query)),n.addOverlay(e.overlay),n.showMatchesOnScrollbar&&(e.annotate&&(e.annotate.clear(),e.annotate=null),e.annotate=n.showMatchesOnScrollbar(e.query,i(e.query)))}function d(t,e,i,o){var s=l(t);if(s.query)return f(t,e);var u=t.getSelection()||s.lastQuery;if(u instanceof RegExp&&"x^"==u.source&&(u=null),i&&t.openDialog){var c=null,d=function(e,l){n.e_stop(l),e&&(e!=s.queryText&&(h(t,s,e),s.posFrom=s.posTo=t.getCursor()),c&&(c.style.opacity=1),f(t,l.shiftKey,function(n,e){var l;e.line<3&&document.querySelector&&(l=t.display.wrapper.querySelector(".CodeMirror-dialog"))&&l.getBoundingClientRect().bottom-4>t.cursorCoords(e,"window").top&&((c=l).style.opacity=.4)}))};r(t,g,u,d,function(e,i){var o=n.keyName(e),r=t.getOption("extraKeys"),a=r&&r[o]||n.keyMap[t.getOption("keyMap")][o];"findNext"==a||"findPrev"==a||"findPersistentNext"==a||"findPersistentPrev"==a?(n.e_stop(e),h(t,l(t),i),t.execCommand(a)):"find"!=a&&"findPersistent"!=a||(n.e_stop(e),d(i,e))}),o&&u&&(h(t,s,u),f(t,e))}else a(t,g,"Search for:",u,function(n){n&&!s.query&&t.operation(function(){h(t,s,n),s.posFrom=s.posTo=t.getCursor(),f(t,e)})})}function f(t,e,i){t.operation(function(){var r=l(t),a=o(t,r.query,e?r.posFrom:r.posTo);(a.find(e)||(a=o(t,r.query,e?n.Pos(t.lastLine()):n.Pos(t.firstLine(),0)),a.find(e)))&&(t.setSelection(a.from(),a.to()),t.scrollIntoView({from:a.from(),to:a.to()},20),r.posFrom=a.from(),r.posTo=a.to(),i&&i(a.from(),a.to()))})}function m(n){n.operation(function(){var t=l(n);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,n.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))})}function p(n,t,e){n.operation(function(){for(var l=o(n,t);l.findNext();)if("string"!=typeof t){var i=n.getRange(l.from(),l.to()).match(t);l.replace(e.replace(/\$(\d)/g,function(n,t){return i[t]}))}else l.replace(e)})}function v(n,t){if(!n.getOption("readOnly")){var e=n.getSelection()||l(n).lastQuery,i='<span class="CodeMirror-search-label">'+(t?"Replace all:":"Replace:")+"</span>";a(n,i+b,i,e,function(e){e&&(e=c(e),a(n,y,"Replace with:","",function(l){if(l=u(l),t)p(n,e,l);else{m(n);var i=o(n,e,n.getCursor("from")),r=function(){var t,u=i.from();!(t=i.findNext())&&(i=o(n,e),!(t=i.findNext())||u&&i.from().line==u.line&&i.from().ch==u.ch)||(n.setSelection(i.from(),i.to()),n.scrollIntoView({from:i.from(),to:i.to()}),s(n,C,"Replace?",[function(){a(t)},r,function(){p(n,e,l)}]))},a=function(n){i.replace("string"==typeof e?l:l.replace(/\$(\d)/g,function(t,e){return n[e]})),r()};r()}}))})}}var g='<span class="CodeMirror-search-label">Search:</span> <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">(Use /re/ syntax for regexp search)</span>',b=' <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">(Use /re/ syntax for regexp search)</span>',y='<span class="CodeMirror-search-label">With:</span> <input type="text" style="width: 10em" class="CodeMirror-search-field"/>',C='<span class="CodeMirror-search-label">Replace?</span> <button>Yes</button> <button>No</button> <button>All</button> <button>Stop</button>';n.commands.find=function(n){m(n),d(n)},n.commands.findPersistent=function(n){m(n),d(n,!1,!0)},n.commands.findPersistentNext=function(n){d(n,!1,!0,!0)},n.commands.findPersistentPrev=function(n){d(n,!0,!0,!0)},n.commands.findNext=d,n.commands.findPrev=function(n){d(n,!0)},n.commands.clearSearch=m,n.commands.replace=v,n.commands.replaceAll=function(n){v(n,!0)}})},La8y:function(n,t,e){!function(n){n(e("oiK7"))}(function(n){"use strict";function t(n,t){function e(n){clearTimeout(l.doRedraw),l.doRedraw=setTimeout(function(){l.redraw()},n)}this.cm=n,this.options=t,this.buttonHeight=t.scrollButtonHeight||n.getOption("scrollButtonHeight"),this.annotations=[],this.doRedraw=this.doUpdate=null,this.div=n.getWrapperElement().appendChild(document.createElement("div")),this.div.style.cssText="position: absolute; right: 0; top: 0; z-index: 7; pointer-events: none",this.computeScale();var l=this;n.on("refresh",this.resizeHandler=function(){clearTimeout(l.doUpdate),l.doUpdate=setTimeout(function(){l.computeScale()&&e(20)},100)}),n.on("markerAdded",this.resizeHandler),n.on("markerCleared",this.resizeHandler),!1!==t.listenForChanges&&n.on("change",this.changeHandler=function(){e(250)})}n.defineExtension("annotateScrollbar",function(n){return"string"==typeof n&&(n={className:n}),new t(this,n)}),n.defineOption("scrollButtonHeight",0),t.prototype.computeScale=function(){var n=this.cm,t=(n.getWrapperElement().clientHeight-n.display.barHeight-2*this.buttonHeight)/n.getScrollerElement().scrollHeight;if(t!=this.hScale)return this.hScale=t,!0},t.prototype.update=function(n){this.annotations=n,this.redraw()},t.prototype.redraw=function(n){function t(n,t){return s!=n.line&&(s=n.line,u=e.getLineHandle(s)),u.widgets&&u.widgets.length||r&&u.height>a?e.charCoords(n,"local")[t?"top":"bottom"]:e.heightAtLine(u,"local")+(t?0:u.height)}!1!==n&&this.computeScale();var e=this.cm,l=this.hScale,i=document.createDocumentFragment(),o=this.annotations,r=e.getOption("lineWrapping"),a=r&&1.5*e.defaultTextHeight(),s=null,u=null,c=e.lastLine();if(e.display.barWidth)for(var h,d=0;d<o.length;d++){var f=o[d];if(!(f.to.line>c)){for(var m=h||t(f.from,!0)*l,p=t(f.to,!1)*l;d<o.length-1&&!(o[d+1].to.line>c)&&!((h=t(o[d+1].from,!0)*l)>p+.9);)f=o[++d],p=t(f.to,!1)*l;if(p!=m){var v=Math.max(p-m,3),g=i.appendChild(document.createElement("div"));g.style.cssText="position: absolute; right: 0px; width: "+Math.max(e.display.barWidth-1,2)+"px; top: "+(m+this.buttonHeight)+"px; height: "+v+"px",g.className=this.options.className,f.id&&g.setAttribute("annotation-id",f.id)}}}this.div.textContent="",this.div.appendChild(i)},t.prototype.clear=function(){this.cm.off("refresh",this.resizeHandler),this.cm.off("markerAdded",this.resizeHandler),this.cm.off("markerCleared",this.resizeHandler),this.changeHandler&&this.cm.off("change",this.changeHandler),this.div.parentNode.removeChild(this.div)}})},OR9o:function(n,t,e){"use strict";function l(n){return s["ɵvid"](0,[(n()(),s["ɵeld"](0,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-folder"],["style","margin-right:10px; font-size: 3em; cursor: pointer;"]],null,null,null,null,null))],null,null)}function i(n){return s["ɵvid"](0,[(n()(),s["ɵeld"](0,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-file-text"],["style","margin-right:10px;font-size: 3em; cursor: pointer;"]],null,null,null,null,null))],null,null)}function o(n){return s["ɵvid"](0,[(n()(),s["ɵeld"](0,0,null,null,7,"button",[["class","list-group-item list-group-item-action"],["style","cursor:pointer"],["type","button"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.navToDir(n.context.$implicit)&&l}return l},null,null)),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵand"](16777216,null,null,1,null,l)),s["ɵdid"](3,16384,null,0,u.NgIf,[s.ViewContainerRef,s.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵand"](16777216,null,null,1,null,i)),s["ɵdid"](6,16384,null,0,u.NgIf,[s.ViewContainerRef,s.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),s["ɵted"](7,null,["\n ","\n "]))],function(n,t){n(t,3,0,t.context.$implicit.directorio),n(t,6,0,!t.context.$implicit.directorio)},function(n,t){n(t,7,0,t.context.$implicit.nombre)})}function r(n){return s["ɵvid"](0,[(n()(),s["ɵeld"](0,0,null,null,47,"div",[["class","modal-dialog"],["style","margin-top:100px;"]],null,null,null,null,null)),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵeld"](2,0,null,null,44,"div",[["class","modal-content"]],null,null,null,null,null)),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵeld"](4,0,null,null,7,"div",[["class","modal-header"]],null,null,null,null,null)),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵeld"](6,0,null,null,1,"h6",[["class","modal-title pull-lefth"]],null,null,null,null,null)),(n()(),s["ɵted"](-1,null,["¿Dónde quieres crear el archivo?"])),(n()(),s["ɵted"](-1,null,[" \n "])),(n()(),s["ɵeld"](9,0,null,null,1,"button",[["class","close"],["style","margin-rigth:8px;"],["type","button"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.close()&&l}return l},null,null)),(n()(),s["ɵted"](-1,null,["×"])),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵeld"](13,0,null,null,23,"div",[["class","modal-body"],["style","height:350px;overflow-y: scroll;"]],null,null,null,null,null)),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵeld"](15,0,null,null,20,"div",[],null,null,null,null,null)),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵeld"](17,0,null,null,11,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵeld"](19,0,null,null,1,"label",[["class","form-control-label"],["for","file-name"]],null,null,null,null,null)),(n()(),s["ɵted"](-1,null,["Nombre:"])),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵeld"](22,0,null,null,5,"input",[["class","form-control"],["id","file-name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,e){var l=!0,i=n.component;if("input"===t){l=!1!==s["ɵnov"](n,23)._handleInput(e.target.value)&&l}if("blur"===t){l=!1!==s["ɵnov"](n,23).onTouched()&&l}if("compositionstart"===t){l=!1!==s["ɵnov"](n,23)._compositionStart()&&l}if("compositionend"===t){l=!1!==s["ɵnov"](n,23)._compositionEnd(e.target.value)&&l}if("ngModelChange"===t){l=!1!==(i.nombre=e)&&l}return l},null,null)),s["ɵdid"](23,16384,null,0,h.DefaultValueAccessor,[s.Renderer2,s.ElementRef,[2,h.COMPOSITION_BUFFER_MODE]],null,null),s["ɵprd"](1024,null,h.NG_VALUE_ACCESSOR,function(n){return[n]},[h.DefaultValueAccessor]),s["ɵdid"](25,671744,null,0,h.NgModel,[[8,null],[8,null],[8,null],[2,h.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),s["ɵprd"](2048,null,h.NgControl,null,[h.NgModel]),s["ɵdid"](27,16384,null,0,h.NgControlStatus,[h.NgControl],null,null),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵeld"](30,0,null,null,4,"div",[["class","list-group"]],null,null,null,null,null)),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵand"](16777216,null,null,1,null,o)),s["ɵdid"](33,802816,null,0,u.NgForOf,[s.ViewContainerRef,s.TemplateRef,s.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵeld"](38,0,null,null,7,"div",[["class","modal-footer"]],null,null,null,null,null)),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵeld"](40,0,null,null,1,"button",[["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.navBack()&&l}return l},null,null)),(n()(),s["ɵted"](-1,null,["Atras"])),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵeld"](43,0,null,null,1,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.confirm()&&l}return l},null,null)),(n()(),s["ɵted"](-1,null,["Crear"])),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵted"](-1,null,["\n "])),(n()(),s["ɵted"](-1,null,["\n "]))],function(n,t){var e=t.component;n(t,25,0,e.nombre),n(t,33,0,e.directorioActual.archivos)},function(n,t){n(t,22,0,s["ɵnov"](t,27).ngClassUntouched,s["ɵnov"](t,27).ngClassTouched,s["ɵnov"](t,27).ngClassPristine,s["ɵnov"](t,27).ngClassDirty,s["ɵnov"](t,27).ngClassValid,s["ɵnov"](t,27).ngClassInvalid,s["ɵnov"](t,27).ngClassPending)})}function a(n){return s["ɵvid"](0,[(n()(),s["ɵeld"](0,0,null,null,1,"confirm",[],null,null,null,r,m)),s["ɵdid"](1,180224,null,0,c.a,[d.DialogService],null,null)],null,null)}var s=e("/oeL"),u=e("qbdv"),c=e("ij+S"),h=e("bm2B"),d=e("V672");e.n(d);e.d(t,"a",function(){return p});var f=[],m=s["ɵcrt"]({encapsulation:2,styles:f,data:{}}),p=s["ɵccf"]("confirm",c.a,a,{},{},[])},OZVu:function(n,t,e){!function(n){n(e("oiK7"))}(function(n){"use strict";function t(n){var t=n.flags;return null!=t?t:(n.ignoreCase?"i":"")+(n.global?"g":"")+(n.multiline?"m":"")}function e(n){return n.global?n:new RegExp(n.source,t(n)+"g")}function l(n){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(n.source)}function i(n,t,l){t=e(t);for(var i=l.line,o=l.ch,r=n.lastLine();i<=r;i++,o=0){t.lastIndex=o;var a=n.getLine(i),s=t.exec(a);if(s)return{from:p(i,s.index),to:p(i,s.index+s[0].length),match:s}}}function o(n,t,o){if(!l(t))return i(n,t,o);t=e(t);for(var r,a=1,s=o.line,u=n.lastLine();s<=u;){for(var c=0;c<a;c++){var h=n.getLine(s++);r=null==r?h:r+"\n"+h}a*=2,t.lastIndex=o.ch;var d=t.exec(r);if(d){var f=r.slice(0,d.index).split("\n"),m=d[0].split("\n"),v=o.line+f.length-1,g=f[f.length-1].length;return{from:p(v,g),to:p(v+m.length-1,1==m.length?g+m[0].length:m[m.length-1].length),match:d}}}}function r(n,t){for(var e,l=0;;){t.lastIndex=l;var i=t.exec(n);if(!i)return e;if(e=i,(l=e.index+(e[0].length||1))==n.length)return e}}function a(n,t,l){t=e(t);for(var i=l.line,o=l.ch,a=n.firstLine();i>=a;i--,o=-1){var s=n.getLine(i);o>-1&&(s=s.slice(0,o));var u=r(s,t);if(u)return{from:p(i,u.index),to:p(i,u.index+u[0].length),match:u}}}function s(n,t,l){t=e(t);for(var i,o=1,a=l.line,s=n.firstLine();a>=s;){for(var u=0;u<o;u++){var c=n.getLine(a--);i=null==i?c.slice(0,l.ch):c+"\n"+i}o*=2;var h=r(i,t);if(h){var d=i.slice(0,h.index).split("\n"),f=h[0].split("\n"),m=a+d.length,v=d[d.length-1].length;return{from:p(m,v),to:p(m+f.length-1,1==f.length?v+f[0].length:f[f.length-1].length),match:h}}}}function u(n,t,e,l){if(n.length==t.length)return e;for(var i=0,o=e+Math.max(0,n.length-t.length);;){if(i==o)return i;var r=i+o>>1,a=l(n.slice(0,r)).length;if(a==e)return r;a>e?o=r:i=r+1}}function c(n,t,e,l){if(!t.length)return null;var i=l?f:m,o=i(t).split(/\r|\n\r?/);n:for(var r=e.line,a=e.ch,s=n.lastLine()+1-o.length;r<=s;r++,a=0){var c=n.getLine(r).slice(a),h=i(c);if(1==o.length){var d=h.indexOf(o[0]);if(-1==d)continue n;var e=u(c,h,d,i)+a;return{from:p(r,u(c,h,d,i)+a),to:p(r,u(c,h,d+o[0].length,i)+a)}}var v=h.length-o[0].length;if(h.slice(v)==o[0]){for(var g=1;g<o.length-1;g++)if(i(n.getLine(r+g))!=o[g])continue n;var b=n.getLine(r+o.length-1),y=i(b),C=o[o.length-1];if(b.slice(0,C.length)==C)return{from:p(r,u(c,h,v,i)+a),to:p(r+o.length-1,u(b,y,C.length,i))}}}}function h(n,t,e,l){if(!t.length)return null;var i=l?f:m,o=i(t).split(/\r|\n\r?/);n:for(var r=e.line,a=e.ch,s=n.firstLine()-1+o.length;r>=s;r--,a=-1){var c=n.getLine(r);a>-1&&(c=c.slice(0,a));var h=i(c);if(1==o.length){var d=h.lastIndexOf(o[0]);if(-1==d)continue n;return{from:p(r,u(c,h,d,i)),to:p(r,u(c,h,d+o[0].length,i))}}var v=o[o.length-1];if(h.slice(0,v.length)==v){for(var g=1,e=r-o.length+1;g<o.length-1;g++)if(i(n.getLine(e+g))!=o[g])continue n;var b=n.getLine(r+1-o.length),y=i(b);if(y.slice(y.length-o[0].length)==o[0])return{from:p(r+1-o.length,u(b,y,b.length-o[0].length,i)),to:p(r,u(c,h,v.length,i))}}}}function d(n,t,l,r){this.atOccurrence=!1,this.doc=n,l=l?n.clipPos(l):p(0,0),this.pos={from:l,to:l};var u;"object"==typeof r?u=r.caseFold:(u=r,r=null),"string"==typeof t?(null==u&&(u=!1),this.matches=function(e,l){return(e?h:c)(n,t,l,u)}):(t=e(t),r&&!1===r.multiline?this.matches=function(e,l){return(e?a:i)(n,t,l)}:this.matches=function(e,l){return(e?s:o)(n,t,l)})}var f,m,p=n.Pos;String.prototype.normalize?(f=function(n){return n.normalize("NFD").toLowerCase()},m=function(n){return n.normalize("NFD")}):(f=function(n){return n.toLowerCase()},m=function(n){return n}),d.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(t){for(var e=this.matches(t,this.doc.clipPos(t?this.pos.from:this.pos.to));e&&0==n.cmpPos(e.from,e.to);)t?e.from.ch?e.from=p(e.from.line,e.from.ch-1):e=e.from.line==this.doc.firstLine()?null:this.matches(t,this.doc.clipPos(p(e.from.line-1))):e.to.ch<this.doc.getLine(e.to.line).length?e.to=p(e.to.line,e.to.ch+1):e=e.to.line==this.doc.lastLine()?null:this.matches(t,p(e.to.line+1,0));if(e)return this.pos=e,this.atOccurrence=!0,this.pos.match||!0;var l=p(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:l,to:l},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,e){if(this.atOccurrence){var l=n.splitLines(t);this.doc.replaceRange(l,this.pos.from,this.pos.to,e),this.pos.to=p(this.pos.from.line+l.length-1,l[l.length-1].length+(1==l.length?this.pos.from.ch:0))}}},n.defineExtension("getSearchCursor",function(n,t,e){return new d(this.doc,n,t,e)}),n.defineDocExtension("getSearchCursor",function(n,t,e){return new d(this,n,t,e)}),n.defineExtension("selectMatches",function(t,e){for(var l=[],i=this.getSearchCursor(t,this.getCursor("from"),e);i.findNext()&&!(n.cmpPos(i.to(),this.getCursor("to"))>0);)l.push({anchor:i.from(),head:i.to()});l.length&&this.setSelections(l,0)})})},Qdk6:function(n,t,e){!function(n){n(e("oiK7"),e("ppY8"))}(function(n){"use strict";function t(n,t,e,l,i){n.openDialog?n.openDialog(t,i,{value:l,selectValueOnOpen:!0}):i(prompt(e,l))}function e(n,t){var e=Number(t);return/^[-+]/.test(t)?n.getCursor().line+e:e-1}n.commands.jumpToLine=function(n){var l=n.getCursor();t(n,'Jump to line: <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">(Use line:column or scroll% syntax)</span>',"Jump to line:",l.line+1+":"+l.ch,function(t){if(t){var i;if(i=/^\s*([\+\-]?\d+)\s*\:\s*(\d+)\s*$/.exec(t))n.setCursor(e(n,i[1]),Number(i[2]));else if(i=/^\s*([\+\-]?\d+(\.\d+)?)\%\s*/.exec(t)){var o=Math.round(n.lineCount()*Number(i[1])/100);/^[-+]/.test(i[1])&&(o=l.line+o+1),n.setCursor(o-1,l.ch)}else(i=/^\s*\:?\s*([\+\-]?\d+)\s*/.exec(t))&&n.setCursor(e(n,i[1]),l.ch)}})},n.keyMap.default["Alt-G"]="jumpToLine"})},SVb2:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=e("/oeL"),i=e("EfLl"),o=e("CVNG"),r=e("IkMs"),a=e("DlWC"),s=e("m0eP"),u=e("MsHi"),c=e("ClIn"),h=e("CU81"),d=e("fXzC"),f=e("ufkV"),m=e("xDpJ"),p=e("DVtk"),v=e("OR9o"),g=e("qbdv"),b=e("bm2B"),y=e("dN2u"),C=e("KRwK"),x=e("V672"),E=(e.n(x),e("BkNc")),k=e("Zz+K"),R=e("wnyu"),w=e("EoP3"),S=e("2waW"),P=e("PY9B"),T=e("IBeK"),M=e("g5gQ"),X=e("xBEz"),Y=e("PuIS"),N=e("U0Tu"),_=e("3rU7"),O=e("Cb36"),A=e("5h8W"),I=e("6ade"),F=e("4HaF"),j=e("DaIH"),L=e("0WLp"),D=e("s6Yw"),V=e("DYHI"),z=e("1F35"),q=e("0vel"),Z=(e.n(q),e("sdK6")),B=(e.n(Z),e("sRze"));e.d(t,"MateFunModuleNgFactory",function(){return G});var G=l["ɵcmf"](i.a,[],function(n){return l["ɵmod"]([l["ɵmpd"](512,l.ComponentFactoryResolver,l["ɵCodegenComponentFactoryResolver"],[[8,[o.a,r.a,a.a,s.a,u.a,c.a,h.a,d.a,f.a,m.a,p.a,v.a]],[3,l.ComponentFactoryResolver],l.NgModuleRef]),l["ɵmpd"](4608,g.NgLocalization,g.NgLocaleLocalization,[l.LOCALE_ID]),l["ɵmpd"](4608,b["ɵi"],b["ɵi"],[]),l["ɵmpd"](4608,y.a,y.a,[l.ComponentFactoryResolver,l.Injector,C.a]),l["ɵmpd"](4608,x.DialogService,x.DialogService,[l.ComponentFactoryResolver,l.ApplicationRef,l.Injector,[2,x.DialogServiceConfig]]),l["ɵmpd"](512,g.CommonModule,g.CommonModule,[]),l["ɵmpd"](512,b["ɵba"],b["ɵba"],[]),l["ɵmpd"](512,b.FormsModule,b.FormsModule,[]),l["ɵmpd"](512,E.x,E.x,[[2,E.k],[2,E.c]]),l["ɵmpd"](512,k.a,k.a,[]),l["ɵmpd"](512,R.a,R.a,[]),l["ɵmpd"](512,w.a,w.a,[]),l["ɵmpd"](512,S.a,S.a,[]),l["ɵmpd"](512,P.a,P.a,[]),l["ɵmpd"](512,T.a,T.a,[]),l["ɵmpd"](512,M.a,M.a,[]),l["ɵmpd"](512,X.a,X.a,[]),l["ɵmpd"](512,Y.a,Y.a,[]),l["ɵmpd"](512,N.a,N.a,[]),l["ɵmpd"](512,_.a,_.a,[]),l["ɵmpd"](512,O.a,O.a,[]),l["ɵmpd"](512,A.a,A.a,[]),l["ɵmpd"](512,I.a,I.a,[]),l["ɵmpd"](512,F.a,F.a,[]),l["ɵmpd"](512,j.a,j.a,[]),l["ɵmpd"](512,L.b,L.b,[]),l["ɵmpd"](512,D.a,D.a,[]),l["ɵmpd"](512,V.a,V.a,[]),l["ɵmpd"](512,z.a,z.a,[]),l["ɵmpd"](512,q.CodemirrorModule,q.CodemirrorModule,[]),l["ɵmpd"](512,Z.BootstrapModalModule,Z.BootstrapModalModule,[]),l["ɵmpd"](512,i.a,i.a,[]),l["ɵmpd"](1024,E.t,function(){return[[{path:"",component:B.a}]]},[])])})},UfLB:function(n,t,e){"use strict";var l=e("p2gU");e.n(l);e.d(t,"a",function(){return o});var i=this&&this.__extends||function(){var n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e])};return function(t,e){function l(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(l.prototype=e.prototype,new l)}}(),o=function(n){function t(t){return n.call(this,t)||this}return i(t,n),t.prototype.confirm=function(){this.result=!0,this.close()},t.ctorParameters=function(){return[{type:l.DialogService}]},t}(l.DialogComponent)},fXzC:function(n,t,e){"use strict";function l(n){return h["ɵvid"](0,[(n()(),h["ɵeld"](0,0,null,null,5,"input",[["class","nomArchivoInp form-control form-control-sm"],["name","archivo"],["placeholder","nombre del archivo"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,e){var l=!0,i=n.component;if("input"===t){l=!1!==h["ɵnov"](n,1)._handleInput(e.target.value)&&l}if("blur"===t){l=!1!==h["ɵnov"](n,1).onTouched()&&l}if("compositionstart"===t){l=!1!==h["ɵnov"](n,1)._compositionStart()&&l}if("compositionend"===t){l=!1!==h["ɵnov"](n,1)._compositionEnd(e.target.value)&&l}if("ngModelChange"===t){l=!1!==(i.archivo.nombre=e)&&l}if("keyup"===t){l=!1!==i.archivoModificado()&&l}return l},null,null)),h["ɵdid"](1,16384,null,0,d.DefaultValueAccessor,[h.Renderer2,h.ElementRef,[2,d.COMPOSITION_BUFFER_MODE]],null,null),h["ɵprd"](1024,null,d.NG_VALUE_ACCESSOR,function(n){return[n]},[d.DefaultValueAccessor]),h["ɵdid"](3,671744,null,0,d.NgModel,[[2,d.ControlContainer],[8,null],[8,null],[2,d.NG_VALUE_ACCESSOR]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),h["ɵprd"](2048,null,d.NgControl,null,[d.NgModel]),h["ɵdid"](5,16384,null,0,d.NgControlStatus,[d.NgControl],null,null)],function(n,t){var e=t.component;n(t,3,0,"archivo",!e.archivo.editable||"Corregido"==e.archivo.estado||"Entregado"==e.archivo.estado,e.archivo.nombre)},function(n,t){n(t,0,0,h["ɵnov"](t,5).ngClassUntouched,h["ɵnov"](t,5).ngClassTouched,h["ɵnov"](t,5).ngClassPristine,h["ɵnov"](t,5).ngClassDirty,h["ɵnov"](t,5).ngClassValid,h["ɵnov"](t,5).ngClassInvalid,h["ɵnov"](t,5).ngClassPending)})}function i(n){return h["ɵvid"](0,[(n()(),h["ɵeld"](0,0,null,null,3,"option",[],[[8,"selected",0]],null,null,null,null)),h["ɵdid"](1,147456,null,0,d.NgSelectOption,[h.ElementRef,h.Renderer2,[8,null]],{value:[0,"value"]},null),h["ɵdid"](2,147456,null,0,d["ɵq"],[h.ElementRef,h.Renderer2,[8,null]],{value:[0,"value"]},null),(n()(),h["ɵted"](3,null,["",""]))],function(n,t){n(t,1,0,h["ɵinlineInterpolate"](1,"",t.context.$implicit,"")),n(t,2,0,h["ɵinlineInterpolate"](1,"",t.context.$implicit,""))},function(n,t){var e=t.component;n(t,0,0,t.context.$implicit==e.configCodeMirror.theme),n(t,3,0,t.context.$implicit)})}function o(n){return h["ɵvid"](0,[(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](1,0,null,null,59,"div",[["style","width: 12em"]],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](3,0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](5,0,null,null,1,"label",[],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["Tema:"])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](8,0,[["selectTheme",1]],null,4,"select",[["class","form-control form-control-sm"],["name","theme"]],null,[[null,"change"]],function(n,t,e){var l=!0,i=n.component;if("change"===t){l=!1!==i.updateConfig(h["ɵnov"](n,8).value)&&l}return l},null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵand"](16777216,null,null,1,null,i)),h["ɵdid"](11,802816,null,0,f.NgForOf,[h.ViewContainerRef,h.TemplateRef,h.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](15,0,null,null,13,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](17,0,null,null,1,"label",[],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["Tamaño de fuente:"])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](20,0,null,null,7,"div",[],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](22,0,null,null,1,"button",[["class","btn btn-sm btn-secondary"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.aumentarFuente()&&l}return l},null,null)),(n()(),h["ɵted"](-1,null,["Aâº"])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](25,0,null,null,1,"button",[["class","btn btn-sm btn-secondary"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.disminuirFuente()&&l}return l},null,null)),(n()(),h["ɵted"](-1,null,["Aâ»"])),(n()(),h["ɵted"](27,null,["\n ","px \n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](30,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](32,0,null,null,8,"label",[],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](34,0,null,null,5,"input",[["class","form-control form-control-sm"],["name","argumentoF"],["style","width: 15px; display: inline-block;"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"blur"]],function(n,t,e){var l=!0,i=n.component;if("change"===t){l=!1!==h["ɵnov"](n,35).onChange(e.target.checked)&&l}if("blur"===t){l=!1!==h["ɵnov"](n,35).onTouched()&&l}if("ngModelChange"===t){l=!1!==(i.argumentoF=e)&&l}return l},null,null)),h["ɵdid"](35,16384,null,0,d.CheckboxControlValueAccessor,[h.Renderer2,h.ElementRef],null,null),h["ɵprd"](1024,null,d.NG_VALUE_ACCESSOR,function(n){return[n]},[d.CheckboxControlValueAccessor]),h["ɵdid"](37,671744,null,0,d.NgModel,[[2,d.ControlContainer],[8,null],[8,null],[2,d.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),h["ɵprd"](2048,null,d.NgControl,null,[d.NgModel]),h["ɵdid"](39,16384,null,0,d.NgControlStatus,[d.NgControl],null,null),(n()(),h["ɵted"](-1,null,["\n Mostrar advertencias de uso de funciones\n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](42,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](44,0,null,null,8,"label",[],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](46,0,null,null,5,"input",[["class","form-control form-control-sm"],["name","argumentoI"],["style","width: 15px; display: inline-block;"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"blur"]],function(n,t,e){var l=!0,i=n.component;if("change"===t){l=!1!==h["ɵnov"](n,47).onChange(e.target.checked)&&l}if("blur"===t){l=!1!==h["ɵnov"](n,47).onTouched()&&l}if("ngModelChange"===t){l=!1!==(i.argumentoI=e)&&l}return l},null,null)),h["ɵdid"](47,16384,null,0,d.CheckboxControlValueAccessor,[h.Renderer2,h.ElementRef],null,null),h["ɵprd"](1024,null,d.NG_VALUE_ACCESSOR,function(n){return[n]},[d.CheckboxControlValueAccessor]),h["ɵdid"](49,671744,null,0,d.NgModel,[[2,d.ControlContainer],[8,null],[8,null],[2,d.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),h["ɵprd"](2048,null,d.NgControl,null,[d.NgModel]),h["ɵdid"](51,16384,null,0,d.NgControlStatus,[d.NgControl],null,null),(n()(),h["ɵted"](-1,null,["\n Mostrar advertencias de uso de operadores infijos\n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](55,0,null,null,4,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](57,0,null,null,1,"button",[["class","btn btn-secondary"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.saveConfig()&&l}return l},null,null)),(n()(),h["ɵted"](-1,null,["Guardar"])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n "]))],function(n,t){var e=t.component;n(t,11,0,e.themes);n(t,37,0,"argumentoF",e.argumentoF);n(t,49,0,"argumentoI",e.argumentoI)},function(n,t){n(t,27,0,t.component.configCodeMirror.fontSize),n(t,34,0,h["ɵnov"](t,39).ngClassUntouched,h["ɵnov"](t,39).ngClassTouched,h["ɵnov"](t,39).ngClassPristine,h["ɵnov"](t,39).ngClassDirty,h["ɵnov"](t,39).ngClassValid,h["ɵnov"](t,39).ngClassInvalid,h["ɵnov"](t,39).ngClassPending),n(t,46,0,h["ɵnov"](t,51).ngClassUntouched,h["ɵnov"](t,51).ngClassTouched,h["ɵnov"](t,51).ngClassPristine,h["ɵnov"](t,51).ngClassDirty,h["ɵnov"](t,51).ngClassValid,h["ɵnov"](t,51).ngClassInvalid,h["ɵnov"](t,51).ngClassPending)})}function r(n){return h["ɵvid"](0,[(n()(),h["ɵted"](-1,null,["\n\n "])),(n()(),h["ɵeld"](1,0,null,null,65,"div",[["class","card"]],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](3,0,null,null,52,"div",[["class","card-header"]],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](5,0,null,null,49,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,t,e){var l=!0;if("submit"===t){l=!1!==h["ɵnov"](n,7).onSubmit(e)&&l}if("reset"===t){l=!1!==h["ɵnov"](n,7).onReset()&&l}return l},null,null)),h["ɵdid"](6,16384,null,0,d["ɵbf"],[],null,null),h["ɵdid"](7,16384,null,0,d.NgForm,[[8,null],[8,null]],null,null),h["ɵprd"](2048,null,d.ControlContainer,null,[d.NgForm]),h["ɵdid"](9,16384,null,0,d.NgControlStatusGroup,[d.ControlContainer],null,null),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵand"](16777216,null,null,1,null,l)),h["ɵdid"](12,16384,null,0,f.NgIf,[h.ViewContainerRef,h.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),h["ɵted"](-1,null,["\n\n "])),(n()(),h["ɵeld"](14,16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary"],["id","downloadFileButton"],["ngbPopover","Exportar (Ctrl+E)"],["placement","bottom"],["style","margin-left: 10px; float: right;"],["tiggers","click"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.downloadFile()&&l}return l},null,null)),h["ɵdid"](15,212992,null,0,m.a,[h.ElementRef,h.Renderer2,h.Injector,h.ComponentFactoryResolver,h.ViewContainerRef,p.a,h.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](17,0,null,null,0,"i",[["class","fa fa-download "]],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n\n "])),(n()(),h["ɵeld"](20,16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary"],["id","popover"],["placement","bottom"],["popoverTitle","Configuración"],["style","margin-left: 10px; float: right;"],["tiggers","click"]],null,null,null,null,null)),h["ɵdid"](21,212992,[[2,4],["popover",4]],0,m.a,[h.ElementRef,h.Renderer2,h.Injector,h.ComponentFactoryResolver,h.ViewContainerRef,p.a,h.NgZone],{ngbPopover:[0,"ngbPopover"],popoverTitle:[1,"popoverTitle"],placement:[2,"placement"]},null),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](23,0,null,null,0,"i",[["class","fa fa-gear"]],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](26,16777216,null,null,7,"div",[["ngbPopover","Guardar archivo (Ctrl+G)"],["placement","bottom"],["style","margin-left: 10px; float: right;"],["triggers","mouseenter:mouseleave"]],null,null,null,null,null)),h["ɵdid"](27,212992,null,0,m.a,[h.ElementRef,h.Renderer2,h.Injector,h.ComponentFactoryResolver,h.ViewContainerRef,p.a,h.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](29,0,null,null,3,"button",[["class","btn btn-sm btn-secondary"]],[[8,"disabled",0]],[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.guardarArchivo()&&l}return l},null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](31,0,null,null,0,"i",[["class","fa fa-save"]],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](35,16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary"],["ngbPopover","Reiniciar intérprete (Ctrl+R)"],["placement","bottom"],["style","margin-left: 10px; float: right;"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.reiniciarInterprete()&&l}return l},null,null)),h["ɵdid"](36,212992,null,0,m.a,[h.ElementRef,h.Renderer2,h.Injector,h.ComponentFactoryResolver,h.ViewContainerRef,p.a,h.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](38,0,null,null,0,"i",[["class","fa fa-refresh"]],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](41,16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary"],["ngbPopover","Cargar programa (Ctrl+P)"],["placement","bottom"],["style","margin-left: 10px; float: right;"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.runCode()&&l}return l},null,null)),h["ɵdid"](42,212992,null,0,m.a,[h.ElementRef,h.Renderer2,h.Injector,h.ComponentFactoryResolver,h.ViewContainerRef,p.a,h.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](44,0,null,null,0,"i",[["class","fa fa-play"]],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](47,16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary"],["ngbPopover","Nuevo archivo (Ctrl+A)"],["placement","bottom"],["style","float: right;"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.seleccionarDirectorio()&&l}return l},null,null)),h["ɵdid"](48,212992,null,0,m.a,[h.ElementRef,h.Renderer2,h.Injector,h.ComponentFactoryResolver,h.ViewContainerRef,p.a,h.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](50,0,null,null,0,"i",[["class","fa fa-plus"]],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵand"](0,[["popoverContent",2]],null,0,null,o)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](57,0,null,null,8,"codemirror",[["class","codemirrorPrograma"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup"]],function(n,t,e){var l=!0,i=n.component;if("ngModelChange"===t){l=!1!==(i.archivo.contenido=e)&&l}if("keyup"===t){l=!1!==i.archivoModificado()&&l}return l},v.a,v.b)),h["ɵdid"](58,278528,null,0,f.NgStyle,[h.KeyValueDiffers,h.ElementRef,h.Renderer],{ngStyle:[0,"ngStyle"]},null),h["ɵpod"](59,{"font-size":0}),h["ɵdid"](60,4374528,[[1,4]],0,g.CodemirrorComponent,[],{config:[0,"config"]},null),h["ɵprd"](1024,null,d.NG_VALUE_ACCESSOR,function(n){return[n]},[g.CodemirrorComponent]),h["ɵdid"](62,671744,null,0,d.NgModel,[[8,null],[8,null],[8,null],[2,d.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),h["ɵprd"](2048,null,d.NgControl,null,[d.NgModel]),h["ɵdid"](64,16384,null,0,d.NgControlStatus,[d.NgControl],null,null),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n\n "]))],function(n,t){var e=t.component;n(t,12,0,e.archivo);n(t,15,0,"Exportar (Ctrl+E)","bottom","mouseenter:mouseleave");n(t,21,0,h["ɵnov"](t,53),"Configuración","bottom");n(t,27,0,"Guardar archivo (Ctrl+G)","bottom","mouseenter:mouseleave");n(t,36,0,"Reiniciar intérprete (Ctrl+R)","bottom","mouseenter:mouseleave");n(t,42,0,"Cargar programa (Ctrl+P)","bottom","mouseenter:mouseleave");n(t,48,0,"Nuevo archivo (Ctrl+A)","bottom","mouseenter:mouseleave"),n(t,58,0,n(t,59,0,e.configCodeMirror.fontSize+"px")),n(t,60,0,e.configCodeMirror),n(t,62,0,e.archivo.contenido)},function(n,t){var e=t.component;n(t,5,0,h["ɵnov"](t,9).ngClassUntouched,h["ɵnov"](t,9).ngClassTouched,h["ɵnov"](t,9).ngClassPristine,h["ɵnov"](t,9).ngClassDirty,h["ɵnov"](t,9).ngClassValid,h["ɵnov"](t,9).ngClassInvalid,h["ɵnov"](t,9).ngClassPending),n(t,29,0,!e.modificado),n(t,57,0,h["ɵnov"](t,64).ngClassUntouched,h["ɵnov"](t,64).ngClassTouched,h["ɵnov"](t,64).ngClassPristine,h["ɵnov"](t,64).ngClassDirty,h["ɵnov"](t,64).ngClassValid,h["ɵnov"](t,64).ngClassInvalid,h["ɵnov"](t,64).ngClassPending)})}function a(n){return h["ɵvid"](0,[(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](1,0,null,null,1,"canvas-component",[],null,[[null,"canvasComp"],["window","resize"],["document","click"]],function(n,t,e){var l=!0,i=n.component;if("window:resize"===t){l=!1!==h["ɵnov"](n,2).onResize(e)&&l}if("document:click"===t){l=!1!==h["ɵnov"](n,2).documentClicked(e)&&l}if("canvasComp"===t){l=!1!==i.canvasC&&l}return l},b.a,b.b)),h["ɵdid"](2,4243456,[[3,4]],0,y.a,[C.a],null,null),(n()(),h["ɵted"](-1,null,["\n "]))],null,null)}function s(n){return h["ɵvid"](0,[h["ɵqud"](671088640,1,{codemirror:0}),h["ɵqud"](671088640,2,{popover:0}),h["ɵqud"](671088640,3,{canvasC:0}),(n()(),h["ɵeld"](3,0,null,null,1,"notificacion",[],null,null,null,x.a,x.b)),h["ɵdid"](4,114688,null,0,E.a,[k.a],null,null),(n()(),h["ɵted"](-1,null,[" \n"])),(n()(),h["ɵeld"](6,0,null,null,41,"div",[["class","container-fluid"],["style"," padding-left: 0px; padding-right: 0px; margin-top: -13px; margin-left: -6px; margin-right: -6px;"]],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](8,0,null,null,38,"div",[["class","row"]],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](10,0,null,null,24,"div",[["class","col-md-6"]],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](12,0,null,null,21,"ngb-tabset",[],null,null,null,R.a,R.b)),h["ɵdid"](13,2146304,null,1,w.a,[S.a],{destroyOnHide:[0,"destroyOnHide"]},null),h["ɵqud"](603979776,4,{tabs:1}),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](16,0,null,null,7,"ngb-tab",[["id","ProgramBtn"],["title","Programa"]],null,null,null,null,null)),h["ɵdid"](17,16384,[[4,4]],2,w.b,[],{id:[0,"id"],title:[1,"title"]},null),h["ɵqud"](335544320,5,{contentTpl:0}),h["ɵqud"](335544320,6,{titleTpl:0}),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵand"](0,null,null,1,null,r)),h["ɵdid"](22,16384,[[5,4]],0,w.c,[h.TemplateRef],null,null),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](25,0,null,null,7,"ngb-tab",[["id","FigurasBtn"],["title","Figuras"]],null,null,null,null,null)),h["ɵdid"](26,16384,[[4,4]],2,w.b,[],{id:[0,"id"],title:[1,"title"]},null),h["ɵqud"](335544320,7,{contentTpl:0}),h["ɵqud"](335544320,8,{titleTpl:0}),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵand"](0,null,null,1,null,a)),h["ɵdid"](31,16384,[[7,4]],0,w.c,[h.TemplateRef],null,null),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,[" \n\n "])),(n()(),h["ɵted"](-1,null,["\n\n "])),(n()(),h["ɵeld"](36,0,null,null,9,"div",[["class","col-md-6"]],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n \n\n\n "])),(n()(),h["ɵeld"](39,0,null,null,4,"div",[["class","card"]],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵeld"](41,0,null,null,1,"div",[["id","console"]],null,null,null,null,null)),(n()(),h["ɵted"](-1,null,[" "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n\n "])),(n()(),h["ɵted"](-1,null,["\n "])),(n()(),h["ɵted"](-1,null,["\n"])),(n()(),h["ɵted"](-1,null,["\n\n"]))],function(n,t){n(t,4,0);n(t,13,0,!1);n(t,17,0,"ProgramBtn","Programa");n(t,26,0,"FigurasBtn","Figuras")},null)}function u(n){return h["ɵvid"](0,[(n()(),h["ɵeld"](0,0,null,null,4,"matefun",[],null,[["document","click"]],function(n,t,e){var l=!0;if("document:click"===t){l=!1!==h["ɵnov"](n,4).documentClicked(e)&&l}return l},s,I)),h["ɵprd"](4608,null,P.a,P.a,[]),h["ɵprd"](4608,null,p.a,p.a,[]),h["ɵprd"](512,null,T.a,T.a,[M.i]),h["ɵdid"](4,4308992,null,0,X.a,[Y.a,N.a,C.a,h.ElementRef,k.a,_.a,O.DialogService,T.a],null,null)],function(n,t){n(t,4,0)},null)}var c=e("26LX"),h=e("/oeL"),d=e("bm2B"),f=e("qbdv"),m=e("mQQt"),p=e("7zUS"),v=e("KPCT"),g=e("nfVm"),b=(e.n(g),e("kqFu")),y=e("pB18"),C=e("2qVr"),x=e("hAtc"),E=e("+iRM"),k=e("uiTn"),R=e("Vnhz"),w=e("Hjei"),S=e("+E40"),P=e("qtCd"),T=e("fdEY"),M=e("CPp0"),X=e("sRze"),Y=e("dh/p"),N=e("6akk"),_=e("h7Ol"),O=e("V672");e.n(O);e.d(t,"a",function(){return F});var A=[c.a],I=h["ɵcrt"]({encapsulation:0,styles:A,data:{}}),F=h["ɵccf"]("matefun",X.a,u,{},{},[])},fdEY:function(n,t,e){"use strict";var l=e("CPp0"),i=e("bKpL"),o=(e.n(i),e("5v8a")),r=(e.n(o),e("xpf9")),a=(e.n(r),e("5FRs"));e.d(t,"a",function(){return s});var s=function(){function n(n){this.http=n}return n.prototype.actualizarConfiguracion=function(n,t){var e=new l.l({"Content-Type":"application/json"}),i=new l.g({headers:e});return this.http.put(a.a+"/servicios/usuario/"+n+"/configuracion",t,i).map(this.extractData).catch(this.handleError)},n.prototype.extractData=function(n){return n.json()||[]},n.prototype.handleError=function(n){var t=n.message?n.message:n.status?n.status+" - "+n.statusText:"Server error";return console.error(t),i.Observable.throw(t)},n.ctorParameters=function(){return[{type:l.i}]},n}()},gZxW:function(n,t,e){"use strict";function l(n){return r["ɵvid"](0,[(n()(),r["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),r["ɵted"](1,null,["","%"]))],null,function(n,t){n(t,1,0,t.component.getPercentValue())})}function i(n){return r["ɵvid"](2,[(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](1,0,null,null,8,"div",[["class","progress"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](3,0,null,null,5,"div",[["aria-valuemin","0"],["role","progressbar"]],[[8,"className",0],[4,"width","%"],[1,"aria-valuenow",0],[1,"aria-valuemax",0]],null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵand"](16777216,null,null,1,null,l)),r["ɵdid"](6,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵncd"](null,0),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵted"](-1,null,["\n "]))],function(n,t){n(t,6,0,t.component.showValue)},function(n,t){var e=t.component;n(t,3,0,r["ɵinlineInterpolate"](3,"progress-bar",e.type?" bg-"+e.type:"","",e.animated?" progress-bar-animated":"","",e.striped?" progress-bar-striped":"",""),e.getPercentValue(),e.getValue(),e.max)})}function o(n){return r["ɵvid"](0,[(n()(),r["ɵeld"](0,0,null,null,1,"ngb-progressbar",[],null,null,null,i,h)),r["ɵdid"](1,49152,null,0,s.a,[u.a],null,null)],null,null)}var r=e("/oeL"),a=e("qbdv"),s=e("n/Gy"),u=e("Wv1e");e.d(t,"b",function(){return h}),t.a=i;var c=[],h=r["ɵcrt"]({encapsulation:2,styles:c,data:{}});r["ɵccf"]("ngb-progressbar",s.a,o,{max:"max",animated:"animated",striped:"striped",showValue:"showValue",type:"type",value:"value"},{},["*"])},"ij+S":function(n,t,e){"use strict";var l=e("p2gU"),i=(e.n(l),e("78g9"));e.d(t,"a",function(){return r});var o=this&&this.__extends||function(){var n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e])};return function(t,e){function l(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(l.prototype=e.prototype,new l)}}(),r=function(n){function t(t){return n.call(this,t)||this}return o(t,n),t.prototype.confirm=function(){var n=this,t=/^[A-Z]/;if(void 0==this.nombre||""==this.nombre)this.parent.notifService.error("Nombre de archivo invalido.");else if(t.test(this.nombre)){var e=new i.b;e.cedulaCreador=this.parent.authService.getUser().cedula,e.contenido="",e.nombre=this.nombre,e.directorio=!1,e.padreId=this.directorioActual.id,e.editable=!0,this.parent.haskellService.crearArchivo(e).subscribe(function(t){n.parent.archivo=t,n.parent.ghciService.loadFile(t.id),n.parent.sessionService.setArchivo(t)},function(t){n.parent.notifService.error(t)}),this.result=!0,this.close()}else this.parent.notifService.error("Nombre de archivo debe iniciar con mayusula.")},t.prototype.navToDir=function(n){n.directorio&&(this.directorioActual=n)},t.prototype.navBack=function(){var n=this.directorioActual.padreId,t=this.parent.sessionService.getArchivosList(),e=t.filter(function(t){return t.id===n})[0];this.directorioActual=e},t.ctorParameters=function(){return[{type:l.DialogService}]},t}(l.DialogComponent)},kqFu:function(n,t,e){"use strict";function l(n){return c["ɵvid"](0,[(n()(),c["ɵted"](0,null,["\n\t\t\t","\n\t\t"]))],null,function(n,t){n(t,0,0,t.component.tipoZoomDesc)})}function i(n){return c["ɵvid"](0,[(n()(),c["ɵted"](-1,null,["\n\t\t\t"])),(n()(),c["ɵeld"](1,0,null,null,23,"div",[["style","width: 8em"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n\t\t\t\t"])),(n()(),c["ɵeld"](3,0,null,null,20,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n\t\t\t\t\t"])),(n()(),c["ɵeld"](5,0,null,null,3,"label",[],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n\t\t\t\t\t\t"])),(n()(),c["ɵeld"](7,0,null,null,0,"input",[["class","form-control form-control-sm"],["name","evaluacionVertical"],["style","width: 15px; display: inline-block;"],["type","checkbox"]],[[8,"checked",0]],[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.mostrarEvaluacionVertical()&&l}return l},null,null)),(n()(),c["ɵted"](-1,null,["\n\t\t\t\t\t\tEvaluacion\n\t\t\t\t\t"])),(n()(),c["ɵted"](-1,null,["\n\t\t\t\t\t"])),(n()(),c["ɵeld"](10,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n\t\t\t\t\t"])),(n()(),c["ɵeld"](12,0,null,null,3,"label",[],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n\t\t\t\t\t\t"])),(n()(),c["ɵeld"](14,0,null,null,0,"input",[["class","form-control form-control-sm"],["name","mostrarGrilla"],["style","width: 15px; display: inline-block;"],["type","checkbox"]],[[8,"checked",0]],[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.mostrarOcultarGrilla()&&l}return l},null,null)),(n()(),c["ɵted"](-1,null,["\n\t\t\t\t\t\tGrilla\n\t\t\t\t\t"])),(n()(),c["ɵted"](-1,null,["\n\t\t\t\t\t"])),(n()(),c["ɵeld"](17,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n\t\t\t\t\t"])),(n()(),c["ɵeld"](19,0,null,null,3,"label",[],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n\t\t\t\t\t\t"])),(n()(),c["ɵeld"](21,0,null,null,0,"input",[["class","form-control form-control-sm"],["name","mostrarEjes"],["style","width: 15px; display: inline-block;"],["type","checkbox"]],[[8,"checked",0]],[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.mostrarOcultarEjes()&&l}return l},null,null)),(n()(),c["ɵted"](-1,null,["\n\t\t\t\t\t\tEjes\n\t\t\t\t\t"])),(n()(),c["ɵted"](-1,null,["\n\t\t\t\t"])),(n()(),c["ɵted"](-1,null,["\n\t\t\t"])),(n()(),c["ɵted"](-1,null,["\n\t\t"]))],null,function(n,t){var e=t.component;n(t,7,0,e.evaluacionVertical),n(t,14,0,e.mostrarGrilla),n(t,21,0,e.mostrarEjes)})}function o(n){return c["ɵvid"](0,[(n()(),c["ɵeld"](0,0,null,null,1,"button",[["class","btn btn-sm btn-secondary"],["data-placement","bottom"],["style"," float:left; margin-top: -5px; margin-right: 5px"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.play()&&l}return l},null,null)),(n()(),c["ɵeld"](1,0,null,null,0,"i",[["class","fa fa-play"]],null,null,null,null,null))],null,null)}function r(n){return c["ɵvid"](0,[(n()(),c["ɵeld"](0,0,null,null,1,"button",[["class","btn btn-sm btn-secondary"],["data-placement","bottom"],["style"," float:left; margin-top: -5px; margin-right: 5px"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.pause()&&l}return l},null,null)),(n()(),c["ɵeld"](1,0,null,null,0,"i",[["class","fa fa-pause"]],null,null,null,null,null))],null,null)}function a(n){return c["ɵvid"](0,[(n()(),c["ɵeld"](0,0,null,null,1,"ngb-progressbar",[["style","float: none"],["type","info"]],null,null,null,h.a,h.b)),c["ɵdid"](1,49152,null,0,d.a,[f.a],{type:[0,"type"],value:[1,"value"]},null)],function(n,t){var e=t.component;n(t,1,0,"info",(e.frameAnimacion+1)/e.elementosAnimacion.length*100)},null)}function s(n){return c["ɵvid"](0,[c["ɵqud"](402653184,1,{canvasRef:0}),c["ɵqud"](402653184,2,{popover:0}),(n()(),c["ɵeld"](2,0,null,null,54,"div",[["class","card"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n"])),(n()(),c["ɵted"](-1,null,["\n\t"])),(n()(),c["ɵeld"](5,0,null,null,50,"div",[["class","card-block contenedor-canvas"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n\t\t"])),(n()(),c["ɵeld"](7,16777216,null,null,2,"button",[["class","btn btn-sm btn-secondary"],["data-placement","bottom"],["placement","bottom"],["style","float:right; margin-right: 198px; margin-top: -55px"],["triggers","mouseenter:mouseleave:click"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.cambiarTipoZoom()&&l}return l},null,null)),c["ɵdid"](8,212992,null,0,p.a,[c.ElementRef,c.Renderer2,c.Injector,c.ComponentFactoryResolver,c.ViewContainerRef,v.a,c.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(n()(),c["ɵted"](9,null,["",""])),(n()(),c["ɵted"](-1,null,["\n\t\t"])),(n()(),c["ɵand"](0,[["popoverTipoZoom",2]],null,0,null,l)),(n()(),c["ɵted"](-1,null,["\n\t\t"])),(n()(),c["ɵeld"](13,16777216,null,null,2,"button",[["class","btn btn-sm btn-secondary"],["data-placement","bottom"],["ngbPopover","Zoom +"],["style","float:right; margin-right: 165px; margin-top: -55px"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.zoomMas()&&l}return l},null,null)),c["ɵdid"](14,212992,null,0,p.a,[c.ElementRef,c.Renderer2,c.Injector,c.ComponentFactoryResolver,c.ViewContainerRef,v.a,c.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(n()(),c["ɵeld"](15,0,null,null,0,"i",[["class","fa fa-plus"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n\t\t"])),(n()(),c["ɵeld"](17,16777216,null,null,2,"button",[["class","btn btn-sm btn-secondary"],["data-placement","bottom"],["ngbPopover","Zoom -"],["style","float:right; margin-right: 132px; margin-top: -55px"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.zoomMenos()&&l}return l},null,null)),c["ɵdid"](18,212992,null,0,p.a,[c.ElementRef,c.Renderer2,c.Injector,c.ComponentFactoryResolver,c.ViewContainerRef,v.a,c.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(n()(),c["ɵeld"](19,0,null,null,0,"i",[["class","fa fa-minus"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n\t\t"])),(n()(),c["ɵeld"](21,16777216,null,null,2,"button",[["class","btn btn-sm btn-secondary"],["data-placement","bottom"],["ngbPopover","Centrar"],["style"," float:right; margin-right: 99px; margin-top: -55px"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.centrarCanvas()&&l}return l},null,null)),c["ɵdid"](22,212992,null,0,p.a,[c.ElementRef,c.Renderer2,c.Injector,c.ComponentFactoryResolver,c.ViewContainerRef,v.a,c.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(n()(),c["ɵeld"](23,0,null,null,0,"i",[["class","fa fa-arrows"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n\t\t"])),(n()(),c["ɵeld"](25,16777216,null,null,2,"button",[["class","btn btn-sm btn-secondary"],["data-placement","bottom"],["ngbPopover","Borrar"],["style"," float:right; margin-right: 66px; margin-top: -55px"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.limpiarCanvas()&&l}return l},null,null)),c["ɵdid"](26,212992,null,0,p.a,[c.ElementRef,c.Renderer2,c.Injector,c.ComponentFactoryResolver,c.ViewContainerRef,v.a,c.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(n()(),c["ɵeld"](27,0,null,null,0,"i",[["class","fa fa-trash"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n\n\t\t"])),(n()(),c["ɵeld"](29,16777216,null,null,2,"button",[["class","btn btn-sm btn-secondary"],["data-placement","bottom"],["ngbPopover","Descargar PNG"],["style","float:right; margin-right: 33px; margin-top: -55px"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(n,t,e){var l=!0,i=n.component;if("click"===t){l=!1!==i.exportImg()&&l}return l},null,null)),c["ɵdid"](30,212992,null,0,p.a,[c.ElementRef,c.Renderer2,c.Injector,c.ComponentFactoryResolver,c.ViewContainerRef,v.a,c.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(n()(),c["ɵeld"](31,0,null,null,0,"i",[["class","fa fa-download"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n\t\t"])),(n()(),c["ɵeld"](33,0,null,null,1,"a",[["download","Canvas.png"],["id","dl"],["style","display: none"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["Download Canvas"])),(n()(),c["ɵted"](-1,null,["\n\n\t\t"])),(n()(),c["ɵeld"](36,16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary"],["id","popover"],["placement","bottom"],["popoverTitle","Configuración"],["style","float:right; margin-top: -55px"],["tiggers","click"]],null,null,null,null,null)),c["ɵdid"](37,212992,[[2,4],["popover",4]],0,p.a,[c.ElementRef,c.Renderer2,c.Injector,c.ComponentFactoryResolver,c.ViewContainerRef,v.a,c.NgZone],{ngbPopover:[0,"ngbPopover"],popoverTitle:[1,"popoverTitle"],placement:[2,"placement"]},null),(n()(),c["ɵted"](-1,null,["\n\t\t\t"])),(n()(),c["ɵeld"](39,0,null,null,0,"i",[["class","fa fa-gear"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n\t\t"])),(n()(),c["ɵted"](-1,null,["\n\t\t"])),(n()(),c["ɵand"](0,[["popoverCanvas",2]],null,0,null,i)),(n()(),c["ɵted"](-1,null,["\n\t\t\n\t\t"])),(n()(),c["ɵand"](16777216,null,null,1,null,o)),c["ɵdid"](45,16384,null,0,g.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),c["ɵted"](-1,null,["\n\t\t"])),(n()(),c["ɵand"](16777216,null,null,1,null,r)),c["ɵdid"](48,16384,null,0,g.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),c["ɵted"](-1,null,["\n\t\t"])),(n()(),c["ɵand"](16777216,null,null,1,null,a)),c["ɵdid"](51,16384,null,0,g.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),c["ɵted"](-1,null,["\n\t\t"])),(n()(),c["ɵeld"](53,0,[[1,0],["canvasElement",1]],null,1,"canvas",[["height","2000"],["id","myCanvas"],["style","max-width: 100%;"],["width","2000"]],null,[[null,"mousemove"],[null,"touchmove"],[null,"touchstart"],[null,"touchend"],[null,"mouseleave"],[null,"mousewheel"],[null,"DOMMouseScroll"]],function(n,t,e){var l=!0,i=n.component;if("mousemove"===t){l=!1!==i.moveGraph(e)&&l}if("touchmove"===t){l=!1!==i.moveGraph(e)&&l}if("touchstart"===t){l=!1!==i.moveGraph(e)&&l}if("touchend"===t){l=!1!==i.moveGraph(e)&&l}if("mouseleave"===t){l=!1!==i.leaveCanvas(e)&&l}if("mousewheel"===t){l=!1!==i.zoomGraph(e)&&l}if("DOMMouseScroll"===t){l=!1!==i.zoomGraph(e)&&l}return l},null,null)),(n()(),c["ɵted"](-1,null,["\n\t\t"])),(n()(),c["ɵted"](-1,null,["\n\t\t\n\t"])),(n()(),c["ɵted"](-1,null,["\n"]))],function(n,t){var e=t.component;n(t,8,0,c["ɵnov"](t,11),"bottom","mouseenter:mouseleave:click");n(t,14,0,"Zoom +","bottom","mouseenter:mouseleave");n(t,18,0,"Zoom -","bottom","mouseenter:mouseleave");n(t,22,0,"Centrar","bottom","mouseenter:mouseleave");n(t,26,0,"Borrar","bottom","mouseenter:mouseleave");n(t,30,0,"Descargar PNG","bottom","mouseenter:mouseleave");n(t,37,0,c["ɵnov"](t,42),"Configuración","bottom"),n(t,45,0,!e.animando&&e.elementosAnimacion.length>0),n(t,48,0,e.animando&&e.elementosAnimacion.length>0),n(t,51,0,e.elementosAnimacion.length>0)},function(n,t){n(t,9,0,t.component.tipoZoom)})}function u(n){return c["ɵvid"](0,[(n()(),c["ɵeld"](0,0,null,null,1,"canvas-component",[],null,[["window","resize"],["document","click"]],function(n,t,e){var l=!0;if("window:resize"===t){l=!1!==c["ɵnov"](n,1).onResize(e)&&l}if("document:click"===t){l=!1!==c["ɵnov"](n,1).documentClicked(e)&&l}return l},s,C)),c["ɵdid"](1,4243456,null,0,m.a,[b.a],null,null)],null,null)}var c=e("/oeL"),h=e("gZxW"),d=e("n/Gy"),f=e("Wv1e"),m=e("pB18"),p=e("mQQt"),v=e("7zUS"),g=e("qbdv"),b=e("2qVr");e.d(t,"b",function(){return C}),t.a=s;var y=[],C=c["ɵcrt"]({encapsulation:2,styles:y,data:{}});c["ɵccf"]("canvas-component",m.a,u,{},{},[])},pB18:function(module,__webpack_exports__,__webpack_require__){"use strict";var __WEBPACK_IMPORTED_MODULE_0__shared_services_ghci_service__=__webpack_require__("2qVr");__webpack_require__.d(__webpack_exports__,"a",function(){return CanvasComponent});var CanvasComponent=function(){function CanvasComponent(ghciService){var _this=this;this.ghciService=ghciService,this.animar_=!0,this.objetos=[],this.evaluacionVertical=!0,this.elementosAnimacion=[],this.frameAnimacion=0,this.animando=!0,this.mostrarEjes=!0,this.mostrarGrilla=!0,this.tipoZoom="Todo",this.tipoZoomDesc="Zoom en ambos ejes",this.mostrarOcultarEjes=function(){this.mostrarEjes=!this.mostrarEjes,this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),this.dibujarObjetos()},this.mostrarOcultarGrilla=function(){this.mostrarGrilla=!this.mostrarGrilla,this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),this.dibujarObjetos()},this.mostrarEvaluacionVertical=function(){this.evaluacionVertical=!this.evaluacionVertical,this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),this.dibujarObjetos()},this.limpiarCanvas=function(){this.animar_=!1,clearTimeout(this.timeOutRef),this.objetos=[],this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),(this.mostrarEjes||this.mostrarGrilla)&&(this.drawXAxis(this.context),this.drawYAxis(this.context))},this.centrarCanvas=function(){this.maxX=10,this.maxY=10/this.aspectRatio,this.minX=-10,this.minY=-10/this.aspectRatio,this.rangeX=this.maxX-this.minX,this.rangeY=this.maxY-this.minY,this.unitsPerTickX=1,this.unitsPerTickY=1,this.unitX=this.canvasRef.nativeElement.width/this.rangeX,this.unitY=this.canvasRef.nativeElement.height/this.rangeY,this.centerY=-this.minY/this.rangeY*this.canvasRef.nativeElement.height,this.centerX=-this.minX/this.rangeX*this.canvasRef.nativeElement.width,this.iteration=(this.maxX-this.minX)/this.precision,this.scaleX=this.canvasRef.nativeElement.width/this.rangeX,this.scaleY=this.canvasRef.nativeElement.height/this.rangeY,this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),this.dibujarObjetos()},this.cambiarTipoZoom=function(){"Todo"==this.tipoZoom?(this.tipoZoom="Abscisa",this.tipoZoomDesc="Zoom en abscisa"):"Abscisa"==this.tipoZoom?(this.tipoZoom="Ordenada",this.tipoZoomDesc="Zoom en ordenada"):(this.tipoZoom="Todo",this.tipoZoomDesc="Zoom en ambos ejes")},this.generarFuncion=function(n){for(var t,e="",l=0,i=n.funs;l<i.length;l++){var o=i[l];e="var "+o.fun+" = function("+o.args.join()+"){\n return "+this.generarExpresion(o.bdy)+"}\n"+e,o.fun==n.graph&&(e+="return "+o.fun+"("+o.args.join()+");\n",t=o)}return e="("+t.args.join()+",delta,hayPunto)=>{\n"+e+"}"},this.generarExpresion=function(n){var t=this,e="";return"cnd"==n.kind?e=" ("+this.generarExpresion(n.cond)+"?"+this.generarExpresion(n.exp1)+":"+this.generarExpresion(n.exp2)+") ":"bop"==n.kind?e="=="==n.op?" Math.abs(("+this.generarExpresion(n.exp1)+") - ("+this.generarExpresion(n.exp2)+")) < delta && hayPunto() ":"/="==n.op?" Math.abs(("+this.generarExpresion(n.exp1)+") - ("+this.generarExpresion(n.exp2)+")) > delta || Math.abs(("+this.generarExpresion(n.exp1)+") - ("+this.generarExpresion(n.exp2)+")) < delta && !hayPunto() ":"^"==n.op?" Math.pow("+this.generarExpresion(n.exp1)+","+this.generarExpresion(n.exp2)+") ":" ("+this.generarExpresion(n.exp1)+")"+n.op+"("+this.generarExpresion(n.exp2)+") ":"uop"==n.kind?e=" "+n.op+" "+this.generarExpresion(n.exp)+" ":"app"==n.kind?("cos"==n.fun?n.fun="Math.cos":"sen"==n.fun?n.fun="Math.sin":"red"==n.fun&&(n.fun="Math.round"),e=" "+n.fun+"("+n.args.map(function(n){return t.generarExpresion(n)}).join()+") "):e="tup"==n.kind?" ("+n.exps.map(function(n){return t.generarExpresion(n)}).join()+") ":"lit"==n.kind?" "+n.val+" ":"var"==n.kind?" "+n.var+" ":" undefined ",e},this.animar=function(){this.animar_=!0,(this.mostrarEjes||this.mostrarGrilla)&&(this.drawXAxis(this.context),this.drawYAxis(this.context)),this.objetos=[],this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),(this.mostrarEjes||this.mostrarGrilla)&&(this.drawXAxis(this.context),this.drawYAxis(this.context)),this.objetos=this.elementosAnimacion[this.frameAnimacion],this.dibujarObjetos(),this.animando&&(this.timeOutRef=setTimeout(function(){this.animando&&(this.frameAnimacion++,this.frameAnimacion>=this.elementosAnimacion.length&&(this.frameAnimacion=0),this.animar_&&this.animar())}.bind(this),1e3))},this.dibujarObjetos=function(){(this.mostrarEjes||this.mostrarGrilla)&&(this.drawXAxis(this.context),this.drawYAxis(this.context));for(var n=0,t=this.objetos;n<t.length;n++){var e=t[n];"circulo"==e.tipo?this.drawCircle(e.x,e.y,e.r,e.color,e.rotacion):"grafica"==e.tipo?this.drawEquation(e.ecuacion,e.color,e.thickness):"rectangulo"==e.tipo?this.drawRect(e.x,e.y,e.w,e.h,e.color,e.rotacion):"texto"==e.tipo?this.drawText(e.x,e.y,e.text,e.size,e.color,e.rotacion):"poligono"==e.tipo?this.drawPolyline(!0,e.puntos,e.color,e.rotacion):"lineas"==e.tipo&&this.drawPolyline(!1,e.puntos,e.color,e.rotacion)}},this.Graph=function(n){this.config={canvasId:"myCanvas",minX:-10,minY:-10/n,maxX:10,maxY:10/n,unitsPerTickX:1,unitsPerTickY:1},this.aspectRatio=n,this.canvas=this.canvasRef,this.minX=this.config.minX,this.minY=this.config.minY,this.maxX=this.config.maxX,this.maxY=this.config.maxY,this.unitsPerTickX=this.config.unitsPerTickX,this.unitsPerTickY=this.config.unitsPerTickY,this.axisColor="#aaa",this.font="8pt Calibri",this.tickSize=10,this.context=this.canvasRef.nativeElement.getContext("2d"),this.rangeX=this.maxX-this.minX,this.rangeY=this.maxY-this.minY,this.unitX=this.canvasRef.nativeElement.width/this.rangeX,this.unitY=this.canvasRef.nativeElement.height/this.rangeY,this.centerY=Math.round(Math.abs(this.minY/this.rangeY)*this.canvasRef.nativeElement.height),this.centerX=Math.round(Math.abs(this.minX/this.rangeX)*this.canvasRef.nativeElement.width),this.precision=1e3,this.iteration=(this.maxX-this.minX)/this.precision,this.scaleX=this.canvasRef.nativeElement.width/this.rangeX,this.scaleY=this.canvasRef.nativeElement.height/this.rangeY},this.drawXAxis=function(n){n.save();var t=this.unitsPerTickX*this.unitX;n.font=this.font,n.textAlign="center",n.textBaseline="top";var e=this.centerX-t,l=-1*this.unitsPerTickX;for(this.mostrarGrilla&&(n.beginPath(),n.strokeStyle="#EEEEEE",n.lineWidth=1,n.moveTo(this.centerX,0),n.lineTo(this.centerX,this.canvasRef.nativeElement.height),n.stroke());e>0;)this.mostrarGrilla&&(n.beginPath(),n.strokeStyle="#EEEEEE",n.lineWidth=1,n.moveTo(e,0),n.lineTo(e,this.canvasRef.nativeElement.height),n.stroke()),this.mostrarEjes&&(n.beginPath(),n.strokeStyle=this.axisColor,n.lineWidth=2,n.moveTo(e,this.centerY-this.tickSize/2),n.lineTo(e,this.centerY+this.tickSize/2),n.stroke(),n.fillText(l+"",e,this.centerY+this.tickSize/2+3)),l=parseFloat((l-this.unitsPerTickX).toFixed(2)),e=Math.round(e-t);for(e=this.centerX+t,l=this.unitsPerTickX;e<this.canvas.nativeElement.width;)this.mostrarGrilla&&(n.beginPath(),n.strokeStyle="#EEEEEE",n.lineWidth=1,n.moveTo(e,0),n.lineTo(e,this.canvasRef.nativeElement.height),n.stroke()),this.mostrarEjes&&(n.beginPath(),n.strokeStyle=this.axisColor,n.lineWidth=2,n.moveTo(e,this.centerY-this.tickSize/2),n.lineTo(e,this.centerY+this.tickSize/2),n.stroke(),n.fillText(l+"",e,this.centerY+this.tickSize/2+3)),l=parseFloat((l+this.unitsPerTickX).toFixed(2)),e=Math.round(e+t);this.mostrarEjes&&(n.beginPath(),n.strokeStyle=this.axisColor,n.lineWidth=2,n.moveTo(0,this.centerY),n.lineTo(this.canvasRef.nativeElement.width,this.centerY),n.stroke(),n.moveTo(this.canvasRef.nativeElement.width,this.centerY),n.lineTo(this.canvasRef.nativeElement.width-12,this.centerY-5),n.stroke(),n.moveTo(this.canvasRef.nativeElement.width,this.centerY),n.lineTo(this.canvasRef.nativeElement.width-12,this.centerY+5),n.stroke()),n.restore()},this.drawYAxis=function(n){n.save();var t=this.unitsPerTickY*this.unitY;n.font=this.font,n.textAlign="right",n.textBaseline="middle";var e=this.centerY-t,l=this.unitsPerTickY;for(this.mostrarGrilla&&(n.beginPath(),n.strokeStyle="#EEEEEE",n.lineWidth=1,n.moveTo(0,this.centerY),n.lineTo(this.canvasRef.nativeElement.width,this.centerY),n.stroke());e>0;)this.mostrarGrilla&&(n.beginPath(),n.strokeStyle="#EEEEEE",n.lineWidth=1,n.moveTo(0,e),n.lineTo(this.canvasRef.nativeElement.width,e),n.stroke()),this.mostrarEjes&&(n.beginPath(),n.strokeStyle=this.axisColor,n.lineWidth=2,n.moveTo(this.centerX-this.tickSize/2,e),n.lineTo(this.centerX+this.tickSize/2,e),n.stroke(),n.fillText(l,this.centerX-this.tickSize/2-3,e)),l=parseFloat((l+this.unitsPerTickY).toFixed(2)),e=Math.round(e-t);for(e=this.centerY+t,l=-1*this.unitsPerTickY;e<this.canvasRef.nativeElement.height;)this.mostrarGrilla&&(n.beginPath(),n.strokeStyle="#EEEEEE",n.lineWidth=1,n.moveTo(0,e),n.lineTo(this.canvasRef.nativeElement.width,e),n.stroke()),this.mostrarEjes&&(n.beginPath(),n.strokeStyle=this.axisColor,n.lineWidth=2,n.moveTo(this.centerX-this.tickSize/2,e),n.lineTo(this.centerX+this.tickSize/2,e),n.stroke(),n.fillText(l,this.centerX-this.tickSize/2-3,e)),l=parseFloat((l-this.unitsPerTickY).toFixed(2)),e=Math.round(e+t);this.mostrarEjes&&(n.beginPath(),n.strokeStyle=this.axisColor,n.lineWidth=2,n.moveTo(this.centerX,0),n.lineTo(this.centerX,this.canvasRef.nativeElement.height),n.stroke(),n.moveTo(this.centerX,0),n.lineTo(this.centerX+5,12),n.stroke(),n.moveTo(this.centerX,0),n.lineTo(this.centerX-5,12),n.stroke()),n.restore()},this.transformContext=function(n){n.translate(this.centerX,this.centerY),n.scale(this.scaleX,-this.scaleY)},this.hayGraficas=function(){for(var n=0,t=this.objetos;n<t.length;n++){if("grafica"==t[n].tipo)return!0}return!1},this.verticalLine=function(n,t){if(this.hayGraficas()){this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),this.dibujarObjetos();this.context;this.context.moveTo(n,0),this.context.lineTo(n,this.canvasRef.nativeElement.height);for(var e=-this.centerX/this.scaleX,l=-this.centerY/this.scaleY,i=n/this.canvasRef.nativeElement.width*this.rangeX+e,o=0,r=this.objetos;o<r.length;o++){var a=r[o];if("grafica"==a.tipo){var i=Math.trunc(100*i)/100,s=a.ecuacion(i,this.rangeX/500,function(){return!0}),u=-(s+l)/this.rangeY*this.canvasRef.nativeElement.height;a.color&&(this.context.fillStyle=a.color),this.context.fillText("("+i.toFixed(2)+","+s.toFixed(2)+")",n+10,u),this.context.fillStyle="black",this.context.fillRect(n-2.5,u-2.5,5,5)}}this.context.stroke()}},this.leaveCanvas=function(n){this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),this.dibujarObjetos()},this.moveGraph=function(n){if(1===n.buttons&&"mousemove"==n.type)this.centerX+=n.offsetX-this.lastPositionX,this.centerY+=n.offsetY-this.lastPositionY,this.minX=-this.centerX/this.scaleX,this.maxY=this.centerY/this.scaleY,this.maxX=this.canvasRef.nativeElement.width/this.scaleX-this.centerX/this.scaleX,this.minY=-(this.canvasRef.nativeElement.height/this.scaleY-this.centerY/this.scaleY),this.lastPositionX=n.offsetX,this.lastPositionY=n.offsetY,this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),this.dibujarObjetos();else if("touchend"==n.type)1==n.touches.length&&(this.lastPositionX=n.touches[0].clientX,this.lastPositionY=n.touches[0].clientY);else if("touchmove"==n.type){if(1==n.touches.length)this.centerX+=n.touches[0].clientX-this.lastPositionX,this.centerY+=n.touches[0].clientY-this.lastPositionY,this.minX=-this.centerX/this.scaleX,this.maxY=this.centerY/this.scaleY,this.maxX=this.canvasRef.nativeElement.width/this.scaleX-this.centerX/this.scaleX,this.minY=-(this.canvasRef.nativeElement.height/this.scaleY-this.centerY/this.scaleY),this.lastPositionX=n.touches[0].clientX,this.lastPositionY=n.touches[0].clientY,this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),this.dibujarObjetos();else if(this.lastZoom&&n.touches.length>1){this.lastPositionX=n.touches[0].clientX,this.lastPositionY=n.touches[0].clientY;var t=n.touches[1].clientX,e=n.touches[1].clientY,l=Math.sqrt(Math.pow(this.lastPositionX-t,2)+Math.pow(this.lastPositionY-e,2));Math.abs(l-this.lastZoom)>2&&this.zoom((l-this.lastZoom)/15),this.lastZoom=l}}else if("touchstart"==n.type)if(this.lastPositionX=n.touches[0].clientX,this.lastPositionY=n.touches[0].clientY,n.touches.length>1){var t=n.touches[1].clientX,e=n.touches[1].clientY;this.lastZoom=Math.sqrt(Math.pow(this.lastPositionX-t,2)+Math.pow(this.lastPositionY-e,2))}else this.lastZoom=void 0;else this.lastPositionX=n.offsetX,this.lastPositionY=n.offsetY;if(this.evaluacionVertical){var t,e,i=this.canvasRef.nativeElement.getBoundingClientRect();n instanceof MouseEvent?(t=n.clientX-i.left,e=n.clientY-i.top):n instanceof TouchEvent&&(t=n.touches[0].clientX-i.left,e=n.touches[0].clientY-i.top),this.verticalLine(t,e)}n instanceof TouchEvent&&n.preventDefault()},this.zoomGraph=function(n){var n=window.event||n,t=Math.max(-1,Math.min(1,n.wheelDelta||-n.detail));return this.zoom(t,n.clientX,n.clientY),!1},this.zoomMas=function(){this.zoom(1)},this.zoomMenos=function(){this.zoom(-1)},this.zoom=function(n,t,e){var l=n*this.rangeX/20,i=n*this.rangeY/20;if(!("Todo"==this.tipoZoom&&(this.rangeX<.1&&l>0||this.rangeX>1e4&&l<0||this.rangeY<.1&&i>0||this.rangeY>1e4&&i<0)||"Abscisa"==this.tipoZoom&&(this.rangeX<.1&&l>0||this.rangeX>1e4&&l<0)||"Ordenada"==this.tipoZoom&&(this.rangeY<.1&&i>0||this.rangeY>1e4&&i<0))){if(t&&e){var o=this.canvasRef.nativeElement.getBoundingClientRect(),r=t-o.left,a=e-o.top,s=-this.centerX/this.scaleX,u=-(this.canvasRef.nativeElement.height/this.scaleY-this.centerY/this.scaleY),c=r/this.canvasRef.nativeElement.width*this.rangeX+s,h=(1-a/this.canvasRef.nativeElement.height)*this.rangeY+u,d=Math.abs(c-this.minX)/Math.abs(this.maxX-this.minX),f=Math.abs(h-this.minY)/Math.abs(this.maxY-this.minY);"Todo"==this.tipoZoom?(this.maxX-=l*(1-d),this.maxY-=i*(1-f),this.minX+=l*d,this.minY+=i*f):"Abscisa"==this.tipoZoom?(this.maxX-=l*(1-d),this.minX+=l*d):(this.maxY-=i*(1-f),this.minY+=i*f)}else"Todo"==this.tipoZoom?(this.maxX-=l,this.maxY-=i,this.minX+=l,this.minY+=i):"Abscisa"==this.tipoZoom?(this.maxX-=l,this.minX+=l):(this.maxY-=i,this.minY+=i);this.rangeX=this.maxX-this.minX,this.rangeY=this.maxY-this.minY,this.rangeX>15?this.unitsPerTickX=Math.round(this.rangeX/15):this.rangeX>4?this.unitsPerTickX=1:this.rangeX>1.5?this.unitsPerTickX=Math.round(this.rangeX/15*10)/10:this.rangeX>.4?this.unitsPerTickX=.1:this.rangeX>.15?this.unitsPerTickX=Math.round(this.rangeX/15*100)/100:this.unitsPerTickX=.01,this.rangeY>15?this.unitsPerTickY=Math.round(this.rangeY/15):this.rangeY>4?this.unitsPerTickY=1:this.rangeY>1.5?this.unitsPerTickY=Math.round(this.rangeY/15*10)/10:this.rangeY>.4?this.unitsPerTickY=.1:this.rangeY>.15?this.unitsPerTickY=Math.round(this.rangeY/15*100)/100:this.unitsPerTickY=.01,this.unitX=this.canvasRef.nativeElement.width/this.rangeX,this.unitY=this.canvasRef.nativeElement.height/this.rangeY,this.centerY=this.maxY/this.rangeY*this.canvasRef.nativeElement.height,this.centerX=-this.minX/this.rangeX*this.canvasRef.nativeElement.width,this.iteration=(this.maxX-this.minX)/this.precision,this.scaleX=this.canvasRef.nativeElement.width/this.rangeX,this.scaleY=this.canvasRef.nativeElement.height/this.rangeY,this.context.clearRect(0,0,this.canvasRef.nativeElement.width,this.canvasRef.nativeElement.height),this.dibujarObjetos()}},this.drawCircle=function(n,t,e,l,i){var o=this.context;o.save(),o.save(),this.transformContext(o),o.beginPath();try{o.translate(0,0);var r=i*Math.PI/180,a=Math.cos(r)*n-Math.sin(r)*t,s=Math.sin(r)*n+Math.cos(r)*t;o.rotate(-r),this.context.arc(a,s,e,0,2*Math.PI,!1),l&&(o.fillStyle=l,o.fill())}catch(n){this.limpiarCanvas()}o.restore(),o.lineJoin="round",o.lineWidth=this.thickness,o.strokeStyle=this.color,o.stroke(),o.restore()},this.drawText=function(n,t,e,l,i,o){this.context.save();var r=-this.centerX/this.scaleX,a=-this.centerY/this.scaleY,s=-(t+a)/this.rangeY*this.canvasRef.nativeElement.height,u=(n-r)/this.rangeX*this.canvasRef.nativeElement.width;i&&(this.context.fillStyle=i),this.context.translate(u,s);var c=o*Math.PI/180;this.context.rotate(c),this.context.font=100*l/this.rangeX+"pt Arial",this.context.textBaseline="middle",this.context.textAlign="center",this.context.fillText(e,0,0),this.context.restore()},this.drawRect=function(n,t,e,l,i,o){var r=this.context;r.save(),r.save(),this.transformContext(r),r.beginPath();try{r.translate(0,0);var a=o*Math.PI/180,s=Math.cos(a)*n-Math.sin(a)*t,u=Math.sin(a)*n+Math.cos(a)*t;r.rotate(-a),r.rect(s-e/2,u-l/2,e,l),i&&(r.fillStyle=i,r.fill()),r.translate(this.centerX,this.centerY)}catch(n){this.limpiarCanvas()}r.restore(),r.lineJoin="round",r.lineWidth=this.thickness,r.strokeStyle=this.color,r.stroke(),r.restore()},this.drawElipse=function(n,t,e,l,i){var o=this.context;this.color="green",this.thickness=3,o.save(),o.save(),this.transformContext(o),o.beginPath();try{this.context.ellipse(n,t,e,l,i*Math.PI/180,0,2*Math.PI)}catch(n){this.limpiarCanvas()}o.restore(),o.lineJoin="round",o.lineWidth=this.thickness,o.strokeStyle=this.color,o.stroke(),o.restore()},this.drawEquation=function(n,t,e){var l=this.context;l.save(),l.save(),this.transformContext(l),l.beginPath(),l.lineWidth=e;try{var i=n(this.minX);i>1e7?i=1e7:i<-1e7&&(i=-1e7),l.moveTo(this.minX,i);for(var o=!0,r=void 0,a=void 0,s=void 0,u=(this.precision,this.rangeX/this.precision),c=this.rangeX/200,h=this.minX+this.iteration;h<=this.maxX;h+=this.iteration)try{var d=!1,f=function(){return d=!0,!0},m=n(h,u,f);if(d)this.context.fillRect(h-c/2,m-c/2,c,c),o=!0,d=!1;else{if(void 0!=s){var p=Math.tan(Math.atan(s)+Math.PI/8),v=Math.tan(Math.atan(s)-Math.PI/8);s>0&&p<0&&(p=1e20),s<0&&v>0&&(v=-1e20);var g=(h-r)*p-(m-a),b=(h-r)*v-(m-a);(g<0||b>0)&&(o=!0)}r&&(s=(m-a)/(h-r));var y=m;m>1e7?y=1e7:m<-1e7&&(y=-1e7),o?(l.moveTo(h,y),o=!1):l.lineTo(h,y)}r=h,a=m}catch(n){o=!0}}catch(n){this.limpiarCanvas()}l.restore(),l.lineJoin="bevel",l.lineWidth=e,l.strokeStyle=t,l.stroke(),l.restore()},this.drawPolyline=function(n,t,e,l){var i=this.context;i.save(),i.save(),this.transformContext(i),i.beginPath();try{if(t.length>1){var o=t[0];i.moveTo(o[0],o[1]);for(var r=0,a=t;r<a.length;r++){var s=a[r];i.lineTo(s[0],s[1])}n&&i.lineTo(o[0],o[1])}}catch(n){this.limpiarCanvas()}i.restore(),i.lineJoin="round",i.strokeStyle=e,e&&(i.fillStyle=e,i.fill()),i.strokeStyle="black",i.stroke(),i.restore()},ghciService.messages.subscribe(function(canvas){if(_this.limpiarCanvas(),"canvas"==canvas.tipo)_this.objetos=JSON.parse(canvas.resultado),_this.elementosAnimacion=[],_this.frameAnimacion=0,_this.dibujarObjetos();else if("animacion"==canvas.tipo)_this.elementosAnimacion=canvas.resultado.map(function(n){return JSON.parse(n)}),_this.frameAnimacion=0,_this.animando=!0,_this.animar();else if("graph"==canvas.tipo){var jsonCanvas=JSON.parse(canvas.resultado),fun=_this.generarFuncion(jsonCanvas);_this.objetos=[{tipo:"grafica",ecuacion:eval(fun),color:"black",thickness:2}],_this.dibujarObjetos()}},function(n){_this.objetos=[]})}return CanvasComponent.prototype.onResize=function(n){if(this.canvasRef.nativeElement.offsetParent){var t=window.devicePixelRatio||1;t>2?t=2:t<1&&(t=1),this.canvasRef.nativeElement.width=this.canvasRef.nativeElement.offsetParent.offsetWidth*t*.94,this.canvasRef.nativeElement.height=this.canvasRef.nativeElement.offsetParent.offsetHeight*t*.94;var e=this.canvasRef.nativeElement.width/this.canvasRef.nativeElement.height;this.Graph(e),this.dibujarObjetos()}},CanvasComponent.prototype.exportImg=function(){function n(){var n;n=document.getElementById("myCanvas");var t=n.toDataURL("image/png");t=t.replace(/^data:image\/[^;]*/,"data:application/octet-stream"),t=t.replace(/^data:application\/octet-stream/,"data:application/octet-stream;headers=Content-Disposition%3A%20attachment%3B%20filename=Canvas.png"),this.href=t}document.getElementById("dl").addEventListener("click",n,!1),document.getElementById("dl").click()},CanvasComponent.prototype.ngAfterViewInit=function(){this.canvasRef.nativeElement.width=.94*this.canvasRef.nativeElement.offsetParent.offsetWidth,this.canvasRef.nativeElement.height=.94*this.canvasRef.nativeElement.offsetParent.offsetHeight;var n=this.canvasRef.nativeElement.width/this.canvasRef.nativeElement.height;this.Graph(n),this.dibujarObjetos()},CanvasComponent.prototype.documentClicked=function(n){if(this.popover&&this.popover.isOpen()&&!this.popover._elementRef.nativeElement.contains(n.target)){this.popover._windowRef.location.nativeElement.contains(n.target)||this.popover.close()}},CanvasComponent.prototype.play=function(){this.animando=!0,this.animar()},CanvasComponent.prototype.pause=function(){this.animando=!1},CanvasComponent.ctorParameters=function(){return[{type:__WEBPACK_IMPORTED_MODULE_0__shared_services_ghci_service__.a}]},CanvasComponent}()},ppY8:function(n,t,e){!function(n){n(e("oiK7"))}(function(n){function t(n,t,e){var l,i=n.getWrapperElement();return l=i.appendChild(document.createElement("div")),l.className=e?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof t?l.innerHTML=t:l.appendChild(t),l}function e(n,t){n.state.currentNotificationClose&&n.state.currentNotificationClose(),n.state.currentNotificationClose=t}n.defineExtension("openDialog",function(l,i,o){function r(n){if("string"==typeof n)h.value=n;else{if(u)return;u=!0,s.parentNode.removeChild(s),c.focus(),o.onClose&&o.onClose(s)}}o||(o={}),e(this,null);var a,s=t(this,l,o.bottom),u=!1,c=this,h=s.getElementsByTagName("input")[0];return h?(h.focus(),o.value&&(h.value=o.value,!1!==o.selectValueOnOpen&&h.select()),o.onInput&&n.on(h,"input",function(n){o.onInput(n,h.value,r)}),o.onKeyUp&&n.on(h,"keyup",function(n){o.onKeyUp(n,h.value,r)}),n.on(h,"keydown",function(t){o&&o.onKeyDown&&o.onKeyDown(t,h.value,r)||((27==t.keyCode||!1!==o.closeOnEnter&&13==t.keyCode)&&(h.blur(),n.e_stop(t),r()),13==t.keyCode&&i(h.value,t))}),!1!==o.closeOnBlur&&n.on(h,"blur",r)):(a=s.getElementsByTagName("button")[0])&&(n.on(a,"click",function(){r(),c.focus()}),!1!==o.closeOnBlur&&n.on(a,"blur",r),a.focus()),r}),n.defineExtension("openConfirm",function(l,i,o){function r(){u||(u=!0,a.parentNode.removeChild(a),c.focus())}e(this,null);var a=t(this,l,o&&o.bottom),s=a.getElementsByTagName("button"),u=!1,c=this,h=1;s[0].focus();for(var d=0;d<s.length;++d){var f=s[d];!function(t){n.on(f,"click",function(e){n.e_preventDefault(e),r(),t&&t(c)})}(i[d]),n.on(f,"blur",function(){--h,setTimeout(function(){h<=0&&r()},200)}),n.on(f,"focus",function(){++h})}}),n.defineExtension("openNotification",function(l,i){function o(){s||(s=!0,clearTimeout(r),a.parentNode.removeChild(a))}e(this,o);var r,a=t(this,l,i&&i.bottom),s=!1,u=i&&void 0!==i.duration?i.duration:5e3;return n.on(a,"click",function(t){n.e_preventDefault(t),o()}),u&&(r=setTimeout(o,u)),o})})},qtCd:function(n,t,e){"use strict";var l=e("Dqrr");e.n(l);e.d(t,"a",function(){return i});var i=function(){function n(){}return n.prototype.connect=function(n){return this.subject||(this.subject=this.create(n),console.log("Successfully connected: "+n)),this.subject},n.prototype.create=function(n){var t=new WebSocket(n),e=l.Observable.create(function(n){return t.onmessage=n.next.bind(n),t.onerror=n.error.bind(n),t.onclose=n.complete.bind(n),t.close.bind(t)}),i={next:function(n){t.readyState===WebSocket.OPEN?t.send(JSON.stringify(n)):console.log("Se perdio la conexion")}};return l.Subject.create(i,e)},n.ctorParameters=function(){return[]},n}()},s6Yw:function(n,t,e){"use strict";e.d(t,"a",function(){return l});var l=function(){function n(){}return n}()},sRze:function(n,t,e){"use strict";var l=e("/oeL"),i=e("dh/p"),o=e("fdEY"),r=e("h7Ol"),a=e("2qVr"),s=e("6akk"),u=e("78g9"),c=e("HXxp"),h=e("UfLB"),d=e("ij+S"),f=e("p2gU"),m=(e.n(f),e("uiTn")),p=e("xpf9"),v=(e.n(p),e("5v8a")),g=(e.n(v),e("WC4F")),b=(e.n(g),e("lDY9")),y=(e.n(b),e("99fb")),C=(e.n(y),e("H6+I")),x=(e.n(C),e("oiK7")),E=(e.n(x),e("L8b4")),k=(e.n(E),e("ppY8")),R=(e.n(k),e("tyH6")),w=(e.n(R),e("Qdk6")),S=(e.n(w),e("EZ6d"));e.n(S);e.d(t,"a",function(){return X});var P,T,M,X=function(){function n(n,t,e,l,i,o,r,a){if(this.haskellService=n,this.authService=t,this.ghciService=e,this.elRef=l,this.notifService=i,this.sessionService=o,this.dialogService=r,this.usuarioService=a,this.consoleDisable=!1,this.consolaVisible=!0,this.cursorLabelInit=!1,this.entrada="",this.modificado=!1,this.argumentoI=!1,this.argumentoF=!1,this.editableLoaded=!1,this.editDialogFired=!1,this.code="",this.configCodeMirror={readOnly:!1,lineNumbers:!0,lineWrapping:!0,extraKeys:{"Ctrl-Space":"autocomplete"},mode:{name:"matefun",globalVars:!0},gutters:["CodeMirror-linenumbers","breakpoints"],theme:"dracula",fontSize:12},this.themes=["3024-day","3024-night","abcdef","ambiance-mobile","ambiance","base16-dark","base16-light","bespin","blackboard","cobalt","colorforth","dracula","duotone-dark","duotone-light","eclipse","elegant","erlang-dark","hopscotch","icecoder","isotope","lesser-dark","liquibyte","material","mbo","mdn-like","midnight","monokai","neat","neo","night","panda-syntax","paraiso-dark","paraiso-light","pastel-on-dark","railscasts","rubyblue","seti","solarized","the-matrix","tomorrow-night-bright","tomorrow-night-eighties","ttcn","twilight","vibrant-ink","xq-dark","xq-light","yeti","zenburn"],this.funcionSTR="Math.sin(x)*x*x-20",this.consola="",this.command="",this.tipo=1,this.onKey=function(n){this.funcionSTR=n,this.archivo.contenido=n},this.writeCommand=function(n){this.command=n.split("\n")[n.split("\n").length-1]},this.selectFunction=function(){this.tipo=1,this.funcionSTR="Math.sin(x)*x*x-20"},this.selectElipse=function(){this.tipo=2,this.funcionSTR="elipse(x,y,radioX, radioY, rotacion_en_grados)"},this.selectCircle=function(){this.tipo=3,this.funcionSTR="circulo(x,y,radio)"},this.elipse=function(n,t,e,l,i){return[n,t,e,l,i]},this.circulo=function(n,t,e){return[n,t,e]},this.archivo=o.getArchivo(),this.archivo&&this.archivo.id||this.newFile(),this.copiaContenidoArchivo=this.archivo.contenido,this.copiaNombreArchivo=this.archivo.nombre,t.getUser().configuracion){var s=t.getUser().configuracion;s.fontSizeEditor<=30&&s.fontSizeEditor>=8&&(this.configCodeMirror.fontSize=s.fontSizeEditor),this.themes.some(function(n){return n==s.themeEditor})&&(this.configCodeMirror.theme=s.themeEditor),sessionStorage.setItem("codeMirrorConfig",JSON.stringify(this.configCodeMirror)),this.argumentoI=s.argumentoI,this.argumentoF=s.argumentoF}this.code="my code"}return n.prototype.updateConfig=function(n){this.configCodeMirror.theme=n,this.codemirror.instance.setOption("theme",n),sessionStorage.setItem("codeMirrorConfig",JSON.stringify(this.configCodeMirror))},n.prototype.lockSaveButton=function(){this.copiaNombreArchivo=this.archivo.nombre,this.copiaContenidoArchivo=this.archivo.contenido,this.modificado=!1},n.prototype.showConfirm=function(){this.dialogService.addDialog(h.a,{title:"Está intentando editar un archivo de solo lectura",message:"Está editando un archivo de solo lectura, desea continuar?"}).subscribe(function(n){n&&(P.options.readOnly=!1,T.editDialogFired=!0)})},n.prototype.makePanel=function(){var n=document.createElement("div");n.id="cursorpos-panel",n.className="panel bottom",this.cursorPanelLabel=n.appendChild(document.createElement("span"));var t=this.codemirror.instance,e=t.getCursor().line,l=t.getCursor().ch;e=(Number(e)+1).toString(),l=(Number(l)+1).toString(),this.cursorPanelLabel.textContent="Posición del cursor: ("+e+","+l+")",this.cursorPanel=this.codemirror.instance.addPanel(n,{position:"bottom",stable:!0});var i=this;this.codemirror.instance.on("cursorActivity",function(n){var t=n.getCursor().line,e=n.getCursor().ch;t=(Number(t)+1).toString(),e=(Number(e)+1).toString(),i.cursorPanel.node.innerText="Posición del cursor: ("+t+","+e+")"}),this.codemirror.instance.on("keyHandled",function(n,t,e){"Digit1"===t.code&&t.ctrlKey&&t.shiftKey?i.seleccionarDirectorio():"Digit2"===t.code&&t.ctrlKey&&t.shiftKey&&i.saveConfig()}),this.codemirror.instance.on("keypress",function(n,t,e){!i.editDialogFired&&"docente"===JSON.parse(sessionStorage.currentUser).tipo&&n.options.readOnly&&(P=i.codemirror.instance,T=i,i.showConfirm())})},n.prototype.saveConfig=function(){var n=this,t=new c.a;t.themeEditor=this.configCodeMirror.theme,t.fontSizeEditor=this.configCodeMirror.fontSize;var e=this.authService.getUserConfig(),l=e.argumentoF!=this.argumentoF||e.argumentoI!=this.argumentoI;t.argumentoF=this.argumentoF,t.argumentoI=this.argumentoI,this.usuarioService.actualizarConfiguracion(this.authService.getUser().cedula,t).subscribe(function(t){n.popover.close(),n.authService.setUserConfig(t),l&&n.reiniciarInterprete()},function(t){n.notifService.error(t),n.popover.close()})},n.prototype.aumentarFuente=function(){this.configCodeMirror.fontSize<30&&this.configCodeMirror.fontSize++},n.prototype.disminuirFuente=function(){this.configCodeMirror.fontSize>8&&this.configCodeMirror.fontSize--},n.prototype.documentClicked=function(n){if(this.popover&&this.popover.isOpen()&&!this.popover._elementRef.nativeElement.contains(n.target)){this.popover._windowRef.location.nativeElement.contains(n.target)||this.popover.close()}},n.prototype.ngOnInit=function(){function n(n){var t=window.event?event:n;if(90==t.keyCode&&t.ctrlKey,"a"===t.key.toLowerCase()&&t.ctrlKey)return T.seleccionarDirectorio(),!1;if("e"===t.key.toLowerCase()&&t.ctrlKey)return T.downloadFile(),!1;if("r"===t.key.toLowerCase()&&t.ctrlKey)return T.reiniciarInterprete(),!1;if("g"===t.key.toLowerCase()&&t.ctrlKey)return T.guardarArchivo(),!1;if("o"===t.key.toLowerCase()&&t.ctrlKey)return document.getElementById("popover").click(),!1;if(t.ctrlKey&&t.altKey&&"p"===t.key.toLowerCase()){document.getElementById("ProgramBtn").click();var e=T;return setTimeout(function(){e.codemirror.instance.focus()},250),T.codemirror.instance.focus(),M="program",!1}return t.ctrlKey&&t.altKey&&"c"===t.key.toLowerCase()?(T.ghciService.focusConsole(),M="consola",!1):t.ctrlKey&&t.altKey&&"f"===t.key.toLowerCase()?(document.getElementById("FigurasBtn").click(),T.ghciService.focusConsole(),M="graficas",!1):"p"===t.key.toLowerCase()&&t.ctrlKey&&!t.altKey?(T.runCode(),!1):void 0}var t=this;this.ghciService.rendered(),this.haskellService.getArchivos(this.authService.getUser().cedula).subscribe(function(n){t.buildTreeFromList(n)},function(n){return console.log("Error al obtener los archivos del alumno")}),document.onkeydown=n},n.prototype.ngAfterViewInit=function(){if(T=this,null==this.codemirror.instance||this.cursorLabelInit||(this.cursorLabelInit=!0,this.codemirror.instance.setOption("theme",this.configCodeMirror.theme),this.makePanel()),!this.editableLoaded&&null!=this.codemirror.instance&&void 0!==this.sessionService.archivo.editable)try{var n=this.sessionService.archivo.editable&&("Edicion"==this.sessionService.archivo.estado||"Devuelto"==this.sessionService.archivo.estado);this.codemirror.instance.options.readOnly=!n,this.editableLoaded=!0}catch(n){return}},n.prototype.htmlEncode=function(n){return n.replace("Prelude> ","").replace(/&/g,"&").replace(/\s/g," ").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")},n.prototype.inputConsola=function(n){this.entrada=n},n.prototype.newFile=function(){this.archivo=new u.b,this.archivo.cedulaCreador=this.authService.getUser().cedula,this.archivo.contenido="",this.archivo.nombre="",this.copiaNombreArchivo="",this.copiaContenidoArchivo=""},n.prototype.archivoModificado=function(){this.copiaNombreArchivo!=this.archivo.nombre||this.copiaContenidoArchivo!=this.archivo.contenido?this.modificado=!0:this.modificado=!1},n.prototype.guardarArchivo=function(){var n=this,t=/^[A-Z]/;""==this.archivo.nombre.trim()?this.notifService.error("Nombre de archivo sin especificar"):t.test(this.archivo.nombre)?this.archivo.id?this.haskellService.editarArchivo(this.archivo.id,this.archivo).subscribe(function(t){n.archivo=t,n.lockSaveButton()},function(t){n.notifService.error(t)}):this.haskellService.crearArchivo(this.archivo).subscribe(function(t){n.archivo=t,n.lockSaveButton()},function(t){n.notifService.error(t)}):this.notifService.error("Nombre de archivo debe iniciar con mayusula.")},n.prototype.runCode=function(){var n=this;this.ghciService.setCodemirrorRef(this.codemirror.instance),this.ghciService.resetGutters();var t=/^[A-Z]/;if(""==this.archivo.nombre.trim())this.notifService.error("Nombre de archivo sin especificar");else if(t.test(this.archivo.nombre)){var e=this.sessionService.cargarDependencias(this.archivo);if("miss"===e.status)return void this.ghciService.outputConsole("Error: No se encuentra el archivo "+e.nombre+"\n");if(this.archivo.id)if(this.archivo.editable||"docente"==this.authService.getUser().tipo)this.haskellService.editarArchivo(this.archivo.id,this.archivo).subscribe(function(t){n.archivo=t;var e=n.sessionService.getDependencias(),l=[];for(var i in e)l.push(e[i].id);l.some(function(n){return n==t.id})||l.push(t.id),n.lockSaveButton(),n.ghciService.loadFile(t.id,l)},function(t){n.notifService.error(t)});else{var l=this.sessionService.getDependencias(),i=[];for(var o in l)i.push(l[o].id);i.some(function(t){return t==n.archivo.id})||i.push(this.archivo.id),this.ghciService.loadFile(this.archivo.id,i)}else this.haskellService.crearArchivo(this.archivo).subscribe(function(t){n.archivo=t,n.lockSaveButton(),n.ghciService.loadFile(t.id,[])},function(t){n.notifService.error(t)})}else this.notifService.error("Nombre de archivo debe iniciar con mayusula.");this.ghciService.focusConsole()},n.prototype.download=function(n,t){var e=document.createElement("a");e.setAttribute("href","data:application/octet-stream,"+encodeURIComponent(t)),e.setAttribute("download",n+".mf"),e.style.display="none",document.body.appendChild(e),e.click(),document.body.removeChild(e)},n.prototype.downloadFile=function(){var n=this.archivo.nombre,t=this.archivo.contenido;void 0!=n&&""!=n&&void 0!=t&&""!=t&&this.download(n,t)},n.prototype.reiniciarInterprete=function(){this.ghciService.reiniciarInterprete()},n.prototype.toggleConsole=function(){this.consolaVisible=!this.consolaVisible},n.prototype.seleccionarDirectorio=function(){this.archivosTree=this.sessionService.getArchivos(void 0);this.dialogService.addDialog(d.a,{title:"",message:"",archivos:this.archivosTree,directorioActual:this.archivosTree,nombre:"",parent:this}).subscribe(function(n){})},n.prototype.buildTreeFromList=function(n){this.sessionService.setArchivosList(n);var t;for(var e in n){var l=n[e];-1===l.padreId&&(t=l)}this.idRecorridos=[t.id];var i=n.filter(function(n){return n.id!==t.id}),o=this.buildTree(i,t);this.archivosTree=o,this.sessionService.setArchivosTree(o)},n.prototype.buildTree=function(n,t){t.archivos=this.getArchivos(t.id,n);for(var e in t.archivos)if(t.archivos[e].directorio&&void 0===this.idRecorridos[t.archivos[e].id]){var l=t.archivos[e].id,i=n.filter(function(n){return n.id!==l});t.archivos[e]=this.buildTree(i,t.archivos[e])}return t},n.prototype.getArchivos=function(n,t){return t.filter(function(t){return t.padreId===n})},n.ctorParameters=function(){return[{type:i.a},{type:s.a},{type:a.a},{type:l.ElementRef},{type:m.a},{type:r.a},{type:f.DialogService},{type:o.a}]},n}()},tyH6:function(n,t,e){!function(n){n(e("oiK7"),e("OZVu"),e("La8y"))}(function(n){"use strict";function t(n,t,e,l){this.cm=n,this.options=l;var i={listenForChanges:!1};for(var o in l)i[o]=l[o];i.className||(i.className="CodeMirror-search-match"),this.annotation=n.annotateScrollbar(i),this.query=t,this.caseFold=e,this.gap={from:n.firstLine(),to:n.lastLine()+1},this.matches=[],this.update=null,this.findMatches(),this.annotation.update(this.matches);var r=this;n.on("change",this.changeHandler=function(n,t){r.onChange(t)})}function e(n,t,e){return n<=t?n:Math.max(t,n+e)}n.defineExtension("showMatchesOnScrollbar",function(n,e,l){return"string"==typeof l&&(l={className:l}),l||(l={}),new t(this,n,e,l)});t.prototype.findMatches=function(){if(this.gap){for(var t=0;t<this.matches.length;t++){var e=this.matches[t];if(e.from.line>=this.gap.to)break;e.to.line>=this.gap.from&&this.matches.splice(t--,1)}for(var l=this.cm.getSearchCursor(this.query,n.Pos(this.gap.from,0),this.caseFold),i=this.options&&this.options.maxMatches||1e3;l.findNext();){var e={from:l.from(),to:l.to()};if(e.from.line>=this.gap.to)break;if(this.matches.splice(t++,0,e),this.matches.length>i)break}this.gap=null}},t.prototype.onChange=function(t){var l=t.from.line,i=n.changeEnd(t).line,o=i-t.to.line;if(this.gap?(this.gap.from=Math.min(e(this.gap.from,l,o),t.from.line),this.gap.to=Math.max(e(this.gap.to,l,o),t.from.line)):this.gap={from:t.from.line,to:i+1},o)for(var r=0;r<this.matches.length;r++){var a=this.matches[r],s=e(a.from.line,l,o);s!=a.from.line&&(a.from=n.Pos(s,a.from.ch));var u=e(a.to.line,l,o);u!=a.to.line&&(a.to=n.Pos(u,a.to.ch))}clearTimeout(this.update);var c=this;this.update=setTimeout(function(){c.updateAfterChange()},250)},t.prototype.updateAfterChange=function(){this.findMatches(),this.annotation.update(this.matches)},t.prototype.clear=function(){this.cm.off("change",this.changeHandler),this.annotation.clear()}})}}); \ No newline at end of file diff --git a/Servidor JEE/WebContent/1.7ea0d46b0fe76a112ce3.chunk.js b/Servidor JEE/WebContent/1.7ea0d46b0fe76a112ce3.chunk.js deleted file mode 100644 index 08aade041fa6de95ff2c15dfb17d7966d5787188..0000000000000000000000000000000000000000 --- a/Servidor JEE/WebContent/1.7ea0d46b0fe76a112ce3.chunk.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([1,11],{"+1FX":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){}return t}()},"+EXD":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rCTf"),o=n("CURp"),l=n("wAkD"),s=function(t){function e(e){t.call(this),this.observableFactory=e}return i(e,t),e.create=function(t){return new e(t)},e.prototype._subscribe=function(t){return new a(t,this.observableFactory)},e}(r.Observable);e.DeferObservable=s;var a=function(t){function e(e,n){t.call(this,e),this.factory=n,this.tryDefer()}return i(e,t),e.prototype.tryDefer=function(){try{this._callFactory()}catch(t){this._error(t)}},e.prototype._callFactory=function(){var t=this.factory();t&&this.add(o.subscribeToResult(this,t))},e}(l.OuterSubscriber)},"+KN+":function(t,e,n){"use strict";var i=n("rCTf"),r=n("O/+v");i.Observable.prototype.bufferCount=r.bufferCount},"+Qf+":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i;!function(t){t[t.PREV=0]="PREV",t[t.NEXT=1]="NEXT"}(i||(i={}))},"+Y2e":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("EEr4"),o=n("mmVS"),l=n("rCTf"),s=n("B00U"),a=n("VOfZ"),u=n("MQMf"),c=n("+3eL"),h=n("WhVc"),p=n("KLoZ"),d=function(t){function e(e,n){if(e instanceof l.Observable)t.call(this,n,e);else{if(t.call(this),this.WebSocketCtor=a.root.WebSocket,this._output=new r.Subject,"string"==typeof e?this.url=e:p.assign(this,e),!this.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new u.ReplaySubject}}return i(e,t),e.prototype.resultSelector=function(t){return JSON.parse(t.data)},e.create=function(t){return new e(t)},e.prototype.lift=function(t){var n=new e(this,this.destination);return n.operator=t,n},e.prototype._resetState=function(){this.socket=null,this.source||(this.destination=new u.ReplaySubject),this._output=new r.Subject},e.prototype.multiplex=function(t,e,n){var i=this;return new l.Observable(function(r){var o=c.tryCatch(t)();o===h.errorObject?r.error(h.errorObject.e):i.next(o);var l=i.subscribe(function(t){var e=c.tryCatch(n)(t);e===h.errorObject?r.error(h.errorObject.e):e&&r.next(t)},function(t){return r.error(t)},function(){return r.complete()});return function(){var t=c.tryCatch(e)();t===h.errorObject?r.error(h.errorObject.e):i.next(t),l.unsubscribe()}})},e.prototype._connectSocket=function(){var t=this,e=this.WebSocketCtor,n=this._output,i=null;try{i=this.protocol?new e(this.url,this.protocol):new e(this.url),this.socket=i,this.binaryType&&(this.socket.binaryType=this.binaryType)}catch(t){return void n.error(t)}var r=new s.Subscription(function(){t.socket=null,i&&1===i.readyState&&i.close()});i.onopen=function(e){var l=t.openObserver;l&&l.next(e);var s=t.destination;t.destination=o.Subscriber.create(function(t){return 1===i.readyState&&i.send(t)},function(e){var r=t.closingObserver;r&&r.next(void 0),e&&e.code?i.close(e.code,e.reason):n.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),t._resetState()},function(){var e=t.closingObserver;e&&e.next(void 0),i.close(),t._resetState()}),s&&s instanceof u.ReplaySubject&&r.add(s.subscribe(t.destination))},i.onerror=function(e){t._resetState(),n.error(e)},i.onclose=function(e){t._resetState();var i=t.closeObserver;i&&i.next(e),e.wasClean?n.complete():n.error(e)},i.onmessage=function(e){var i=c.tryCatch(t.resultSelector)(e);i===h.errorObject?n.error(h.errorObject.e):n.next(i)}},e.prototype._subscribe=function(t){var e=this,n=this.source;if(n)return n.subscribe(t);this.socket||this._connectSocket();var i=new s.Subscription;return i.add(this._output.subscribe(t)),i.add(function(){var t=e.socket;0===e._output.observers.length&&(t&&1===t.readyState&&t.close(),e._resetState())}),i},e.prototype.unsubscribe=function(){var e=this,n=e.source,i=e.socket;i&&1===i.readyState&&(i.close(),this._resetState()),t.prototype.unsubscribe.call(this),n||(this.destination=new u.ReplaySubject)},e}(r.AnonymousSubject);e.WebSocketSubject=d},"+cid":function(t,e,n){"use strict";var i=n("R6W2"),r=n("FR2h"),o=n("Zwpz"),l=n("dBGY"),s=n("5oXY"),a=n("7hHh"),u=n("q4uO"),c=n("Puts"),h=n("lvn4"),p=n("Nr0j"),d=(n.n(p),n("9ax6")),f=n("AUek"),m=n("ao9a"),v=(n.n(m),n("txvj")),g=(n.n(v),n("jQeI")),y=(n.n(g),n("Ev5Y")),b=(n.n(y),n("f6fj"));n.n(b);n.d(e,"a",function(){return w});var w=function(){function t(t,e,n,i,r,o){this.router=t,this.notifService=e,this.authService=n,this.haskellService=i,this.sessionService=r,this.dialogService=o,this.archivos=[],this.archivosCompartidos=[],this.archivosCompartidosSinDuplicados=[],this.loading=!1,this.loadingCompartidos=!1,this.filtroNombre="",this.idRecorridos=[],this.preview="",this.configCodeMirror=JSON.parse(sessionStorage.getItem("codeMirrorConfig")),this.setSoloLectura=function(t){var e=this;this.archivoSeleccionado.editable=!this.archivoSeleccionado.editable,this.haskellService.editarArchivo(this.archivoSeleccionado.id,this.archivoSeleccionado).subscribe(function(t){console.log("Archivo modificado")},function(t){e.notifService.error(t)})},this.seleccionarArchivo=function(t){t.directorio?this.directorioActual=t:(this.sessionService.setDirectorioActual(this.directorioActual),this.sessionService.cargarDependencias(t)),this.archivoSeleccionado=t,this.preview=t.contenido,this.ordenarArchivos()},this.esAlumno="alumno"===JSON.parse(sessionStorage.getItem("currentUser")).tipo,this.directorioActual={},this.directorioActual.archivos=[],this.configCodeMirror.readOnly=!0}return t.prototype.ngOnInit=function(){var t=this;this.sortFunction="tipo";var e=this.authService.getUser().cedula;this.loading=!0,this.haskellService.getArchivos(e).subscribe(function(e){t.archivos=e,t.loading=!1,t.buildTreeFromList()},function(t){return console.log(t)}),this.esAlumno&&(this.loadingCompartidos=!0,this.haskellService.getArchivosCompartidosAlumno(e).subscribe(function(e){t.archivosCompartidos=e,t.archivosCompartidosSinDuplicados=e.filter(function(t){return-1!=t.archivoOrigenId||!e.some(function(e){return e.archivoOrigenId==t.id})}),t.loadingCompartidos=!1},function(t){return console.log(t)}))},t.prototype.ordenarMixto=function(){this.archivosCompartidosSinDuplicados=this.archivosCompartidosSinDuplicados.sort(this.ordenarTipo),this.directorioActual.archivos=this.directorioActual.archivos.sort(this.ordenarTipo);var t=this.directorioActual.archivos,e=this.archivosCompartidosSinDuplicados,n=t.filter(function(t){return t.directorio}),i=t.filter(function(t){return!t.directorio}),r=e.filter(function(t){return t.directorio}),o=e.filter(function(t){return!t.directorio});i=i.sort(this.ordenarAlph),n=n.sort(this.ordenarAlph),o=o.sort(this.ordenarAlph),r=r.sort(this.ordenarAlph);for(var l in i)n.push(i[l]);for(var l in o)r.push(o[l]);this.directorioActual.archivos=n,this.archivosCompartidosSinDuplicados=r},t.prototype.ordenarAlph=function(t,e){return t.nombre.toLowerCase()<e.nombre.toLowerCase()?-1:t.nombre.toLowerCase()>e.nombre.toLowerCase()?1:0},t.prototype.ordenarFecha=function(t,e){return t.fechaCreacion<e.fechaCreacion?-1:t.fechaCreacion>e.fechaCreacion?1:0},t.prototype.ordenarTipo=function(t,e){return t.directorio&&!e.directorio?-1:!t.directorio&&e.directorio?1:0},t.prototype.ordenarPorTipo=function(){this.sortFunction="tipo",this.ordenarArchivos()},t.prototype.ordenarPorFecha=function(){this.sortFunction="fecha",this.ordenarArchivos()},t.prototype.ordenarFechaCreacion=function(){this.archivosCompartidosSinDuplicados=this.archivosCompartidosSinDuplicados.sort(this.ordenarFecha),this.directorioActual.archivos=this.directorioActual.archivos.sort(this.ordenarFecha)},t.prototype.ordenarArchivos=function(){var t=this.sortFunction;"tipo"===t?this.ordenarMixto():"fecha"===t&&this.ordenarFechaCreacion()},t.prototype.mostrarEliminarDialogo=function(){var t=this;if(this.archivoSeleccionado)if(this.archivos.some(function(e){return e.id==t.archivoSeleccionado.id})){var e=this;this.dialogService.addDialog(h.a,{nombreArchivo:e.archivoSeleccionado.nombre,esDirectorio:e.archivoSeleccionado.directorio,parentContext:e}).subscribe(function(t){})}else this.notifService.warning("Sin permisos para eliminar el archivo");else this.notifService.warning("Archivo no seleccionado")},t.prototype.seleccionarDirectorioAMover=function(){var t=this;if(this.archivoSeleccionado)if(this.archivos.some(function(e){return e.id==t.archivoSeleccionado.id})){var e=this;this.dialogService.addDialog(f.a,{archivos:e.tree,directorioActual:e.directorioActual,nombre:e.archivoSeleccionado.nombre,directorio:e.archivoSeleccionado.directorio,parent:e}).subscribe(function(t){})}else this.notifService.warning("Sin permisos para mover el archivo");else this.notifService.warning("Archivo no seleccionado")},t.prototype.recargarArchivos=function(t){var e=this,n=this.authService.getUser().cedula;this.loading=!0,this.haskellService.getArchivos(n).subscribe(function(n){e.archivos=n,e.loading=!1,e.buildTreeFromList_setearDirectorioActual(t)},function(t){return console.log(t)})},t.prototype.navBack=function(){var t=this;if(-1!==this.directorioActual.padreId){var e=this.archivos.filter(function(e){return e.id===t.directorioActual.padreId})[0];this.directorioActual=e}},t.prototype.cargarArchivo=function(){var t=this;if(this.archivoSeleccionado)if(this.archivoSeleccionado.directorio)this.notifService.warning("No se seleccionó ningún archivo",!1);else if(this.archivosCompartidos.some(function(e){return e.id==t.archivoSeleccionado.id})&&this.archivoSeleccionado.editable&&-1==this.archivoSeleccionado.archivoOrigenId)if(this.hayArchivoMio())this.seleccionarArchivoMio(),this.sessionService.setArchivo(this.archivoSeleccionado),this.router.navigate(["/matefun"]);else{var e=this.authService.getUser().cedula;this.haskellService.getCopiaArchivoCompartidoGrupo(e,this.archivoSeleccionado.id).subscribe(function(e){t.sessionService.setArchivo(e),t.router.navigate(["/matefun"])},function(t){console.log(t)})}else this.sessionService.setArchivo(this.archivoSeleccionado),this.router.navigate(["/matefun"]);else this.notifService.warning("Archivo no seleccionado")},t.prototype.confirmarEntrega=function(){var t=this;this.dialogService.addDialog(d.a,{title:"Entregar archivo",message:'¿Desea entregar el archivo "'+this.archivoSeleccionado.nombre+'"?\nNo se podrá editar luego de la entrega.',confirmText:"Entregar",cancelText:"Cancelar"}).subscribe(function(e){e&&t.entregarArchivo()})},t.prototype.entregarArchivo=function(){var t=this;this.archivoSeleccionado.estado="Entregado",this.haskellService.editarArchivo(this.archivoSeleccionado.id,this.archivoSeleccionado).subscribe(function(e){t.archivoSeleccionado=e},function(e){t.notifService.error(e)})},t.prototype.buildTreeFromList_setearDirectorioActual=function(t){var e=this.archivos;this.sessionService.setArchivosList(e);var n;for(var i in e){var r=e[i];-1===r.padreId&&(n=r)}this.idRecorridos=[n.id];var o=e.filter(function(t){return t.id!==n.id}),l=this.archivos.filter(function(e){return e.id===t})[0],s=this.buildTree(o,n);this.tree=s,this.directorioActual=l,this.ordenarArchivos(),this.sessionService.setArchivosTree(s)},t.prototype.buildTreeFromList=function(){var t=this.archivos;this.sessionService.setArchivosList(t);var e;for(var n in t){var i=t[n];-1===i.padreId&&(e=i)}this.idRecorridos=[e.id];var r=t.filter(function(t){return t.id!==e.id}),o=this.buildTree(r,e);this.tree=o,this.directorioActual=o,this.ordenarArchivos(),this.sessionService.setArchivosTree(o)},t.prototype.buildTree=function(t,e){e.archivos=this.getArchivos(e.id,t);for(var n in e.archivos)if(e.archivos[n].directorio&&void 0===this.idRecorridos[e.archivos[n].id]){var i=e.archivos[n].id,r=t.filter(function(t){return t.id!==i});e.archivos[n]=this.buildTree(r,e.archivos[n])}return e},t.prototype.getArchivos=function(t,e){return e.filter(function(e){return e.padreId===t})},t.prototype.cantArchivos=function(t,e){return e.filter(function(t){t.padreId}).length},t.prototype.elem=function(t,e){return e!==[]&&e.filter(function(t){t.id}).length>0},t.prototype.mkdir=function(){var t=this;this.dialogService.addDialog(a.a,{nombre:"",descripcion:"",esDirectorio:!0,parentContext:t}).subscribe(function(t){})},t.prototype.mkFile=function(){var t=this;this.dialogService.addDialog(a.a,{nombre:"",descripcion:"",esDirectorio:!1,parentContext:t}).subscribe(function(t){})},t.prototype.compartirArchivo=function(){var t=this;if(this.archivoSeleccionado){var e=this.sessionService.getGrupos();void 0==e?this.haskellService.getGrupos(this.authService.getUser().cedula).subscribe(function(n){t.sessionService.setGrupos(e),t.dialogService.addDialog(c.a,{grupos:n,archivo:t.archivoSeleccionado,parent:t}).subscribe(function(e){e&&t.notifService.success("confirmado?")})},function(t){}):this.dialogService.addDialog(c.a,{grupos:e,archivo:this.archivoSeleccionado,parent:this}).subscribe(function(e){e&&t.notifService.success("confirmado?")})}else this.notifService.warning("Archivo no seleccionado")},t.prototype.hayArchivoOriginal=function(){var t=this;return!this.archivoSeleccionado.directorio&&this.archivosCompartidos.some(function(e){return e.id==t.archivoSeleccionado.archivoOrigenId})},t.prototype.seleccionarArchivoOriginal=function(){var t=this;this.archivoSeleccionado=this.archivosCompartidos.find(function(e){return e.id==t.archivoSeleccionado.archivoOrigenId}),this.preview=this.archivoSeleccionado.contenido},t.prototype.hayArchivoMio=function(){var t=this;return!this.archivoSeleccionado.directorio&&this.archivosCompartidos.some(function(e){return e.archivoOrigenId==t.archivoSeleccionado.id})},t.prototype.seleccionarArchivoMio=function(){var t=this;this.archivoSeleccionado=this.archivosCompartidos.find(function(e){return e.archivoOrigenId==t.archivoSeleccionado.id}),this.preview=this.archivoSeleccionado.contenido},t.prototype.verCalificacion=function(){var t=this;this.dialogService.addDialog(u.a,{archivo:this.archivoSeleccionado}).subscribe(function(e){e&&t.notifService.success("confirmado?")})},t.ctorParameters=function(){return[{type:s.c},{type:l.a},{type:i.a},{type:r.a},{type:o.a},{type:p.DialogService}]},t}()},"+dDw":function(t,e,n){"use strict";var i=n("3j3K"),r=n("NVOs");n.d(e,"c",function(){return l}),n.d(e,"b",function(){return s}),n.d(e,"a",function(){return a});var o={provide:r.NG_VALUE_ACCESSOR,useExisting:n.i(i.forwardRef)(function(){return l}),multi:!0},l=function(){function t(){this._radios=new Set,this._value=null,this.onChange=function(t){},this.onTouched=function(){}}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this.setDisabledState(t)},enumerable:!0,configurable:!0}),t.prototype.onRadioChange=function(t){this.writeValue(t.value),this.onChange(t.value)},t.prototype.onRadioValueUpdate=function(){this._updateRadiosValue()},t.prototype.register=function(t){this._radios.add(t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._disabled=t,this._updateRadiosDisabled()},t.prototype.unregister=function(t){this._radios.delete(t)},t.prototype.writeValue=function(t){this._value=t,this._updateRadiosValue()},t.prototype._updateRadiosValue=function(){var t=this;this._radios.forEach(function(e){return e.updateValue(t._value)})},t.prototype._updateRadiosDisabled=function(){this._radios.forEach(function(t){return t.updateDisabled()})},t}();l.decorators=[{type:i.Directive,args:[{selector:"[ngbRadioGroup]",host:{"data-toggle":"buttons",class:"btn-group",role:"group"},providers:[o]}]}],l.ctorParameters=function(){return[]};var s=function(){function t(t,e){this._renderer=t,this._elRef=e}return Object.defineProperty(t.prototype,"active",{set:function(t){t?this._renderer.addClass(this._elRef.nativeElement,"active"):this._renderer.removeClass(this._elRef.nativeElement,"active")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{set:function(t){t?this._renderer.addClass(this._elRef.nativeElement,"disabled"):this._renderer.removeClass(this._elRef.nativeElement,"disabled")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focused",{set:function(t){t?this._renderer.addClass(this._elRef.nativeElement,"focus"):this._renderer.removeClass(this._elRef.nativeElement,"focus")},enumerable:!0,configurable:!0}),t}();s.decorators=[{type:i.Directive,args:[{selector:"label.btn"}]}],s.ctorParameters=function(){return[{type:i.Renderer2},{type:i.ElementRef}]};var a=function(){function t(t,e,n,i){this._group=t,this._label=e,this._renderer=n,this._element=i,this._value=null,this._group&&this._group.register(this)}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t;var e=t?t.toString():"";this._renderer.setProperty(this._element.nativeElement,"value",e),this._group&&this._group.onRadioValueUpdate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(t){this._checked=!!this._element.nativeElement.hasAttribute("checked")||t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._group&&this._group.disabled||this._disabled},set:function(t){this._disabled=!1!==t,this.updateDisabled()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focused",{set:function(t){this._label&&(this._label.focused=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._group&&this._group.unregister(this)},t.prototype.onChange=function(){this._group&&this._group.onRadioChange(this)},t.prototype.updateValue=function(t){this._checked=this.value===t&&null!==t,this._label.active=this._checked},t.prototype.updateDisabled=function(){var t=this._group&&this._group.disabled||this._disabled;this._label&&(this._label.disabled=t)},t}();a.decorators=[{type:i.Directive,args:[{selector:"input[type=radio]",host:{"[checked]":"checked","[disabled]":"disabled","(change)":"onChange()","(focus)":"focused = true","(blur)":"focused = false"}}]}],a.ctorParameters=function(){return[{type:l,decorators:[{type:i.Optional}]},{type:s,decorators:[{type:i.Optional}]},{type:i.Renderer2},{type:i.ElementRef}]},a.propDecorators={value:[{type:i.Input,args:["value"]}],checked:[{type:i.Input,args:["checked"]}],disabled:[{type:i.Input,args:["disabled"]}]}},"+fCR":function(t,e,n){!function(t){t(n("8U58"))}(function(t){"use strict";t.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["pgp"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mime:"text/x-coffeescript",mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"null",mode:"jinja2"},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mime:"text/n-triples",mode:"ntriples",ext:["nt"]},{name:"Objective C",mime:"text/x-objectivec",mode:"clike",ext:["m","mm"],alias:["objective-c","objc"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mime:"application/x-httpd-php",mode:"php",ext:["php","php3","php4","php5","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mime:"text/x-sh",mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki ",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var e=0;e<t.modeInfo.length;e++){var n=t.modeInfo[e];n.mimes&&(n.mime=n.mimes[0])}t.findModeByMIME=function(e){e=e.toLowerCase();for(var n=0;n<t.modeInfo.length;n++){var i=t.modeInfo[n];if(i.mime==e)return i;if(i.mimes)for(var r=0;r<i.mimes.length;r++)if(i.mimes[r]==e)return i}return/\+xml$/.test(e)?t.findModeByMIME("application/xml"):/\+json$/.test(e)?t.findModeByMIME("application/json"):void 0},t.findModeByExtension=function(e){for(var n=0;n<t.modeInfo.length;n++){var i=t.modeInfo[n];if(i.ext)for(var r=0;r<i.ext.length;r++)if(i.ext[r]==e)return i}},t.findModeByFileName=function(e){for(var n=0;n<t.modeInfo.length;n++){var i=t.modeInfo[n];if(i.file&&i.file.test(e))return i}var r=e.lastIndexOf("."),o=r>-1&&e.substring(r+1,e.length);if(o)return t.findModeByExtension(o)},t.findModeByName=function(e){e=e.toLowerCase();for(var n=0;n<t.modeInfo.length;n++){var i=t.modeInfo[n];if(i.name.toLowerCase()==e)return i;if(i.alias)for(var r=0;r<i.alias.length;r++)if(i.alias[r].toLowerCase()==e)return i}}})},"+pb+":function(t,e,n){"use strict";var i=n("rCTf"),r=n("xAJs");i.Observable.prototype.map=r.map},"+vPe":function(t,e,n){"use strict";var i=n("Q0je");e.never=i.NeverObservable.create},"+w3m":function(t,e,n){"use strict";function i(t,e){return this.lift(new s(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),l=n("8Z8y");e.elementAt=i;var s=function(){function t(t,e){if(this.index=t,this.defaultValue=e,t<0)throw new l.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.index,this.defaultValue))},t}(),a=function(t){function e(e,n,i){t.call(this,e),this.index=n,this.defaultValue=i}return r(e,t),e.prototype._next=function(t){0==this.index--&&(this.destination.next(t),this.destination.complete())},e.prototype._complete=function(){var t=this.destination;this.index>=0&&(void 0!==this.defaultValue?t.next(this.defaultValue):t.error(new l.ArgumentOutOfRangeError)),t.complete()},e}(o.Subscriber)},"/181":function(t,e,n){"use strict";var i=n("rCTf"),r=n("2jZb");i.Observable.prototype.count=r.count},"/8te":function(t,e,n){"use strict";var i=n("Gb0N");e.range=i.RangeObservable.create},"/FbB":function(t,e,n){"use strict";function i(t){var e=t.getFullYear();return e%4==0&&e%100!=0||e%400==0}function r(t,e){return t-e*Math.floor(t/e)}var o=n("CO0D"),l=n("hlt1"),s=n("3j3K"),a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=1721425.5,c=1948439.5,h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.fromGregorian=function(t){var e=new Date(t),n=e.getFullYear(),r=e.getMonth(),o=e.getDate(),s=u-1+365*(n-1)+Math.floor((n-1)/4)+-Math.floor((n-1)/100)+Math.floor((n-1)/400)+Math.floor((367*(r+1)-362)/12+(r+1<=2?0:i(e)?-1:-2)+o);s=Math.floor(s)+.5;var a=s-c,h=Math.floor((30*a+10646)/10631),p=Math.ceil((a-29-this._getYearStart(h))/29.5);p=Math.min(p,11);var d=Math.ceil(a-this._getMonthStart(h,p))+1;return new l.a(h,p+1,d)},e.prototype.toGregorian=function(t){var e=t.year,n=t.month-1,o=t.day,l=o+Math.ceil(29.5*n)+354*(e-1)+Math.floor((3+11*e)/30)+c-1,s=Math.floor(l-.5)+.5,a=s-u,h=Math.floor(a/146097),p=r(a,146097),d=Math.floor(p/36524),f=r(p,36524),m=Math.floor(f/1461),v=r(f,1461),g=Math.floor(v/365),y=400*h+100*d+4*m+g;4!==d&&4!==g&&y++;var b=u+365*(y-1)+Math.floor((y-1)/4)-Math.floor((y-1)/100)+Math.floor((y-1)/400),w=s-b,x=u-1+365*(y-1)+Math.floor((y-1)/4)-Math.floor((y-1)/100)+Math.floor((y-1)/400)+Math.floor(739/12+(i(new Date(y,3,1))?-1:-2)+1),C=s<x?0:i(new Date(y,3,1))?1:2,S=Math.floor((12*(w+C)+373)/367),O=u-1+365*(y-1)+Math.floor((y-1)/4)-Math.floor((y-1)/100)+Math.floor((y-1)/400)+Math.floor((367*S-362)/12+(S<=2?0:i(new Date(y,S-1,1))?-1:-2)+1),_=s-O+1;return new Date(y,S-1,_)},e.prototype.getDaysInIslamicMonth=function(t,e){e+=Math.floor(t/13),t=(t-1)%12+1;var n=29+t%2;return 12===t&&this._isIslamicLeapYear(e)&&n++,n},e.prototype.getNext=function(t,e,n){switch(void 0===e&&(e="d"),void 0===n&&(n=1),t=l.a.from(t),e){case"y":return t=this.setYear(t,t.year+n),t.month=1,t.day=1,t;case"m":return t=this.setMonth(t,t.month+n),t.day=1,t;case"d":return this.setDay(t,t.day+n);default:return t}},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e="d"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=this.toGregorian(t).getDay();return 0===e?7:e},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=(11-e)%7,i=t[n],r=this.toGregorian(i);r.setDate(r.getDate()+4-(r.getDay()||7));var o=r.getTime(),s=this.toGregorian(new l.a(i.year,1,1));return Math.floor(Math.round((o-s.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return this.fromGregorian(new Date)},e}(o.a);h.decorators=[{type:s.Injectable}],h.ctorParameters=function(){return[]}},"/I96":function(t,e,n){"use strict";var i=n("3j3K"),r=n("2Je8"),o=n("l5HU"),l=n("DDfv");n.d(e,"a",function(){return s});var s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[l.a]}},t}();s.decorators=[{type:i.NgModule,args:[{declarations:o.a,exports:o.a,imports:[r.CommonModule]}]}],s.ctorParameters=function(){return[]}},"/J7H":function(t,e,n){"use strict";function i(t){return!!t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}function r(t){return!!t&&"function"==typeof t.on&&"function"==typeof t.off}function o(t){return!!t&&"[object NodeList]"===f.call(t)}function l(t){return!!t&&"[object HTMLCollection]"===f.call(t)}function s(t){return!!t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=n("rCTf"),c=n("+3eL"),h=n("SKH6"),p=n("WhVc"),d=n("B00U"),f=Object.prototype.toString,m=function(t){function e(e,n,i,r){t.call(this),this.sourceObj=e,this.eventName=n,this.selector=i,this.options=r}return a(e,t),e.create=function(t,n,i,r){return h.isFunction(i)&&(r=i,i=void 0),new e(t,n,r,i)},e.setupSubscription=function(t,n,a,u,c){var h;if(o(t)||l(t))for(var p=0,f=t.length;p<f;p++)e.setupSubscription(t[p],n,a,u,c);else if(s(t)){var m=t;t.addEventListener(n,a,c),h=function(){return m.removeEventListener(n,a)}}else if(r(t)){var v=t;t.on(n,a),h=function(){return v.off(n,a)}}else{if(!i(t))throw new TypeError("Invalid event target");var g=t;t.addListener(n,a),h=function(){return g.removeListener(n,a)}}u.add(new d.Subscription(h))},e.prototype._subscribe=function(t){var n=this.sourceObj,i=this.eventName,r=this.options,o=this.selector,l=o?function(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var i=c.tryCatch(o).apply(void 0,e);i===p.errorObject?t.error(p.errorObject.e):t.next(i)}:function(e){return t.next(e)};e.setupSubscription(n,i,l,t,r)},e}(u.Observable);e.FromEventObservable=m},"/KGk":function(t,e,n){"use strict";var i=n("3j3K"),r=n("NVOs"),o=n("lcaH"),l=n("hlt1"),s=n("fAHw"),a=n("+Qf+"),u=n("2yGx"),c=n("hwnt"),h=n("gEbu");n.d(e,"a",function(){return d});var p={provide:r.NG_VALUE_ACCESSOR,useExisting:n.i(i.forwardRef)(function(){return d}),multi:!0},d=function(){function t(t,e,n,r){this._service=t,this._calendar=e,this.i18n=n,this.months=[],this.navigate=new i.EventEmitter,this.disabled=!1,this.onChange=function(t){},this.onTouched=function(){},this.dayTemplate=r.dayTemplate,this.displayMonths=r.displayMonths,this.firstDayOfWeek=r.firstDayOfWeek,this.markDisabled=r.markDisabled,this.minDate=r.minDate,this.maxDate=r.maxDate,this.navigation=r.navigation,this.outsideDays=r.outsideDays,this.showWeekdays=r.showWeekdays,this.showWeekNumbers=r.showWeekNumbers,this.startDate=r.startDate}return t.prototype.getHeaderHeight=function(){var t=this.showWeekdays?6.25:4.25;return 1===this.displayMonths||"select"!==this.navigation?t-2:t},t.prototype.getHeaderMargin=function(){var t=this.showWeekdays?2:0;return 1!==this.displayMonths||"select"!==this.navigation?t+2:t},t.prototype.navigateTo=function(t){this._setViewWithinLimits(this._service.toValidDate(t)),this._updateData()},t.prototype.ngOnInit=function(){this._setDates(),this.navigateTo(this._date)},t.prototype.ngOnChanges=function(t){this._setDates(),this._setViewWithinLimits(this._date),t.displayMonths&&(this.displayMonths=n.i(u.b)(this.displayMonths)),["startDate","minDate","maxDate","navigation","firstDayOfWeek","markDisabled","displayMonths"].some(function(e){return!!t[e]})&&this._updateData(!0)},t.prototype.onDateSelect=function(t){this._setViewWithinLimits(t),this.onTouched(),this.writeValue(t),this.onChange({year:t.year,month:t.month,day:t.day}),this._date.month!==this.months[0].number&&1===this.displayMonths&&this._updateData()},t.prototype.onNavigateDateSelect=function(t){this._setViewWithinLimits(t),this._updateData()},t.prototype.onNavigateEvent=function(t){switch(t){case a.a.PREV:this._setViewWithinLimits(this._calendar.getPrev(this.months[0].firstDate,"m"));break;case a.a.NEXT:this._setViewWithinLimits(this._calendar.getNext(this.months[0].firstDate,"m"))}this._updateData()},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.writeValue=function(t){this.model=this._service.toValidDate(t,null)},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype._setDates=function(){if(this._maxDate=l.a.from(this.maxDate),this._minDate=l.a.from(this.minDate),this._date=this._service.toValidDate(this.startDate),this._calendar.isValid(this._minDate)||(this._minDate=this._calendar.getPrev(this._date,"y",10),this.minDate={year:this._minDate.year,month:this._minDate.month,day:this._minDate.day}),this._calendar.isValid(this._maxDate)||(this._maxDate=this._calendar.getNext(this._date,"y",11),this._maxDate=this._calendar.getPrev(this._maxDate),this.maxDate={year:this._maxDate.year,month:this._maxDate.month,day:this._maxDate.day}),this._minDate&&this._maxDate&&this._maxDate.before(this._minDate))throw new Error("'maxDate' "+this._maxDate+" should be greater than 'minDate' "+this._minDate)},t.prototype._setViewWithinLimits=function(t){this._minDate&&t.before(this._minDate)?this._date=new l.a(this._minDate.year,this._minDate.month,1):this._maxDate&&t.after(this._maxDate)?this._date=new l.a(this._maxDate.year,this._maxDate.month,1):this._date=new l.a(t.year,t.month,1)},t.prototype._updateData=function(t){void 0===t&&(t=!1);for(var e=[],i=function(i){var o=r._calendar.getNext(r._date,"m",i),l=r.months.findIndex(function(t){return t.firstDate.equals(o)});t||-1===l?e.push(r._service.generateMonthViewModel(o,r._minDate,r._maxDate,n.i(u.b)(r.firstDayOfWeek),r.markDisabled)):e.push(r.months[l])},r=this,o=0;o<this.displayMonths;o++)i(o);var l=e[0].firstDate,s=this.months[0]?this.months[0].firstDate:null;this.months=e,l.equals(s)||this.navigate.emit({current:s?{year:s.year,month:s.month}:null,next:{year:l.year,month:l.month}})},t}();d.decorators=[{type:i.Component,args:[{exportAs:"ngbDatepicker",selector:"ngb-datepicker",host:{class:"d-inline-block rounded"},styles:["\n :host {\n border: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-header {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-month {\n pointer-events: none;\n }\n ngb-datepicker-month-view {\n pointer-events: auto;\n }\n .ngb-dp-month:first-child {\n margin-left: 0 !important;\n } \n .ngb-dp-month-name {\n font-size: larger;\n height: 2rem;\n line-height: 2rem;\n } \n "],template:'\n <ng-template #dt let-date="date" let-currentMonth="currentMonth" let-selected="selected" let-disabled="disabled">\n <div ngbDatepickerDayView [date]="date" [currentMonth]="currentMonth" [selected]="selected" [disabled]="disabled"></div>\n </ng-template>\n \n <div class="ngb-dp-header bg-faded pt-1 rounded-top" [style.height.rem]="getHeaderHeight()" \n [style.marginBottom.rem]="-getHeaderMargin()">\n <ngb-datepicker-navigation *ngIf="navigation !== \'none\'"\n [date]="months[0]?.firstDate"\n [minDate]="_minDate"\n [maxDate]="_maxDate"\n [months]="months.length"\n [disabled]="disabled"\n [showWeekNumbers]="showWeekNumbers"\n [showSelect]="navigation === \'select\'"\n (navigate)="onNavigateEvent($event)"\n (select)="onNavigateDateSelect($event)">\n </ngb-datepicker-navigation>\n </div>\n\n <div class="ngb-dp-months d-flex px-1 pb-1">\n <ng-template ngFor let-month [ngForOf]="months" let-i="index">\n <div class="ngb-dp-month d-block ml-3"> \n <div *ngIf="navigation !== \'select\' || displayMonths > 1" class="ngb-dp-month-name text-center">\n {{ i18n.getMonthFullName(month.number) }} {{ month.year }}\n </div>\n <ngb-datepicker-month-view\n [month]="month"\n [selectedDate]="model"\n [dayTemplate]="dayTemplate || dt"\n [showWeekdays]="showWeekdays"\n [showWeekNumbers]="showWeekNumbers"\n [disabled]="disabled"\n [outsideDays]="displayMonths === 1 ? outsideDays : \'hidden\'"\n (select)="onDateSelect($event)">\n </ngb-datepicker-month-view>\n </div>\n </ng-template>\n </div>\n ',providers:[p,s.a]}]}],d.ctorParameters=function(){return[{type:s.a},{type:o.a},{type:h.a},{type:c.a}]},d.propDecorators={dayTemplate:[{type:i.Input}],displayMonths:[{type:i.Input}],firstDayOfWeek:[{type:i.Input}],markDisabled:[{type:i.Input}],minDate:[{type:i.Input}],maxDate:[{type:i.Input}],navigation:[{type:i.Input}],outsideDays:[{type:i.Input}],showWeekdays:[{type:i.Input}],showWeekNumbers:[{type:i.Input}],startDate:[{type:i.Input}],navigate:[{type:i.Output}]}},"/PMa":function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"b",function(){return r}),n.d(e,"a",function(){return o});var r=function(){function t(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n}return t}(),o=function(){function t(t,e,n,i,r){this._injector=e,this._viewContainerRef=n,this._renderer=i,this._windowFactory=r.resolveComponentFactory(t)}return t.prototype.open=function(t,e){return this._windowRef||(this._contentRef=this._getContentRef(t,e),this._windowRef=this._viewContainerRef.createComponent(this._windowFactory,0,this._injector,this._contentRef.nodes)),this._windowRef},t.prototype.close=function(){this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null,this._contentRef.viewRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef=null))},t.prototype._getContentRef=function(t,e){if(t){if(t instanceof i.TemplateRef){var n=this._viewContainerRef.createEmbeddedView(t,e);return new r([n.rootNodes],n)}return new r([[this._renderer.createText(""+t)]])}return new r([])},t}()},"/TOt":function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=l.async),this.lift(new a(t,e))}function r(t){t.clearThrottle()}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=n("CGGv"),s=n("mmVS");e.auditTime=i;var a=function(){function t(t,e){this.duration=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.duration,this.scheduler))},t}(),u=function(t){function e(e,n,i){t.call(this,e),this.duration=n,this.scheduler=i,this.hasValue=!1}return o(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0,this.throttled||this.add(this.throttled=this.scheduler.schedule(r,this.duration,this))},e.prototype.clearThrottle=function(){var t=this,e=t.value,n=t.hasValue,i=t.throttled;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),n&&(this.value=null,this.hasValue=!1,this.destination.next(e))},e}(s.Subscriber)},"/i+G":function(t,e,n){"use strict";var i=n("3j3K"),r=n("2yGx"),o=n("K0TW");n.d(e,"a",function(){return l});var l=function(){function t(t){this.pageCount=0,this.pages=[],this.page=0,this.pageChange=new i.EventEmitter(!0),this.disabled=t.disabled,this.boundaryLinks=t.boundaryLinks,this.directionLinks=t.directionLinks,this.ellipses=t.ellipses,this.maxSize=t.maxSize,this.pageSize=t.pageSize,this.rotate=t.rotate,this.size=t.size}return t.prototype.hasPrevious=function(){return this.page>1},t.prototype.hasNext=function(){return this.page<this.pageCount},t.prototype.selectPage=function(t){this._updatePages(t)},t.prototype.ngOnChanges=function(t){this._updatePages(this.page)},t.prototype.isEllipsis=function(t){return-1===t},t.prototype._applyEllipses=function(t,e){this.ellipses&&(t>0&&(t>1&&this.pages.unshift(-1),this.pages.unshift(1)),e<this.pageCount&&(e<this.pageCount-1&&this.pages.push(-1),this.pages.push(this.pageCount)))},t.prototype._applyRotation=function(){var t=0,e=this.pageCount,n=Math.floor(this.maxSize/2),i=this.maxSize%2==0?n-1:n;return this.page<=n?e=this.maxSize:this.pageCount-this.page<n?t=this.pageCount-this.maxSize:(t=this.page-n-1,e=this.page+i),[t,e]},t.prototype._applyPagination=function(){var t=Math.ceil(this.page/this.maxSize)-1,e=t*this.maxSize;return[e,e+this.maxSize]},t.prototype._setPageInRange=function(t){var e=this.page;this.page=n.i(r.e)(t,this.pageCount,1),this.page!==e&&this.pageChange.emit(this.page)},t.prototype._updatePages=function(t){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),n.i(r.a)(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(var e=1;e<=this.pageCount;e++)this.pages.push(e);if(this._setPageInRange(t),this.maxSize>0&&this.pageCount>this.maxSize){var i=0,o=this.pageCount;this.rotate?(l=this._applyRotation(),i=l[0],o=l[1]):(s=this._applyPagination(),i=s[0],o=s[1]),this.pages=this.pages.slice(i,o),this._applyEllipses(i,o)}var l,s},t}();l.decorators=[{type:i.Component,args:[{selector:"ngb-pagination",changeDetection:i.ChangeDetectionStrategy.OnPush,host:{role:"navigation"},template:'\n <ul [class]="\'pagination\' + (size ? \' pagination-\' + size : \'\')">\n <li *ngIf="boundaryLinks" class="page-item"\n [class.disabled]="!hasPrevious() || disabled">\n <a aria-label="First" class="page-link" href (click)="!!selectPage(1)" [attr.tabindex]="(hasPrevious() ? null : \'-1\')">\n <span aria-hidden="true">««</span>\n </a>\n </li>\n\n <li *ngIf="directionLinks" class="page-item"\n [class.disabled]="!hasPrevious() || disabled">\n <a aria-label="Previous" class="page-link" href (click)="!!selectPage(page-1)" [attr.tabindex]="(hasPrevious() ? null : \'-1\')">\n <span aria-hidden="true">«</span>\n </a>\n </li>\n <li *ngFor="let pageNumber of pages" class="page-item" [class.active]="pageNumber === page"\n [class.disabled]="isEllipsis(pageNumber) || disabled">\n <a *ngIf="isEllipsis(pageNumber)" class="page-link">...</a>\n <a *ngIf="!isEllipsis(pageNumber)" class="page-link" href (click)="!!selectPage(pageNumber)">\n {{pageNumber}}\n <span *ngIf="pageNumber === page" class="sr-only">(current)</span>\n </a>\n </li>\n <li *ngIf="directionLinks" class="page-item" [class.disabled]="!hasNext() || disabled">\n <a aria-label="Next" class="page-link" href (click)="!!selectPage(page+1)" [attr.tabindex]="(hasNext() ? null : \'-1\')">\n <span aria-hidden="true">»</span>\n </a>\n </li>\n\n <li *ngIf="boundaryLinks" class="page-item" [class.disabled]="!hasNext() || disabled">\n <a aria-label="Last" class="page-link" href (click)="!!selectPage(pageCount)" [attr.tabindex]="(hasNext() ? null : \'-1\')">\n <span aria-hidden="true">»»</span>\n </a>\n </li>\n </ul>\n '}]}],l.ctorParameters=function(){return[{type:o.a}]},l.propDecorators={disabled:[{type:i.Input}],boundaryLinks:[{type:i.Input}],directionLinks:[{type:i.Input}],ellipses:[{type:i.Input}],rotate:[{type:i.Input}],collectionSize:[{type:i.Input}],maxSize:[{type:i.Input}],page:[{type:i.Input}],pageSize:[{type:i.Input}],pageChange:[{type:i.Output}],size:[{type:i.Input}]}},"/lY3":function(t,e,n){"use strict";var i=n("rCTf"),r=n("Ji1V");i.Observable.prototype.startWith=r.startWith},"/rMs":function(t,e,n){"use strict";var i=n("rCTf"),r=n("8MUz");i.Observable.prototype.concat=r.concat},"09LQ":function(t,e,n){"use strict";function i(t){return this.lift(new s(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),l=n("B00U");e._finally=i;var s=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.callback))},t}(),a=function(t){function e(e,n){t.call(this,e),this.add(new l.Subscription(n))}return r(e,t),e}(o.Subscriber)},"0EZR":function(t,e,n){"use strict";function i(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function r(t){var e=t.err;t.subject.error(e)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=n("rCTf"),s=n("+3eL"),a=n("WhVc"),u=n("5c/I"),c=function(t){function e(e,n,i,r,o){t.call(this),this.callbackFunc=e,this.selector=n,this.args=i,this.context=r,this.scheduler=o}return o(e,t),e.create=function(t,n,i){return void 0===n&&(n=void 0),function(){for(var r=[],o=0;o<arguments.length;o++)r[o-0]=arguments[o];return new e(t,n,r,this,i)}},e.prototype._subscribe=function(t){var n=this.callbackFunc,i=this.args,r=this.scheduler,o=this.subject;if(r)return r.schedule(e.dispatch,0,{source:this,subscriber:t,context:this.context});if(!o){o=this.subject=new u.AsyncSubject;var l=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var i=t.source,r=i.selector,o=i.subject;if(r){var l=s.tryCatch(r).apply(this,e);l===a.errorObject?o.error(a.errorObject.e):(o.next(l),o.complete())}else o.next(e.length<=1?e[0]:e),o.complete()};l.source=this;s.tryCatch(n).apply(this.context,i.concat(l))===a.errorObject&&o.error(a.errorObject.e)}return o.subscribe(t)},e.dispatch=function(t){var e=this,n=t.source,o=t.subscriber,l=t.context,c=n.callbackFunc,h=n.args,p=n.scheduler,d=n.subject;if(!d){d=n.subject=new u.AsyncSubject;var f=function t(){for(var n=[],o=0;o<arguments.length;o++)n[o-0]=arguments[o];var l=t.source,u=l.selector,c=l.subject;if(u){var h=s.tryCatch(u).apply(this,n);h===a.errorObject?e.add(p.schedule(r,0,{err:a.errorObject.e,subject:c})):e.add(p.schedule(i,0,{value:h,subject:c}))}else{var d=n.length<=1?n[0]:n;e.add(p.schedule(i,0,{value:d,subject:c}))}};f.source=n;s.tryCatch(c).apply(l,h.concat(f))===a.errorObject&&d.error(a.errorObject.e)}e.add(d.subscribe(o))},e}(l.Observable);e.BoundCallbackObservable=c},"0GXu":function(t,e,n){"use strict";function i(t){return void 0===t&&(t=-1),0===t?new l.EmptyObservable:t<0?this.lift(new s(-1,this)):this.lift(new s(t-1,this))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),l=n("jBEF");e.repeat=i;var s=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.count,this.source))},t}(),a=function(t){function e(e,n,i){t.call(this,e),this.count=n,this.source=i}return r(e,t),e.prototype.complete=function(){if(!this.isStopped){var e=this,n=e.source,i=e.count;if(0===i)return t.prototype.complete.call(this);i>-1&&(this.count=i-1),n.subscribe(this._unsubscribeAndRecycle())}},e}(o.Subscriber)},"0TiQ":function(t,e,n){"use strict";var i=n("rCTf"),r=n("QNuG");i.Observable.prototype.publishLast=r.publishLast},"0VSF":function(t,e,n){"use strict";function i(t){return this.lift(new s(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),l=n("CURp");e.sample=i;var s=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new a(t),i=e.subscribe(n);return i.add(l.subscribeToResult(n,this.notifier)),i},t}(),a=function(t){function e(){t.apply(this,arguments),this.hasValue=!1}return r(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,n,i,r){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(o.OuterSubscriber)},"0gHg":function(t,e,n){"use strict";function i(t,e,n){return void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===e&&(e=Number.POSITIVE_INFINITY),o.multicast.call(this,new r.ReplaySubject(t,e,n))}var r=n("MQMf"),o=n("emOw");e.publishReplay=i},"10Gq":function(t,e,n){"use strict";var i=n("rCTf"),r=n("Cx8F");i.Observable.prototype.retryWhen=r.retryWhen},"16m9":function(t,e,n){"use strict";var i=n("rCTf"),r=n("Yuqe");i.Observable.prototype.concatMapTo=r.concatMapTo},"1APj":function(t,e,n){"use strict";var i=n("rCTf"),r=n("lgiQ");i.Observable.of=r.of},"1Axw":function(t,e,n){"use strict";function i(t,e){return e?new h(this,e).lift(new u(t)):this.lift(new u(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),l=n("rCTf"),s=n("wAkD"),a=n("CURp");e.delayWhen=i;var u=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.delayDurationSelector))},t}(),c=function(t){function e(e,n){t.call(this,e),this.delayDurationSelector=n,this.completed=!1,this.delayNotifierSubscriptions=[],this.values=[]}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(t),this.removeSubscription(r),this.tryComplete()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(t){try{var e=this.delayDurationSelector(t);e&&this.tryDelay(e,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t),n=null;return-1!==e&&(n=this.values[e],this.delayNotifierSubscriptions.splice(e,1),this.values.splice(e,1)),n},e.prototype.tryDelay=function(t,e){var n=a.subscribeToResult(this,t,e);n&&!n.closed&&(this.add(n),this.delayNotifierSubscriptions.push(n)),this.values.push(e)},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(s.OuterSubscriber),h=function(t){function e(e,n){t.call(this),this.source=e,this.subscriptionDelay=n}return r(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new p(t,this.source))},e}(l.Observable),p=function(t){function e(e,n){t.call(this),this.parent=e,this.source=n,this.sourceSubscribed=!1}return r(e,t),e.prototype._next=function(t){this.subscribeToSource()},e.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},e.prototype._complete=function(){this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(o.Subscriber)},"1Cj3":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("9Avi"),o=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<r&&(t=n.shift()));if(this.active=!1,e){for(;++i<r&&(t=n.shift());)t.unsubscribe();throw e}},e}(r.AsyncScheduler);e.AsapScheduler=o},"1NVl":function(t,e,n){"use strict";var i=n("rCTf"),r=n("83T1");i.Observable.prototype.every=r.every},"1Nls":function(t,e,n){"use strict";var i=n("rCTf"),r=n("gIFM");i.Observable.ajax=r.ajax},"1VLl":function(t,e,n){"use strict";var i=n("rCTf"),r=n("ASN6");i.Observable.onErrorResumeNext=r.onErrorResumeNextStatic},"1Z2I":function(t,e,n){"use strict";var i=n("3j3K"),r=n("2Je8"),o=n("W5jB"),l=n("nCuf");n.d(e,"a",function(){return s});var s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[l.a]}},t}();s.decorators=[{type:i.NgModule,args:[{declarations:[o.a],exports:[o.a],imports:[r.CommonModule]}]}],s.ctorParameters=function(){return[]}},"1ZrL":function(t,e,n){"use strict";var i=n("rCTf"),r=n("lU4I");i.Observable.concat=r.concat},"1hN3":function(t,e,n){"use strict";function i(t){return this.lift(new c(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("B00U"),l=n("+3eL"),s=n("WhVc"),a=n("wAkD"),u=n("CURp");e.bufferWhen=i;var c=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.closingSelector))},t}(),h=function(t){function e(e,n){t.call(this,e),this.closingSelector=n,this.subscribing=!1,this.openBuffer()}return r(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},e.prototype.notifyNext=function(t,e,n,i,r){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe());var e=this.buffer;this.buffer&&this.destination.next(e),this.buffer=[];var n=l.tryCatch(this.closingSelector)();n===s.errorObject?this.error(s.errorObject.e):(t=new o.Subscription,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(u.subscribeToResult(this,n)),this.subscribing=!1)},e}(a.OuterSubscriber)},"1hiA":function(t,e,n){"use strict";function i(t){return o["ɵvid"](0,[o["ɵqud"](402653184,1,{host:0}),(t()(),o["ɵeld"](0,[[1,0],["host",1]],null,0,"textarea",[],null,null,null,null,null))],null,null)}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,2,"codemirror",[],null,null,null,l.a,l.b)),o["ɵprd"](5120,null,s.NG_VALUE_ACCESSOR,function(t){return[t]},[a.CodemirrorComponent]),o["ɵdid"](4374528,null,0,a.CodemirrorComponent,[],null,null)],null,null)}var o=n("3j3K"),l=n("1hiA"),s=n("NVOs"),a=n("zK+N");n.n(a);n.d(e,"b",function(){return c}),e.a=i;var u=[],c=o["ɵcrt"]({encapsulation:2,styles:u,data:{}});o["ɵccf"]("codemirror",a.CodemirrorComponent,r,{config:"config",value:"value"},{change:"change",focus:"focus",blur:"blur",instance:"instance"},[])},"1k2o":function(t,e,n){"use strict";var i=n("rCTf"),r=n("33Pm");i.Observable.bindCallback=r.bindCallback},"1kxm":function(t,e,n){"use strict";var i=function(){function t(){this.values={}}return t.prototype.delete=function(t){return this.values[t]=null,!0},t.prototype.set=function(t,e){return this.values[t]=e,this},t.prototype.get=function(t){return this.values[t]},t.prototype.forEach=function(t,e){var n=this.values;for(var i in n)n.hasOwnProperty(i)&&null!==n[i]&&t.call(e,n[i],i)},t.prototype.clear=function(){this.values={}},t}();e.FastMap=i},"1nax":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){}return t.prototype.transform=function(t,e,n){return t?t.filter(function(t){return-1!=t[e].toLowerCase().indexOf(n.toLowerCase())}):[]},t}()},2395:function(t,e,n){"use strict";var i=n("rCTf"),r=n("9TuE");i.Observable.prototype.isEmpty=r.isEmpty},"2AEF":function(t,e,n){"use strict";function i(t,e){return this.lift(new s(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),l=n("CURp");e.exhaustMap=i;var s=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.resultSelector))},t}(),a=function(t){function e(e,n,i){t.call(this,e),this.project=n,this.resultSelector=i,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return r(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e=this.index++,n=this.destination;try{var i=this.project(t,e);this.hasSubscription=!0,this.add(l.subscribeToResult(this,i,t,e))}catch(t){n.error(t)}},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyNext=function(t,e,n,i,r){var o=this,l=o.resultSelector,s=o.destination;l?this.trySelectResult(t,e,n,i):s.next(e)},e.prototype.trySelectResult=function(t,e,n,i){var r=this,o=r.resultSelector,l=r.destination;try{var s=o(t,e,n,i);l.next(s)}catch(t){l.error(t)}},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber)},"2BXm":function(t,e,n){"use strict";var i=n("3j3K"),r=n("2yGx");n.d(e,"a",function(){return o});var o=function(){function t(){this.activeIdx=0,this.focusFirst=!0,this.formatter=r.d,this.selectEvent=new i.EventEmitter,this.activeChangeEvent=new i.EventEmitter}return t.prototype.getActive=function(){return this.results[this.activeIdx]},t.prototype.markActive=function(t){this.activeIdx=t,this._activeChanged()},t.prototype.next=function(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()},t.prototype.prev=function(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()},t.prototype.select=function(t){this.selectEvent.emit(t)},t.prototype.ngOnInit=function(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()},t.prototype._activeChanged=function(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)},t}();o.decorators=[{type:i.Component,args:[{selector:"ngb-typeahead-window",exportAs:"ngbTypeaheadWindow",host:{class:"dropdown-menu",style:"display: block",role:"listbox","[id]":"id"},template:'\n <ng-template #rt let-result="result" let-term="term" let-formatter="formatter">\n <ngb-highlight [result]="formatter(result)" [term]="term"></ngb-highlight>\n </ng-template>\n <ng-template ngFor [ngForOf]="results" let-result let-idx="index">\n <button type="button" class="dropdown-item" role="option"\n [id]="id + \'-\' + idx"\n [class.active]="idx === activeIdx"\n (mouseenter)="markActive(idx)"\n (click)="select(result)">\n <ng-template [ngTemplateOutlet]="resultTemplate || rt"\n [ngOutletContext]="{result: result, term: term, formatter: formatter}"></ng-template>\n </button>\n </ng-template>\n '}]}],o.ctorParameters=function(){return[]},o.propDecorators={id:[{type:i.Input}],focusFirst:[{type:i.Input}],results:[{type:i.Input}],term:[{type:i.Input}],formatter:[{type:i.Input}],resultTemplate:[{type:i.Input}],selectEvent:[{type:i.Output,args:["select"]}],activeChangeEvent:[{type:i.Output,args:["activeChange"]}]}},"2ER/":function(t,e,n){"use strict";var i=function(){function t(){this.size=0,this._values=[],this._keys=[]}return t.prototype.get=function(t){var e=this._keys.indexOf(t);return-1===e?void 0:this._values[e]},t.prototype.set=function(t,e){var n=this._keys.indexOf(t);return-1===n?(this._keys.push(t),this._values.push(e),this.size++):this._values[n]=e,this},t.prototype.delete=function(t){var e=this._keys.indexOf(t);return-1!==e&&(this._values.splice(e,1),this._keys.splice(e,1),this.size--,!0)},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this.size=0},t.prototype.forEach=function(t,e){for(var n=0;n<this.size;n++)t.call(e,this._values[n],this._keys[n])},t}();e.MapPolyfill=i},"2NoN":function(t,e,n){"use strict";function i(t){return u["ɵvid"](0,[(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,1,"div",[["ngbDatepickerDayView",""]],[[2,"bg-primary",null],[2,"text-white",null],[2,"text-muted",null],[2,"outside",null],[2,"btn-secondary",null]],null,null,c.a,c.b)),u["ɵdid"](49152,null,0,h.a,[],{currentMonth:[0,"currentMonth"],date:[1,"date"],disabled:[2,"disabled"],selected:[3,"selected"]},null),(t()(),u["ɵted"](null,["\n "]))],function(t,e){t(e,2,0,e.context.currentMonth,e.context.date,e.context.disabled,e.context.selected)},function(t,e){t(e,1,0,u["ɵnov"](e,2).selected,u["ɵnov"](e,2).selected,u["ɵnov"](e,2).isMuted(),u["ɵnov"](e,2).isMuted(),!u["ɵnov"](e,2).disabled)})}function r(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,2,"ngb-datepicker-navigation",[["class","d-flex justify-content-between"]],[[2,"collapsed",null]],[[null,"navigate"],[null,"select"]],function(t,e,n){var i=!0,r=t.component;if("navigate"===e){i=!1!==r.onNavigateEvent(n)&&i}if("select"===e){i=!1!==r.onNavigateDateSelect(n)&&i}return i},p.a,p.b)),u["ɵdid"](49152,null,0,d.a,[f.a,m.a],{date:[0,"date"],disabled:[1,"disabled"],maxDate:[2,"maxDate"],minDate:[3,"minDate"],months:[4,"months"],showSelect:[5,"showSelect"],showWeekNumbers:[6,"showWeekNumbers"]},{navigate:"navigate",select:"select"}),(t()(),u["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,1,0,null==n.months[0]?null:n.months[0].firstDate,n.disabled,n._maxDate,n._minDate,n.months.length,"select"===n.navigation,n.showWeekNumbers)},function(t,e){t(e,0,0,!u["ɵnov"](e,1).showSelect)})}function o(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,1,"div",[["class","ngb-dp-month-name text-center"]],null,null,null,null,null)),(t()(),u["ɵted"](null,["\n "," ","\n "]))],null,function(t,e){t(e,1,0,e.component.i18n.getMonthFullName(e.parent.context.$implicit.number),e.parent.context.$implicit.year)})}function l(t){return u["ɵvid"](0,[(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,8,"div",[["class","ngb-dp-month d-block ml-3"]],null,null,null,null,null)),(t()(),u["ɵted"](null,[" \n "])),(t()(),u["ɵand"](16777216,null,null,1,null,o)),u["ɵdid"](16384,null,0,v.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,2,"ngb-datepicker-month-view",[["class","d-block"]],null,[[null,"select"]],function(t,e,n){var i=!0,r=t.component;if("select"===e){i=!1!==r.onDateSelect(n)&&i}return i},g.a,g.b)),u["ɵdid"](49152,null,0,y.a,[f.a],{dayTemplate:[0,"dayTemplate"],disabled:[1,"disabled"],month:[2,"month"],outsideDays:[3,"outsideDays"],selectedDate:[4,"selectedDate"],showWeekdays:[5,"showWeekdays"],showWeekNumbers:[6,"showWeekNumbers"]},{select:"select"}),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,4,0,"select"!==n.navigation||n.displayMonths>1),t(e,7,0,n.dayTemplate||u["ɵnov"](e.parent,1),n.disabled,e.context.$implicit,1===n.displayMonths?n.outsideDays:"hidden",n.model,n.showWeekdays,n.showWeekNumbers)},null)}function s(t){return u["ɵvid"](0,[(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵand"](0,[["dt",2]],null,0,null,i)),(t()(),u["ɵted"](null,["\n \n "])),(t()(),u["ɵeld"](0,null,null,4,"div",[["class","ngb-dp-header bg-faded pt-1 rounded-top"]],[[4,"height","rem"],[4,"marginBottom","rem"]],null,null,null,null)),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵand"](16777216,null,null,1,null,r)),u["ɵdid"](16384,null,0,v.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n\n "])),(t()(),u["ɵeld"](0,null,null,4,"div",[["class","ngb-dp-months d-flex px-1 pb-1"]],null,null,null,null,null)),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵand"](16777216,null,null,1,null,l)),u["ɵdid"](802816,null,0,v.NgForOf,[u.ViewContainerRef,u.TemplateRef,u.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,6,0,"none"!==n.navigation),t(e,12,0,n.months)},function(t,e){var n=e.component;t(e,3,0,n.getHeaderHeight(),0-n.getHeaderMargin())})}function a(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,3,"ngb-datepicker",[["class","d-inline-block rounded"]],null,null,null,w.b,w.c)),u["ɵprd"](5120,null,x.NG_VALUE_ACCESSOR,function(t){return[t]},[b.a]),u["ɵprd"](512,null,C.a,C.a,[m.a]),u["ɵdid"](638976,null,0,b.a,[C.a,m.a,f.a,S.a],null,null)],function(t,e){t(e,3,0)},null)}var u=n("3j3K"),c=n("Mn0/"),h=n("U6gI"),p=n("YDZ5"),d=n("3fcS"),f=n("gEbu"),m=n("lcaH"),v=n("2Je8"),g=n("4yvs"),y=n("5ZV5"),b=n("/KGk"),w=n("2NoN"),x=n("NVOs"),C=n("fAHw"),S=n("hwnt");n.d(e,"c",function(){return _}),e.b=s,n.d(e,"a",function(){return k});var O=["[_nghost-%COMP%] {\n border: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-header[_ngcontent-%COMP%] {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-month[_ngcontent-%COMP%] {\n pointer-events: none;\n }\n ngb-datepicker-month-view[_ngcontent-%COMP%] {\n pointer-events: auto;\n }\n .ngb-dp-month[_ngcontent-%COMP%]:first-child {\n margin-left: 0 !important;\n } \n .ngb-dp-month-name[_ngcontent-%COMP%] {\n font-size: larger;\n height: 2rem;\n line-height: 2rem;\n }"],_=u["ɵcrt"]({encapsulation:0,styles:O,data:{}}),k=u["ɵccf"]("ngb-datepicker",b.a,a,{dayTemplate:"dayTemplate",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",showWeekdays:"showWeekdays",showWeekNumbers:"showWeekNumbers",startDate:"startDate"},{navigate:"navigate"},[])},"2jZb":function(t,e,n){"use strict";function i(t){return this.lift(new l(t,this))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.count=i;var l=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.source))},t}(),s=function(t){function e(e,n,i){t.call(this,e),this.predicate=n,this.source=i,this.count=0,this.index=0}return r(e,t),e.prototype._next=function(t){this.predicate?this._tryPredicate(t):this.count++},e.prototype._tryPredicate=function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e&&this.count++},e.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},e}(o.Subscriber)},"2yGx":function(t,e,n){"use strict";function i(t){return parseInt(""+t,10)}function r(t){return void 0!==t&&null!==t?""+t:""}function o(t,e,n){return void 0===n&&(n=0),Math.max(Math.min(t,e),n)}function l(t){return"string"==typeof t}function s(t){return!isNaN(i(t))}function a(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}function u(t){return void 0!==t&&null!==t}function c(t){return s(t)?("0"+t).slice(-2):""}function h(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}e.b=i,e.d=r,e.e=o,e.f=l,e.a=s,e.i=a,e.h=u,e.c=c,e.g=h},"33Pm":function(t,e,n){"use strict";var i=n("0EZR");e.bindCallback=i.BoundCallbackObservable.create},"3eju":function(t,e,n){"use strict";var i=n("+Y2e");e.webSocket=i.WebSocketSubject.create},"3fcS":function(t,e,n){"use strict";var i=n("3j3K"),r=n("+Qf+"),o=n("gEbu"),l=n("lcaH");n.d(e,"a",function(){return s});var s=function(){function t(t,e){this.i18n=t,this._calendar=e,this.navigation=r.a,this.navigate=new i.EventEmitter,this.select=new i.EventEmitter}return t.prototype.doNavigate=function(t){this.navigate.emit(t)},t.prototype.nextDisabled=function(){return this.disabled||this.maxDate&&this._calendar.getNext(this.date,"m").after(this.maxDate)},t.prototype.prevDisabled=function(){var t=this._calendar.getPrev(this.date,"m");return this.disabled||this.minDate&&t.year<=this.minDate.year&&t.month<this.minDate.month},t.prototype.selectDate=function(t){this.select.emit(t)},t}();s.decorators=[{type:i.Component,args:[{selector:"ngb-datepicker-navigation",host:{class:"d-flex justify-content-between","[class.collapsed]":"!showSelect"},styles:["\n :host {\n height: 2rem;\n line-height: 1.85rem;\n }\n :host.collapsed {\n margin-bottom: -2rem; \n }\n .ngb-dp-navigation-chevron::before {\n border-style: solid;\n border-width: 0.2em 0.2em 0 0;\n content: '';\n display: inline-block;\n height: 0.75em;\n transform: rotate(-135deg);\n -webkit-transform: rotate(-135deg);\n -ms-transform: rotate(-135deg);\n width: 0.75em;\n margin: 0 0 0 0.5rem;\n } \n .ngb-dp-navigation-chevron.right:before {\n -webkit-transform: rotate(45deg);\n -ms-transform: rotate(45deg);\n transform: rotate(45deg);\n margin: 0 0.5rem 0 0;\n }\n .btn-link {\n cursor: pointer;\n outline: 0;\n }\n .btn-link[disabled] {\n cursor: not-allowed;\n opacity: .65;\n } \n "],template:'\n <button type="button" class="btn-link" (click)="!!doNavigate(navigation.PREV)" [disabled]="prevDisabled()">\n <span class="ngb-dp-navigation-chevron"></span> \n </button>\n \n <ngb-datepicker-navigation-select *ngIf="showSelect" class="d-block" [style.width.rem]="months * 9"\n [date]="date"\n [minDate]="minDate"\n [maxDate]="maxDate"\n [disabled] = "disabled"\n (select)="selectDate($event)">\n </ngb-datepicker-navigation-select>\n \n <button type="button" class="btn-link" (click)="!!doNavigate(navigation.NEXT)" [disabled]="nextDisabled()">\n <span class="ngb-dp-navigation-chevron right"></span>\n </button>\n '}]}],s.ctorParameters=function(){return[{type:o.a},{type:l.a}]},s.propDecorators={date:[{type:i.Input}],disabled:[{type:i.Input}],maxDate:[{type:i.Input}],minDate:[{type:i.Input}],months:[{type:i.Input}],showSelect:[{type:i.Input}],showWeekNumbers:[{type:i.Input}],navigate:[{type:i.Output}],select:[{type:i.Output}]}},"3kwk":function(t,e,n){"use strict";var i=n("3j3K"),r=n("CXHW");n.d(e,"a",function(){return o});var o=function(){function t(t,e,n){this._moduleCFR=t,this._injector=e,this._modalStack=n}return t.prototype.open=function(t,e){return void 0===e&&(e={}),this._modalStack.open(this._moduleCFR,this._injector,t,e)},t}();o.decorators=[{type:i.Injectable}],o.ctorParameters=function(){return[{type:i.ComponentFactoryResolver},{type:i.Injector},{type:r.a}]}},"48bo":function(t,e,n){"use strict";var i=n("rCTf"),r=n("Y3yw");i.Observable.prototype.race=r.race},"4Ie8":function(t,e,n){"use strict";var i=n("rCTf"),r=n("52Ty");i.Observable.prototype.publish=r.publish},"4yvs":function(t,e,n){"use strict";function i(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,0,"div",[["class","ngb-dp-weekday"]],null,null,null,null,null))],null,null)}function r(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,1,"div",[["class","ngb-dp-weekday small text-center text-info font-italic"]],null,null,null,null,null)),(t()(),f["ɵted"](null,["\n ","\n "]))],null,function(t,e){t(e,1,0,e.component.i18n.getWeekdayShortName(e.context.$implicit))})}function o(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,7,"div",[["class","ngb-dp-week d-flex"]],null,null,null,null,null)),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,i)),f["ɵdid"](16384,null,0,m.NgIf,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,r)),f["ɵdid"](802816,null,0,m.NgForOf,[f.ViewContainerRef,f.TemplateRef,f.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),f["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,3,0,n.showWeekNumbers),t(e,6,0,n.month.weekdays)},null)}function l(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,1,"div",[["class","ngb-dp-week-number small text-center font-italic text-muted"]],null,null,null,null,null)),(t()(),f["ɵted"](null,["",""]))],null,function(t,e){t(e,1,0,e.parent.parent.context.$implicit.number)})}function s(t){return f["ɵvid"](0,[(t()(),f["ɵted"](null,["\n "]))],null,null)}function a(t){return f["ɵvid"](0,[(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,3,null,s)),f["ɵdid"](540672,null,0,m.NgTemplateOutlet,[f.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"],ngOutletContext:[1,"ngOutletContext"]},null),f["ɵpod"](["year","month","day"]),f["ɵpod"](["date","currentMonth","disabled","selected"]),(t()(),f["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,2,0,n.dayTemplate,t(e,4,0,t(e,3,0,e.parent.context.$implicit.date.year,e.parent.context.$implicit.date.month,e.parent.context.$implicit.date.day),n.month.number,n.isDisabled(e.parent.context.$implicit),n.isSelected(e.parent.context.$implicit.date)))},null)}function u(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,4,"div",[["class","ngb-dp-day"]],[[2,"disabled",null],[2,"hidden",null]],[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.doSelect(t.context.$implicit)&&i}return i},null,null)),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,a)),f["ɵdid"](16384,null,0,m.NgIf,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),f["ɵted"](null,["\n "]))],function(t,e){t(e,3,0,!e.component.isHidden(e.context.$implicit))},function(t,e){var n=e.component;t(e,0,0,n.isDisabled(e.context.$implicit),n.isHidden(e.context.$implicit))})}function c(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,7,"div",[["class","ngb-dp-week d-flex"]],null,null,null,null,null)),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,l)),f["ɵdid"](16384,null,0,m.NgIf,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,u)),f["ɵdid"](802816,null,0,m.NgForOf,[f.ViewContainerRef,f.TemplateRef,f.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),f["ɵted"](null,["\n "]))],function(t,e){t(e,3,0,e.component.showWeekNumbers),t(e,6,0,e.parent.context.$implicit.days)},null)}function h(t){return f["ɵvid"](0,[(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,c)),f["ɵdid"](16384,null,0,m.NgIf,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),f["ɵted"](null,["\n "]))],function(t,e){t(e,2,0,!e.component.isCollapsed(e.context.$implicit))},null)}function p(t){return f["ɵvid"](0,[(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,o)),f["ɵdid"](16384,null,0,m.NgIf,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,h)),f["ɵdid"](802816,null,0,m.NgForOf,[f.ViewContainerRef,f.TemplateRef,f.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),f["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,2,0,n.showWeekdays),t(e,5,0,n.month.weeks)},null)}function d(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,1,"ngb-datepicker-month-view",[["class","d-block"]],null,null,null,g.a,g.b)),f["ɵdid"](49152,null,0,v.a,[y.a],null,null)],null,null)}var f=n("3j3K"),m=n("2Je8"),v=n("5ZV5"),g=n("4yvs"),y=n("gEbu");n.d(e,"b",function(){return w}),e.a=p;var b=[".ngb-dp-weekday[_ngcontent-%COMP%], .ngb-dp-week-number[_ngcontent-%COMP%] {\n line-height: 2rem;\n }\n .ngb-dp-day[_ngcontent-%COMP%], .ngb-dp-weekday[_ngcontent-%COMP%], .ngb-dp-week-number[_ngcontent-%COMP%] {\n width: 2rem;\n height: 2rem; \n }\n .ngb-dp-day[_ngcontent-%COMP%] {\n cursor: pointer;\n }\n .ngb-dp-day.disabled[_ngcontent-%COMP%], .ngb-dp-day.hidden[_ngcontent-%COMP%] {\n cursor: default;\n }"],w=f["ɵcrt"]({encapsulation:0,styles:b,data:{}});f["ɵccf"]("ngb-datepicker-month-view",v.a,d,{dayTemplate:"dayTemplate",disabled:"disabled",month:"month",outsideDays:"outsideDays",selectedDate:"selectedDate",showWeekdays:"showWeekdays",showWeekNumbers:"showWeekNumbers"},{select:"select"},[])},"52Ty":function(t,e,n){"use strict";function i(t){return t?o.multicast.call(this,function(){return new r.Subject},t):o.multicast.call(this,new r.Subject)}var r=n("EEr4"),o=n("emOw");e.publish=i},"5OSb":function(t,e,n){"use strict";function i(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,5,"button",[["class","list-group-item list-group-item-action"],["style","cursor:pointer"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.seleccionarGrupo(t.context.$implicit)&&i}return i},null,null)),l["ɵdid"](278528,null,0,s.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](["active"]),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-group"],["style","margin-right:10px; font-size: 3em; cursor: pointer;"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n ","\n "]))],function(t,e){var n=e.component;t(e,1,0,"list-group-item list-group-item-action",t(e,2,0,void 0!=n.grupo&&e.context.$implicit.grado==n.grupo.grado&&e.context.$implicit.grupo==n.grupo.grupo&&e.context.$implicit.anio==n.grupo.anio&&e.context.$implicit.liceoId==n.grupo.liceoId))},function(t,e){t(e,5,0,e.context.$implicit.grado+"°"+e.context.$implicit.grupo+" - "+e.context.$implicit.anio)})}function r(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,31,"div",[["class","modal-dialog"],["style","margin-top:100px;"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,28,"div",[["class","modal-content"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,7,"div",[["class","modal-header"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,1,"h6",[["class","modal-title pull-lefth"]],null,null,null,null,null)),(t()(),l["ɵted"](null,['Compartir "','" con:'])),(t()(),l["ɵted"](null,[" \n "])),(t()(),l["ɵeld"](0,null,null,1,"button",[["class","close"],["style","margin-rigth:8px;"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.close()&&i}return i},null,null)),(t()(),l["ɵted"](null,["×"])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,10,"div",[["class","modal-body"],["style","height:350px;overflow-y: scroll;"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,7,"div",[],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,4,"div",[["class","list-group"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵand"](16777216,null,null,1,null,i)),l["ɵdid"](802816,null,0,s.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,4,"div",[["class","modal-footer"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,1,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.compartir()&&i}return i},null,null)),(t()(),l["ɵted"](null,["Compartir"])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n "]))],function(t,e){t(e,20,0,e.component.grupos)},function(t,e){t(e,7,0,e.component.archivo.nombre)})}function o(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,1,"confirm",[],null,null,null,r,h)),l["ɵdid"](180224,null,0,a.a,[u.DialogService],null,null)],null,null)}var l=n("3j3K"),s=n("2Je8"),a=n("Puts"),u=n("hz2l");n.n(u);n.d(e,"a",function(){return p});var c=[],h=l["ɵcrt"]({encapsulation:2,styles:c,data:{}}),p=l["ɵccf"]("confirm",a.a,o,{},{},[])},"5ZV5":function(t,e,n){"use strict";var i=n("3j3K"),r=n("hlt1"),o=n("gEbu");n.d(e,"a",function(){return l});var l=function(){function t(t){this.i18n=t,this.select=new i.EventEmitter}return t.prototype.doSelect=function(t){this.isDisabled(t)||this.isHidden(t)||this.select.emit(r.a.from(t.date))},t.prototype.isDisabled=function(t){return this.disabled||t.disabled},t.prototype.isSelected=function(t){return this.selectedDate&&this.selectedDate.equals(t)},t.prototype.isCollapsed=function(t){return"collapsed"===this.outsideDays&&t.days[0].date.month!==this.month.number&&t.days[t.days.length-1].date.month!==this.month.number},t.prototype.isHidden=function(t){return("hidden"===this.outsideDays||"collapsed"===this.outsideDays)&&this.month.number!==t.date.month},t}();l.decorators=[{type:i.Component,args:[{selector:"ngb-datepicker-month-view",host:{class:"d-block"},styles:["\n .ngb-dp-weekday, .ngb-dp-week-number {\n line-height: 2rem;\n }\n .ngb-dp-day, .ngb-dp-weekday, .ngb-dp-week-number {\n width: 2rem;\n height: 2rem; \n }\n .ngb-dp-day {\n cursor: pointer;\n }\n .ngb-dp-day.disabled, .ngb-dp-day.hidden {\n cursor: default;\n }\n "],template:'\n <div *ngIf="showWeekdays" class="ngb-dp-week d-flex">\n <div *ngIf="showWeekNumbers" class="ngb-dp-weekday"></div>\n <div *ngFor="let w of month.weekdays" class="ngb-dp-weekday small text-center text-info font-italic">\n {{ i18n.getWeekdayShortName(w) }}\n </div>\n </div>\n <ng-template ngFor let-week [ngForOf]="month.weeks">\n <div *ngIf="!isCollapsed(week)" class="ngb-dp-week d-flex">\n <div *ngIf="showWeekNumbers" class="ngb-dp-week-number small text-center font-italic text-muted">{{ week.number }}</div>\n <div *ngFor="let day of week.days" (click)="doSelect(day)" class="ngb-dp-day" [class.disabled]="isDisabled(day)"\n [class.hidden]="isHidden(day)">\n <ng-template [ngIf]="!isHidden(day)">\n <ng-template [ngTemplateOutlet]="dayTemplate"\n [ngOutletContext]="{date: {year: day.date.year, month: day.date.month, day: day.date.day},\n currentMonth: month.number,\n disabled: isDisabled(day),\n selected: isSelected(day.date)}">\n </ng-template>\n </ng-template>\n </div>\n </div>\n </ng-template>\n '}]}],l.ctorParameters=function(){return[{type:o.a}]},l.propDecorators={dayTemplate:[{type:i.Input}],disabled:[{type:i.Input}],month:[{type:i.Input}],outsideDays:[{type:i.Input}],selectedDate:[{type:i.Input}],showWeekdays:[{type:i.Input}],showWeekNumbers:[{type:i.Input}],select:[{type:i.Output}]}},"5c/I":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("EEr4"),o=n("B00U"),l=function(t){function e(){t.apply(this,arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}return i(e,t),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),o.Subscription.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),o.Subscription.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(r.Subject);e.AsyncSubject=l},"5nj5":function(t,e,n){"use strict";var i=n("LhE+");e._if=i.IfObservable.create},"5pRa":function(t,e,n){"use strict";function i(t){return void 0===t&&(t=l.async),this.lift(new a(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),l=n("CGGv");e.timestamp=i;var s=function(){function t(t,e){this.value=t,this.timestamp=e}return t}();e.Timestamp=s;var a=function(){function t(t){this.scheduler=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.scheduler))},t}(),u=function(t){function e(e,n){t.call(this,e),this.scheduler=n}return r(e,t),e.prototype._next=function(t){var e=this.scheduler.now();this.destination.next(new s(t,e))},e}(o.Subscriber)},"62nT":function(t,e,n){"use strict";var i=n("3j3K"),r=n("2Je8"),o=n("OEcN"),l=n("tyH+");n.d(e,"a",function(){return s});var s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[l.a]}},t}();s.decorators=[{type:i.NgModule,args:[{declarations:[o.a],exports:[o.a],imports:[r.CommonModule]}]}],s.ctorParameters=function(){return[]}},"69uX":function(t,e,n){"use strict";function i(t,e){return this.lift(new a(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),l=n("CURp"),s=n("Ou9t");e.distinct=i;var a=function(){function t(t,e){this.keySelector=t,this.flushes=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.keySelector,this.flushes))},t}(),u=function(t){function e(e,n,i){t.call(this,e),this.keySelector=n,this.values=new s.Set,i&&this.add(l.subscribeToResult(this,i))}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.values.clear()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},e.prototype._useKeySelector=function(t){var e,n=this.destination;try{e=this.keySelector(t)}catch(t){return void n.error(t)}this._finalizeNext(e,t)},e.prototype._finalizeNext=function(t,e){var n=this.values;n.has(t)||(n.add(t),this.destination.next(e))},e}(o.OuterSubscriber);e.DistinctSubscriber=u},"6Yye":function(t,e,n){"use strict";var i=n("rCTf"),r=n("+4ur");i.Observable.prototype.catch=r._catch,i.Observable.prototype._catch=r._catch},"6gFN":function(t,e,n){"use strict";var i=n("rCTf"),r=n("9oiU");i.Observable.prototype.mapTo=r.mapTo},"6hPP":function(t,e,n){"use strict";var i=n("rCTf"),r=n("t2Bb");i.Observable.prototype.sampleTime=r.sampleTime},"6s76":function(t,e,n){"use strict";var i=n("rCTf"),r=n("cJSH");i.Observable.prototype.groupBy=r.groupBy},"6uCv":function(t,e,n){"use strict";var i=n("3j3K"),r=n("c7mC");n.d(e,"b",function(){return o}),n.d(e,"a",function(){return l});var o=function(){function t(t){this._open=!1,this.openChange=new i.EventEmitter,this.up=t.up,this.autoClose=t.autoClose}return t.prototype.isOpen=function(){return this._open},t.prototype.open=function(){this._open||(this._open=!0,this.openChange.emit(!0))},t.prototype.close=function(){this._open&&(this._open=!1,this.openChange.emit(!1))},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype.closeFromOutsideClick=function(t){this.autoClose&&2!==t.button&&!this._isEventFromToggle(t)&&this.close()},t.prototype.closeFromOutsideEsc=function(){this.autoClose&&this.close()},Object.defineProperty(t.prototype,"toggleElement",{set:function(t){this._toggleElement=t},enumerable:!0,configurable:!0}),t.prototype._isEventFromToggle=function(t){return!!this._toggleElement&&this._toggleElement.contains(t.target)},t}();o.decorators=[{type:i.Directive,args:[{selector:"[ngbDropdown]",exportAs:"ngbDropdown",host:{"[class.dropdown]":"!up","[class.dropup]":"up","[class.show]":"isOpen()","(keyup.esc)":"closeFromOutsideEsc()","(document:click)":"closeFromOutsideClick($event)"}}]}],o.ctorParameters=function(){return[{type:r.a}]},o.propDecorators={up:[{type:i.Input}],autoClose:[{type:i.Input}],_open:[{type:i.Input,args:["open"]}],openChange:[{type:i.Output}]};var l=function(){function t(t,e){this.dropdown=t,t.toggleElement=e.nativeElement}return t.prototype.toggleOpen=function(){this.dropdown.toggle()},t}();l.decorators=[{type:i.Directive,args:[{selector:"[ngbDropdownToggle]",host:{class:"dropdown-toggle","aria-haspopup":"true","[attr.aria-expanded]":"dropdown.isOpen()","(click)":"toggleOpen()"}}]}],l.ctorParameters=function(){return[{type:o},{type:i.ElementRef}]}},7064:function(t,e,n){"use strict";var i=this&&this.__decorate||function(t,e,n,i){var r,o=arguments.length,l=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(l=(o<3?r(l):o>3?r(e,n,l):r(e,n))||l);return o>3&&l&&Object.defineProperty(e,n,l),l},r=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var o=n("3j3K"),l=n("hz2l"),s=function(){function t(t,e){this.resolver=t,this.dialogService=e}return t.prototype.addComponent=function(t){var e=this.resolver.resolveComponentFactory(t),n=o.ReflectiveInjector.fromResolvedProviders([],this.element.injector),i=e.create(n);return this.element.insert(i.hostView),this.content=i.instance,this.content.wrapper=this,this.content},t.prototype.closeByClickOutside=function(){var t=this,e=this.container.nativeElement;e.querySelector(".modal-content").addEventListener("click",function(t){t.stopPropagation()}),e.addEventListener("click",function(){t.dialogService.removeDialog(t.content)},!1)},t}();i([o.ViewChild("element",{read:o.ViewContainerRef}),r("design:type",o.ViewContainerRef)],s.prototype,"element",void 0),i([o.ViewChild("container"),r("design:type",Object)],s.prototype,"container",void 0),s=i([o.Component({selector:"dialog-wrapper",template:'\n <div #container class="modal fade" style="display:block !important;" role="dialog">\n <template #element></template>\n </div>\n'}),r("design:paramtypes",[o.ComponentFactoryResolver,l.DialogService])],s),e.DialogWrapperComponent=s},"77/N":function(t,e,n){"use strict";var i=n("rCTf"),r=n("l19J");i.Observable.prototype.takeLast=r.takeLast},"7DGp":function(t,e,n){"use strict";var i=n("2yGx");n.d(e,"a",function(){return o}),n.d(e,"b",function(){return l});var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(){function t(){}return t}(),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.parse=function(t){if(t){var e=t.trim().split("-");if(1===e.length&&n.i(i.a)(e[0]))return{year:n.i(i.b)(e[0]),month:null,day:null};if(2===e.length&&n.i(i.a)(e[0])&&n.i(i.a)(e[1]))return{year:n.i(i.b)(e[0]),month:n.i(i.b)(e[1]),day:null};if(3===e.length&&n.i(i.a)(e[0])&&n.i(i.a)(e[1])&&n.i(i.a)(e[2]))return{year:n.i(i.b)(e[0]),month:n.i(i.b)(e[1]),day:n.i(i.b)(e[2])}}return null},e.prototype.format=function(t){return t?t.year+"-"+(n.i(i.a)(t.month)?n.i(i.c)(t.month):"")+"-"+(n.i(i.a)(t.day)?n.i(i.c)(t.day):""):""},e}(o)},"7FaQ":function(t,e,n){"use strict";var i=n("rCTf"),r=n("Llwz");i.Observable.prototype.window=r.window},"7Gky":function(t,e,n){"use strict";function i(t,e){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=t,n.thisArg=e,n}e.not=i},"7axH":function(t,e,n){"use strict";var i=n("rCTf"),r=n("9PGs");i.Observable.prototype.toArray=r.toArray},"7hHh":function(t,e,n){"use strict";var i=n("Nr0j"),r=(n.n(i),n("x+30"));n.d(e,"a",function(){return l});var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),l=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.confirm=function(){var t,e=this,n=this.nombre,i=this.descripcion;t=new r.b,t.cedulaCreador=this.parentContext.directorioActual.cedulaCreador,this.esDirectorio?t.contenido=i:t.contenido="",t.directorio=this.esDirectorio,t.editable=!0,t.fechaCreacion=new Date,t.nombre=n,t.padreId=this.parentContext.directorioActual.id;var o=this.parentContext;/^[A-Z]/.test(n)?(this.parentContext.haskellService.crearArchivo(t).subscribe(function(t){var e=o.directorioActual.id;o.recargarArchivos(e)},function(t){e.parentContext.notifService.error(t)}),this.close()):alert("Nombre de archivo debe iniciar con mayusula.")},e.ctorParameters=function(){return[{type:i.DialogService}]},e}(i.DialogComponent)},"8/gC":function(t,e,n){"use strict";var i=n("RYQg");e.zip=i.zipStatic},"8DDp":function(t,e,n){"use strict";function i(t,e,n){void 0===n&&(n=o.async);var i=l.isDate(t),r=i?+t-n.now():Math.abs(t);return this.lift(new u(r,i,e,n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("CGGv"),l=n("fuZx"),s=n("wAkD"),a=n("CURp");e.timeoutWith=i;var u=function(){function t(t,e,n,i){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=i}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),c=function(t){function e(e,n,i,r,o){t.call(this,e),this.absoluteTimeout=n,this.waitFor=i,this.withObservable=r,this.scheduler=o,this.action=null,this.scheduleTimeout()}return r(e,t),e.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add(a.subscribeToResult(t,e))},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},e}(s.OuterSubscriber)},"8MUz":function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return this.lift.call(r.apply(void 0,[this].concat(t)))}function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null,i=t;return l.isScheduler(i[t.length-1])&&(n=i.pop()),null===n&&1===t.length&&t[0]instanceof o.Observable?t[0]:new s.ArrayObservable(t,n).lift(new a.MergeAllOperator(1))}var o=n("rCTf"),l=n("fWbP"),s=n("Yh8Q"),a=n("cbuX");e.concat=i,e.concatStatic=r},"8T44":function(t,e,n){"use strict";function i(t){return this.lift(new c(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),l=n("+3eL"),s=n("WhVc"),a=n("wAkD"),u=n("CURp");e.repeatWhen=i;var c=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.notifier,e))},t}(),h=function(t){function e(e,n,i){t.call(this,e),this.notifier=n,this.source=i,this.sourceIsBeingSubscribedTo=!0}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries){if(this.retriesSubscription.closed)return t.prototype.complete.call(this)}else this.subscribeToRetries();this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this,e=t.notifications,n=t.retriesSubscription;e&&(e.unsubscribe(),this.notifications=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this,n=e.notifications,i=e.retries,r=e.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,t.prototype._unsubscribeAndRecycle.call(this),this.notifications=n,this.retries=i,this.retriesSubscription=r,this},e.prototype.subscribeToRetries=function(){this.notifications=new o.Subject;var e=l.tryCatch(this.notifier)(this.notifications);if(e===s.errorObject)return t.prototype.complete.call(this);this.retries=e,this.retriesSubscription=u.subscribeToResult(this,e)},e}(a.OuterSubscriber)},"8U58":function(t,e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t){return new RegExp("(^|\\s)"+t+"(?:$|\\s)\\s*")}function e(t){for(var e=t.childNodes.length;e>0;--e)t.removeChild(t.firstChild);return t}function n(t,n){return e(t).appendChild(n)}function i(t,e,n,i){var r=document.createElement(t);if(n&&(r.className=n),i&&(r.style.cssText=i),"string"==typeof e)r.appendChild(document.createTextNode(e));else if(e)for(var o=0;o<e.length;++o)r.appendChild(e[o]);return r}function r(t,e,n,r){var o=i(t,e,n,r);return o.setAttribute("role","presentation"),o}function o(t,e){if(3==e.nodeType&&(e=e.parentNode),t.contains)return t.contains(e);do{if(11==e.nodeType&&(e=e.host),e==t)return!0}while(e=e.parentNode)}function l(){var t;try{t=document.activeElement}catch(e){t=document.body||null}for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;return t}function s(e,n){var i=e.className;t(n).test(i)||(e.className+=(i?" ":"")+n)}function a(e,n){for(var i=e.split(" "),r=0;r<i.length;r++)i[r]&&!t(i[r]).test(n)&&(n+=" "+i[r]);return n}function u(t){var e=Array.prototype.slice.call(arguments,1);return function(){return t.apply(null,e)}}function c(t,e,n){e||(e={});for(var i in t)!t.hasOwnProperty(i)||!1===n&&e.hasOwnProperty(i)||(e[i]=t[i]);return e}function h(t,e,n,i,r){null==e&&-1==(e=t.search(/[^\s\u00a0]/))&&(e=t.length);for(var o=i||0,l=r||0;;){var s=t.indexOf("\t",o);if(s<0||s>=e)return l+(e-o);l+=s-o,l+=n-l%n,o=s+1}}function p(t,e){for(var n=0;n<t.length;++n)if(t[n]==e)return n;return-1}function d(t,e,n){for(var i=0,r=0;;){var o=t.indexOf("\t",i);-1==o&&(o=t.length);var l=o-i;if(o==t.length||r+l>=e)return i+Math.min(l,e-r);if(r+=o-i,r+=n-r%n,i=o+1,r>=e)return i}}function f(t){for(;El.length<=t;)El.push(m(El)+" ");return El[t]}function m(t){return t[t.length-1]}function v(t,e){for(var n=[],i=0;i<t.length;i++)n[i]=e(t[i],i);return n}function g(t,e,n){for(var i=0,r=n(e);i<t.length&&n(t[i])<=r;)i++;t.splice(i,0,e)}function y(){}function b(t,e){var n;return Object.create?n=Object.create(t):(y.prototype=t,n=new y),e&&c(e,n),n}function w(t){return/\w/.test(t)||t>"€"&&(t.toUpperCase()!=t.toLowerCase()||Pl.test(t))}function x(t,e){return e?!!(e.source.indexOf("\\w")>-1&&w(t))||e.test(t):w(t)}function C(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e])return!1;return!0}function S(t){return t.charCodeAt(0)>=768&&jl.test(t)}function O(t,e,n){for(;(n<0?e>0:e<t.length)&&S(t.charAt(e));)e+=n;return e}function _(t,e,n){for(;;){if(Math.abs(e-n)<=1)return t(e)?e:n;var i=Math.floor((e+n)/2);t(i)?n=i:e=i}}function k(t,e,n){var o=this;this.input=n,o.scrollbarFiller=i("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=i("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=r("div",null,"CodeMirror-code"),o.selectionDiv=i("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=i("div",null,"CodeMirror-cursors"),o.measure=i("div",null,"CodeMirror-measure"),o.lineMeasure=i("div",null,"CodeMirror-measure"),o.lineSpace=r("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var l=r("div",[o.lineSpace],"CodeMirror-lines");o.mover=i("div",[l],null,"position: relative"),o.sizer=i("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=i("div",null,null,"position: absolute; height: "+Dl+"px; width: 1px;"),o.gutters=i("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=i("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=i("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),ol&&ll<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),sl||el&&vl||(o.scroller.draggable=!0),t&&(t.appendChild?t.appendChild(o.wrapper):t(o.wrapper)),o.viewFrom=o.viewTo=e.first,o.reportedViewFrom=o.reportedViewTo=e.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,n.init(o)}function T(t,e){if((e-=t.first)<0||e>=t.size)throw new Error("There is no line "+(e+t.first)+" in the document.");for(var n=t;!n.lines;)for(var i=0;;++i){var r=n.children[i],o=r.chunkSize();if(e<o){n=r;break}e-=o}return n.lines[e]}function I(t,e,n){var i=[],r=e.line;return t.iter(e.line,n.line+1,function(t){var o=t.text;r==n.line&&(o=o.slice(0,n.ch)),r==e.line&&(o=o.slice(e.ch)),i.push(o),++r}),i}function D(t,e,n){var i=[];return t.iter(e,n,function(t){i.push(t.text)}),i}function M(t,e){var n=e-t.height;if(n)for(var i=t;i;i=i.parent)i.height+=n}function R(t){if(null==t.parent)return null;for(var e=t.parent,n=p(e.lines,t),i=e.parent;i;e=i,i=i.parent)for(var r=0;i.children[r]!=e;++r)n+=i.children[r].chunkSize();return n+e.first}function N(t,e){var n=t.first;t:do{for(var i=0;i<t.children.length;++i){var r=t.children[i],o=r.height;if(e<o){t=r;continue t}e-=o,n+=r.chunkSize()}return n}while(!t.lines);for(var l=0;l<t.lines.length;++l){var s=t.lines[l],a=s.height;if(e<a)break;e-=a}return n+l}function A(t,e){return e>=t.first&&e<t.first+t.size}function E(t,e){return String(t.lineNumberFormatter(e+t.firstLineNumber))}function P(t,e,n){if(void 0===n&&(n=null),!(this instanceof P))return new P(t,e,n);this.line=t,this.ch=e,this.sticky=n}function j(t,e){return t.line-e.line||t.ch-e.ch}function L(t,e){return t.sticky==e.sticky&&0==j(t,e)}function F(t){return P(t.line,t.ch)}function V(t,e){return j(t,e)<0?e:t}function W(t,e){return j(t,e)<0?t:e}function z(t,e){return Math.max(t.first,Math.min(e,t.first+t.size-1))}function H(t,e){if(e.line<t.first)return P(t.first,0);var n=t.first+t.size-1;return e.line>n?P(n,T(t,n).text.length):B(e,T(t,e.line).text.length)}function B(t,e){var n=t.ch;return null==n||n>e?P(t.line,e):n<0?P(t.line,0):t}function U(t,e){for(var n=[],i=0;i<e.length;i++)n[i]=H(t,e[i]);return n}function q(){Ll=!0}function K(){Fl=!0}function G(t,e,n){this.marker=t,this.from=e,this.to=n}function Y(t,e){if(t)for(var n=0;n<t.length;++n){var i=t[n];if(i.marker==e)return i}}function X(t,e){for(var n,i=0;i<t.length;++i)t[i]!=e&&(n||(n=[])).push(t[i]);return n}function J(t,e){t.markedSpans=t.markedSpans?t.markedSpans.concat([e]):[e],e.marker.attachLine(t)}function $(t,e,n){var i;if(t)for(var r=0;r<t.length;++r){var o=t[r],l=o.marker,s=null==o.from||(l.inclusiveLeft?o.from<=e:o.from<e);if(s||o.from==e&&"bookmark"==l.type&&(!n||!o.marker.insertLeft)){var a=null==o.to||(l.inclusiveRight?o.to>=e:o.to>e);(i||(i=[])).push(new G(l,o.from,a?null:o.to))}}return i}function Z(t,e,n){var i;if(t)for(var r=0;r<t.length;++r){var o=t[r],l=o.marker,s=null==o.to||(l.inclusiveRight?o.to>=e:o.to>e);if(s||o.from==e&&"bookmark"==l.type&&(!n||o.marker.insertLeft)){var a=null==o.from||(l.inclusiveLeft?o.from<=e:o.from<e);(i||(i=[])).push(new G(l,a?null:o.from-e,null==o.to?null:o.to-e))}}return i}function Q(t,e){if(e.full)return null;var n=A(t,e.from.line)&&T(t,e.from.line).markedSpans,i=A(t,e.to.line)&&T(t,e.to.line).markedSpans;if(!n&&!i)return null;var r=e.from.ch,o=e.to.ch,l=0==j(e.from,e.to),s=$(n,r,l),a=Z(i,o,l),u=1==e.text.length,c=m(e.text).length+(u?r:0);if(s)for(var h=0;h<s.length;++h){var p=s[h];if(null==p.to){var d=Y(a,p.marker);d?u&&(p.to=null==d.to?null:d.to+c):p.to=r}}if(a)for(var f=0;f<a.length;++f){var v=a[f];if(null!=v.to&&(v.to+=c),null==v.from){var g=Y(s,v.marker);g||(v.from=c,u&&(s||(s=[])).push(v))}else v.from+=c,u&&(s||(s=[])).push(v)}s&&(s=tt(s)),a&&a!=s&&(a=tt(a));var y=[s];if(!u){var b,w=e.text.length-2;if(w>0&&s)for(var x=0;x<s.length;++x)null==s[x].to&&(b||(b=[])).push(new G(s[x].marker,null,null));for(var C=0;C<w;++C)y.push(b);y.push(a)}return y}function tt(t){for(var e=0;e<t.length;++e){var n=t[e];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&t.splice(e--,1)}return t.length?t:null}function et(t,e,n){var i=null;if(t.iter(e.line,n.line+1,function(t){if(t.markedSpans)for(var e=0;e<t.markedSpans.length;++e){var n=t.markedSpans[e].marker;!n.readOnly||i&&-1!=p(i,n)||(i||(i=[])).push(n)}}),!i)return null;for(var r=[{from:e,to:n}],o=0;o<i.length;++o)for(var l=i[o],s=l.find(0),a=0;a<r.length;++a){var u=r[a];if(!(j(u.to,s.from)<0||j(u.from,s.to)>0)){var c=[a,1],h=j(u.from,s.from),d=j(u.to,s.to);(h<0||!l.inclusiveLeft&&!h)&&c.push({from:u.from,to:s.from}),(d>0||!l.inclusiveRight&&!d)&&c.push({from:s.to,to:u.to}),r.splice.apply(r,c),a+=c.length-3}}return r}function nt(t){var e=t.markedSpans;if(e){for(var n=0;n<e.length;++n)e[n].marker.detachLine(t);t.markedSpans=null}}function it(t,e){if(e){for(var n=0;n<e.length;++n)e[n].marker.attachLine(t);t.markedSpans=e}}function rt(t){return t.inclusiveLeft?-1:0}function ot(t){return t.inclusiveRight?1:0}function lt(t,e){var n=t.lines.length-e.lines.length;if(0!=n)return n;var i=t.find(),r=e.find(),o=j(i.from,r.from)||rt(t)-rt(e);if(o)return-o;var l=j(i.to,r.to)||ot(t)-ot(e);return l||e.id-t.id}function st(t,e){var n,i=Fl&&t.markedSpans;if(i)for(var r=void 0,o=0;o<i.length;++o)r=i[o],r.marker.collapsed&&null==(e?r.from:r.to)&&(!n||lt(n,r.marker)<0)&&(n=r.marker);return n}function at(t){return st(t,!0)}function ut(t){return st(t,!1)}function ct(t,e,n,i,r){var o=T(t,e),l=Fl&&o.markedSpans;if(l)for(var s=0;s<l.length;++s){var a=l[s];if(a.marker.collapsed){var u=a.marker.find(0),c=j(u.from,n)||rt(a.marker)-rt(r),h=j(u.to,i)||ot(a.marker)-ot(r);if(!(c>=0&&h<=0||c<=0&&h>=0)&&(c<=0&&(a.marker.inclusiveRight&&r.inclusiveLeft?j(u.to,n)>=0:j(u.to,n)>0)||c>=0&&(a.marker.inclusiveRight&&r.inclusiveLeft?j(u.from,i)<=0:j(u.from,i)<0)))return!0}}}function ht(t){for(var e;e=at(t);)t=e.find(-1,!0).line;return t}function pt(t){for(var e;e=ut(t);)t=e.find(1,!0).line;return t}function dt(t){for(var e,n;e=ut(t);)t=e.find(1,!0).line,(n||(n=[])).push(t);return n}function ft(t,e){var n=T(t,e),i=ht(n);return n==i?e:R(i)}function mt(t,e){if(e>t.lastLine())return e;var n,i=T(t,e);if(!vt(t,i))return e;for(;n=ut(i);)i=n.find(1,!0).line;return R(i)+1}function vt(t,e){var n=Fl&&e.markedSpans;if(n)for(var i=void 0,r=0;r<n.length;++r)if(i=n[r],i.marker.collapsed){if(null==i.from)return!0;if(!i.marker.widgetNode&&0==i.from&&i.marker.inclusiveLeft&>(t,e,i))return!0}}function gt(t,e,n){if(null==n.to){var i=n.marker.find(1,!0);return gt(t,i.line,Y(i.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==e.text.length)return!0;for(var r=void 0,o=0;o<e.markedSpans.length;++o)if(r=e.markedSpans[o],r.marker.collapsed&&!r.marker.widgetNode&&r.from==n.to&&(null==r.to||r.to!=n.from)&&(r.marker.inclusiveLeft||n.marker.inclusiveRight)&>(t,e,r))return!0}function yt(t){t=ht(t);for(var e=0,n=t.parent,i=0;i<n.lines.length;++i){var r=n.lines[i];if(r==t)break;e+=r.height}for(var o=n.parent;o;n=o,o=n.parent)for(var l=0;l<o.children.length;++l){var s=o.children[l];if(s==n)break;e+=s.height}return e}function bt(t){if(0==t.height)return 0;for(var e,n=t.text.length,i=t;e=at(i);){var r=e.find(0,!0);i=r.from.line,n+=r.from.ch-r.to.ch}for(i=t;e=ut(i);){var o=e.find(0,!0);n-=i.text.length-o.from.ch,i=o.to.line,n+=i.text.length-o.to.ch}return n}function wt(t){var e=t.display,n=t.doc;e.maxLine=T(n,n.first),e.maxLineLength=bt(e.maxLine),e.maxLineChanged=!0,n.iter(function(t){var n=bt(t);n>e.maxLineLength&&(e.maxLineLength=n,e.maxLine=t)})}function xt(t,e,n,i){if(!t)return i(e,n,"ltr");for(var r=!1,o=0;o<t.length;++o){var l=t[o];(l.from<n&&l.to>e||e==n&&l.to==e)&&(i(Math.max(l.from,e),Math.min(l.to,n),1==l.level?"rtl":"ltr"),r=!0)}r||i(e,n,"ltr")}function Ct(t,e,n){var i;Vl=null;for(var r=0;r<t.length;++r){var o=t[r];if(o.from<e&&o.to>e)return r;o.to==e&&(o.from!=o.to&&"before"==n?i=r:Vl=r),o.from==e&&(o.from!=o.to&&"before"!=n?i=r:Vl=r)}return null!=i?i:Vl}function St(t,e){var n=t.order;return null==n&&(n=t.order=Wl(t.text,e)),n}function Ot(t,e,n){var i=O(t.text,e+n,n);return i<0||i>t.text.length?null:i}function _t(t,e,n){var i=Ot(t,e.ch,n);return null==i?null:new P(e.line,i,n<0?"after":"before")}function kt(t,e,n,i,r){if(t){var o=St(n,e.doc.direction);if(o){var l,s=r<0?m(o):o[0],a=r<0==(1==s.level),u=a?"after":"before";if(s.level>0){var c=Je(e,n);l=r<0?n.text.length-1:0;var h=$e(e,c,l).top;l=_(function(t){return $e(e,c,t).top==h},r<0==(1==s.level)?s.from:s.to-1,l),"before"==u&&(l=Ot(n,l,1))}else l=r<0?s.to:s.from;return new P(i,l,u)}}return new P(i,r<0?n.text.length:0,r<0?"before":"after")}function Tt(t,e,n,i){var r=St(e,t.doc.direction);if(!r)return _t(e,n,i);n.ch>=e.text.length?(n.ch=e.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=Ct(r,n.ch,n.sticky),l=r[o];if("ltr"==t.doc.direction&&l.level%2==0&&(i>0?l.to>n.ch:l.from<n.ch))return _t(e,n,i);var s,a=function(t,n){return Ot(e,t instanceof P?t.ch:t,n)},u=function(n){return t.options.lineWrapping?(s=s||Je(t,e),vn(t,e,s,n)):{begin:0,end:e.text.length}},c=u("before"==n.sticky?a(n,-1):n.ch);if("rtl"==t.doc.direction||1==l.level){var h=1==l.level==i<0,p=a(n,h?1:-1);if(null!=p&&(h?p<=l.to&&p<=c.end:p>=l.from&&p>=c.begin)){var d=h?"before":"after";return new P(n.line,p,d)}}var f=function(t,e,i){for(var o=function(t,e){return e?new P(n.line,a(t,1),"before"):new P(n.line,t,"after")};t>=0&&t<r.length;t+=e){var l=r[t],s=e>0==(1!=l.level),u=s?i.begin:a(i.end,-1);if(l.from<=u&&u<l.to)return o(u,s);if(u=s?l.from:a(l.to,-1),i.begin<=u&&u<i.end)return o(u,s)}},m=f(o+i,i,c);if(m)return m;var v=i>0?c.end:a(c.begin,-1);return null==v||i>0&&v==e.text.length||!(m=f(i>0?0:r.length-1,i,u(v)))?null:m}function It(t,e){return t._handlers&&t._handlers[e]||zl}function Dt(t,e,n){if(t.removeEventListener)t.removeEventListener(e,n,!1);else if(t.detachEvent)t.detachEvent("on"+e,n);else{var i=t._handlers,r=i&&i[e];if(r){var o=p(r,n);o>-1&&(i[e]=r.slice(0,o).concat(r.slice(o+1)))}}}function Mt(t,e){var n=It(t,e);if(n.length)for(var i=Array.prototype.slice.call(arguments,2),r=0;r<n.length;++r)n[r].apply(null,i)}function Rt(t,e,n){return"string"==typeof e&&(e={type:e,preventDefault:function(){this.defaultPrevented=!0}}),Mt(t,n||e.type,t,e),Lt(e)||e.codemirrorIgnore}function Nt(t){var e=t._handlers&&t._handlers.cursorActivity;if(e)for(var n=t.curOp.cursorActivityHandlers||(t.curOp.cursorActivityHandlers=[]),i=0;i<e.length;++i)-1==p(n,e[i])&&n.push(e[i])}function At(t,e){return It(t,e).length>0}function Et(t){t.prototype.on=function(t,e){Hl(this,t,e)},t.prototype.off=function(t,e){Dt(this,t,e)}}function Pt(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function jt(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}function Lt(t){return null!=t.defaultPrevented?t.defaultPrevented:0==t.returnValue}function Ft(t){Pt(t),jt(t)}function Vt(t){return t.target||t.srcElement}function Wt(t){var e=t.which;return null==e&&(1&t.button?e=1:2&t.button?e=3:4&t.button&&(e=2)),gl&&t.ctrlKey&&1==e&&(e=3),e}function zt(t){if(null==Tl){var e=i("span","​");n(t,i("span",[e,document.createTextNode("x")])),0!=t.firstChild.offsetHeight&&(Tl=e.offsetWidth<=1&&e.offsetHeight>2&&!(ol&&ll<8))}var r=Tl?i("span","​"):i("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return r.setAttribute("cm-text",""),r}function Ht(t){if(null!=Il)return Il;var i=n(t,document.createTextNode("AØ®A")),r=xl(i,0,1).getBoundingClientRect(),o=xl(i,1,2).getBoundingClientRect();return e(t),!(!r||r.left==r.right)&&(Il=o.right-r.right<3)}function Bt(t){if(null!=Gl)return Gl;var e=n(t,i("span","x")),r=e.getBoundingClientRect(),o=xl(e,0,1).getBoundingClientRect();return Gl=Math.abs(r.left-o.left)>1}function Ut(t,e){arguments.length>2&&(e.dependencies=Array.prototype.slice.call(arguments,2)),Yl[t]=e}function qt(t,e){Xl[t]=e}function Kt(t){if("string"==typeof t&&Xl.hasOwnProperty(t))t=Xl[t];else if(t&&"string"==typeof t.name&&Xl.hasOwnProperty(t.name)){var e=Xl[t.name];"string"==typeof e&&(e={name:e}),t=b(e,t),t.name=e.name}else{if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+xml$/.test(t))return Kt("application/xml");if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+json$/.test(t))return Kt("application/json")}return"string"==typeof t?{name:t}:t||{name:"null"}}function Gt(t,e){e=Kt(e);var n=Yl[e.name];if(!n)return Gt(t,"text/plain");var i=n(t,e);if(Jl.hasOwnProperty(e.name)){var r=Jl[e.name];for(var o in r)r.hasOwnProperty(o)&&(i.hasOwnProperty(o)&&(i["_"+o]=i[o]),i[o]=r[o])}if(i.name=e.name,e.helperType&&(i.helperType=e.helperType),e.modeProps)for(var l in e.modeProps)i[l]=e.modeProps[l];return i}function Yt(t,e){c(e,Jl.hasOwnProperty(t)?Jl[t]:Jl[t]={})}function Xt(t,e){if(!0===e)return e;if(t.copyState)return t.copyState(e);var n={};for(var i in e){var r=e[i];r instanceof Array&&(r=r.concat([])),n[i]=r}return n}function Jt(t,e){for(var n;t.innerMode&&(n=t.innerMode(e))&&n.mode!=t;)e=n.state,t=n.mode;return n||{mode:t,state:e}}function $t(t,e,n){return!t.startState||t.startState(e,n)}function Zt(t,e,n,i){var r=[t.state.modeGen],o={};le(t,e.text,t.doc.mode,n,function(t,e){return r.push(t,e)},o,i);for(var l=function(n){var i=t.state.overlays[n],l=1,s=0;le(t,e.text,i.mode,!0,function(t,e){for(var n=l;s<t;){var o=r[l];o>t&&r.splice(l,1,t,r[l+1],o),l+=2,s=Math.min(t,o)}if(e)if(i.opaque)r.splice(n,l-n,t,"overlay "+e),l=n+2;else for(;n<l;n+=2){var a=r[n+1];r[n+1]=(a?a+" ":"")+"overlay "+e}},o)},s=0;s<t.state.overlays.length;++s)l(s);return{styles:r,classes:o.bgClass||o.textClass?o:null}}function Qt(t,e,n){if(!e.styles||e.styles[0]!=t.state.modeGen){var i=te(t,R(e)),r=Zt(t,e,e.text.length>t.options.maxHighlightLength?Xt(t.doc.mode,i):i);e.stateAfter=i,e.styles=r.styles,r.classes?e.styleClasses=r.classes:e.styleClasses&&(e.styleClasses=null),n===t.doc.frontier&&t.doc.frontier++}return e.styles}function te(t,e,n){var i=t.doc,r=t.display;if(!i.mode.startState)return!0;var o=se(t,e,n),l=o>i.first&&T(i,o-1).stateAfter;return l=l?Xt(i.mode,l):$t(i.mode),i.iter(o,e,function(n){ee(t,n.text,l);var s=o==e-1||o%5==0||o>=r.viewFrom&&o<r.viewTo;n.stateAfter=s?Xt(i.mode,l):null,++o}),n&&(i.frontier=o),l}function ee(t,e,n,i){var r=t.doc.mode,o=new $l(e,t.options.tabSize);for(o.start=o.pos=i||0,""==e&&ne(r,n);!o.eol();)ie(r,o,n),o.start=o.pos}function ne(t,e){if(t.blankLine)return t.blankLine(e);if(t.innerMode){var n=Jt(t,e);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function ie(t,e,n,i){for(var r=0;r<10;r++){i&&(i[0]=Jt(t,n).mode);var o=t.token(e,n);if(e.pos>e.start)return o}throw new Error("Mode "+t.name+" failed to advance stream.")}function re(t,e,n,i){var r,o=function(t){return{start:h.start,end:h.pos,string:h.current(),type:r||null,state:t?Xt(l.mode,c):c}},l=t.doc,s=l.mode;e=H(l,e);var a,u=T(l,e.line),c=te(t,e.line,n),h=new $l(u.text,t.options.tabSize);for(i&&(a=[]);(i||h.pos<e.ch)&&!h.eol();)h.start=h.pos,r=ie(s,h,c),i&&a.push(o(!0));return i?a:o()}function oe(t,e){if(t)for(;;){var n=t.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;t=t.slice(0,n.index)+t.slice(n.index+n[0].length);var i=n[1]?"bgClass":"textClass";null==e[i]?e[i]=n[2]:new RegExp("(?:^|s)"+n[2]+"(?:$|s)").test(e[i])||(e[i]+=" "+n[2])}return t}function le(t,e,n,i,r,o,l){var s=n.flattenSpans;null==s&&(s=t.options.flattenSpans);var a,u=0,c=null,h=new $l(e,t.options.tabSize),p=t.options.addModeClass&&[null];for(""==e&&oe(ne(n,i),o);!h.eol();){if(h.pos>t.options.maxHighlightLength?(s=!1,l&&ee(t,e,i,h.pos),h.pos=e.length,a=null):a=oe(ie(n,h,i,p),o),p){var d=p[0].name;d&&(a="m-"+(a?d+" "+a:d))}if(!s||c!=a){for(;u<h.start;)u=Math.min(h.start,u+5e3),r(u,c);c=a}h.start=h.pos}for(;u<h.pos;){var f=Math.min(h.pos,u+5e3);r(f,c),u=f}}function se(t,e,n){for(var i,r,o=t.doc,l=n?-1:e-(t.doc.mode.innerMode?1e3:100),s=e;s>l;--s){if(s<=o.first)return o.first;var a=T(o,s-1);if(a.stateAfter&&(!n||s<=o.frontier))return s;var u=h(a.text,null,t.options.tabSize);(null==r||i>u)&&(r=s-1,i=u)}return r}function ae(t,e,n,i){t.text=e,t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null),null!=t.order&&(t.order=null),nt(t),it(t,n);var r=i?i(t):1;r!=t.height&&M(t,r)}function ue(t){t.parent=null,nt(t)}function ce(t,e){if(!t||/^\s*$/.test(t))return null;var n=e.addModeClass?es:ts;return n[t]||(n[t]=t.replace(/\S+/g,"cm-$&"))}function he(t,e){var n=r("span",null,null,sl?"padding-right: .1px":null),i={pre:r("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:t,trailingSpace:!1,splitSpaces:(ol||sl)&&t.getOption("lineWrapping")};e.measure={};for(var o=0;o<=(e.rest?e.rest.length:0);o++){var l=o?e.rest[o-1]:e.line,s=void 0;i.pos=0,i.addToken=de,Ht(t.display.measure)&&(s=St(l,t.doc.direction))&&(i.addToken=me(i.addToken,s)),i.map=[];ge(l,i,Qt(t,l,e!=t.display.externalMeasured&&R(l))),l.styleClasses&&(l.styleClasses.bgClass&&(i.bgClass=a(l.styleClasses.bgClass,i.bgClass||"")),l.styleClasses.textClass&&(i.textClass=a(l.styleClasses.textClass,i.textClass||""))),0==i.map.length&&i.map.push(0,0,i.content.appendChild(zt(t.display.measure))),0==o?(e.measure.map=i.map,e.measure.cache={}):((e.measure.maps||(e.measure.maps=[])).push(i.map),(e.measure.caches||(e.measure.caches=[])).push({}))}if(sl){var u=i.content.lastChild;(/\bcm-tab\b/.test(u.className)||u.querySelector&&u.querySelector(".cm-tab"))&&(i.content.className="cm-tab-wrap-hack")}return Mt(t,"renderLine",t,e.line,i.pre),i.pre.className&&(i.textClass=a(i.pre.className,i.textClass||"")),i}function pe(t){var e=i("span","•","cm-invalidchar");return e.title="\\u"+t.charCodeAt(0).toString(16),e.setAttribute("aria-label",e.title),e}function de(t,e,n,r,o,l,s){if(e){var a,u=t.splitSpaces?fe(e,t.trailingSpace):e,c=t.cm.state.specialChars,h=!1;if(c.test(e)){a=document.createDocumentFragment();for(var p=0;;){c.lastIndex=p;var d=c.exec(e),m=d?d.index-p:e.length-p;if(m){var v=document.createTextNode(u.slice(p,p+m));ol&&ll<9?a.appendChild(i("span",[v])):a.appendChild(v),t.map.push(t.pos,t.pos+m,v),t.col+=m,t.pos+=m}if(!d)break;p+=m+1;var g=void 0;if("\t"==d[0]){var y=t.cm.options.tabSize,b=y-t.col%y;g=a.appendChild(i("span",f(b),"cm-tab")),g.setAttribute("role","presentation"),g.setAttribute("cm-text","\t"),t.col+=b}else"\r"==d[0]||"\n"==d[0]?(g=a.appendChild(i("span","\r"==d[0]?"â":"â¤","cm-invalidchar")),g.setAttribute("cm-text",d[0]),t.col+=1):(g=t.cm.options.specialCharPlaceholder(d[0]),g.setAttribute("cm-text",d[0]),ol&&ll<9?a.appendChild(i("span",[g])):a.appendChild(g),t.col+=1);t.map.push(t.pos,t.pos+1,g),t.pos++}}else t.col+=e.length,a=document.createTextNode(u),t.map.push(t.pos,t.pos+e.length,a),ol&&ll<9&&(h=!0),t.pos+=e.length;if(t.trailingSpace=32==u.charCodeAt(e.length-1),n||r||o||h||s){var w=n||"";r&&(w+=r),o&&(w+=o);var x=i("span",[a],w,s);return l&&(x.title=l),t.content.appendChild(x)}t.content.appendChild(a)}}function fe(t,e){if(t.length>1&&!/ /.test(t))return t;for(var n=e,i="",r=0;r<t.length;r++){var o=t.charAt(r);" "!=o||!n||r!=t.length-1&&32!=t.charCodeAt(r+1)||(o=" "),i+=o,n=" "==o}return i}function me(t,e){return function(n,i,r,o,l,s,a){r=r?r+" cm-force-border":"cm-force-border";for(var u=n.pos,c=u+i.length;;){for(var h=void 0,p=0;p<e.length&&(h=e[p],!(h.to>u&&h.from<=u));p++);if(h.to>=c)return t(n,i,r,o,l,s,a);t(n,i.slice(0,h.to-u),r,o,null,s,a),o=null,i=i.slice(h.to-u),u=h.to}}}function ve(t,e,n,i){var r=!i&&n.widgetNode;r&&t.map.push(t.pos,t.pos+e,r),!i&&t.cm.display.input.needsContentAttribute&&(r||(r=t.content.appendChild(document.createElement("span"))),r.setAttribute("cm-marker",n.id)),r&&(t.cm.display.input.setUneditable(r),t.content.appendChild(r)),t.pos+=e,t.trailingSpace=!1}function ge(t,e,n){var i=t.markedSpans,r=t.text,o=0;if(i)for(var l,s,a,u,c,h,p,d=r.length,f=0,m=1,v="",g=0;;){if(g==f){a=u=c=h=s="",p=null,g=1/0;for(var y=[],b=void 0,w=0;w<i.length;++w){var x=i[w],C=x.marker;"bookmark"==C.type&&x.from==f&&C.widgetNode?y.push(C):x.from<=f&&(null==x.to||x.to>f||C.collapsed&&x.to==f&&x.from==f)?(null!=x.to&&x.to!=f&&g>x.to&&(g=x.to,u=""),C.className&&(a+=" "+C.className),C.css&&(s=(s?s+";":"")+C.css),C.startStyle&&x.from==f&&(c+=" "+C.startStyle),C.endStyle&&x.to==g&&(b||(b=[])).push(C.endStyle,x.to),C.title&&!h&&(h=C.title),C.collapsed&&(!p||lt(p.marker,C)<0)&&(p=x)):x.from>f&&g>x.from&&(g=x.from)}if(b)for(var S=0;S<b.length;S+=2)b[S+1]==g&&(u+=" "+b[S]);if(!p||p.from==f)for(var O=0;O<y.length;++O)ve(e,0,y[O]);if(p&&(p.from||0)==f){if(ve(e,(null==p.to?d+1:p.to)-f,p.marker,null==p.from),null==p.to)return;p.to==f&&(p=!1)}}if(f>=d)break;for(var _=Math.min(d,g);;){if(v){var k=f+v.length;if(!p){var T=k>_?v.slice(0,_-f):v;e.addToken(e,T,l?l+a:a,c,f+T.length==g?u:"",h,s)}if(k>=_){v=v.slice(_-f),f=_;break}f=k,c=""}v=r.slice(o,o=n[m++]),l=ce(n[m++],e.cm.options)}}else for(var I=1;I<n.length;I+=2)e.addToken(e,r.slice(o,o=n[I]),ce(n[I+1],e.cm.options))}function ye(t,e,n){this.line=e,this.rest=dt(e),this.size=this.rest?R(m(this.rest))-n+1:1,this.node=this.text=null,this.hidden=vt(t,e)}function be(t,e,n){for(var i,r=[],o=e;o<n;o=i){var l=new ye(t.doc,T(t.doc,o),o);i=o+l.size,r.push(l)}return r}function we(t){ns?ns.ops.push(t):t.ownsGroup=ns={ops:[t],delayedCallbacks:[]}}function xe(t){var e=t.delayedCallbacks,n=0;do{for(;n<e.length;n++)e[n].call(null);for(var i=0;i<t.ops.length;i++){var r=t.ops[i];if(r.cursorActivityHandlers)for(;r.cursorActivityCalled<r.cursorActivityHandlers.length;)r.cursorActivityHandlers[r.cursorActivityCalled++].call(null,r.cm)}}while(n<e.length)}function Ce(t,e){var n=t.ownsGroup;if(n)try{xe(n)}finally{ns=null,e(n)}}function Se(t,e){var n=It(t,e);if(n.length){var i,r=Array.prototype.slice.call(arguments,2);ns?i=ns.delayedCallbacks:is?i=is:(i=is=[],setTimeout(Oe,0));for(var o=function(t){i.push(function(){return n[t].apply(null,r)})},l=0;l<n.length;++l)o(l)}}function Oe(){var t=is;is=null;for(var e=0;e<t.length;++e)t[e]()}function _e(t,e,n,i){for(var r=0;r<e.changes.length;r++){var o=e.changes[r];"text"==o?De(t,e):"gutter"==o?Re(t,e,n,i):"class"==o?Me(t,e):"widget"==o&&Ne(t,e,i)}e.changes=null}function ke(t){return t.node==t.text&&(t.node=i("div",null,null,"position: relative"),t.text.parentNode&&t.text.parentNode.replaceChild(t.node,t.text),t.node.appendChild(t.text),ol&&ll<8&&(t.node.style.zIndex=2)),t.node}function Te(t,e){var n=e.bgClass?e.bgClass+" "+(e.line.bgClass||""):e.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),e.background)n?e.background.className=n:(e.background.parentNode.removeChild(e.background),e.background=null);else if(n){var r=ke(e);e.background=r.insertBefore(i("div",null,n),r.firstChild),t.display.input.setUneditable(e.background)}}function Ie(t,e){var n=t.display.externalMeasured;return n&&n.line==e.line?(t.display.externalMeasured=null,e.measure=n.measure,n.built):he(t,e)}function De(t,e){var n=e.text.className,i=Ie(t,e);e.text==e.node&&(e.node=i.pre),e.text.parentNode.replaceChild(i.pre,e.text),e.text=i.pre,i.bgClass!=e.bgClass||i.textClass!=e.textClass?(e.bgClass=i.bgClass,e.textClass=i.textClass,Me(t,e)):n&&(e.text.className=n)}function Me(t,e){Te(t,e),e.line.wrapClass?ke(e).className=e.line.wrapClass:e.node!=e.text&&(e.node.className="");var n=e.textClass?e.textClass+" "+(e.line.textClass||""):e.line.textClass;e.text.className=n||""}function Re(t,e,n,r){if(e.gutter&&(e.node.removeChild(e.gutter),e.gutter=null),e.gutterBackground&&(e.node.removeChild(e.gutterBackground),e.gutterBackground=null),e.line.gutterClass){var o=ke(e);e.gutterBackground=i("div",null,"CodeMirror-gutter-background "+e.line.gutterClass,"left: "+(t.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),t.display.input.setUneditable(e.gutterBackground),o.insertBefore(e.gutterBackground,e.text)}var l=e.line.gutterMarkers;if(t.options.lineNumbers||l){var s=ke(e),a=e.gutter=i("div",null,"CodeMirror-gutter-wrapper","left: "+(t.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(t.display.input.setUneditable(a),s.insertBefore(a,e.text),e.line.gutterClass&&(a.className+=" "+e.line.gutterClass),!t.options.lineNumbers||l&&l["CodeMirror-linenumbers"]||(e.lineNumber=a.appendChild(i("div",E(t.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+t.display.lineNumInnerWidth+"px"))),l)for(var u=0;u<t.options.gutters.length;++u){var c=t.options.gutters[u],h=l.hasOwnProperty(c)&&l[c];h&&a.appendChild(i("div",[h],"CodeMirror-gutter-elt","left: "+r.gutterLeft[c]+"px; width: "+r.gutterWidth[c]+"px"))}}}function Ne(t,e,n){e.alignable&&(e.alignable=null);for(var i=e.node.firstChild,r=void 0;i;i=r)r=i.nextSibling,"CodeMirror-linewidget"==i.className&&e.node.removeChild(i);Ee(t,e,n)}function Ae(t,e,n,i){var r=Ie(t,e);return e.text=e.node=r.pre,r.bgClass&&(e.bgClass=r.bgClass),r.textClass&&(e.textClass=r.textClass),Me(t,e),Re(t,e,n,i),Ee(t,e,i),e.node}function Ee(t,e,n){if(Pe(t,e.line,e,n,!0),e.rest)for(var i=0;i<e.rest.length;i++)Pe(t,e.rest[i],e,n,!1)}function Pe(t,e,n,r,o){if(e.widgets)for(var l=ke(n),s=0,a=e.widgets;s<a.length;++s){var u=a[s],c=i("div",[u.node],"CodeMirror-linewidget");u.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),je(u,c,n,r),t.display.input.setUneditable(c),o&&u.above?l.insertBefore(c,n.gutter||n.text):l.appendChild(c),Se(u,"redraw")}}function je(t,e,n,i){if(t.noHScroll){(n.alignable||(n.alignable=[])).push(e);var r=i.wrapperWidth;e.style.left=i.fixedPos+"px",t.coverGutter||(r-=i.gutterTotalWidth,e.style.paddingLeft=i.gutterTotalWidth+"px"),e.style.width=r+"px"}t.coverGutter&&(e.style.zIndex=5,e.style.position="relative",t.noHScroll||(e.style.marginLeft=-i.gutterTotalWidth+"px"))}function Le(t){if(null!=t.height)return t.height;var e=t.doc.cm;if(!e)return 0;if(!o(document.body,t.node)){var r="position: relative;";t.coverGutter&&(r+="margin-left: -"+e.display.gutters.offsetWidth+"px;"),t.noHScroll&&(r+="width: "+e.display.wrapper.clientWidth+"px;"),n(e.display.measure,i("div",[t.node],null,r))}return t.height=t.node.parentNode.offsetHeight}function Fe(t,e){for(var n=Vt(e);n!=t.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==t.sizer&&n!=t.mover)return!0}function Ve(t){return t.lineSpace.offsetTop}function We(t){return t.mover.offsetHeight-t.lineSpace.offsetHeight}function ze(t){if(t.cachedPaddingH)return t.cachedPaddingH;var e=n(t.measure,i("pre","x")),r=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,o={left:parseInt(r.paddingLeft),right:parseInt(r.paddingRight)};return isNaN(o.left)||isNaN(o.right)||(t.cachedPaddingH=o),o}function He(t){return Dl-t.display.nativeBarWidth}function Be(t){return t.display.scroller.clientWidth-He(t)-t.display.barWidth}function Ue(t){return t.display.scroller.clientHeight-He(t)-t.display.barHeight}function qe(t,e,n){var i=t.options.lineWrapping,r=i&&Be(t);if(!e.measure.heights||i&&e.measure.width!=r){var o=e.measure.heights=[];if(i){e.measure.width=r;for(var l=e.text.firstChild.getClientRects(),s=0;s<l.length-1;s++){var a=l[s],u=l[s+1];Math.abs(a.bottom-u.bottom)>2&&o.push((a.bottom+u.top)/2-n.top)}}o.push(n.bottom-n.top)}}function Ke(t,e,n){if(t.line==e)return{map:t.measure.map,cache:t.measure.cache};for(var i=0;i<t.rest.length;i++)if(t.rest[i]==e)return{map:t.measure.maps[i],cache:t.measure.caches[i]};for(var r=0;r<t.rest.length;r++)if(R(t.rest[r])>n)return{map:t.measure.maps[r],cache:t.measure.caches[r],before:!0}}function Ge(t,e){e=ht(e);var i=R(e),r=t.display.externalMeasured=new ye(t.doc,e,i);r.lineN=i;var o=r.built=he(t,r);return r.text=o.pre,n(t.display.lineMeasure,o.pre),r}function Ye(t,e,n,i){return $e(t,Je(t,e),n,i)}function Xe(t,e){if(e>=t.display.viewFrom&&e<t.display.viewTo)return t.display.view[_n(t,e)];var n=t.display.externalMeasured;return n&&e>=n.lineN&&e<n.lineN+n.size?n:void 0}function Je(t,e){var n=R(e),i=Xe(t,n);i&&!i.text?i=null:i&&i.changes&&(_e(t,i,n,wn(t)),t.curOp.forceUpdate=!0),i||(i=Ge(t,e));var r=Ke(i,e,n);return{line:e,view:i,rect:null,map:r.map,cache:r.cache,before:r.before,hasHeights:!1}}function $e(t,e,n,i,r){e.before&&(n=-1);var o,l=n+(i||"");return e.cache.hasOwnProperty(l)?o=e.cache[l]:(e.rect||(e.rect=e.view.text.getBoundingClientRect()),e.hasHeights||(qe(t,e.view,e.rect),e.hasHeights=!0),o=tn(t,e,n,i),o.bogus||(e.cache[l]=o)),{left:o.left,right:o.right,top:r?o.rtop:o.top,bottom:r?o.rbottom:o.bottom}}function Ze(t,e,n){for(var i,r,o,l,s,a,u=0;u<t.length;u+=3)if(s=t[u],a=t[u+1],e<s?(r=0,o=1,l="left"):e<a?(r=e-s,o=r+1):(u==t.length-3||e==a&&t[u+3]>e)&&(o=a-s,r=o-1,e>=a&&(l="right")),null!=r){if(i=t[u+2],s==a&&n==(i.insertLeft?"left":"right")&&(l=n),"left"==n&&0==r)for(;u&&t[u-2]==t[u-3]&&t[u-1].insertLeft;)i=t[2+(u-=3)],l="left";if("right"==n&&r==a-s)for(;u<t.length-3&&t[u+3]==t[u+4]&&!t[u+5].insertLeft;)i=t[(u+=3)+2],l="right";break}return{node:i,start:r,end:o,collapse:l,coverStart:s,coverEnd:a}}function Qe(t,e){var n=rs;if("left"==e)for(var i=0;i<t.length&&(n=t[i]).left==n.right;i++);else for(var r=t.length-1;r>=0&&(n=t[r]).left==n.right;r--);return n}function tn(t,e,n,i){var r,o=Ze(e.map,n,i),l=o.node,s=o.start,a=o.end,u=o.collapse;if(3==l.nodeType){for(var c=0;c<4;c++){for(;s&&S(e.line.text.charAt(o.coverStart+s));)--s;for(;o.coverStart+a<o.coverEnd&&S(e.line.text.charAt(o.coverStart+a));)++a;if(r=ol&&ll<9&&0==s&&a==o.coverEnd-o.coverStart?l.parentNode.getBoundingClientRect():Qe(xl(l,s,a).getClientRects(),i),r.left||r.right||0==s)break;a=s,s-=1,u="right"}ol&&ll<11&&(r=en(t.display.measure,r))}else{s>0&&(u=i="right");var h;r=t.options.lineWrapping&&(h=l.getClientRects()).length>1?h["right"==i?h.length-1:0]:l.getBoundingClientRect()}if(ol&&ll<9&&!s&&(!r||!r.left&&!r.right)){var p=l.parentNode.getClientRects()[0];r=p?{left:p.left,right:p.left+bn(t.display),top:p.top,bottom:p.bottom}:rs}for(var d=r.top-e.rect.top,f=r.bottom-e.rect.top,m=(d+f)/2,v=e.view.measure.heights,g=0;g<v.length-1&&!(m<v[g]);g++);var y=g?v[g-1]:0,b=v[g],w={left:("right"==u?r.right:r.left)-e.rect.left,right:("left"==u?r.left:r.right)-e.rect.left,top:y,bottom:b};return r.left||r.right||(w.bogus=!0),t.options.singleCursorHeightPerLine||(w.rtop=d,w.rbottom=f),w}function en(t,e){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!Bt(t))return e;var n=screen.logicalXDPI/screen.deviceXDPI,i=screen.logicalYDPI/screen.deviceYDPI;return{left:e.left*n,right:e.right*n,top:e.top*i,bottom:e.bottom*i}}function nn(t){if(t.measure&&(t.measure.cache={},t.measure.heights=null,t.rest))for(var e=0;e<t.rest.length;e++)t.measure.caches[e]={}}function rn(t){t.display.externalMeasure=null,e(t.display.lineMeasure);for(var n=0;n<t.display.view.length;n++)nn(t.display.view[n])}function on(t){rn(t),t.display.cachedCharWidth=t.display.cachedTextHeight=t.display.cachedPaddingH=null,t.options.lineWrapping||(t.display.maxLineChanged=!0),t.display.lineNumChars=null}function ln(){return ul&&ml?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function sn(){return ul&&ml?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function an(t,e,n,i,r){if(!r&&e.widgets)for(var o=0;o<e.widgets.length;++o)if(e.widgets[o].above){var l=Le(e.widgets[o]);n.top+=l,n.bottom+=l}if("line"==i)return n;i||(i="local");var s=yt(e);if("local"==i?s+=Ve(t.display):s-=t.display.viewOffset,"page"==i||"window"==i){var a=t.display.lineSpace.getBoundingClientRect();s+=a.top+("window"==i?0:sn());var u=a.left+("window"==i?0:ln());n.left+=u,n.right+=u}return n.top+=s,n.bottom+=s,n}function un(t,e,n){if("div"==n)return e;var i=e.left,r=e.top;if("page"==n)i-=ln(),r-=sn();else if("local"==n||!n){var o=t.display.sizer.getBoundingClientRect();i+=o.left,r+=o.top}var l=t.display.lineSpace.getBoundingClientRect();return{left:i-l.left,top:r-l.top}}function cn(t,e,n,i,r){return i||(i=T(t.doc,e.line)),an(t,i,Ye(t,i,e.ch,r),n)}function hn(t,e,n,i,r,o){function l(e,l){var s=$e(t,r,e,l?"right":"left",o);return l?s.left=s.right:s.right=s.left,an(t,i,s,n)}function s(t,e,n){var i=a[e],r=i.level%2!=0;return l(n?t-1:t,r!=n)}i=i||T(t.doc,e.line),r||(r=Je(t,i));var a=St(i,t.doc.direction),u=e.ch,c=e.sticky;if(u>=i.text.length?(u=i.text.length,c="before"):u<=0&&(u=0,c="after"),!a)return l("before"==c?u-1:u,"before"==c);var h=Ct(a,u,c),p=Vl,d=s(u,h,"before"==c);return null!=p&&(d.other=s(u,p,"before"!=c)),d}function pn(t,e){var n=0;e=H(t.doc,e),t.options.lineWrapping||(n=bn(t.display)*e.ch);var i=T(t.doc,e.line),r=yt(i)+Ve(t.display);return{left:n,right:n,top:r,bottom:r+i.height}}function dn(t,e,n,i,r){var o=P(t,e,n);return o.xRel=r,i&&(o.outside=!0),o}function fn(t,e,n){var i=t.doc;if((n+=t.display.viewOffset)<0)return dn(i.first,0,null,!0,-1);var r=N(i,n),o=i.first+i.size-1;if(r>o)return dn(i.first+i.size-1,T(i,o).text.length,null,!0,1);e<0&&(e=0);for(var l=T(i,r);;){var s=gn(t,l,r,e,n),a=ut(l),u=a&&a.find(0,!0);if(!a||!(s.ch>u.from.ch||s.ch==u.from.ch&&s.xRel>0))return s;r=R(l=u.to.line)}}function mn(t,e,n,i){var r=function(i){return an(t,e,$e(t,n,i),"line")},o=e.text.length,l=_(function(t){return r(t-1).bottom<=i},o,0);return o=_(function(t){return r(t).top>i},l,o),{begin:l,end:o}}function vn(t,e,n,i){return mn(t,e,n,an(t,e,$e(t,n,i),"line").top)}function gn(t,e,n,i,r){r-=yt(e);var o,l=0,s=e.text.length,a=Je(t,e);if(St(e,t.doc.direction)){if(t.options.lineWrapping){var u;u=mn(t,e,a,r),l=u.begin,s=u.end}o=new P(n,l);var c,h,p=hn(t,o,"line",e,a).left,d=p<i?1:-1,f=p-i;do{if(c=f,h=o,null==(o=Tt(t,e,o,d))||o.ch<l||s<=("before"==o.sticky?o.ch-1:o.ch)){o=h;break}f=hn(t,o,"line",e,a).left-i}while(d<0!=f<0&&Math.abs(f)<=Math.abs(c));if(Math.abs(f)>Math.abs(c)){if(f<0==c<0)throw new Error("Broke out of infinite loop in coordsCharInner");o=h}}else{var m=_(function(n){var o=an(t,e,$e(t,a,n),"line");return o.top>r?(s=Math.min(n,s),!0):!(o.bottom<=r)&&(o.left>i||!(o.right<i)&&i-o.left<o.right-i)},l,s);m=O(e.text,m,1),o=new P(n,m,m==s?"before":"after")}var v=hn(t,o,"line",e,a);return(r<v.top||v.bottom<r)&&(o.outside=!0),o.xRel=i<v.left?-1:i>v.right?1:0,o}function yn(t){if(null!=t.cachedTextHeight)return t.cachedTextHeight;if(null==Ql){Ql=i("pre");for(var r=0;r<49;++r)Ql.appendChild(document.createTextNode("x")),Ql.appendChild(i("br"));Ql.appendChild(document.createTextNode("x"))}n(t.measure,Ql);var o=Ql.offsetHeight/50;return o>3&&(t.cachedTextHeight=o),e(t.measure),o||1}function bn(t){if(null!=t.cachedCharWidth)return t.cachedCharWidth;var e=i("span","xxxxxxxxxx"),r=i("pre",[e]);n(t.measure,r);var o=e.getBoundingClientRect(),l=(o.right-o.left)/10;return l>2&&(t.cachedCharWidth=l),l||10}function wn(t){for(var e=t.display,n={},i={},r=e.gutters.clientLeft,o=e.gutters.firstChild,l=0;o;o=o.nextSibling,++l)n[t.options.gutters[l]]=o.offsetLeft+o.clientLeft+r,i[t.options.gutters[l]]=o.clientWidth;return{fixedPos:xn(e),gutterTotalWidth:e.gutters.offsetWidth,gutterLeft:n,gutterWidth:i,wrapperWidth:e.wrapper.clientWidth}}function xn(t){return t.scroller.getBoundingClientRect().left-t.sizer.getBoundingClientRect().left}function Cn(t){var e=yn(t.display),n=t.options.lineWrapping,i=n&&Math.max(5,t.display.scroller.clientWidth/bn(t.display)-3);return function(r){if(vt(t.doc,r))return 0;var o=0;if(r.widgets)for(var l=0;l<r.widgets.length;l++)r.widgets[l].height&&(o+=r.widgets[l].height);return n?o+(Math.ceil(r.text.length/i)||1)*e:o+e}}function Sn(t){var e=t.doc,n=Cn(t);e.iter(function(t){var e=n(t);e!=t.height&&M(t,e)})}function On(t,e,n,i){var r=t.display;if(!n&&"true"==Vt(e).getAttribute("cm-not-content"))return null;var o,l,s=r.lineSpace.getBoundingClientRect();try{o=e.clientX-s.left,l=e.clientY-s.top}catch(e){return null}var a,u=fn(t,o,l);if(i&&1==u.xRel&&(a=T(t.doc,u.line).text).length==u.ch){var c=h(a,a.length,t.options.tabSize)-a.length;u=P(u.line,Math.max(0,Math.round((o-ze(t.display).left)/bn(t.display))-c))}return u}function _n(t,e){if(e>=t.display.viewTo)return null;if((e-=t.display.viewFrom)<0)return null;for(var n=t.display.view,i=0;i<n.length;i++)if((e-=n[i].size)<0)return i}function kn(t){t.display.input.showSelection(t.display.input.prepareSelection())}function Tn(t,e){for(var n=t.doc,i={},r=i.cursors=document.createDocumentFragment(),o=i.selection=document.createDocumentFragment(),l=0;l<n.sel.ranges.length;l++)if(!1!==e||l!=n.sel.primIndex){var s=n.sel.ranges[l];if(!(s.from().line>=t.display.viewTo||s.to().line<t.display.viewFrom)){var a=s.empty();(a||t.options.showCursorWhenSelecting)&&In(t,s.head,r),a||Dn(t,s,o)}}return i}function In(t,e,n){var r=hn(t,e,"div",null,null,!t.options.singleCursorHeightPerLine),o=n.appendChild(i("div"," ","CodeMirror-cursor"));if(o.style.left=r.left+"px",o.style.top=r.top+"px",o.style.height=Math.max(0,r.bottom-r.top)*t.options.cursorHeight+"px",r.other){var l=n.appendChild(i("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));l.style.display="",l.style.left=r.other.left+"px",l.style.top=r.other.top+"px",l.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function Dn(t,e,n){function r(t,e,n,r){e<0&&(e=0),e=Math.round(e),r=Math.round(r),a.appendChild(i("div",null,"CodeMirror-selected","position: absolute; left: "+t+"px;\n top: "+e+"px; width: "+(null==n?h-t:n)+"px;\n height: "+(r-e)+"px"))}function o(e,n,i){function o(n,i){return cn(t,P(e,n),"div",u,i)}var l,a,u=T(s,e),p=u.text.length;return xt(St(u,s.direction),n||0,null==i?p:i,function(t,e,s){var u,d,f,m=o(t,"left");if(t==e)u=m,d=f=m.left;else{if(u=o(e-1,"right"),"rtl"==s){var v=m;m=u,u=v}d=m.left,f=u.right}null==n&&0==t&&(d=c),u.top-m.top>3&&(r(d,m.top,null,m.bottom),d=c,m.bottom<u.top&&r(d,m.bottom,null,u.top)),null==i&&e==p&&(f=h),(!l||m.top<l.top||m.top==l.top&&m.left<l.left)&&(l=m),(!a||u.bottom>a.bottom||u.bottom==a.bottom&&u.right>a.right)&&(a=u),d<c+1&&(d=c),r(d,u.top,f-d,u.bottom)}),{start:l,end:a}}var l=t.display,s=t.doc,a=document.createDocumentFragment(),u=ze(t.display),c=u.left,h=Math.max(l.sizerWidth,Be(t)-l.sizer.offsetLeft)-u.right,p=e.from(),d=e.to();if(p.line==d.line)o(p.line,p.ch,d.ch);else{var f=T(s,p.line),m=T(s,d.line),v=ht(f)==ht(m),g=o(p.line,p.ch,v?f.text.length+1:null).end,y=o(d.line,v?0:null,d.ch).start;v&&(g.top<y.top-2?(r(g.right,g.top,null,g.bottom),r(c,y.top,y.left,y.bottom)):r(g.right,g.top,y.left-g.right,g.bottom)),g.bottom<y.top&&r(c,g.bottom,null,y.top)}n.appendChild(a)}function Mn(t){if(t.state.focused){var e=t.display;clearInterval(e.blinker);var n=!0;e.cursorDiv.style.visibility="",t.options.cursorBlinkRate>0?e.blinker=setInterval(function(){return e.cursorDiv.style.visibility=(n=!n)?"":"hidden"},t.options.cursorBlinkRate):t.options.cursorBlinkRate<0&&(e.cursorDiv.style.visibility="hidden")}}function Rn(t){t.state.focused||(t.display.input.focus(),An(t))}function Nn(t){t.state.delayingBlurEvent=!0,setTimeout(function(){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1,En(t))},100)}function An(t,e){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1),"nocursor"!=t.options.readOnly&&(t.state.focused||(Mt(t,"focus",t,e),t.state.focused=!0,s(t.display.wrapper,"CodeMirror-focused"),t.curOp||t.display.selForContextMenu==t.doc.sel||(t.display.input.reset(),sl&&setTimeout(function(){return t.display.input.reset(!0)},20)),t.display.input.receivedFocus()),Mn(t))}function En(t,e){t.state.delayingBlurEvent||(t.state.focused&&(Mt(t,"blur",t,e),t.state.focused=!1,Ol(t.display.wrapper,"CodeMirror-focused")),clearInterval(t.display.blinker),setTimeout(function(){t.state.focused||(t.display.shift=!1)},150))}function Pn(t){for(var e=t.display,n=e.lineDiv.offsetTop,i=0;i<e.view.length;i++){var r=e.view[i],o=void 0;if(!r.hidden){if(ol&&ll<8){var l=r.node.offsetTop+r.node.offsetHeight;o=l-n,n=l}else{var s=r.node.getBoundingClientRect();o=s.bottom-s.top}var a=r.line.height-o;if(o<2&&(o=yn(e)),(a>.001||a<-.001)&&(M(r.line,o),jn(r.line),r.rest))for(var u=0;u<r.rest.length;u++)jn(r.rest[u])}}}function jn(t){if(t.widgets)for(var e=0;e<t.widgets.length;++e)t.widgets[e].height=t.widgets[e].node.parentNode.offsetHeight}function Ln(t,e,n){var i=n&&null!=n.top?Math.max(0,n.top):t.scroller.scrollTop;i=Math.floor(i-Ve(t));var r=n&&null!=n.bottom?n.bottom:i+t.wrapper.clientHeight,o=N(e,i),l=N(e,r);if(n&&n.ensure){var s=n.ensure.from.line,a=n.ensure.to.line;s<o?(o=s,l=N(e,yt(T(e,s))+t.wrapper.clientHeight)):Math.min(a,e.lastLine())>=l&&(o=N(e,yt(T(e,a))-t.wrapper.clientHeight),l=a)}return{from:o,to:Math.max(l,o+1)}}function Fn(t){var e=t.display,n=e.view;if(e.alignWidgets||e.gutters.firstChild&&t.options.fixedGutter){for(var i=xn(e)-e.scroller.scrollLeft+t.doc.scrollLeft,r=e.gutters.offsetWidth,o=i+"px",l=0;l<n.length;l++)if(!n[l].hidden){t.options.fixedGutter&&(n[l].gutter&&(n[l].gutter.style.left=o),n[l].gutterBackground&&(n[l].gutterBackground.style.left=o));var s=n[l].alignable;if(s)for(var a=0;a<s.length;a++)s[a].style.left=o}t.options.fixedGutter&&(e.gutters.style.left=i+r+"px")}}function Vn(t){if(!t.options.lineNumbers)return!1;var e=t.doc,n=E(t.options,e.first+e.size-1),r=t.display;if(n.length!=r.lineNumChars){var o=r.measure.appendChild(i("div",[i("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),l=o.firstChild.offsetWidth,s=o.offsetWidth-l;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(l,r.lineGutter.offsetWidth-s)+1,r.lineNumWidth=r.lineNumInnerWidth+s,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",Mi(t),!0}return!1}function Wn(t,e){if(!Rt(t,"scrollCursorIntoView")){var n=t.display,r=n.sizer.getBoundingClientRect(),o=null;if(e.top+r.top<0?o=!0:e.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(o=!1),null!=o&&!dl){var l=i("div","​",null,"position: absolute;\n top: "+(e.top-n.viewOffset-Ve(t.display))+"px;\n height: "+(e.bottom-e.top+He(t)+n.barHeight)+"px;\n left: "+e.left+"px; width: "+Math.max(2,e.right-e.left)+"px;");t.display.lineSpace.appendChild(l),l.scrollIntoView(o),t.display.lineSpace.removeChild(l)}}}function zn(t,e,n,i){null==i&&(i=0);for(var r,o=0;o<5;o++){var l=!1,s=hn(t,e),a=n&&n!=e?hn(t,n):s;r={left:Math.min(s.left,a.left),top:Math.min(s.top,a.top)-i,right:Math.max(s.left,a.left),bottom:Math.max(s.bottom,a.bottom)+i};var u=Bn(t,r),c=t.doc.scrollTop,h=t.doc.scrollLeft;if(null!=u.scrollTop&&(Jn(t,u.scrollTop),Math.abs(t.doc.scrollTop-c)>1&&(l=!0)),null!=u.scrollLeft&&(Zn(t,u.scrollLeft),Math.abs(t.doc.scrollLeft-h)>1&&(l=!0)),!l)break}return r}function Hn(t,e){var n=Bn(t,e);null!=n.scrollTop&&Jn(t,n.scrollTop),null!=n.scrollLeft&&Zn(t,n.scrollLeft)}function Bn(t,e){var n=t.display,i=yn(t.display);e.top<0&&(e.top=0);var r=t.curOp&&null!=t.curOp.scrollTop?t.curOp.scrollTop:n.scroller.scrollTop,o=Ue(t),l={};e.bottom-e.top>o&&(e.bottom=e.top+o);var s=t.doc.height+We(n),a=e.top<i,u=e.bottom>s-i;if(e.top<r)l.scrollTop=a?0:e.top;else if(e.bottom>r+o){var c=Math.min(e.top,(u?s:e.bottom)-o);c!=r&&(l.scrollTop=c)}var h=t.curOp&&null!=t.curOp.scrollLeft?t.curOp.scrollLeft:n.scroller.scrollLeft,p=Be(t)-(t.options.fixedGutter?n.gutters.offsetWidth:0),d=e.right-e.left>p;return d&&(e.right=e.left+p),e.left<10?l.scrollLeft=0:e.left<h?l.scrollLeft=Math.max(0,e.left-(d?0:10)):e.right>p+h-3&&(l.scrollLeft=e.right+(d?0:10)-p),l}function Un(t,e){null!=e&&(Yn(t),t.curOp.scrollTop=(null==t.curOp.scrollTop?t.doc.scrollTop:t.curOp.scrollTop)+e)}function qn(t){Yn(t);var e=t.getCursor(),n=e,i=e;t.options.lineWrapping||(n=e.ch?P(e.line,e.ch-1):e,i=P(e.line,e.ch+1)),t.curOp.scrollToPos={from:n,to:i,margin:t.options.cursorScrollMargin}}function Kn(t,e,n){null==e&&null==n||Yn(t),null!=e&&(t.curOp.scrollLeft=e),null!=n&&(t.curOp.scrollTop=n)}function Gn(t,e){Yn(t),t.curOp.scrollToPos=e}function Yn(t){var e=t.curOp.scrollToPos;if(e){t.curOp.scrollToPos=null;Xn(t,pn(t,e.from),pn(t,e.to),e.margin)}}function Xn(t,e,n,i){var r=Bn(t,{left:Math.min(e.left,n.left),top:Math.min(e.top,n.top)-i,right:Math.max(e.right,n.right),bottom:Math.max(e.bottom,n.bottom)+i});Kn(t,r.scrollLeft,r.scrollTop)}function Jn(t,e){Math.abs(t.doc.scrollTop-e)<2||(el||Ii(t,{top:e}),$n(t,e,!0),el&&Ii(t),xi(t,100))}function $n(t,e,n){e=Math.min(t.display.scroller.scrollHeight-t.display.scroller.clientHeight,e),(t.display.scroller.scrollTop!=e||n)&&(t.doc.scrollTop=e,t.display.scrollbars.setScrollTop(e),t.display.scroller.scrollTop!=e&&(t.display.scroller.scrollTop=e))}function Zn(t,e,n,i){e=Math.min(e,t.display.scroller.scrollWidth-t.display.scroller.clientWidth),(n?e==t.doc.scrollLeft:Math.abs(t.doc.scrollLeft-e)<2)&&!i||(t.doc.scrollLeft=e,Fn(t),t.display.scroller.scrollLeft!=e&&(t.display.scroller.scrollLeft=e),t.display.scrollbars.setScrollLeft(e))}function Qn(t){var e=t.display,n=e.gutters.offsetWidth,i=Math.round(t.doc.height+We(t.display));return{clientHeight:e.scroller.clientHeight,viewHeight:e.wrapper.clientHeight,scrollWidth:e.scroller.scrollWidth,clientWidth:e.scroller.clientWidth,viewWidth:e.wrapper.clientWidth,barLeft:t.options.fixedGutter?n:0,docHeight:i,scrollHeight:i+He(t)+e.barHeight,nativeBarWidth:e.nativeBarWidth,gutterWidth:n}}function ti(t,e){e||(e=Qn(t));var n=t.display.barWidth,i=t.display.barHeight;ei(t,e);for(var r=0;r<4&&n!=t.display.barWidth||i!=t.display.barHeight;r++)n!=t.display.barWidth&&t.options.lineWrapping&&Pn(t),ei(t,Qn(t)),n=t.display.barWidth,i=t.display.barHeight}function ei(t,e){var n=t.display,i=n.scrollbars.update(e);n.sizer.style.paddingRight=(n.barWidth=i.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=i.bottom)+"px",n.heightForcer.style.borderBottom=i.bottom+"px solid transparent",i.right&&i.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=i.bottom+"px",n.scrollbarFiller.style.width=i.right+"px"):n.scrollbarFiller.style.display="",i.bottom&&t.options.coverGutterNextToScrollbar&&t.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=i.bottom+"px",n.gutterFiller.style.width=e.gutterWidth+"px"):n.gutterFiller.style.display=""}function ni(t){t.display.scrollbars&&(t.display.scrollbars.clear(),t.display.scrollbars.addClass&&Ol(t.display.wrapper,t.display.scrollbars.addClass)),t.display.scrollbars=new ss[t.options.scrollbarStyle](function(e){t.display.wrapper.insertBefore(e,t.display.scrollbarFiller),Hl(e,"mousedown",function(){t.state.focused&&setTimeout(function(){return t.display.input.focus()},0)}),e.setAttribute("cm-not-content","true")},function(e,n){"horizontal"==n?Zn(t,e):Jn(t,e)},t),t.display.scrollbars.addClass&&s(t.display.wrapper,t.display.scrollbars.addClass)}function ii(t){t.curOp={cm:t,viewChanged:!1,startHeight:t.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++as},we(t.curOp)}function ri(t){Ce(t.curOp,function(t){for(var e=0;e<t.ops.length;e++)t.ops[e].cm.curOp=null;oi(t)})}function oi(t){for(var e=t.ops,n=0;n<e.length;n++)li(e[n]);for(var i=0;i<e.length;i++)si(e[i]);for(var r=0;r<e.length;r++)ai(e[r]);for(var o=0;o<e.length;o++)ui(e[o]);for(var l=0;l<e.length;l++)ci(e[l])}function li(t){var e=t.cm,n=e.display;Si(e),t.updateMaxLine&&wt(e),t.mustUpdate=t.viewChanged||t.forceUpdate||null!=t.scrollTop||t.scrollToPos&&(t.scrollToPos.from.line<n.viewFrom||t.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&e.options.lineWrapping,t.update=t.mustUpdate&&new us(e,t.mustUpdate&&{top:t.scrollTop,ensure:t.scrollToPos},t.forceUpdate)}function si(t){t.updatedDisplay=t.mustUpdate&&ki(t.cm,t.update)}function ai(t){var e=t.cm,n=e.display;t.updatedDisplay&&Pn(e),t.barMeasure=Qn(e),n.maxLineChanged&&!e.options.lineWrapping&&(t.adjustWidthTo=Ye(e,n.maxLine,n.maxLine.text.length).left+3,e.display.sizerWidth=t.adjustWidthTo,t.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+t.adjustWidthTo+He(e)+e.display.barWidth),t.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+t.adjustWidthTo-Be(e))),(t.updatedDisplay||t.selectionChanged)&&(t.preparedSelection=n.input.prepareSelection(t.focus))}function ui(t){var e=t.cm;null!=t.adjustWidthTo&&(e.display.sizer.style.minWidth=t.adjustWidthTo+"px",t.maxScrollLeft<e.doc.scrollLeft&&Zn(e,Math.min(e.display.scroller.scrollLeft,t.maxScrollLeft),!0),e.display.maxLineChanged=!1);var n=t.focus&&t.focus==l()&&(!document.hasFocus||document.hasFocus());t.preparedSelection&&e.display.input.showSelection(t.preparedSelection,n),(t.updatedDisplay||t.startHeight!=e.doc.height)&&ti(e,t.barMeasure),t.updatedDisplay&&Ri(e,t.barMeasure),t.selectionChanged&&Mn(e),e.state.focused&&t.updateInput&&e.display.input.reset(t.typing),n&&Rn(t.cm)}function ci(t){var e=t.cm,n=e.display,i=e.doc;if(t.updatedDisplay&&Ti(e,t.update),null==n.wheelStartX||null==t.scrollTop&&null==t.scrollLeft&&!t.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=t.scrollTop&&$n(e,t.scrollTop,t.forceScroll),null!=t.scrollLeft&&Zn(e,t.scrollLeft,!0,!0),t.scrollToPos){Wn(e,zn(e,H(i,t.scrollToPos.from),H(i,t.scrollToPos.to),t.scrollToPos.margin))}var r=t.maybeHiddenMarkers,o=t.maybeUnhiddenMarkers;if(r)for(var l=0;l<r.length;++l)r[l].lines.length||Mt(r[l],"hide");if(o)for(var s=0;s<o.length;++s)o[s].lines.length&&Mt(o[s],"unhide");n.wrapper.offsetHeight&&(i.scrollTop=e.display.scroller.scrollTop),t.changeObjs&&Mt(e,"changes",e,t.changeObjs),t.update&&t.update.finish()}function hi(t,e){if(t.curOp)return e();ii(t);try{return e()}finally{ri(t)}}function pi(t,e){return function(){if(t.curOp)return e.apply(t,arguments);ii(t);try{return e.apply(t,arguments)}finally{ri(t)}}}function di(t){return function(){if(this.curOp)return t.apply(this,arguments);ii(this);try{return t.apply(this,arguments)}finally{ri(this)}}}function fi(t){return function(){var e=this.cm;if(!e||e.curOp)return t.apply(this,arguments);ii(e);try{return t.apply(this,arguments)}finally{ri(e)}}}function mi(t,e,n,i){null==e&&(e=t.doc.first),null==n&&(n=t.doc.first+t.doc.size),i||(i=0);var r=t.display;if(i&&n<r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>e)&&(r.updateLineNumbers=e),t.curOp.viewChanged=!0,e>=r.viewTo)Fl&&ft(t.doc,e)<r.viewTo&&gi(t);else if(n<=r.viewFrom)Fl&&mt(t.doc,n+i)>r.viewFrom?gi(t):(r.viewFrom+=i,r.viewTo+=i);else if(e<=r.viewFrom&&n>=r.viewTo)gi(t);else if(e<=r.viewFrom){var o=yi(t,n,n+i,1);o?(r.view=r.view.slice(o.index),r.viewFrom=o.lineN,r.viewTo+=i):gi(t)}else if(n>=r.viewTo){var l=yi(t,e,e,-1);l?(r.view=r.view.slice(0,l.index),r.viewTo=l.lineN):gi(t)}else{var s=yi(t,e,e,-1),a=yi(t,n,n+i,1);s&&a?(r.view=r.view.slice(0,s.index).concat(be(t,s.lineN,a.lineN)).concat(r.view.slice(a.index)),r.viewTo+=i):gi(t)}var u=r.externalMeasured;u&&(n<u.lineN?u.lineN+=i:e<u.lineN+u.size&&(r.externalMeasured=null))}function vi(t,e,n){t.curOp.viewChanged=!0;var i=t.display,r=t.display.externalMeasured;if(r&&e>=r.lineN&&e<r.lineN+r.size&&(i.externalMeasured=null),!(e<i.viewFrom||e>=i.viewTo)){var o=i.view[_n(t,e)];if(null!=o.node){var l=o.changes||(o.changes=[]);-1==p(l,n)&&l.push(n)}}}function gi(t){t.display.viewFrom=t.display.viewTo=t.doc.first,t.display.view=[],t.display.viewOffset=0}function yi(t,e,n,i){var r,o=_n(t,e),l=t.display.view;if(!Fl||n==t.doc.first+t.doc.size)return{index:o,lineN:n};for(var s=t.display.viewFrom,a=0;a<o;a++)s+=l[a].size;if(s!=e){if(i>0){if(o==l.length-1)return null;r=s+l[o].size-e,o++}else r=s-e;e+=r,n+=r}for(;ft(t.doc,n)!=n;){if(o==(i<0?0:l.length-1))return null;n+=i*l[o-(i<0?1:0)].size,o+=i}return{index:o,lineN:n}}function bi(t,e,n){var i=t.display;0==i.view.length||e>=i.viewTo||n<=i.viewFrom?(i.view=be(t,e,n),i.viewFrom=e):(i.viewFrom>e?i.view=be(t,e,i.viewFrom).concat(i.view):i.viewFrom<e&&(i.view=i.view.slice(_n(t,e))),i.viewFrom=e,i.viewTo<n?i.view=i.view.concat(be(t,i.viewTo,n)):i.viewTo>n&&(i.view=i.view.slice(0,_n(t,n)))),i.viewTo=n}function wi(t){for(var e=t.display.view,n=0,i=0;i<e.length;i++){var r=e[i];r.hidden||r.node&&!r.changes||++n}return n}function xi(t,e){t.doc.mode.startState&&t.doc.frontier<t.display.viewTo&&t.state.highlight.set(e,u(Ci,t))}function Ci(t){var e=t.doc;if(e.frontier<e.first&&(e.frontier=e.first),!(e.frontier>=t.display.viewTo)){var n=+new Date+t.options.workTime,i=Xt(e.mode,te(t,e.frontier)),r=[];e.iter(e.frontier,Math.min(e.first+e.size,t.display.viewTo+500),function(o){if(e.frontier>=t.display.viewFrom){var l=o.styles,s=o.text.length>t.options.maxHighlightLength,a=Zt(t,o,s?Xt(e.mode,i):i,!0);o.styles=a.styles;var u=o.styleClasses,c=a.classes;c?o.styleClasses=c:u&&(o.styleClasses=null);for(var h=!l||l.length!=o.styles.length||u!=c&&(!u||!c||u.bgClass!=c.bgClass||u.textClass!=c.textClass),p=0;!h&&p<l.length;++p)h=l[p]!=o.styles[p];h&&r.push(e.frontier),o.stateAfter=s?i:Xt(e.mode,i)}else o.text.length<=t.options.maxHighlightLength&&ee(t,o.text,i),o.stateAfter=e.frontier%5==0?Xt(e.mode,i):null;if(++e.frontier,+new Date>n)return xi(t,t.options.workDelay),!0}),r.length&&hi(t,function(){for(var e=0;e<r.length;e++)vi(t,r[e],"text")})}}function Si(t){var e=t.display;!e.scrollbarsClipped&&e.scroller.offsetWidth&&(e.nativeBarWidth=e.scroller.offsetWidth-e.scroller.clientWidth,e.heightForcer.style.height=He(t)+"px",e.sizer.style.marginBottom=-e.nativeBarWidth+"px",e.sizer.style.borderRightWidth=He(t)+"px",e.scrollbarsClipped=!0)}function Oi(t){if(t.hasFocus())return null;var e=l();if(!e||!o(t.display.lineDiv,e))return null;var n={activeElt:e};if(window.getSelection){var i=window.getSelection();i.anchorNode&&i.extend&&o(t.display.lineDiv,i.anchorNode)&&(n.anchorNode=i.anchorNode,n.anchorOffset=i.anchorOffset,n.focusNode=i.focusNode,n.focusOffset=i.focusOffset)}return n}function _i(t){if(t&&t.activeElt&&t.activeElt!=l()&&(t.activeElt.focus(),t.anchorNode&&o(document.body,t.anchorNode)&&o(document.body,t.focusNode))){var e=window.getSelection(),n=document.createRange();n.setEnd(t.anchorNode,t.anchorOffset),n.collapse(!1),e.removeAllRanges(),e.addRange(n),e.extend(t.focusNode,t.focusOffset)}}function ki(t,n){var i=t.display,r=t.doc;if(n.editorIsHidden)return gi(t),!1;if(!n.force&&n.visible.from>=i.viewFrom&&n.visible.to<=i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>=i.viewTo)&&i.renderedView==i.view&&0==wi(t))return!1;Vn(t)&&(gi(t),n.dims=wn(t));var o=r.first+r.size,l=Math.max(n.visible.from-t.options.viewportMargin,r.first),s=Math.min(o,n.visible.to+t.options.viewportMargin);i.viewFrom<l&&l-i.viewFrom<20&&(l=Math.max(r.first,i.viewFrom)),i.viewTo>s&&i.viewTo-s<20&&(s=Math.min(o,i.viewTo)),Fl&&(l=ft(t.doc,l),s=mt(t.doc,s));var a=l!=i.viewFrom||s!=i.viewTo||i.lastWrapHeight!=n.wrapperHeight||i.lastWrapWidth!=n.wrapperWidth;bi(t,l,s),i.viewOffset=yt(T(t.doc,i.viewFrom)),t.display.mover.style.top=i.viewOffset+"px";var u=wi(t);if(!a&&0==u&&!n.force&&i.renderedView==i.view&&(null==i.updateLineNumbers||i.updateLineNumbers>=i.viewTo))return!1;var c=Oi(t);return u>4&&(i.lineDiv.style.display="none"),Di(t,i.updateLineNumbers,n.dims),u>4&&(i.lineDiv.style.display=""),i.renderedView=i.view,_i(c),e(i.cursorDiv),e(i.selectionDiv),i.gutters.style.height=i.sizer.style.minHeight=0,a&&(i.lastWrapHeight=n.wrapperHeight,i.lastWrapWidth=n.wrapperWidth,xi(t,400)),i.updateLineNumbers=null,!0}function Ti(t,e){for(var n=e.viewport,i=!0;(i&&t.options.lineWrapping&&e.oldDisplayWidth!=Be(t)||(n&&null!=n.top&&(n={top:Math.min(t.doc.height+We(t.display)-Ue(t),n.top)}),e.visible=Ln(t.display,t.doc,n),!(e.visible.from>=t.display.viewFrom&&e.visible.to<=t.display.viewTo)))&&ki(t,e);i=!1){Pn(t);var r=Qn(t);kn(t),ti(t,r),Ri(t,r)}e.signal(t,"update",t),t.display.viewFrom==t.display.reportedViewFrom&&t.display.viewTo==t.display.reportedViewTo||(e.signal(t,"viewportChange",t,t.display.viewFrom,t.display.viewTo),t.display.reportedViewFrom=t.display.viewFrom,t.display.reportedViewTo=t.display.viewTo)}function Ii(t,e){var n=new us(t,e);if(ki(t,n)){Pn(t),Ti(t,n);var i=Qn(t);kn(t),ti(t,i),Ri(t,i),n.finish()}}function Di(t,n,i){function r(e){var n=e.nextSibling;return sl&&gl&&t.display.currentWheelTarget==e?e.style.display="none":e.parentNode.removeChild(e),n}for(var o=t.display,l=t.options.lineNumbers,s=o.lineDiv,a=s.firstChild,u=o.view,c=o.viewFrom,h=0;h<u.length;h++){var d=u[h];if(d.hidden);else if(d.node&&d.node.parentNode==s){for(;a!=d.node;)a=r(a);var f=l&&null!=n&&n<=c&&d.lineNumber;d.changes&&(p(d.changes,"gutter")>-1&&(f=!1),_e(t,d,c,i)),f&&(e(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(E(t.options,c)))),a=d.node.nextSibling}else{var m=Ae(t,d,c,i);s.insertBefore(m,a)}c+=d.size}for(;a;)a=r(a)}function Mi(t){var e=t.display.gutters.offsetWidth;t.display.sizer.style.marginLeft=e+"px"}function Ri(t,e){t.display.sizer.style.minHeight=e.docHeight+"px",t.display.heightForcer.style.top=e.docHeight+"px",t.display.gutters.style.height=e.docHeight+t.display.barHeight+He(t)+"px"}function Ni(t){var n=t.display.gutters,r=t.options.gutters;e(n);for(var o=0;o<r.length;++o){var l=r[o],s=n.appendChild(i("div",null,"CodeMirror-gutter "+l));"CodeMirror-linenumbers"==l&&(t.display.lineGutter=s,s.style.width=(t.display.lineNumWidth||1)+"px")}n.style.display=o?"":"none",Mi(t)}function Ai(t){var e=p(t.gutters,"CodeMirror-linenumbers");-1==e&&t.lineNumbers?t.gutters=t.gutters.concat(["CodeMirror-linenumbers"]):e>-1&&!t.lineNumbers&&(t.gutters=t.gutters.slice(0),t.gutters.splice(e,1))}function Ei(t){var e=t.wheelDeltaX,n=t.wheelDeltaY;return null==e&&t.detail&&t.axis==t.HORIZONTAL_AXIS&&(e=t.detail),null==n&&t.detail&&t.axis==t.VERTICAL_AXIS?n=t.detail:null==n&&(n=t.wheelDelta),{x:e,y:n}}function Pi(t){var e=Ei(t);return e.x*=hs,e.y*=hs,e}function ji(t,e){var n=Ei(e),i=n.x,r=n.y,o=t.display,l=o.scroller,s=l.scrollWidth>l.clientWidth,a=l.scrollHeight>l.clientHeight;if(i&&s||r&&a){if(r&&gl&&sl)t:for(var u=e.target,c=o.view;u!=l;u=u.parentNode)for(var h=0;h<c.length;h++)if(c[h].node==u){t.display.currentWheelTarget=u;break t}if(i&&!el&&!cl&&null!=hs)return r&&a&&Jn(t,Math.max(0,l.scrollTop+r*hs)),Zn(t,Math.max(0,l.scrollLeft+i*hs)),(!r||r&&a)&&Pt(e),void(o.wheelStartX=null);if(r&&null!=hs){var p=r*hs,d=t.doc.scrollTop,f=d+o.wrapper.clientHeight;p<0?d=Math.max(0,d+p-50):f=Math.min(t.doc.height,f+p+50),Ii(t,{top:d,bottom:f})}cs<20&&(null==o.wheelStartX?(o.wheelStartX=l.scrollLeft,o.wheelStartY=l.scrollTop,o.wheelDX=i,o.wheelDY=r,setTimeout(function(){if(null!=o.wheelStartX){var t=l.scrollLeft-o.wheelStartX,e=l.scrollTop-o.wheelStartY,n=e&&o.wheelDY&&e/o.wheelDY||t&&o.wheelDX&&t/o.wheelDX;o.wheelStartX=o.wheelStartY=null,n&&(hs=(hs*cs+n)/(cs+1),++cs)}},200)):(o.wheelDX+=i,o.wheelDY+=r))}}function Li(t,e){var n=t[e];t.sort(function(t,e){return j(t.from(),e.from())}),e=p(t,n);for(var i=1;i<t.length;i++){var r=t[i],o=t[i-1];if(j(o.to(),r.from())>=0){var l=W(o.from(),r.from()),s=V(o.to(),r.to()),a=o.empty()?r.from()==r.head:o.from()==o.head;i<=e&&--e,t.splice(--i,2,new ds(a?s:l,a?l:s))}}return new ps(t,e)}function Fi(t,e){return new ps([new ds(t,e||t)],0)}function Vi(t){return t.text?P(t.from.line+t.text.length-1,m(t.text).length+(1==t.text.length?t.from.ch:0)):t.to}function Wi(t,e){if(j(t,e.from)<0)return t;if(j(t,e.to)<=0)return Vi(e);var n=t.line+e.text.length-(e.to.line-e.from.line)-1,i=t.ch;return t.line==e.to.line&&(i+=Vi(e).ch-e.to.ch),P(n,i)}function zi(t,e){for(var n=[],i=0;i<t.sel.ranges.length;i++){var r=t.sel.ranges[i];n.push(new ds(Wi(r.anchor,e),Wi(r.head,e)))}return Li(n,t.sel.primIndex)}function Hi(t,e,n){return t.line==e.line?P(n.line,t.ch-e.ch+n.ch):P(n.line+(t.line-e.line),t.ch)}function Bi(t,e,n){for(var i=[],r=P(t.first,0),o=r,l=0;l<e.length;l++){var s=e[l],a=Hi(s.from,r,o),u=Hi(Vi(s),r,o);if(r=s.to,o=u,"around"==n){var c=t.sel.ranges[l],h=j(c.head,c.anchor)<0;i[l]=new ds(h?u:a,h?a:u)}else i[l]=new ds(a,a)}return new ps(i,t.sel.primIndex)}function Ui(t){t.doc.mode=Gt(t.options,t.doc.modeOption),qi(t)}function qi(t){t.doc.iter(function(t){t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null)}),t.doc.frontier=t.doc.first,xi(t,100),t.state.modeGen++,t.curOp&&mi(t)}function Ki(t,e){return 0==e.from.ch&&0==e.to.ch&&""==m(e.text)&&(!t.cm||t.cm.options.wholeLineUpdateBefore)}function Gi(t,e,n,i){function r(t){return n?n[t]:null}function o(t,n,r){ae(t,n,r,i),Se(t,"change",t,e)}function l(t,e){for(var n=[],o=t;o<e;++o)n.push(new Zl(u[o],r(o),i));return n}var s=e.from,a=e.to,u=e.text,c=T(t,s.line),h=T(t,a.line),p=m(u),d=r(u.length-1),f=a.line-s.line;if(e.full)t.insert(0,l(0,u.length)),t.remove(u.length,t.size-u.length);else if(Ki(t,e)){var v=l(0,u.length-1);o(h,h.text,d),f&&t.remove(s.line,f),v.length&&t.insert(s.line,v)}else if(c==h)if(1==u.length)o(c,c.text.slice(0,s.ch)+p+c.text.slice(a.ch),d);else{var g=l(1,u.length-1);g.push(new Zl(p+c.text.slice(a.ch),d,i)),o(c,c.text.slice(0,s.ch)+u[0],r(0)),t.insert(s.line+1,g)}else if(1==u.length)o(c,c.text.slice(0,s.ch)+u[0]+h.text.slice(a.ch),r(0)),t.remove(s.line+1,f);else{o(c,c.text.slice(0,s.ch)+u[0],r(0)),o(h,p+h.text.slice(a.ch),d);var y=l(1,u.length-1);f>1&&t.remove(s.line+1,f-1),t.insert(s.line+1,y)}Se(t,"change",t,e)}function Yi(t,e,n){function i(t,r,o){if(t.linked)for(var l=0;l<t.linked.length;++l){var s=t.linked[l];if(s.doc!=r){var a=o&&s.sharedHist;n&&!a||(e(s.doc,a),i(s.doc,t,a))}}}i(t,null,!0)}function Xi(t,e){if(e.cm)throw new Error("This document is already in use.");t.doc=e,e.cm=t,Sn(t),Ui(t),Ji(t),t.options.lineWrapping||wt(t),t.options.mode=e.modeOption,mi(t)}function Ji(t){("rtl"==t.doc.direction?s:Ol)(t.display.lineDiv,"CodeMirror-rtl")}function $i(t){hi(t,function(){Ji(t),mi(t)})}function Zi(t){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=t||1}function Qi(t,e){var n={from:F(e.from),to:Vi(e),text:I(t,e.from,e.to)};return lr(t,n,e.from.line,e.to.line+1),Yi(t,function(t){return lr(t,n,e.from.line,e.to.line+1)},!0),n}function tr(t){for(;t.length;){if(!m(t).ranges)break;t.pop()}}function er(t,e){return e?(tr(t.done),m(t.done)):t.done.length&&!m(t.done).ranges?m(t.done):t.done.length>1&&!t.done[t.done.length-2].ranges?(t.done.pop(),m(t.done)):void 0}function nr(t,e,n,i){var r=t.history;r.undone.length=0;var o,l,s=+new Date;if((r.lastOp==i||r.lastOrigin==e.origin&&e.origin&&("+"==e.origin.charAt(0)&&t.cm&&r.lastModTime>s-t.cm.options.historyEventDelay||"*"==e.origin.charAt(0)))&&(o=er(r,r.lastOp==i)))l=m(o.changes),0==j(e.from,e.to)&&0==j(e.from,l.to)?l.to=Vi(e):o.changes.push(Qi(t,e));else{var a=m(r.done);for(a&&a.ranges||or(t.sel,r.done),o={changes:[Qi(t,e)],generation:r.generation},r.done.push(o);r.done.length>r.undoDepth;)r.done.shift(),r.done[0].ranges||r.done.shift()}r.done.push(n),r.generation=++r.maxGeneration,r.lastModTime=r.lastSelTime=s,r.lastOp=r.lastSelOp=i,r.lastOrigin=r.lastSelOrigin=e.origin,l||Mt(t,"historyAdded")}function ir(t,e,n,i){var r=e.charAt(0);return"*"==r||"+"==r&&n.ranges.length==i.ranges.length&&n.somethingSelected()==i.somethingSelected()&&new Date-t.history.lastSelTime<=(t.cm?t.cm.options.historyEventDelay:500)}function rr(t,e,n,i){var r=t.history,o=i&&i.origin;n==r.lastSelOp||o&&r.lastSelOrigin==o&&(r.lastModTime==r.lastSelTime&&r.lastOrigin==o||ir(t,o,m(r.done),e))?r.done[r.done.length-1]=e:or(e,r.done),r.lastSelTime=+new Date,r.lastSelOrigin=o,r.lastSelOp=n,i&&!1!==i.clearRedo&&tr(r.undone)}function or(t,e){var n=m(e);n&&n.ranges&&n.equals(t)||e.push(t)}function lr(t,e,n,i){var r=e["spans_"+t.id],o=0;t.iter(Math.max(t.first,n),Math.min(t.first+t.size,i),function(n){n.markedSpans&&((r||(r=e["spans_"+t.id]={}))[o]=n.markedSpans),++o})}function sr(t){if(!t)return null;for(var e,n=0;n<t.length;++n)t[n].marker.explicitlyCleared?e||(e=t.slice(0,n)):e&&e.push(t[n]);return e?e.length?e:null:t}function ar(t,e){var n=e["spans_"+t.id];if(!n)return null;for(var i=[],r=0;r<e.text.length;++r)i.push(sr(n[r]));return i}function ur(t,e){var n=ar(t,e),i=Q(t,e);if(!n)return i;if(!i)return n;for(var r=0;r<n.length;++r){var o=n[r],l=i[r];if(o&&l)t:for(var s=0;s<l.length;++s){for(var a=l[s],u=0;u<o.length;++u)if(o[u].marker==a.marker)continue t;o.push(a)}else l&&(n[r]=l)}return n}function cr(t,e,n){for(var i=[],r=0;r<t.length;++r){var o=t[r];if(o.ranges)i.push(n?ps.prototype.deepCopy.call(o):o);else{var l=o.changes,s=[];i.push({changes:s});for(var a=0;a<l.length;++a){var u=l[a],c=void 0;if(s.push({from:u.from,to:u.to,text:u.text}),e)for(var h in u)(c=h.match(/^spans_(\d+)$/))&&p(e,Number(c[1]))>-1&&(m(s)[h]=u[h],delete u[h])}}}return i}function hr(t,e,n,i){if(t.cm&&t.cm.display.shift||t.extend){var r=e.anchor;if(i){var o=j(n,r)<0;o!=j(i,r)<0?(r=n,n=i):o!=j(n,i)<0&&(n=i)}return new ds(r,n)}return new ds(i||n,n)}function pr(t,e,n,i){yr(t,new ps([hr(t,t.sel.primary(),e,n)],0),i)}function dr(t,e,n){for(var i=[],r=0;r<t.sel.ranges.length;r++)i[r]=hr(t,t.sel.ranges[r],e[r],null);yr(t,Li(i,t.sel.primIndex),n)}function fr(t,e,n,i){var r=t.sel.ranges.slice(0);r[e]=n,yr(t,Li(r,t.sel.primIndex),i)}function mr(t,e,n,i){yr(t,Fi(e,n),i)}function vr(t,e,n){var i={ranges:e.ranges,update:function(e){var n=this;this.ranges=[];for(var i=0;i<e.length;i++)n.ranges[i]=new ds(H(t,e[i].anchor),H(t,e[i].head))},origin:n&&n.origin};return Mt(t,"beforeSelectionChange",t,i),t.cm&&Mt(t.cm,"beforeSelectionChange",t.cm,i),i.ranges!=e.ranges?Li(i.ranges,i.ranges.length-1):e}function gr(t,e,n){var i=t.history.done,r=m(i);r&&r.ranges?(i[i.length-1]=e,br(t,e,n)):yr(t,e,n)}function yr(t,e,n){br(t,e,n),rr(t,t.sel,t.cm?t.cm.curOp.id:NaN,n)}function br(t,e,n){(At(t,"beforeSelectionChange")||t.cm&&At(t.cm,"beforeSelectionChange"))&&(e=vr(t,e,n)),wr(t,Cr(t,e,n&&n.bias||(j(e.primary().head,t.sel.primary().head)<0?-1:1),!0)),n&&!1===n.scroll||!t.cm||qn(t.cm)}function wr(t,e){e.equals(t.sel)||(t.sel=e,t.cm&&(t.cm.curOp.updateInput=t.cm.curOp.selectionChanged=!0,Nt(t.cm)),Se(t,"cursorActivity",t))}function xr(t){wr(t,Cr(t,t.sel,null,!1))}function Cr(t,e,n,i){for(var r,o=0;o<e.ranges.length;o++){var l=e.ranges[o],s=e.ranges.length==t.sel.ranges.length&&t.sel.ranges[o],a=Or(t,l.anchor,s&&s.anchor,n,i),u=Or(t,l.head,s&&s.head,n,i);(r||a!=l.anchor||u!=l.head)&&(r||(r=e.ranges.slice(0,o)),r[o]=new ds(a,u))}return r?Li(r,e.primIndex):e}function Sr(t,e,n,i,r){var o=T(t,e.line);if(o.markedSpans)for(var l=0;l<o.markedSpans.length;++l){var s=o.markedSpans[l],a=s.marker;if((null==s.from||(a.inclusiveLeft?s.from<=e.ch:s.from<e.ch))&&(null==s.to||(a.inclusiveRight?s.to>=e.ch:s.to>e.ch))){if(r&&(Mt(a,"beforeCursorEnter"),a.explicitlyCleared)){if(o.markedSpans){--l;continue}break}if(!a.atomic)continue;if(n){var u=a.find(i<0?1:-1),c=void 0;if((i<0?a.inclusiveRight:a.inclusiveLeft)&&(u=_r(t,u,-i,u&&u.line==e.line?o:null)),u&&u.line==e.line&&(c=j(u,n))&&(i<0?c<0:c>0))return Sr(t,u,e,i,r)}var h=a.find(i<0?-1:1);return(i<0?a.inclusiveLeft:a.inclusiveRight)&&(h=_r(t,h,i,h.line==e.line?o:null)),h?Sr(t,h,e,i,r):null}}return e}function Or(t,e,n,i,r){var o=i||1,l=Sr(t,e,n,o,r)||!r&&Sr(t,e,n,o,!0)||Sr(t,e,n,-o,r)||!r&&Sr(t,e,n,-o,!0);return l||(t.cantEdit=!0,P(t.first,0))}function _r(t,e,n,i){return n<0&&0==e.ch?e.line>t.first?H(t,P(e.line-1)):null:n>0&&e.ch==(i||T(t,e.line)).text.length?e.line<t.first+t.size-1?P(e.line+1,0):null:new P(e.line,e.ch+n)}function kr(t){t.setSelection(P(t.firstLine(),0),P(t.lastLine()),Rl)}function Tr(t,e,n){var i={canceled:!1,from:e.from,to:e.to,text:e.text,origin:e.origin,cancel:function(){return i.canceled=!0}};return n&&(i.update=function(e,n,r,o){e&&(i.from=H(t,e)),n&&(i.to=H(t,n)),r&&(i.text=r),void 0!==o&&(i.origin=o)}),Mt(t,"beforeChange",t,i),t.cm&&Mt(t.cm,"beforeChange",t.cm,i),i.canceled?null:{from:i.from,to:i.to,text:i.text,origin:i.origin}}function Ir(t,e,n){if(t.cm){if(!t.cm.curOp)return pi(t.cm,Ir)(t,e,n);if(t.cm.state.suppressEdits)return}if(!(At(t,"beforeChange")||t.cm&&At(t.cm,"beforeChange"))||(e=Tr(t,e,!0))){var i=Ll&&!n&&et(t,e.from,e.to);if(i)for(var r=i.length-1;r>=0;--r)Dr(t,{from:i[r].from,to:i[r].to,text:r?[""]:e.text});else Dr(t,e)}}function Dr(t,e){if(1!=e.text.length||""!=e.text[0]||0!=j(e.from,e.to)){var n=zi(t,e);nr(t,e,n,t.cm?t.cm.curOp.id:NaN),Nr(t,e,n,Q(t,e));var i=[];Yi(t,function(t,n){n||-1!=p(i,t.history)||(Lr(t.history,e),i.push(t.history)),Nr(t,e,null,Q(t,e))})}}function Mr(t,e,n){if(!t.cm||!t.cm.state.suppressEdits||n){for(var i,r=t.history,o=t.sel,l="undo"==e?r.done:r.undone,s="undo"==e?r.undone:r.done,a=0;a<l.length&&(i=l[a],n?!i.ranges||i.equals(t.sel):i.ranges);a++);if(a!=l.length){for(r.lastOrigin=r.lastSelOrigin=null;i=l.pop(),i.ranges;){if(or(i,s),n&&!i.equals(t.sel))return void yr(t,i,{clearRedo:!1});o=i}var u=[];or(o,s),s.push({changes:u,generation:r.generation}),r.generation=i.generation||++r.maxGeneration;for(var c=At(t,"beforeChange")||t.cm&&At(t.cm,"beforeChange"),h=function(n){var r=i.changes[n];if(r.origin=e,c&&!Tr(t,r,!1))return l.length=0,{};u.push(Qi(t,r));var o=n?zi(t,r):m(l);Nr(t,r,o,ur(t,r)),!n&&t.cm&&t.cm.scrollIntoView({from:r.from,to:Vi(r)});var s=[];Yi(t,function(t,e){e||-1!=p(s,t.history)||(Lr(t.history,r),s.push(t.history)),Nr(t,r,null,ur(t,r))})},d=i.changes.length-1;d>=0;--d){var f=h(d);if(f)return f.v}}}}function Rr(t,e){if(0!=e&&(t.first+=e,t.sel=new ps(v(t.sel.ranges,function(t){return new ds(P(t.anchor.line+e,t.anchor.ch),P(t.head.line+e,t.head.ch))}),t.sel.primIndex),t.cm)){mi(t.cm,t.first,t.first-e,e);for(var n=t.cm.display,i=n.viewFrom;i<n.viewTo;i++)vi(t.cm,i,"gutter")}}function Nr(t,e,n,i){if(t.cm&&!t.cm.curOp)return pi(t.cm,Nr)(t,e,n,i);if(e.to.line<t.first)return void Rr(t,e.text.length-1-(e.to.line-e.from.line));if(!(e.from.line>t.lastLine())){if(e.from.line<t.first){var r=e.text.length-1-(t.first-e.from.line);Rr(t,r),e={from:P(t.first,0),to:P(e.to.line+r,e.to.ch),text:[m(e.text)],origin:e.origin}}var o=t.lastLine();e.to.line>o&&(e={from:e.from,to:P(o,T(t,o).text.length),text:[e.text[0]],origin:e.origin}),e.removed=I(t,e.from,e.to),n||(n=zi(t,e)),t.cm?Ar(t.cm,e,i):Gi(t,e,i),br(t,n,Rl)}}function Ar(t,e,n){var i=t.doc,r=t.display,o=e.from,l=e.to,s=!1,a=o.line;t.options.lineWrapping||(a=R(ht(T(i,o.line))),i.iter(a,l.line+1,function(t){if(t==r.maxLine)return s=!0,!0})),i.sel.contains(e.from,e.to)>-1&&Nt(t),Gi(i,e,n,Cn(t)),t.options.lineWrapping||(i.iter(a,o.line+e.text.length,function(t){var e=bt(t);e>r.maxLineLength&&(r.maxLine=t,r.maxLineLength=e,r.maxLineChanged=!0,s=!1)}),s&&(t.curOp.updateMaxLine=!0)),i.frontier=Math.min(i.frontier,o.line),xi(t,400);var u=e.text.length-(l.line-o.line)-1;e.full?mi(t):o.line!=l.line||1!=e.text.length||Ki(t.doc,e)?mi(t,o.line,l.line+1,u):vi(t,o.line,"text");var c=At(t,"changes"),h=At(t,"change");if(h||c){var p={from:o,to:l,text:e.text,removed:e.removed,origin:e.origin};h&&Se(t,"change",t,p),c&&(t.curOp.changeObjs||(t.curOp.changeObjs=[])).push(p)}t.display.selForContextMenu=null}function Er(t,e,n,i,r){if(i||(i=n),j(i,n)<0){var o=i;i=n,n=o}"string"==typeof e&&(e=t.splitLines(e)),Ir(t,{from:n,to:i,text:e,origin:r})}function Pr(t,e,n,i){n<t.line?t.line+=i:e<t.line&&(t.line=e,t.ch=0)}function jr(t,e,n,i){for(var r=0;r<t.length;++r){var o=t[r],l=!0;if(o.ranges){o.copied||(o=t[r]=o.deepCopy(),o.copied=!0);for(var s=0;s<o.ranges.length;s++)Pr(o.ranges[s].anchor,e,n,i),Pr(o.ranges[s].head,e,n,i)}else{for(var a=0;a<o.changes.length;++a){var u=o.changes[a];if(n<u.from.line)u.from=P(u.from.line+i,u.from.ch),u.to=P(u.to.line+i,u.to.ch);else if(e<=u.to.line){l=!1;break}}l||(t.splice(0,r+1),r=0)}}}function Lr(t,e){var n=e.from.line,i=e.to.line,r=e.text.length-(i-n)-1;jr(t.done,n,i,r),jr(t.undone,n,i,r)}function Fr(t,e,n,i){var r=e,o=e;return"number"==typeof e?o=T(t,z(t,e)):r=R(e),null==r?null:(i(o,r)&&t.cm&&vi(t.cm,r,n),o)}function Vr(t,e,n){yt(e)<(t.curOp&&t.curOp.scrollTop||t.doc.scrollTop)&&Un(t,n)}function Wr(t,e,n,i){var r=new vs(t,n,i),o=t.cm;return o&&r.noHScroll&&(o.display.alignWidgets=!0),Fr(t,e,"widget",function(e){var n=e.widgets||(e.widgets=[]);if(null==r.insertAt?n.push(r):n.splice(Math.min(n.length-1,Math.max(0,r.insertAt)),0,r),r.line=e,o&&!vt(t,e)){var i=yt(e)<t.scrollTop;M(e,e.height+Le(r)),i&&Un(o,r.height),o.curOp.forceUpdate=!0}return!0}),Se(o,"lineWidgetAdded",o,r,"number"==typeof e?e:R(e)),r}function zr(t,e,n,i,o){if(i&&i.shared)return Hr(t,e,n,i,o);if(t.cm&&!t.cm.curOp)return pi(t.cm,zr)(t,e,n,i,o);var l=new ys(t,o),s=j(e,n);if(i&&c(i,l,!1),s>0||0==s&&!1!==l.clearWhenEmpty)return l;if(l.replacedWith&&(l.collapsed=!0,l.widgetNode=r("span",[l.replacedWith],"CodeMirror-widget"),i.handleMouseEvents||l.widgetNode.setAttribute("cm-ignore-events","true"),i.insertLeft&&(l.widgetNode.insertLeft=!0)),l.collapsed){if(ct(t,e.line,e,n,l)||e.line!=n.line&&ct(t,n.line,e,n,l))throw new Error("Inserting collapsed marker partially overlapping an existing one");K()}l.addToHistory&&nr(t,{from:e,to:n,origin:"markText"},t.sel,NaN);var a,u=e.line,h=t.cm;if(t.iter(u,n.line+1,function(t){h&&l.collapsed&&!h.options.lineWrapping&&ht(t)==h.display.maxLine&&(a=!0),l.collapsed&&u!=e.line&&M(t,0),J(t,new G(l,u==e.line?e.ch:null,u==n.line?n.ch:null)),++u}),l.collapsed&&t.iter(e.line,n.line+1,function(e){vt(t,e)&&M(e,0)}),l.clearOnEnter&&Hl(l,"beforeCursorEnter",function(){return l.clear()}),l.readOnly&&(q(),(t.history.done.length||t.history.undone.length)&&t.clearHistory()),l.collapsed&&(l.id=++gs,l.atomic=!0),h){if(a&&(h.curOp.updateMaxLine=!0),l.collapsed)mi(h,e.line,n.line+1);else if(l.className||l.title||l.startStyle||l.endStyle||l.css)for(var p=e.line;p<=n.line;p++)vi(h,p,"text");l.atomic&&xr(h.doc),Se(h,"markerAdded",h,l)}return l}function Hr(t,e,n,i,r){i=c(i),i.shared=!1;var o=[zr(t,e,n,i,r)],l=o[0],s=i.widgetNode;return Yi(t,function(t){s&&(i.widgetNode=s.cloneNode(!0)),o.push(zr(t,H(t,e),H(t,n),i,r));for(var a=0;a<t.linked.length;++a)if(t.linked[a].isParent)return;l=m(o)}),new bs(o,l)}function Br(t){return t.findMarks(P(t.first,0),t.clipPos(P(t.lastLine())),function(t){return t.parent})}function Ur(t,e){for(var n=0;n<e.length;n++){var i=e[n],r=i.find(),o=t.clipPos(r.from),l=t.clipPos(r.to);if(j(o,l)){var s=zr(t,o,l,i.primary,i.primary.type);i.markers.push(s),s.parent=i}}}function qr(t){for(var e=function(e){var n=t[e],i=[n.primary.doc];Yi(n.primary.doc,function(t){return i.push(t)});for(var r=0;r<n.markers.length;r++){var o=n.markers[r];-1==p(i,o.doc)&&(o.parent=null,n.markers.splice(r--,1))}},n=0;n<t.length;n++)e(n)}function Kr(t){var e=this;if(Xr(e),!Rt(e,t)&&!Fe(e.display,t)){Pt(t),ol&&(Cs=+new Date);var n=On(e,t,!0),i=t.dataTransfer.files;if(n&&!e.isReadOnly())if(i&&i.length&&window.FileReader&&window.File)for(var r=i.length,o=Array(r),l=0,s=function(t,i){if(!e.options.allowDropFileTypes||-1!=p(e.options.allowDropFileTypes,t.type)){var s=new FileReader;s.onload=pi(e,function(){var t=s.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(t)&&(t=""),o[i]=t,++l==r){n=H(e.doc,n);var a={from:n,to:n,text:e.doc.splitLines(o.join(e.doc.lineSeparator())),origin:"paste"};Ir(e.doc,a),gr(e.doc,Fi(n,Vi(a)))}}),s.readAsText(t)}},a=0;a<r;++a)s(i[a],a);else{if(e.state.draggingText&&e.doc.sel.contains(n)>-1)return e.state.draggingText(t),void setTimeout(function(){return e.display.input.focus()},20);try{var u=t.dataTransfer.getData("Text");if(u){var c;if(e.state.draggingText&&!e.state.draggingText.copy&&(c=e.listSelections()),br(e.doc,Fi(n,n)),c)for(var h=0;h<c.length;++h)Er(e.doc,"",c[h].anchor,c[h].head,"drag");e.replaceSelection(u,"around","paste"),e.display.input.focus()}}catch(t){}}}}function Gr(t,e){if(ol&&(!t.state.draggingText||+new Date-Cs<100))return void Ft(e);if(!Rt(t,e)&&!Fe(t.display,e)&&(e.dataTransfer.setData("Text",t.getSelection()),e.dataTransfer.effectAllowed="copyMove",e.dataTransfer.setDragImage&&!hl)){var n=i("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",cl&&(n.width=n.height=1,t.display.wrapper.appendChild(n),n._top=n.offsetTop),e.dataTransfer.setDragImage(n,0,0),cl&&n.parentNode.removeChild(n)}}function Yr(t,e){var r=On(t,e);if(r){var o=document.createDocumentFragment();In(t,r,o),t.display.dragCursor||(t.display.dragCursor=i("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),t.display.lineSpace.insertBefore(t.display.dragCursor,t.display.cursorDiv)),n(t.display.dragCursor,o)}}function Xr(t){t.display.dragCursor&&(t.display.lineSpace.removeChild(t.display.dragCursor),t.display.dragCursor=null)}function Jr(t){if(document.body.getElementsByClassName)for(var e=document.body.getElementsByClassName("CodeMirror"),n=0;n<e.length;n++){var i=e[n].CodeMirror;i&&t(i)}}function $r(){Ss||(Zr(),Ss=!0)}function Zr(){var t;Hl(window,"resize",function(){null==t&&(t=setTimeout(function(){t=null,Jr(Qr)},100))}),Hl(window,"blur",function(){return Jr(En)})}function Qr(t){var e=t.display;e.lastWrapHeight==e.wrapper.clientHeight&&e.lastWrapWidth==e.wrapper.clientWidth||(e.cachedCharWidth=e.cachedTextHeight=e.cachedPaddingH=null,e.scrollbarsClipped=!1,t.setSize())}function to(t){var e=t.split(/-(?!$)/);t=e[e.length-1];for(var n,i,r,o,l=0;l<e.length-1;l++){var s=e[l];if(/^(cmd|meta|m)$/i.test(s))o=!0;else if(/^a(lt)?$/i.test(s))n=!0;else if(/^(c|ctrl|control)$/i.test(s))i=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);r=!0}}return n&&(t="Alt-"+t),i&&(t="Ctrl-"+t),o&&(t="Cmd-"+t),r&&(t="Shift-"+t),t}function eo(t){var e={};for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==i){delete t[n];continue}for(var r=v(n.split(" "),to),o=0;o<r.length;o++){var l=void 0,s=void 0;o==r.length-1?(s=r.join(" "),l=i):(s=r.slice(0,o+1).join(" "),l="...");var a=e[s];if(a){if(a!=l)throw new Error("Inconsistent bindings for "+s)}else e[s]=l}delete t[n]}for(var u in e)t[u]=e[u];return t}function no(t,e,n,i){e=oo(e);var r=e.call?e.call(t,i):e[t];if(!1===r)return"nothing";if("..."===r)return"multi";if(null!=r&&n(r))return"handled";if(e.fallthrough){if("[object Array]"!=Object.prototype.toString.call(e.fallthrough))return no(t,e.fallthrough,n,i);for(var o=0;o<e.fallthrough.length;o++){var l=no(t,e.fallthrough[o],n,i);if(l)return l}}}function io(t){var e="string"==typeof t?t:Os[t.keyCode];return"Ctrl"==e||"Alt"==e||"Shift"==e||"Mod"==e}function ro(t,e){if(cl&&34==t.keyCode&&t.char)return!1;var n=Os[t.keyCode],i=n;return null!=i&&!t.altGraphKey&&(t.altKey&&"Alt"!=n&&(i="Alt-"+i),(Cl?t.metaKey:t.ctrlKey)&&"Ctrl"!=n&&(i="Ctrl-"+i),(Cl?t.ctrlKey:t.metaKey)&&"Cmd"!=n&&(i="Cmd-"+i),!e&&t.shiftKey&&"Shift"!=n&&(i="Shift-"+i),i)}function oo(t){return"string"==typeof t?Is[t]:t}function lo(t,e){for(var n=t.doc.sel.ranges,i=[],r=0;r<n.length;r++){for(var o=e(n[r]);i.length&&j(o.from,m(i).to)<=0;){var l=i.pop();if(j(l.from,o.from)<0){o.from=l.from;break}}i.push(o)}hi(t,function(){for(var e=i.length-1;e>=0;e--)Er(t.doc,"",i[e].from,i[e].to,"+delete");qn(t)})}function so(t,e){var n=T(t.doc,e),i=ht(n);return i!=n&&(e=R(i)),kt(!0,t,i,e,1)}function ao(t,e){var n=T(t.doc,e),i=pt(n);return i!=n&&(e=R(i)),kt(!0,t,n,e,-1)}function uo(t,e){var n=so(t,e.line),i=T(t.doc,n.line),r=St(i,t.doc.direction);if(!r||0==r[0].level){var o=Math.max(0,i.text.search(/\S/)),l=e.line==n.line&&e.ch<=o&&e.ch;return P(n.line,l?0:o,n.sticky)}return n}function co(t,e,n){if("string"==typeof e&&!(e=Rs[e]))return!1;t.display.input.ensurePolled();var i=t.display.shift,r=!1;try{t.isReadOnly()&&(t.state.suppressEdits=!0),n&&(t.display.shift=!1),r=e(t)!=Ml}finally{t.display.shift=i,t.state.suppressEdits=!1}return r}function ho(t,e,n){for(var i=0;i<t.state.keyMaps.length;i++){var r=no(e,t.state.keyMaps[i],n,t);if(r)return r}return t.options.extraKeys&&no(e,t.options.extraKeys,n,t)||no(e,t.options.keyMap,n,t)}function po(t,e,n,i){var r=t.state.keySeq;if(r){if(io(e))return"handled";Ns.set(50,function(){t.state.keySeq==r&&(t.state.keySeq=null,t.display.input.reset())}),e=r+" "+e}var o=ho(t,e,i);return"multi"==o&&(t.state.keySeq=e),"handled"==o&&Se(t,"keyHandled",t,e,n),"handled"!=o&&"multi"!=o||(Pt(n),Mn(t)),r&&!o&&/\'$/.test(e)?(Pt(n),!0):!!o}function fo(t,e){var n=ro(e,!0);return!!n&&(e.shiftKey&&!t.state.keySeq?po(t,"Shift-"+n,e,function(e){return co(t,e,!0)})||po(t,n,e,function(e){if("string"==typeof e?/^go[A-Z]/.test(e):e.motion)return co(t,e)}):po(t,n,e,function(e){return co(t,e)}))}function mo(t,e,n){return po(t,"'"+n+"'",e,function(e){return co(t,e,!0)})}function vo(t){var e=this;if(e.curOp.focus=l(),!Rt(e,t)){ol&&ll<11&&27==t.keyCode&&(t.returnValue=!1);var n=t.keyCode;e.display.shift=16==n||t.shiftKey;var i=fo(e,t);cl&&(As=i?n:null,!i&&88==n&&!Kl&&(gl?t.metaKey:t.ctrlKey)&&e.replaceSelection("",null,"cut")),18!=n||/\bCodeMirror-crosshair\b/.test(e.display.lineDiv.className)||go(e)}}function go(t){function e(t){18!=t.keyCode&&t.altKey||(Ol(n,"CodeMirror-crosshair"),Dt(document,"keyup",e),Dt(document,"mouseover",e))}var n=t.display.lineDiv;s(n,"CodeMirror-crosshair"),Hl(document,"keyup",e),Hl(document,"mouseover",e)}function yo(t){16==t.keyCode&&(this.doc.sel.shift=!1),Rt(this,t)}function bo(t){var e=this;if(!(Fe(e.display,t)||Rt(e,t)||t.ctrlKey&&!t.altKey||gl&&t.metaKey)){var n=t.keyCode,i=t.charCode;if(cl&&n==As)return As=null,void Pt(t);if(!cl||t.which&&!(t.which<10)||!fo(e,t)){var r=String.fromCharCode(null==i?n:i);"\b"!=r&&(mo(e,t,r)||e.display.input.onKeyPress(t))}}}function wo(t){var e=this,n=e.display;if(!(Rt(e,t)||n.activeTouch&&n.input.supportsTouch())){if(n.input.ensurePolled(),n.shift=t.shiftKey,Fe(n,t))return void(sl||(n.scroller.draggable=!1,setTimeout(function(){return n.scroller.draggable=!0},100)));if(!_o(e,t)){var i=On(e,t);switch(window.focus(),Wt(t)){case 1:e.state.selectingText?e.state.selectingText(t):i?xo(e,t,i):Vt(t)==n.scroller&&Pt(t);break;case 2:sl&&(e.state.lastMiddleDown=+new Date),i&&pr(e.doc,i),setTimeout(function(){return n.input.focus()},20),Pt(t);break;case 3:Sl?ko(e,t):Nn(e)}}}}function xo(t,e,n){ol?setTimeout(u(Rn,t),0):t.curOp.focus=l();var i,r=+new Date;Ms&&Ms.time>r-400&&0==j(Ms.pos,n)?i="triple":Ds&&Ds.time>r-400&&0==j(Ds.pos,n)?(i="double",Ms={time:r,pos:n}):(i="single",Ds={time:r,pos:n});var o,s=t.doc.sel,a=gl?e.metaKey:e.ctrlKey;t.options.dragDrop&&Bl&&!t.isReadOnly()&&"single"==i&&(o=s.contains(n))>-1&&(j((o=s.ranges[o]).from(),n)<0||n.xRel>0)&&(j(o.to(),n)>0||n.xRel<0)?Co(t,e,n,a):So(t,e,n,i,a)}function Co(t,e,n,i){var r=t.display,o=!1,l=pi(t,function(e){sl&&(r.scroller.draggable=!1),t.state.draggingText=!1,Dt(document,"mouseup",l),Dt(document,"mousemove",s),Dt(r.scroller,"dragstart",a),Dt(r.scroller,"drop",l),o||(Pt(e),i||pr(t.doc,n),sl||ol&&9==ll?setTimeout(function(){document.body.focus(),r.input.focus()},20):r.input.focus())}),s=function(t){o=o||Math.abs(e.clientX-t.clientX)+Math.abs(e.clientY-t.clientY)>=10},a=function(){return o=!0};sl&&(r.scroller.draggable=!0),t.state.draggingText=l,l.copy=gl?e.altKey:e.ctrlKey,r.scroller.dragDrop&&r.scroller.dragDrop(),Hl(document,"mouseup",l),Hl(document,"mousemove",s),Hl(r.scroller,"dragstart",a),Hl(r.scroller,"drop",l),Nn(t),setTimeout(function(){return r.input.focus()},20)}function So(t,e,n,i,r){function o(e){if(0!=j(b,e))if(b=e,"rect"==i){for(var r=[],o=t.options.tabSize,l=h(T(c,n.line).text,n.ch,o),s=h(T(c,e.line).text,e.ch,o),a=Math.min(l,s),u=Math.max(l,s),v=Math.min(n.line,e.line),g=Math.min(t.lastLine(),Math.max(n.line,e.line));v<=g;v++){var y=T(c,v).text,w=d(y,a,o);a==u?r.push(new ds(P(v,w),P(v,w))):y.length>w&&r.push(new ds(P(v,w),P(v,d(y,u,o))))}r.length||r.push(new ds(n,n)),yr(c,Li(m.ranges.slice(0,f).concat(r),f),{origin:"*mouse",scroll:!1}),t.scrollIntoView(e)}else{var x=p,C=x.anchor,S=e;if("single"!=i){var O;O="double"==i?t.findWordAt(e):new ds(P(e.line,0),H(c,P(e.line+1,0))),j(O.anchor,C)>0?(S=O.head,C=W(x.from(),O.anchor)):(S=O.anchor,C=V(x.to(),O.head))}var _=m.ranges.slice(0);_[f]=new ds(H(c,C),S),yr(c,Li(_,f),Nl)}}function s(e){var n=++x,r=On(t,e,!0,"rect"==i);if(r)if(0!=j(r,b)){t.curOp.focus=l(),o(r);var a=Ln(u,c);(r.line>=a.to||r.line<a.from)&&setTimeout(pi(t,function(){x==n&&s(e)}),150)}else{var h=e.clientY<w.top?-20:e.clientY>w.bottom?20:0;h&&setTimeout(pi(t,function(){x==n&&(u.scroller.scrollTop+=h,s(e))}),50)}}function a(e){t.state.selectingText=!1,x=1/0,Pt(e),u.input.focus(),Dt(document,"mousemove",C),Dt(document,"mouseup",S),c.history.lastSelOrigin=null}var u=t.display,c=t.doc;Pt(e);var p,f,m=c.sel,v=m.ranges;if(r&&!e.shiftKey?(f=c.sel.contains(n),p=f>-1?v[f]:new ds(n,n)):(p=c.sel.primary(),f=c.sel.primIndex),yl?e.shiftKey&&e.metaKey:e.altKey)i="rect",r||(p=new ds(n,n)),n=On(t,e,!0,!0),f=-1;else if("double"==i){var g=t.findWordAt(n);p=t.display.shift||c.extend?hr(c,p,g.anchor,g.head):g}else if("triple"==i){var y=new ds(P(n.line,0),H(c,P(n.line+1,0)));p=t.display.shift||c.extend?hr(c,p,y.anchor,y.head):y}else p=hr(c,p,n);r?-1==f?(f=v.length,yr(c,Li(v.concat([p]),f),{scroll:!1,origin:"*mouse"})):v.length>1&&v[f].empty()&&"single"==i&&!e.shiftKey?(yr(c,Li(v.slice(0,f).concat(v.slice(f+1)),0),{scroll:!1,origin:"*mouse"}),m=c.sel):fr(c,f,p,Nl):(f=0,yr(c,new ps([p],0),Nl),m=c.sel);var b=n,w=u.wrapper.getBoundingClientRect(),x=0,C=pi(t,function(t){Wt(t)?s(t):a(t)}),S=pi(t,a);t.state.selectingText=S,Hl(document,"mousemove",C),Hl(document,"mouseup",S)}function Oo(t,e,n,i){var r,o;try{r=e.clientX,o=e.clientY}catch(e){return!1}if(r>=Math.floor(t.display.gutters.getBoundingClientRect().right))return!1;i&&Pt(e);var l=t.display,s=l.lineDiv.getBoundingClientRect();if(o>s.bottom||!At(t,n))return Lt(e);o-=s.top-l.viewOffset;for(var a=0;a<t.options.gutters.length;++a){var u=l.gutters.childNodes[a];if(u&&u.getBoundingClientRect().right>=r){return Mt(t,n,t,N(t.doc,o),t.options.gutters[a],e),Lt(e)}}}function _o(t,e){return Oo(t,e,"gutterClick",!0)}function ko(t,e){Fe(t.display,e)||To(t,e)||Rt(t,e,"contextmenu")||t.display.input.onContextMenu(e)}function To(t,e){return!!At(t,"gutterContextMenu")&&Oo(t,e,"gutterContextMenu",!1)}function Io(t){t.display.wrapper.className=t.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+t.options.theme.replace(/(^|\s)\s*/g," cm-s-"),on(t)}function Do(t){function e(e,i,r,o){t.defaults[e]=i,r&&(n[e]=o?function(t,e,n){n!=Es&&r(t,e,n)}:r)}var n=t.optionHandlers;t.defineOption=e,t.Init=Es,e("value","",function(t,e){return t.setValue(e)},!0),e("mode",null,function(t,e){t.doc.modeOption=e,Ui(t)},!0),e("indentUnit",2,Ui,!0),e("indentWithTabs",!1),e("smartIndent",!0),e("tabSize",4,function(t){qi(t),on(t),mi(t)},!0),e("lineSeparator",null,function(t,e){if(t.doc.lineSep=e,e){var n=[],i=t.doc.first;t.doc.iter(function(t){for(var r=0;;){var o=t.text.indexOf(e,r);if(-1==o)break;r=o+e.length,n.push(P(i,o))}i++});for(var r=n.length-1;r>=0;r--)Er(t.doc,e,n[r],P(n[r].line,n[r].ch+e.length))}}),e("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(t,e,n){t.state.specialChars=new RegExp(e.source+(e.test("\t")?"":"|\t"),"g"),n!=Es&&t.refresh()}),e("specialCharPlaceholder",pe,function(t){return t.refresh()},!0),e("electricChars",!0),e("inputStyle",vl?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),e("spellcheck",!1,function(t,e){return t.getInputField().spellcheck=e},!0),e("rtlMoveVisually",!bl),e("wholeLineUpdateBefore",!0),e("theme","default",function(t){Io(t),Mo(t)},!0),e("keyMap","default",function(t,e,n){var i=oo(e),r=n!=Es&&oo(n);r&&r.detach&&r.detach(t,i),i.attach&&i.attach(t,r||null)}),e("extraKeys",null),e("lineWrapping",!1,No,!0),e("gutters",[],function(t){Ai(t.options),Mo(t)},!0),e("fixedGutter",!0,function(t,e){t.display.gutters.style.left=e?xn(t.display)+"px":"0",t.refresh()},!0),e("coverGutterNextToScrollbar",!1,function(t){return ti(t)},!0),e("scrollbarStyle","native",function(t){ni(t),ti(t),t.display.scrollbars.setScrollTop(t.doc.scrollTop),t.display.scrollbars.setScrollLeft(t.doc.scrollLeft)},!0),e("lineNumbers",!1,function(t){Ai(t.options),Mo(t)},!0),e("firstLineNumber",1,Mo,!0),e("lineNumberFormatter",function(t){return t},Mo,!0),e("showCursorWhenSelecting",!1,kn,!0),e("resetSelectionOnContextMenu",!0),e("lineWiseCopyCut",!0),e("readOnly",!1,function(t,e){"nocursor"==e?(En(t),t.display.input.blur(),t.display.disabled=!0):t.display.disabled=!1,t.display.input.readOnlyChanged(e)}),e("disableInput",!1,function(t,e){e||t.display.input.reset()},!0),e("dragDrop",!0,Ro),e("allowDropFileTypes",null),e("cursorBlinkRate",530),e("cursorScrollMargin",0),e("cursorHeight",1,kn,!0),e("singleCursorHeightPerLine",!0,kn,!0),e("workTime",100),e("workDelay",100),e("flattenSpans",!0,qi,!0),e("addModeClass",!1,qi,!0),e("pollInterval",100),e("undoDepth",200,function(t,e){return t.doc.history.undoDepth=e}),e("historyEventDelay",1250),e("viewportMargin",10,function(t){return t.refresh()},!0),e("maxHighlightLength",1e4,qi,!0),e("moveInputWithCursor",!0,function(t,e){e||t.display.input.resetPosition()}),e("tabindex",null,function(t,e){return t.display.input.getField().tabIndex=e||""}),e("autofocus",null),e("direction","ltr",function(t,e){return t.doc.setDirection(e)},!0)}function Mo(t){Ni(t),mi(t),Fn(t)}function Ro(t,e,n){if(!e!=!(n&&n!=Es)){var i=t.display.dragFunctions,r=e?Hl:Dt;r(t.display.scroller,"dragstart",i.start),r(t.display.scroller,"dragenter",i.enter),r(t.display.scroller,"dragover",i.over),r(t.display.scroller,"dragleave",i.leave),r(t.display.scroller,"drop",i.drop)}}function No(t){t.options.lineWrapping?(s(t.display.wrapper,"CodeMirror-wrap"),t.display.sizer.style.minWidth="",t.display.sizerWidth=null):(Ol(t.display.wrapper,"CodeMirror-wrap"),wt(t)),Sn(t),mi(t),on(t),setTimeout(function(){return ti(t)},100)}function Ao(t,e){var n=this;if(!(this instanceof Ao))return new Ao(t,e);this.options=e=e?c(e):{},c(Ps,e,!1),Ai(e);var i=e.value;"string"==typeof i&&(i=new xs(i,e.mode,null,e.lineSeparator,e.direction)),this.doc=i;var r=new Ao.inputStyles[e.inputStyle](this),o=this.display=new k(t,i,r);o.wrapper.CodeMirror=this,Ni(this),Io(this),e.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),ni(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new kl,keySeq:null,specialChars:null},e.autofocus&&!vl&&o.input.focus(),ol&&ll<11&&setTimeout(function(){return n.display.input.reset(!0)},20),Eo(this),$r(),ii(this),this.curOp.forceUpdate=!0,Xi(this,i),e.autofocus&&!vl||this.hasFocus()?setTimeout(u(An,this),20):En(this);for(var l in js)js.hasOwnProperty(l)&&js[l](n,e[l],Es);Vn(this),e.finishInit&&e.finishInit(this);for(var s=0;s<Ls.length;++s)Ls[s](n);ri(this),sl&&e.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}function Eo(t){function e(){r.activeTouch&&(o=setTimeout(function(){return r.activeTouch=null},1e3),l=r.activeTouch,l.end=+new Date)}function n(t){if(1!=t.touches.length)return!1;var e=t.touches[0];return e.radiusX<=1&&e.radiusY<=1}function i(t,e){if(null==e.left)return!0;var n=e.left-t.left,i=e.top-t.top;return n*n+i*i>400}var r=t.display;Hl(r.scroller,"mousedown",pi(t,wo)),ol&&ll<11?Hl(r.scroller,"dblclick",pi(t,function(e){if(!Rt(t,e)){var n=On(t,e);if(n&&!_o(t,e)&&!Fe(t.display,e)){Pt(e);var i=t.findWordAt(n);pr(t.doc,i.anchor,i.head)}}})):Hl(r.scroller,"dblclick",function(e){return Rt(t,e)||Pt(e)}),Sl||Hl(r.scroller,"contextmenu",function(e){return ko(t,e)});var o,l={end:0};Hl(r.scroller,"touchstart",function(e){if(!Rt(t,e)&&!n(e)){r.input.ensurePolled(),clearTimeout(o);var i=+new Date;r.activeTouch={start:i,moved:!1,prev:i-l.end<=300?l:null},1==e.touches.length&&(r.activeTouch.left=e.touches[0].pageX,r.activeTouch.top=e.touches[0].pageY)}}),Hl(r.scroller,"touchmove",function(){r.activeTouch&&(r.activeTouch.moved=!0)}),Hl(r.scroller,"touchend",function(n){var o=r.activeTouch;if(o&&!Fe(r,n)&&null!=o.left&&!o.moved&&new Date-o.start<300){var l,s=t.coordsChar(r.activeTouch,"page");l=!o.prev||i(o,o.prev)?new ds(s,s):!o.prev.prev||i(o,o.prev.prev)?t.findWordAt(s):new ds(P(s.line,0),H(t.doc,P(s.line+1,0))),t.setSelection(l.anchor,l.head),t.focus(),Pt(n)}e()}),Hl(r.scroller,"touchcancel",e),Hl(r.scroller,"scroll",function(){r.scroller.clientHeight&&(Jn(t,r.scroller.scrollTop),Zn(t,r.scroller.scrollLeft,!0),Mt(t,"scroll",t))}),Hl(r.scroller,"mousewheel",function(e){return ji(t,e)}),Hl(r.scroller,"DOMMouseScroll",function(e){return ji(t,e)}),Hl(r.wrapper,"scroll",function(){return r.wrapper.scrollTop=r.wrapper.scrollLeft=0}),r.dragFunctions={enter:function(e){Rt(t,e)||Ft(e)},over:function(e){Rt(t,e)||(Yr(t,e),Ft(e))},start:function(e){return Gr(t,e)},drop:pi(t,Kr),leave:function(e){Rt(t,e)||Xr(t)}};var s=r.input.getField();Hl(s,"keyup",function(e){return yo.call(t,e)}),Hl(s,"keydown",pi(t,vo)),Hl(s,"keypress",pi(t,bo)),Hl(s,"focus",function(e){return An(t,e)}),Hl(s,"blur",function(e){return En(t,e)})}function Po(t,e,n,i){var r,o=t.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?r=te(t,e):n="prev");var l=t.options.tabSize,s=T(o,e),a=h(s.text,null,l);s.stateAfter&&(s.stateAfter=null);var u,c=s.text.match(/^\s*/)[0];if(i||/\S/.test(s.text)){if("smart"==n&&((u=o.mode.indent(r,s.text.slice(c.length),s.text))==Ml||u>150)){if(!i)return;n="prev"}}else u=0,n="not";"prev"==n?u=e>o.first?h(T(o,e-1).text,null,l):0:"add"==n?u=a+t.options.indentUnit:"subtract"==n?u=a-t.options.indentUnit:"number"==typeof n&&(u=a+n),u=Math.max(0,u);var p="",d=0;if(t.options.indentWithTabs)for(var m=Math.floor(u/l);m;--m)d+=l,p+="\t";if(d<u&&(p+=f(u-d)),p!=c)return Er(o,p,P(e,0),P(e,c.length),"+input"),s.stateAfter=null,!0;for(var v=0;v<o.sel.ranges.length;v++){var g=o.sel.ranges[v];if(g.head.line==e&&g.head.ch<c.length){var y=P(e,c.length);fr(o,v,new ds(y,y));break}}}function jo(t){Fs=t}function Lo(t,e,n,i,r){var o=t.doc;t.display.shift=!1,i||(i=o.sel);var l=t.state.pasteIncoming||"paste"==r,s=Ul(e),a=null;if(l&&i.ranges.length>1)if(Fs&&Fs.text.join("\n")==e){if(i.ranges.length%Fs.text.length==0){a=[];for(var u=0;u<Fs.text.length;u++)a.push(o.splitLines(Fs.text[u]))}}else s.length==i.ranges.length&&(a=v(s,function(t){return[t]}));for(var c,h=i.ranges.length-1;h>=0;h--){var p=i.ranges[h],d=p.from(),f=p.to();p.empty()&&(n&&n>0?d=P(d.line,d.ch-n):t.state.overwrite&&!l?f=P(f.line,Math.min(T(o,f.line).text.length,f.ch+m(s).length)):Fs&&Fs.lineWise&&Fs.text.join("\n")==e&&(d=f=P(d.line,0))),c=t.curOp.updateInput;var g={from:d,to:f,text:a?a[h%a.length]:s,origin:r||(l?"paste":t.state.cutIncoming?"cut":"+input")};Ir(t.doc,g),Se(t,"inputRead",t,g)}e&&!l&&Vo(t,e),qn(t),t.curOp.updateInput=c,t.curOp.typing=!0,t.state.pasteIncoming=t.state.cutIncoming=!1}function Fo(t,e){var n=t.clipboardData&&t.clipboardData.getData("Text");if(n)return t.preventDefault(),e.isReadOnly()||e.options.disableInput||hi(e,function(){return Lo(e,n,0,null,"paste")}),!0}function Vo(t,e){if(t.options.electricChars&&t.options.smartIndent)for(var n=t.doc.sel,i=n.ranges.length-1;i>=0;i--){var r=n.ranges[i];if(!(r.head.ch>100||i&&n.ranges[i-1].head.line==r.head.line)){var o=t.getModeAt(r.head),l=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(e.indexOf(o.electricChars.charAt(s))>-1){l=Po(t,r.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(T(t.doc,r.head.line).text.slice(0,r.head.ch))&&(l=Po(t,r.head.line,"smart"));l&&Se(t,"electricInput",t,r.head.line)}}}function Wo(t){for(var e=[],n=[],i=0;i<t.doc.sel.ranges.length;i++){var r=t.doc.sel.ranges[i].head.line,o={anchor:P(r,0),head:P(r+1,0)};n.push(o),e.push(t.getRange(o.anchor,o.head))}return{text:e,ranges:n}}function zo(t,e){t.setAttribute("autocorrect","off"),t.setAttribute("autocapitalize","off"),t.setAttribute("spellcheck",!!e)}function Ho(){var t=i("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),e=i("div",[t],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return sl?t.style.width="1000px":t.setAttribute("wrap","off"),fl&&(t.style.border="1px solid black"),zo(t),e}function Bo(t,e,n,i,r){function o(){var i=e.line+n;return!(i<t.first||i>=t.first+t.size)&&(e=new P(i,e.ch,e.sticky),u=T(t,i))}function l(i){var l;if(null==(l=r?Tt(t.cm,u,e,n):_t(u,e,n))){if(i||!o())return!1;e=kt(r,t.cm,u,e.line,n)}else e=l;return!0}var s=e,a=n,u=T(t,e.line);if("char"==i)l();else if("column"==i)l(!0);else if("word"==i||"group"==i)for(var c=null,h="group"==i,p=t.cm&&t.cm.getHelper(e,"wordChars"),d=!0;!(n<0)||l(!d);d=!1){var f=u.text.charAt(e.ch)||"\n",m=x(f,p)?"w":h&&"\n"==f?"n":!h||/\s/.test(f)?null:"p";if(!h||d||m||(m="s"),c&&c!=m){n<0&&(n=1,l(),e.sticky="after");break}if(m&&(c=m),n>0&&!l(!d))break}var v=Or(t,e,s,a,!0);return L(s,v)&&(v.hitSide=!0),v}function Uo(t,e,n,i){var r,o=t.doc,l=e.left;if("page"==i){var s=Math.min(t.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),a=Math.max(s-.5*yn(t.display),3);r=(n>0?e.bottom:e.top)+n*a}else"line"==i&&(r=n>0?e.bottom+3:e.top-3);for(var u;u=fn(t,l,r),u.outside;){if(n<0?r<=0:r>=o.height){u.hitSide=!0;break}r+=5*n}return u}function qo(t,e){var n=Xe(t,e.line);if(!n||n.hidden)return null;var i=T(t.doc,e.line),r=Ke(n,i,e.line),o=St(i,t.doc.direction),l="left";if(o){l=Ct(o,e.ch)%2?"right":"left"}var s=Ze(r.map,e.ch,l);return s.offset="right"==s.collapse?s.end:s.start,s}function Ko(t){for(var e=t;e;e=e.parentNode)if(/CodeMirror-gutter-wrapper/.test(e.className))return!0;return!1}function Go(t,e){return e&&(t.bad=!0),t}function Yo(t,e,n,i,r){function o(t){return function(e){return e.id==t}}function l(){c&&(u+=h,c=!1)}function s(t){t&&(l(),u+=t)}function a(e){if(1==e.nodeType){var n=e.getAttribute("cm-text");if(null!=n)return void s(n||e.textContent.replace(/\u200b/g,""));var u,p=e.getAttribute("cm-marker");if(p){var d=t.findMarks(P(i,0),P(r+1,0),o(+p));return void(d.length&&(u=d[0].find())&&s(I(t.doc,u.from,u.to).join(h)))}if("false"==e.getAttribute("contenteditable"))return;var f=/^(pre|div|p)$/i.test(e.nodeName);f&&l();for(var m=0;m<e.childNodes.length;m++)a(e.childNodes[m]);f&&(c=!0)}else 3==e.nodeType&&s(e.nodeValue)}for(var u="",c=!1,h=t.doc.lineSeparator();a(e),e!=n;)e=e.nextSibling;return u}function Xo(t,e,n){var i;if(e==t.display.lineDiv){if(!(i=t.display.lineDiv.childNodes[n]))return Go(t.clipPos(P(t.display.viewTo-1)),!0);e=null,n=0}else for(i=e;;i=i.parentNode){if(!i||i==t.display.lineDiv)return null;if(i.parentNode&&i.parentNode==t.display.lineDiv)break}for(var r=0;r<t.display.view.length;r++){var o=t.display.view[r];if(o.node==i)return Jo(o,e,n)}}function Jo(t,e,n){function i(e,n,i){for(var r=-1;r<(h?h.length:0);r++)for(var o=r<0?c.map:h[r],l=0;l<o.length;l+=3){var s=o[l+2];if(s==e||s==n){var a=R(r<0?t.line:t.rest[r]),u=o[l]+i;return(i<0||s!=e)&&(u=o[l+(i?1:0)]),P(a,u)}}}var r=t.text.firstChild,l=!1;if(!e||!o(r,e))return Go(P(R(t.line),0),!0);if(e==r&&(l=!0,e=r.childNodes[n],n=0,!e)){var s=t.rest?m(t.rest):t.line;return Go(P(R(s),s.text.length),l)}var a=3==e.nodeType?e:null,u=e;for(a||1!=e.childNodes.length||3!=e.firstChild.nodeType||(a=e.firstChild,n&&(n=a.nodeValue.length));u.parentNode!=r;)u=u.parentNode;var c=t.measure,h=c.maps,p=i(a,u,n);if(p)return Go(p,l);for(var d=u.nextSibling,f=a?a.nodeValue.length-n:0;d;d=d.nextSibling){if(p=i(d,d.firstChild,0))return Go(P(p.line,p.ch-f),l);f+=d.textContent.length}for(var v=u.previousSibling,g=n;v;v=v.previousSibling){if(p=i(v,v.firstChild,-1))return Go(P(p.line,p.ch+g),l);g+=v.textContent.length}}function $o(t,e){function n(){t.value=a.getValue()}if(e=e?c(e):{},e.value=t.value,!e.tabindex&&t.tabIndex&&(e.tabindex=t.tabIndex),!e.placeholder&&t.placeholder&&(e.placeholder=t.placeholder),null==e.autofocus){var i=l();e.autofocus=i==t||null!=t.getAttribute("autofocus")&&i==document.body}var r;if(t.form&&(Hl(t.form,"submit",n),!e.leaveSubmitMethodAlone)){var o=t.form;r=o.submit;try{var s=o.submit=function(){n(),o.submit=r,o.submit(),o.submit=s}}catch(t){}}e.finishInit=function(e){e.save=n,e.getTextArea=function(){return t},e.toTextArea=function(){e.toTextArea=isNaN,n(),t.parentNode.removeChild(e.getWrapperElement()),t.style.display="",t.form&&(Dt(t.form,"submit",n),"function"==typeof t.form.submit&&(t.form.submit=r))}},t.style.display="none";var a=Ao(function(e){return t.parentNode.insertBefore(e,t.nextSibling)},e);return a}function Zo(t){t.off=Dt,t.on=Hl,t.wheelEventPixels=Pi,t.Doc=xs,t.splitLines=Ul,t.countColumn=h,t.findColumn=d,t.isWordChar=w,t.Pass=Ml,t.signal=Mt,t.Line=Zl,t.changeEnd=Vi,t.scrollbarModel=ss,t.Pos=P,t.cmpPos=j,t.modes=Yl,t.mimeModes=Xl,t.resolveMode=Kt,t.getMode=Gt,t.modeExtensions=Jl,t.extendMode=Yt,t.copyState=Xt,t.startState=$t,t.innerMode=Jt,t.commands=Rs,t.keyMap=Is,t.keyName=ro,t.isModifierKey=io,t.lookupKey=no,t.normalizeKeyMap=eo,t.StringStream=$l,t.SharedTextMarker=bs,t.TextMarker=ys,t.LineWidget=vs,t.e_preventDefault=Pt,t.e_stopPropagation=jt,t.e_stop=Ft,t.addClass=s,t.contains=o,t.rmClass=Ol,t.keyNames=Os}var Qo=navigator.userAgent,tl=navigator.platform,el=/gecko\/\d/i.test(Qo),nl=/MSIE \d/.test(Qo),il=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Qo),rl=/Edge\/(\d+)/.exec(Qo),ol=nl||il||rl,ll=ol&&(nl?document.documentMode||6:+(rl||il)[1]),sl=!rl&&/WebKit\//.test(Qo),al=sl&&/Qt\/\d+\.\d+/.test(Qo),ul=!rl&&/Chrome\//.test(Qo),cl=/Opera\//.test(Qo),hl=/Apple Computer/.test(navigator.vendor),pl=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Qo),dl=/PhantomJS/.test(Qo),fl=!rl&&/AppleWebKit/.test(Qo)&&/Mobile\/\w+/.test(Qo),ml=/Android/.test(Qo),vl=fl||ml||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Qo),gl=fl||/Mac/.test(tl),yl=/\bCrOS\b/.test(Qo),bl=/win/i.test(tl),wl=cl&&Qo.match(/Version\/(\d*\.\d*)/);wl&&(wl=Number(wl[1])),wl&&wl>=15&&(cl=!1,sl=!0);var xl,Cl=gl&&(al||cl&&(null==wl||wl<12.11)),Sl=el||ol&&ll>=9,Ol=function(e,n){var i=e.className,r=t(n).exec(i);if(r){var o=i.slice(r.index+r[0].length);e.className=i.slice(0,r.index)+(o?r[1]+o:"")}};xl=document.createRange?function(t,e,n,i){var r=document.createRange();return r.setEnd(i||t,n),r.setStart(t,e),r}:function(t,e,n){var i=document.body.createTextRange();try{i.moveToElementText(t.parentNode)}catch(t){return i}return i.collapse(!0),i.moveEnd("character",n),i.moveStart("character",e),i};var _l=function(t){t.select()};fl?_l=function(t){t.selectionStart=0,t.selectionEnd=t.value.length}:ol&&(_l=function(t){try{t.select()}catch(t){}});var kl=function(){this.id=null};kl.prototype.set=function(t,e){clearTimeout(this.id),this.id=setTimeout(e,t)};var Tl,Il,Dl=30,Ml={toString:function(){return"CodeMirror.Pass"}},Rl={scroll:!1},Nl={origin:"*mouse"},Al={origin:"+move"},El=[""],Pl=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,jl=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/,Ll=!1,Fl=!1,Vl=null,Wl=function(){function t(t){return t<=247?n.charAt(t):1424<=t&&t<=1524?"R":1536<=t&&t<=1785?i.charAt(t-1536):1774<=t&&t<=2220?"r":8192<=t&&t<=8203?"w":8204==t?"b":"L"}function e(t,e,n){this.level=t,this.from=e,this.to=n}var n="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",i="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111",r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,o=/[stwN]/,l=/[LRr]/,s=/[Lb1n]/,a=/[1n]/;return function(n,i){var u="ltr"==i?"L":"R";if(0==n.length||"ltr"==i&&!r.test(n))return!1;for(var c=n.length,h=[],p=0;p<c;++p)h.push(t(n.charCodeAt(p)));for(var d=0,f=u;d<c;++d){var v=h[d];"m"==v?h[d]=f:f=v}for(var g=0,y=u;g<c;++g){var b=h[g];"1"==b&&"r"==y?h[g]="n":l.test(b)&&(y=b,"r"==b&&(h[g]="R"))}for(var w=1,x=h[0];w<c-1;++w){var C=h[w];"+"==C&&"1"==x&&"1"==h[w+1]?h[w]="1":","!=C||x!=h[w+1]||"1"!=x&&"n"!=x||(h[w]=x),x=C}for(var S=0;S<c;++S){var O=h[S];if(","==O)h[S]="N";else if("%"==O){var _=void 0;for(_=S+1;_<c&&"%"==h[_];++_);for(var k=S&&"!"==h[S-1]||_<c&&"1"==h[_]?"1":"N",T=S;T<_;++T)h[T]=k;S=_-1}}for(var I=0,D=u;I<c;++I){var M=h[I];"L"==D&&"1"==M?h[I]="L":l.test(M)&&(D=M)}for(var R=0;R<c;++R)if(o.test(h[R])){var N=void 0;for(N=R+1;N<c&&o.test(h[N]);++N);for(var A="L"==(R?h[R-1]:u),E="L"==(N<c?h[N]:u),P=A==E?A?"L":"R":u,j=R;j<N;++j)h[j]=P;R=N-1}for(var L,F=[],V=0;V<c;)if(s.test(h[V])){var W=V;for(++V;V<c&&s.test(h[V]);++V);F.push(new e(0,W,V))}else{var z=V,H=F.length;for(++V;V<c&&"L"!=h[V];++V);for(var B=z;B<V;)if(a.test(h[B])){z<B&&F.splice(H,0,new e(1,z,B));var U=B;for(++B;B<V&&a.test(h[B]);++B);F.splice(H,0,new e(2,U,B)),z=B}else++B;z<V&&F.splice(H,0,new e(1,z,V))}return 1==F[0].level&&(L=n.match(/^\s+/))&&(F[0].from=L[0].length,F.unshift(new e(0,0,L[0].length))),1==m(F).level&&(L=n.match(/\s+$/))&&(m(F).to-=L[0].length,F.push(new e(0,c-L[0].length,c))),"rtl"==i?F.reverse():F}}(),zl=[],Hl=function(t,e,n){if(t.addEventListener)t.addEventListener(e,n,!1);else if(t.attachEvent)t.attachEvent("on"+e,n);else{var i=t._handlers||(t._handlers={});i[e]=(i[e]||zl).concat(n)}},Bl=function(){if(ol&&ll<9)return!1;var t=i("div");return"draggable"in t||"dragDrop"in t}(),Ul=3!="\n\nb".split(/\n/).length?function(t){for(var e=0,n=[],i=t.length;e<=i;){var r=t.indexOf("\n",e);-1==r&&(r=t.length);var o=t.slice(e,"\r"==t.charAt(r-1)?r-1:r),l=o.indexOf("\r");-1!=l?(n.push(o.slice(0,l)),e+=l+1):(n.push(o),e=r+1)}return n}:function(t){return t.split(/\r\n?|\n/)},ql=window.getSelection?function(t){try{return t.selectionStart!=t.selectionEnd}catch(t){return!1}}:function(t){var e;try{e=t.ownerDocument.selection.createRange()}catch(t){}return!(!e||e.parentElement()!=t)&&0!=e.compareEndPoints("StartToEnd",e)},Kl=function(){var t=i("div");return"oncopy"in t||(t.setAttribute("oncopy","return;"),"function"==typeof t.oncopy)}(),Gl=null,Yl={},Xl={},Jl={},$l=function(t,e){this.pos=this.start=0,this.string=t,this.tabSize=e||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0};$l.prototype.eol=function(){return this.pos>=this.string.length},$l.prototype.sol=function(){return this.pos==this.lineStart},$l.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},$l.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},$l.prototype.eat=function(t){var e=this.string.charAt(this.pos);if("string"==typeof t?e==t:e&&(t.test?t.test(e):t(e)))return++this.pos,e},$l.prototype.eatWhile=function(t){for(var e=this.pos;this.eat(t););return this.pos>e},$l.prototype.eatSpace=function(){for(var t=this,e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++t.pos;return this.pos>e},$l.prototype.skipToEnd=function(){this.pos=this.string.length},$l.prototype.skipTo=function(t){var e=this.string.indexOf(t,this.pos);if(e>-1)return this.pos=e,!0},$l.prototype.backUp=function(t){this.pos-=t},$l.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=h(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?h(this.string,this.lineStart,this.tabSize):0)},$l.prototype.indentation=function(){return h(this.string,null,this.tabSize)-(this.lineStart?h(this.string,this.lineStart,this.tabSize):0)},$l.prototype.match=function(t,e,n){if("string"!=typeof t){var i=this.string.slice(this.pos).match(t);return i&&i.index>0?null:(i&&!1!==e&&(this.pos+=i[0].length),i)}var r=function(t){return n?t.toLowerCase():t};if(r(this.string.substr(this.pos,t.length))==r(t))return!1!==e&&(this.pos+=t.length),!0},$l.prototype.current=function(){return this.string.slice(this.start,this.pos)},$l.prototype.hideFirstChars=function(t,e){this.lineStart+=t;try{return e()}finally{this.lineStart-=t}};var Zl=function(t,e,n){this.text=t,it(this,e),this.height=n?n(this):1};Zl.prototype.lineNo=function(){return R(this)},Et(Zl);var Ql,ts={},es={},ns=null,is=null,rs={left:0,right:0,top:0,bottom:0},os=function(t,e,n){this.cm=n;var r=this.vert=i("div",[i("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),o=this.horiz=i("div",[i("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");t(r),t(o),Hl(r,"scroll",function(){r.clientHeight&&e(r.scrollTop,"vertical")}),Hl(o,"scroll",function(){o.clientWidth&&e(o.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ol&&ll<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};os.prototype.update=function(t){var e=t.scrollWidth>t.clientWidth+1,n=t.scrollHeight>t.clientHeight+1,i=t.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=e?i+"px":"0";var r=t.viewHeight-(e?i:0);this.vert.firstChild.style.height=Math.max(0,t.scrollHeight-t.clientHeight+r)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(e){this.horiz.style.display="block",this.horiz.style.right=n?i+"px":"0",this.horiz.style.left=t.barLeft+"px";var o=t.viewWidth-t.barLeft-(n?i:0);this.horiz.firstChild.style.width=Math.max(0,t.scrollWidth-t.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&t.clientHeight>0&&(0==i&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?i:0,bottom:e?i:0}},os.prototype.setScrollLeft=function(t){this.horiz.scrollLeft!=t&&(this.horiz.scrollLeft=t),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},os.prototype.setScrollTop=function(t){this.vert.scrollTop!=t&&(this.vert.scrollTop=t),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},os.prototype.zeroWidthHack=function(){var t=gl&&!pl?"12px":"18px";this.horiz.style.height=this.vert.style.width=t,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new kl,this.disableVert=new kl},os.prototype.enableZeroWidthBar=function(t,e,n){function i(){var r=t.getBoundingClientRect();("vert"==n?document.elementFromPoint(r.right-1,(r.top+r.bottom)/2):document.elementFromPoint((r.right+r.left)/2,r.bottom-1))!=t?t.style.pointerEvents="none":e.set(1e3,i)}t.style.pointerEvents="auto",e.set(1e3,i)},os.prototype.clear=function(){var t=this.horiz.parentNode;t.removeChild(this.horiz),t.removeChild(this.vert)};var ls=function(){};ls.prototype.update=function(){return{bottom:0,right:0}},ls.prototype.setScrollLeft=function(){},ls.prototype.setScrollTop=function(){},ls.prototype.clear=function(){};var ss={native:os,null:ls},as=0,us=function(t,e,n){var i=t.display;this.viewport=e,this.visible=Ln(i,t.doc,e),this.editorIsHidden=!i.wrapper.offsetWidth,this.wrapperHeight=i.wrapper.clientHeight,this.wrapperWidth=i.wrapper.clientWidth,this.oldDisplayWidth=Be(t),this.force=n,this.dims=wn(t),this.events=[]};us.prototype.signal=function(t,e){At(t,e)&&this.events.push(arguments)},us.prototype.finish=function(){for(var t=this,e=0;e<this.events.length;e++)Mt.apply(null,t.events[e])};var cs=0,hs=null;ol?hs=-.53:el?hs=15:ul?hs=-.7:hl&&(hs=-1/3);var ps=function(t,e){this.ranges=t,this.primIndex=e};ps.prototype.primary=function(){return this.ranges[this.primIndex]},ps.prototype.equals=function(t){var e=this;if(t==this)return!0;if(t.primIndex!=this.primIndex||t.ranges.length!=this.ranges.length)return!1;for(var n=0;n<this.ranges.length;n++){var i=e.ranges[n],r=t.ranges[n];if(!L(i.anchor,r.anchor)||!L(i.head,r.head))return!1}return!0},ps.prototype.deepCopy=function(){for(var t=this,e=[],n=0;n<this.ranges.length;n++)e[n]=new ds(F(t.ranges[n].anchor),F(t.ranges[n].head));return new ps(e,this.primIndex)},ps.prototype.somethingSelected=function(){for(var t=this,e=0;e<this.ranges.length;e++)if(!t.ranges[e].empty())return!0;return!1},ps.prototype.contains=function(t,e){var n=this;e||(e=t);for(var i=0;i<this.ranges.length;i++){var r=n.ranges[i];if(j(e,r.from())>=0&&j(t,r.to())<=0)return i}return-1};var ds=function(t,e){this.anchor=t,this.head=e};ds.prototype.from=function(){return W(this.anchor,this.head)},ds.prototype.to=function(){return V(this.anchor,this.head)},ds.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};var fs=function(t){var e=this;this.lines=t,this.parent=null;for(var n=0,i=0;i<t.length;++i)t[i].parent=e,n+=t[i].height;this.height=n};fs.prototype.chunkSize=function(){return this.lines.length},fs.prototype.removeInner=function(t,e){for(var n=this,i=t,r=t+e;i<r;++i){var o=n.lines[i];n.height-=o.height,ue(o),Se(o,"delete")}this.lines.splice(t,e)},fs.prototype.collapse=function(t){t.push.apply(t,this.lines)},fs.prototype.insertInner=function(t,e,n){var i=this;this.height+=n,this.lines=this.lines.slice(0,t).concat(e).concat(this.lines.slice(t));for(var r=0;r<e.length;++r)e[r].parent=i},fs.prototype.iterN=function(t,e,n){for(var i=this,r=t+e;t<r;++t)if(n(i.lines[t]))return!0};var ms=function(t){var e=this;this.children=t;for(var n=0,i=0,r=0;r<t.length;++r){var o=t[r];n+=o.chunkSize(),i+=o.height,o.parent=e}this.size=n,this.height=i,this.parent=null};ms.prototype.chunkSize=function(){return this.size},ms.prototype.removeInner=function(t,e){var n=this;this.size-=e;for(var i=0;i<this.children.length;++i){var r=n.children[i],o=r.chunkSize();if(t<o){var l=Math.min(e,o-t),s=r.height;if(r.removeInner(t,l),n.height-=s-r.height,o==l&&(n.children.splice(i--,1),r.parent=null),0==(e-=l))break;t=0}else t-=o}if(this.size-e<25&&(this.children.length>1||!(this.children[0]instanceof fs))){var a=[];this.collapse(a),this.children=[new fs(a)],this.children[0].parent=this}},ms.prototype.collapse=function(t){for(var e=this,n=0;n<this.children.length;++n)e.children[n].collapse(t)},ms.prototype.insertInner=function(t,e,n){var i=this;this.size+=e.length,this.height+=n;for(var r=0;r<this.children.length;++r){var o=i.children[r],l=o.chunkSize();if(t<=l){if(o.insertInner(t,e,n),o.lines&&o.lines.length>50){for(var s=o.lines.length%25+25,a=s;a<o.lines.length;){var u=new fs(o.lines.slice(a,a+=25));o.height-=u.height,i.children.splice(++r,0,u),u.parent=i}o.lines=o.lines.slice(0,s),i.maybeSpill()}break}t-=l}},ms.prototype.maybeSpill=function(){if(!(this.children.length<=10)){var t=this;do{var e=t.children.splice(t.children.length-5,5),n=new ms(e);if(t.parent){t.size-=n.size,t.height-=n.height;var i=p(t.parent.children,t);t.parent.children.splice(i+1,0,n)}else{var r=new ms(t.children);r.parent=t,t.children=[r,n],t=r}n.parent=t.parent}while(t.children.length>10);t.parent.maybeSpill()}},ms.prototype.iterN=function(t,e,n){for(var i=this,r=0;r<this.children.length;++r){var o=i.children[r],l=o.chunkSize();if(t<l){var s=Math.min(e,l-t);if(o.iterN(t,s,n))return!0;if(0==(e-=s))break;t=0}else t-=l}};var vs=function(t,e,n){var i=this;if(n)for(var r in n)n.hasOwnProperty(r)&&(i[r]=n[r]);this.doc=t,this.node=e};vs.prototype.clear=function(){var t=this,e=this.doc.cm,n=this.line.widgets,i=this.line,r=R(i);if(null!=r&&n){for(var o=0;o<n.length;++o)n[o]==t&&n.splice(o--,1);n.length||(i.widgets=null);var l=Le(this);M(i,Math.max(0,i.height-l)),e&&(hi(e,function(){Vr(e,i,-l),vi(e,r,"widget")}),Se(e,"lineWidgetCleared",e,this,r))}},vs.prototype.changed=function(){var t=this,e=this.height,n=this.doc.cm,i=this.line;this.height=null;var r=Le(this)-e;r&&(M(i,i.height+r),n&&hi(n,function(){n.curOp.forceUpdate=!0,Vr(n,i,r),Se(n,"lineWidgetChanged",n,t,R(i))}))},Et(vs);var gs=0,ys=function(t,e){this.lines=[],this.type=e,this.doc=t,this.id=++gs};ys.prototype.clear=function(){var t=this;if(!this.explicitlyCleared){var e=this.doc.cm,n=e&&!e.curOp;if(n&&ii(e),At(this,"clear")){var i=this.find();i&&Se(this,"clear",i.from,i.to)}for(var r=null,o=null,l=0;l<this.lines.length;++l){var s=t.lines[l],a=Y(s.markedSpans,t);e&&!t.collapsed?vi(e,R(s),"text"):e&&(null!=a.to&&(o=R(s)),null!=a.from&&(r=R(s))),s.markedSpans=X(s.markedSpans,a),null==a.from&&t.collapsed&&!vt(t.doc,s)&&e&&M(s,yn(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var u=0;u<this.lines.length;++u){var c=ht(t.lines[u]),h=bt(c);h>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=h,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&mi(e,r,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&xr(e.doc)),e&&Se(e,"markerCleared",e,this,r,o),n&&ri(e),this.parent&&this.parent.clear()}},ys.prototype.find=function(t,e){var n=this;null==t&&"bookmark"==this.type&&(t=1);for(var i,r,o=0;o<this.lines.length;++o){var l=n.lines[o],s=Y(l.markedSpans,n);if(null!=s.from&&(i=P(e?l:R(l),s.from),-1==t))return i;if(null!=s.to&&(r=P(e?l:R(l),s.to),1==t))return r}return i&&{from:i,to:r}},ys.prototype.changed=function(){var t=this,e=this.find(-1,!0),n=this,i=this.doc.cm;e&&i&&hi(i,function(){var r=e.line,o=R(e.line),l=Xe(i,o);if(l&&(nn(l),i.curOp.selectionChanged=i.curOp.forceUpdate=!0),i.curOp.updateMaxLine=!0,!vt(n.doc,r)&&null!=n.height){var s=n.height;n.height=null;var a=Le(n)-s;a&&M(r,r.height+a)}Se(i,"markerChanged",i,t)})},ys.prototype.attachLine=function(t){if(!this.lines.length&&this.doc.cm){var e=this.doc.cm.curOp;e.maybeHiddenMarkers&&-1!=p(e.maybeHiddenMarkers,this)||(e.maybeUnhiddenMarkers||(e.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(t)},ys.prototype.detachLine=function(t){if(this.lines.splice(p(this.lines,t),1),!this.lines.length&&this.doc.cm){var e=this.doc.cm.curOp;(e.maybeHiddenMarkers||(e.maybeHiddenMarkers=[])).push(this)}},Et(ys);var bs=function(t,e){var n=this;this.markers=t,this.primary=e;for(var i=0;i<t.length;++i)t[i].parent=n};bs.prototype.clear=function(){var t=this;if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)t.markers[e].clear();Se(this,"clear")}},bs.prototype.find=function(t,e){return this.primary.find(t,e)},Et(bs);var ws=0,xs=function(t,e,n,i,r){if(!(this instanceof xs))return new xs(t,e,n,i,r);null==n&&(n=0),ms.call(this,[new fs([new Zl("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.frontier=n;var o=P(n,0);this.sel=Fi(o),this.history=new Zi(null),this.id=++ws,this.modeOption=e,this.lineSep=i,this.direction="rtl"==r?"rtl":"ltr",this.extend=!1,"string"==typeof t&&(t=this.splitLines(t)),Gi(this,{from:o,to:o,text:t}),yr(this,Fi(o),Rl)};xs.prototype=b(ms.prototype,{constructor:xs,iter:function(t,e,n){n?this.iterN(t-this.first,e-t,n):this.iterN(this.first,this.first+this.size,t)},insert:function(t,e){for(var n=0,i=0;i<e.length;++i)n+=e[i].height;this.insertInner(t-this.first,e,n)},remove:function(t,e){this.removeInner(t-this.first,e)},getValue:function(t){var e=D(this,this.first,this.first+this.size);return!1===t?e:e.join(t||this.lineSeparator())},setValue:fi(function(t){var e=P(this.first,0),n=this.first+this.size-1;Ir(this,{from:e,to:P(n,T(this,n).text.length),text:this.splitLines(t),origin:"setValue",full:!0},!0),this.cm&&Kn(this.cm,0,0),yr(this,Fi(e),Rl)}),replaceRange:function(t,e,n,i){e=H(this,e),n=n?H(this,n):e,Er(this,t,e,n,i)},getRange:function(t,e,n){var i=I(this,H(this,t),H(this,e));return!1===n?i:i.join(n||this.lineSeparator())},getLine:function(t){var e=this.getLineHandle(t);return e&&e.text},getLineHandle:function(t){if(A(this,t))return T(this,t)},getLineNumber:function(t){return R(t)},getLineHandleVisualStart:function(t){return"number"==typeof t&&(t=T(this,t)),ht(t)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(t){return H(this,t)},getCursor:function(t){var e=this.sel.primary();return null==t||"head"==t?e.head:"anchor"==t?e.anchor:"end"==t||"to"==t||!1===t?e.to():e.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:fi(function(t,e,n){mr(this,H(this,"number"==typeof t?P(t,e||0):t),null,n)}),setSelection:fi(function(t,e,n){mr(this,H(this,t),H(this,e||t),n)}),extendSelection:fi(function(t,e,n){pr(this,H(this,t),e&&H(this,e),n)}),extendSelections:fi(function(t,e){dr(this,U(this,t),e)}),extendSelectionsBy:fi(function(t,e){dr(this,U(this,v(this.sel.ranges,t)),e)}),setSelections:fi(function(t,e,n){var i=this;if(t.length){for(var r=[],o=0;o<t.length;o++)r[o]=new ds(H(i,t[o].anchor),H(i,t[o].head));null==e&&(e=Math.min(t.length-1,this.sel.primIndex)),yr(this,Li(r,e),n)}}),addSelection:fi(function(t,e,n){var i=this.sel.ranges.slice(0);i.push(new ds(H(this,t),H(this,e||t))),yr(this,Li(i,i.length-1),n)}),getSelection:function(t){for(var e,n=this,i=this.sel.ranges,r=0;r<i.length;r++){var o=I(n,i[r].from(),i[r].to());e=e?e.concat(o):o}return!1===t?e:e.join(t||this.lineSeparator())},getSelections:function(t){for(var e=this,n=[],i=this.sel.ranges,r=0;r<i.length;r++){var o=I(e,i[r].from(),i[r].to());!1!==t&&(o=o.join(t||e.lineSeparator())),n[r]=o}return n},replaceSelection:function(t,e,n){for(var i=[],r=0;r<this.sel.ranges.length;r++)i[r]=t;this.replaceSelections(i,e,n||"+input")},replaceSelections:fi(function(t,e,n){for(var i=this,r=[],o=this.sel,l=0;l<o.ranges.length;l++){var s=o.ranges[l];r[l]={from:s.from(),to:s.to(),text:i.splitLines(t[l]),origin:n}}for(var a=e&&"end"!=e&&Bi(this,r,e),u=r.length-1;u>=0;u--)Ir(i,r[u]);a?gr(this,a):this.cm&&qn(this.cm)}),undo:fi(function(){Mr(this,"undo")}),redo:fi(function(){Mr(this,"redo")}),undoSelection:fi(function(){Mr(this,"undo",!0)}),redoSelection:fi(function(){Mr(this,"redo",!0)}),setExtending:function(t){this.extend=t},getExtending:function(){return this.extend},historySize:function(){for(var t=this.history,e=0,n=0,i=0;i<t.done.length;i++)t.done[i].ranges||++e;for(var r=0;r<t.undone.length;r++)t.undone[r].ranges||++n;return{undo:e,redo:n}},clearHistory:function(){this.history=new Zi(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(t){return t&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(t){return this.history.generation==(t||this.cleanGeneration)},getHistory:function(){return{done:cr(this.history.done),undone:cr(this.history.undone)}},setHistory:function(t){var e=this.history=new Zi(this.history.maxGeneration);e.done=cr(t.done.slice(0),null,!0),e.undone=cr(t.undone.slice(0),null,!0)},setGutterMarker:fi(function(t,e,n){return Fr(this,t,"gutter",function(t){var i=t.gutterMarkers||(t.gutterMarkers={});return i[e]=n,!n&&C(i)&&(t.gutterMarkers=null),!0})}),clearGutter:fi(function(t){var e=this;this.iter(function(n){n.gutterMarkers&&n.gutterMarkers[t]&&Fr(e,n,"gutter",function(){return n.gutterMarkers[t]=null,C(n.gutterMarkers)&&(n.gutterMarkers=null),!0})})}),lineInfo:function(t){var e;if("number"==typeof t){if(!A(this,t))return null;if(e=t,!(t=T(this,t)))return null}else if(null==(e=R(t)))return null;return{line:e,handle:t,text:t.text,gutterMarkers:t.gutterMarkers,textClass:t.textClass,bgClass:t.bgClass,wrapClass:t.wrapClass,widgets:t.widgets}},addLineClass:fi(function(e,n,i){return Fr(this,e,"gutter"==n?"gutter":"class",function(e){var r="text"==n?"textClass":"background"==n?"bgClass":"gutter"==n?"gutterClass":"wrapClass";if(e[r]){if(t(i).test(e[r]))return!1;e[r]+=" "+i}else e[r]=i;return!0})}),removeLineClass:fi(function(e,n,i){return Fr(this,e,"gutter"==n?"gutter":"class",function(e){var r="text"==n?"textClass":"background"==n?"bgClass":"gutter"==n?"gutterClass":"wrapClass",o=e[r];if(!o)return!1;if(null==i)e[r]=null;else{var l=o.match(t(i));if(!l)return!1;var s=l.index+l[0].length;e[r]=o.slice(0,l.index)+(l.index&&s!=o.length?" ":"")+o.slice(s)||null}return!0})}),addLineWidget:fi(function(t,e,n){return Wr(this,t,e,n)}),removeLineWidget:function(t){t.clear()},markText:function(t,e,n){return zr(this,H(this,t),H(this,e),n,n&&n.type||"range")},setBookmark:function(t,e){var n={replacedWith:e&&(null==e.nodeType?e.widget:e),insertLeft:e&&e.insertLeft,clearWhenEmpty:!1,shared:e&&e.shared,handleMouseEvents:e&&e.handleMouseEvents};return t=H(this,t),zr(this,t,t,n,"bookmark")},findMarksAt:function(t){t=H(this,t);var e=[],n=T(this,t.line).markedSpans;if(n)for(var i=0;i<n.length;++i){var r=n[i];(null==r.from||r.from<=t.ch)&&(null==r.to||r.to>=t.ch)&&e.push(r.marker.parent||r.marker)}return e},findMarks:function(t,e,n){t=H(this,t),e=H(this,e);var i=[],r=t.line;return this.iter(t.line,e.line+1,function(o){var l=o.markedSpans;if(l)for(var s=0;s<l.length;s++){var a=l[s];null!=a.to&&r==t.line&&t.ch>=a.to||null==a.from&&r!=t.line||null!=a.from&&r==e.line&&a.from>=e.ch||n&&!n(a.marker)||i.push(a.marker.parent||a.marker)}++r}),i},getAllMarks:function(){var t=[];return this.iter(function(e){var n=e.markedSpans;if(n)for(var i=0;i<n.length;++i)null!=n[i].from&&t.push(n[i].marker)}),t},posFromIndex:function(t){var e,n=this.first,i=this.lineSeparator().length;return this.iter(function(r){var o=r.text.length+i;if(o>t)return e=t,!0;t-=o,++n}),H(this,P(n,e))},indexFromPos:function(t){t=H(this,t);var e=t.ch;if(t.line<this.first||t.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,t.line,function(t){e+=t.text.length+n}),e},copy:function(t){var e=new xs(D(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return e.scrollTop=this.scrollTop,e.scrollLeft=this.scrollLeft,e.sel=this.sel,e.extend=!1,t&&(e.history.undoDepth=this.history.undoDepth,e.setHistory(this.getHistory())),e},linkedDoc:function(t){t||(t={});var e=this.first,n=this.first+this.size;null!=t.from&&t.from>e&&(e=t.from),null!=t.to&&t.to<n&&(n=t.to);var i=new xs(D(this,e,n),t.mode||this.modeOption,e,this.lineSep,this.direction);return t.sharedHist&&(i.history=this.history),(this.linked||(this.linked=[])).push({doc:i,sharedHist:t.sharedHist}),i.linked=[{doc:this,isParent:!0,sharedHist:t.sharedHist}],Ur(i,Br(this)),i},unlinkDoc:function(t){var e=this;if(t instanceof Ao&&(t=t.doc),this.linked)for(var n=0;n<this.linked.length;++n){var i=e.linked[n];if(i.doc==t){e.linked.splice(n,1),t.unlinkDoc(e),qr(Br(e));break}}if(t.history==this.history){var r=[t.id];Yi(t,function(t){return r.push(t.id)},!0),t.history=new Zi(null),t.history.done=cr(this.history.done,r),t.history.undone=cr(this.history.undone,r)}},iterLinkedDocs:function(t){Yi(this,t)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(t){return this.lineSep?t.split(this.lineSep):Ul(t)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:fi(function(t){"rtl"!=t&&(t="ltr"),t!=this.direction&&(this.direction=t,this.iter(function(t){return t.order=null}),this.cm&&$i(this.cm))})}),xs.prototype.eachLine=xs.prototype.iter;for(var Cs=0,Ss=!1,Os={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",127:"Delete",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},_s=0;_s<10;_s++)Os[_s+48]=Os[_s+96]=String(_s);for(var ks=65;ks<=90;ks++)Os[ks]=String.fromCharCode(ks);for(var Ts=1;Ts<=12;Ts++)Os[Ts+111]=Os[Ts+63235]="F"+Ts;var Is={};Is.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Is.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Is.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Is.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Is.default=gl?Is.macDefault:Is.pcDefault;var Ds,Ms,Rs={selectAll:kr,singleSelection:function(t){return t.setSelection(t.getCursor("anchor"),t.getCursor("head"),Rl)},killLine:function(t){return lo(t,function(e){if(e.empty()){var n=T(t.doc,e.head.line).text.length;return e.head.ch==n&&e.head.line<t.lastLine()?{from:e.head,to:P(e.head.line+1,0)}:{from:e.head,to:P(e.head.line,n)}}return{from:e.from(),to:e.to()}})},deleteLine:function(t){return lo(t,function(e){return{from:P(e.from().line,0),to:H(t.doc,P(e.to().line+1,0))}})},delLineLeft:function(t){return lo(t,function(t){return{from:P(t.from().line,0),to:t.from()}})},delWrappedLineLeft:function(t){return lo(t,function(e){var n=t.charCoords(e.head,"div").top+5;return{from:t.coordsChar({left:0,top:n},"div"),to:e.from()}})},delWrappedLineRight:function(t){return lo(t,function(e){var n=t.charCoords(e.head,"div").top+5,i=t.coordsChar({left:t.display.lineDiv.offsetWidth+100,top:n},"div");return{from:e.from(),to:i}})},undo:function(t){return t.undo()},redo:function(t){return t.redo()},undoSelection:function(t){return t.undoSelection()},redoSelection:function(t){return t.redoSelection()},goDocStart:function(t){return t.extendSelection(P(t.firstLine(),0))},goDocEnd:function(t){return t.extendSelection(P(t.lastLine()))},goLineStart:function(t){return t.extendSelectionsBy(function(e){return so(t,e.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(t){return t.extendSelectionsBy(function(e){return uo(t,e.head)},{origin:"+move",bias:1})},goLineEnd:function(t){return t.extendSelectionsBy(function(e){return ao(t,e.head.line)},{origin:"+move",bias:-1})},goLineRight:function(t){return t.extendSelectionsBy(function(e){var n=t.charCoords(e.head,"div").top+5;return t.coordsChar({left:t.display.lineDiv.offsetWidth+100,top:n},"div")},Al)},goLineLeft:function(t){return t.extendSelectionsBy(function(e){var n=t.charCoords(e.head,"div").top+5;return t.coordsChar({left:0,top:n},"div")},Al)},goLineLeftSmart:function(t){return t.extendSelectionsBy(function(e){var n=t.charCoords(e.head,"div").top+5,i=t.coordsChar({left:0,top:n},"div");return i.ch<t.getLine(i.line).search(/\S/)?uo(t,e.head):i},Al)},goLineUp:function(t){return t.moveV(-1,"line")},goLineDown:function(t){return t.moveV(1,"line")},goPageUp:function(t){return t.moveV(-1,"page")},goPageDown:function(t){return t.moveV(1,"page")},goCharLeft:function(t){return t.moveH(-1,"char")},goCharRight:function(t){return t.moveH(1,"char")},goColumnLeft:function(t){return t.moveH(-1,"column")},goColumnRight:function(t){return t.moveH(1,"column")},goWordLeft:function(t){return t.moveH(-1,"word")},goGroupRight:function(t){return t.moveH(1,"group")},goGroupLeft:function(t){return t.moveH(-1,"group")},goWordRight:function(t){return t.moveH(1,"word")},delCharBefore:function(t){return t.deleteH(-1,"char")},delCharAfter:function(t){return t.deleteH(1,"char")},delWordBefore:function(t){return t.deleteH(-1,"word")},delWordAfter:function(t){return t.deleteH(1,"word")},delGroupBefore:function(t){return t.deleteH(-1,"group")},delGroupAfter:function(t){return t.deleteH(1,"group")},indentAuto:function(t){return t.indentSelection("smart")},indentMore:function(t){return t.indentSelection("add")},indentLess:function(t){return t.indentSelection("subtract")},insertTab:function(t){return t.replaceSelection("\t")},insertSoftTab:function(t){for(var e=[],n=t.listSelections(),i=t.options.tabSize,r=0;r<n.length;r++){var o=n[r].from(),l=h(t.getLine(o.line),o.ch,i);e.push(f(i-l%i))}t.replaceSelections(e)},defaultTab:function(t){t.somethingSelected()?t.indentSelection("add"):t.execCommand("insertTab")},transposeChars:function(t){return hi(t,function(){for(var e=t.listSelections(),n=[],i=0;i<e.length;i++)if(e[i].empty()){var r=e[i].head,o=T(t.doc,r.line).text;if(o)if(r.ch==o.length&&(r=new P(r.line,r.ch-1)),r.ch>0)r=new P(r.line,r.ch+1),t.replaceRange(o.charAt(r.ch-1)+o.charAt(r.ch-2),P(r.line,r.ch-2),r,"+transpose");else if(r.line>t.doc.first){var l=T(t.doc,r.line-1).text;l&&(r=new P(r.line,1),t.replaceRange(o.charAt(0)+t.doc.lineSeparator()+l.charAt(l.length-1),P(r.line-1,l.length-1),r,"+transpose"))}n.push(new ds(r,r))}t.setSelections(n)})},newlineAndIndent:function(t){return hi(t,function(){for(var e=t.listSelections(),n=e.length-1;n>=0;n--)t.replaceRange(t.doc.lineSeparator(),e[n].anchor,e[n].head,"+input");e=t.listSelections();for(var i=0;i<e.length;i++)t.indentLine(e[i].from().line,null,!0);qn(t)})},openLine:function(t){return t.replaceSelection("\n","start")},toggleOverwrite:function(t){return t.toggleOverwrite()}},Ns=new kl,As=null,Es={toString:function(){return"CodeMirror.Init"}},Ps={},js={};Ao.defaults=Ps,Ao.optionHandlers=js;var Ls=[];Ao.defineInitHook=function(t){return Ls.push(t)};var Fs=null,Vs=function(t){var e=t.optionHandlers,n=t.helpers={};t.prototype={constructor:t,focus:function(){window.focus(),this.display.input.focus()},setOption:function(t,n){var i=this.options,r=i[t];i[t]==n&&"mode"!=t||(i[t]=n,e.hasOwnProperty(t)&&pi(this,e[t])(this,n,r),Mt(this,"optionChange",this,t))},getOption:function(t){return this.options[t]},getDoc:function(){return this.doc},addKeyMap:function(t,e){this.state.keyMaps[e?"push":"unshift"](oo(t))},removeKeyMap:function(t){for(var e=this.state.keyMaps,n=0;n<e.length;++n)if(e[n]==t||e[n].name==t)return e.splice(n,1),!0},addOverlay:di(function(e,n){var i=e.token?e:t.getMode(this.options,e);if(i.startState)throw new Error("Overlays may not be stateful.");g(this.state.overlays,{mode:i,modeSpec:e,opaque:n&&n.opaque,priority:n&&n.priority||0},function(t){return t.priority}),this.state.modeGen++,mi(this)}),removeOverlay:di(function(t){for(var e=this,n=this.state.overlays,i=0;i<n.length;++i){var r=n[i].modeSpec;if(r==t||"string"==typeof t&&r.name==t)return n.splice(i,1),e.state.modeGen++,void mi(e)}}),indentLine:di(function(t,e,n){"string"!=typeof e&&"number"!=typeof e&&(e=null==e?this.options.smartIndent?"smart":"prev":e?"add":"subtract"),A(this.doc,t)&&Po(this,t,e,n)}),indentSelection:di(function(t){for(var e=this,n=this.doc.sel.ranges,i=-1,r=0;r<n.length;r++){var o=n[r];if(o.empty())o.head.line>i&&(Po(e,o.head.line,t,!0),i=o.head.line,r==e.doc.sel.primIndex&&qn(e));else{var l=o.from(),s=o.to(),a=Math.max(i,l.line);i=Math.min(e.lastLine(),s.line-(s.ch?0:1))+1;for(var u=a;u<i;++u)Po(e,u,t);var c=e.doc.sel.ranges;0==l.ch&&n.length==c.length&&c[r].from().ch>0&&fr(e.doc,r,new ds(l,c[r].to()),Rl)}}}),getTokenAt:function(t,e){return re(this,t,e)},getLineTokens:function(t,e){return re(this,P(t),e,!0)},getTokenTypeAt:function(t){t=H(this.doc,t);var e,n=Qt(this,T(this.doc,t.line)),i=0,r=(n.length-1)/2,o=t.ch;if(0==o)e=n[2];else for(;;){var l=i+r>>1;if((l?n[2*l-1]:0)>=o)r=l;else{if(!(n[2*l+1]<o)){e=n[2*l+2];break}i=l+1}}var s=e?e.indexOf("overlay "):-1;return s<0?e:0==s?null:e.slice(0,s-1)},getModeAt:function(e){var n=this.doc.mode;return n.innerMode?t.innerMode(n,this.getTokenAt(e).state).mode:n},getHelper:function(t,e){return this.getHelpers(t,e)[0]},getHelpers:function(t,e){var i=this,r=[];if(!n.hasOwnProperty(e))return r;var o=n[e],l=this.getModeAt(t);if("string"==typeof l[e])o[l[e]]&&r.push(o[l[e]]);else if(l[e])for(var s=0;s<l[e].length;s++){var a=o[l[e][s]];a&&r.push(a)}else l.helperType&&o[l.helperType]?r.push(o[l.helperType]):o[l.name]&&r.push(o[l.name]);for(var u=0;u<o._global.length;u++){var c=o._global[u];c.pred(l,i)&&-1==p(r,c.val)&&r.push(c.val)}return r},getStateAfter:function(t,e){var n=this.doc;return t=z(n,null==t?n.first+n.size-1:t),te(this,t+1,e)},cursorCoords:function(t,e){var n,i=this.doc.sel.primary();return n=null==t?i.head:"object"==typeof t?H(this.doc,t):t?i.from():i.to(),hn(this,n,e||"page")},charCoords:function(t,e){return cn(this,H(this.doc,t),e||"page")},coordsChar:function(t,e){return t=un(this,t,e||"page"),fn(this,t.left,t.top)},lineAtHeight:function(t,e){return t=un(this,{top:t,left:0},e||"page").top,N(this.doc,t+this.display.viewOffset)},heightAtLine:function(t,e,n){var i,r=!1;if("number"==typeof t){var o=this.doc.first+this.doc.size-1;t<this.doc.first?t=this.doc.first:t>o&&(t=o,r=!0),i=T(this.doc,t)}else i=t;return an(this,i,{top:0,left:0},e||"page",n||r).top+(r?this.doc.height-yt(i):0)},defaultTextHeight:function(){return yn(this.display)},defaultCharWidth:function(){return bn(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(t,e,n,i,r){var o=this.display;t=hn(this,H(this.doc,t));var l=t.bottom,s=t.left;if(e.style.position="absolute",e.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(e),o.sizer.appendChild(e),"over"==i)l=t.top;else if("above"==i||"near"==i){var a=Math.max(o.wrapper.clientHeight,this.doc.height),u=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==i||t.bottom+e.offsetHeight>a)&&t.top>e.offsetHeight?l=t.top-e.offsetHeight:t.bottom+e.offsetHeight<=a&&(l=t.bottom),s+e.offsetWidth>u&&(s=u-e.offsetWidth)}e.style.top=l+"px",e.style.left=e.style.right="","right"==r?(s=o.sizer.clientWidth-e.offsetWidth,e.style.right="0px"):("left"==r?s=0:"middle"==r&&(s=(o.sizer.clientWidth-e.offsetWidth)/2),e.style.left=s+"px"),n&&Hn(this,{left:s,top:l,right:s+e.offsetWidth,bottom:l+e.offsetHeight})},triggerOnKeyDown:di(vo),triggerOnKeyPress:di(bo),triggerOnKeyUp:yo,execCommand:function(t){if(Rs.hasOwnProperty(t))return Rs[t].call(null,this)},triggerElectric:di(function(t){Vo(this,t)}),findPosH:function(t,e,n,i){var r=this,o=1;e<0&&(o=-1,e=-e);for(var l=H(this.doc,t),s=0;s<e&&(l=Bo(r.doc,l,o,n,i),!l.hitSide);++s);return l},moveH:di(function(t,e){var n=this;this.extendSelectionsBy(function(i){return n.display.shift||n.doc.extend||i.empty()?Bo(n.doc,i.head,t,e,n.options.rtlMoveVisually):t<0?i.from():i.to()},Al)}),deleteH:di(function(t,e){var n=this.doc.sel,i=this.doc;n.somethingSelected()?i.replaceSelection("",null,"+delete"):lo(this,function(n){var r=Bo(i,n.head,t,e,!1);return t<0?{from:r,to:n.head}:{from:n.head,to:r}})}),findPosV:function(t,e,n,i){var r=this,o=1,l=i;e<0&&(o=-1,e=-e);for(var s=H(this.doc,t),a=0;a<e;++a){var u=hn(r,s,"div");if(null==l?l=u.left:u.left=l,s=Uo(r,u,o,n),s.hitSide)break}return s},moveV:di(function(t,e){var n=this,i=this.doc,r=[],o=!this.display.shift&&!i.extend&&i.sel.somethingSelected();if(i.extendSelectionsBy(function(l){if(o)return t<0?l.from():l.to();var s=hn(n,l.head,"div");null!=l.goalColumn&&(s.left=l.goalColumn),r.push(s.left);var a=Uo(n,s,t,e);return"page"==e&&l==i.sel.primary()&&Un(n,cn(n,a,"div").top-s.top),a},Al),r.length)for(var l=0;l<i.sel.ranges.length;l++)i.sel.ranges[l].goalColumn=r[l]}),findWordAt:function(t){var e=this.doc,n=T(e,t.line).text,i=t.ch,r=t.ch;if(n){var o=this.getHelper(t,"wordChars");"before"!=t.sticky&&r!=n.length||!i?++r:--i;for(var l=n.charAt(i),s=x(l,o)?function(t){return x(t,o)}:/\s/.test(l)?function(t){return/\s/.test(t)}:function(t){return!/\s/.test(t)&&!x(t)};i>0&&s(n.charAt(i-1));)--i;for(;r<n.length&&s(n.charAt(r));)++r}return new ds(P(t.line,i),P(t.line,r))},toggleOverwrite:function(t){null!=t&&t==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?s(this.display.cursorDiv,"CodeMirror-overwrite"):Ol(this.display.cursorDiv,"CodeMirror-overwrite"),Mt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==l()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:di(function(t,e){Kn(this,t,e)}),getScrollInfo:function(){var t=this.display.scroller;return{left:t.scrollLeft,top:t.scrollTop,height:t.scrollHeight-He(this)-this.display.barHeight,width:t.scrollWidth-He(this)-this.display.barWidth,clientHeight:Ue(this),clientWidth:Be(this)}},scrollIntoView:di(function(t,e){null==t?(t={from:this.doc.sel.primary().head,to:null},null==e&&(e=this.options.cursorScrollMargin)):"number"==typeof t?t={from:P(t,0),to:null}:null==t.from&&(t={from:t,to:null}),t.to||(t.to=t.from),t.margin=e||0,null!=t.from.line?Gn(this,t):Xn(this,t.from,t.to,t.margin)}),setSize:di(function(t,e){var n=this,i=function(t){return"number"==typeof t||/^\d+$/.test(String(t))?t+"px":t};null!=t&&(this.display.wrapper.style.width=i(t)),null!=e&&(this.display.wrapper.style.height=i(e)),this.options.lineWrapping&&rn(this);var r=this.display.viewFrom;this.doc.iter(r,this.display.viewTo,function(t){if(t.widgets)for(var e=0;e<t.widgets.length;e++)if(t.widgets[e].noHScroll){vi(n,r,"widget");break}++r}),this.curOp.forceUpdate=!0,Mt(this,"refresh",this)}),operation:function(t){return hi(this,t)},refresh:di(function(){var t=this.display.cachedTextHeight;mi(this),this.curOp.forceUpdate=!0,on(this),Kn(this,this.doc.scrollLeft,this.doc.scrollTop),Mi(this),(null==t||Math.abs(t-yn(this.display))>.5)&&Sn(this),Mt(this,"refresh",this)}),swapDoc:di(function(t){var e=this.doc;return e.cm=null,Xi(this,t),on(this),this.display.input.reset(),Kn(this,t.scrollLeft,t.scrollTop),this.curOp.forceScroll=!0,Se(this,"swapDoc",this,e),e}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Et(t),t.registerHelper=function(e,i,r){n.hasOwnProperty(e)||(n[e]=t[e]={_global:[]}),n[e][i]=r},t.registerGlobalHelper=function(e,i,r,o){t.registerHelper(e,i,o),n[e]._global.push({pred:r,val:o})}},Ws=function(t){this.cm=t,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new kl,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Ws.prototype.init=function(t){function e(t){if(!Rt(r,t)){if(r.somethingSelected())jo({lineWise:!1,text:r.getSelections()}),"cut"==t.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var e=Wo(r);jo({lineWise:!0,text:e.text}),"cut"==t.type&&r.operation(function(){r.setSelections(e.ranges,0,Rl),r.replaceSelection("",null,"cut")})}if(t.clipboardData){t.clipboardData.clearData();var n=Fs.text.join("\n");if(t.clipboardData.setData("Text",n),t.clipboardData.getData("Text")==n)return void t.preventDefault()}var l=Ho(),s=l.firstChild;r.display.lineSpace.insertBefore(l,r.display.lineSpace.firstChild),s.value=Fs.text.join("\n");var a=document.activeElement;_l(s),setTimeout(function(){r.display.lineSpace.removeChild(l),a.focus(),a==o&&i.showPrimarySelection()},50)}}var n=this,i=this,r=i.cm,o=i.div=t.lineDiv;zo(o,r.options.spellcheck),Hl(o,"paste",function(t){Rt(r,t)||Fo(t,r)||ll<=11&&setTimeout(pi(r,function(){return n.updateFromDOM()}),20)}),Hl(o,"compositionstart",function(t){n.composing={data:t.data,done:!1}}),Hl(o,"compositionupdate",function(t){n.composing||(n.composing={data:t.data,done:!1})}),Hl(o,"compositionend",function(t){n.composing&&(t.data!=n.composing.data&&n.readFromDOMSoon(),n.composing.done=!0)}),Hl(o,"touchstart",function(){return i.forceCompositionEnd()}),Hl(o,"input",function(){n.composing||n.readFromDOMSoon()}),Hl(o,"copy",e),Hl(o,"cut",e)},Ws.prototype.prepareSelection=function(){var t=Tn(this.cm,!1);return t.focus=this.cm.state.focused,t},Ws.prototype.showSelection=function(t,e){t&&this.cm.display.view.length&&((t.focus||e)&&this.showPrimarySelection(),this.showMultipleSelections(t))},Ws.prototype.showPrimarySelection=function(){var t=window.getSelection(),e=this.cm,n=e.doc.sel.primary(),i=n.from(),r=n.to();if(e.display.viewTo==e.display.viewFrom||i.line>=e.display.viewTo||r.line<e.display.viewFrom)return void t.removeAllRanges();var o=Xo(e,t.anchorNode,t.anchorOffset),l=Xo(e,t.focusNode,t.focusOffset);if(!o||o.bad||!l||l.bad||0!=j(W(o,l),i)||0!=j(V(o,l),r)){var s=e.display.view,a=i.line>=e.display.viewFrom&&qo(e,i)||{node:s[0].measure.map[2],offset:0},u=r.line<e.display.viewTo&&qo(e,r);if(!u){var c=s[s.length-1].measure,h=c.maps?c.maps[c.maps.length-1]:c.map;u={node:h[h.length-1],offset:h[h.length-2]-h[h.length-3]}}if(!a||!u)return void t.removeAllRanges();var p,d=t.rangeCount&&t.getRangeAt(0);try{p=xl(a.node,a.offset,u.offset,u.node)}catch(t){}p&&(!el&&e.state.focused?(t.collapse(a.node,a.offset),p.collapsed||(t.removeAllRanges(),t.addRange(p))):(t.removeAllRanges(),t.addRange(p)),d&&null==t.anchorNode?t.addRange(d):el&&this.startGracePeriod()),this.rememberSelection()}},Ws.prototype.startGracePeriod=function(){var t=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){t.gracePeriod=!1,t.selectionChanged()&&t.cm.operation(function(){return t.cm.curOp.selectionChanged=!0})},20)},Ws.prototype.showMultipleSelections=function(t){n(this.cm.display.cursorDiv,t.cursors),n(this.cm.display.selectionDiv,t.selection)},Ws.prototype.rememberSelection=function(){var t=window.getSelection();this.lastAnchorNode=t.anchorNode,this.lastAnchorOffset=t.anchorOffset,this.lastFocusNode=t.focusNode,this.lastFocusOffset=t.focusOffset},Ws.prototype.selectionInEditor=function(){var t=window.getSelection();if(!t.rangeCount)return!1;var e=t.getRangeAt(0).commonAncestorContainer;return o(this.div,e)},Ws.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ws.prototype.blur=function(){this.div.blur()},Ws.prototype.getField=function(){return this.div},Ws.prototype.supportsTouch=function(){return!0},Ws.prototype.receivedFocus=function(){function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}var e=this;this.selectionInEditor()?this.pollSelection():hi(this.cm,function(){return e.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,t)},Ws.prototype.selectionChanged=function(){var t=window.getSelection();return t.anchorNode!=this.lastAnchorNode||t.anchorOffset!=this.lastAnchorOffset||t.focusNode!=this.lastFocusNode||t.focusOffset!=this.lastFocusOffset},Ws.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var t=window.getSelection(),e=this.cm;if(ml&&ul&&this.cm.options.gutters.length&&Ko(t.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=Xo(e,t.anchorNode,t.anchorOffset),i=Xo(e,t.focusNode,t.focusOffset);n&&i&&hi(e,function(){yr(e.doc,Fi(n,i),Rl),(n.bad||i.bad)&&(e.curOp.selectionChanged=!0)})}}},Ws.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var t=this.cm,e=t.display,n=t.doc.sel.primary(),i=n.from(),r=n.to();if(0==i.ch&&i.line>t.firstLine()&&(i=P(i.line-1,T(t.doc,i.line-1).length)),r.ch==T(t.doc,r.line).text.length&&r.line<t.lastLine()&&(r=P(r.line+1,0)),i.line<e.viewFrom||r.line>e.viewTo-1)return!1;var o,l,s;i.line==e.viewFrom||0==(o=_n(t,i.line))?(l=R(e.view[0].line),s=e.view[0].node):(l=R(e.view[o].line),s=e.view[o-1].node.nextSibling);var a,u,c=_n(t,r.line);if(c==e.view.length-1?(a=e.viewTo-1,u=e.lineDiv.lastChild):(a=R(e.view[c+1].line)-1,u=e.view[c+1].node.previousSibling),!s)return!1;for(var h=t.doc.splitLines(Yo(t,s,u,l,a)),p=I(t.doc,P(l,0),P(a,T(t.doc,a).text.length));h.length>1&&p.length>1;)if(m(h)==m(p))h.pop(),p.pop(),a--;else{if(h[0]!=p[0])break;h.shift(),p.shift(),l++}for(var d=0,f=0,v=h[0],g=p[0],y=Math.min(v.length,g.length);d<y&&v.charCodeAt(d)==g.charCodeAt(d);)++d;for(var b=m(h),w=m(p),x=Math.min(b.length-(1==h.length?d:0),w.length-(1==p.length?d:0));f<x&&b.charCodeAt(b.length-f-1)==w.charCodeAt(w.length-f-1);)++f;if(1==h.length&&1==p.length&&l==i.line)for(;d&&d>i.ch&&b.charCodeAt(b.length-f-1)==w.charCodeAt(w.length-f-1);)d--,f++;h[h.length-1]=b.slice(0,b.length-f).replace(/^\u200b+/,""),h[0]=h[0].slice(d).replace(/\u200b+$/,"");var C=P(l,d),S=P(a,p.length?m(p).length-f:0);return h.length>1||h[0]||j(C,S)?(Er(t.doc,h,C,S,"+input"),!0):void 0},Ws.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ws.prototype.reset=function(){this.forceCompositionEnd()},Ws.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ws.prototype.readFromDOMSoon=function(){var t=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(t.readDOMTimeout=null,t.composing){if(!t.composing.done)return;t.composing=null}t.updateFromDOM()},80))},Ws.prototype.updateFromDOM=function(){var t=this;!this.cm.isReadOnly()&&this.pollContent()||hi(this.cm,function(){return mi(t.cm)})},Ws.prototype.setUneditable=function(t){t.contentEditable="false"},Ws.prototype.onKeyPress=function(t){0!=t.charCode&&(t.preventDefault(),this.cm.isReadOnly()||pi(this.cm,Lo)(this.cm,String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),0))},Ws.prototype.readOnlyChanged=function(t){this.div.contentEditable=String("nocursor"!=t)},Ws.prototype.onContextMenu=function(){},Ws.prototype.resetPosition=function(){},Ws.prototype.needsContentAttribute=!0;var zs=function(t){this.cm=t,this.prevInput="",this.pollingFast=!1,this.polling=new kl,this.inaccurateSelection=!1,this.hasSelection=!1,this.composing=null};zs.prototype.init=function(t){function e(t){if(!Rt(r,t)){if(r.somethingSelected())jo({lineWise:!1,text:r.getSelections()}),i.inaccurateSelection&&(i.prevInput="",i.inaccurateSelection=!1,l.value=Fs.text.join("\n"),_l(l));else{if(!r.options.lineWiseCopyCut)return;var e=Wo(r);jo({lineWise:!0,text:e.text}),"cut"==t.type?r.setSelections(e.ranges,null,Rl):(i.prevInput="",l.value=e.text.join("\n"),_l(l))}"cut"==t.type&&(r.state.cutIncoming=!0)}}var n=this,i=this,r=this.cm,o=this.wrapper=Ho(),l=this.textarea=o.firstChild;t.wrapper.insertBefore(o,t.wrapper.firstChild),fl&&(l.style.width="0px"),Hl(l,"input",function(){ol&&ll>=9&&n.hasSelection&&(n.hasSelection=null),i.poll()}),Hl(l,"paste",function(t){Rt(r,t)||Fo(t,r)||(r.state.pasteIncoming=!0,i.fastPoll())}),Hl(l,"cut",e),Hl(l,"copy",e),Hl(t.scroller,"paste",function(e){Fe(t,e)||Rt(r,e)||(r.state.pasteIncoming=!0,i.focus())}),Hl(t.lineSpace,"selectstart",function(e){Fe(t,e)||Pt(e)}),Hl(l,"compositionstart",function(){var t=r.getCursor("from");i.composing&&i.composing.range.clear(),i.composing={start:t,range:r.markText(t,r.getCursor("to"),{className:"CodeMirror-composing"})}}),Hl(l,"compositionend",function(){i.composing&&(i.poll(),i.composing.range.clear(),i.composing=null)})},zs.prototype.prepareSelection=function(){var t=this.cm,e=t.display,n=t.doc,i=Tn(t);if(t.options.moveInputWithCursor){var r=hn(t,n.sel.primary().head,"div"),o=e.wrapper.getBoundingClientRect(),l=e.lineDiv.getBoundingClientRect();i.teTop=Math.max(0,Math.min(e.wrapper.clientHeight-10,r.top+l.top-o.top)),i.teLeft=Math.max(0,Math.min(e.wrapper.clientWidth-10,r.left+l.left-o.left))}return i},zs.prototype.showSelection=function(t){var e=this.cm,i=e.display;n(i.cursorDiv,t.cursors),n(i.selectionDiv,t.selection),null!=t.teTop&&(this.wrapper.style.top=t.teTop+"px",this.wrapper.style.left=t.teLeft+"px")},zs.prototype.reset=function(t){if(!this.contextMenuPending&&!this.composing){var e,n,i=this.cm,r=i.doc;if(i.somethingSelected()){this.prevInput="";var o=r.sel.primary();e=Kl&&(o.to().line-o.from().line>100||(n=i.getSelection()).length>1e3);var l=e?"-":n||i.getSelection();this.textarea.value=l,i.state.focused&&_l(this.textarea),ol&&ll>=9&&(this.hasSelection=l)}else t||(this.prevInput=this.textarea.value="",ol&&ll>=9&&(this.hasSelection=null));this.inaccurateSelection=e}},zs.prototype.getField=function(){return this.textarea},zs.prototype.supportsTouch=function(){return!1},zs.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!vl||l()!=this.textarea))try{this.textarea.focus()}catch(t){}},zs.prototype.blur=function(){this.textarea.blur()},zs.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},zs.prototype.receivedFocus=function(){this.slowPoll()},zs.prototype.slowPoll=function(){var t=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){t.poll(),t.cm.state.focused&&t.slowPoll()})},zs.prototype.fastPoll=function(){function t(){n.poll()||e?(n.pollingFast=!1,n.slowPoll()):(e=!0,n.polling.set(60,t))}var e=!1,n=this;n.pollingFast=!0,n.polling.set(20,t)},zs.prototype.poll=function(){var t=this,e=this.cm,n=this.textarea,i=this.prevInput;if(this.contextMenuPending||!e.state.focused||ql(n)&&!i&&!this.composing||e.isReadOnly()||e.options.disableInput||e.state.keySeq)return!1;var r=n.value;if(r==i&&!e.somethingSelected())return!1;if(ol&&ll>=9&&this.hasSelection===r||gl&&/[\uf700-\uf7ff]/.test(r))return e.display.input.reset(),!1;if(e.doc.sel==e.display.selForContextMenu){var o=r.charCodeAt(0);if(8203!=o||i||(i="​"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var l=0,s=Math.min(i.length,r.length);l<s&&i.charCodeAt(l)==r.charCodeAt(l);)++l;return hi(e,function(){Lo(e,r.slice(l),i.length-l,null,t.composing?"*compose":null),r.length>1e3||r.indexOf("\n")>-1?n.value=t.prevInput="":t.prevInput=r,t.composing&&(t.composing.range.clear(),t.composing.range=e.markText(t.composing.start,e.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},zs.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},zs.prototype.onKeyPress=function(){ol&&ll>=9&&(this.hasSelection=null),this.fastPoll()},zs.prototype.onContextMenu=function(t){function e(){if(null!=l.selectionStart){var t=r.somethingSelected(),e="​"+(t?l.value:"");l.value="⇚",l.value=e,i.prevInput=t?"":"​",l.selectionStart=1,l.selectionEnd=e.length,o.selForContextMenu=r.doc.sel}}function n(){if(i.contextMenuPending=!1,i.wrapper.style.cssText=c,l.style.cssText=u,ol&&ll<9&&o.scrollbars.setScrollTop(o.scroller.scrollTop=a),null!=l.selectionStart){(!ol||ol&&ll<9)&&e();var t=0,n=function(){o.selForContextMenu==r.doc.sel&&0==l.selectionStart&&l.selectionEnd>0&&"​"==i.prevInput?pi(r,kr)(r):t++<10?o.detectingSelectAll=setTimeout(n,500):(o.selForContextMenu=null,o.input.reset())};o.detectingSelectAll=setTimeout(n,200)}}var i=this,r=i.cm,o=r.display,l=i.textarea,s=On(r,t),a=o.scroller.scrollTop;if(s&&!cl){r.options.resetSelectionOnContextMenu&&-1==r.doc.sel.contains(s)&&pi(r,yr)(r.doc,Fi(s),Rl);var u=l.style.cssText,c=i.wrapper.style.cssText;i.wrapper.style.cssText="position: absolute";var h=i.wrapper.getBoundingClientRect();l.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(t.clientY-h.top-5)+"px; left: "+(t.clientX-h.left-5)+"px;\n z-index: 1000; background: "+(ol?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var p;if(sl&&(p=window.scrollY),o.input.focus(),sl&&window.scrollTo(null,p),o.input.reset(),r.somethingSelected()||(l.value=i.prevInput=" "),i.contextMenuPending=!0,o.selForContextMenu=r.doc.sel,clearTimeout(o.detectingSelectAll),ol&&ll>=9&&e(),Sl){Ft(t);var d=function(){Dt(window,"mouseup",d),setTimeout(n,20)};Hl(window,"mouseup",d)}else setTimeout(n,50)}},zs.prototype.readOnlyChanged=function(t){t||this.reset()},zs.prototype.setUneditable=function(){},zs.prototype.needsContentAttribute=!1,Do(Ao),Vs(Ao);var Hs="iter insert remove copy getEditor constructor".split(" ");for(var Bs in xs.prototype)xs.prototype.hasOwnProperty(Bs)&&p(Hs,Bs)<0&&(Ao.prototype[Bs]=function(t){return function(){return t.apply(this.doc,arguments)}}(xs.prototype[Bs]));return Et(xs),Ao.inputStyles={textarea:zs,contenteditable:Ws},Ao.defineMode=function(t){Ao.defaults.mode||"null"==t||(Ao.defaults.mode=t),Ut.apply(this,arguments)},Ao.defineMIME=qt,Ao.defineMode("null",function(){return{token:function(t){return t.skipToEnd()}}}),Ao.defineMIME("text/plain","null"),Ao.defineExtension=function(t,e){Ao.prototype[t]=e},Ao.defineDocExtension=function(t,e){xs.prototype[t]=e},Ao.fromTextArea=$o,Zo(Ao),Ao.version="5.26.0",Ao})},"8Z8y":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=function(t){function e(){var e=t.call(this,"argument out of range");this.name=e.name="ArgumentOutOfRangeError",this.stack=e.stack,this.message=e.message}return i(e,t),e}(Error);e.ArgumentOutOfRangeError=r},"8hgl":function(t,e,n){"use strict";function i(t,e){return this.lift(new a(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),l=n("+3eL"),s=n("WhVc");e.distinctUntilChanged=i;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,n,i){t.call(this,e),this.keySelector=i,this.hasKey=!1,"function"==typeof n&&(this.compare=n)}return r(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e=this.keySelector,n=t;if(e&&(n=l.tryCatch(this.keySelector)(t))===s.errorObject)return this.destination.error(s.errorObject.e);var i=!1;if(this.hasKey){if((i=l.tryCatch(this.compare)(this.key,n))===s.errorObject)return this.destination.error(s.errorObject.e)}else this.hasKey=!0;!1===Boolean(i)&&(this.key=n,this.destination.next(t))},e}(o.Subscriber)},"8szd":function(t,e,n){"use strict";var i=n("rCTf"),r=n("RyDc");i.Observable.prototype.skipUntil=r.skipUntil},"94IA":function(t,e,n){"use strict";var i=n("rCTf"),r=n("aec7");i.Observable.prototype.delay=r.delay},"9Avi":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("cPwE"),o=function(t){function e(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return i(e,t),e.prototype.flush=function(t){var e=this.actions;if(this.active)return void e.push(t);var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}},e}(r.Scheduler);e.AsyncScheduler=o},"9JPB":function(t,e,n){"use strict";var i=n("VOfZ"),r=n("2ER/");e.Map=i.root.Map||function(){return r.MapPolyfill}()},"9PGs":function(t,e,n){"use strict";function i(){return this.lift(new l)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.toArray=i;var l=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new s(t))},t}(),s=function(t){function e(e){t.call(this,e),this.array=[]}return r(e,t),e.prototype._next=function(t){this.array.push(t)},e.prototype._complete=function(){this.destination.next(this.array),this.destination.complete()},e}(o.Subscriber)},"9TuE":function(t,e,n){"use strict";function i(){return this.lift(new l)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.isEmpty=i;var l=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new s(t))},t}(),s=function(t){function e(e){t.call(this,e)}return r(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(o.Subscriber)},"9WjZ":function(t,e,n){"use strict";var i=n("rCTf"),r=n("+vPe");i.Observable.never=r.never},"9XFw":function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){}return t}();r.decorators=[{type:i.Component,args:[{selector:"ngb-modal-backdrop",template:"",host:{class:"modal-backdrop fade show"}}]}],r.ctorParameters=function(){return[]}},"9ax6":function(t,e,n){"use strict";var i=n("Nr0j");n.n(i);n.d(e,"a",function(){return o});var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=function(t){function e(e){return t.call(this,e)||this}return r(e,t),e.prototype.confirm=function(){this.result=!0,this.close()},e.ctorParameters=function(){return[{type:i.DialogService}]},e}(i.DialogComponent)},"9oY/":function(t,e,n){"use strict";var i=n("L2Hk");e.fromEventPattern=i.FromEventPatternObservable.create},"9oiU":function(t,e,n){"use strict";function i(t){return this.lift(new l(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.mapTo=i;var l=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.value))},t}(),s=function(t){function e(e,n){t.call(this,e),this.value=n}return r(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(o.Subscriber)},"9qUs":function(t,e,n){"use strict";var i=n("rCTf"),r=n("M5jZ");i.Observable.prototype.skip=r.skip},A7JX:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null;return"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&l.isArray(t[0])&&(t=t[0].slice()),t.unshift(this),this.lift.call(new o.ArrayObservable(t),new c(n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("Yh8Q"),l=n("Xajo"),s=n("wAkD"),a=n("CURp"),u={};e.combineLatest=i;var c=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.project))},t}();e.CombineLatestOperator=c;var h=function(t){function e(e,n){t.call(this,e),this.project=n,this.active=0,this.values=[],this.observables=[]}return r(e,t),e.prototype._next=function(t){this.values.push(u),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var i=t[n];this.add(a.subscribeToResult(this,i,i,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,i,r){var o=this.values,l=o[n],s=this.toRespond?l===u?--this.toRespond:this.toRespond:0;o[n]=e,0===s&&(this.project?this._tryProject(o):this.destination.next(o.slice()))},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}(s.OuterSubscriber);e.CombineLatestSubscriber=h},A8b0:function(t,e,n){"use strict";var i=n("3j3K"),r=n("2Je8"),o=n("aKiW"),l=n("qQ/N");n.d(e,"a",function(){return s});var s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}();s.decorators=[{type:i.NgModule,args:[{declarations:[l.a],exports:[l.a],imports:[r.CommonModule]}]}],s.ctorParameters=function(){return[]}},AGQa:function(t,e,n){"use strict";var i=n("rCTf"),r=n("vvwv");i.Observable.empty=r.empty},AQOC:function(t,e,n){"use strict";function i(t,e){return r.distinctUntilChanged.call(this,function(n,i){return e?e(n[t],i[t]):n[t]===i[t]})}var r=n("8hgl");e.distinctUntilKeyChanged=i},ASN6:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 1===t.length&&s.isArray(t[0])&&(t=t[0]),this.lift(new c(t))}function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null;return 1===t.length&&s.isArray(t[0])&&(t=t[0]),n=t.shift(),new l.FromObservable(n,null).lift(new c(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=n("JkZN"),s=n("Xajo"),a=n("wAkD"),u=n("CURp");e.onErrorResumeNext=i,e.onErrorResumeNextStatic=r;var c=function(){function t(t){this.nextSources=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.nextSources))},t}(),h=function(t){function e(e,n){t.call(this,e),this.destination=e,this.nextSources=n}return o(e,t),e.prototype.notifyError=function(t,e){this.subscribeToNextSource()},e.prototype.notifyComplete=function(t){this.subscribeToNextSource()},e.prototype._error=function(t){this.subscribeToNextSource()},e.prototype._complete=function(){this.subscribeToNextSource()},e.prototype.subscribeToNextSource=function(){var t=this.nextSources.shift();t?this.add(u.subscribeToResult(this,t)):this.destination.complete()},e}(a.OuterSubscriber)},AUek:function(t,e,n){"use strict";var i=n("Nr0j");n.n(i);n.d(e,"a",function(){return o});var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=function(t){function e(e){return t.call(this,e)||this}return r(e,t),e.prototype.move=function(){var t=this,e=this;void 0!==this.nombre&&""!==this.nombre&&(this.parent.archivoSeleccionado.padreId=this.directorioActual.id,this.parent.archivoSeleccionado.directorio&&delete this.parent.archivoSeleccionado.archivos,this.parent.haskellService.editarArchivo(this.parent.archivoSeleccionado.id,this.parent.archivoSeleccionado).subscribe(function(n){e.parent.recargarArchivos(t.directorioActual.id),e.parent.archivoSeleccionado=null},function(e){t.parent.notifService.error(e)})),this.close()},e.prototype.navToDir=function(t){t.directorio&&(this.directorioActual=t)},e.prototype.navBack=function(){var t=this.directorioActual.padreId,e=this.parent.sessionService.getArchivosList(),n=e.filter(function(e){return e.id===t})[0];this.directorioActual=n},e.ctorParameters=function(){return[{type:i.DialogService}]},e}(i.DialogComponent)},AXLD:function(t,e,n){"use strict";function i(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,3,"option",[],null,null,null,null,null)),s["ɵdid"](147456,null,0,a.NgSelectOption,[s.ElementRef,s.Renderer,[8,null]],{value:[0,"value"]},null),s["ɵdid"](147456,null,0,a["ɵq"],[s.ElementRef,s.Renderer,[8,null]],{value:[0,"value"]},null),(t()(),s["ɵted"](null,["",""]))],function(t,e){t(e,1,0,e.context.$implicit),t(e,2,0,e.context.$implicit)},function(t,e){t(e,3,0,e.component.i18n.getMonthShortName(e.context.$implicit))})}function r(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,3,"option",[],null,null,null,null,null)),s["ɵdid"](147456,null,0,a.NgSelectOption,[s.ElementRef,s.Renderer,[8,null]],{value:[0,"value"]},null),s["ɵdid"](147456,null,0,a["ɵq"],[s.ElementRef,s.Renderer,[8,null]],{value:[0,"value"]},null),(t()(),s["ɵted"](null,["",""]))],function(t,e){t(e,1,0,e.context.$implicit),t(e,2,0,e.context.$implicit)},function(t,e){t(e,3,0,e.context.$implicit)})}function o(t){return s["ɵvid"](0,[(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,4,"select",[["class","custom-select d-inline-block"]],[[8,"disabled",0],[8,"value",0]],[[null,"change"]],function(t,e,n){var i=!0,r=t.component;if("change"===e){i=!1!==r.changeMonth(n.target.value)&&i}return i},null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵand"](16777216,null,null,1,null,i)),s["ɵdid"](802816,null,0,c.NgForOf,[s.ViewContainerRef,s.TemplateRef,s.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,4,"select",[["class","custom-select d-inline-block"]],[[8,"disabled",0],[8,"value",0]],[[null,"change"]],function(t,e,n){var i=!0,r=t.component;if("change"===e){i=!1!==r.changeYear(n.target.value)&&i}return i},null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵand"](16777216,null,null,1,null,r)),s["ɵdid"](802816,null,0,c.NgForOf,[s.ViewContainerRef,s.TemplateRef,s.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵted"](null,[" \n "]))],function(t,e){var n=e.component;t(e,4,0,n.months),t(e,9,0,n.years)},function(t,e){var n=e.component;t(e,1,0,n.disabled,null==n.date?null:n.date.month),t(e,6,0,n.disabled,null==n.date?null:n.date.year)})}function l(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,1,"ngb-datepicker-navigation-select",[],null,null,null,h.a,h.b)),s["ɵdid"](573440,null,0,u.a,[p.a,d.a],null,null)],null,null)}var s=n("3j3K"),a=n("NVOs"),u=n("qBUJ"),c=n("2Je8"),h=n("AXLD"),p=n("gEbu"),d=n("lcaH");n.d(e,"b",function(){return m}),e.a=o;var f=["select[_ngcontent-%COMP%] {\n \n padding: 0.25rem 0.5rem;\n font-size: 0.875rem; \n line-height: 1.25;\n \n height: inherit;\n width: 50%;\n }"],m=s["ɵcrt"]({encapsulation:0,styles:f,data:{}});s["ɵccf"]("ngb-datepicker-navigation-select",u.a,l,{date:"date",disabled:"disabled",maxDate:"maxDate",minDate:"minDate"},{select:"select"},[])},AZSN:function(t,e,n){"use strict";function i(t){return this.lift(new s(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),l=n("CURp");e.buffer=i;var s=function(){function t(t){this.closingNotifier=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.closingNotifier))},t}(),a=function(t){function e(e,n){t.call(this,e),this.buffer=[],this.add(l.subscribeToResult(this,n))}return r(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype.notifyNext=function(t,e,n,i,r){var o=this.buffer;this.buffer=[],this.destination.next(o)},e}(o.OuterSubscriber)},B2te:function(t,e,n){"use strict";var i=n("rCTf"),r=n("0VSF");i.Observable.prototype.sample=r.sample},BnNN:function(t,e,n){"use strict";var i=this&&this.__decorate||function(t,e,n,i){var r,o=arguments.length,l=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(l=(o<3?r(l):o>3?r(e,n,l):r(e,n))||l);return o>3&&l&&Object.defineProperty(e,n,l),l},r=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var o=n("3j3K"),l=n("7064"),s=function(){function t(t){this.resolver=t,this.dialogs=[]}return t.prototype.addDialog=function(t,e,n){var i=this;n=n||{};var r=this.resolver.resolveComponentFactory(l.DialogWrapperComponent),o=this.element.createComponent(r,n.index),s=o.instance,a=s.addComponent(t);return void 0!==n.index?this.dialogs.splice(n.index,0,a):this.dialogs.push(a),setTimeout(function(){s.container.nativeElement.classList.add("show"),s.container.nativeElement.classList.add("in")}),n.autoCloseTimeout&&setTimeout(function(){i.removeDialog(a)},n.autoCloseTimeout),n.closeByClickingOutside&&s.closeByClickOutside(),n.backdropColor&&(s.container.nativeElement.style.backgroundColor=n.backdropColor),a.fillData(e)},t.prototype.removeDialog=function(t){var e=this,n=t.wrapper.container.nativeElement;n.classList.remove("show"),n.classList.remove("in"),setTimeout(function(){e._removeElement(t)},300)},t.prototype._removeElement=function(t){var e=this.dialogs.indexOf(t);e>-1&&(this.element.remove(e),this.dialogs.splice(e,1))},t.prototype.clear=function(){this.element.clear(),this.dialogs=[]},t}();i([o.ViewChild("element",{read:o.ViewContainerRef}),r("design:type",o.ViewContainerRef)],s.prototype,"element",void 0),s=i([o.Component({selector:"dialog-holder",template:"<template #element></template>"}),r("design:paramtypes",[o.ComponentFactoryResolver])],s),e.DialogHolderComponent=s},"C0+T":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("9Avi"),o=function(t){function e(){t.apply(this,arguments)}return i(e,t),e}(r.AsyncScheduler);e.QueueScheduler=o},C4lF:function(t,e,n){"use strict";function i(){return this.lift(new s)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),l=n("YOd+");e.ignoreElements=i;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype._next=function(t){l.noop()},e}(o.Subscriber)},CGGv:function(t,e,n){"use strict";var i=n("cwzr"),r=n("9Avi");e.async=new r.AsyncScheduler(i.AsyncAction)},CMrU:function(t,e,n){"use strict";var i=n("rCTf"),r=n("CfHE");i.Observable.prototype.concatAll=r.concatAll},CO0D:function(t,e,n){"use strict";var i=n("lcaH"),r=n("3j3K"),o=n("2yGx");n.d(e,"a",function(){return s});var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.getDaysPerWeek=function(){return 7},e.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},e.prototype.getWeeksPerMonth=function(){return 6},e.prototype.isValid=function(t){return t&&n.i(o.a)(t.year)&&n.i(o.a)(t.month)&&n.i(o.a)(t.day)&&!isNaN(this.toGregorian(t).getTime())},e.prototype.setDay=function(t,e){e=+e;var n=this.getDaysInIslamicMonth(t.month,t.year);if(e<=0)for(;e<=0;)t=this.setMonth(t,t.month-1),n=this.getDaysInIslamicMonth(t.month,t.year),e+=n;else if(e>n)for(;e>n;)e-=n,t=this.setMonth(t,t.month+1),n=this.getDaysInIslamicMonth(t.month,t.year);return t.day=e,t},e.prototype.setMonth=function(t,e){return e=+e,t.year=t.year+Math.floor((e-1)/12),t.month=Math.floor(((e-1)%12+12)%12)+1,t},e.prototype.setYear=function(t,e){return t.year=+e,t},e.prototype._isIslamicLeapYear=function(t){return(14+11*t)%30<11},e.prototype._getMonthStart=function(t,e){return Math.ceil(29.5*e)+354*(t-1)+Math.floor((3+11*t)/30)},e.prototype._getYearStart=function(t){return 354*(t-1)+Math.floor((3+11*t)/30)},e}(i.a);s.decorators=[{type:r.Injectable}],s.ctorParameters=function(){return[]}},CToi:function(t,e,n){"use strict";var i=n("rCTf"),r=n("ZvZx");i.Observable.prototype.max=r.max},CXHW:function(t,e,n){"use strict";var i=n("3j3K"),r=n("/PMa"),o=n("2yGx"),l=n("9XFw"),s=n("xOmt"),a=n("WtdY");n.d(e,"a",function(){return u});var u=function(){function t(t,e,n){this._applicationRef=t,this._injector=e,this._componentFactoryResolver=n,this._backdropFactory=n.resolveComponentFactory(l.a),this._windowFactory=n.resolveComponentFactory(s.a)}return t.prototype.open=function(t,e,n,i){var r=i.container||"body",o=document.querySelector(r);if(!o)throw new Error('The specified modal container "'+r+'" was not found in the DOM.');var l,s,u,c=new a.a,h=this._getContentRef(t,e,n,c);return!1!==i.backdrop&&(s=this._backdropFactory.create(this._injector),this._applicationRef.attachView(s.hostView),o.appendChild(s.location.nativeElement)),l=this._windowFactory.create(this._injector,h.nodes),this._applicationRef.attachView(l.hostView),o.appendChild(l.location.nativeElement),u=new a.b(l,h,s),c.close=function(t){u.close(t)},c.dismiss=function(t){u.dismiss(t)},this._applyWindowOptions(l.instance,i),u},t.prototype._applyWindowOptions=function(t,e){["backdrop","keyboard","size","windowClass"].forEach(function(i){n.i(o.h)(e[i])&&(t[i]=e[i])})},t.prototype._getContentRef=function(t,e,l,s){if(l){if(l instanceof i.TemplateRef){var u=l.createEmbeddedView(s);return this._applicationRef.attachView(u),new r.b([u.rootNodes],u)}if(n.i(o.f)(l))return new r.b([[document.createTextNode(""+l)]]);var c=t.resolveComponentFactory(l),h=i.ReflectiveInjector.resolveAndCreate([{provide:a.a,useValue:s}],e),p=c.create(h);return this._applicationRef.attachView(p.hostView),new r.b([[p.location.nativeElement]],p.hostView,p)}return new r.b([])},t}();u.decorators=[{type:i.Injectable}],u.ctorParameters=function(){return[{type:i.ApplicationRef},{type:i.Injector},{type:i.ComponentFactoryResolver}]}},CYDS:function(t,e,n){"use strict";var i=n("rCTf"),r=n("/TOt");i.Observable.prototype.auditTime=r.auditTime},Cr1h:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rCTf"),o=n("B00U"),l=n("y9a2"),s=n("g28B"),a=function(t){function e(e,n){t.call(this,function(t){var e=this,n=e.logSubscribedFrame();return t.add(new o.Subscription(function(){e.logUnsubscribedFrame(n)})),e.scheduleMessages(t),t}),this.messages=e,this.subscriptions=[],this.scheduler=n}return i(e,t),e.prototype.scheduleMessages=function(t){for(var e=this.messages.length,n=0;n<e;n++){var i=this.messages[n];t.add(this.scheduler.schedule(function(t){var e=t.message,n=t.subscriber;e.notification.observe(n)},i.frame,{message:i,subscriber:t}))}},e}(r.Observable);e.ColdObservable=a,s.applyMixins(a,[l.SubscriptionLoggable])},Cx8F:function(t,e,n){"use strict";function i(t){return this.lift(new c(t,this))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),l=n("+3eL"),s=n("WhVc"),a=n("wAkD"),u=n("CURp");e.retryWhen=i;var c=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.notifier,this.source))},t}(),h=function(t){function e(e,n,i){t.call(this,e),this.notifier=n,this.source=i}return r(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,i=this.retries,r=this.retriesSubscription;if(i)this.errors=null,this.retriesSubscription=null;else{if(n=new o.Subject,(i=l.tryCatch(this.notifier)(n))===s.errorObject)return t.prototype.error.call(this,s.errorObject.e);r=u.subscribeToResult(this,i)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=i,this.retriesSubscription=r,n.next(e)}},e.prototype._unsubscribe=function(){var t=this,e=t.errors,n=t.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,n,i,r){var o=this,l=o.errors,s=o.retries,a=o.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=l,this.retries=s,this.retriesSubscription=a,this.source.subscribe(this)},e}(a.OuterSubscriber)},DB2G:function(t,e,n){"use strict";function i(t){var e=arguments.length,n=a.async;c.isScheduler(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var i=null;e>=2&&(i=arguments[1]);var r=Number.POSITIVE_INFINITY;return e>=3&&(r=arguments[2]),this.lift(new h(t,i,r,n))}function r(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function o(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,i=t.subscriber,r=t.scheduler,o=i.openContext(),s=this;i.closed||(i.add(o.closeAction=r.schedule(l,n,{subscriber:i,context:o})),s.schedule(t,e))}function l(t){var e=t.subscriber,n=t.context;e.closeContext(n)}var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=n("CGGv"),u=n("mmVS"),c=n("fWbP");e.bufferTime=i;var h=function(){function t(t,e,n,i){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=i}return t.prototype.call=function(t,e){return e.subscribe(new d(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),p=function(){function t(){this.buffer=[]}return t}(),d=function(t){function e(e,n,i,s,a){t.call(this,e),this.bufferTimeSpan=n,this.bufferCreationInterval=i,this.maxBufferSize=s,this.scheduler=a,this.contexts=[];var u=this.openContext();if(this.timespanOnly=null==i||i<0,this.timespanOnly){var c={subscriber:this,context:u,bufferTimeSpan:n};this.add(u.closeAction=a.schedule(r,n,c))}else{var h={subscriber:this,context:u},p={bufferTimeSpan:n,bufferCreationInterval:i,subscriber:this,scheduler:a};this.add(u.closeAction=a.schedule(l,n,h)),this.add(a.schedule(o,i,p))}}return s(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,i=n.length,r=0;r<i;r++){var o=n[r],l=o.buffer;l.push(t),l.length==this.maxBufferSize&&(e=o)}e&&this.onBufferFull(e)},e.prototype._error=function(e){this.contexts.length=0,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this,n=e.contexts,i=e.destination;n.length>0;){var r=n.shift();i.next(r.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan,i={subscriber:this,context:t,bufferTimeSpan:n};this.add(t.closeAction=this.scheduler.schedule(r,n,i))}},e.prototype.openContext=function(){var t=new p;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(u.Subscriber)},DDfv:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.interval=5e3,this.wrap=!0,this.keyboard=!0}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},Dc2k:function(t,e,n){"use strict";function i(){if(p.root.XMLHttpRequest)return new p.root.XMLHttpRequest;if(p.root.XDomainRequest)return new p.root.XDomainRequest;throw new Error("CORS is not supported by your browser")}function r(){if(p.root.XMLHttpRequest)return new p.root.XMLHttpRequest;var t=void 0;try{for(var e=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],n=0;n<3;n++)try{if(t=e[n],new p.root.ActiveXObject(t))break}catch(t){}return new p.root.ActiveXObject(t)}catch(t){throw new Error("XMLHttpRequest is not supported by your browser")}}function o(t,e){return void 0===e&&(e=null),new y({method:"GET",url:t,headers:e})}function l(t,e,n){return new y({method:"POST",url:t,body:e,headers:n})}function s(t,e){return new y({method:"DELETE",url:t,headers:e})}function a(t,e,n){return new y({method:"PUT",url:t,body:e,headers:n})}function u(t,e,n){return new y({method:"PATCH",url:t,body:e,headers:n})}function c(t,e){return new y({method:"GET",url:t,responseType:"json",headers:e}).lift(new g.MapOperator(function(t,e){return t.response},null))}var h=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},p=n("VOfZ"),d=n("+3eL"),f=n("WhVc"),m=n("rCTf"),v=n("mmVS"),g=n("xAJs");e.ajaxGet=o,e.ajaxPost=l,e.ajaxDelete=s,e.ajaxPut=a,e.ajaxPatch=u,e.ajaxGetJSON=c;var y=function(t){function e(e){t.call(this);var n={async:!0,createXHR:function(){return this.crossDomain?i.call(this):r()},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof e)n.url=e;else for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);this.request=n}return h(e,t),e.prototype._subscribe=function(t){return new b(t,this.request)},e.create=function(){var t=function(t){return new e(t)};return t.get=o,t.post=l,t.delete=s,t.put=a,t.patch=u,t.getJSON=c,t}(),e}(m.Observable);e.AjaxObservable=y;var b=function(t){function e(e,n){t.call(this,e),this.request=n,this.done=!1;var i=n.headers=n.headers||{};n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in i||p.root.FormData&&n.body instanceof p.root.FormData||void 0===n.body||(i["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),n.body=this.serializeBody(n.body,n.headers["Content-Type"]),this.send()}return h(e,t),e.prototype.next=function(t){this.done=!0;var e=this,n=e.xhr,i=e.request,r=e.destination,o=new w(t,n,i);r.next(o)},e.prototype.send=function(){var t=this,e=t.request,n=t.request,i=n.user,r=n.method,o=n.url,l=n.async,s=n.password,a=n.headers,u=n.body,c=e.createXHR,h=d.tryCatch(c).call(e);if(h===f.errorObject)this.error(f.errorObject.e);else{this.xhr=h,this.setupEvents(h,e);if((i?d.tryCatch(h.open).call(h,r,o,l,i,s):d.tryCatch(h.open).call(h,r,o,l))===f.errorObject)return this.error(f.errorObject.e),null;if(l&&(h.timeout=e.timeout,h.responseType=e.responseType),"withCredentials"in h&&(h.withCredentials=!!e.withCredentials),this.setHeaders(h,a),(u?d.tryCatch(h.send).call(h,u):d.tryCatch(h.send).call(h))===f.errorObject)return this.error(f.errorObject.e),null}return h},e.prototype.serializeBody=function(t,e){if(!t||"string"==typeof t)return t;if(p.root.FormData&&t instanceof p.root.FormData)return t;if(e){var n=e.indexOf(";");-1!==n&&(e=e.substring(0,n))}switch(e){case"application/x-www-form-urlencoded":return Object.keys(t).map(function(e){return encodeURI(e)+"="+encodeURI(t[e])}).join("&");case"application/json":return JSON.stringify(t);default:return t}},e.prototype.setHeaders=function(t,e){for(var n in e)e.hasOwnProperty(n)&&t.setRequestHeader(n,e[n])},e.prototype.setupEvents=function(t,e){function n(t){var e=n,i=e.subscriber,r=e.progressSubscriber,o=e.request;r&&r.error(t),i.error(new C(this,o))}function i(t){var e=i,n=e.subscriber,r=e.progressSubscriber,o=e.request;if(4===this.readyState){var l=1223===this.status?204:this.status,s="text"===this.responseType?this.response||this.responseText:this.response;0===l&&(l=s?200:0),200<=l&&l<300?(r&&r.complete(),n.next(t),n.complete()):(r&&r.error(t),n.error(new x("ajax error "+l,this,o)))}}var r=e.progressSubscriber;if(t.ontimeout=n,n.request=e,n.subscriber=this,n.progressSubscriber=r,t.upload&&"withCredentials"in t){if(r){var o;o=function(t){o.progressSubscriber.next(t)},p.root.XDomainRequest?t.onprogress=o:t.upload.onprogress=o,o.progressSubscriber=r}var l;l=function(t){var e=l,n=e.progressSubscriber,i=e.subscriber,r=e.request;n&&n.error(t),i.error(new x("ajax error",this,r))},t.onerror=l,l.request=e,l.subscriber=this,l.progressSubscriber=r}t.onreadystatechange=i,i.subscriber=this,i.progressSubscriber=r,i.request=e},e.prototype.unsubscribe=function(){var e=this,n=e.done,i=e.xhr;!n&&i&&4!==i.readyState&&"function"==typeof i.abort&&i.abort(),t.prototype.unsubscribe.call(this)},e}(v.Subscriber);e.AjaxSubscriber=b;var w=function(){function t(t,e,n){switch(this.originalEvent=t,this.xhr=e,this.request=n,this.status=e.status,this.responseType=e.responseType||n.responseType,this.responseType){case"json":this.response="response"in e?e.responseType?e.response:JSON.parse(e.response||e.responseText||"null"):JSON.parse(e.responseText||"null");break;case"xml":this.response=e.responseXML;break;case"text":default:this.response="response"in e?e.response:e.responseText}}return t}();e.AjaxResponse=w;var x=function(t){function e(e,n,i){t.call(this,e),this.message=e,this.xhr=n,this.request=i,this.status=n.status}return h(e,t),e}(Error);e.AjaxError=x;var C=function(t){function e(e,n){t.call(this,"ajax timeout",e,n)}return h(e,t),e}(x);e.AjaxTimeoutError=C},Di9Q:function(t,e,n){"use strict";var i=n("rCTf"),r=n("DB2G");i.Observable.prototype.bufferTime=r.bufferTime},Dkzu:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rCTf"),o=function(t){function e(e,n){t.call(this),this.error=e,this.scheduler=n}return i(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.error;t.subscriber.error(e)},e.prototype._subscribe=function(t){var n=this.error,i=this.scheduler;if(t.syncErrorThrowable=!0,i)return i.schedule(e.dispatch,0,{error:n,subscriber:t});t.error(n)},e}(r.Observable);e.ErrorObservable=o},DzMp:function(t,e,n){"use strict";var i=n("+EXD");e.defer=i.DeferObservable.create},"E/WS":function(t,e,n){"use strict";function i(t,e){void 0===e&&(e=o.async);var n=l.isDate(t),i=n?+t-e.now():Math.abs(t);return this.lift(new u(i,n,e,new a.TimeoutError))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("CGGv"),l=n("fuZx"),s=n("mmVS"),a=n("cmqr");e.timeout=i;var u=function(){function t(t,e,n,i){this.waitFor=t,this.absoluteTimeout=e,this.scheduler=n,this.errorInstance=i}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.absoluteTimeout,this.waitFor,this.scheduler,this.errorInstance))},t}(),c=function(t){function e(e,n,i,r,o){t.call(this,e),this.absoluteTimeout=n,this.waitFor=i,this.scheduler=r,this.errorInstance=o,this.action=null,this.scheduleTimeout()}return r(e,t),e.dispatchTimeout=function(t){t.error(t.errorInstance)},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.errorInstance=null},e}(s.Subscriber)},E7Yq:function(t,e,n){"use strict";var i=n("rCTf"),r=n("TIy+");i.Observable.fromEvent=r.fromEvent},EGMK:function(t,e,n){"use strict";var i=n("rCTf"),r=n("kkb0");i.Observable.prototype.merge=r.merge},ENML:function(t,e,n){"use strict";var i=n("rCTf"),r=n("/8te");i.Observable.range=r.range},ETCP:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.placement="top",this.triggers="click"}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},EnA3:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Rewd");i.Observable.prototype.do=r._do,i.Observable.prototype._do=r._do},EoAl:function(t,e,n){"use strict";var i=n("rCTf"),r=n("KuCq");i.Observable.prototype.takeWhile=r.takeWhile},Ep2y:function(t,e,n){"use strict";var i=n("3j3K"),r=n("2Je8"),o=n("/i+G"),l=n("K0TW");n.d(e,"a",function(){return s});var s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[l.a]}},t}();s.decorators=[{type:i.NgModule,args:[{declarations:[o.a],exports:[o.a],imports:[r.CommonModule]}]}],s.ctorParameters=function(){return[]}},Ev5Y:function(t,e,n){!function(t){t(n("8U58"))}(function(t){"use strict";var e=/[\w$]+/,n=500;t.registerHelper("hint","anyword",function(i,r){for(var o=r&&r.word||e,l=r&&r.range||n,s=i.getCursor(),a=i.getLine(s.line),u=s.ch,c=u;c&&o.test(a.charAt(c-1));)--c;for(var h=c!=u&&a.slice(c,u),p=r&&r.list||[],d={},f=new RegExp(o.source,"g"),m=-1;m<=1;m+=2)for(var v=s.line,g=Math.min(Math.max(v+m*l,i.firstLine()),i.lastLine())+m;v!=g;v+=m)for(var y,b=i.getLine(v);y=f.exec(b);)v==s.line&&y[0]===h||h&&0!=y[0].lastIndexOf(h,0)||Object.prototype.hasOwnProperty.call(d,y[0])||(d[y[0]]=!0,p.push(y[0]));return{list:p,from:t.Pos(s.line,c),to:t.Pos(s.line,u)}})})},EzwU:function(t,e,n){"use strict";var i=n("3j3K"),r=n("2yGx");n.d(e,"a",function(){return o});var o=function(){function t(){this.highlightClass="ngb-highlight"}return t.prototype.ngOnChanges=function(t){var e=n.i(r.d)(this.result),i=e.toLowerCase(),o=n.i(r.d)(this.term).toLowerCase(),l=0;o.length>0?this.parts=i.split(new RegExp("("+n.i(r.g)(o)+")")).map(function(t){var n=e.substr(l,t.length);return l+=t.length,n}):this.parts=[e]},t}();o.decorators=[{type:i.Component,args:[{selector:"ngb-highlight",changeDetection:i.ChangeDetectionStrategy.OnPush,template:'<ng-template ngFor [ngForOf]="parts" let-part let-isOdd="odd"><span *ngIf="isOdd" class="{{highlightClass}}">{{part}}</span><ng-template [ngIf]="!isOdd">{{part}}</ng-template></ng-template>',styles:["\n .ngb-highlight {\n font-weight: bold;\n }\n "]}]}],o.ctorParameters=function(){return[]},o.propDecorators={highlightClass:[{type:i.Input}],result:[{type:i.Input}],term:[{type:i.Input}]}},F4pv:function(t,e,n){"use strict";function i(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,1,"h6",[["class","modal-title"]],null,null,null,null,null)),(t()(),u["ɵted"](null,["Eliminar archivo"]))],null,null)}function r(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,1,"h6",[["class","modal-title"]],null,null,null,null,null)),(t()(),u["ɵted"](null,["Eliminar carpeta"]))],null,null)}function o(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,1,"p",[],null,null,null,null,null)),(t()(),u["ɵted"](null,["¿Está seguro que desea eliminar el archivo ","?"]))],null,function(t,e){t(e,1,0,e.component.nombreArchivo)})}function l(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,1,"p",[],null,null,null,null,null)),(t()(),u["ɵted"](null,["¿Está seguro que desea eliminar la carpeta ","?"]))],null,function(t,e){t(e,1,0,e.component.nombreArchivo)})}function s(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,34,"div",[["class","modal-dialog"],["style","margin-top:100px;"]],null,null,null,null,null)),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,31,"div",[["class","modal-content"]],null,null,null,null,null)),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,10,"div",[["class","modal-header"]],null,null,null,null,null)),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵand"](16777216,null,null,1,null,i)),u["ɵdid"](16384,null,0,c.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),u["ɵted"](null,[" \n "])),(t()(),u["ɵand"](16777216,null,null,1,null,r)),u["ɵdid"](16384,null,0,c.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),u["ɵted"](null,[" \n "])),(t()(),u["ɵeld"](0,null,null,1,"button",[["class","close"],["style","margin-left:8px;"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.close()&&i}return i},null,null)),(t()(),u["ɵted"](null,["×"])),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,7,"div",[["class","modal-body"]],null,null,null,null,null)),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵand"](16777216,null,null,1,null,o)),u["ɵdid"](16384,null,0,c.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵand"](16777216,null,null,1,null,l)),u["ɵdid"](16384,null,0,c.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,7,"div",[["class","modal-footer"]],null,null,null,null,null)),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,1,"button",[["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.close()&&i}return i},null,null)),(t()(),u["ɵted"](null,["Cancelar"])),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,1,"button",[["class","btn btn-success"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.confirmarEliminar()&&i}return i},null,null)),(t()(),u["ɵted"](null,["Eliminar"])),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,7,0,!n.esDirectorio),t(e,10,0,n.esDirectorio),t(e,19,0,!n.esDirectorio),t(e,22,0,n.esDirectorio)},null)}function a(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,1,"confirm",[],null,null,null,s,f)),u["ɵdid"](180224,null,0,h.a,[p.DialogService],null,null)],null,null)}var u=n("3j3K"),c=n("2Je8"),h=n("lvn4"),p=n("hz2l");n.n(p);n.d(e,"a",function(){return m});var d=[],f=u["ɵcrt"]({encapsulation:2,styles:d,data:{}}),m=u["ɵccf"]("confirm",h.a,a,{},{},[])},FE8a:function(t,e,n){"use strict";var i=n("rCTf"),r=n("1Axw");i.Observable.prototype.delayWhen=r.delayWhen},FR2h:function(t,e,n){"use strict";var i=n("Fzro"),r=n("rCTf"),o=(n.n(r),n("mwbX")),l=n("R6W2"),s=n("+pb+"),a=(n.n(s),n("6Yye"));n.n(a);n.d(e,"a",function(){return u});var u=function(){function t(t,e){this.http=t,this.authService=e}return t.prototype.getArchivos=function(t){var e=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new i.m;n.set("cedula",t);var r=new i.g({headers:e,search:n});return this.http.get(o.a+"/servicios/archivo",r).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.getArchivosCompartidosAlumno=function(t){var e=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new i.m;n.set("cedula",t),n.set("compartidos","true");var r=new i.g({headers:e,search:n});return this.http.get(o.a+"/servicios/archivo",r).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.crearArchivo=function(t){var e=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new i.g({headers:e});return this.http.post(o.a+"/servicios/archivo",t,n).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.editarArchivo=function(t,e){var n=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),r=new i.g({headers:n});return this.http.put(o.a+"/servicios/archivo/"+t,e,r).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.eliminarArchivo=function(t){var e=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new i.g({headers:e});return this.http.delete(o.a+"/servicios/archivo/"+t,n).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.getCopiaArchivoCompartidoGrupo=function(t,e){var n=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),r=new i.m;r.set("cedula",t);var l=new i.g({headers:n,search:r});return this.http.get(o.a+"/servicios/archivo/compartido/"+e,l).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.compartirArchivoGrupo=function(t,e){var n=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),r=new i.g({headers:n}),l={id:e};return this.http.post(o.a+"/servicios/grupo/"+t.liceoId+"/"+t.anio+"/"+t.grado+"/"+t.grupo+"/archivo",l,r).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.calificarArchivo=function(t,e){var n=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),r=new i.g({headers:n});return this.http.post(o.a+"/servicios/archivo/"+t+"/evaluacion",e,r).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.getGrupos=function(t){var e=new i.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new i.m;n.set("cedula",t);var r=new i.g({headers:e,search:n});return this.http.get(o.a+"/servicios/grupo",r).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.handleError=function(t){var e=t.message?t.message:t.status?t.status+" - "+t.statusText:"Server error";return console.error(e),r.Observable.throw(e)},t.ctorParameters=function(){return[{type:i.i},{type:l.a}]},t}()},FT6u:function(t,e,n){"use strict";function i(t){var e="function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t<e?t:e};return this.lift(new r.ReduceOperator(e))}var r=n("pgP5");e.min=i},"Ffu+":function(t,e,n){"use strict";function i(){return this.lift(new l)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.pairwise=i;var l=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new s(t))},t}(),s=function(t){function e(e){t.call(this,e),this.hasPrev=!1}return r(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(o.Subscriber)},FiTo:function(t,e,n){"use strict";function i(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,2,"ngb-alert",[["class","alertPosition"]],[[4,"top",null]],[[null,"close"]],function(t,e,n){var i=!0,r=t.component;if("close"===e){i=!1!==r.closeAlert(t.context.index)&&i}return i},s.b,s.c)),l["ɵdid"](49152,null,0,a.a,[u.a],{type:[0,"type"]},{close:"close"}),(t()(),l["ɵted"](0,["\n","\n"]))],function(t,e){t(e,1,0,null==e.context.$implicit?null:e.context.$implicit.type)},function(t,e){t(e,0,0,60*e.context.index+30+"px"),t(e,2,0,null==e.context.$implicit?null:e.context.$implicit.text)})}function r(t){return l["ɵvid"](0,[(t()(),l["ɵted"](null,["\n\n"])),(t()(),l["ɵand"](16777216,null,null,1,null,i)),l["ɵdid"](802816,null,0,c.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),l["ɵted"](null,["\n"]))],function(t,e){t(e,2,0,e.component.alerts)},null)}function o(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,1,"notificacion",[],null,null,null,r,f)),l["ɵdid"](114688,null,0,h.a,[p.a],null,null)],function(t,e){t(e,1,0)},null)}var l=n("3j3K"),s=n("7ldD"),a=n("s28n"),u=n("gFLb"),c=n("2Je8"),h=n("SIx6"),p=n("dBGY");n.d(e,"b",function(){return f}),e.a=r;var d=[],f=l["ɵcrt"]({encapsulation:2,styles:d,data:{}});l["ɵccf"]("notificacion",h.a,o,{},{},[])},GR1s:function(t,e,n){"use strict";function i(){return this.lift(new s)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),l=n("CURp");e.exhaust=i;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e),this.hasCompleted=!1,this.hasSubscription=!1}return r(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(l.subscribeToResult(this,t)))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber)},GW10:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("3j3K"),r=n("2Je8"),o=n("zK+N"),l=function(){function t(){}return t}();l.decorators=[{type:i.NgModule,args:[{imports:[r.CommonModule],declarations:[o.CodemirrorComponent],exports:[o.CodemirrorComponent]}]}],l.ctorParameters=function(){return[]},e.CodemirrorModule=l},GZqV:function(t,e,n){"use strict";function i(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return this.lift(new l(t,this,!1,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.find=i;var l=function(){function t(t,e,n,i){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=i}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}();e.FindValueOperator=l;var s=function(t){function e(e,n,i,r,o){t.call(this,e),this.predicate=n,this.source=i,this.yieldIndex=r,this.thisArg=o,this.index=0}return r(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){var e=this,n=e.predicate,i=e.thisArg,r=this.index++;try{n.call(i||this,t,r,this.source)&&this.notifyComplete(this.yieldIndex?r:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(o.Subscriber);e.FindValueSubscriber=s},Gb0N:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rCTf"),o=function(t){function e(e,n,i){t.call(this),this.start=e,this._count=n,this.scheduler=i}return i(e,t),e.create=function(t,n,i){return void 0===t&&(t=0),void 0===n&&(n=0),new e(t,n,i)},e.dispatch=function(t){var e=t.start,n=t.index,i=t.count,r=t.subscriber;if(n>=i)return void r.complete();r.next(e),r.closed||(t.index=n+1,t.start=e+1,this.schedule(t))},e.prototype._subscribe=function(t){var n=0,i=this.start,r=this._count,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{index:n,count:r,start:i,subscriber:t});for(;;){if(n++>=r){t.complete();break}if(t.next(i++),t.closed)break}},e}(r.Observable);e.RangeObservable=o},GcOx:function(t,e,n){"use strict";var i=n("rCTf"),r=n("cjT5");i.Observable.prototype.debounce=r.debounce},Gvdl:function(t,e,n){"use strict";var i=n("EEr4");e.Subject=i.Subject,e.AnonymousSubject=i.AnonymousSubject;var r=n("rCTf");e.Observable=r.Observable,n("1k2o"),n("U85J"),n("XlOA"),n("1ZrL"),n("zO2v"),n("AGQa"),n("iJMh"),n("S35O"),n("E7Yq"),n("LHw1"),n("c3t5"),n("f1gJ"),n("iUY6"),n("SUuD"),n("fICK"),n("O8p4"),n("9WjZ"),n("1APj"),n("1VLl"),n("g0nL"),n("ENML"),n("vQ+N"),n("h0qH"),n("jdeX"),n("iod1"),n("1Nls"),n("lh/Z"),n("nsuO"),n("+KN+"),n("Di9Q"),n("jDQW"),n("Whbc"),n("6Yye"),n("k27J"),n("qp8k"),n("/rMs"),n("CMrU"),n("jvbR"),n("16m9"),n("/181"),n("zC23"),n("GcOx"),n("aV5h"),n("NJh0"),n("94IA"),n("FE8a"),n("qhgQ"),n("q3ik"),n("tYwL"),n("EnA3"),n("Yfq7"),n("SSeX"),n("sT3i"),n("Mvzr"),n("wUn1"),n("tDJK"),n("hs6U"),n("W1/H"),n("okk1"),n("6s76"),n("LppN"),n("2395"),n("qcjU"),n("CYDS"),n("JJSU"),n("KRCp"),n("1NVl"),n("+pb+"),n("6gFN"),n("Ye9U"),n("CToi"),n("EGMK"),n("JPC0"),n("HcJ8"),n("VfeM"),n("SGWz"),n("Rxv9"),n("j7ye"),n("p1Um"),n("rLWm"),n("iIfT"),n("adqA"),n("xOQQ"),n("4Ie8"),n("nDCe"),n("PvYY"),n("0TiQ"),n("48bo"),n("UNGF"),n("XZ4o"),n("y6Vm"),n("y3IE"),n("10Gq"),n("B2te"),n("6hPP"),n("zJQZ"),n("UFi/"),n("WQmy"),n("s616"),n("JQ6u"),n("9qUs"),n("WnEV"),n("8szd"),n("VaQ6"),n("/lY3"),n("oHQS"),n("UyzR"),n("uCY4"),n("tuHt"),n("hzF8"),n("77/N"),n("T3fU"),n("EoAl"),n("PMZt"),n("jF50"),n("XKof"),n("cDAr"),n("a0Ch"),n("voL5"),n("7axH"),n("eErF"),n("7FaQ"),n("q4U+"),n("PwiB"),n("xFXl"),n("gDzJ"),n("fiy1"),n("ixac"),n("tQRI");var o=n("B00U");e.Subscription=o.Subscription;var l=n("mmVS");e.Subscriber=l.Subscriber;var s=n("5c/I");e.AsyncSubject=s.AsyncSubject;var a=n("MQMf");e.ReplaySubject=a.ReplaySubject;var u=n("TfWX");e.BehaviorSubject=u.BehaviorSubject;var c=n("sIYO");e.ConnectableObservable=c.ConnectableObservable;var h=n("8GmM");e.Notification=h.Notification;var p=n("F7Al");e.EmptyError=p.EmptyError;var d=n("8Z8y");e.ArgumentOutOfRangeError=d.ArgumentOutOfRangeError;var f=n("IZVw");e.ObjectUnsubscribedError=f.ObjectUnsubscribedError;var m=n("cmqr");e.TimeoutError=m.TimeoutError;var v=n("GIjk");e.UnsubscriptionError=v.UnsubscriptionError;var g=n("sVus");e.TimeInterval=g.TimeInterval;var y=n("5pRa");e.Timestamp=y.Timestamp;var b=n("u1gx");e.TestScheduler=b.TestScheduler;var w=n("q0UB");e.VirtualTimeScheduler=w.VirtualTimeScheduler;var x=n("Dc2k");e.AjaxResponse=x.AjaxResponse,e.AjaxError=x.AjaxError,e.AjaxTimeoutError=x.AjaxTimeoutError;var C=n("Uqs8"),S=n("CGGv"),O=n("RA5l"),_=n("HwIK"),k=n("r8ZY"),T=n("cdmN"),I=n("mbVC"),D={asap:C.asap,queue:O.queue,animationFrame:_.animationFrame,async:S.async};e.Scheduler=D;var M={rxSubscriber:k.rxSubscriber,observable:I.observable,iterator:T.iterator};e.Symbol=M},HcJ8:function(t,e,n){"use strict";var i=n("rCTf"),r=n("XO5T");i.Observable.prototype.mergeMap=r.mergeMap,i.Observable.prototype.flatMap=r.mergeMap},HwIK:function(t,e,n){"use strict";var i=n("gi2R"),r=n("ww7A");e.animationFrame=new r.AnimationFrameScheduler(i.AnimationFrameAction)},IBkQ:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("EEr4"),o=n("B00U"),l=n("y9a2"),s=n("g28B"),a=function(t){function e(e,n){t.call(this),this.messages=e,this.subscriptions=[],this.scheduler=n}return i(e,t),e.prototype._subscribe=function(e){var n=this,i=n.logSubscribedFrame();return e.add(new o.Subscription(function(){n.logUnsubscribedFrame(i)})),t.prototype._subscribe.call(this,e)},e.prototype.setup=function(){for(var t=this,e=t.messages.length,n=0;n<e;n++)!function(){var e=t.messages[n];t.scheduler.schedule(function(){e.notification.observe(t)},e.frame)}()},e}(r.Subject);e.HotObservable=a,s.applyMixins(a,[l.SubscriptionLoggable])},INWX:function(t,e,n){"use strict";function i(t){return c["ɵvid"](0,[(t()(),c["ɵand"](0,null,null,0))],null,null)}function r(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,null,null,7,"li",[["class","nav-item"]],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵeld"](0,null,null,4,"a",[["class","nav-link"],["href",""],["role","tab"]],[[8,"id",0],[2,"active",null],[2,"disabled",null],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0]],[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!=!!r.select(t.context.$implicit.id)&&i}return i},null,null)),(t()(),c["ɵted"](null,["\n ",""])),(t()(),c["ɵand"](16777216,null,null,1,null,i)),c["ɵdid"](540672,null,0,h.NgTemplateOutlet,[c.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵted"](null,["\n "]))],function(t,e){t(e,5,0,null==e.context.$implicit.titleTpl?null:e.context.$implicit.titleTpl.templateRef)},function(t,e){var n=e.component;t(e,2,0,e.context.$implicit.id,e.context.$implicit.id===n.activeId,e.context.$implicit.disabled,e.context.$implicit.disabled?"-1":void 0,n.destroyOnHide&&e.context.$implicit.id!==n.activeId?null:e.context.$implicit.id+"-panel",e.context.$implicit.id===n.activeId,e.context.$implicit.disabled),t(e,3,0,e.context.$implicit.title)})}function o(t){return c["ɵvid"](0,[(t()(),c["ɵand"](0,null,null,0))],null,null)}function l(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,null,null,4,"div",[["role","tabpanel"]],[[8,"className",0],[1,"aria-labelledby",0],[8,"id",0],[1,"aria-expanded",0]],null,null,null,null)),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵand"](16777216,null,null,1,null,o)),c["ɵdid"](540672,null,0,h.NgTemplateOutlet,[c.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),c["ɵted"](null,["\n "]))],function(t,e){t(e,3,0,e.parent.context.$implicit.contentTpl.templateRef)},function(t,e){var n=e.component;t(e,0,0,c["ɵinlineInterpolate"](1,"tab-pane ",e.parent.context.$implicit.id===n.activeId?"active":null,""),e.parent.context.$implicit.id,c["ɵinlineInterpolate"](1,"",e.parent.context.$implicit.id,"-panel"),e.parent.context.$implicit.id===n.activeId)})}function s(t){return c["ɵvid"](0,[(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵand"](16777216,null,null,1,null,l)),c["ɵdid"](16384,null,0,h.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),c["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,2,0,!n.destroyOnHide||e.context.$implicit.id===n.activeId)},null)}function a(t){return c["ɵvid"](0,[(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵeld"](0,null,null,4,"ul",[["role","tablist"]],[[8,"className",0]],null,null,null,null)),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵand"](16777216,null,null,1,null,r)),c["ɵdid"](802816,null,0,h.NgForOf,[c.ViewContainerRef,c.TemplateRef,c.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵeld"](0,null,null,4,"div",[["class","tab-content"]],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵand"](16777216,null,null,1,null,s)),c["ɵdid"](802816,null,0,h.NgForOf,[c.ViewContainerRef,c.TemplateRef,c.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,4,0,n.tabs),t(e,10,0,n.tabs)},function(t,e){var n=e.component;t(e,1,0,"nav nav-"+n.type+" justify-content-"+n.justify)})}function u(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,null,null,2,"ngb-tabset",[],null,null,null,d.a,d.b)),c["ɵdid"](2146304,null,1,p.a,[f.a],null,null),c["ɵqud"](603979776,1,{tabs:1})],null,null)}var c=n("3j3K"),h=n("2Je8"),p=n("edM1"),d=n("INWX"),f=n("v4DA");n.d(e,"b",function(){return v}),e.a=a;var m=[],v=c["ɵcrt"]({encapsulation:2,styles:m,data:{}});c["ɵccf"]("ngb-tabset",p.a,u,{activeId:"activeId",destroyOnHide:"destroyOnHide",justify:"justify",type:"type"},{tabChange:"tabChange"},[])},IiyU:function(t,e,n){"use strict";function i(t){return a["ɵvid"](0,[(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,1,"ngb-highlight",[],null,null,null,u.a,u.b)),a["ɵdid"](573440,null,0,c.a,[],{result:[0,"result"],term:[1,"term"]},null),(t()(),a["ɵted"](null,["\n "]))],function(t,e){t(e,2,0,e.context.formatter(e.context.result),e.context.term)},null)}function r(t){return a["ɵvid"](0,[(t()(),a["ɵand"](0,null,null,0))],null,null)}function o(t){return a["ɵvid"](0,[(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,5,"button",[["class","dropdown-item"],["role","option"],["type","button"]],[[8,"id",0],[2,"active",null]],[[null,"mouseenter"],[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("mouseenter"===e){i=!1!==r.markActive(t.context.index)&&i}if("click"===e){i=!1!==r.select(t.context.$implicit)&&i}return i},null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵand"](16777216,null,null,2,null,r)),a["ɵdid"](540672,null,0,h.NgTemplateOutlet,[a.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"],ngOutletContext:[1,"ngOutletContext"]},null),a["ɵpod"](["result","term","formatter"]),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,4,0,n.resultTemplate||a["ɵnov"](e.parent,1),t(e,5,0,e.context.$implicit,n.term,n.formatter))},function(t,e){var n=e.component;t(e,1,0,n.id+"-"+e.context.index,e.context.index===n.activeIdx)})}function l(t){return a["ɵvid"](0,[(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵand"](0,[["rt",2]],null,0,null,i)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵand"](16777216,null,null,1,null,o)),a["ɵdid"](802816,null,0,h.NgForOf,[a.ViewContainerRef,a.TemplateRef,a.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),a["ɵted"](null,["\n "]))],function(t,e){t(e,4,0,e.component.results)},null)}function s(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,1,"ngb-typeahead-window",[["class","dropdown-menu"],["role","listbox"],["style","display: block"]],[[8,"id",0]],null,null,d.b,d.c)),a["ɵdid"](114688,null,0,p.a,[],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,a["ɵnov"](e,1).id)})}var a=n("3j3K"),u=n("YJv1"),c=n("EzwU"),h=n("2Je8"),p=n("2BXm"),d=n("IiyU");n.d(e,"c",function(){return m}),e.b=l,n.d(e,"a",function(){return v});var f=[],m=a["ɵcrt"]({encapsulation:2,styles:f,data:{}}),v=a["ɵccf"]("ngb-typeahead-window",p.a,s,{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate"},{selectEvent:"select",activeChangeEvent:"activeChange"},[])},Imsy:function(t,e,n){"use strict";function i(t){return this.lift(new c(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),l=n("+3eL"),s=n("WhVc"),a=n("wAkD"),u=n("CURp");e.windowWhen=i;var c=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.closingSelector))},t}(),h=function(t){function e(e,n){t.call(this,e),this.destination=e,this.closingSelector=n,this.openWindow()}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.openWindow(r)},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this.openWindow(t)},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t),this.unsubscribeClosingNotification()},e.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},e.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},e.prototype.openWindow=function(t){void 0===t&&(t=null),t&&(this.remove(t),t.unsubscribe());var e=this.window;e&&e.complete();var n=this.window=new o.Subject;this.destination.next(n);var i=l.tryCatch(this.closingSelector)();if(i===s.errorObject){var r=s.errorObject.e;this.destination.error(r),this.window.error(r)}else this.add(this.closingNotification=u.subscribeToResult(this,i))},e}(a.OuterSubscriber)},JJSU:function(t,e,n){"use strict";var i=n("rCTf"),r=n("7nvF");i.Observable.prototype.last=r.last},JPC0:function(t,e,n){"use strict";var i=n("rCTf"),r=n("cbuX");i.Observable.prototype.mergeAll=r.mergeAll},JQ6u:function(t,e,n){"use strict";var i=n("rCTf"),r=n("p5++");i.Observable.prototype.single=r.single},Ji1V:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t[t.length-1];a.isScheduler(n)?t.pop():n=null;var i=t.length;return 1===i?s.concatStatic(new o.ScalarObservable(t[0],n),this):i>1?s.concatStatic(new r.ArrayObservable(t,n),this):s.concatStatic(new l.EmptyObservable(n),this)}var r=n("Yh8Q"),o=n("RRVv"),l=n("jBEF"),s=n("8MUz"),a=n("fWbP");e.startWith=i},"K/oD":function(t,e,n){"use strict";var i=n("3j3K"),r=n("2Je8"),o=n("EzwU"),l=n("2BXm"),s=n("qoi6"),a=n("cG9e");n.d(e,"a",function(){return u});var u=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[a.a]}},t}();u.decorators=[{type:i.NgModule,args:[{declarations:[s.a,o.a,l.a],exports:[s.a],imports:[r.CommonModule],entryComponents:[l.a]}]}],u.ctorParameters=function(){return[]}},K0TW:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},KKz1:function(t,e,n){"use strict";function i(t,e,n){return void 0===e&&(e=s.async),void 0===n&&(n=a.defaultThrottleConfig),this.lift(new u(t,e,n.leading,n.trailing))}function r(t){t.subscriber.clearThrottle()}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=n("mmVS"),s=n("CGGv"),a=n("u/VN");e.throttleTime=i;var u=function(){function t(t,e,n,i){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=i}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),c=function(t){function e(e,n,i,r,o){t.call(this,e),this.duration=n,this.scheduler=i,this.leading=r,this.trailing=o,this._hasTrailingValue=!1,this._trailingValue=null}return o(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(r,this.duration,{subscriber:this})),this.leading&&this.destination.next(t))},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(l.Subscriber)},KLoZ:function(t,e,n){"use strict";function i(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var i=e.length,r=0;r<i;r++){var o=e[r];for(var l in o)o.hasOwnProperty(l)&&(t[l]=o[l])}return t}function r(t){return t.Object.assign||i}var o=n("VOfZ");e.assignImpl=i,e.getAssign=r,e.assign=r(o.root)},KRCp:function(t,e,n){"use strict";var i=n("rCTf"),r=n("sb+e");i.Observable.prototype.let=r.letProto,i.Observable.prototype.letBind=r.letProto},Kjxw:function(t,e,n){"use strict";function i(t,e,n){var i;return r.multicast.call(this,function(){return this._isComplete?i:i=new o.ReplaySubject(t,e,n)}).refCount()}var r=n("emOw"),o=n("MQMf");e.shareReplay=i},KuCq:function(t,e,n){"use strict";function i(t){return this.lift(new l(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.takeWhile=i;var l=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate))},t}(),s=function(t){function e(e,n){t.call(this,e),this.predicate=n,this.index=0}return r(e,t),e.prototype._next=function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(t){return void n.error(t)}this.nextOrComplete(t,e)},e.prototype.nextOrComplete=function(t,e){var n=this.destination;Boolean(e)?n.next(t):n.complete()},e}(o.Subscriber)},L2Hk:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("SKH6"),o=n("rCTf"),l=n("B00U"),s=function(t){function e(e,n,i){t.call(this),this.addHandler=e,this.removeHandler=n,this.selector=i}return i(e,t),e.create=function(t,n,i){return new e(t,n,i)},e.prototype._subscribe=function(t){var e=this,n=this.removeHandler,i=this.selector?function(){for(var n=[],i=0;i<arguments.length;i++)n[i-0]=arguments[i];e._callSelector(t,n)}:function(e){t.next(e)},o=this._callAddHandler(i,t);r.isFunction(n)&&t.add(new l.Subscription(function(){n(i,o)}))},e.prototype._callSelector=function(t,e){try{var n=this.selector.apply(this,e);t.next(n)}catch(e){t.error(e)}},e.prototype._callAddHandler=function(t,e){try{return this.addHandler(t)||null}catch(t){e.error(t)}},e}(o.Observable);e.FromEventPatternObservable=s},LHw1:function(t,e,n){"use strict";var i=n("rCTf"),r=n("9oY/");i.Observable.fromEventPattern=r.fromEventPattern},"LhE+":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rCTf"),o=n("CURp"),l=n("wAkD"),s=function(t){function e(e,n,i){t.call(this),this.condition=e,this.thenSource=n,this.elseSource=i}return i(e,t),e.create=function(t,n,i){return new e(t,n,i)},e.prototype._subscribe=function(t){var e=this,n=e.condition,i=e.thenSource,r=e.elseSource;return new a(t,n,i,r)},e}(r.Observable);e.IfObservable=s;var a=function(t){function e(e,n,i,r){t.call(this,e),this.condition=n,this.thenSource=i,this.elseSource=r,this.tryIf()}return i(e,t),e.prototype.tryIf=function(){var t,e=this,n=e.condition,i=e.thenSource,r=e.elseSource;try{t=n();var l=t?i:r;l?this.add(o.subscribeToResult(this,l)):this._complete()}catch(t){this._error(t)}},e}(l.OuterSubscriber)},Llwz:function(t,e,n){"use strict";function i(t){return this.lift(new a(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),l=n("wAkD"),s=n("CURp");e.window=i;var a=function(){function t(t){this.windowBoundaries=t}return t.prototype.call=function(t,e){var n=new u(t),i=e.subscribe(n);return i.closed||n.add(s.subscribeToResult(n,this.windowBoundaries)),i},t}(),u=function(t){function e(e){t.call(this,e),this.window=new o.Subject,e.next(this.window)}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.openWindow()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this._complete()},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t)},e.prototype._complete=function(){this.window.complete(),this.destination.complete()},e.prototype._unsubscribe=function(){this.window=null},e.prototype.openWindow=function(){var t=this.window;t&&t.complete();var e=this.destination,n=this.window=new o.Subject;e.next(n)},e}(l.OuterSubscriber)},LppN:function(t,e,n){"use strict";var i=n("rCTf"),r=n("C4lF");i.Observable.prototype.ignoreElements=r.ignoreElements},M0cT:function(t,e,n){"use strict";var i=n("3j3K"),r=n("+dDw");n.d(e,"a",function(){return l});var o=[r.a,r.b,r.c],l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t}();l.decorators=[{type:i.NgModule,args:[{declarations:o,exports:o}]}],l.ctorParameters=function(){return[]}},M5jZ:function(t,e,n){"use strict";function i(t){return this.lift(new l(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.skip=i;var l=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.total))},t}(),s=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return r(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(o.Subscriber)},MQMf:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("EEr4"),o=n("RA5l"),l=n("B00U"),s=n("Ji1B"),a=n("IZVw"),u=n("ZJf8"),c=function(t){function e(e,n,i){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY),t.call(this),this.scheduler=i,this._events=[],this._bufferSize=e<1?1:e,this._windowTime=n<1?1:n}return i(e,t),e.prototype.next=function(e){var n=this._getNow();this._events.push(new h(n,e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._trimBufferThenGetEvents(),i=this.scheduler;if(this.closed)throw new a.ObjectUnsubscribedError;this.hasError?e=l.Subscription.EMPTY:this.isStopped?e=l.Subscription.EMPTY:(this.observers.push(t),e=new u.SubjectSubscription(this,t)),i&&t.add(t=new s.ObserveOnSubscriber(t,i));for(var r=n.length,o=0;o<r&&!t.closed;o++)t.next(n[o].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||o.queue).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,n=this._windowTime,i=this._events,r=i.length,o=0;o<r&&!(t-i[o].time<n);)o++;return r>e&&(o=Math.max(o,r-e)),o>0&&i.splice(0,o),i},e}(r.Subject);e.ReplaySubject=c;var h=function(){function t(t,e){this.time=t,this.value=e}return t}()},MSQt:function(t,e,n){"use strict";var i=n("3j3K"),r=n("6uCv"),o=n("c7mC");n.d(e,"a",function(){return s});var l=[r.a,r.b],s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}();s.decorators=[{type:i.NgModule,args:[{declarations:l,exports:l}]}],s.ctorParameters=function(){return[]}},"Mn0/":function(t,e,n){"use strict";function i(t){return o["ɵvid"](0,[(t()(),o["ɵted"](null,["",""]))],null,function(t,e){t(e,0,0,e.component.date.day)})}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"div",[["ngbDatepickerDayView",""]],[[2,"bg-primary",null],[2,"text-white",null],[2,"text-muted",null],[2,"outside",null],[2,"btn-secondary",null]],null,null,s.a,s.b)),o["ɵdid"](49152,null,0,l.a,[],null,null)],null,function(t,e){t(e,0,0,o["ɵnov"](e,1).selected,o["ɵnov"](e,1).selected,o["ɵnov"](e,1).isMuted(),o["ɵnov"](e,1).isMuted(),!o["ɵnov"](e,1).disabled)})}var o=n("3j3K"),l=n("U6gI"),s=n("Mn0/");n.d(e,"b",function(){return u}),e.a=i;var a=["[_nghost-%COMP%] {\n text-align: center;\n width: 2rem;\n height: 2rem;\n line-height: 2rem; \n border-radius: 0.25rem;\n }\n .outside[_nghost-%COMP%] {\n opacity: 0.5;\n }"],u=o["ɵcrt"]({encapsulation:0,styles:a,data:{}});o["ɵccf"]("[ngbDatepickerDayView]",l.a,r,{currentMonth:"currentMonth",date:"date",disabled:"disabled",selected:"selected"},{},[])},Mqdq:function(t,e,n){"use strict";function i(t,e){return this.lift(new a(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("B00U"),l=n("CURp"),s=n("wAkD");e.bufferToggle=i;var a=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.openings,this.closingSelector))},t}(),u=function(t){function e(e,n,i){t.call(this,e),this.openings=n,this.closingSelector=i,this.contexts=[],this.add(l.subscribeToResult(this,n))}return r(e,t),e.prototype._next=function(t){for(var e=this.contexts,n=e.length,i=0;i<n;i++)e[i].buffer.push(t)},e.prototype._error=function(e){for(var n=this.contexts;n.length>0;){var i=n.shift();i.subscription.unsubscribe(),i.buffer=null,i.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var n=e.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,i,r){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector,n=e.call(this,t);n&&this.trySubscribe(n)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var n=t.buffer,i=t.subscription;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(i),i.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=[],i=new o.Subscription,r={buffer:n,subscription:i};e.push(r);var s=l.subscribeToResult(this,t,r);!s||s.closed?this.closeBuffer(r):(s.context=r,this.add(s),i.add(s))},e}(s.OuterSubscriber)},MvGQ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Gvdl"),r=function(){function t(t){this.dialogService=t}return t.prototype.fillData=function(t){var e=this;t=t||{};for(var n=Object.keys(t),r=0,o=n.length;r<o;r++){var l=n[r];this[l]=t[l]}return i.Observable.create(function(t){return e.observer=t,function(){e.close()}})},t.prototype.close=function(){this.dialogService.removeDialog(this)},t.prototype.ngOnDestroy=function(){this.observer&&this.observer.next(this.result)},t}();e.DialogComponent=r},Mvzr:function(t,e,n){"use strict";var i=n("rCTf"),r=n("+w3m");i.Observable.prototype.elementAt=r.elementAt},NJh0:function(t,e,n){"use strict";var i=n("rCTf"),r=n("RJ4+");i.Observable.prototype.defaultIfEmpty=r.defaultIfEmpty},NgUg:function(t,e,n){"use strict";function i(t){var e=t.obj,n=t.keys,i=t.length,r=t.index,o=t.subscriber;if(r===i)return void o.complete();var l=n[r];o.next([l,e[l]]),t.index=r+1,this.schedule(t)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("rCTf"),l=function(t){function e(e,n){t.call(this),this.obj=e,this.scheduler=n,this.keys=Object.keys(e)}return r(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e=this,n=e.keys,r=e.scheduler,o=n.length;if(r)return r.schedule(i,0,{obj:this.obj,keys:n,length:o,index:0,subscriber:t});for(var l=0;l<o;l++){var s=n[l];t.next([s,this.obj[s]])}t.complete()},e}(o.Observable);e.PairsObservable=l},Nr0j:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n("XMV4");e.BootstrapModalModule=i.BootstrapModalModule,e.DialogComponent=i.DialogComponent,e.DialogService=i.DialogService},"O/+v":function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=null),this.lift(new l(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.bufferCount=i;var l=function(){function t(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?a:s}return t.prototype.call=function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))},t}(),s=function(t){function e(e,n){t.call(this,e),this.bufferSize=n,this.buffer=[]}return r(e,t),e.prototype._next=function(t){var e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])},e.prototype._complete=function(){var e=this.buffer;e.length>0&&this.destination.next(e),t.prototype._complete.call(this)},e}(o.Subscriber),a=function(t){function e(e,n,i){t.call(this,e),this.bufferSize=n,this.startBufferEvery=i,this.buffers=[],this.count=0}return r(e,t),e.prototype._next=function(t){var e=this,n=e.bufferSize,i=e.startBufferEvery,r=e.buffers,o=e.count;this.count++,o%i==0&&r.push([]);for(var l=r.length;l--;){var s=r[l];s.push(t),s.length===n&&(r.splice(l,1),this.destination.next(s))}},e.prototype._complete=function(){for(var e=this,n=e.buffers,i=e.destination;n.length>0;){var r=n.shift();r.length>0&&i.next(r)}t.prototype._complete.call(this)},e}(o.Subscriber)},O8p4:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Y3yw");i.Observable.race=r.raceStatic},OEcN:function(t,e,n){"use strict";var i=n("3j3K"),r=n("NVOs"),o=n("2yGx"),l=n("hUSH"),s=n("tyH+");n.d(e,"a",function(){return u});var a={provide:r.NG_VALUE_ACCESSOR,useExisting:n.i(i.forwardRef)(function(){return u}),multi:!0},u=function(){function t(t){this.onChange=function(t){},this.onTouched=function(){},this.meridian=t.meridian,this.spinners=t.spinners,this.seconds=t.seconds,this.hourStep=t.hourStep,this.minuteStep=t.minuteStep,this.secondStep=t.secondStep,this.disabled=t.disabled,this.readonlyInputs=t.readonlyInputs,this.size=t.size}return t.prototype.writeValue=function(t){this.model=t?new l.a(t.hour,t.minute,t.second):new l.a,this.seconds||t&&n.i(o.a)(t.second)||(this.model.second=0)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.changeHour=function(t){this.model.changeHour(t),this.propagateModelChange()},t.prototype.changeMinute=function(t){this.model.changeMinute(t),this.propagateModelChange()},t.prototype.changeSecond=function(t){this.model.changeSecond(t),this.propagateModelChange()},t.prototype.updateHour=function(t){this.model.updateHour(n.i(o.b)(t)),this.propagateModelChange()},t.prototype.updateMinute=function(t){this.model.updateMinute(n.i(o.b)(t)),this.propagateModelChange()},t.prototype.updateSecond=function(t){this.model.updateSecond(n.i(o.b)(t)),this.propagateModelChange()},t.prototype.toggleMeridian=function(){this.meridian&&this.changeHour(12)},t.prototype.formatHour=function(t){return n.i(o.a)(t)?this.meridian?n.i(o.c)(t%12==0?12:t%12):n.i(o.c)(t%24):n.i(o.c)(NaN)},t.prototype.formatMinSec=function(t){return n.i(o.c)(t)},t.prototype.setFormControlSize=function(){return{"form-control-sm":"small"===this.size,"form-control-lg":"large"===this.size}},t.prototype.setButtonSize=function(){return{"btn-sm":"small"===this.size,"btn-lg":"large"===this.size}},t.prototype.ngOnChanges=function(t){t.seconds&&!this.seconds&&this.model&&!n.i(o.a)(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))},t.prototype.propagateModelChange=function(t){void 0===t&&(t=!0),t&&this.onTouched(),this.model.isValid(this.seconds)?this.onChange({hour:this.model.hour,minute:this.model.minute,second:this.model.second}):this.onChange(null)},t}();u.decorators=[{type:i.Component,args:[{selector:"ngb-timepicker",styles:["\n .ngb-tp {\n display: flex;\n align-items: center;\n }\n\n .ngb-tp-hour, .ngb-tp-minute, .ngb-tp-second, .ngb-tp-meridian {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n }\n\n .ngb-tp-spacer {\n width: 1em;\n text-align: center;\n }\n\n .chevron::before {\n border-style: solid;\n border-width: 0.29em 0.29em 0 0;\n content: '';\n display: inline-block;\n height: 0.69em;\n left: 0.05em;\n position: relative;\n top: 0.15em;\n transform: rotate(-45deg);\n -webkit-transform: rotate(-45deg);\n -ms-transform: rotate(-45deg);\n vertical-align: middle;\n width: 0.71em;\n }\n\n .chevron.bottom:before {\n top: -.3em;\n -webkit-transform: rotate(135deg);\n -ms-transform: rotate(135deg);\n transform: rotate(135deg);\n }\n\n .btn-link {\n outline: 0;\n }\n\n .btn-link.disabled {\n cursor: not-allowed;\n opacity: .65;\n }\n\n input {\n text-align: center;\n display: inline-block;\n width: auto;\n }\n "],template:'\n <fieldset [disabled]="disabled" [class.disabled]="disabled">\n <div class="ngb-tp">\n <div class="ngb-tp-hour">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeHour(hourStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron"></span>\n <span class="sr-only">Increment hours</span>\n </button>\n <input type="text" class="form-control" [ngClass]="setFormControlSize()" maxlength="2" size="2" placeholder="HH"\n [value]="formatHour(model?.hour)" (change)="updateHour($event.target.value)"\n [readonly]="readonlyInputs" [disabled]="disabled" aria-label="Hours">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeHour(-hourStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron bottom"></span>\n <span class="sr-only">Decrement hours</span>\n </button>\n </div>\n <div class="ngb-tp-spacer">:</div>\n <div class="ngb-tp-minute">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeMinute(minuteStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron"></span>\n <span class="sr-only">Increment minutes</span>\n </button>\n <input type="text" class="form-control" [ngClass]="setFormControlSize()" maxlength="2" size="2" placeholder="MM"\n [value]="formatMinSec(model?.minute)" (change)="updateMinute($event.target.value)"\n [readonly]="readonlyInputs" [disabled]="disabled" aria-label="Minutes">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeMinute(-minuteStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron bottom"></span>\n <span class="sr-only">Decrement minutes</span>\n </button>\n </div>\n <div *ngIf="seconds" class="ngb-tp-spacer">:</div>\n <div *ngIf="seconds" class="ngb-tp-second">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeSecond(secondStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron"></span>\n <span class="sr-only">Increment seconds</span>\n </button>\n <input type="text" class="form-control" [ngClass]="setFormControlSize()" maxlength="2" size="2" placeholder="SS"\n [value]="formatMinSec(model?.second)" (change)="updateSecond($event.target.value)"\n [readonly]="readonlyInputs" [disabled]="disabled" aria-label="Seconds">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeSecond(-secondStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron bottom"></span>\n <span class="sr-only">Decrement seconds</span>\n </button>\n </div>\n <div *ngIf="meridian" class="ngb-tp-spacer"></div>\n <div *ngIf="meridian" class="ngb-tp-meridian">\n <button type="button" class="btn btn-outline-primary" [ngClass]="setButtonSize()"\n [disabled]="disabled" [class.disabled]="disabled"\n (click)="toggleMeridian()">{{model.hour >= 12 ? \'PM\' : \'AM\'}}</button>\n </div>\n </div>\n </fieldset>\n ',providers:[a]}]}],u.ctorParameters=function(){return[{type:s.a}]},u.propDecorators={meridian:[{type:i.Input}],spinners:[{type:i.Input}],seconds:[{type:i.Input}],hourStep:[{type:i.Input}],minuteStep:[{type:i.Input}],secondStep:[{type:i.Input}],readonlyInputs:[{type:i.Input}],size:[{type:i.Input}]}},OLzJ:function(t,e,n){"use strict";var i=n("VOfZ"),r=function(){function t(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){return t.setTimeout(e,1e3/60)})}return t}();e.RequestAnimationFrameDefinition=r,e.AnimationFrame=new r(i.root)},"Oa+j":function(t,e,n){"use strict";function i(){return this.lift(new l)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.dematerialize=i;var l=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new s(t))},t}(),s=function(t){function e(e){t.call(this,e)}return r(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(o.Subscriber)},Ou9t:function(t,e,n){"use strict";function i(){return function(){function t(){this._values=[]}return t.prototype.add=function(t){this.has(t)||this._values.push(t)},t.prototype.has=function(t){return-1!==this._values.indexOf(t)},Object.defineProperty(t.prototype,"size",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this._values.length=0},t}()}var r=n("VOfZ");e.minimalSetImpl=i,e.Set=r.root.Set||i()},P3oE:function(t,e,n){"use strict";function i(t){return!r.isArray(t)&&t-parseFloat(t)+1>=0}var r=n("Xajo");e.isNumeric=i},PMZt:function(t,e,n){"use strict";var i=n("rCTf"),r=n("u/VN");i.Observable.prototype.throttle=r.throttle},PN3d:function(t,e,n){"use strict";function i(t){return o.multicast.call(this,new r.BehaviorSubject(t))}var r=n("TfWX"),o=n("emOw");e.publishBehavior=i},POFt:function(t,e,n){"use strict";function i(t){return 0===t?new s.EmptyObservable:this.lift(new a(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),l=n("8Z8y"),s=n("jBEF");e.take=i;var a=function(){function t(t){if(this.total=t,this.total<0)throw new l.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return r(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(o.Subscriber)},PutI:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("cwzr"),o=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return i(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,i):e.flush(this)},e}(r.AsyncAction);e.QueueAction=o},Puts:function(t,e,n){"use strict";var i=n("Nr0j");n.n(i);n.d(e,"a",function(){return o});var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=function(t){function e(e){return t.call(this,e)||this}return r(e,t),e.prototype.seleccionarGrupo=function(t){this.grupo=t},e.prototype.compartir=function(){var t=this;this.grupo?this.parent.haskellService.compartirArchivoGrupo(this.grupo,this.archivo.id).subscribe(function(e){t.parent.notifService.success("Archivo compartido"),t.close()},function(e){t.parent.notifService.error(e)}):this.parent.notifService.error("Seleccione un grupo")},e.ctorParameters=function(){return[{type:i.DialogService}]},e}(i.DialogComponent)},PvYY:function(t,e,n){"use strict";var i=n("rCTf"),r=n("0gHg");i.Observable.prototype.publishReplay=r.publishReplay},PwiB:function(t,e,n){"use strict";var i=n("rCTf"),r=n("sKQ8");i.Observable.prototype.windowTime=r.windowTime},Q0je:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rCTf"),o=n("YOd+"),l=function(t){function e(){t.call(this)}return i(e,t),e.create=function(){return new e},e.prototype._subscribe=function(t){o.noop()},e}(r.Observable);e.NeverObservable=l},QNuG:function(t,e,n){"use strict";function i(){return o.multicast.call(this,new r.AsyncSubject)}var r=n("5c/I"),o=n("emOw");e.publishLast=i},QRpj:function(t,e,n){"use strict";function i(t){return l["ɵvid"](0,[(t()(),l["ɵand"](0,null,null,0))],null,null)}function r(t){return l["ɵvid"](0,[l["ɵqud"](402653184,1,{element:0}),(t()(),l["ɵand"](16777216,[[1,3],["element",2]],null,0,null,i))],null,null)}function o(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,1,"dialog-holder",[],null,null,null,s.b,s.c)),l["ɵdid"](49152,null,0,a.DialogHolderComponent,[l.ComponentFactoryResolver],null,null)],null,null)}var l=n("3j3K"),s=n("QRpj"),a=n("BnNN");n.n(a);n.d(e,"c",function(){return c}),e.b=r,n.d(e,"a",function(){return h});var u=[],c=l["ɵcrt"]({encapsulation:2,styles:u,data:{}}),h=l["ɵccf"]("dialog-holder",a.DialogHolderComponent,o,{},{},[])},Qt4r:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rCTf"),o=n("fWbP"),l=function(t){return t},s=function(t){function e(e,n,i,r,o){t.call(this),this.initialState=e,this.condition=n,this.iterate=i,this.resultSelector=r,this.scheduler=o}return i(e,t),e.create=function(t,n,i,r,s){return 1==arguments.length?new e(t.initialState,t.condition,t.iterate,t.resultSelector||l,t.scheduler):void 0===r||o.isScheduler(r)?new e(t,n,i,l,r):new e(t,n,i,r,s)},e.prototype._subscribe=function(t){var n=this.initialState;if(this.scheduler)return this.scheduler.schedule(e.dispatch,0,{subscriber:t,iterate:this.iterate,condition:this.condition,resultSelector:this.resultSelector,state:n});for(var i=this,r=i.condition,o=i.resultSelector,l=i.iterate;;){if(r){var s=void 0;try{s=r(n)}catch(e){return void t.error(e)}if(!s){t.complete();break}}var a=void 0;try{a=o(n)}catch(e){return void t.error(e)}if(t.next(a),t.closed)break;try{n=l(n)}catch(e){return void t.error(e)}}},e.dispatch=function(t){var e=t.subscriber,n=t.condition;if(!e.closed){if(t.needIterate)try{t.state=t.iterate(t.state)}catch(t){return void e.error(t)}else t.needIterate=!0;if(n){var i=void 0;try{i=n(t.state)}catch(t){return void e.error(t)}if(!i)return void e.complete();if(e.closed)return}var r;try{r=t.resultSelector(t.state)}catch(t){return void e.error(t)}if(!e.closed&&(e.next(r),!e.closed))return this.schedule(t)}},e}(r.Observable);e.GenerateObservable=s},R6W2:function(t,e,n){"use strict";var i=n("Fzro"),r=n("+pb+"),o=(n.n(r),n("mwbX"));n.d(e,"a",function(){return l});var l=function(){function t(t){this.http=t}return t.prototype.login=function(t,e){var n=new i.l({"Content-Type":"application/json"}),r=new i.g({headers:n});return this.http.post(o.a+"/servicios/login",JSON.stringify({cedula:t,password:e}),r).map(function(t){var e=t.json();sessionStorage.setItem("currentUser",JSON.stringify(e))})},t.prototype.getUser=function(){return JSON.parse(sessionStorage.getItem("currentUser"))},t.prototype.getUserConfig=function(){return JSON.parse(sessionStorage.getItem("currentUser")).configuracion},t.prototype.getToken=function(){var t=JSON.parse(sessionStorage.getItem("currentUser"));return t?t.token:void 0},t.prototype.setUserConfig=function(t){var e=JSON.parse(sessionStorage.getItem("currentUser"));e.configuracion=t,sessionStorage.setItem("currentUser",JSON.stringify(e))},t.prototype.logout=function(){sessionStorage.removeItem("currentUser")},t.ctorParameters=function(){return[{type:i.i}]},t}()},RA5l:function(t,e,n){"use strict";var i=n("PutI"),r=n("C0+T");e.queue=new r.QueueScheduler(i.QueueAction)},"RJ4+":function(t,e,n){"use strict";function i(t){return void 0===t&&(t=null),this.lift(new l(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.defaultIfEmpty=i;var l=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.defaultValue))},t}(),s=function(t){function e(e,n){t.call(this,e),this.defaultValue=n,this.isEmpty=!0}return r(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(o.Subscriber)},RSMh:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rCTf"),o=n("CURp"),l=n("wAkD"),s=function(t){function e(e,n){t.call(this),this.resourceFactory=e,this.observableFactory=n}return i(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e,n=this,i=n.resourceFactory,r=n.observableFactory;try{return e=i(),new a(t,e,r)}catch(e){t.error(e)}},e}(r.Observable);e.UsingObservable=s;var a=function(t){function e(e,n,i){t.call(this,e),this.resource=n,this.observableFactory=i,e.add(n),this.tryUse()}return i(e,t),e.prototype.tryUse=function(){try{var t=this.observableFactory.call(this,this.resource);t&&this.add(o.subscribeToResult(this,t))}catch(t){this._error(t)}},e}(l.OuterSubscriber)},RYQg:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return this.lift.call(r.apply(void 0,[this].concat(t)))}function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t[t.length-1];return"function"==typeof n&&t.pop(),new l.ArrayObservable(t).lift(new p(n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=n("Yh8Q"),s=n("Xajo"),a=n("mmVS"),u=n("wAkD"),c=n("CURp"),h=n("cdmN");e.zipProto=i,e.zipStatic=r;var p=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new d(t,this.project))},t}();e.ZipOperator=p;var d=function(t){function e(e,n,i){void 0===i&&(i=Object.create(null)),t.call(this,e),this.iterators=[],this.active=0,this.project="function"==typeof n?n:null,this.values=i}return o(e,t),e.prototype._next=function(t){var e=this.iterators;s.isArray(t)?e.push(new m(t)):"function"==typeof t[h.iterator]?e.push(new f(t[h.iterator]())):e.push(new v(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;if(0===e)return void this.destination.complete();this.active=e;for(var n=0;n<e;n++){var i=t[n];i.stillUnsubscribed?this.add(i.subscribe(i,n)):this.active--}},e.prototype.notifyInactive=function(){0===--this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,n=this.destination,i=0;i<e;i++){var r=t[i];if("function"==typeof r.hasValue&&!r.hasValue())return}for(var o=!1,l=[],i=0;i<e;i++){var r=t[i],s=r.next();if(r.hasCompleted()&&(o=!0),s.done)return void n.complete();l.push(s.value)}this.project?this._tryProject(l):n.next(l),o&&n.complete()},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}(a.Subscriber);e.ZipSubscriber=d;var f=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return t&&t.done},t}(),m=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[h.iterator]=function(){return this},t.prototype.next=function(t){var e=this.index++,n=this.array;return e<this.length?{value:n[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),v=function(t){function e(e,n,i){t.call(this,e),this.parent=n,this.observable=i,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return o(e,t),e.prototype[h.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,n,i,r){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return c.subscribeToResult(this,this.observable,this,e)},e}(u.OuterSubscriber)},Rewd:function(t,e,n){"use strict";function i(t,e,n){return this.lift(new l(t,e,n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e._do=i;var l=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.nextOrObserver,this.error,this.complete))},t}(),s=function(t){function e(e,n,i,r){t.call(this,e);var l=new o.Subscriber(n,i,r);l.syncErrorThrowable=!0,this.add(l),this.safeSubscriber=l}return r(e,t),e.prototype._next=function(t){var e=this.safeSubscriber;e.next(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.next(t)},e.prototype._error=function(t){var e=this.safeSubscriber;e.error(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.error(t)},e.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},e}(o.Subscriber)},Rgi1:function(t,e,n){"use strict";function i(t){return this.lift(new s(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),l=n("8Z8y");e.skipLast=i;var s=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new l.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return 0===this._skipCount?e.subscribe(new o.Subscriber(t)):e.subscribe(new a(t,this._skipCount))},t}(),a=function(t){function e(e,n){t.call(this,e),this._skipCount=n,this._count=0,this._ring=new Array(n)}return r(e,t),e.prototype._next=function(t){var e=this._skipCount,n=this._count++;if(n<e)this._ring[n]=t;else{var i=n%e,r=this._ring,o=r[i];r[i]=t,this.destination.next(o)}},e}(o.Subscriber)},Rxv9:function(t,e,n){"use strict";var i=n("rCTf"),r=n("FT6u");i.Observable.prototype.min=r.min},RyDc:function(t,e,n){"use strict";function i(t){return this.lift(new s(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),l=n("CURp");e.skipUntil=i;var s=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.notifier))},t}(),a=function(t){function e(e,n){t.call(this,e),this.hasValue=!1,this.isInnerStopped=!1,this.add(l.subscribeToResult(this,n))}return r(e,t),e.prototype._next=function(e){this.hasValue&&t.prototype._next.call(this,e)},e.prototype._complete=function(){this.isInnerStopped?t.prototype._complete.call(this):this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,i,r){this.hasValue=!0},e.prototype.notifyComplete=function(){this.isInnerStopped=!0,this.isStopped&&t.prototype._complete.call(this)},e}(o.OuterSubscriber)},S35O:function(t,e,n){"use strict";var i=n("rCTf"),r=n("PKvP");i.Observable.from=r.from},SDFq:function(t,e,n){"use strict";function i(t,e){return this.lift(new s(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),l=n("CURp");e.switchMapTo=i;var s=function(){function t(t,e){this.observable=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.observable,this.resultSelector))},t}(),a=function(t){function e(e,n,i){t.call(this,e),this.inner=n,this.resultSelector=i,this.index=0}return r(e,t),e.prototype._next=function(t){var e=this.innerSubscription;e&&e.unsubscribe(),this.add(this.innerSubscription=l.subscribeToResult(this,this.inner,t,this.index++))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,i,r){var o=this,l=o.resultSelector,s=o.destination;l?this.tryResultSelector(t,e,n,i):s.next(e)},e.prototype.tryResultSelector=function(t,e,n,i){var r,o=this,l=o.resultSelector,s=o.destination;try{r=l(t,e,n,i)}catch(t){return void s.error(t)}s.next(r)},e}(o.OuterSubscriber)},SDm3:function(t,e,n){"use strict";function i(t){return o["ɵvid"](0,[(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,4,"div",[["role","document"]],[[8,"className",0]],null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"div",[["class","modal-content"]],null,null,null,null,null)),o["ɵncd"](null,0),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n "]))],null,function(t,e){var n=e.component;t(e,1,0,"modal-dialog"+(n.size?" modal-"+n.size:""))})}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"ngb-modal-window",[["role","dialog"],["style","display: block;"],["tabindex","-1"]],[[8,"className",0]],[[null,"keyup.esc"],[null,"click"]],function(t,e,n){var i=!0;if("keyup.esc"===e){i=!1!==o["ɵnov"](t,1).escKey(n)&&i}if("click"===e){i=!1!==o["ɵnov"](t,1).backdropClick(n)&&i}return i},s.b,s.c)),o["ɵdid"](4440064,null,0,l.a,[o.ElementRef,o.Renderer2],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,"modal fade show"+(o["ɵnov"](e,1).windowClass?" "+o["ɵnov"](e,1).windowClass:""))})}var o=n("3j3K"),l=n("xOmt"),s=n("SDm3");n.d(e,"c",function(){return u}),e.b=i,n.d(e,"a",function(){return c});var a=[],u=o["ɵcrt"]({encapsulation:2,styles:a,data:{}}),c=o["ɵccf"]("ngb-modal-window",l.a,r,{backdrop:"backdrop",keyboard:"keyboard",size:"size",windowClass:"windowClass"},{dismissEvent:"dismiss"},["*"])},SGWz:function(t,e,n){"use strict";var i=n("rCTf"),r=n("UELl");i.Observable.prototype.mergeScan=r.mergeScan},SIx6:function(t,e,n){"use strict";var i=n("dBGY"),r=n("aV5h");n.n(r);n.d(e,"a",function(){return o});var o=function(){function t(t){this.notifService=t,this.alerts=[]}return t.prototype.ngOnInit=function(){var t=this;this.notifService.getMessageSubject().subscribe(function(e){t.alerts.push(e),setTimeout(function(){t.closeAlert(0)},5e3)})},t.prototype.closeAlert=function(t){this.alerts.splice(t,1)},t.ctorParameters=function(){return[{type:i.a}]},t}()},SSeX:function(t,e,n){"use strict";var i=n("rCTf"),r=n("2AEF");i.Observable.prototype.exhaustMap=r.exhaustMap},SUuD:function(t,e,n){"use strict";var i=n("rCTf"),r=n("rpzr");i.Observable.interval=r.interval},SudU:function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=0),this.lift(new o(t,e))}var r=n("ftJA");e.subscribeOn=i;var o=function(){function t(t,e){this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return new r.SubscribeOnObservable(e,this.delay,this.scheduler).subscribe(t)},t}()},T3fU:function(t,e,n){"use strict";var i=n("rCTf"),r=n("q+cp");i.Observable.prototype.takeUntil=r.takeUntil},"TIy+":function(t,e,n){"use strict";var i=n("/J7H");e.fromEvent=i.FromEventObservable.create},TL2s:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("kcyo"),o=n("cwzr"),l=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return i(e,t),e.prototype.requestAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0?t.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e.scheduled||(e.scheduled=r.Immediate.setImmediate(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,i){if(void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,i);0===e.actions.length&&(r.Immediate.clearImmediate(n),e.scheduled=void 0)},e}(o.AsyncAction);e.AsapAction=l},TXv1:function(t,e,n){"use strict";function i(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-folder"],["style","margin-right:10px; font-size: 3em; cursor: pointer;"]],null,null,null,null,null))],null,null)}function r(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-file-text"],["style","margin-right:10px;font-size: 3em; cursor: pointer;"]],null,null,null,null,null))],null,null)}function o(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,7,"button",[["class","list-group-item list-group-item-action"],["style","cursor:pointer"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.navToDir(t.context.$implicit)&&i}return i},null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵand"](16777216,null,null,1,null,i)),a["ɵdid"](16384,null,0,u.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵand"](16777216,null,null,1,null,r)),a["ɵdid"](16384,null,0,u.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),a["ɵted"](null,["\n ","\n "]))],function(t,e){t(e,3,0,e.context.$implicit.directorio),t(e,6,0,!e.context.$implicit.directorio)},function(t,e){t(e,7,0,e.context.$implicit.nombre)})}function l(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,34,"div",[["class","modal-dialog"],["style","margin-top:100px;"]],null,null,null,null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,31,"div",[["class","modal-content"]],null,null,null,null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,7,"div",[["class","modal-header"]],null,null,null,null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,1,"h6",[["class","modal-title pull-lefth"]],null,null,null,null,null)),(t()(),a["ɵted"](null,["¿Dónde quieres mover el archivo?"])),(t()(),a["ɵted"](null,[" \n "])),(t()(),a["ɵeld"](0,null,null,1,"button",[["class","close"],["style","margin-rigth:8px;"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.close()&&i}return i},null,null)),(t()(),a["ɵted"](null,["×"])),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,10,"div",[["class","modal-body"],["style","height:350px;overflow-y: scroll;"]],null,null,null,null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,7,"div",[],null,null,null,null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,4,"div",[["class","list-group"]],null,null,null,null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵand"](16777216,null,null,1,null,o)),a["ɵdid"](802816,null,0,u.NgForOf,[a.ViewContainerRef,a.TemplateRef,a.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,7,"div",[["class","modal-footer"]],null,null,null,null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,1,"button",[["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.navBack()&&i}return i},null,null)),(t()(),a["ɵted"](null,["Atras"])),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,1,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.move()&&i}return i},null,null)),(t()(),a["ɵted"](null,["Mover aquÃ"])),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵted"](null,["\n "]))],function(t,e){t(e,20,0,e.component.directorioActual.archivos)},null)}function s(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,1,"confirm",[],null,null,null,l,d)),a["ɵdid"](180224,null,0,c.a,[h.DialogService],null,null)],null,null)}var a=n("3j3K"),u=n("2Je8"),c=n("AUek"),h=n("hz2l");n.n(h);n.d(e,"a",function(){return f});var p=[],d=a["ɵcrt"]({encapsulation:2,styles:p,data:{}}),f=a["ɵccf"]("confirm",c.a,s,{},{},[])},U6gI:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){}return t.prototype.isMuted=function(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)},t}();r.decorators=[{type:i.Component,args:[{selector:"[ngbDatepickerDayView]",styles:["\n :host {\n text-align: center;\n width: 2rem;\n height: 2rem;\n line-height: 2rem; \n border-radius: 0.25rem;\n }\n :host.outside {\n opacity: 0.5;\n }\n "],host:{"[class.bg-primary]":"selected","[class.text-white]":"selected","[class.text-muted]":"isMuted()","[class.outside]":"isMuted()","[class.btn-secondary]":"!disabled"},template:"{{ date.day }}"}]}],r.ctorParameters=function(){return[]},r.propDecorators={currentMonth:[{type:i.Input}],date:[{type:i.Input}],disabled:[{type:i.Input}],selected:[{type:i.Input}]}},U85J:function(t,e,n){"use strict";var i=n("rCTf"),r=n("b1Ba");i.Observable.bindNodeCallback=r.bindNodeCallback},U9ky:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t.length;if(0===n)throw new Error("list of properties cannot be empty.");return o.map.call(this,r(t,n))}function r(t,e){return function(n){for(var i=n,r=0;r<e;r++){var o=i[t[r]];if(void 0===o)return;i=o}return i}}var o=n("xAJs");e.pluck=i},UELl:function(t,e,n){"use strict";function i(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),this.lift(new u(t,e,n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("+3eL"),l=n("WhVc"),s=n("CURp"),a=n("wAkD");e.mergeScan=i;var u=function(){function t(t,e,n){this.accumulator=t,this.seed=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.accumulator,this.seed,this.concurrent))},t}();e.MergeScanOperator=u;var c=function(t){function e(e,n,i,r){t.call(this,e),this.accumulator=n,this.acc=i,this.concurrent=r,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return r(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.index++,n=o.tryCatch(this.accumulator)(this.acc,t),i=this.destination;n===l.errorObject?i.error(l.errorObject.e):(this.active++,this._innerSub(n,t,e))}else this.buffer.push(t)},e.prototype._innerSub=function(t,e,n){this.add(s.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e.prototype.notifyNext=function(t,e,n,i,r){var o=this.destination;this.acc=e,this.hasValue=!0,o.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(a.OuterSubscriber);e.MergeScanSubscriber=c},"UFi/":function(t,e,n){"use strict";var i=n("rCTf"),r=n("xYP1");i.Observable.prototype.sequenceEqual=r.sequenceEqual},UNGF:function(t,e,n){"use strict";var i=n("rCTf"),r=n("pgP5");i.Observable.prototype.reduce=r.reduce},UmTU:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null,i=null;return r.isScheduler(t[t.length-1])&&(i=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&o.isArray(t[0])&&(t=t[0]),new l.ArrayObservable(t,i).lift(new s.CombineLatestOperator(n))}var r=n("fWbP"),o=n("Xajo"),l=n("Yh8Q"),s=n("A7JX");e.combineLatest=i},Uqs8:function(t,e,n){"use strict";var i=n("TL2s"),r=n("1Cj3");e.asap=new r.AsapScheduler(i.AsapAction)},UyZi:function(t,e,n){"use strict";var i=n("3j3K"),r=n("9XFw"),o=n("xOmt"),l=n("CXHW"),s=n("3kwk");n("WtdY"),n("nxqe");n.d(e,"a",function(){return a});var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a,l.a]}},t}();a.decorators=[{type:i.NgModule,args:[{declarations:[r.a,o.a],entryComponents:[r.a,o.a],providers:[s.a]}]}],a.ctorParameters=function(){return[]}},UyzR:function(t,e,n){"use strict";var i=n("rCTf"),r=n("XvGf");i.Observable.prototype.switch=r._switch,i.Observable.prototype._switch=r._switch},VEfc:function(t,e,n){"use strict";function i(t,e){return this.lift(new s(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),l=n("CURp");e.switchMap=i;var s=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.resultSelector))},t}(),a=function(t){function e(e,n,i){t.call(this,e),this.project=n,this.resultSelector=i,this.index=0}return r(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var i=this.innerSubscription;i&&i.unsubscribe(),this.add(this.innerSubscription=l.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,i,r){this.resultSelector?this._tryNotifyNext(t,e,n,i):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,n,i){var r;try{r=this.resultSelector(t,e,n,i)}catch(t){return void this.destination.error(t)}this.destination.next(r)},e}(o.OuterSubscriber)},VaQ6:function(t,e,n){"use strict";var i=n("rCTf"),r=n("sake");i.Observable.prototype.skipWhile=r.skipWhile},VfeM:function(t,e,n){"use strict";var i=n("rCTf"),r=n("iESu");i.Observable.prototype.flatMapTo=r.mergeMapTo,i.Observable.prototype.mergeMapTo=r.mergeMapTo},"W1/H":function(t,e,n){"use strict";var i=n("rCTf"),r=n("YgqK");i.Observable.prototype.findIndex=r.findIndex},W5jB:function(t,e,n){"use strict";var i=n("3j3K"),r=n("2yGx"),o=n("nCuf");n.d(e,"a",function(){return l});var l=function(){function t(t){this.value=0,this.max=t.max,this.animated=t.animated,this.striped=t.striped,this.type=t.type,this.showValue=t.showValue}return t.prototype.getValue=function(){return n.i(r.e)(this.value,this.max)},t.prototype.getPercentValue=function(){return 100*this.getValue()/this.max},t}();l.decorators=[{type:i.Component,args:[{selector:"ngb-progressbar",changeDetection:i.ChangeDetectionStrategy.OnPush,template:'\n <div class="progress">\n <div class="progress-bar{{type ? \' bg-\' + type : \'\'}}{{animated ? \' progress-bar-animated\' : \'\'}}{{striped ?\n \' progress-bar-striped\' : \'\'}}" role="progressbar" [style.width.%]="getPercentValue()"\n [attr.aria-valuenow]="getValue()" aria-valuemin="0" [attr.aria-valuemax]="max">\n <span *ngIf="showValue">{{getPercentValue()}}%</span><ng-content></ng-content>\n </div>\n </div>\n '}]}],l.ctorParameters=function(){return[{type:o.a}]},l.propDecorators={max:[{type:i.Input}],animated:[{type:i.Input}],striped:[{type:i.Input}],showValue:[{type:i.Input}],type:[{type:i.Input}],value:[{type:i.Input}]}},WKBe:function(t,e,n){"use strict";var i=n("3j3K"),r=n("WtNX"),o=n("ETCP");n.d(e,"a",function(){return l});var l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}();l.decorators=[{type:i.NgModule,args:[{declarations:[r.a,r.b],exports:[r.a],entryComponents:[r.b]}]}],l.ctorParameters=function(){return[]}},WQmy:function(t,e,n){"use strict";var i=n("rCTf"),r=n("+ayw");i.Observable.prototype.share=r.share},WTUZ:function(t,e,n){"use strict";function i(t){return this.lift(new u(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("+3eL"),l=n("WhVc"),s=n("wAkD"),a=n("CURp");e.audit=i;var u=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.durationSelector))},t}(),c=function(t){function e(e,n){t.call(this,e),this.durationSelector=n,this.hasValue=!1}return r(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=o.tryCatch(this.durationSelector)(t);if(e===l.errorObject)this.destination.error(l.errorObject.e);else{var n=a.subscribeToResult(this,e);n.closed?this.clearThrottle():this.add(this.throttled=n)}}},e.prototype.clearThrottle=function(){var t=this,e=t.value,n=t.hasValue,i=t.throttled;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),n&&(this.value=null,this.hasValue=!1,this.destination.next(e))},e.prototype.notifyNext=function(t,e,n,i){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(s.OuterSubscriber)},Whbc:function(t,e,n){"use strict";var i=n("rCTf"),r=n("1hN3");i.Observable.prototype.bufferWhen=r.bufferWhen},WnEV:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Rgi1");i.Observable.prototype.skipLast=r.skipLast},WtNX:function(t,e,n){"use strict";var i=n("3j3K"),r=n("aalB"),o=n("jRSa"),l=n("/PMa"),s=n("ETCP");n.d(e,"b",function(){return u}),n.d(e,"a",function(){return c});var a=0,u=function(){function t(){this.placement="top"}return t}();u.decorators=[{type:i.Component,args:[{selector:"ngb-popover-window",changeDetection:i.ChangeDetectionStrategy.OnPush,host:{"[class]":'"popover show popover-" + placement',role:"tooltip","[id]":"id"},template:'\n <h3 class="popover-title">{{title}}</h3><div class="popover-content"><ng-content></ng-content></div>\n '}]}],u.ctorParameters=function(){return[]},u.propDecorators={placement:[{type:i.Input}],title:[{type:i.Input}],id:[{type:i.Input}]};var c=function(){function t(t,e,r,s,c,h,p){var d=this;this._elementRef=t,this._renderer=e,this.shown=new i.EventEmitter,this.hidden=new i.EventEmitter,this._ngbPopoverWindowId="ngb-popover-"+a++,this.placement=h.placement,this.triggers=h.triggers,this.container=h.container,this._popupService=new l.a(u,r,c,e,s),this._zoneSubscription=p.onStable.subscribe(function(){d._windowRef&&n.i(o.a)(d._elementRef.nativeElement,d._windowRef.location.nativeElement,d.placement,"body"===d.container)})}return t.prototype.open=function(t){this._windowRef||(this._windowRef=this._popupService.open(this.ngbPopover,t),this._windowRef.instance.placement=this.placement,this._windowRef.instance.title=this.popoverTitle,this._windowRef.instance.id=this._ngbPopoverWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.markForCheck(),this.shown.emit())},t.prototype.close=function(){this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=n.i(r.a)(this._renderer,this._elementRef.nativeElement,this.triggers,this.open.bind(this),this.close.bind(this),this.toggle.bind(this))},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t}();c.decorators=[{type:i.Directive,args:[{selector:"[ngbPopover]",exportAs:"ngbPopover"}]}],c.ctorParameters=function(){return[{type:i.ElementRef},{type:i.Renderer2},{type:i.Injector},{type:i.ComponentFactoryResolver},{type:i.ViewContainerRef},{type:s.a},{type:i.NgZone}]},c.propDecorators={ngbPopover:[{type:i.Input}],popoverTitle:[{type:i.Input}],placement:[{type:i.Input}],triggers:[{type:i.Input}],container:[{type:i.Input}],shown:[{type:i.Output}],hidden:[{type:i.Output}]}},WtdY:function(t,e,n){"use strict";var i=n("3j3K"),r=n("/PMa");n.d(e,"a",function(){return o}),n.d(e,"b",function(){return l});var o=function(){function t(){}return t.prototype.close=function(t){},t.prototype.dismiss=function(t){},t}();o.decorators=[{type:i.Injectable}],o.ctorParameters=function(){return[]};var l=function(){function t(t,e,n){var i=this;this._windowCmptRef=t,this._contentRef=e,this._backdropCmptRef=n,t.instance.dismissEvent.subscribe(function(t){i.dismiss(t)}),this.result=new Promise(function(t,e){i._resolve=t,i._reject=e}),this.result.then(null,function(){})}return Object.defineProperty(t.prototype,"componentInstance",{get:function(){if(this._contentRef.componentRef)return this._contentRef.componentRef.instance},set:function(t){},enumerable:!0,configurable:!0}),t.prototype.close=function(t){this._windowCmptRef&&(this._resolve(t),this._removeModalElements())},t.prototype.dismiss=function(t){this._windowCmptRef&&(this._reject(t),this._removeModalElements())},t.prototype._removeModalElements=function(){var t=this._windowCmptRef.location.nativeElement;if(t.parentNode.removeChild(t),this._windowCmptRef.destroy(),this._backdropCmptRef){var e=this._backdropCmptRef.location.nativeElement;e.parentNode.removeChild(e),this._backdropCmptRef.destroy()}this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._backdropCmptRef=null,this._contentRef=null},t}();l.decorators=[{type:i.Injectable}],l.ctorParameters=function(){return[{type:i.ComponentRef},{type:r.b},{type:i.ComponentRef}]}},WxOs:function(t,e,n){"use strict";function i(t){var e=this,n=t.source,i=t.subscriber,l=t.context,s=n,h=s.callbackFunc,p=s.args,d=s.scheduler,f=n.subject;if(!f){f=n.subject=new c.AsyncSubject;var m=function t(){for(var n=[],i=0;i<arguments.length;i++)n[i-0]=arguments[i];var l=t.source,s=l.selector,c=l.subject,h=n.shift();if(h)e.add(d.schedule(o,0,{err:h,subject:c}));else if(s){var p=a.tryCatch(s).apply(this,n);p===u.errorObject?e.add(d.schedule(o,0,{err:u.errorObject.e,subject:c})):e.add(d.schedule(r,0,{value:p,subject:c}))}else{var f=n.length<=1?n[0]:n;e.add(d.schedule(r,0,{value:f,subject:c}))}};m.source=n;a.tryCatch(h).apply(l,p.concat(m))===u.errorObject&&e.add(d.schedule(o,0,{err:u.errorObject.e,subject:f}))}e.add(f.subscribe(i))}function r(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function o(t){var e=t.err;t.subject.error(e)}var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("rCTf"),a=n("+3eL"),u=n("WhVc"),c=n("5c/I"),h=function(t){function e(e,n,i,r,o){t.call(this),this.callbackFunc=e,this.selector=n,this.args=i,this.context=r,this.scheduler=o}return l(e,t),e.create=function(t,n,i){return void 0===n&&(n=void 0),function(){for(var r=[],o=0;o<arguments.length;o++)r[o-0]=arguments[o];return new e(t,n,r,this,i)}},e.prototype._subscribe=function(t){var e=this.callbackFunc,n=this.args,r=this.scheduler,o=this.subject;if(r)return r.schedule(i,0,{source:this,subscriber:t,context:this.context});if(!o){o=this.subject=new c.AsyncSubject;var l=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var i=t.source,r=i.selector,o=i.subject,l=e.shift();if(l)o.error(l);else if(r){var s=a.tryCatch(r).apply(this,e);s===u.errorObject?o.error(u.errorObject.e):(o.next(s),o.complete())}else o.next(e.length<=1?e[0]:e),o.complete()};l.source=this;a.tryCatch(e).apply(this.context,n.concat(l))===u.errorObject&&o.error(u.errorObject.e)}return o.subscribe(t)},e}(s.Observable);e.BoundNodeCallbackObservable=h},X2ud:function(t,e,n){"use strict";function i(t){return this.lift(new r.CombineLatestOperator(t))}var r=n("A7JX");e.combineAll=i},XKof:function(t,e,n){"use strict";var i=n("rCTf"),r=n("sVus");i.Observable.prototype.timeInterval=r.timeInterval},XMV4:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("YqEa");e.BootstrapModalModule=i.BootstrapModalModule;var r=n("MvGQ");e.DialogComponent=r.DialogComponent;var o=n("hz2l");e.DialogService=o.DialogService,e.DialogServiceConfig=o.DialogServiceConfig},XZ4o:function(t,e,n){"use strict";var i=n("rCTf"),r=n("0GXu");i.Observable.prototype.repeat=r.repeat},XlOA:function(t,e,n){"use strict";var i=n("rCTf"),r=n("UmTU");i.Observable.combineLatest=r.combineLatest},XvGf:function(t,e,n){"use strict";function i(){return this.lift(new s)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),l=n("CURp");e._switch=i;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e),this.active=0,this.hasCompleted=!1}return r(e,t),e.prototype._next=function(t){this.unsubscribeInner(),this.active++,this.add(this.innerSubscription=l.subscribeToResult(this,t))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&this.destination.complete()},e.prototype.unsubscribeInner=function(){this.active=this.active>0?this.active-1:0;var t=this.innerSubscription;t&&(t.unsubscribe(),this.remove(t))},e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(e)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.unsubscribeInner(),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(o.OuterSubscriber)},Y3FH:function(t,e,n){"use strict";function i(t){return o["ɵvid"](0,[o["ɵpid"](0,l.DatePipe,[o.LOCALE_ID]),(t()(),o["ɵeld"](0,null,null,42,"div",[["class","modal-dialog"],["style","margin-top:100px;"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,39,"div",[["class","modal-content"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,7,"div",[["class","modal-header"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"h6",[["class","modal-title pull-lefth"]],null,null,null,null,null)),(t()(),o["ɵted"](null,['Calificación "','":'])),(t()(),o["ɵted"](null,[" \n "])),(t()(),o["ɵeld"](0,null,null,1,"button",[["class","close"],["style","margin-rigth:8px;"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.close()&&i}return i},null,null)),(t()(),o["ɵted"](null,["×"])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,21,"div",[["class","modal-body"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,18,"div",[],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,2,"label",[],null,null,null,null,null)),(t()(),o["ɵeld"](0,null,null,1,"b",[],null,null,null,null,null)),(t()(),o["ɵted"](null,["Fecha: "])),(t()(),o["ɵted"](null,[" ",""])),o["ɵppd"](1),(t()(),o["ɵeld"](0,null,null,0,"br",[],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,2,"label",[],null,null,null,null,null)),(t()(),o["ɵeld"](0,null,null,1,"b",[],null,null,null,null,null)),(t()(),o["ɵted"](null,["Nota (1-100): "])),(t()(),o["ɵted"](null,[" ",""])),(t()(),o["ɵeld"](0,null,null,0,"br",[],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,2,"label",[],null,null,null,null,null)),(t()(),o["ɵeld"](0,null,null,1,"b",[],null,null,null,null,null)),(t()(),o["ɵted"](null,["Detalle: "])),(t()(),o["ɵted"](null,[" ","\n "])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,4,"div",[["class","modal-footer"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.close()&&i}return i},null,null)),(t()(),o["ɵted"](null,["Cerrar"])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n "]))],null,function(t,e){var n=e.component;t(e,8,0,n.archivo.nombre),t(e,21,0,o["ɵunv"](e,21,0,t(e,22,0,o["ɵnov"](e,0),n.archivo.evaluacion.fecha))),t(e,28,0,n.archivo.evaluacion.nota),t(e,34,0,n.archivo.evaluacion.descripcion)})}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"confirm",[],null,null,null,i,c)),o["ɵdid"](180224,null,0,s.a,[a.DialogService],null,null)],null,null)}var o=n("3j3K"),l=n("2Je8"),s=n("q4uO"),a=n("hz2l");n.n(a);n.d(e,"a",function(){return h});var u=[],c=o["ɵcrt"]({encapsulation:2,styles:u,data:{}}),h=o["ɵccf"]("confirm",s.a,r,{},{},[])},Y3yw:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 1===t.length&&l.isArray(t[0])&&(t=t[0]),this.lift.call(r.apply(void 0,[this].concat(t)))}function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];if(1===t.length){if(!l.isArray(t[0]))return t[0];t=t[0]}return new s.ArrayObservable(t).lift(new c)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=n("Xajo"),s=n("Yh8Q"),a=n("wAkD"),u=n("CURp");e.race=i,e.raceStatic=r;var c=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new h(t))},t}();e.RaceOperator=c;var h=function(t){function e(e){t.call(this,e),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}return o(e,t),e.prototype._next=function(t){this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var n=0;n<e&&!this.hasFirst;n++){var i=t[n],r=u.subscribeToResult(this,i,i,n);this.subscriptions&&this.subscriptions.push(r),this.add(r)}this.observables=null}},e.prototype.notifyNext=function(t,e,n,i,r){if(!this.hasFirst){this.hasFirst=!0;for(var o=0;o<this.subscriptions.length;o++)if(o!==n){var l=this.subscriptions[o];l.unsubscribe(),this.remove(l)}this.subscriptions=null}this.destination.next(e)},e}(a.OuterSubscriber);e.RaceSubscriber=h},Y6hq:function(t,e,n){"use strict";function i(){return this.lift(new s)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),l=n("8GmM");e.materialize=i;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e)}return r(e,t),e.prototype._next=function(t){this.destination.next(l.Notification.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(l.Notification.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(l.Notification.createComplete()),t.complete()},e}(o.Subscriber)},YDZ5:function(t,e,n){"use strict";function i(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,2,"ngb-datepicker-navigation-select",[["class","d-block"]],[[4,"width","rem"]],[[null,"select"]],function(t,e,n){var i=!0,r=t.component;if("select"===e){i=!1!==r.selectDate(n)&&i}return i},s.a,s.b)),l["ɵdid"](573440,null,0,a.a,[u.a,c.a],{date:[0,"date"],disabled:[1,"disabled"],maxDate:[2,"maxDate"],minDate:[3,"minDate"]},{select:"select"}),(t()(),l["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,1,0,n.date,n.disabled,n.maxDate,n.minDate)},function(t,e){t(e,0,0,9*e.component.months)})}function r(t){return l["ɵvid"](0,[(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,3,"button",[["class","btn-link"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!=!!r.doNavigate(r.navigation.PREV)&&i}return i},null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,0,"span",[["class","ngb-dp-navigation-chevron"]],null,null,null,null,null)),(t()(),l["ɵted"](null,[" \n "])),(t()(),l["ɵted"](null,["\n \n "])),(t()(),l["ɵand"](16777216,null,null,1,null,i)),l["ɵdid"](16384,null,0,p.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),l["ɵted"](null,["\n \n "])),(t()(),l["ɵeld"](0,null,null,3,"button",[["class","btn-link"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!=!!r.doNavigate(r.navigation.NEXT)&&i}return i},null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,0,"span",[["class","ngb-dp-navigation-chevron right"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n "]))],function(t,e){t(e,7,0,e.component.showSelect)},function(t,e){var n=e.component;t(e,1,0,n.prevDisabled()),t(e,9,0,n.nextDisabled())})}function o(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,1,"ngb-datepicker-navigation",[["class","d-flex justify-content-between"]],[[2,"collapsed",null]],null,null,d.a,d.b)),l["ɵdid"](49152,null,0,h.a,[u.a,c.a],null,null)],null,function(t,e){t(e,0,0,!l["ɵnov"](e,1).showSelect)})}var l=n("3j3K"),s=n("AXLD"),a=n("qBUJ"),u=n("gEbu"),c=n("lcaH"),h=n("3fcS"),p=n("2Je8"),d=n("YDZ5");n.d(e,"b",function(){return m}),e.a=r;var f=["[_nghost-%COMP%] {\n height: 2rem;\n line-height: 1.85rem;\n }\n .collapsed[_nghost-%COMP%] {\n margin-bottom: -2rem; \n }\n .ngb-dp-navigation-chevron[_ngcontent-%COMP%]::before {\n border-style: solid;\n border-width: 0.2em 0.2em 0 0;\n content: '';\n display: inline-block;\n height: 0.75em;\n transform: rotate(-135deg);\n -webkit-transform: rotate(-135deg);\n -ms-transform: rotate(-135deg);\n width: 0.75em;\n margin: 0 0 0 0.5rem;\n } \n .ngb-dp-navigation-chevron.right[_ngcontent-%COMP%]:before {\n -webkit-transform: rotate(45deg);\n -ms-transform: rotate(45deg);\n transform: rotate(45deg);\n margin: 0 0.5rem 0 0;\n }\n .btn-link[_ngcontent-%COMP%] {\n cursor: pointer;\n outline: 0;\n }\n .btn-link[disabled][_ngcontent-%COMP%] {\n cursor: not-allowed;\n opacity: .65;\n }"],m=l["ɵcrt"]({encapsulation:0,styles:f,data:{}});l["ɵccf"]("ngb-datepicker-navigation",h.a,o,{date:"date",disabled:"disabled",maxDate:"maxDate",minDate:"minDate",months:"months",showSelect:"showSelect",showWeekNumbers:"showWeekNumbers"},{navigate:"navigate",select:"select"},[])},YJv1:function(t,e,n){"use strict";function i(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,1,"span",[],[[8,"className",0]],null,null,null,null)),(t()(),a["ɵted"](null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,a["ɵinlineInterpolate"](1,"",n.highlightClass,"")),t(e,1,0,e.parent.context.$implicit)})}function r(t){return a["ɵvid"](0,[(t()(),a["ɵted"](null,["",""]))],null,function(t,e){t(e,0,0,e.parent.context.$implicit)})}function o(t){return a["ɵvid"](0,[(t()(),a["ɵand"](16777216,null,null,1,null,i)),a["ɵdid"](16384,null,0,u.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),a["ɵand"](16777216,null,null,1,null,r)),a["ɵdid"](16384,null,0,u.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),a["ɵand"](0,null,null,0))],function(t,e){t(e,1,0,e.context.odd),t(e,3,0,!e.context.odd)},null)}function l(t){return a["ɵvid"](2,[(t()(),a["ɵand"](16777216,null,null,1,null,o)),a["ɵdid"](802816,null,0,u.NgForOf,[a.ViewContainerRef,a.TemplateRef,a.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,1,0,e.component.parts)},null)}function s(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,1,"ngb-highlight",[],null,null,null,h.a,h.b)),a["ɵdid"](573440,null,0,c.a,[],null,null)],null,null)}var a=n("3j3K"),u=n("2Je8"),c=n("EzwU"),h=n("YJv1");n.d(e,"b",function(){return d}),e.a=l;var p=[".ngb-highlight[_ngcontent-%COMP%] {\n font-weight: bold;\n }"],d=a["ɵcrt"]({encapsulation:0,styles:p,data:{}});a["ɵccf"]("ngb-highlight",c.a,s,{highlightClass:"highlightClass",result:"result",term:"term"},{},[])},"YOd+":function(t,e,n){"use strict";function i(){}e.noop=i},Ye9U:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Y6hq");i.Observable.prototype.materialize=r.materialize},Yfq7:function(t,e,n){"use strict";var i=n("rCTf"),r=n("GR1s");i.Observable.prototype.exhaust=r.exhaust},YgqK:function(t,e,n){"use strict";function i(t,e){return this.lift(new r.FindValueOperator(t,this,!0,e))}var r=n("GZqV");e.findIndex=i},YqEa:function(t,e,n){"use strict";function i(t,e,n,i){return new u.DialogService(t,e,n,i)}var r=this&&this.__decorate||function(t,e,n,i){var r,o=arguments.length,l=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(l=(o<3?r(l):o>3?r(e,n,l):r(e,n))||l);return o>3&&l&&Object.defineProperty(e,n,l),l};Object.defineProperty(e,"__esModule",{value:!0});var o=n("3j3K"),l=n("2Je8"),s=n("BnNN"),a=n("7064"),u=n("hz2l");e.dialogServiceFactory=i;var c=h=function(){function t(){}return t.forRoot=function(t){return{ngModule:h,providers:[{provide:u.DialogServiceConfig,useValue:t},{provide:u.DialogService,useFactory:i,deps:[o.ComponentFactoryResolver,o.ApplicationRef,o.Injector,u.DialogServiceConfig]}]}},t}();c=h=r([o.NgModule({declarations:[s.DialogHolderComponent,a.DialogWrapperComponent],providers:[u.DialogService],imports:[l.CommonModule],entryComponents:[s.DialogHolderComponent,a.DialogWrapperComponent]})],c),e.BootstrapModalModule=c;var h},Yuqe:function(t,e,n){"use strict";function i(t,e){return this.lift(new r.MergeMapToOperator(t,e,1))}var r=n("iESu");e.concatMapTo=i},ZvZx:function(t,e,n){"use strict";function i(t){var e="function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e};return this.lift(new r.ReduceOperator(e))}var r=n("pgP5");e.max=i},ZwZs:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.closeOthers=!1}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},a0Ch:function(t,e,n){"use strict";var i=n("rCTf"),r=n("8DDp");i.Observable.prototype.timeoutWith=r.timeoutWith},aKiW:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.max=10,this.readonly=!1,this.resettable=!1}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},aV5h:function(t,e,n){"use strict";var i=n("rCTf"),r=n("driz");i.Observable.prototype.debounceTime=r.debounceTime},aalB:function(t,e,n){"use strict";function i(t,e){void 0===e&&(e=l);var n=(t||"").trim();if(0===n.length)return[];var i=n.split(/\s+/).map(function(t){return t.split(":")}).map(function(t){var n=e[t[0]]||t;return new o(n[0],n[1])}),r=i.filter(function(t){return t.isManual()});if(r.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===r.length&&i.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return i}function r(t,e,n,r,o,l){var a=i(n),u=[];return 1===a.length&&a[0].isManual()?s:(a.forEach(function(n){n.open===n.close?u.push(t.listen(e,n.open,l)):u.push(t.listen(e,n.open,r),t.listen(e,n.close,o))}),function(){u.forEach(function(t){return t()})})}e.a=r;var o=function(){function t(t,e){this.open=t,this.close=e,e||(this.close=t)}return t.prototype.isManual=function(){return"manual"===this.open||"manual"===this.close},t}(),l={hover:["mouseenter","mouseleave"]},s=function(){}},adqA:function(t,e,n){"use strict";var i=n("rCTf"),r=n("tn1n");i.Observable.prototype.partition=r.partition},aec7:function(t,e,n){"use strict";function i(t,e){void 0===e&&(e=o.async);var n=l.isDate(t),i=n?+t-e.now():Math.abs(t);return this.lift(new u(i,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("CGGv"),l=n("fuZx"),s=n("mmVS"),a=n("8GmM");e.delay=i;var u=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.delay,this.scheduler))},t}(),c=function(t){function e(e,n,i){t.call(this,e),this.delay=n,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}return r(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,i=t.scheduler,r=t.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var o=Math.max(0,n[0].time-i.now());this.schedule(t,o)}else e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new h(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(a.Notification.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},e.prototype._complete=function(){this.scheduleNotification(a.Notification.createComplete())},e}(s.Subscriber),h=function(){function t(t,e){this.time=t,this.notification=e}return t}()},ao9a:function(t,e,n){!function(t){t(n("8U58"))}(function(t){"use strict";t.defineMode("haskell",function(t,e){function n(t,e,n){return e(n),n(t,e)}function i(t,e){if(t.eatWhile(m))return null;var i=t.next();if(f.test(i)){if("{"==i&&t.eat("-")){var l="comment";return t.eat("#")&&(l="meta"),n(t,e,r(l,1))}return null}if("'"==i)return t.eat("\\"),t.next(),t.eat("'")?"string":"string error";if('"'==i)return n(t,e,o);if(a.test(i))return t.eatWhile(p),t.eat(".")?"qualifier":"variable-2";if(s.test(i))return t.eatWhile(p),"variable";if(u.test(i)){if("0"==i){if(t.eat(/[xX]/))return t.eatWhile(c),"integer";if(t.eat(/[oO]/))return t.eatWhile(h),"number"}t.eatWhile(u);var l="number";return t.match(/^\.\d+/)&&(l="number"),t.eat(/[eE]/)&&(l="number",t.eat(/[-+]/),t.eatWhile(u)),l}if("."==i&&t.eat("."))return"keyword";if(d.test(i)){if("-"==i&&t.eat(/-/)&&(t.eatWhile(/-/),!t.eat(d)))return t.skipToEnd(),"comment";var l="variable";return":"==i&&(l="variable-2"),t.eatWhile(d),l}return"error"}function r(t,e){return 0==e?i:function(n,o){for(var l=e;!n.eol();){var s=n.next();if("{"==s&&n.eat("-"))++l;else if("-"==s&&n.eat("}")&&0==--l)return o(i),t}return o(r(t,l)),t}}function o(t,e){for(;!t.eol();){var n=t.next();if('"'==n)return e(i),"string";if("\\"==n){if(t.eol()||t.eat(m))return e(l),"string";t.eat("&")||t.next()}}return e(i),"string error"}function l(t,e){return t.eat("\\")?n(t,e,o):(t.next(),e(i),"error")}var s=/[a-z_]/,a=/[A-Z]/,u=/\d/,c=/[0-9A-Fa-f]/,h=/[0-7]/,p=/[a-z_A-Z0-9'\xa1-\uffff]/,d=/[-!#$%&*+.\/<=>?@\\^|~:]/,f=/[(),;[\]`{}]/,m=/[ \t\v\f]/,v=function(){function t(t){return function(){for(var e=0;e<arguments.length;e++)n[arguments[e]]=t}}var n={};t("keyword")("incluir","conj","en","si","o","esVacia"),t("keyword")("<-","->"),t("builtin")("-","+","*","/","^","!",":","==","/=","<",">","<=",">=","::","->","X","|"),t("builtin")("Rojo","Verde","Azul","Negro","Blanco","Gris","Amarillo","FigVacia","[]","R","Fig","Color"),t("builtin")("abs","acos","acosh","all","and","any","appendFile","asTypeOf","asin","asinh","atan","atan2","atanh","break","catch","ceiling","compare","concat","concatMap","const","cos","cosh","curry","cycle","decodeFloat","div","divMod","drop","dropWhile","either","elem","encodeFloat","enumFrom","enumFromThen","enumFromThenTo","enumFromTo","error","even","exp","exponent","fail","filter","flip","floatDigits","floatRadix","floatRange","floor","fmap","foldl","foldl1","foldr","foldr1","fromEnum","fromInteger","fromIntegral","fromRational","fst","gcd","getChar","getContents","getLine","head","id","init","interact","ioError","isDenormalized","isIEEE","isInfinite","isNaN","isNegativeZero","iterate","last","lcm","length","lex","lines","log","logBase","lookup","map","mapM","mapM_","max","maxBound","maximum","maybe","min","minBound","minimum","mod","negate","not","notElem","null","odd","or","otherwise","pi","pred","print","product","properFraction","putChar","putStr","putStrLn","quot","quotRem","read","readFile","readIO","readList","readLn","readParen","reads","readsPrec","realToFrac","recip","rem","repeat","replicate","return","reverse","round","scaleFloat","scanl","scanl1","scanr","scanr1","seq","sequence","sequence_","show","showChar","showList","showParen","showString","shows","showsPrec","significand","signum","sin","sinh","snd","span","splitAt","sqrt","subtract","succ","sum","tail","take","takeWhile","tan","tanh","toEnum","toInteger","toRational","truncate","uncurry","undefined","unlines","until","unwords","unzip","unzip3","userError","words","writeFile","zip","zip3","zipWith","zipWith3");var i=e.overrideKeywords;if(i)for(var r in i)i.hasOwnProperty(r)&&(n[r]=i[r]);return n}();return{startState:function(){return{f:i}},copyState:function(t){return{f:t.f}},token:function(t,e){var n=e.f(t,function(t){e.f=t}),i=t.current();return v.hasOwnProperty(i)?v[i]:n},blockCommentStart:"{-",blockCommentEnd:"-}",lineComment:"--"}}),t.defineMIME("text/x-haskell","haskell")})},"as+d":function(t,e,n){"use strict";var i=n("3j3K"),r=n("2Je8"),o=n("edM1"),l=n("v4DA");n.d(e,"a",function(){return a});var s=[o.a,o.b,o.c,o.d],a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[l.a]}},t}();a.decorators=[{type:i.NgModule,args:[{declarations:s,exports:s,imports:[r.CommonModule]}]}],a.ctorParameters=function(){return[]}},b1Ba:function(t,e,n){"use strict";var i=n("WxOs");e.bindNodeCallback=i.BoundNodeCallbackObservable.create},"bZY+":function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("P3oE"),o=n("rCTf"),l=n("CGGv"),s=function(t){function e(e,n){void 0===e&&(e=0),void 0===n&&(n=l.async),t.call(this),this.period=e,this.scheduler=n,(!r.isNumeric(e)||e<0)&&(this.period=0),n&&"function"==typeof n.schedule||(this.scheduler=l.async)}return i(e,t),e.create=function(t,n){return void 0===t&&(t=0),void 0===n&&(n=l.async),new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.subscriber,i=t.period;n.next(e),n.closed||(t.index+=1,this.schedule(t,i))},e.prototype._subscribe=function(t){var n=this.period,i=this.scheduler;t.add(i.schedule(e.dispatch,n,{index:0,subscriber:t,period:n}))},e}(o.Observable);e.IntervalObservable=s},c3t5:function(t,e,n){"use strict";var i=n("rCTf"),r=n("ioK+");i.Observable.fromPromise=r.fromPromise},c7mC:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.up=!1,this.autoClose=!0}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},cDAr:function(t,e,n){"use strict";var i=n("rCTf"),r=n("E/WS");i.Observable.prototype.timeout=r.timeout},cG9e:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.editable=!0,this.focusFirst=!0,this.showHint=!1}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},cJSH:function(t,e,n){"use strict";function i(t,e,n,i){return this.lift(new h(t,e,n,i))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),l=n("B00U"),s=n("rCTf"),a=n("EEr4"),u=n("9JPB"),c=n("1kxm");e.groupBy=i;var h=function(){function t(t,e,n,i){this.keySelector=t,this.elementSelector=e,this.durationSelector=n,this.subjectSelector=i}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},t}(),p=function(t){function e(e,n,i,r,o){t.call(this,e),this.keySelector=n,this.elementSelector=i,this.durationSelector=r,this.subjectSelector=o,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}return r(e,t),e.prototype._next=function(t){var e;try{e=this.keySelector(t)}catch(t){return void this.error(t)}this._group(t,e)},e.prototype._group=function(t,e){var n=this.groups;n||(n=this.groups="string"==typeof e?new c.FastMap:new u.Map);var i,r=n.get(e);if(this.elementSelector)try{i=this.elementSelector(t)}catch(t){this.error(t)}else i=t;if(!r){r=this.subjectSelector?this.subjectSelector():new a.Subject,n.set(e,r);var o=new f(e,r,this);if(this.destination.next(o),this.durationSelector){var l=void 0;try{l=this.durationSelector(new f(e,r))}catch(t){return void this.error(t)}this.add(l.subscribe(new d(e,r,this)))}}r.closed||r.next(i)},e.prototype._error=function(t){var e=this.groups;e&&(e.forEach(function(e,n){e.error(t)}),e.clear()),this.destination.error(t)},e.prototype._complete=function(){var t=this.groups;t&&(t.forEach(function(t,e){t.complete()}),t.clear()),this.destination.complete()},e.prototype.removeGroup=function(t){this.groups.delete(t)},e.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&t.prototype.unsubscribe.call(this))},e}(o.Subscriber),d=function(t){function e(e,n,i){t.call(this,n),this.key=e,this.group=n,this.parent=i}return r(e,t),e.prototype._next=function(t){this.complete()},e.prototype._unsubscribe=function(){var t=this,e=t.parent,n=t.key;this.key=this.parent=null,e&&e.removeGroup(n)},e}(o.Subscriber),f=function(t){function e(e,n,i){t.call(this),this.key=e,this.groupSubject=n,this.refCountSubscription=i}return r(e,t),e.prototype._subscribe=function(t){var e=new l.Subscription,n=this,i=n.refCountSubscription,r=n.groupSubject;return i&&!i.closed&&e.add(new m(i)),e.add(r.subscribe(t)),e},e}(s.Observable);e.GroupedObservable=f;var m=function(t){function e(e){t.call(this),this.parent=e,e.count++}return r(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(l.Subscription)},cPwE:function(t,e,n){"use strict";var i=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=Date.now?Date.now:function(){return+new Date},t}();e.Scheduler=i},cjT5:function(t,e,n){"use strict";function i(t){return this.lift(new s(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),l=n("CURp");e.debounce=i;var s=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.durationSelector))},t}(),a=function(t){function e(e,n){t.call(this,e),this.durationSelector=n,this.hasValue=!1,this.durationSubscription=null}return r(e,t),e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),n=l.subscribeToResult(this,e),n.closed||this.add(this.durationSubscription=n)},e.prototype.notifyNext=function(t,e,n,i,r){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,n=this.durationSubscription;n&&(this.durationSubscription=null,n.unsubscribe(),this.remove(n)),this.value=null,this.hasValue=!1,t.prototype._next.call(this,e)}},e}(o.OuterSubscriber)},cmqr:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=function(t){function e(){var e=t.call(this,"Timeout has occurred");this.name=e.name="TimeoutError",this.stack=e.stack,this.message=e.message}return i(e,t),e}(Error);e.TimeoutError=r},cwzr:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("VOfZ"),o=n("zQPq"),l=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n,this.pending=!1}return i(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 n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),r.root.setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){return void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending?e:r.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 n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,i=void 0;try{this.work(t)}catch(t){n=!0,i=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),i},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(o.Action);e.AsyncAction=l},driz:function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=s.async),this.lift(new a(t,e))}function r(t){t.debouncedNext()}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=n("mmVS"),s=n("CGGv");e.debounceTime=i;var a=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.dueTime,this.scheduler))},t}(),u=function(t){function e(e,n,i){t.call(this,e),this.dueTime=n,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return o(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(r,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){this.clearDebounce(),this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(l.Subscriber)},eCJc:function(t,e,n){"use strict";var i=n("3j3K"),r=n("2Je8"),o=n("hApb"),l=n("ZwZs");n.d(e,"a",function(){return a});var s=[o.a,o.b,o.c,o.d],a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[l.a]}},t}();a.decorators=[{type:i.NgModule,args:[{declarations:s,exports:s,imports:[r.CommonModule]}]}],a.ctorParameters=function(){return[]}},eErF:function(t,e,n){"use strict";var i=n("rCTf"),r=n("nFIP");i.Observable.prototype.toPromise=r.toPromise},edM1:function(t,e,n){"use strict";var i=n("3j3K"),r=n("v4DA");n.d(e,"d",function(){return l}),n.d(e,"c",function(){return s}),n.d(e,"b",function(){return a}),n.d(e,"a",function(){return u});var o=0,l=function(){function t(t){this.templateRef=t}return t}();l.decorators=[{type:i.Directive,args:[{selector:"ng-template[ngbTabTitle]"}]}],l.ctorParameters=function(){return[{type:i.TemplateRef}]};var s=function(){function t(t){this.templateRef=t}return t}();s.decorators=[{type:i.Directive,args:[{selector:"ng-template[ngbTabContent]"}]}],s.ctorParameters=function(){return[{type:i.TemplateRef}]};var a=function(){function t(){this.id="ngb-tab-"+o++,this.disabled=!1}return t}();a.decorators=[{type:i.Directive,args:[{selector:"ngb-tab"}]}],a.ctorParameters=function(){return[]},a.propDecorators={id:[{type:i.Input}],title:[{type:i.Input}],disabled:[{type:i.Input}],contentTpl:[{type:i.ContentChild,args:[s]}],titleTpl:[{type:i.ContentChild,args:[l]}]};var u=function(){function t(t){this.destroyOnHide=!0,this.tabChange=new i.EventEmitter,this.type=t.type,this.justify=t.justify}return t.prototype.select=function(t){var e=this._getTabById(t);if(e&&!e.disabled&&this.activeId!==e.id){var n=!1;this.tabChange.emit({activeId:this.activeId,nextId:e.id,preventDefault:function(){n=!0}}),n||(this.activeId=e.id)}},t.prototype.ngAfterContentChecked=function(){var t=this._getTabById(this.activeId);this.activeId=t?t.id:this.tabs.length?this.tabs.first.id:null},t.prototype._getTabById=function(t){var e=this.tabs.filter(function(e){return e.id===t});return e.length?e[0]:null},t}();u.decorators=[{type:i.Component,args:[{selector:"ngb-tabset",exportAs:"ngbTabset",template:'\n <ul [class]="\'nav nav-\' + type + \' justify-content-\' + justify" role="tablist">\n <li class="nav-item" *ngFor="let tab of tabs">\n <a [id]="tab.id" class="nav-link" [class.active]="tab.id === activeId" [class.disabled]="tab.disabled"\n href (click)="!!select(tab.id)" role="tab" [attr.tabindex]="(tab.disabled ? \'-1\': undefined)"\n [attr.aria-controls]="(!destroyOnHide || tab.id === activeId ? tab.id + \'-panel\' : null)"\n [attr.aria-expanded]="tab.id === activeId" [attr.aria-disabled]="tab.disabled">\n {{tab.title}}<ng-template [ngTemplateOutlet]="tab.titleTpl?.templateRef"></ng-template>\n </a>\n </li>\n </ul>\n <div class="tab-content">\n <ng-template ngFor let-tab [ngForOf]="tabs">\n <div\n class="tab-pane {{tab.id === activeId ? \'active\' : null}}"\n *ngIf="!destroyOnHide || tab.id === activeId"\n role="tabpanel"\n [attr.aria-labelledby]="tab.id" id="{{tab.id}}-panel"\n [attr.aria-expanded]="tab.id === activeId">\n <ng-template [ngTemplateOutlet]="tab.contentTpl.templateRef"></ng-template>\n </div>\n </ng-template>\n </div>\n '}]}],u.ctorParameters=function(){return[{type:r.a}]},u.propDecorators={tabs:[{type:i.ContentChildren,args:[a]}],activeId:[{type:i.Input}],destroyOnHide:[{type:i.Input}],justify:[{type:i.Input}],type:[{type:i.Input}],tabChange:[{type:i.Output}]}},erNO:function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=0),this.lift(new s(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),l=n("EEr4");e.windowCount=i;var s=function(){function t(t,e){this.windowSize=t,this.startWindowEvery=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.windowSize,this.startWindowEvery))},t}(),a=function(t){function e(e,n,i){t.call(this,e),this.destination=e,this.windowSize=n,this.startWindowEvery=i,this.windows=[new l.Subject],this.count=0,e.next(this.windows[0])}return r(e,t),e.prototype._next=function(t){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,i=this.windowSize,r=this.windows,o=r.length,s=0;s<o&&!this.closed;s++)r[s].next(t);var a=this.count-i+1;if(a>=0&&a%e==0&&!this.closed&&r.shift().complete(),++this.count%e==0&&!this.closed){var u=new l.Subject;r.push(u),n.next(u)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(o.Subscriber)},ezqs:function(t,e,n){!function(t){t(n("8U58"))}(function(t){"use strict";var e={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};t.defineMode("xml",function(i,r){function o(t,e){function n(n){return e.tokenize=n,n(t,e)}var i=t.next();if("<"==i)return t.eat("!")?t.eat("[")?t.match("CDATA[")?n(a("atom","]]>")):null:t.match("--")?n(a("comment","--\x3e")):t.match("DOCTYPE",!0,!0)?(t.eatWhile(/[\w\._\-]/),n(u(1))):null:t.eat("?")?(t.eatWhile(/[\w\._\-]/),e.tokenize=a("meta","?>"),"meta"):(k=t.eat("/")?"closeTag":"openTag",e.tokenize=l,"tag bracket");if("&"==i){var r;return r=t.eat("#")?t.eat("x")?t.eatWhile(/[a-fA-F\d]/)&&t.eat(";"):t.eatWhile(/[\d]/)&&t.eat(";"):t.eatWhile(/[\w\.\-:]/)&&t.eat(";"),r?"atom":"error"}return t.eatWhile(/[^&<]/),null}function l(t,e){var n=t.next();if(">"==n||"/"==n&&t.eat(">"))return e.tokenize=o,k=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return k="equals",null;if("<"==n){e.tokenize=o,e.state=d,e.tagName=e.tagStart=null;var i=e.tokenize(t,e);return i?i+" tag error":"tag error"}return/[\'\"]/.test(n)?(e.tokenize=s(n),e.stringStartCol=t.column(),e.tokenize(t,e)):(t.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function s(t){var e=function(e,n){for(;!e.eol();)if(e.next()==t){n.tokenize=l;break}return"string"};return e.isInAttribute=!0,e}function a(t,e){return function(n,i){for(;!n.eol();){if(n.match(e)){i.tokenize=o;break}n.next()}return t}}function u(t){return function(e,n){for(var i;null!=(i=e.next());){if("<"==i)return n.tokenize=u(t+1),n.tokenize(e,n);if(">"==i){if(1==t){n.tokenize=o;break}return n.tokenize=u(t-1),n.tokenize(e,n)}}return"meta"}}function c(t,e,n){this.prev=t.context,this.tagName=e,this.indent=t.indented,this.startOfLine=n,(S.doNotIndent.hasOwnProperty(e)||t.context&&t.context.noIndent)&&(this.noIndent=!0)}function h(t){t.context&&(t.context=t.context.prev)}function p(t,e){for(var n;;){if(!t.context)return;if(n=t.context.tagName,!S.contextGrabbers.hasOwnProperty(n)||!S.contextGrabbers[n].hasOwnProperty(e))return;h(t)}}function d(t,e,n){return"openTag"==t?(n.tagStart=e.column(),f):"closeTag"==t?m:d}function f(t,e,n){return"word"==t?(n.tagName=e.current(),T="tag",y):(T="error",f)}function m(t,e,n){if("word"==t){var i=e.current();return n.context&&n.context.tagName!=i&&S.implicitlyClosed.hasOwnProperty(n.context.tagName)&&h(n),n.context&&n.context.tagName==i||!1===S.matchClosing?(T="tag",v):(T="tag error",g)}return T="error",g}function v(t,e,n){return"endTag"!=t?(T="error",v):(h(n),d)}function g(t,e,n){return T="error",v(t,e,n)}function y(t,e,n){if("word"==t)return T="attribute",b;if("endTag"==t||"selfcloseTag"==t){var i=n.tagName,r=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==t||S.autoSelfClosers.hasOwnProperty(i)?p(n,i):(p(n,i),n.context=new c(n,i,r==n.indented)),d}return T="error",y}function b(t,e,n){return"equals"==t?w:(S.allowMissing||(T="error"),y(t,e,n))}function w(t,e,n){return"string"==t?x:"word"==t&&S.allowUnquoted?(T="string",y):(T="error",y(t,e,n))}function x(t,e,n){return"string"==t?x:y(t,e,n)}var C=i.indentUnit,S={},O=r.htmlMode?e:n;for(var _ in O)S[_]=O[_];for(var _ in r)S[_]=r[_];var k,T;return o.isInText=!0,{startState:function(t){var e={tokenize:o,state:d,indented:t||0,tagName:null,tagStart:null,context:null};return null!=t&&(e.baseIndent=t),e},token:function(t,e){if(!e.tagName&&t.sol()&&(e.indented=t.indentation()),t.eatSpace())return null;k=null;var n=e.tokenize(t,e);return(n||k)&&"comment"!=n&&(T=null,e.state=e.state(k||n,t,e),T&&(n="error"==T?n+" error":T)),n},indent:function(e,n,i){var r=e.context;if(e.tokenize.isInAttribute)return e.tagStart==e.indented?e.stringStartCol+1:e.indented+C;if(r&&r.noIndent)return t.Pass;if(e.tokenize!=l&&e.tokenize!=o)return i?i.match(/^(\s*)/)[0].length:0;if(e.tagName)return!1!==S.multilineTagIndentPastTag?e.tagStart+e.tagName.length+2:e.tagStart+C*(S.multilineTagIndentFactor||1);if(S.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var s=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(s&&s[1])for(;r;){if(r.tagName==s[2]){r=r.prev;break}if(!S.implicitlyClosed.hasOwnProperty(r.tagName))break;r=r.prev}else if(s)for(;r;){var a=S.contextGrabbers[r.tagName];if(!a||!a.hasOwnProperty(s[2]))break;r=r.prev}for(;r&&r.prev&&!r.startOfLine;)r=r.prev;return r?r.indent+C:e.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:S.htmlMode?"html":"xml",helperType:S.htmlMode?"html":"xml",skipAttribute:function(t){t.state==w&&(t.state=y)}}}),t.defineMIME("text/xml","xml"),t.defineMIME("application/xml","xml"),t.mimeModes.hasOwnProperty("text/html")||t.defineMIME("text/html",{name:"xml",htmlMode:!0})})},f1gJ:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Qt4r");i.Observable.generate=r.GenerateObservable.create},f6fj:function(t,e,n){!function(t){t(n("8U58"),n("ezqs"),n("+fCR"))}(function(t){"use strict";t.defineMode("markdown",function(e,n){function i(n){if(t.findModeByName){var i=t.findModeByName(n);i&&(n=i.mime||i.mimes[0])}var r=t.getMode(e,n);return"null"==r.name?null:r}function r(t,e,n){return e.f=e.inline=n,n(t,e)}function o(t,e,n){return e.f=e.block=n,n(t,e)}function l(t){return!t||!/\S/.test(t.string)}function s(t){return t.linkTitle=!1,t.em=!1,t.strong=!1,t.strikethrough=!1,t.quote=0,t.indentedCode=!1,t.f==u&&(t.f=d,t.block=a),t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.prevLine=t.thisLine,t.thisLine=null,null}function a(e,o){var s=e.sol(),a=!1!==o.list,u=o.indentedCode;o.indentedCode=!1,a&&(o.indentationDiff>=0?(o.indentationDiff<4&&(o.indentation-=o.indentationDiff),o.list=null):o.indentation>0?o.list=null:o.list=!1);var p=null;if(o.indentationDiff>=4)return e.skipToEnd(),u||l(o.prevLine)?(o.indentation-=4,o.indentedCode=!0,C.code):null;if(e.eatSpace())return null;if((p=e.match(T))&&p[1].length<=6)return o.header=p[1].length,n.highlightFormatting&&(o.formatting="header"),o.f=o.inline,h(o);if(!(l(o.prevLine)||o.quote||a||u)&&(p=e.match(I)))return o.header="="==p[0].charAt(0)?1:2,n.highlightFormatting&&(o.formatting="header"),o.f=o.inline,h(o);if(e.eat(">"))return o.quote=s?1:o.quote+1,n.highlightFormatting&&(o.formatting="quote"),e.eatSpace(),h(o);if("["===e.peek())return r(e,o,g);if(e.match(O,!0))return o.hr=!0,C.hr;if(p=e.match(_)){var d=p[1]?"ol":"ul";for(o.indentation=e.column()+e.current().length,o.list=!0;o.listStack&&e.column()<o.listStack[o.listStack.length-1];)o.listStack.pop();return o.listStack.push(o.indentation),n.taskLists&&e.match(k,!1)&&(o.taskList=!0),o.f=o.inline,n.highlightFormatting&&(o.formatting=["list","list-"+d]),h(o)}return n.fencedCodeBlocks&&(p=e.match(M,!0))?(o.fencedChars=p[1],o.localMode=i(p[2]),o.localMode&&(o.localState=t.startState(o.localMode)),o.f=o.block=c,n.highlightFormatting&&(o.formatting="code-block"),o.code=-1,h(o)):r(e,o,o.inline)}function u(e,n){var i=w.token(e,n.htmlState);if(!x){var r=t.innerMode(w,n.htmlState);("xml"==r.mode.name&&null===r.state.tagStart&&!r.state.context&&r.state.tokenize.isInText||n.md_inside&&e.current().indexOf(">")>-1)&&(n.f=d,n.block=a,n.htmlState=null)}return i}function c(t,e){if(e.fencedChars&&t.match(e.fencedChars)){n.highlightFormatting&&(e.formatting="code-block");var i=h(e);return e.localMode=e.localState=null,e.block=a,e.f=d,e.fencedChars=null,e.code=0,i}return e.fencedChars&&t.skipTo(e.fencedChars)?"comment":e.localMode?e.localMode.token(t,e.localState):(t.skipToEnd(),C.code)}function h(t){var e=[];if(t.formatting){e.push(C.formatting),"string"==typeof t.formatting&&(t.formatting=[t.formatting]);for(var i=0;i<t.formatting.length;i++)e.push(C.formatting+"-"+t.formatting[i]),"header"===t.formatting[i]&&e.push(C.formatting+"-"+t.formatting[i]+"-"+t.header),"quote"===t.formatting[i]&&(!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=t.quote?e.push(C.formatting+"-"+t.formatting[i]+"-"+t.quote):e.push("error"))}if(t.taskOpen)return e.push("meta"),e.length?e.join(" "):null;if(t.taskClosed)return e.push("property"),e.length?e.join(" "):null;if(t.linkHref?e.push(C.linkHref,"url"):(t.strong&&e.push(C.strong),t.em&&e.push(C.em),t.strikethrough&&e.push(C.strikethrough),t.linkText&&e.push(C.linkText),t.code&&e.push(C.code),t.image&&e.push(C.image),t.imageAltText&&e.push(C.imageAltText,"link"),t.imageMarker&&e.push(C.imageMarker)),t.header&&e.push(C.header,C.header+"-"+t.header),t.quote&&(e.push(C.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=t.quote?e.push(C.quote+"-"+t.quote):e.push(C.quote+"-"+n.maxBlockquoteDepth)),!1!==t.list){var r=(t.listStack.length-1)%3;r?1===r?e.push(C.list2):e.push(C.list3):e.push(C.list1)}return t.trailingSpaceNewLine?e.push("trailing-space-new-line"):t.trailingSpace&&e.push("trailing-space-"+(t.trailingSpace%2?"a":"b")),e.length?e.join(" "):null}function p(t,e){if(t.match(D,!0))return h(e)}function d(e,i){var r=i.text(e,i);if(void 0!==r)return r;if(i.list)return i.list=null,h(i);if(i.taskList){return"x"!==e.match(k,!0)[1]?i.taskOpen=!0:i.taskClosed=!0,n.highlightFormatting&&(i.formatting="task"),i.taskList=!1,h(i)}if(i.taskOpen=!1,i.taskClosed=!1,i.header&&e.match(/^#+$/,!0))return n.highlightFormatting&&(i.formatting="header"),h(i);var l=e.next();if(i.linkTitle){i.linkTitle=!1;var s=l;"("===l&&(s=")"),s=(s+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var a="^\\s*(?:[^"+s+"\\\\]+|\\\\\\\\|\\\\.)"+s;if(e.match(new RegExp(a),!0))return C.linkHref}if("`"===l){var c=i.formatting;n.highlightFormatting&&(i.formatting="code"),e.eatWhile("`");var p=e.current().length;if(0==i.code)return i.code=p,h(i);if(p==i.code){var v=h(i);return i.code=0,v}return i.formatting=c,h(i)}if(i.code)return h(i);if("\\"===l&&(e.next(),n.highlightFormatting)){var g=h(i),y=C.formatting+"-escape";return g?g+" "+y:y}if("!"===l&&e.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return i.imageMarker=!0,i.image=!0,n.highlightFormatting&&(i.formatting="image"),h(i);if("["===l&&i.imageMarker&&e.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return i.imageMarker=!1,i.imageAltText=!0,n.highlightFormatting&&(i.formatting="image"),h(i);if("]"===l&&i.imageAltText){n.highlightFormatting&&(i.formatting="image");var g=h(i);return i.imageAltText=!1,i.image=!1,i.inline=i.f=m,g}if("["===l&&!i.image)return i.linkText=!0,n.highlightFormatting&&(i.formatting="link"),h(i);if("]"===l&&i.linkText){n.highlightFormatting&&(i.formatting="link");var g=h(i);return i.linkText=!1,i.inline=i.f=e.match(/\(.*?\)| ?\[.*?\]/,!1)?m:d,g}if("<"===l&&e.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=f,n.highlightFormatting&&(i.formatting="link");var g=h(i);return g?g+=" ":g="",g+C.linkInline}if("<"===l&&e.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=f,n.highlightFormatting&&(i.formatting="link");var g=h(i);return g?g+=" ":g="",g+C.linkEmail}if("<"===l&&e.match(/^(!--|[a-z]+(?:\s+[a-z_:.\-]+(?:\s*=\s*[^ >]+)?)*\s*>)/i,!1)){var b=e.string.indexOf(">",e.pos);if(-1!=b){/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(e.string.substring(e.start,b))&&(i.md_inside=!0)}return e.backUp(1),i.htmlState=t.startState(w),o(e,i,u)}if("<"===l&&e.match(/^\/\w*?>/))return i.md_inside=!1,"tag";if("*"===l||"_"===l){for(var x=1,S=1==e.pos?" ":e.string.charAt(e.pos-2);x<3&&e.eat(l);)x++;var O=e.peek()||" ",_=!/\s/.test(O)&&(!R.test(O)||/\s/.test(S)||R.test(S)),T=!/\s/.test(S)&&(!R.test(S)||/\s/.test(O)||R.test(O)),I=null,D=null;if(x%2&&(i.em||!_||"*"!==l&&T&&!R.test(S)?i.em!=l||!T||"*"!==l&&_&&!R.test(O)||(I=!1):I=!0),x>1&&(i.strong||!_||"*"!==l&&T&&!R.test(S)?i.strong!=l||!T||"*"!==l&&_&&!R.test(O)||(D=!1):D=!0),null!=D||null!=I){n.highlightFormatting&&(i.formatting=null==I?"strong":null==D?"em":"strong em"),!0===I&&(i.em=l),!0===D&&(i.strong=l);var v=h(i);return!1===I&&(i.em=!1),!1===D&&(i.strong=!1),v}}else if(" "===l&&(e.eat("*")||e.eat("_"))){if(" "===e.peek())return h(i);e.backUp(1)}if(n.strikethrough)if("~"===l&&e.eatWhile(l)){if(i.strikethrough){n.highlightFormatting&&(i.formatting="strikethrough");var v=h(i);return i.strikethrough=!1,v}if(e.match(/^[^\s]/,!1))return i.strikethrough=!0,n.highlightFormatting&&(i.formatting="strikethrough"),h(i)}else if(" "===l&&e.match(/^~~/,!0)){if(" "===e.peek())return h(i);e.backUp(2)}return" "===l&&(e.match(/ +$/,!1)?i.trailingSpace++:i.trailingSpace&&(i.trailingSpaceNewLine=!0)),h(i)}function f(t,e){if(">"===t.next()){e.f=e.inline=d,n.highlightFormatting&&(e.formatting="link");var i=h(e);return i?i+=" ":i="",i+C.linkInline}return t.match(/^[^>]+/,!0),C.linkInline}function m(t,e){if(t.eatSpace())return null;var i=t.next();return"("===i||"["===i?(e.f=e.inline=v("("===i?")":"]"),n.highlightFormatting&&(e.formatting="link-string"),e.linkHref=!0,h(e)):"error"}function v(t){return function(e,i){if(e.next()===t){i.f=i.inline=d,n.highlightFormatting&&(i.formatting="link-string");var r=h(i);return i.linkHref=!1,r}return e.match(N[t]),i.linkHref=!0,h(i)}}function g(t,e){return t.match(/^([^\]\\]|\\.)*\]:/,!1)?(e.f=y,t.next(),n.highlightFormatting&&(e.formatting="link"),e.linkText=!0,h(e)):r(t,e,d)}function y(t,e){if(t.match(/^\]:/,!0)){e.f=e.inline=b,n.highlightFormatting&&(e.formatting="link");var i=h(e);return e.linkText=!1,i}return t.match(/^([^\]\\]|\\.)+/,!0),C.linkText}function b(t,e){return t.eatSpace()?null:(t.match(/^[^\s]+/,!0),void 0===t.peek()?e.linkTitle=!0:t.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),e.f=e.inline=d,C.linkHref+" url")}var w=t.getMode(e,"text/html"),x="null"==w.name;void 0===n.highlightFormatting&&(n.highlightFormatting=!1),void 0===n.maxBlockquoteDepth&&(n.maxBlockquoteDepth=0),void 0===n.taskLists&&(n.taskLists=!1),void 0===n.strikethrough&&(n.strikethrough=!1),void 0===n.tokenTypeOverrides&&(n.tokenTypeOverrides={});var C={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough"};for(var S in C)C.hasOwnProperty(S)&&n.tokenTypeOverrides[S]&&(C[S]=n.tokenTypeOverrides[S]);var O=/^([*\-_])(?:\s*\1){2,}\s*$/,_=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,k=/^\[(x| )\](?=\s)/,T=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,I=/^ *(?:\={1,}|-{1,})\s*$/,D=/^[^#!\[\]*_\\<>` "'(~]+/,M=new RegExp("^("+(!0===n.fencedCodeBlocks?"~~~+|```+":n.fencedCodeBlocks)+")[ \\t]*([\\w+#-]*)"),R=/[!\"#$%&\'()*+,\-\.\/:;<=>?@\[\\\]^_`{|}~—]/,N={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/},A={startState:function(){return{f:a,prevLine:null,thisLine:null,block:a,htmlState:null,indentation:0,inline:d,text:p,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,fencedChars:null}},copyState:function(e){return{f:e.f,prevLine:e.prevLine,thisLine:e.thisLine,block:e.block,htmlState:e.htmlState&&t.copyState(w,e.htmlState),indentation:e.indentation,localMode:e.localMode,localState:e.localMode?t.copyState(e.localMode,e.localState):null,inline:e.inline,text:e.text,formatting:!1,linkText:e.linkText,linkTitle:e.linkTitle,code:e.code,em:e.em,strong:e.strong,strikethrough:e.strikethrough,header:e.header,hr:e.hr,taskList:e.taskList,list:e.list,listStack:e.listStack.slice(0),quote:e.quote,indentedCode:e.indentedCode,trailingSpace:e.trailingSpace,trailingSpaceNewLine:e.trailingSpaceNewLine,md_inside:e.md_inside,fencedChars:e.fencedChars}},token:function(t,e){if(e.formatting=!1,t!=e.thisLine){var n=e.header||e.hr;if(e.header=0,e.hr=!1,t.match(/^\s*$/,!0)||n){if(s(e),!n)return null;e.prevLine=null}e.prevLine=e.thisLine,e.thisLine=t,e.taskList=!1,e.trailingSpace=0,e.trailingSpaceNewLine=!1,e.f=e.block;var i=t.match(/^\s*/,!0)[0].replace(/\t/g," ").length;if(e.indentationDiff=Math.min(i-e.indentation,4),e.indentation=e.indentation+e.indentationDiff,i>0)return null}return e.f(t,e)},innerMode:function(t){return t.block==u?{state:t.htmlState,mode:w}:t.localState?{state:t.localState,mode:t.localMode}:{state:t,mode:A}},blankLine:s,getType:h,closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return A},"xml"),t.defineMIME("text/x-markdown","markdown")})},fAHw:function(t,e,n){"use strict";var i=n("lcaH"),r=n("hlt1"),o=n("3j3K");n.d(e,"a",function(){return l});var l=function(){function t(t){this._calendar=t}return t.prototype.generateMonthViewModel=function(t,e,n,i,o){var l={firstDate:null,number:t.month,year:t.year,weeks:[],weekdays:[]};t=this._getFirstViewDate(t,i);for(var s=0;s<this._calendar.getWeeksPerMonth();s++){for(var a=[],u=0;u<this._calendar.getDaysPerWeek();u++){0===s&&l.weekdays.push(this._calendar.getWeekday(t));var c=new r.a(t.year,t.month,t.day),h=e&&c.before(e)||n&&c.after(n);!h&&o&&(h=o(c,{month:l.number,year:l.year})),null===l.firstDate&&t.month===l.number&&(l.firstDate=c),a.push({date:c,disabled:h}),t=this._calendar.getNext(t)}l.weeks.push({number:this._calendar.getWeekNumber(a.map(function(t){return r.a.from(t.date)}),i),days:a})}return l},t.prototype.toValidDate=function(t,e){var n=r.a.from(t);return void 0===e&&(e=this._calendar.getToday()),this._calendar.isValid(n)?n:e},t.prototype._getFirstViewDate=function(t,e){for(var n=this,i=t.month,o=new r.a(t.year,t.month,t.day),l=this._calendar.getPrev(o),s=function(){return o.month!==l.month&&e===n._calendar.getWeekday(o)},a=function(){return o.month!==i&&e===n._calendar.getWeekday(o)};!a()&&!s();)o=new r.a(l.year,l.month,l.day),l=this._calendar.getPrev(l);return o},t}();l.decorators=[{type:o.Injectable}],l.ctorParameters=function(){return[{type:i.a}]}},fICK:function(t,e,n){"use strict";var i=n("rCTf"),r=n("1KT0");i.Observable.merge=r.merge},fO1r:function(t,e,n){"use strict";var i=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.subscribedFrame=t,this.unsubscribedFrame=e}return t}();e.SubscriptionLog=i},fiy1:function(t,e,n){"use strict";var i=n("rCTf"),r=n("u2wr");i.Observable.prototype.withLatestFrom=r.withLatestFrom},ftJA:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rCTf"),o=n("Uqs8"),l=n("P3oE"),s=function(t){function e(e,n,i){void 0===n&&(n=0),void 0===i&&(i=o.asap),t.call(this),this.source=e,this.delayTime=n,this.scheduler=i,(!l.isNumeric(n)||n<0)&&(this.delayTime=0),i&&"function"==typeof i.schedule||(this.scheduler=o.asap)}return i(e,t),e.create=function(t,n,i){return void 0===n&&(n=0),void 0===i&&(i=o.asap),new e(t,n,i)},e.dispatch=function(t){var e=t.source,n=t.subscriber;return this.add(e.subscribe(n))},e.prototype._subscribe=function(t){var n=this.delayTime,i=this.source;return this.scheduler.schedule(e.dispatch,n,{source:i,subscriber:t})},e}(r.Observable);e.SubscribeOnObservable=s},fuZx:function(t,e,n){"use strict";function i(t){return t instanceof Date&&!isNaN(+t)}e.isDate=i},g0nL:function(t,e,n){"use strict";var i=n("rCTf"),r=n("tefl");i.Observable.pairs=r.pairs},g28B:function(t,e,n){"use strict";function i(t,e){for(var n=0,i=e.length;n<i;n++)for(var r=e[n],o=Object.getOwnPropertyNames(r.prototype),l=0,s=o.length;l<s;l++){var a=o[l];t.prototype[a]=r.prototype[a]}}e.applyMixins=i},g6h9:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("3j3K"),r=n("+1FX"),o=n("nypn"),l=n("QRpj"),s=n("wFtq"),a=n("7ldD"),u=n("2NoN"),c=n("xiEB"),h=n("SDm3"),p=n("jtp5"),d=n("h+Bk"),f=n("IiyU"),m=n("kWpK"),v=n("Y3FH"),g=n("gLYc"),y=n("5OSb"),b=n("F4pv"),w=n("TXv1"),x=n("2Je8"),C=n("NVOs"),S=n("hz2l"),O=(n.n(S),n("3kwk")),_=n("CXHW"),k=n("5oXY"),T=n("vX1z"),I=n("YqEa"),D=(n.n(I),n("eCJc")),M=n("RX2M"),R=n("M0cT"),N=n("/I96"),A=n("vfkA"),E=n("qsK9"),P=n("MSQt"),j=n("UyZi"),L=n("Ep2y"),F=n("WKBe"),V=n("1Z2I"),W=n("A8b0"),z=n("as+d"),H=n("62nT"),B=n("yDyO"),U=n("K/oD"),q=n("kzcK"),K=n("GW10"),G=(n.n(K),n("kd+i")),Y=n("+cid");n.d(e,"ArchivosModuleNgFactory",function(){return X});var X=i["ɵcmf"](r.a,[],function(t){return i["ɵmod"]([i["ɵmpd"](512,i.ComponentFactoryResolver,i["ɵCodegenComponentFactoryResolver"],[[8,[o.a,l.a,s.a,a.a,u.a,c.a,h.a,p.a,d.a,f.a,m.a,v.a,g.a,y.a,b.a,w.a]],[3,i.ComponentFactoryResolver],i.NgModuleRef]),i["ɵmpd"](4608,x.NgLocalization,x.NgLocaleLocalization,[i.LOCALE_ID]),i["ɵmpd"](4608,C["ɵi"],C["ɵi"],[]),i["ɵmpd"](4608,S.DialogService,S.DialogService,[i.ComponentFactoryResolver,i.ApplicationRef,i.Injector,[2,S.DialogServiceConfig]]),i["ɵmpd"](4608,O.a,O.a,[i.ComponentFactoryResolver,i.Injector,_.a]),i["ɵmpd"](512,x.CommonModule,x.CommonModule,[]),i["ɵmpd"](512,k.x,k.x,[[2,k.k],[2,k.c]]),i["ɵmpd"](512,T.a,T.a,[]),i["ɵmpd"](512,C["ɵba"],C["ɵba"],[]),i["ɵmpd"](512,C.FormsModule,C.FormsModule,[]),i["ɵmpd"](512,I.BootstrapModalModule,I.BootstrapModalModule,[]),i["ɵmpd"](512,D.a,D.a,[]),i["ɵmpd"](512,M.a,M.a,[]),i["ɵmpd"](512,R.a,R.a,[]),i["ɵmpd"](512,N.a,N.a,[]),i["ɵmpd"](512,A.a,A.a,[]),i["ɵmpd"](512,E.a,E.a,[]),i["ɵmpd"](512,P.a,P.a,[]),i["ɵmpd"](512,j.a,j.a,[]),i["ɵmpd"](512,L.a,L.a,[]),i["ɵmpd"](512,F.a,F.a,[]),i["ɵmpd"](512,V.a,V.a,[]),i["ɵmpd"](512,W.a,W.a,[]),i["ɵmpd"](512,z.a,z.a,[]),i["ɵmpd"](512,H.a,H.a,[]),i["ɵmpd"](512,B.a,B.a,[]),i["ɵmpd"](512,U.a,U.a,[]),i["ɵmpd"](512,q.b,q.b,[]),i["ɵmpd"](512,K.CodemirrorModule,K.CodemirrorModule,[]),i["ɵmpd"](512,G.a,G.a,[]),i["ɵmpd"](512,r.a,r.a,[]),i["ɵmpd"](1024,k.t,function(){return[[{path:"",component:Y.a}]]},[])])})},gDzJ:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Imsy");i.Observable.prototype.windowWhen=r.windowWhen},gEbu:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return a}),n.d(e,"b",function(){return u});var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=["Mo","Tu","We","Th","Fr","Sa","Su"],l=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],s=["January","February","March","April","May","June","July","August","September","October","November","December"],a=function(){function t(){}return t}();a.decorators=[{type:i.Injectable}],a.ctorParameters=function(){return[]};var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWeekdayShortName=function(t){return o[t-1]},e.prototype.getMonthShortName=function(t){return l[t-1]},e.prototype.getMonthFullName=function(t){return s[t-1]},e}(a);u.decorators=[{type:i.Injectable}],u.ctorParameters=function(){return[]}},gIFM:function(t,e,n){"use strict";var i=n("Dc2k");e.ajax=i.AjaxObservable.create},gLYc:function(t,e,n){"use strict";function i(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,28,"div",[["class","modal-dialog"],["style","margin-top:100px;"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,25,"div",[["class","modal-content"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,7,"div",[["class","modal-header"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"h4",[["class","modal-title"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["",""])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"button",[["class","close"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.close()&&i}return i},null,null)),(t()(),o["ɵted"](null,["×"])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,4,"div",[["class","modal-body"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"p",[["style","white-space: pre;"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["",""])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,7,"div",[["class","modal-footer"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.confirm()&&i}return i},null,null)),(t()(),o["ɵted"](null,["",""])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"button",[["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.close()&&i}return i},null,null)),(t()(),o["ɵted"](null,["",""])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n "]))],null,function(t,e){var n=e.component;t(e,7,0,n.title||"Confirm"),t(e,16,0,n.message||""),t(e,22,0,n.confirmText||"Confirmar"),t(e,25,0,n.cancelText||"Cancelar")})}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"confirm",[],null,null,null,i,u)),o["ɵdid"](180224,null,0,l.a,[s.DialogService],null,null)],null,null)}var o=n("3j3K"),l=n("9ax6"),s=n("hz2l");n.n(s);n.d(e,"a",function(){return c});var a=[],u=o["ɵcrt"]({encapsulation:2,styles:a,data:{}}),c=o["ɵccf"]("confirm",l.a,r,{},{},[])},gi2R:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("cwzr"),o=n("OLzJ"),l=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return i(e,t),e.prototype.requestAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0?t.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e.scheduled||(e.scheduled=o.AnimationFrame.requestAnimationFrame(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,i){if(void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,i);0===e.actions.length&&(o.AnimationFrame.cancelAnimationFrame(n),e.scheduled=void 0)},e}(r.AsyncAction);e.AnimationFrameAction=l},"h+Bk":function(t,e,n){"use strict";function i(t){return o["ɵvid"](2,[(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"div",[["class","tooltip-inner"]],null,null,null,null,null)),o["ɵncd"](null,0),(t()(),o["ɵted"](null,["\n "]))],null,null)}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"ngb-tooltip-window",[["role","tooltip"]],[[8,"className",0],[8,"id",0]],null,null,l.b,l.c)),o["ɵdid"](49152,null,0,s.b,[],null,null)],null,function(t,e){t(e,0,0,"tooltip show tooltip-"+o["ɵnov"](e,1).placement,o["ɵnov"](e,1).id)})}var o=n("3j3K"),l=n("h+Bk"),s=n("sgnN");n.d(e,"c",function(){return u}),e.b=i,n.d(e,"a",function(){return c});var a=[],u=o["ɵcrt"]({encapsulation:2,styles:a,data:{}}),c=o["ɵccf"]("ngb-tooltip-window",s.b,r,{placement:"placement",id:"id"},{},["*"])},h0qH:function(t,e,n){"use strict";var i=n("rCTf"),r=n("s3oX");i.Observable.throw=r._throw},hApb:function(t,e,n){"use strict";var i=n("3j3K"),r=n("2yGx"),o=n("ZwZs");n.d(e,"c",function(){return s}),n.d(e,"d",function(){return a}),n.d(e,"b",function(){return u}),n.d(e,"a",function(){return c});var l=0,s=function(){function t(t){this.templateRef=t}return t}();s.decorators=[{type:i.Directive,args:[{selector:"ng-template[ngbPanelTitle]"}]}],s.ctorParameters=function(){return[{type:i.TemplateRef}]};var a=function(){function t(t){this.templateRef=t}return t}();a.decorators=[{type:i.Directive,args:[{selector:"ng-template[ngbPanelContent]"}]}],a.ctorParameters=function(){return[{type:i.TemplateRef}]};var u=function(){function t(){this.disabled=!1,this.id="ngb-panel-"+l++}return t}();u.decorators=[{type:i.Directive,args:[{selector:"ngb-panel"}]}],u.ctorParameters=function(){return[]},u.propDecorators={disabled:[{type:i.Input}],id:[{type:i.Input}],title:[{type:i.Input}],type:[{type:i.Input}],contentTpl:[{type:i.ContentChild,args:[a]}],titleTpl:[{type:i.ContentChild,args:[s]}]};var c=function(){function t(t){this._states=new Map,this._panelRefs=new Map,this.activeIds=[],this.panelChange=new i.EventEmitter,this.type=t.type,this.closeOtherPanels=t.closeOthers}return t.prototype.toggle=function(t){var e=this._panelRefs.get(t);if(e&&!e.disabled){var n=!this._states.get(t),i=!1;this.panelChange.emit({panelId:t,nextState:n,preventDefault:function(){i=!0}}),i||(this._states.set(t,n),this.closeOtherPanels&&this._closeOthers(t),this._updateActiveIds())}},t.prototype.ngAfterContentChecked=function(){n.i(r.f)(this.activeIds)&&(this.activeIds=this.activeIds.split(/\s*,\s*/)),this._updateStates(),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0]),this._updateActiveIds())},t.prototype.isOpen=function(t){return this._states.get(t)},t.prototype._closeOthers=function(t){var e=this;this._states.forEach(function(n,i){i!==t&&e._states.set(i,!1)})},t.prototype._updateActiveIds=function(){var t=this;this.activeIds=this.panels.toArray().filter(function(e){return t.isOpen(e.id)&&!e.disabled}).map(function(t){return t.id})},t.prototype._updateStates=function(){var t=this;this._states.clear(),this._panelRefs.clear(),this.panels.toArray().forEach(function(e){t._states.set(e.id,t.activeIds.indexOf(e.id)>-1&&!e.disabled),t._panelRefs.set(e.id,e)})},t}();c.decorators=[{type:i.Component,args:[{selector:"ngb-accordion",exportAs:"ngbAccordion",host:{role:"tablist","[attr.aria-multiselectable]":"!closeOtherPanels"},template:'\n <div class="card">\n <ng-template ngFor let-panel [ngForOf]="panels">\n <div role="tab" id="{{panel.id}}-header"\n [class]="\'card-header \' + (panel.type ? \'card-\'+panel.type: type ? \'card-\'+type : \'\')" [class.active]="isOpen(panel.id)">\n <a href (click)="!!toggle(panel.id)" [class.text-muted]="panel.disabled" [attr.tabindex]="(panel.disabled ? \'-1\' : null)"\n [attr.aria-expanded]="isOpen(panel.id)" [attr.aria-controls]="(isOpen(panel.id) ? panel.id : null)"\n [attr.aria-disabled]="panel.disabled">\n {{panel.title}}<ng-template [ngTemplateOutlet]="panel.titleTpl?.templateRef"></ng-template>\n </a>\n </div>\n <div id="{{panel.id}}" role="tabpanel" [attr.aria-labelledby]="panel.id + \'-header\'" class="card-block" *ngIf="isOpen(panel.id)">\n <ng-template [ngTemplateOutlet]="panel.contentTpl.templateRef"></ng-template>\n </div>\n </ng-template>\n </div>\n'}]}],c.ctorParameters=function(){return[{type:o.a}]},c.propDecorators={panels:[{type:i.ContentChildren,args:[u]}],activeIds:[{type:i.Input}],closeOtherPanels:[{type:i.Input,args:["closeOthers"]}],type:[{type:i.Input}],panelChange:[{type:i.Output}]}},hUSH:function(t,e,n){"use strict";var i=n("2yGx");n.d(e,"a",function(){return r});var r=function(){function t(t,e,r){this.hour=n.i(i.b)(t),this.minute=n.i(i.b)(e),this.second=n.i(i.b)(r)}return t.prototype.changeHour=function(t){void 0===t&&(t=1),this.updateHour((isNaN(this.hour)?0:this.hour)+t)},t.prototype.updateHour=function(t){n.i(i.a)(t)?this.hour=(t<0?24+t:t)%24:this.hour=NaN},t.prototype.changeMinute=function(t){void 0===t&&(t=1),this.updateMinute((isNaN(this.minute)?0:this.minute)+t)},t.prototype.updateMinute=function(t){n.i(i.a)(t)?(this.minute=t%60<0?60+t%60:t%60,this.changeHour(Math.floor(t/60))):this.minute=NaN},t.prototype.changeSecond=function(t){void 0===t&&(t=1),this.updateSecond((isNaN(this.second)?0:this.second)+t)},t.prototype.updateSecond=function(t){n.i(i.a)(t)?(this.second=t<0?60+t%60:t%60,this.changeMinute(Math.floor(t/60))):this.second=NaN},t.prototype.isValid=function(t){return void 0===t&&(t=!0),n.i(i.a)(this.hour)&&n.i(i.a)(this.minute)&&(!t||n.i(i.a)(this.second))},t.prototype.toString=function(){return(this.hour||0)+":"+(this.minute||0)+":"+(this.second||0)},t}()},hY6I:function(t,e,n){"use strict";var i=n("3j3K"),r=n("NVOs"),o=n("hlt1"),l=n("/KGk"),s=n("7DGp"),a=n("jRSa"),u=n("lcaH"),c=n("fAHw");n.d(e,"a",function(){return d});var h={provide:r.NG_VALUE_ACCESSOR,useExisting:n.i(i.forwardRef)(function(){return d}),multi:!0},p={provide:r.NG_VALIDATORS,useExisting:n.i(i.forwardRef)(function(){return d}),multi:!0},d=function(){function t(t,e,r,o,l,s,u,c){var h=this;this._parserFormatter=t,this._elRef=e,this._vcRef=r,this._renderer=o,this._cfr=l,this._service=u,this._calendar=c,this._cRef=null,this.navigate=new i.EventEmitter,this._onChange=function(t){},this._onTouched=function(){},this._validatorChange=function(){},this._zoneSubscription=s.onStable.subscribe(function(){h._cRef&&n.i(a.a)(h._elRef.nativeElement,h._cRef.location.nativeElement,"bottom-left")})}return t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.registerOnValidatorChange=function(t){this._validatorChange=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elRef.nativeElement,"disabled",t),this.isOpen()&&this._cRef.instance.setDisabledState(t)},t.prototype.validate=function(t){var e=t.value;return null===e||void 0===e?null:this._calendar.isValid(e)?this.minDate&&o.a.from(e).before(o.a.from(this.minDate))?{ngbDate:{requiredBefore:this.minDate}}:this.maxDate&&o.a.from(e).after(o.a.from(this.maxDate))?{ngbDate:{requiredAfter:this.maxDate}}:void 0:{ngbDate:{invalid:t.value}}},t.prototype.writeValue=function(t){var e=t?new o.a(t.year,t.month,t.day):null;this._model=this._calendar.isValid(t)?e:null,this._writeModelValue(this._model)},t.prototype.manualDateChange=function(t){this._model=this._service.toValidDate(this._parserFormatter.parse(t),null),this._onChange(this._model?{year:this._model.year,month:this._model.month,day:this._model.day}:t),this._writeModelValue(this._model)},t.prototype.isOpen=function(){return!!this._cRef},t.prototype.open=function(){var t=this;if(!this.isOpen()){var e=this._cfr.resolveComponentFactory(l.a);this._cRef=this._vcRef.createComponent(e),this._applyPopupStyling(this._cRef.location.nativeElement),this._cRef.instance.writeValue(this._model),this._applyDatepickerInputs(this._cRef.instance),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.registerOnChange(function(e){t.writeValue(e),t._onChange(e),t.close()})}},t.prototype.close=function(){this.isOpen()&&(this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null)},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype.navigateTo=function(t){this.isOpen()&&this._cRef.instance.navigateTo(t)},t.prototype.onBlur=function(){this._onTouched()},t.prototype.ngOnChanges=function(t){(t.minDate||t.maxDate)&&this._validatorChange()},t.prototype.ngOnDestroy=function(){this.close(),this._zoneSubscription.unsubscribe()},t.prototype._applyDatepickerInputs=function(t){var e=this;["dayTemplate","displayMonths","firstDayOfWeek","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekdays","showWeekNumbers"].forEach(function(n){void 0!==e[n]&&(t[n]=e[n])}),t.startDate=this.startDate||this._model},t.prototype._applyPopupStyling=function(t){this._renderer.addClass(t,"dropdown-menu"),this._renderer.setStyle(t,"padding","0")},t.prototype._subscribeForDatepickerOutputs=function(t){var e=this;t.navigate.subscribe(function(t){return e.navigate.emit(t)})},t.prototype._writeModelValue=function(t){this._renderer.setProperty(this._elRef.nativeElement,"value",this._parserFormatter.format(t)),this.isOpen()&&(this._cRef.instance.writeValue(t),this._onTouched())},t}();d.decorators=[{type:i.Directive,args:[{selector:"input[ngbDatepicker]",exportAs:"ngbDatepicker",host:{"(change)":"manualDateChange($event.target.value)","(keyup.esc)":"close()","(blur)":"onBlur()"},providers:[h,p,c.a]}]}],d.ctorParameters=function(){return[{type:s.a},{type:i.ElementRef},{type:i.ViewContainerRef},{type:i.Renderer2},{type:i.ComponentFactoryResolver},{type:i.NgZone},{type:c.a},{type:u.a}]},d.propDecorators={dayTemplate:[{type:i.Input}],displayMonths:[{type:i.Input}],firstDayOfWeek:[{type:i.Input}],markDisabled:[{type:i.Input}],minDate:[{type:i.Input}],maxDate:[{type:i.Input}],navigation:[{type:i.Input}],outsideDays:[{type:i.Input}],showWeekdays:[{type:i.Input}],showWeekNumbers:[{type:i.Input}],startDate:[{type:i.Input}],navigate:[{type:i.Output}]}},hiKS:function(t,e,n){"use strict";function i(t){return this.lift(new r.ZipOperator(t))}var r=n("RYQg");e.zipAll=i},hlt1:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t,e,n){this.year=t,this.month=e,this.day=n}return t.from=function(e){return e?new t(e.year,e.month,e.day?e.day:1):null},t.prototype.equals=function(t){return t&&this.year===t.year&&this.month===t.month&&this.day===t.day},t.prototype.before=function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day<t.day:this.month<t.month:this.year<t.year)},t.prototype.after=function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day>t.day:this.month>t.month:this.year>t.year)},t.prototype.toString=function(){return this.year+"-"+this.month+"-"+this.day},t}()},hs6U:function(t,e,n){"use strict";var i=n("rCTf"),r=n("GZqV");i.Observable.prototype.find=r.find},hwnt:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekdays=!0,this.showWeekNumbers=!1}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},hz2l:function(t,e,n){"use strict";var i=this&&this.__decorate||function(t,e,n,i){var r,o=arguments.length,l=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(l=(o<3?r(l):o>3?r(e,n,l):r(e,n))||l);return o>3&&l&&Object.defineProperty(e,n,l),l},r=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},o=this&&this.__param||function(t,e){return function(n,i){e(n,i,t)}};Object.defineProperty(e,"__esModule",{value:!0});var l=n("3j3K"),s=n("BnNN"),a=function(){function t(){this.container=null}return t}();e.DialogServiceConfig=a;var u=function(){function t(t,e,n,i){this.resolver=t,this.applicationRef=e,this.injector=n,this.container=i&&i.container}return t.prototype.addDialog=function(t,e,n){return this.dialogHolderComponent||(this.dialogHolderComponent=this.createDialogHolder()),this.dialogHolderComponent.addDialog(t,e,n)},t.prototype.removeDialog=function(t){this.dialogHolderComponent&&this.dialogHolderComponent.removeDialog(t)},t.prototype.removeAll=function(){this.dialogHolderComponent.clear()},t.prototype.createDialogHolder=function(){var t=this,e=this.resolver.resolveComponentFactory(s.DialogHolderComponent),n=e.create(this.injector),i=n.hostView.rootNodes[0];if(!this.container){var r=this.applicationRef._rootComponents[0];this.container=r.hostView.rootNodes[0]}return this.applicationRef.attachView(n.hostView),n.onDestroy(function(){t.applicationRef.detachView(n.hostView)}),this.container.appendChild(i),n.instance},t}();u=i([l.Injectable(),o(3,l.Optional()),r("design:paramtypes",[l.ComponentFactoryResolver,l.ApplicationRef,l.Injector,a])],u),e.DialogService=u},hzF8:function(t,e,n){"use strict";var i=n("rCTf"),r=n("POFt");i.Observable.prototype.take=r.take},iESu:function(t,e,n){"use strict";function i(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof e&&(n=e,e=null),this.lift(new s(t,e,n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),l=n("CURp");e.mergeMapTo=i;var s=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.ish=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.ish,this.resultSelector,this.concurrent))},t}();e.MergeMapToOperator=s;var a=function(t){function e(e,n,i,r){void 0===r&&(r=Number.POSITIVE_INFINITY),t.call(this,e),this.ish=n,this.resultSelector=i,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return r(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.resultSelector,n=this.index++,i=this.ish,r=this.destination;this.active++,this._innerSub(i,r,e,t,n)}else this.buffer.push(t)},e.prototype._innerSub=function(t,e,n,i,r){this.add(l.subscribeToResult(this,t,i,r))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,i,r){var o=this,l=o.resultSelector,s=o.destination;l?this.trySelectResult(t,e,n,i):s.next(e)},e.prototype.trySelectResult=function(t,e,n,i){var r,o=this,l=o.resultSelector,s=o.destination;try{r=l(t,e,n,i)}catch(t){return void s.error(t)}s.next(r)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber);e.MergeMapToSubscriber=a},iIfT:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Ffu+");i.Observable.prototype.pairwise=r.pairwise},iJMh:function(t,e,n){"use strict";var i=n("rCTf"),r=n("7rB9");i.Observable.forkJoin=r.forkJoin},iUY6:function(t,e,n){"use strict";var i=n("rCTf"),r=n("5nj5");i.Observable.if=r._if},iod1:function(t,e,n){"use strict";var i=n("rCTf"),r=n("8/gC");i.Observable.zip=r.zip},ixac:function(t,e,n){"use strict";var i=n("rCTf"),r=n("RYQg");i.Observable.prototype.zip=r.zipProto},j7ye:function(t,e,n){"use strict";var i=n("rCTf"),r=n("emOw");i.Observable.prototype.multicast=r.multicast},jDQW:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Mqdq");i.Observable.prototype.bufferToggle=r.bufferToggle},jF50:function(t,e,n){"use strict";var i=n("rCTf"),r=n("KKz1");i.Observable.prototype.throttleTime=r.throttleTime},jQeI:function(t,e,n){!function(t){t(n("8U58"))}(function(t){"use strict";function e(t,e){this.cm=t,this.options=e,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length;var n=this;t.on("cursorActivity",this.activityFunc=function(){n.cursorActivity()})}function n(e,n){return t.cmpPos(n.from,e.from)>0&&e.to.ch-e.from.ch!=n.to.ch-n.from.ch}function i(t,e,n){var i=t.options.hintOptions,r={};for(var o in m)r[o]=m[o];if(i)for(var o in i)void 0!==i[o]&&(r[o]=i[o]);if(n)for(var o in n)void 0!==n[o]&&(r[o]=n[o]);return r.hint.resolve&&(r.hint=r.hint.resolve(t,e)),r}function r(t){return"string"==typeof t?t:t.text}function o(t,e){function n(t,n){var r;r="string"!=typeof n?function(t){return n(t,e)}:i.hasOwnProperty(n)?i[n]:n,o[t]=r}var i={Up:function(){e.moveFocus(-1)},Down:function(){e.moveFocus(1)},PageUp:function(){e.moveFocus(1-e.menuSize(),!0)},PageDown:function(){e.moveFocus(e.menuSize()-1,!0)},Home:function(){e.setFocus(0)},End:function(){e.setFocus(e.length-1)},Enter:e.pick,Tab:e.pick,Esc:e.close},r=t.options.customKeys,o=r?{}:i;if(r)for(var l in r)r.hasOwnProperty(l)&&n(l,r[l]);var s=t.options.extraKeys;if(s)for(var l in s)s.hasOwnProperty(l)&&n(l,s[l]);return o}function l(t,e){for(;e&&e!=t;){if("LI"===e.nodeName.toUpperCase()&&e.parentNode==t)return e;e=e.parentNode}}function s(e,n){this.completion=e,this.data=n,this.picked=!1;var i=this,s=e.cm,a=this.hints=document.createElement("ul");a.className="CodeMirror-hints",this.selectedHint=n.selectedHint||0;for(var u=n.list,c=0;c<u.length;++c){var d=a.appendChild(document.createElement("li")),f=u[c],m=h+(c!=this.selectedHint?"":" "+p);null!=f.className&&(m=f.className+" "+m),d.className=m,f.render?f.render(d,n,f):d.appendChild(document.createTextNode(f.displayText||r(f))),d.hintId=c}var v=s.cursorCoords(e.options.alignWithWord?n.from:null),g=v.left,y=v.bottom,b=!0;a.style.left=g+"px",a.style.top=y+"px";var w=window.innerWidth||Math.max(document.body.offsetWidth,document.documentElement.offsetWidth),x=window.innerHeight||Math.max(document.body.offsetHeight,document.documentElement.offsetHeight);(e.options.container||document.body).appendChild(a);var C=a.getBoundingClientRect(),S=C.bottom-x,O=a.scrollHeight>a.clientHeight+1,_=s.getScrollInfo();if(S>0){var k=C.bottom-C.top;if(v.top-(v.bottom-C.top)-k>0)a.style.top=(y=v.top-k)+"px",b=!1;else if(k>x){a.style.height=x-5+"px",a.style.top=(y=v.bottom-C.top)+"px";var T=s.getCursor();n.from.ch!=T.ch&&(v=s.cursorCoords(T),a.style.left=(g=v.left)+"px",C=a.getBoundingClientRect())}}var I=C.right-w;if(I>0&&(C.right-C.left>w&&(a.style.width=w-5+"px",I-=C.right-C.left-w),a.style.left=(g=v.left-I)+"px"),O)for(var D=a.firstChild;D;D=D.nextSibling)D.style.paddingRight=s.display.nativeBarWidth+"px";if(s.addKeyMap(this.keyMap=o(e,{moveFocus:function(t,e){i.changeActive(i.selectedHint+t,e)},setFocus:function(t){i.changeActive(t)},menuSize:function(){return i.screenAmount()},length:u.length,close:function(){e.close()},pick:function(){i.pick()},data:n})),e.options.closeOnUnfocus){var M;s.on("blur",this.onBlur=function(){M=setTimeout(function(){e.close()},100)}),s.on("focus",this.onFocus=function(){clearTimeout(M)})}return s.on("scroll",this.onScroll=function(){var t=s.getScrollInfo(),n=s.getWrapperElement().getBoundingClientRect(),i=y+_.top-t.top,r=i-(window.pageYOffset||(document.documentElement||document.body).scrollTop);if(b||(r+=a.offsetHeight),r<=n.top||r>=n.bottom)return e.close();a.style.top=i+"px",a.style.left=g+_.left-t.left+"px"}),t.on(a,"dblclick",function(t){var e=l(a,t.target||t.srcElement);e&&null!=e.hintId&&(i.changeActive(e.hintId),i.pick())}),t.on(a,"click",function(t){var n=l(a,t.target||t.srcElement);n&&null!=n.hintId&&(i.changeActive(n.hintId),e.options.completeOnSingleClick&&i.pick())}),t.on(a,"mousedown",function(){setTimeout(function(){s.focus()},20)}),t.signal(n,"select",u[0],a.firstChild),!0}function a(t,e){if(!t.somethingSelected())return e;for(var n=[],i=0;i<e.length;i++)e[i].supportsSelection&&n.push(e[i]);return n}function u(t,e,n,i){if(t.async)t(e,i,n);else{var r=t(e,n);r&&r.then?r.then(i):i(r)}}function c(e,n){var i,r=e.getHelpers(n,"hint");if(r.length){var o=function(t,e,n){function i(r){if(r==o.length)return e(null);u(o[r],t,n,function(t){t&&t.list.length>0?e(t):i(r+1)})}var o=a(t,r);i(0)};return o.async=!0,o.supportsSelection=!0,o}return(i=e.getHelper(e.getCursor(),"hintWords"))?function(e){return t.hint.fromList(e,{words:i})}:t.hint.anyword?function(e,n){return t.hint.anyword(e,n)}:function(){}}var h="CodeMirror-hint",p="CodeMirror-hint-active";t.showHint=function(t,e,n){if(!e)return t.showHint(n);n&&n.async&&(e.async=!0);var i={hint:e};if(n)for(var r in n)i[r]=n[r];return t.showHint(i)},t.defineExtension("showHint",function(n){n=i(this,this.getCursor("start"),n);var r=this.listSelections();if(!(r.length>1)){if(this.somethingSelected()){if(!n.hint.supportsSelection)return;for(var o=0;o<r.length;o++)if(r[o].head.line!=r[o].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var l=this.state.completionActive=new e(this,n);l.options.hint&&(t.signal(this,"startCompletion",this),l.update(!0))}});var d=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},f=window.cancelAnimationFrame||clearTimeout;e.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&t.signal(this.data,"close"),this.widget&&this.widget.close(),t.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(e,n){var i=e.list[n];i.hint?i.hint(this.cm,e,i):this.cm.replaceRange(r(i),i.from||e.from,i.to||e.to,"complete"),t.signal(e,"pick",i),this.close()},cursorActivity:function(){this.debounce&&(f(this.debounce),this.debounce=0);var t=this.cm.getCursor(),e=this.cm.getLine(t.line);if(t.line!=this.startPos.line||e.length-t.ch!=this.startLen-this.startPos.ch||t.ch<this.startPos.ch||this.cm.somethingSelected()||t.ch&&this.options.closeCharacters.test(e.charAt(t.ch-1)))this.close();else{var n=this;this.debounce=d(function(){n.update()}),this.widget&&this.widget.disable()}},update:function(t){if(null!=this.tick){var e=this,n=++this.tick;u(this.options.hint,this.cm,this.options,function(i){e.tick==n&&e.finishUpdate(i,t)})}},finishUpdate:function(e,i){this.data&&t.signal(this.data,"update");var r=this.widget&&this.widget.picked||i&&this.options.completeSingle;this.widget&&this.widget.close(),e&&this.data&&n(this.data,e)||(this.data=e,e&&e.list.length&&(r&&1==e.list.length?this.pick(e,0):(this.widget=new s(this,e),t.signal(e,"shown"))))}},s.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var t=this.completion.cm;this.completion.options.closeOnUnfocus&&(t.off("blur",this.onBlur),t.off("focus",this.onFocus)),t.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var t=this;this.keyMap={Enter:function(){t.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(e,n){if(e>=this.data.list.length?e=n?this.data.list.length-1:0:e<0&&(e=n?0:this.data.list.length-1),this.selectedHint!=e){var i=this.hints.childNodes[this.selectedHint];i.className=i.className.replace(" "+p,""),i=this.hints.childNodes[this.selectedHint=e],i.className+=" "+p,i.offsetTop<this.hints.scrollTop?this.hints.scrollTop=i.offsetTop-3:i.offsetTop+i.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=i.offsetTop+i.offsetHeight-this.hints.clientHeight+3),t.signal(this.data,"select",this.data.list[this.selectedHint],i)}},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1}},t.registerHelper("hint","auto",{resolve:c}),t.registerHelper("hint","fromList",function(e,n){var i=e.getCursor(),r=e.getTokenAt(i),o=t.Pos(i.line,r.end);if(r.string&&/\w/.test(r.string[r.string.length-1]))var l=r.string,s=t.Pos(i.line,r.start);else var l="",s=o;for(var a=[],u=0;u<n.words.length;u++){var c=n.words[u];c.slice(0,l.length)==l&&a.push(c)}if(a.length)return{list:a,from:s,to:o}}),t.commands.autocomplete=t.showHint;var m={hint:t.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnUnfocus:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null};t.defineOption("hintOptions",null)})},jRSa:function(t,e,n){"use strict";function i(t,e,n,i){var r=o.positionElements(t,e,n,i);e.style.top=r.top+"px",e.style.left=r.left+"px"}e.a=i;var r=function(){function t(){}return t.prototype.getStyle=function(t,e){return window.getComputedStyle(t)[e]},t.prototype.isStaticPositioned=function(t){return"static"===(this.getStyle(t,"position")||"static")},t.prototype.offsetParent=function(t){for(var e=t.offsetParent||document.documentElement;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement},t.prototype.position=function(t,e){void 0===e&&(e=!0);var n,i={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(t,"position"))n=t.getBoundingClientRect();else{var r=this.offsetParent(t);n=this.offset(t,!1),r!==document.documentElement&&(i=this.offset(r,!1)),i.top+=r.clientTop,i.left+=r.clientLeft}return n.top-=i.top,n.bottom-=i.top,n.left-=i.left,n.right-=i.left,e&&(n.top=Math.round(n.top),n.bottom=Math.round(n.bottom),n.left=Math.round(n.left),n.right=Math.round(n.right)),n},t.prototype.offset=function(t,e){void 0===e&&(e=!0);var n=t.getBoundingClientRect(),i={top:window.pageYOffset-document.documentElement.clientTop,left:window.pageXOffset-document.documentElement.clientLeft},r={height:n.height||t.offsetHeight,width:n.width||t.offsetWidth,top:n.top+i.top,bottom:n.bottom+i.top,left:n.left+i.left,right:n.right+i.left};return e&&(r.height=Math.round(r.height),r.width=Math.round(r.width),r.top=Math.round(r.top),r.bottom=Math.round(r.bottom),r.left=Math.round(r.left),r.right=Math.round(r.right)),r},t.prototype.positionElements=function(t,e,n,i){var r=i?this.offset(t,!1):this.position(t,!1),o={left:r.left,center:r.left+r.width/2-e.offsetWidth/2,right:r.left+r.width},l={top:r.top,center:r.top+r.height/2-e.offsetHeight/2,bottom:r.top+r.height},s=e.getBoundingClientRect(),a=n.split("-")[0]||"top",u=n.split("-")[1]||"center",c={height:s.height||e.offsetHeight,width:s.width||e.offsetWidth,top:0,bottom:s.height||e.offsetHeight,left:0,right:s.width||e.offsetWidth};switch(a){case"top":c.top=r.top-e.offsetHeight,c.bottom+=r.top-e.offsetHeight,c.left=o[u],c.right+=o[u];break;case"bottom":c.top=l[a],c.bottom+=l[a],c.left=o[u],c.right+=o[u];break;case"left":c.top=l[u],c.bottom+=l[u],c.left=r.left-e.offsetWidth,c.right+=r.left-e.offsetWidth;break;case"right":c.top=l[u],c.bottom+=l[u],c.left=o[a],c.right+=o[a]}return c.top=Math.round(c.top),c.bottom=Math.round(c.bottom),c.left=Math.round(c.left),c.right=Math.round(c.right),c},t}(),o=new r},jdTm:function(t,e,n){"use strict";var i=n("jnJ8");e.timer=i.TimerObservable.create},jdeX:function(t,e,n){"use strict";var i=n("rCTf"),r=n("jdTm");i.Observable.timer=r.timer},jnJ8:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("P3oE"),o=n("rCTf"),l=n("CGGv"),s=n("fWbP"),a=n("fuZx"),u=function(t){function e(e,n,i){void 0===e&&(e=0),t.call(this),this.period=-1,this.dueTime=0,r.isNumeric(n)?this.period=Number(n)<1&&1||Number(n):s.isScheduler(n)&&(i=n),s.isScheduler(i)||(i=l.async),this.scheduler=i,this.dueTime=a.isDate(e)?+e-this.scheduler.now():e}return i(e,t),e.create=function(t,n,i){return void 0===t&&(t=0),new e(t,n,i)},e.dispatch=function(t){var e=t.index,n=t.period,i=t.subscriber,r=this;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,r.schedule(t,n)}},e.prototype._subscribe=function(t){var n=this,i=n.period,r=n.dueTime;return n.scheduler.schedule(e.dispatch,r,{index:0,period:i,subscriber:t})},e}(o.Observable);e.TimerObservable=u},jtp5:function(t,e,n){"use strict";function i(t){return o["ɵvid"](2,[(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"h3",[["class","popover-title"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["",""])),(t()(),o["ɵeld"](0,null,null,1,"div",[["class","popover-content"]],null,null,null,null,null)),o["ɵncd"](null,0),(t()(),o["ɵted"](null,["\n "]))],null,function(t,e){t(e,2,0,e.component.title)})}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"ngb-popover-window",[["role","tooltip"]],[[8,"className",0],[8,"id",0]],null,null,s.b,s.c)),o["ɵdid"](49152,null,0,l.b,[],null,null)],null,function(t,e){t(e,0,0,"popover show popover-"+o["ɵnov"](e,1).placement,o["ɵnov"](e,1).id)})}var o=n("3j3K"),l=n("WtNX"),s=n("jtp5");n.d(e,"c",function(){return u}),e.b=i,n.d(e,"a",function(){return c});var a=[],u=o["ɵcrt"]({encapsulation:2,styles:a,data:{}}),c=o["ɵccf"]("ngb-popover-window",l.b,r,{placement:"placement",title:"title",id:"id"},{},["*"])},jvbR:function(t,e,n){"use strict";var i=n("rCTf"),r=n("bE1M");i.Observable.prototype.concatMap=r.concatMap},k27J:function(t,e,n){"use strict";var i=n("rCTf"),r=n("X2ud");i.Observable.prototype.combineAll=r.combineAll},kWpK:function(t,e,n){"use strict";function i(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,1,"h6",[["class","modal-title"]],null,null,null,null,null)),(t()(),a["ɵted"](null,["Nueva carpeta"]))],null,null)}function r(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,1,"h6",[["class","modal-title"]],null,null,null,null,null)),(t()(),a["ɵted"](null,["Nuevo archivo"]))],null,null)}function o(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,12,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,1,"label",[["class","form-control-label"],["for","message-text"]],null,null,null,null,null)),(t()(),a["ɵted"](null,["Descripción:"])),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,6,"textarea",[["class","form-control"],["id","message-text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var i=!0,r=t.component;if("input"===e){i=!1!==a["ɵnov"](t,6)._handleInput(n.target.value)&&i}if("blur"===e){i=!1!==a["ɵnov"](t,6).onTouched()&&i}if("compositionstart"===e){i=!1!==a["ɵnov"](t,6)._compositionStart()&&i}if("compositionend"===e){i=!1!==a["ɵnov"](t,6)._compositionEnd(n.target.value)&&i}if("ngModelChange"===e){i=!1!==(r.descripcion=n)&&i}return i},null,null)),a["ɵdid"](16384,null,0,u.DefaultValueAccessor,[a.Renderer,a.ElementRef,[2,u.COMPOSITION_BUFFER_MODE]],null,null),a["ɵprd"](1024,null,u.NG_VALUE_ACCESSOR,function(t){return[t]},[u.DefaultValueAccessor]),a["ɵdid"](671744,null,0,u.NgModel,[[2,u.ControlContainer],[8,null],[8,null],[2,u.NG_VALUE_ACCESSOR]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),a["ɵpod"](["standalone"]),a["ɵprd"](2048,null,u.NgControl,null,[u.NgModel]),a["ɵdid"](16384,null,0,u.NgControlStatus,[u.NgControl],null,null),(t()(),a["ɵted"](null,["\n "]))],function(t,e){t(e,8,0,e.component.descripcion,t(e,9,0,!0))},function(t,e){t(e,5,0,a["ɵnov"](e,11).ngClassUntouched,a["ɵnov"](e,11).ngClassTouched,a["ɵnov"](e,11).ngClassPristine,a["ɵnov"](e,11).ngClassDirty,a["ɵnov"](e,11).ngClassValid,a["ɵnov"](e,11).ngClassInvalid,a["ɵnov"](e,11).ngClassPending)})}function l(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,49,"div",[["class","modal-dialog"],["style","margin-top:100px;"]],null,null,null,null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,46,"div",[["class","modal-content"]],null,null,null,null,null)),(t()(),a["ɵted"](null,["\n\n "])),(t()(),a["ɵeld"](0,null,null,10,"div",[["class","modal-header"]],null,null,null,null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵand"](16777216,null,null,1,null,i)),a["ɵdid"](16384,null,0,c.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),a["ɵted"](null,[" \n "])),(t()(),a["ɵand"](16777216,null,null,1,null,r)),a["ɵdid"](16384,null,0,c.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),a["ɵted"](null,[" \n "])),(t()(),a["ɵeld"](0,null,null,1,"button",[["class","close"],["style","margin-left:8px;"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.close()&&i}return i},null,null)),(t()(),a["ɵted"](null,["×"])),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵted"](null,["\n \n "])),(t()(),a["ɵeld"](0,null,null,25,"div",[["class","modal-body"]],null,null,null,null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,22,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(t,e,n){var i=!0;if("submit"===e){i=!1!==a["ɵnov"](t,20).onSubmit(n)&&i}if("reset"===e){i=!1!==a["ɵnov"](t,20).onReset()&&i}return i},null,null)),a["ɵdid"](16384,null,0,u["ɵbf"],[],null,null),a["ɵdid"](16384,null,0,u.NgForm,[[8,null],[8,null]],null,null),a["ɵprd"](2048,null,u.ControlContainer,null,[u.NgForm]),a["ɵdid"](16384,null,0,u.NgControlStatusGroup,[u.ControlContainer],null,null),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,12,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,1,"label",[["class","form-control-label"],["for","recipient-name"]],null,null,null,null,null)),(t()(),a["ɵted"](null,["Nombre:"])),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,6,"input",[["class","form-control"],["id","recipient-name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var i=!0,r=t.component;if("input"===e){i=!1!==a["ɵnov"](t,30)._handleInput(n.target.value)&&i}if("blur"===e){i=!1!==a["ɵnov"](t,30).onTouched()&&i}if("compositionstart"===e){i=!1!==a["ɵnov"](t,30)._compositionStart()&&i}if("compositionend"===e){i=!1!==a["ɵnov"](t,30)._compositionEnd(n.target.value)&&i}if("ngModelChange"===e){i=!1!==(r.nombre=n)&&i}return i},null,null)),a["ɵdid"](16384,null,0,u.DefaultValueAccessor,[a.Renderer,a.ElementRef,[2,u.COMPOSITION_BUFFER_MODE]],null,null),a["ɵprd"](1024,null,u.NG_VALUE_ACCESSOR,function(t){return[t]},[u.DefaultValueAccessor]),a["ɵdid"](671744,null,0,u.NgModel,[[2,u.ControlContainer],[8,null],[8,null],[2,u.NG_VALUE_ACCESSOR]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),a["ɵpod"](["standalone"]),a["ɵprd"](2048,null,u.NgControl,null,[u.NgModel]),a["ɵdid"](16384,null,0,u.NgControlStatus,[u.NgControl],null,null),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵand"](16777216,null,null,1,null,o)),a["ɵdid"](16384,null,0,c.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵted"](null,["\n\n "])),(t()(),a["ɵeld"](0,null,null,4,"div",[["class","modal-footer"]],null,null,null,null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,1,"button",[["class","btn btn-success"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.confirm()&&i}return i},null,null)),(t()(),a["ɵted"](null,["Crear"])),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵted"](null,["\n\n "])),(t()(),a["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,7,0,n.esDirectorio),t(e,10,0,!n.esDirectorio),t(e,32,0,n.nombre,t(e,33,0,!0)),t(e,39,0,n.esDirectorio)},function(t,e){t(e,18,0,a["ɵnov"](e,22).ngClassUntouched,a["ɵnov"](e,22).ngClassTouched,a["ɵnov"](e,22).ngClassPristine,a["ɵnov"](e,22).ngClassDirty,a["ɵnov"](e,22).ngClassValid,a["ɵnov"](e,22).ngClassInvalid,a["ɵnov"](e,22).ngClassPending),t(e,29,0,a["ɵnov"](e,35).ngClassUntouched,a["ɵnov"](e,35).ngClassTouched,a["ɵnov"](e,35).ngClassPristine,a["ɵnov"](e,35).ngClassDirty,a["ɵnov"](e,35).ngClassValid,a["ɵnov"](e,35).ngClassInvalid,a["ɵnov"](e,35).ngClassPending)})}function s(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,1,"confirm",[],null,null,null,l,f)),a["ɵdid"](180224,null,0,h.a,[p.DialogService],null,null)],null,null)}var a=n("3j3K"),u=n("NVOs"),c=n("2Je8"),h=n("7hHh"),p=n("hz2l");n.n(p);n.d(e,"a",function(){return m});var d=[],f=a["ɵcrt"]({encapsulation:2,styles:d,data:{}}),m=a["ɵccf"]("confirm",h.a,s,{},{},[])},kcyo:function(t,e,n){"use strict";var i=n("VOfZ"),r=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,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}return!1},t.prototype.partiallyApplied=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var i=function t(){var e=t,n=e.handler,i=e.args;"function"==typeof n?n.apply(void 0,i):new Function(""+n)()};return i.handler=t,i.args=e,i},t.prototype.addFromSetImmediateArguments=function(t){return this.tasksByHandle[this.nextHandle]=this.partiallyApplied.apply(void 0,t),this.nextHandle++},t.prototype.createProcessNextTickSetImmediate=function(){var t=function t(){var e=t.instance,n=e.addFromSetImmediateArguments(arguments);return e.root.process.nextTick(e.partiallyApplied(e.runIfPresent,n)),n};return t.instance=this,t},t.prototype.createPostMessageSetImmediate=function(){var t=this.root,e="setImmediate$"+t.Math.random()+"$",n=function n(i){var r=n.instance;i.source===t&&"string"==typeof i.data&&0===i.data.indexOf(e)&&r.runIfPresent(+i.data.slice(e.length))};n.instance=this,t.addEventListener("message",n,!1);var i=function t(){var e=t,n=e.messagePrefix,i=e.instance,r=i.addFromSetImmediateArguments(arguments);return i.root.postMessage(n+r,"*"),r};return i.instance=this,i.messagePrefix=e,i},t.prototype.runIfPresent=function(t){if(this.currentlyRunningATask)this.root.setTimeout(this.partiallyApplied(this.runIfPresent,t),0);else{var e=this.tasksByHandle[t];if(e){this.currentlyRunningATask=!0;try{e()}finally{this.clearImmediate(t),this.currentlyRunningATask=!1}}}},t.prototype.createMessageChannelSetImmediate=function(){var t=this,e=new this.root.MessageChannel;e.port1.onmessage=function(e){var n=e.data;t.runIfPresent(n)};var n=function t(){var e=t,n=e.channel,i=e.instance,r=i.addFromSetImmediateArguments(arguments);return n.port2.postMessage(r),r};return n.channel=e,n.instance=this,n},t.prototype.createReadyStateChangeSetImmediate=function(){var t=function t(){var e=t.instance,n=e.root,i=n.document,r=i.documentElement,o=e.addFromSetImmediateArguments(arguments),l=i.createElement("script");return l.onreadystatechange=function(){e.runIfPresent(o),l.onreadystatechange=null,r.removeChild(l),l=null},r.appendChild(l),o};return t.instance=this,t},t.prototype.createSetTimeoutSetImmediate=function(){var t=function t(){var e=t.instance,n=e.addFromSetImmediateArguments(arguments);return e.root.setTimeout(e.partiallyApplied(e.runIfPresent,n),0),n};return t.instance=this,t},t}();e.ImmediateDefinition=r,e.Immediate=new r(i.root)},kgIC:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.collapsed=!1}return t}();r.decorators=[{type:i.Directive,args:[{selector:"[ngbCollapse]",exportAs:"ngbCollapse",host:{"[class.collapse]":"true","[class.show]":"!collapsed"}}]}],r.ctorParameters=function(){return[]},r.propDecorators={collapsed:[{type:i.Input,args:["ngbCollapse"]}]}},kzcK:function(t,e,n){"use strict";var i=n("3j3K"),r=n("eCJc"),o=n("RX2M"),l=n("M0cT"),s=n("/I96"),a=n("vfkA"),u=n("qsK9"),c=n("MSQt"),h=n("UyZi"),p=n("Ep2y"),d=n("WKBe"),f=n("1Z2I"),m=n("A8b0"),v=n("as+d"),g=n("62nT"),y=n("yDyO"),b=n("K/oD");n.d(e,"a",function(){return x}),n.d(e,"b",function(){return C});var w=[r.a,o.a,l.a,s.a,a.a,u.a,c.a,h.a,p.a,d.a,f.a,m.a,v.a,g.a,y.a,b.a],x=function(){function t(){}return t}();x.decorators=[{type:i.NgModule,args:[{imports:[o.a.forRoot(),l.a.forRoot(),a.a.forRoot(),f.a.forRoot(),y.a.forRoot(),b.a.forRoot(),r.a.forRoot(),s.a.forRoot(),u.a.forRoot(),c.a.forRoot(),h.a.forRoot(),p.a.forRoot(),d.a.forRoot(),f.a.forRoot(),m.a.forRoot(),v.a.forRoot(),g.a.forRoot(),y.a.forRoot()],exports:w}]}],x.ctorParameters=function(){return[]};var C=function(){function t(){}return t.forRoot=function(){return{ngModule:x}},t}();C.decorators=[{type:i.NgModule,args:[{imports:w,exports:w}]}],C.ctorParameters=function(){return[]}},l19J:function(t,e,n){"use strict";function i(t){return 0===t?new s.EmptyObservable:this.lift(new a(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),l=n("8Z8y"),s=n("jBEF");e.takeLast=i;var a=function(){function t(t){if(this.total=t,this.total<0)throw new l.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){t.call(this,e),this.total=n,this.ring=new Array,this.count=0}return r(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,i=this.count++;if(e.length<n)e.push(t);else{e[i%n]=t}},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r<n;r++){var o=e++%n;t.next(i[o])}t.complete()},e}(o.Subscriber)},l5HU:function(t,e,n){"use strict";var i=n("3j3K"),r=n("DDfv");n.d(e,"a",function(){return a});var o=0,l=function(){function t(t){this.tplRef=t,this.id="ngb-slide-"+o++}return t}();l.decorators=[{type:i.Directive,args:[{selector:"ng-template[ngbSlide]"}]}],l.ctorParameters=function(){return[{type:i.TemplateRef}]},l.propDecorators={id:[{type:i.Input}]};var s=function(){function t(t){this.interval=t.interval,this.wrap=t.wrap,this.keyboard=t.keyboard}return t.prototype.ngAfterContentChecked=function(){var t=this._getSlideById(this.activeId);this.activeId=t?t.id:this.slides.length?this.slides.first.id:null},t.prototype.ngOnInit=function(){this._startTimer()},t.prototype.ngOnDestroy=function(){clearInterval(this._slideChangeInterval)},t.prototype.select=function(t){this.cycleToSelected(t),this._restartTimer()},t.prototype.prev=function(){this.cycleToPrev(),this._restartTimer()},t.prototype.next=function(){this.cycleToNext(),this._restartTimer()},t.prototype.pause=function(){this._stopTimer()},t.prototype.cycle=function(){this._startTimer()},t.prototype.cycleToNext=function(){this.cycleToSelected(this._getNextSlide(this.activeId))},t.prototype.cycleToPrev=function(){this.cycleToSelected(this._getPrevSlide(this.activeId))},t.prototype.cycleToSelected=function(t){var e=this._getSlideById(t);e&&(this.activeId=e.id)},t.prototype.keyPrev=function(){this.keyboard&&this.prev()},t.prototype.keyNext=function(){this.keyboard&&this.next()},t.prototype._restartTimer=function(){this._stopTimer(),this._startTimer()},t.prototype._startTimer=function(){var t=this;this.interval>0&&(this._slideChangeInterval=setInterval(function(){t.cycleToNext()},this.interval))},t.prototype._stopTimer=function(){clearInterval(this._slideChangeInterval)},t.prototype._getSlideById=function(t){var e=this.slides.filter(function(e){return e.id===t});return e.length?e[0]:null},t.prototype._getSlideIdxById=function(t){return this.slides.toArray().indexOf(this._getSlideById(t))},t.prototype._getNextSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return n===e.length-1?this.wrap?e[0].id:e[e.length-1].id:e[n+1].id},t.prototype._getPrevSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return 0===n?this.wrap?e[e.length-1].id:e[0].id:e[n-1].id},t}();s.decorators=[{type:i.Component,args:[{selector:"ngb-carousel",exportAs:"ngbCarousel",host:{class:"carousel slide","[style.display]":'"block"',tabIndex:"0","(mouseenter)":"pause()","(mouseleave)":"cycle()","(keydown.arrowLeft)":"keyPrev()","(keydown.arrowRight)":"keyNext()"},template:'\n <ol class="carousel-indicators">\n <li *ngFor="let slide of slides" [id]="slide.id" [class.active]="slide.id === activeId" (click)="cycleToSelected(slide.id)"></li>\n </ol>\n <div class="carousel-inner">\n <div *ngFor="let slide of slides" class="carousel-item" [class.active]="slide.id === activeId">\n <ng-template [ngTemplateOutlet]="slide.tplRef"></ng-template>\n </div>\n </div>\n <a class="left carousel-control-prev" role="button" (click)="cycleToPrev()">\n <span class="carousel-control-prev-icon" aria-hidden="true"></span>\n <span class="sr-only">Previous</span>\n </a>\n <a class="right carousel-control-next" role="button" (click)="cycleToNext()">\n <span class="carousel-control-next-icon" aria-hidden="true"></span>\n <span class="sr-only">Next</span>\n </a>\n '}]}],s.ctorParameters=function(){return[{type:r.a}]},s.propDecorators={slides:[{type:i.ContentChildren,args:[l]}],interval:[{type:i.Input}],wrap:[{type:i.Input}],keyboard:[{type:i.Input}],activeId:[{type:i.Input}]};var a=[s,l]},lU4I:function(t,e,n){"use strict";var i=n("8MUz");e.concat=i.concatStatic},lcaH:function(t,e,n){"use strict";function i(t){return new o.a(t.getFullYear(),t.getMonth()+1,t.getDate())}function r(t){var e=new Date(t.year,t.month-1,t.day);return isNaN(e.getTime())||e.setFullYear(t.year),e}var o=n("hlt1"),l=n("3j3K"),s=n("2yGx");n.d(e,"a",function(){return u}),n.d(e,"b",function(){return c});var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(){function t(){}return t}();u.decorators=[{type:l.Injectable}],u.ctorParameters=function(){return[]};var c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.getDaysPerWeek=function(){return 7},e.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},e.prototype.getWeeksPerMonth=function(){return 6},e.prototype.getNext=function(t,e,n){void 0===e&&(e="d"),void 0===n&&(n=1);var l=r(t);switch(e){case"y":return new o.a(t.year+n,1,1);case"m":l=new Date(t.year,t.month+n-1,1);break;case"d":l.setDate(l.getDate()+n);break;default:return t}return i(l)},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e="d"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=r(t),n=e.getDay();return 0===n?7:n},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=(11-e)%7,i=t[n],o=r(i);o.setDate(o.getDate()+4-(o.getDay()||7));var l=o.getTime();return o.setMonth(0),o.setDate(1),Math.floor(Math.round((l-o.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return i(new Date)},e.prototype.isValid=function(t){if(!(t&&n.i(s.i)(t.year)&&n.i(s.i)(t.month)&&n.i(s.i)(t.day)))return!1;var e=r(t);return!isNaN(e.getTime())&&e.getFullYear()===t.year&&e.getMonth()+1===t.month&&e.getDate()===t.day},e}(u);c.decorators=[{type:l.Injectable}],c.ctorParameters=function(){return[]}},"lh/Z":function(t,e,n){"use strict";var i=n("rCTf"),r=n("3eju");i.Observable.webSocket=r.webSocket},lvn4:function(t,e,n){"use strict";var i=n("Nr0j");n.n(i);n.d(e,"a",function(){return o});var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=function(t){function e(e){return t.call(this,e)||this}return r(e,t),e.prototype.confirmarEliminar=function(){var t=this,e=this.parentContext,n=this.parentContext.archivoSeleccionado.directorio;this.parentContext.archivoSeleccionado.eliminado=!0,n&&delete this.parentContext.archivoSeleccionado.archivos,this.parentContext.haskellService.editarArchivo(this.parentContext.archivoSeleccionado.id,this.parentContext.archivoSeleccionado).subscribe(function(t){if(console.log("Archivo eliminado"),n)var i=e.directorioActual.padreId;else var i=e.directorioActual.id;e.recargarArchivos(i),e.archivoSeleccionado=null},function(e){t.parentContext.notifService.error(e)}),this.close()},e.ctorParameters=function(){return[{type:i.DialogService}]},e}(i.DialogComponent)},mQmC:function(t,e,n){"use strict";var i=n("RSMh");e.using=i.UsingObservable.create},mwbX:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var i=window.location.protocol+"//"+window.location.host,r="http:"==window.location.protocol?"ws://"+window.location.host+"/endpoint":"wss://"+window.location.host+"/endpoint"},nCuf:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.max=100,this.animated=!1,this.striped=!1,this.showValue=!1}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},nDCe:function(t,e,n){"use strict";var i=n("rCTf"),r=n("PN3d");i.Observable.prototype.publishBehavior=r.publishBehavior},nFIP:function(t,e,n){"use strict";function i(t){var e=this;if(t||(r.root.Rx&&r.root.Rx.config&&r.root.Rx.config.Promise?t=r.root.Rx.config.Promise:r.root.Promise&&(t=r.root.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,n){var i;e.subscribe(function(t){return i=t},function(t){return n(t)},function(){return t(i)})})}var r=n("VOfZ");e.toPromise=i},nsuO:function(t,e,n){"use strict";var i=n("rCTf"),r=n("AZSN");i.Observable.prototype.buffer=r.buffer},nxqe:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i;!function(t){t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC"}(i||(i={}))},nypn:function(t,e,n){"use strict";function i(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary pull-right"],["data-placement","bottom"],["ngbPopover","Atras"],["style","cursor: pointer; margin-top: -33.5px; margin-right: 73px; height: 30px;"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.navBack()&&i}return i},null,null)),D["ɵdid"](212992,null,0,M.a,[D.ElementRef,D.Renderer2,D.Injector,D.ComponentFactoryResolver,D.ViewContainerRef,R.a,D.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,0,"i",[["class","fa fa-arrow-up"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵand"](0,null,null,0))],function(t,e){t(e,1,0,"Atras","bottom","mouseenter:mouseleave")},null)}function r(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,9,"div",[["class","loading"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "]))],null,null)}function o(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-folder"],["style","font-size: 3em; cursor: pointer;color:#f95e5e"]],null,null,null,null,null))],null,null)}function l(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-file-text"],["style","font-size: 3em; cursor: pointer;color:#ff8383"]],null,null,null,null,null))],null,null)}function s(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,10,"div",[["class","col-sm-3 col-4"],["style","text-align: center;"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.seleccionarArchivo(t.context.$implicit)&&i}return i},null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵand"](16777216,null,null,1,null,o)),D["ɵdid"](16384,null,0,N.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵand"](16777216,null,null,1,null,l)),D["ɵdid"](16384,null,0,N.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,1,"p",[["style","cursor: pointer;"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["",""])),(t()(),D["ɵted"](null,["\n "]))],function(t,e){t(e,3,0,e.context.$implicit.directorio),t(e,6,0,!e.context.$implicit.directorio)},function(t,e){t(e,9,0,e.context.$implicit.nombre)})}function a(t){return D["ɵvid"](0,[(t()(),D["ɵted"](null,["\n\n "])),(t()(),D["ɵeld"](0,null,null,64,"div",[["class","card"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,48,"div",[],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,4,"div",[["class","btn-group pull-right"],["style","cursor: pointer; margin-top: -9px;"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵand"](16777216,null,null,1,null,i)),D["ɵdid"](16384,null,0,N.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,18,"div",[["class","btn-group pull-right"],["style","cursor: pointer; margin-top: -42px; height: 30px; width: 29px;"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](16777216,null,null,4,"button",[["aria-expanded","false"],["aria-haspopup","true"],["class","btn btn-sm btn-secondary"],["data-placement","bottom"],["data-toggle","dropdown"],["ngbPopover","Nuevo"],["style","cursor: pointer;border-radius: 3px;"],["triggers","mouseenter:mouseleave"],["type","button"]],null,null,null,null,null)),D["ɵdid"](212992,null,0,M.a,[D.ElementRef,D.Renderer2,D.Injector,D.ComponentFactoryResolver,D.ViewContainerRef,R.a,D.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,0,"i",[["class","fa fa-plus"]],null,null,null,null,null)),(t()(),D["ɵted"](null,[" \n "])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,9,"div",[["class","dropdown-menu"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,1,"a",[["class","dropdown-item"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.mkFile()&&i}return i},null,null)),(t()(),D["ɵted"](null,["Archivo"])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,0,"div",[["class","dropdown-divider"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,1,"a",[["class","dropdown-item"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.mkdir()&&i}return i},null,null)),(t()(),D["ɵted"](null,["Carpeta"])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵted"](null,["\n\n "])),(t()(),D["ɵeld"](0,null,null,18,"div",[["class","btn-group pull-right"],["style","cursor: pointer; margin-top: -42px; height: 30px; width: 29px; margin-right: 36px;"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](16777216,null,null,4,"button",[["aria-expanded","false"],["aria-haspopup","true"],["class","btn btn-sm btn-secondary"],["data-placement","bottom"],["data-toggle","dropdown"],["ngbPopover","Ordenar"],["style","cursor: pointer;border-radius: 3px;width: 36px;"],["triggers","mouseenter:mouseleave"],["type","button"]],null,null,null,null,null)),D["ɵdid"](212992,null,0,M.a,[D.ElementRef,D.Renderer2,D.Injector,D.ComponentFactoryResolver,D.ViewContainerRef,R.a,D.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,0,"i",[["class","fa fa-sort"]],null,null,null,null,null)),(t()(),D["ɵted"](null,[" \n "])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,9,"div",[["class","dropdown-menu"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,1,"a",[["class","dropdown-item"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.ordenarPorTipo()&&i}return i},null,null)),(t()(),D["ɵted"](null,["Carpetas primero"])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,0,"div",[["class","dropdown-divider"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,1,"a",[["class","dropdown-item"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.ordenarPorFecha()&&i}return i},null,null)),(t()(),D["ɵted"](null,["Fecha de creación"])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵted"](null,["\n\n\n "])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,11,"div",[["class","card-block"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,8,"div",[["class","row listado-archivos"],["style","min-height: 100px; overflow-y: scroll;"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵand"](16777216,null,null,1,null,r)),D["ɵdid"](16384,null,0,N.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵand"](16777216,null,null,2,null,s)),D["ɵdid"](802816,null,0,N.NgForOf,[D.ViewContainerRef,D.TemplateRef,D.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),D["ɵpid"](0,A.a,[]),(t()(),D["ɵted"](null,[" \n "])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵted"](null,["\n\n "]))],function(t,e){var n=e.component;t(e,8,0,-1!=n.directorioActual.padreId),t(e,15,0,"Nuevo","bottom","mouseenter:mouseleave"),t(e,35,0,"Ordenar","bottom","mouseenter:mouseleave"),t(e,58,0,n.loading),t(e,61,0,D["ɵunv"](e,61,0,D["ɵnov"](e,62).transform(n.directorioActual.archivos,"nombre",n.filtroNombre)))},null)}function u(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,9,"div",[["class","loading"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "]))],null,null)}function c(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,6,"div",[["class","col-sm-3 col-4"],["style","text-align: center;"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.seleccionarArchivo(t.context.$implicit)&&i}return i},null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-file-text"],["style","font-size: 3em; cursor: pointer;color:#ff8383"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n\n "])),(t()(),D["ɵeld"](0,null,null,1,"p",[["style","cursor: pointer;"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["",""])),(t()(),D["ɵted"](null,["\n "]))],null,function(t,e){t(e,5,0,e.context.$implicit.nombre)})}function h(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,14,"div",[["class","card"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,11,"div",[["class","card-block"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,8,"div",[["class","row listado-archivos"],["style","min-height: 100px; overflow-y: scroll;"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵand"](16777216,null,null,1,null,u)),D["ɵdid"](16384,null,0,N.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵand"](16777216,null,null,2,null,c)),D["ɵdid"](802816,null,0,N.NgForOf,[D.ViewContainerRef,D.TemplateRef,D.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),D["ɵpid"](0,A.a,[]),(t()(),D["ɵted"](null,[" \n "])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,7,0,n.loadingCompartidos),t(e,10,0,D["ɵunv"](e,10,0,D["ɵnov"](e,11).transform(n.archivosCompartidosSinDuplicados,"nombre",n.filtroNombre)))},null)}function p(t){return D["ɵvid"](0,[(t()(),D["ɵted"](null,["\n\n "])),(t()(),D["ɵand"](16777216,null,null,1,null,h)),D["ɵdid"](16384,null,0,N.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),D["ɵted"](null,["\n "]))],function(t,e){t(e,2,0,e.component.esAlumno)},null)}function d(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,1,"button",[["class","btn btn-sm btn-secondary pull-left mr-2"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.seleccionarArchivoOriginal()&&i}return i},null,null)),(t()(),D["ɵted"](null,["Ver original"]))],null,null)}function f(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,1,"button",[["class","btn btn-sm btn-secondary pull-left mr-2"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.seleccionarArchivoMio()&&i}return i},null,null)),(t()(),D["ɵted"](null,["Ver mio"]))],null,null)}function m(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,1,"button",[["class","btn btn-sm btn-secondary pull-left mr-4"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.confirmarEntrega()&&i}return i},null,null)),(t()(),D["ɵted"](null,["Entregar"]))],null,null)}function v(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,1,"div",[["class","pull-left mr-2"]],null,null,null,null,null)),(t()(),D["ɵted"](null,[""," - "]))],null,function(t,e){t(e,1,0,e.component.archivoSeleccionado.estado)})}function g(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,1,"button",[["class","btn btn-sm btn-secondary pull-left mr-2"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.verCalificacion()&&i}return i},null,null)),(t()(),D["ɵted"](null,["Ver calificacion"]))],null,null)}function y(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,1,"button",[["class","btn btn-sm btn-secondary pull-left mr-2"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.compartirArchivo()&&i}return i},null,null)),(t()(),D["ɵted"](null,["Compartir"]))],null,null)}function b(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,2,"div",[["class","pull-left"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n Nombre: "," - Creado: ","\n "])),D["ɵppd"](1)],null,function(t,e){var n=e.component;t(e,1,0,null==n.archivoSeleccionado?null:n.archivoSeleccionado.nombre,D["ɵunv"](e,1,1,t(e,2,0,D["ɵnov"](e.parent,0),null==n.archivoSeleccionado?null:n.archivoSeleccionado.fechaCreacion)))})}function w(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,1,"div",[["class","pull-left"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["Seleccione un archivo para previsualizarlo"]))],null,null)}function x(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,0,"input",[["class","custom-control-input"],["type","checkbox"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.setSoloLectura()&&i}return i},null,null))],null,null)}function C(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,0,"input",[["checked",""],["class","custom-control-input"],["type","checkbox"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.setSoloLectura()&&i}return i},null,null))],null,null)}function S(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,12,"label",[["class","custom-control custom-checkbox"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵand"](16777216,null,null,1,null,x)),D["ɵdid"](16384,null,0,N.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵand"](16777216,null,null,1,null,C)),D["ɵdid"](16384,null,0,N.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,0,"span",[["class","custom-control-indicator"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,1,"span",[["class","custom-control-description"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["Solo lectura"])),(t()(),D["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,3,0,n.archivoSeleccionado.editable),t(e,6,0,!n.archivoSeleccionado.editable)},null)}function O(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,4,"div",[["class","pull-right"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵand"](16777216,null,null,1,null,S)),D["ɵdid"](16384,null,0,N.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),D["ɵted"](null,["\n "]))],function(t,e){t(e,3,0,!e.component.esAlumno)},null)}function _(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,6,"div",[["class","card-block"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,3,"div",[["class","previewArchivoNoSeleccionado"],["style","width: 100%; text-align: center;"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,0,"i",[["class","fa fa-file-text"],["style","color: rgb(220,220,220); font-size: 10em; padding: 0.1em"]],null,null,null,null,null)),(t()(),D["ɵted"](null,[" \n "])),(t()(),D["ɵted"](null,[" \n "]))],null,null)}function k(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,8,"codemirror",[["class","codemirrorArchivo"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(t,e,n){var i=!0,r=t.component;if("ngModelChange"===e){i=!1!==(r.preview=n)&&i}return i},E.a,E.b)),D["ɵdid"](278528,null,0,N.NgStyle,[D.KeyValueDiffers,D.ElementRef,D.Renderer],{ngStyle:[0,"ngStyle"]},null),D["ɵpod"](["font-size"]),D["ɵdid"](4374528,[[1,4]],0,P.CodemirrorComponent,[],{config:[0,"config"]},null),D["ɵprd"](1024,null,j.NG_VALUE_ACCESSOR,function(t){return[t]},[P.CodemirrorComponent]),D["ɵdid"](671744,null,0,j.NgModel,[[8,null],[8,null],[8,null],[2,j.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),D["ɵprd"](2048,null,j.NgControl,null,[j.NgModel]),D["ɵdid"](16384,null,0,j.NgControlStatus,[j.NgControl],null,null),(t()(),D["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,1,0,t(e,2,0,n.configCodeMirror.fontSize+"px")),t(e,3,0,n.configCodeMirror),t(e,5,0,n.preview)},function(t,e){t(e,0,0,D["ɵnov"](e,7).ngClassUntouched,D["ɵnov"](e,7).ngClassTouched,D["ɵnov"](e,7).ngClassPristine,D["ɵnov"](e,7).ngClassDirty,D["ɵnov"](e,7).ngClassValid,D["ɵnov"](e,7).ngClassInvalid,D["ɵnov"](e,7).ngClassPending)})}function T(t){return D["ɵvid"](0,[D["ɵpid"](0,N.DatePipe,[D.LOCALE_ID]),D["ɵqud"](671088640,1,{codemirror:0}),(t()(),D["ɵeld"](0,null,null,1,"notificacion",[],null,null,null,L.a,L.b)),D["ɵdid"](114688,null,0,F.a,[V.a],null,null),(t()(),D["ɵted"](null,[" \n"])),(t()(),D["ɵeld"](0,null,null,112,"div",[["class","container-fluid"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,20,"div",[["class","row"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,17,"div",[["class","col-lg-5"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,1,"label",[["for","search"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["Nombre del archivo:"])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,11,"div",[["class","input-group"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,5,"input",[["class","form-control"],["id","search"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var i=!0,r=t.component;if("input"===e){i=!1!==D["ɵnov"](t,17)._handleInput(n.target.value)&&i}if("blur"===e){i=!1!==D["ɵnov"](t,17).onTouched()&&i}if("compositionstart"===e){i=!1!==D["ɵnov"](t,17)._compositionStart()&&i}if("compositionend"===e){i=!1!==D["ɵnov"](t,17)._compositionEnd(n.target.value)&&i}if("ngModelChange"===e){i=!1!==(r.filtroNombre=n)&&i}return i},null,null)),D["ɵdid"](16384,null,0,j.DefaultValueAccessor,[D.Renderer,D.ElementRef,[2,j.COMPOSITION_BUFFER_MODE]],null,null),D["ɵprd"](1024,null,j.NG_VALUE_ACCESSOR,function(t){return[t]},[j.DefaultValueAccessor]),D["ɵdid"](671744,null,0,j.NgModel,[[8,null],[8,null],[8,null],[2,j.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),D["ɵprd"](2048,null,j.NgControl,null,[j.NgModel]),D["ɵdid"](16384,null,0,j.NgControlStatus,[j.NgControl],null,null),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,1,"span",[["class","input-group-addon fa fa-search"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵted"](null,["\n\n "])),(t()(),D["ɵted"](null,["\n \n "])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,87,"div",[["class","row"],["style","margin-top: 20px"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,24,"div",[["class","col-lg-5"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,21,"ngb-tabset",[],null,null,null,z.a,z.b)),D["ɵdid"](2146304,null,1,H.a,[B.a],{destroyOnHide:[0,"destroyOnHide"]},null),D["ɵqud"](603979776,2,{tabs:1}),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,7,"ngb-tab",[["title","Mis archivos"]],null,null,null,null,null)),D["ɵdid"](16384,[[2,4]],2,H.b,[],{title:[0,"title"]},null),D["ɵqud"](335544320,3,{contentTpl:0}),D["ɵqud"](335544320,4,{titleTpl:0}),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵand"](0,null,null,1,null,a)),D["ɵdid"](16384,[[3,4]],0,H.c,[D.TemplateRef],null,null),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,7,"ngb-tab",[["title","Compartidos"]],null,null,null,null,null)),D["ɵdid"](16384,[[2,4]],2,H.b,[],{title:[0,"title"]},null),D["ɵqud"](335544320,5,{contentTpl:0}),D["ɵqud"](335544320,6,{titleTpl:0}),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵand"](0,null,null,1,null,p)),D["ɵdid"](16384,[[5,4]],0,H.c,[D.TemplateRef],null,null),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵted"](null,[" \n "])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,58,"div",[["class","col-lg-7"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,55,"div",[["class","card"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,46,"div",[["class","card-header"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary pull-left mr-2"],["data-placement","bottom"],["ngbPopover","Cargar/Editar"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.cargarArchivo()&&i}return i},null,null)),D["ɵdid"](212992,null,0,M.a,[D.ElementRef,D.Renderer2,D.Injector,D.ComponentFactoryResolver,D.ViewContainerRef,R.a,D.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](0,null,null,0,"i",[["class","fa fa-pencil"]],null,null,null,null,null)),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary pull-left mr-2"],["data-placement","bottom"],["ngbPopover","Eliminar"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.mostrarEliminarDialogo()&&i}return i},null,null)),D["ɵdid"](212992,null,0,M.a,[D.ElementRef,D.Renderer2,D.Injector,D.ComponentFactoryResolver,D.ViewContainerRef,R.a,D.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(t()(),D["ɵted"](null,[" \n "])),(t()(),D["ɵeld"](0,null,null,0,"i",[["class","fa fa-remove"]],null,null,null,null,null)),(t()(),D["ɵted"](null,[" \n "])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵeld"](16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary pull-left mr-2"],["data-placement","bottom"],["ngbPopover","Mover Archivo"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.seleccionarDirectorioAMover()&&i}return i},null,null)),D["ɵdid"](212992,null,0,M.a,[D.ElementRef,D.Renderer2,D.Injector,D.ComponentFactoryResolver,D.ViewContainerRef,R.a,D.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(t()(),D["ɵted"](null,[" \n "])),(t()(),D["ɵeld"](0,null,null,0,"i",[["class","fa fa-cut"]],null,null,null,null,null)),(t()(),D["ɵted"](null,[" \n "])),(t()(),D["ɵted"](null,["\n\n "])),(t()(),D["ɵand"](16777216,null,null,1,null,d)),D["ɵdid"](16384,null,0,N.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),D["ɵted"](null,["\n\n "])),(t()(),D["ɵand"](16777216,null,null,1,null,f)),D["ɵdid"](16384,null,0,N.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),D["ɵted"](null,["\n\n "])),(t()(),D["ɵand"](16777216,null,null,1,null,m)),D["ɵdid"](16384,null,0,N.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),D["ɵted"](null,["\n \n "])),(t()(),D["ɵand"](16777216,null,null,1,null,v)),D["ɵdid"](16384,null,0,N.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),D["ɵted"](null,["\n\n "])),(t()(),D["ɵand"](16777216,null,null,1,null,g)),D["ɵdid"](16384,null,0,N.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),D["ɵted"](null,["\n\n "])),(t()(),D["ɵand"](16777216,null,null,1,null,y)),D["ɵdid"](16384,null,0,N.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),D["ɵted"](null,["\n\n "])),(t()(),D["ɵand"](16777216,null,null,1,null,b)),D["ɵdid"](16384,null,0,N.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵand"](16777216,null,null,1,null,w)),D["ɵdid"](16384,null,0,N.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵand"](16777216,null,null,1,null,O)),D["ɵdid"](16384,null,0,N.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵand"](16777216,null,null,1,null,_)),D["ɵdid"](16384,null,0,N.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵand"](16777216,null,null,1,null,k)),D["ɵdid"](16384,null,0,N.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),D["ɵted"](null,["\n "])),(t()(),D["ɵted"](null,["\n\n "])),(t()(),D["ɵted"](null,["\n\n"])),(t()(),D["ɵted"](null,["\n"])),(t()(),D["ɵted"](null,["\n\n\n\n\n"]))],function(t,e){var n=e.component;t(e,3,0),t(e,19,0,n.filtroNombre),t(e,34,0,!1),t(e,38,0,"Mis archivos"),t(e,47,0,"Compartidos"),t(e,64,0,"Cargar/Editar","bottom","mouseenter:mouseleave"),t(e,70,0,"Eliminar","bottom","mouseenter:mouseleave"),t(e,76,0,"Mover Archivo","bottom","mouseenter:mouseleave"),t(e,82,0,n.esAlumno&&n.archivoSeleccionado&&n.hayArchivoOriginal()),t(e,85,0,n.esAlumno&&n.archivoSeleccionado&&n.hayArchivoMio()),t(e,88,0,n.esAlumno&&n.archivoSeleccionado&&!n.archivoSeleccionado.directorio&&-1!=n.archivoSeleccionado.archivoOrigenId&&("Edicion"==n.archivoSeleccionado.estado||"Devuelto"==n.archivoSeleccionado.estado)),t(e,91,0,n.esAlumno&&"Entregado"==(null==n.archivoSeleccionado?null:n.archivoSeleccionado.estado)),t(e,94,0,n.esAlumno&&"Corregido"==(null==n.archivoSeleccionado?null:n.archivoSeleccionado.estado)),t(e,97,0,!n.esAlumno),t(e,100,0,n.archivoSeleccionado),t(e,103,0,!n.archivoSeleccionado),t(e,106,0,n.archivoSeleccionado),t(e,110,0,!n.archivoSeleccionado),t(e,113,0,n.archivoSeleccionado)},function(t,e){t(e,16,0,D["ɵnov"](e,21).ngClassUntouched,D["ɵnov"](e,21).ngClassTouched,D["ɵnov"](e,21).ngClassPristine,D["ɵnov"](e,21).ngClassDirty,D["ɵnov"](e,21).ngClassValid,D["ɵnov"](e,21).ngClassInvalid,D["ɵnov"](e,21).ngClassPending)})}function I(t){return D["ɵvid"](0,[(t()(),D["ɵeld"](0,null,null,1,"archivos",[],null,null,null,T,J)),D["ɵdid"](114688,null,0,W.a,[U.c,V.a,q.a,K.a,G.a,Y.DialogService],null,null)],function(t,e){t(e,1,0)},null)}var D=n("3j3K"),M=n("WtNX"),R=n("ETCP"),N=n("2Je8"),A=n("1nax"),E=n("1hiA"),P=n("zK+N"),j=(n.n(P),n("NVOs")),L=n("FiTo"),F=n("SIx6"),V=n("dBGY"),W=n("+cid"),z=n("INWX"),H=n("edM1"),B=n("v4DA"),U=n("5oXY"),q=n("R6W2"),K=n("FR2h"),G=n("Zwpz"),Y=n("hz2l");n.n(Y);n.d(e,"a",function(){return $});var X=[],J=D["ɵcrt"]({encapsulation:2,styles:X,data:{}}),$=D["ɵccf"]("archivos",W.a,I,{},{},[])},oHQS:function(t,e,n){"use strict";var i=n("rCTf"),r=n("SudU");i.Observable.prototype.subscribeOn=r.subscribeOn},okk1:function(t,e,n){"use strict";var i=n("rCTf"),r=n("bBiI");i.Observable.prototype.first=r.first},p1Um:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Ji1B");i.Observable.prototype.observeOn=r.observeOn},"p5++":function(t,e,n){"use strict";function i(t){return this.lift(new s(t,this))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),l=n("F7Al");e.single=i;var s=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.source))},t}(),a=function(t){function e(e,n,i){t.call(this,e),this.predicate=n,this.source=i,this.seenValue=!1,this.index=0}return r(e,t),e.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},e.prototype._next=function(t){var e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)},e.prototype.tryNext=function(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new l.EmptyError)},e}(o.Subscriber)},"q+cp":function(t,e,n){"use strict";function i(t){return this.lift(new s(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),l=n("CURp");e.takeUntil=i;var s=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.notifier))},t}(),a=function(t){function e(e,n){t.call(this,e),this.notifier=n,this.add(l.subscribeToResult(this,n))}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.complete()},e.prototype.notifyComplete=function(){},e}(o.OuterSubscriber)},"q+ny":function(t,e,n){"use strict";function i(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,this.lift(new u(t,e,n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("+3eL"),l=n("WhVc"),s=n("wAkD"),a=n("CURp");e.expand=i;var u=function(){function t(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.project,this.concurrent,this.scheduler))},t}();e.ExpandOperator=u;var c=function(t){function e(e,n,i,r){t.call(this,e),this.project=n,this.concurrent=i,this.scheduler=r,this.index=0,this.active=0,this.hasCompleted=!1,i<Number.POSITIVE_INFINITY&&(this.buffer=[])}return r(e,t),e.dispatch=function(t){var e=t.subscriber,n=t.result,i=t.value,r=t.index;e.subscribeToProjection(n,i,r)},e.prototype._next=function(t){var n=this.destination;if(n.closed)return void this._complete();var i=this.index++;if(this.active<this.concurrent){n.next(t);var r=o.tryCatch(this.project)(t,i);if(r===l.errorObject)n.error(l.errorObject.e);else if(this.scheduler){var s={subscriber:this,result:r,value:t,index:i};this.add(this.scheduler.schedule(e.dispatch,0,s))}else this.subscribeToProjection(r,t,i)}else this.buffer.push(t)},e.prototype.subscribeToProjection=function(t,e,n){this.active++,this.add(a.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,i,r){this._next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e&&e.length>0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(s.OuterSubscriber);e.ExpandSubscriber=c},q0UB:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("cwzr"),o=n("9Avi"),l=function(t){function e(e,n){var i=this;void 0===e&&(e=s),void 0===n&&(n=Number.POSITIVE_INFINITY),t.call(this,e,function(){return i.frame}),this.maxFrames=n,this.frame=0,this.index=-1}return i(e,t),e.prototype.flush=function(){for(var t,e,n=this,i=n.actions,r=n.maxFrames;(e=i.shift())&&(this.frame=e.delay)<=r&&!(t=e.execute(e.state,e.delay)););if(t){for(;e=i.shift();)e.unsubscribe();throw t}},e.frameTimeFactor=10,e}(o.AsyncScheduler);e.VirtualTimeScheduler=l;var s=function(t){function e(e,n,i){void 0===i&&(i=e.index+=1),t.call(this,e,n),this.scheduler=e,this.work=n,this.index=i,this.active=!0,this.index=e.index=i}return i(e,t),e.prototype.schedule=function(n,i){if(void 0===i&&(i=0),!this.id)return t.prototype.schedule.call(this,n,i);this.active=!1;var r=new e(this.scheduler,this.work);return this.add(r),r.schedule(n,i)},e.prototype.requestAsyncId=function(t,n,i){void 0===i&&(i=0),this.delay=t.frame+i;var r=t.actions;return r.push(this),r.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(t,e,n){void 0===n&&(n=0)},e.prototype._execute=function(e,n){if(!0===this.active)return t.prototype._execute.call(this,e,n)},e.sortActions=function(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1},e}(r.AsyncAction);e.VirtualAction=s},q3ik:function(t,e,n){"use strict";var i=n("rCTf"),r=n("8hgl");i.Observable.prototype.distinctUntilChanged=r.distinctUntilChanged},"q4U+":function(t,e,n){"use strict";var i=n("rCTf"),r=n("erNO");i.Observable.prototype.windowCount=r.windowCount},q4uO:function(t,e,n){"use strict";var i=n("Nr0j");n.n(i);n.d(e,"a",function(){return o});var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=function(t){function e(e){return t.call(this,e)||this}return r(e,t),e.ctorParameters=function(){return[{type:i.DialogService}]},e}(i.DialogComponent)},qBUJ:function(t,e,n){"use strict";var i=n("3j3K"),r=n("hlt1"),o=n("2yGx"),l=n("gEbu"),s=n("lcaH");n.d(e,"a",function(){return a});var a=function(){function t(t,e){this.i18n=t,this.calendar=e,this.years=[],this.select=new i.EventEmitter,this.months=e.getMonths()}return t.prototype.ngOnChanges=function(t){(t.maxDate||t.minDate||t.date)&&(this._generateYears(),this._generateMonths())},t.prototype.changeMonth=function(t){this.select.emit(new r.a(this.date.year,n.i(o.b)(t),1))},t.prototype.changeYear=function(t){this.select.emit(new r.a(n.i(o.b)(t),this.date.month,1))},t.prototype._generateMonths=function(){var t=this;if(this.months=this.calendar.getMonths(),this.date&&this.date.year===this.minDate.year){var e=this.months.findIndex(function(e){return e===t.minDate.month});this.months=this.months.slice(e)}if(this.date&&this.date.year===this.maxDate.year){var e=this.months.findIndex(function(e){return e===t.maxDate.month});this.months=this.months.slice(0,e+1)}},t.prototype._generateYears=function(){var t=this;this.years=Array.from({length:this.maxDate.year-this.minDate.year+1},function(e,n){return t.minDate.year+n})},t}();a.decorators=[{type:i.Component,args:[{selector:"ngb-datepicker-navigation-select",styles:["\n select {\n /* to align with btn-sm */\n padding: 0.25rem 0.5rem;\n font-size: 0.875rem; \n line-height: 1.25;\n /* to cancel the custom height set by custom-select */\n height: inherit;\n width: 50%;\n }\n "],template:'\n <select [disabled]="disabled" class="custom-select d-inline-block" [value]="date?.month" (change)="changeMonth($event.target.value)">\n <option *ngFor="let m of months" [value]="m">{{ i18n.getMonthShortName(m) }}</option>\n </select><select [disabled]="disabled" class="custom-select d-inline-block" [value]="date?.year" (change)="changeYear($event.target.value)">\n <option *ngFor="let y of years" [value]="y">{{ y }}</option>\n </select> \n '}]}],a.ctorParameters=function(){return[{type:l.a},{type:s.a}]},a.propDecorators={date:[{type:i.Input}],disabled:[{type:i.Input}],maxDate:[{type:i.Input}],minDate:[{type:i.Input}],select:[{type:i.Output}]}},qKow:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.placement="top",this.triggers="hover"}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},"qQ/N":function(t,e,n){"use strict";var i=n("3j3K"),r=n("aKiW"),o=n("2yGx"),l=n("NVOs");n.d(e,"a",function(){return u});var s;!function(t){t[t.End=35]="End",t[t.Home=36]="Home",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowDown=40]="ArrowDown"}(s||(s={}));var a={provide:l.NG_VALUE_ACCESSOR,useExisting:n.i(i.forwardRef)(function(){return u}),multi:!0},u=function(){function t(t,e){this._changeDetectorRef=e,this.contexts=[],this.disabled=!1,this.hover=new i.EventEmitter,this.leave=new i.EventEmitter,this.rateChange=new i.EventEmitter(!0),this.onChange=function(t){},this.onTouched=function(){},this.max=t.max,this.readonly=t.readonly}return t.prototype.ariaValueText=function(){return this.nextRate+" out of "+this.max},t.prototype.enter=function(t){this.readonly||this.disabled||this._updateState(t),this.hover.emit(t)},t.prototype.handleBlur=function(){this.onTouched()},t.prototype.handleClick=function(t){this.update(this.resettable&&this.rate===t?0:t)},t.prototype.handleKeyDown=function(t){if(s[n.i(o.d)(t.which)])switch(t.preventDefault(),t.which){case s.ArrowDown:case s.ArrowLeft:this.update(this.rate-1);break;case s.ArrowUp:case s.ArrowRight:this.update(this.rate+1);break;case s.Home:this.update(0);break;case s.End:this.update(this.max)}},t.prototype.ngOnChanges=function(t){t.rate&&this.update(this.rate)},t.prototype.ngOnInit=function(){this.contexts=Array.from({length:this.max},function(){return{fill:0}}),this._updateState(this.rate)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.reset=function(){this.leave.emit(this.nextRate),this._updateState(this.rate)},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.update=function(t,e){void 0===e&&(e=!0);var i=n.i(o.e)(t,this.max,0);this.readonly||this.disabled||this.rate===i||(this.rate=i,this.rateChange.emit(this.rate)),e&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)},t.prototype.writeValue=function(t){this.update(t,!1),this._changeDetectorRef.markForCheck()},t.prototype._getFillValue=function(t){var e=this.nextRate-t;return e>=1?100:e<1&&e>0?Number.parseInt((100*e).toFixed(2)):0},t.prototype._updateState=function(t){var e=this;this.nextRate=t,this.contexts.forEach(function(t,n){return t.fill=e._getFillValue(n)})},t}();u.decorators=[{type:i.Component,args:[{selector:"ngb-rating",changeDetection:i.ChangeDetectionStrategy.OnPush,host:{class:"d-inline-flex",tabindex:"0",role:"slider","aria-valuemin":"0","[attr.aria-valuemax]":"max","[attr.aria-valuenow]":"nextRate","[attr.aria-valuetext]":"ariaValueText()","[attr.aria-disabled]":"readonly ? true : null","(blur)":"handleBlur()","(keydown)":"handleKeyDown($event)","(mouseleave)":"reset()"},template:'\n <ng-template #t let-fill="fill">{{ fill === 100 ? \'★\' : \'☆\' }}</ng-template>\n <ng-template ngFor [ngForOf]="contexts" let-index="index">\n <span class="sr-only">({{ index < nextRate ? \'*\' : \' \' }})</span>\n <span (mouseenter)="enter(index + 1)" (click)="handleClick(index + 1)" [style.cursor]="readonly || disabled ? \'default\' : \'pointer\'">\n <ng-template [ngTemplateOutlet]="starTemplate || t" [ngOutletContext]="contexts[index]"></ng-template>\n </span>\n </ng-template>\n ',providers:[a]}]}],u.ctorParameters=function(){return[{type:r.a},{type:i.ChangeDetectorRef}]},u.propDecorators={max:[{type:i.Input}],rate:[{type:i.Input}],readonly:[{type:i.Input}],resettable:[{type:i.Input}],starTemplate:[{type:i.Input},{type:i.ContentChild,args:[i.TemplateRef]}],hover:[{type:i.Output}],leave:[{type:i.Output}],rateChange:[{type:i.Output}]}},qcjU:function(t,e,n){"use strict";var i=n("rCTf"),r=n("WTUZ");i.Observable.prototype.audit=r.audit},qhgQ:function(t,e,n){"use strict";var i=n("rCTf"),r=n("69uX");i.Observable.prototype.distinct=r.distinct},qoi6:function(t,e,n){"use strict";var i=n("3j3K"),r=n("NVOs"),o=n("sb+e"),l=(n.n(o),n("Rewd")),s=(n.n(l),n("TIy+")),a=(n.n(s),n("jRSa")),u=n("2BXm"),c=n("/PMa"),h=n("2yGx"),p=n("cG9e");n.d(e,"a",function(){return v});var d;!function(t){t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowDown=40]="ArrowDown"}(d||(d={}));var f={provide:r.NG_VALUE_ACCESSOR,useExisting:n.i(i.forwardRef)(function(){return v}),multi:!0},m=0,v=function(){function t(t,e,r,o,l,h,p){var d=this;this._elementRef=t,this._viewContainerRef=e,this._renderer=r,this._injector=o,this.selectItem=new i.EventEmitter,this.popupId="ngb-typeahead-"+m++,this._onTouched=function(){},this._onChange=function(t){},this.editable=h.editable,this.focusFirst=h.focusFirst,this.showHint=h.showHint,this._valueChanges=n.i(s.fromEvent)(t.nativeElement,"input",function(t){return t.target.value}),this._popupService=new c.a(u.a,o,e,r,l),this._zoneSubscription=p.onStable.subscribe(function(){d.isPopupOpen()&&n.i(a.a)(d._elementRef.nativeElement,d._windowRef.location.nativeElement,"bottom-left")})}return t.prototype.ngOnInit=function(){var t=this,e=l._do.call(this._valueChanges,function(e){t._userInput=e,t.editable&&t._onChange(e)}),n=o.letProto.call(e,this.ngbTypeahead),i=l._do.call(n,function(){t.editable||t._onChange(void 0)});this._subscription=this._subscribeToUserInput(i)},t.prototype.ngOnDestroy=function(){this._unsubscribeFromUserInput(),this._zoneSubscription.unsubscribe()},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.writeValue=function(t){this._writeInputValue(this._formatItemForInput(t))},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype.dismissPopup=function(){this.isPopupOpen()&&(this._closePopup(),this._writeInputValue(this._userInput))},t.prototype.isPopupOpen=function(){return null!=this._windowRef},t.prototype.handleBlur=function(){this._onTouched()},t.prototype.handleKeyDown=function(t){if(this.isPopupOpen()&&d[n.i(h.d)(t.which)])switch(t.which){case d.ArrowDown:t.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case d.ArrowUp:t.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case d.Enter:case d.Tab:var e=this._windowRef.instance.getActive();n.i(h.h)(e)&&(t.preventDefault(),t.stopPropagation(),this._selectResult(e)),this._closePopup();break;case d.Escape:t.preventDefault(),this.dismissPopup()}},t.prototype._openPopup=function(){var t=this;this.isPopupOpen()||(this._windowRef=this._popupService.open(),this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe(function(e){return t._selectResultClosePopup(e)}),this._windowRef.instance.activeChangeEvent.subscribe(function(e){return t.activeDescendant=e}))},t.prototype._closePopup=function(){this._popupService.close(),this._windowRef=null,this.activeDescendant=void 0},t.prototype._selectResult=function(t){var e=!1;this.selectItem.emit({item:t,preventDefault:function(){e=!0}}),e||(this.writeValue(t),this._onChange(t))},t.prototype._selectResultClosePopup=function(t){this._selectResult(t),this._closePopup()},t.prototype._showHint=function(){if(this.showHint){var t=this._userInput.toLowerCase(),e=this._formatItemForInput(this._windowRef.instance.getActive());t===e.substr(0,this._userInput.length).toLowerCase()?(this._writeInputValue(this._userInput+e.substr(this._userInput.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._userInput.length,e.length])):this.writeValue(this._windowRef.instance.getActive())}},t.prototype._formatItemForInput=function(t){return t&&this.inputFormatter?this.inputFormatter(t):n.i(h.d)(t)},t.prototype._writeInputValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",t)},t.prototype._subscribeToUserInput=function(t){var e=this;return t.subscribe(function(t){t&&0!==t.length?(e._openPopup(),e._windowRef.instance.focusFirst=e.focusFirst,e._windowRef.instance.results=t,e._windowRef.instance.term=e._elementRef.nativeElement.value,e.resultFormatter&&(e._windowRef.instance.formatter=e.resultFormatter),e.resultTemplate&&(e._windowRef.instance.resultTemplate=e.resultTemplate),e._showHint(),e._windowRef.changeDetectorRef.detectChanges()):e._closePopup()})},t.prototype._unsubscribeFromUserInput=function(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null},t}();v.decorators=[{type:i.Directive,args:[{selector:"input[ngbTypeahead]",host:{"(blur)":"handleBlur()","[class.open]":"isPopupOpen()","(document:click)":"dismissPopup()","(keydown)":"handleKeyDown($event)",autocomplete:"off",autocapitalize:"off",autocorrect:"off",role:"combobox","aria-multiline":"false","[attr.aria-autocomplete]":'showHint ? "both" : "list"',"[attr.aria-activedescendant]":"activeDescendant","[attr.aria-owns]":"isPopupOpen() ? popupId : null","[attr.aria-expanded]":"isPopupOpen()"},providers:[f]}]}],v.ctorParameters=function(){return[{type:i.ElementRef},{type:i.ViewContainerRef},{type:i.Renderer2},{type:i.Injector},{type:i.ComponentFactoryResolver},{type:p.a},{type:i.NgZone}]},v.propDecorators={editable:[{type:i.Input}],focusFirst:[{type:i.Input}],inputFormatter:[{type:i.Input}],ngbTypeahead:[{type:i.Input}],resultFormatter:[{type:i.Input}],resultTemplate:[{type:i.Input}],showHint:[{type:i.Input}],selectItem:[{type:i.Output}]}},qp8k:function(t,e,n){"use strict";var i=n("rCTf"),r=n("A7JX");i.Observable.prototype.combineLatest=r.combineLatest},qsK9:function(t,e,n){"use strict";var i=n("3j3K"),r=n("2Je8"),o=n("/KGk"),l=n("5ZV5"),s=n("3fcS"),a=n("hY6I"),u=n("NVOs"),c=n("U6gI"),h=n("gEbu"),p=n("lcaH"),d=n("7DGp"),f=n("qBUJ"),m=n("hwnt");n("/FbB");n.d(e,"a",function(){return v});var v=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[{provide:p.a,useClass:p.b},{provide:h.a,useClass:h.b},{provide:d.a,useClass:d.b},m.a]}},t}();v.decorators=[{type:i.NgModule,args:[{declarations:[o.a,l.a,s.a,f.a,c.a,a.a],exports:[o.a,a.a],imports:[r.CommonModule,u.FormsModule],entryComponents:[o.a]}]}],v.ctorParameters=function(){return[]}},rLWm:function(t,e,n){"use strict";var i=n("rCTf"),r=n("ASN6");i.Observable.prototype.onErrorResumeNext=r.onErrorResumeNext},rpzr:function(t,e,n){"use strict";var i=n("bZY+");e.interval=i.IntervalObservable.create},s3oX:function(t,e,n){"use strict";var i=n("Dkzu");e._throw=i.ErrorObservable.create},s616:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Kjxw");i.Observable.prototype.shareReplay=r.shareReplay},sKQ8:function(t,e,n){"use strict";function i(t){var e=u.async,n=null,i=Number.POSITIVE_INFINITY;return p.isScheduler(arguments[3])&&(e=arguments[3]),p.isScheduler(arguments[2])?e=arguments[2]:h.isNumeric(arguments[2])&&(i=arguments[2]),p.isScheduler(arguments[1])?e=arguments[1]:h.isNumeric(arguments[1])&&(n=arguments[1]),this.lift(new d(t,n,i,e))}function r(t){var e=t.subscriber,n=t.windowTimeSpan,i=t.window;i&&e.closeWindow(i),t.window=e.openWindow(),this.schedule(t,n)}function o(t){var e=t.windowTimeSpan,n=t.subscriber,i=t.scheduler,r=t.windowCreationInterval,o=n.openWindow(),s=this,a={action:s,subscription:null},u={subscriber:n,window:o,context:a};a.subscription=i.schedule(l,e,u),s.add(a.subscription),s.schedule(t,r)}function l(t){var e=t.subscriber,n=t.window,i=t.context;i&&i.action&&i.subscription&&i.action.remove(i.subscription),e.closeWindow(n)}var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=n("EEr4"),u=n("CGGv"),c=n("mmVS"),h=n("P3oE"),p=n("fWbP");e.windowTime=i;var d=function(){function t(t,e,n,i){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=n,this.scheduler=i}return t.prototype.call=function(t,e){return e.subscribe(new m(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),f=function(t){function e(){t.apply(this,arguments),this._numberOfNextedValues=0}return s(e,t),e.prototype.next=function(e){this._numberOfNextedValues++,t.prototype.next.call(this,e)},Object.defineProperty(e.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),e}(a.Subject),m=function(t){function e(e,n,i,s,a){t.call(this,e),this.destination=e,this.windowTimeSpan=n,this.windowCreationInterval=i,this.maxWindowSize=s,this.scheduler=a,this.windows=[];var u=this.openWindow();if(null!==i&&i>=0){var c={subscriber:this,window:u,context:null},h={windowTimeSpan:n,windowCreationInterval:i,subscriber:this,scheduler:a};this.add(a.schedule(l,n,c)),this.add(a.schedule(o,i,h))}else{var p={subscriber:this,window:u,windowTimeSpan:n};this.add(a.schedule(r,n,p))}}return s(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,i=0;i<n;i++){var r=e[i];r.closed||(r.next(t),r.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(r))}},e.prototype._error=function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new f;return this.windows.push(t),this.destination.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(c.Subscriber)},sT3i:function(t,e,n){"use strict";var i=n("rCTf"),r=n("q+ny");i.Observable.prototype.expand=r.expand},sVus:function(t,e,n){"use strict";function i(t){return void 0===t&&(t=l.async),this.lift(new a(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),l=n("CGGv");e.timeInterval=i;var s=function(){function t(t,e){this.value=t,this.interval=e}return t}();e.TimeInterval=s;var a=function(){function t(t){this.scheduler=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.scheduler))},t}(),u=function(t){function e(e,n){t.call(this,e),this.scheduler=n,this.lastTime=0,this.lastTime=n.now()}return r(e,t),e.prototype._next=function(t){var e=this.scheduler.now(),n=e-this.lastTime;this.lastTime=e,this.destination.next(new s(t,n))},e}(o.Subscriber)},sake:function(t,e,n){"use strict";function i(t){return this.lift(new l(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.skipWhile=i;var l=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate))},t}(),s=function(t){function e(e,n){t.call(this,e),this.predicate=n,this.skipping=!0,this.index=0}return r(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(o.Subscriber)},"sb+e":function(t,e,n){"use strict";function i(t){return t(this)}e.letProto=i},sgnN:function(t,e,n){"use strict";var i=n("3j3K"),r=n("aalB"),o=n("jRSa"),l=n("/PMa"),s=n("qKow");n.d(e,"b",function(){return u}),n.d(e,"a",function(){return c});var a=0,u=function(){function t(){this.placement="top"}return t}();u.decorators=[{type:i.Component,args:[{selector:"ngb-tooltip-window",changeDetection:i.ChangeDetectionStrategy.OnPush,host:{"[class]":'"tooltip show tooltip-" + placement',role:"tooltip","[id]":"id"},template:'\n <div class="tooltip-inner"><ng-content></ng-content></div>\n '}]}],u.ctorParameters=function(){return[]},u.propDecorators={placement:[{type:i.Input}],id:[{type:i.Input}]};var c=function(){function t(t,e,r,s,c,h,p){var d=this;this._elementRef=t,this._renderer=e,this.shown=new i.EventEmitter,this.hidden=new i.EventEmitter,this._ngbTooltipWindowId="ngb-tooltip-"+a++,this.placement=h.placement,this.triggers=h.triggers,this.container=h.container,this._popupService=new l.a(u,r,c,e,s),this._zoneSubscription=p.onStable.subscribe(function(){d._windowRef&&n.i(o.a)(d._elementRef.nativeElement,d._windowRef.location.nativeElement,d.placement,"body"===d.container)})}return Object.defineProperty(t.prototype,"ngbTooltip",{get:function(){return this._ngbTooltip},set:function(t){this._ngbTooltip=t,!t&&this._windowRef&&this.close()},enumerable:!0,configurable:!0}),t.prototype.open=function(t){!this._windowRef&&this._ngbTooltip&&(this._windowRef=this._popupService.open(this._ngbTooltip,t),this._windowRef.instance.placement=this.placement,this._windowRef.instance.id=this._ngbTooltipWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.markForCheck(),this.shown.emit())},t.prototype.close=function(){null!=this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=n.i(r.a)(this._renderer,this._elementRef.nativeElement,this.triggers,this.open.bind(this),this.close.bind(this),this.toggle.bind(this))},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t}();c.decorators=[{type:i.Directive,args:[{selector:"[ngbTooltip]",exportAs:"ngbTooltip"}]}],c.ctorParameters=function(){return[{type:i.ElementRef},{type:i.Renderer2},{type:i.Injector},{type:i.ComponentFactoryResolver},{type:i.ViewContainerRef},{type:s.a},{type:i.NgZone}]},c.propDecorators={placement:[{type:i.Input}],triggers:[{type:i.Input}],container:[{type:i.Input}],shown:[{type:i.Output}],hidden:[{type:i.Output}],ngbTooltip:[{type:i.Input}]}},t2Bb:function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=s.async),this.lift(new a(t,e))}function r(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=n("mmVS"),s=n("CGGv");e.sampleTime=i;var a=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.period,this.scheduler))},t}(),u=function(t){function e(e,n,i){t.call(this,e),this.period=n,this.scheduler=i,this.hasValue=!1,this.add(i.schedule(r,n,{subscriber:this,period:n}))}return o(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(l.Subscriber)},tDJK:function(t,e,n){"use strict";var i=n("rCTf"),r=n("09LQ");i.Observable.prototype.finally=r._finally,i.Observable.prototype._finally=r._finally},tQRI:function(t,e,n){"use strict";var i=n("rCTf"),r=n("hiKS");i.Observable.prototype.zipAll=r.zipAll},tYwL:function(t,e,n){"use strict";var i=n("rCTf"),r=n("AQOC");i.Observable.prototype.distinctUntilKeyChanged=r.distinctUntilKeyChanged},td8d:function(t,e,n){"use strict";function i(t,e){var n=!1;return arguments.length>=2&&(n=!0),this.lift(new l(t,e,n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.scan=i;var l=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.accumulator,this.seed,this.hasSeed))},t}(),s=function(t){function e(e,n,i,r){t.call(this,e),this.accumulator=n,this._seed=i,this.hasSeed=r,this.index=0}return r(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(o.Subscriber)},tefl:function(t,e,n){"use strict";var i=n("NgUg");e.pairs=i.PairsObservable.create},tn1n:function(t,e,n){"use strict";function i(t,e){return[o.filter.call(this,t,e),o.filter.call(this,r.not(t,e))]}var r=n("7Gky"),o=n("ack3");e.partition=i},tuHt:function(t,e,n){"use strict";var i=n("rCTf"),r=n("SDFq");i.Observable.prototype.switchMapTo=r.switchMapTo},txvj:function(t,e,n){!function(t){t(n("8U58"))}(function(t){function e(t,e,n,i){this.cm=t,this.node=e,this.options=n,this.height=i,this.cleared=!1}function n(t){var e=t.getWrapperElement(),n=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,i=parseInt(n.height),r=t.state.panels={setHeight:e.style.height,heightLeft:i,panels:0,wrapper:document.createElement("div")};e.parentNode.insertBefore(r.wrapper,e);var o=t.hasFocus();r.wrapper.appendChild(e),o&&t.focus(),t._setSize=t.setSize,null!=i&&(t.setSize=function(e,n){if(null==n)return this._setSize(e,n);if(r.setHeight=n,"number"!=typeof n){var o=/^(\d+\.?\d*)px$/.exec(n);o?n=Number(o[1]):(r.wrapper.style.height=n,n=r.wrapper.offsetHeight,r.wrapper.style.height="")}t._setSize(e,r.heightLeft+=n-i),i=n})}function i(t){var e=t.state.panels;t.state.panels=null;var n=t.getWrapperElement();e.wrapper.parentNode.replaceChild(n,e.wrapper),n.style.height=e.setHeight,t.setSize=t._setSize,t.setSize()}function r(t,e){for(var n=e.nextSibling;n;n=n.nextSibling)if(n==t.getWrapperElement())return!0;return!1}t.defineExtension("addPanel",function(t,i){i=i||{},this.state.panels||n(this);var o=this.state.panels,l=o.wrapper,s=this.getWrapperElement();i.after instanceof e&&!i.after.cleared?l.insertBefore(t,i.before.node.nextSibling):i.before instanceof e&&!i.before.cleared?l.insertBefore(t,i.before.node):i.replace instanceof e&&!i.replace.cleared?(l.insertBefore(t,i.replace.node),i.replace.clear()):"bottom"==i.position?l.appendChild(t):"before-bottom"==i.position?l.insertBefore(t,s.nextSibling):"after-top"==i.position?l.insertBefore(t,s):l.insertBefore(t,l.firstChild);var a=i&&i.height||t.offsetHeight;return this._setSize(null,o.heightLeft-=a),o.panels++,i.stable&&r(this,t)&&this.scrollTo(null,this.getScrollInfo().top+a),new e(this,t,i,a)}),e.prototype.clear=function(){if(!this.cleared){this.cleared=!0;var t=this.cm.state.panels;this.cm._setSize(null,t.heightLeft+=this.height),this.options.stable&&r(this.cm,this.node)&&this.cm.scrollTo(null,this.cm.getScrollInfo().top-this.height),t.wrapper.removeChild(this.node),0==--t.panels&&i(this.cm)}},e.prototype.changed=function(t){var e=null==t?this.node.offsetHeight:t,n=this.cm.state.panels;this.cm._setSize(null,n.heightLeft-=e-this.height),this.height=e}})},"tyH+":function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size="medium"}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},"u/VN":function(t,e,n){"use strict";function i(t,n){return void 0===n&&(n=e.defaultThrottleConfig),this.lift(new s(t,n.leading,n.trailing))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),l=n("CURp");e.defaultThrottleConfig={leading:!0,trailing:!1},e.throttle=i;var s=function(){function t(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.durationSelector,this.leading,this.trailing))},t}(),a=function(t){function e(e,n,i,r){t.call(this,e),this.destination=e,this.durationSelector=n,this._leading=i,this._trailing=r,this._hasTrailingValue=!1}return r(e,t),e.prototype._next=function(t){if(this.throttled)this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=t);else{var e=this.tryDurationSelector(t);e&&this.add(this.throttled=l.subscribeToResult(this,e)),this._leading&&(this.destination.next(t),this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=t))}},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype._unsubscribe=function(){var t=this,e=t.throttled;t._trailingValue,t._hasTrailingValue,t._trailing;this._trailingValue=null,this._hasTrailingValue=!1,e&&(this.remove(e),this.throttled=null,e.unsubscribe())},e.prototype._sendTrailing=function(){var t=this,e=t.destination,n=t.throttled,i=t._trailing,r=t._trailingValue,o=t._hasTrailingValue;n&&i&&o&&(e.next(r),this._trailingValue=null,this._hasTrailingValue=!1)},e.prototype.notifyNext=function(t,e,n,i,r){this._sendTrailing(),this._unsubscribe()},e.prototype.notifyComplete=function(){this._sendTrailing(),this._unsubscribe()},e}(o.OuterSubscriber)},u1gx:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("rCTf"),o=n("8GmM"),l=n("Cr1h"),s=n("IBkQ"),a=n("fO1r"),u=n("q0UB"),c=750,h=function(t){function e(e){t.call(this,u.VirtualAction,c),this.assertDeepEqual=e,this.hotObservables=[],this.coldObservables=[],this.flushTests=[]}return i(e,t),e.prototype.createTime=function(t){var n=t.indexOf("|");if(-1===n)throw new Error('marble diagram for time should have a completion marker "|"');return n*e.frameTimeFactor},e.prototype.createColdObservable=function(t,n,i){if(-1!==t.indexOf("^"))throw new Error('cold observable cannot have subscription offset "^"');if(-1!==t.indexOf("!"))throw new Error('cold observable cannot have unsubscription marker "!"');var r=e.parseMarbles(t,n,i),o=new l.ColdObservable(r,this);return this.coldObservables.push(o),o},e.prototype.createHotObservable=function(t,n,i){if(-1!==t.indexOf("!"))throw new Error('hot observable cannot have unsubscription marker "!"');var r=e.parseMarbles(t,n,i),o=new s.HotObservable(r,this);return this.hotObservables.push(o),o},e.prototype.materializeInnerObservable=function(t,e){var n=this,i=[];return t.subscribe(function(t){i.push({frame:n.frame-e,notification:o.Notification.createNext(t)})},function(t){i.push({frame:n.frame-e,notification:o.Notification.createError(t)})},function(){i.push({frame:n.frame-e,notification:o.Notification.createComplete()})}),i},e.prototype.expectObservable=function(t,n){var i=this;void 0===n&&(n=null);var l,s=[],a={actual:s,ready:!1},u=e.parseMarblesAsSubscriptions(n).unsubscribedFrame;return this.schedule(function(){l=t.subscribe(function(t){var e=t;t instanceof r.Observable&&(e=i.materializeInnerObservable(e,i.frame)),s.push({frame:i.frame,notification:o.Notification.createNext(e)})},function(t){s.push({frame:i.frame,notification:o.Notification.createError(t)})},function(){s.push({frame:i.frame,notification:o.Notification.createComplete()})})},0),u!==Number.POSITIVE_INFINITY&&this.schedule(function(){return l.unsubscribe()},u),this.flushTests.push(a),{toBe:function(t,n,i){a.ready=!0,a.expected=e.parseMarbles(t,n,i,!0)}}},e.prototype.expectSubscriptions=function(t){var n={actual:t,ready:!1};return this.flushTests.push(n),{toBe:function(t){var i="string"==typeof t?[t]:t;n.ready=!0,n.expected=i.map(function(t){return e.parseMarblesAsSubscriptions(t)})}}},e.prototype.flush=function(){for(var e=this.hotObservables;e.length>0;)e.shift().setup();t.prototype.flush.call(this);for(var n=this.flushTests.filter(function(t){return t.ready});n.length>0;){var i=n.shift();this.assertDeepEqual(i.actual,i.expected)}},e.parseMarblesAsSubscriptions=function(t){if("string"!=typeof t)return new a.SubscriptionLog(Number.POSITIVE_INFINITY);for(var e=t.length,n=-1,i=Number.POSITIVE_INFINITY,r=Number.POSITIVE_INFINITY,o=0;o<e;o++){var l=o*this.frameTimeFactor,s=t[o];switch(s){case"-":case" ":break;case"(":n=l;break;case")":n=-1;break;case"^":if(i!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");i=n>-1?n:l;break;case"!":if(r!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");r=n>-1?n:l;break;default:throw new Error("there can only be '^' and '!' markers in a subscription marble diagram. Found instead '"+s+"'.")}}return r<0?new a.SubscriptionLog(i):new a.SubscriptionLog(i,r)},e.parseMarbles=function(t,e,n,i){if(void 0===i&&(i=!1),-1!==t.indexOf("!"))throw new Error('conventional marble diagrams cannot have the unsubscription marker "!"');for(var r=t.length,s=[],a=t.indexOf("^"),u=-1===a?0:a*-this.frameTimeFactor,c="object"!=typeof e?function(t){return t}:function(t){return i&&e[t]instanceof l.ColdObservable?e[t].messages:e[t]},h=-1,p=0;p<r;p++){var d=p*this.frameTimeFactor+u,f=void 0,m=t[p];switch(m){case"-":case" ":break;case"(":h=d;break;case")":h=-1;break;case"|":f=o.Notification.createComplete();break;case"^":break;case"#":f=o.Notification.createError(n||"error");break;default:f=o.Notification.createNext(c(m))}f&&s.push({frame:h>-1?h:d,notification:f})}return s},e}(u.VirtualTimeScheduler);e.TestScheduler=h},u2wr:function(t,e,n){"use strict";function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n;"function"==typeof t[t.length-1]&&(n=t.pop());var i=t;return this.lift(new s(i,n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),l=n("CURp");e.withLatestFrom=i;var s=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.observables,this.project))},t}(),a=function(t){function e(e,n,i){t.call(this,e),this.observables=n,this.project=i,this.toRespond=[];var r=n.length;this.values=new Array(r);for(var o=0;o<r;o++)this.toRespond.push(o);for(var o=0;o<r;o++){var s=n[o];this.add(l.subscribeToResult(this,s,s,o))}}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.values[n]=e;var o=this.toRespond;if(o.length>0){var l=o.indexOf(n);-1!==l&&o.splice(l,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}(o.OuterSubscriber)},uCY4:function(t,e,n){"use strict";var i=n("rCTf"),r=n("VEfc");i.Observable.prototype.switchMap=r.switchMap},v4DA:function(t,e,n){"use strict";var i=n("3j3K");n.d(e,"a",function(){return r});var r=function(){function t(){this.justify="start",this.type="tabs"}return t}();r.decorators=[{type:i.Injectable}],r.ctorParameters=function(){return[]}},"vQ+N":function(t,e,n){"use strict";var i=n("rCTf"),r=n("mQmC");i.Observable.using=r.using},vX1z:function(t,e,n){"use strict";var i=n("+cid");n.d(e,"a",function(){return r});var r=(i.a,function(){function t(){}return t}())},vfkA:function(t,e,n){"use strict";var i=n("3j3K"),r=n("kgIC");n.d(e,"a",function(){return o});var o=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t}();o.decorators=[{type:i.NgModule,args:[{declarations:[r.a],exports:[r.a]}]}],o.ctorParameters=function(){return[]}},voL5:function(t,e,n){"use strict";var i=n("rCTf"),r=n("5pRa");i.Observable.prototype.timestamp=r.timestamp},vrkH:function(t,e,n){"use strict";function i(t){return void 0===t&&(t=-1),this.lift(new l(t,this))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.retry=i;var l=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.count,this.source))},t}(),s=function(t){function e(e,n,i){t.call(this,e),this.count=n,this.source=i}return r(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this,i=n.source,r=n.count;if(0===r)return t.prototype.error.call(this,e);r>-1&&(this.count=r-1),i.subscribe(this._unsubscribeAndRecycle())}},e}(o.Subscriber)},vvwv:function(t,e,n){"use strict";var i=n("jBEF");e.empty=i.EmptyObservable.create},wFtq:function(t,e,n){"use strict";function i(t){return l["ɵvid"](0,[(t()(),l["ɵand"](0,null,null,0))],null,null)}function r(t){return l["ɵvid"](0,[l["ɵqud"](402653184,1,{element:0}),l["ɵqud"](402653184,2,{container:0}),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,[[2,0],["container",1]],null,3,"div",[["class","modal fade"],["role","dialog"],["style","display:block !important;"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵand"](16777216,[[1,3],["element",2]],null,0,null,i)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n"]))],null,null)}function o(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,1,"dialog-wrapper",[],null,null,null,s.b,s.c)),l["ɵdid"](49152,null,0,a.DialogWrapperComponent,[l.ComponentFactoryResolver,u.DialogService],null,null)],null,null)}var l=n("3j3K"),s=n("wFtq"),a=n("7064"),u=(n.n(a),n("hz2l"));n.n(u);n.d(e,"c",function(){return h}),e.b=r,n.d(e,"a",function(){return p});var c=[],h=l["ɵcrt"]({encapsulation:2,styles:c,data:{}}),p=l["ɵccf"]("dialog-wrapper",a.DialogWrapperComponent,o,{},{},[])},wUn1:function(t,e,n){"use strict";var i=n("rCTf"),r=n("ack3");i.Observable.prototype.filter=r.filter},ww7A:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("9Avi"),o=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<r&&(t=n.shift()));if(this.active=!1,e){for(;++i<r&&(t=n.shift());)t.unsubscribe();throw e}},e}(r.AsyncScheduler);e.AnimationFrameScheduler=o},xFXl:function(t,e,n){"use strict";var i=n("rCTf"),r=n("yZjU");i.Observable.prototype.windowToggle=r.windowToggle},xOQQ:function(t,e,n){"use strict";var i=n("rCTf"),r=n("U9ky");i.Observable.prototype.pluck=r.pluck},xOmt:function(t,e,n){"use strict";var i=n("3j3K"),r=n("nxqe");n.d(e,"a",function(){return o});var o=function(){function t(t,e){this._elRef=t,this._renderer=e,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new i.EventEmitter}return t.prototype.backdropClick=function(t){!0===this.backdrop&&this._elRef.nativeElement===t.target&&this.dismiss(r.a.BACKDROP_CLICK)},t.prototype.escKey=function(t){this.keyboard&&!t.defaultPrevented&&this.dismiss(r.a.ESC)},t.prototype.dismiss=function(t){this.dismissEvent.emit(t)},t.prototype.ngOnInit=function(){this._elWithFocus=document.activeElement,this._renderer.addClass(document.body,"modal-open")},t.prototype.ngAfterViewInit=function(){this._elRef.nativeElement.contains(document.activeElement)||this._elRef.nativeElement.focus.apply(this._elRef.nativeElement,[])},t.prototype.ngOnDestroy=function(){this._elWithFocus&&document.body.contains(this._elWithFocus)?this._elWithFocus.focus.apply(this._elWithFocus,[]):document.body.focus.apply(document.body,[]),this._elWithFocus=null,this._renderer.removeClass(document.body,"modal-open")},t}();o.decorators=[{type:i.Component,args:[{selector:"ngb-modal-window",host:{"[class]":'"modal fade show" + (windowClass ? " " + windowClass : "")',role:"dialog",tabindex:"-1",style:"display: block;","(keyup.esc)":"escKey($event)","(click)":"backdropClick($event)"},template:"\n <div [class]=\"'modal-dialog' + (size ? ' modal-' + size : '')\" role=\"document\">\n <div class=\"modal-content\"><ng-content></ng-content></div>\n </div>\n "}]}],o.ctorParameters=function(){return[{type:i.ElementRef},{type:i.Renderer2}]},o.propDecorators={backdrop:[{type:i.Input}],keyboard:[{type:i.Input}],size:[{type:i.Input}],windowClass:[{type:i.Input}],dismissEvent:[{type:i.Output,args:["dismiss"]}]}},xYP1:function(t,e,n){"use strict";function i(t,e){return this.lift(new a(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),l=n("+3eL"),s=n("WhVc");e.sequenceEqual=i;var a=function(){function t(t,e){this.compareTo=t,this.comparor=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.compareTo,this.comparor))},t}();e.SequenceEqualOperator=a;var u=function(t){function e(e,n,i){t.call(this,e),this.compareTo=n,this.comparor=i,this._a=[],this._b=[],this._oneComplete=!1,this.add(n.subscribe(new c(e,this)))}return r(e,t),e.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e.prototype.checkValues=function(){for(var t=this,e=t._a,n=t._b,i=t.comparor;e.length>0&&n.length>0;){var r=e.shift(),o=n.shift(),a=!1;i?(a=l.tryCatch(i)(r,o))===s.errorObject&&this.destination.error(s.errorObject.e):a=r===o,a||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e}(o.Subscriber);e.SequenceEqualSubscriber=u;var c=function(t){function e(e,n){t.call(this,e),this.parent=n}return r(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t)},e.prototype._complete=function(){this.parent._complete()},e}(o.Subscriber)},xiEB:function(t,e,n){"use strict";function i(t){return o["ɵvid"](0,[],null,null)}function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"ngb-modal-backdrop",[["class","modal-backdrop fade show"]],null,null,null,l.b,l.c)),o["ɵdid"](49152,null,0,s.a,[],null,null)],null,null)}var o=n("3j3K"),l=n("xiEB"),s=n("9XFw");n.d(e,"c",function(){return u}),e.b=i,n.d(e,"a",function(){return c});var a=[],u=o["ɵcrt"]({encapsulation:2,styles:a,data:{}}),c=o["ɵccf"]("ngb-modal-backdrop",s.a,r,{},{},[])},y3IE:function(t,e,n){"use strict";var i=n("rCTf"),r=n("vrkH");i.Observable.prototype.retry=r.retry},y6Vm:function(t,e,n){"use strict";var i=n("rCTf"),r=n("8T44");i.Observable.prototype.repeatWhen=r.repeatWhen},y9a2:function(t,e,n){"use strict";var i=n("fO1r"),r=function(){function t(){this.subscriptions=[]}return t.prototype.logSubscribedFrame=function(){return this.subscriptions.push(new i.SubscriptionLog(this.scheduler.now())),this.subscriptions.length-1},t.prototype.logUnsubscribedFrame=function(t){var e=this.subscriptions,n=e[t];e[t]=new i.SubscriptionLog(n.subscribedFrame,this.scheduler.now())},t}();e.SubscriptionLoggable=r},yDyO:function(t,e,n){"use strict";var i=n("3j3K"),r=n("sgnN"),o=n("qKow");n.d(e,"a",function(){return l});var l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}();l.decorators=[{type:i.NgModule,args:[{declarations:[r.a,r.b],exports:[r.a],entryComponents:[r.b]}]}],l.ctorParameters=function(){return[]}},yZjU:function(t,e,n){"use strict";function i(t,e){return this.lift(new h(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),l=n("B00U"),s=n("+3eL"),a=n("WhVc"),u=n("wAkD"),c=n("CURp");e.windowToggle=i;var h=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.openings,this.closingSelector))},t}(),p=function(t){function e(e,n,i){t.call(this,e),this.openings=n,this.closingSelector=i,this.contexts=[],this.add(this.openSubscription=c.subscribeToResult(this,n,n))}return r(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,i=0;i<n;i++)e[i].window.next(t)},e.prototype._error=function(e){var n=this.contexts;if(this.contexts=null,n)for(var i=n.length,r=-1;++r<i;){var o=n[r];o.window.error(e),o.subscription.unsubscribe()}t.prototype._error.call(this,e)},e.prototype._complete=function(){var e=this.contexts;if(this.contexts=null,e)for(var n=e.length,i=-1;++i<n;){var r=e[i];r.window.complete(),r.subscription.unsubscribe()}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.contexts;if(this.contexts=null,t)for(var e=t.length,n=-1;++n<e;){var i=t[n];i.window.unsubscribe(),i.subscription.unsubscribe()}},e.prototype.notifyNext=function(t,e,n,i,r){if(t===this.openings){var u=this.closingSelector,h=s.tryCatch(u)(e);if(h===a.errorObject)return this.error(a.errorObject.e);var p=new o.Subject,d=new l.Subscription,f={window:p,subscription:d};this.contexts.push(f);var m=c.subscribeToResult(this,h,f);m.closed?this.closeWindow(this.contexts.length-1):(m.context=f,d.add(m)),this.destination.next(p)}else this.closeWindow(this.contexts.indexOf(t))},e.prototype.notifyError=function(t){this.error(t)},e.prototype.notifyComplete=function(t){t!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(t.context))},e.prototype.closeWindow=function(t){if(-1!==t){var e=this.contexts,n=e[t],i=n.window,r=n.subscription;e.splice(t,1),i.complete(),r.unsubscribe()}},e}(u.OuterSubscriber)},zC23:function(t,e,n){"use strict";var i=n("rCTf"),r=n("Oa+j");i.Observable.prototype.dematerialize=r.dematerialize},zJQZ:function(t,e,n){"use strict";var i=n("rCTf"),r=n("td8d");i.Observable.prototype.scan=r.scan},"zK+N":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("3j3K"),r=n("NVOs"),o=n("8U58"),l=function(){function t(){this.change=new i.EventEmitter,this.focus=new i.EventEmitter,this.blur=new i.EventEmitter,this.instance=null,this._value=""}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){t!==this._value&&(this._value=t,this.onChange(t))},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){},t.prototype.ngAfterViewInit=function(){this.config=this.config||{},this.codemirrorInit(this.config)},t.prototype.codemirrorInit=function(t){var e=this;this.instance=o.fromTextArea(this.host.nativeElement,t),this.instance.setValue(this._value),this.instance.on("change",function(){e.updateValue(e.instance.getValue())}),this.instance.on("focus",function(){e.focus.emit()}),this.instance.on("blur",function(){e.blur.emit()})},t.prototype.updateValue=function(t){this.value=t,this.onTouched(),this.change.emit(t)},t.prototype.writeValue=function(t){this._value=t||"",this.instance&&this.instance.setValue(this._value)},t.prototype.onChange=function(t){},t.prototype.onTouched=function(){},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t}();l.decorators=[{type:i.Component,args:[{selector:"codemirror",providers:[{provide:r.NG_VALUE_ACCESSOR,useExisting:i.forwardRef(function(){return l}),multi:!0}],template:"<textarea #host></textarea>"}]}],l.ctorParameters=function(){return[]},l.propDecorators={config:[{type:i.Input}],change:[{type:i.Output}],focus:[{type:i.Output}],blur:[{type:i.Output}],host:[{type:i.ViewChild,args:["host"]}],instance:[{type:i.Output}],value:[{type:i.Input}]},e.CodemirrorComponent=l},zO2v:function(t,e,n){"use strict";var i=n("rCTf"),r=n("DzMp");i.Observable.defer=r.defer},zQPq:function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("B00U"),o=function(t){function e(e,n){t.call(this)}return i(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(r.Subscription);e.Action=o}}); \ No newline at end of file diff --git a/Servidor JEE/WebContent/2.32fdccb32de98ae16ca7.chunk.js b/Servidor JEE/WebContent/2.32fdccb32de98ae16ca7.chunk.js deleted file mode 100644 index 344be7c1e79d44e9355959818977c5cfbfe309fc..0000000000000000000000000000000000000000 --- a/Servidor JEE/WebContent/2.32fdccb32de98ae16ca7.chunk.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([2,11],{"+EXD":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("CURp"),s=n("wAkD"),l=function(t){function e(e){t.call(this),this.observableFactory=e}return r(e,t),e.create=function(t){return new e(t)},e.prototype._subscribe=function(t){return new a(t,this.observableFactory)},e}(i.Observable);e.DeferObservable=l;var a=function(t){function e(e,n){t.call(this,e),this.factory=n,this.tryDefer()}return r(e,t),e.prototype.tryDefer=function(){try{this._callFactory()}catch(t){this._error(t)}},e.prototype._callFactory=function(){var t=this.factory();t&&this.add(o.subscribeToResult(this,t))},e}(s.OuterSubscriber)},"+KN+":function(t,e,n){"use strict";var r=n("rCTf"),i=n("O/+v");r.Observable.prototype.bufferCount=i.bufferCount},"+Qf+":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r;!function(t){t[t.PREV=0]="PREV",t[t.NEXT=1]="NEXT"}(r||(r={}))},"+Y2e":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("EEr4"),o=n("mmVS"),s=n("rCTf"),l=n("B00U"),a=n("VOfZ"),u=n("MQMf"),c=n("+3eL"),h=n("WhVc"),p=n("KLoZ"),d=function(t){function e(e,n){if(e instanceof s.Observable)t.call(this,n,e);else{if(t.call(this),this.WebSocketCtor=a.root.WebSocket,this._output=new i.Subject,"string"==typeof e?this.url=e:p.assign(this,e),!this.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new u.ReplaySubject}}return r(e,t),e.prototype.resultSelector=function(t){return JSON.parse(t.data)},e.create=function(t){return new e(t)},e.prototype.lift=function(t){var n=new e(this,this.destination);return n.operator=t,n},e.prototype._resetState=function(){this.socket=null,this.source||(this.destination=new u.ReplaySubject),this._output=new i.Subject},e.prototype.multiplex=function(t,e,n){var r=this;return new s.Observable(function(i){var o=c.tryCatch(t)();o===h.errorObject?i.error(h.errorObject.e):r.next(o);var s=r.subscribe(function(t){var e=c.tryCatch(n)(t);e===h.errorObject?i.error(h.errorObject.e):e&&i.next(t)},function(t){return i.error(t)},function(){return i.complete()});return function(){var t=c.tryCatch(e)();t===h.errorObject?i.error(h.errorObject.e):r.next(t),s.unsubscribe()}})},e.prototype._connectSocket=function(){var t=this,e=this.WebSocketCtor,n=this._output,r=null;try{r=this.protocol?new e(this.url,this.protocol):new e(this.url),this.socket=r,this.binaryType&&(this.socket.binaryType=this.binaryType)}catch(t){return void n.error(t)}var i=new l.Subscription(function(){t.socket=null,r&&1===r.readyState&&r.close()});r.onopen=function(e){var s=t.openObserver;s&&s.next(e);var l=t.destination;t.destination=o.Subscriber.create(function(t){return 1===r.readyState&&r.send(t)},function(e){var i=t.closingObserver;i&&i.next(void 0),e&&e.code?r.close(e.code,e.reason):n.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),t._resetState()},function(){var e=t.closingObserver;e&&e.next(void 0),r.close(),t._resetState()}),l&&l instanceof u.ReplaySubject&&i.add(l.subscribe(t.destination))},r.onerror=function(e){t._resetState(),n.error(e)},r.onclose=function(e){t._resetState();var r=t.closeObserver;r&&r.next(e),e.wasClean?n.complete():n.error(e)},r.onmessage=function(e){var r=c.tryCatch(t.resultSelector)(e);r===h.errorObject?n.error(h.errorObject.e):n.next(r)}},e.prototype._subscribe=function(t){var e=this,n=this.source;if(n)return n.subscribe(t);this.socket||this._connectSocket();var r=new l.Subscription;return r.add(this._output.subscribe(t)),r.add(function(){var t=e.socket;0===e._output.observers.length&&(t&&1===t.readyState&&t.close(),e._resetState())}),r},e.prototype.unsubscribe=function(){var e=this,n=e.source,r=e.socket;r&&1===r.readyState&&(r.close(),this._resetState()),t.prototype.unsubscribe.call(this),n||(this.destination=new u.ReplaySubject)},e}(i.AnonymousSubject);e.WebSocketSubject=d},"+dDw":function(t,e,n){"use strict";var r=n("3j3K"),i=n("NVOs");n.d(e,"c",function(){return s}),n.d(e,"b",function(){return l}),n.d(e,"a",function(){return a});var o={provide:i.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return s}),multi:!0},s=function(){function t(){this._radios=new Set,this._value=null,this.onChange=function(t){},this.onTouched=function(){}}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this.setDisabledState(t)},enumerable:!0,configurable:!0}),t.prototype.onRadioChange=function(t){this.writeValue(t.value),this.onChange(t.value)},t.prototype.onRadioValueUpdate=function(){this._updateRadiosValue()},t.prototype.register=function(t){this._radios.add(t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._disabled=t,this._updateRadiosDisabled()},t.prototype.unregister=function(t){this._radios.delete(t)},t.prototype.writeValue=function(t){this._value=t,this._updateRadiosValue()},t.prototype._updateRadiosValue=function(){var t=this;this._radios.forEach(function(e){return e.updateValue(t._value)})},t.prototype._updateRadiosDisabled=function(){this._radios.forEach(function(t){return t.updateDisabled()})},t}();s.decorators=[{type:r.Directive,args:[{selector:"[ngbRadioGroup]",host:{"data-toggle":"buttons",class:"btn-group",role:"group"},providers:[o]}]}],s.ctorParameters=function(){return[]};var l=function(){function t(t,e){this._renderer=t,this._elRef=e}return Object.defineProperty(t.prototype,"active",{set:function(t){t?this._renderer.addClass(this._elRef.nativeElement,"active"):this._renderer.removeClass(this._elRef.nativeElement,"active")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{set:function(t){t?this._renderer.addClass(this._elRef.nativeElement,"disabled"):this._renderer.removeClass(this._elRef.nativeElement,"disabled")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focused",{set:function(t){t?this._renderer.addClass(this._elRef.nativeElement,"focus"):this._renderer.removeClass(this._elRef.nativeElement,"focus")},enumerable:!0,configurable:!0}),t}();l.decorators=[{type:r.Directive,args:[{selector:"label.btn"}]}],l.ctorParameters=function(){return[{type:r.Renderer2},{type:r.ElementRef}]};var a=function(){function t(t,e,n,r){this._group=t,this._label=e,this._renderer=n,this._element=r,this._value=null,this._group&&this._group.register(this)}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t;var e=t?t.toString():"";this._renderer.setProperty(this._element.nativeElement,"value",e),this._group&&this._group.onRadioValueUpdate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(t){this._checked=!!this._element.nativeElement.hasAttribute("checked")||t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._group&&this._group.disabled||this._disabled},set:function(t){this._disabled=!1!==t,this.updateDisabled()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focused",{set:function(t){this._label&&(this._label.focused=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._group&&this._group.unregister(this)},t.prototype.onChange=function(){this._group&&this._group.onRadioChange(this)},t.prototype.updateValue=function(t){this._checked=this.value===t&&null!==t,this._label.active=this._checked},t.prototype.updateDisabled=function(){var t=this._group&&this._group.disabled||this._disabled;this._label&&(this._label.disabled=t)},t}();a.decorators=[{type:r.Directive,args:[{selector:"input[type=radio]",host:{"[checked]":"checked","[disabled]":"disabled","(change)":"onChange()","(focus)":"focused = true","(blur)":"focused = false"}}]}],a.ctorParameters=function(){return[{type:s,decorators:[{type:r.Optional}]},{type:l,decorators:[{type:r.Optional}]},{type:r.Renderer2},{type:r.ElementRef}]},a.propDecorators={value:[{type:r.Input,args:["value"]}],checked:[{type:r.Input,args:["checked"]}],disabled:[{type:r.Input,args:["disabled"]}]}},"+pb+":function(t,e,n){"use strict";var r=n("rCTf"),i=n("xAJs");r.Observable.prototype.map=i.map},"+vPe":function(t,e,n){"use strict";var r=n("Q0je");e.never=r.NeverObservable.create},"+w3m":function(t,e,n){"use strict";function r(t,e){return this.lift(new l(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("8Z8y");e.elementAt=r;var l=function(){function t(t,e){if(this.index=t,this.defaultValue=e,t<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.index,this.defaultValue))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.index=n,this.defaultValue=r}return i(e,t),e.prototype._next=function(t){0==this.index--&&(this.destination.next(t),this.destination.complete())},e.prototype._complete=function(){var t=this.destination;this.index>=0&&(void 0!==this.defaultValue?t.next(this.defaultValue):t.error(new s.ArgumentOutOfRangeError)),t.complete()},e}(o.Subscriber)},"/181":function(t,e,n){"use strict";var r=n("rCTf"),i=n("2jZb");r.Observable.prototype.count=i.count},"/8te":function(t,e,n){"use strict";var r=n("Gb0N");e.range=r.RangeObservable.create},"/FbB":function(t,e,n){"use strict";function r(t){var e=t.getFullYear();return e%4==0&&e%100!=0||e%400==0}function i(t,e){return t-e*Math.floor(t/e)}var o=n("CO0D"),s=n("hlt1"),l=n("3j3K"),a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=1721425.5,c=1948439.5,h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.fromGregorian=function(t){var e=new Date(t),n=e.getFullYear(),i=e.getMonth(),o=e.getDate(),l=u-1+365*(n-1)+Math.floor((n-1)/4)+-Math.floor((n-1)/100)+Math.floor((n-1)/400)+Math.floor((367*(i+1)-362)/12+(i+1<=2?0:r(e)?-1:-2)+o);l=Math.floor(l)+.5;var a=l-c,h=Math.floor((30*a+10646)/10631),p=Math.ceil((a-29-this._getYearStart(h))/29.5);p=Math.min(p,11);var d=Math.ceil(a-this._getMonthStart(h,p))+1;return new s.a(h,p+1,d)},e.prototype.toGregorian=function(t){var e=t.year,n=t.month-1,o=t.day,s=o+Math.ceil(29.5*n)+354*(e-1)+Math.floor((3+11*e)/30)+c-1,l=Math.floor(s-.5)+.5,a=l-u,h=Math.floor(a/146097),p=i(a,146097),d=Math.floor(p/36524),f=i(p,36524),v=Math.floor(f/1461),m=i(f,1461),g=Math.floor(m/365),y=400*h+100*d+4*v+g;4!==d&&4!==g&&y++;var b=u+365*(y-1)+Math.floor((y-1)/4)-Math.floor((y-1)/100)+Math.floor((y-1)/400),w=l-b,x=u-1+365*(y-1)+Math.floor((y-1)/4)-Math.floor((y-1)/100)+Math.floor((y-1)/400)+Math.floor(739/12+(r(new Date(y,3,1))?-1:-2)+1),C=l<x?0:r(new Date(y,3,1))?1:2,S=Math.floor((12*(w+C)+373)/367),_=u-1+365*(y-1)+Math.floor((y-1)/4)-Math.floor((y-1)/100)+Math.floor((y-1)/400)+Math.floor((367*S-362)/12+(S<=2?0:r(new Date(y,S-1,1))?-1:-2)+1),O=l-_+1;return new Date(y,S-1,O)},e.prototype.getDaysInIslamicMonth=function(t,e){e+=Math.floor(t/13),t=(t-1)%12+1;var n=29+t%2;return 12===t&&this._isIslamicLeapYear(e)&&n++,n},e.prototype.getNext=function(t,e,n){switch(void 0===e&&(e="d"),void 0===n&&(n=1),t=s.a.from(t),e){case"y":return t=this.setYear(t,t.year+n),t.month=1,t.day=1,t;case"m":return t=this.setMonth(t,t.month+n),t.day=1,t;case"d":return this.setDay(t,t.day+n);default:return t}},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e="d"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=this.toGregorian(t).getDay();return 0===e?7:e},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=(11-e)%7,r=t[n],i=this.toGregorian(r);i.setDate(i.getDate()+4-(i.getDay()||7));var o=i.getTime(),l=this.toGregorian(new s.a(r.year,1,1));return Math.floor(Math.round((o-l.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return this.fromGregorian(new Date)},e}(o.a);h.decorators=[{type:l.Injectable}],h.ctorParameters=function(){return[]}},"/I96":function(t,e,n){"use strict";var r=n("3j3K"),i=n("2Je8"),o=n("l5HU"),s=n("DDfv");n.d(e,"a",function(){return l});var l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();l.decorators=[{type:r.NgModule,args:[{declarations:o.a,exports:o.a,imports:[i.CommonModule]}]}],l.ctorParameters=function(){return[]}},"/J7H":function(t,e,n){"use strict";function r(t){return!!t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}function i(t){return!!t&&"function"==typeof t.on&&"function"==typeof t.off}function o(t){return!!t&&"[object NodeList]"===f.call(t)}function s(t){return!!t&&"[object HTMLCollection]"===f.call(t)}function l(t){return!!t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=n("rCTf"),c=n("+3eL"),h=n("SKH6"),p=n("WhVc"),d=n("B00U"),f=Object.prototype.toString,v=function(t){function e(e,n,r,i){t.call(this),this.sourceObj=e,this.eventName=n,this.selector=r,this.options=i}return a(e,t),e.create=function(t,n,r,i){return h.isFunction(r)&&(i=r,r=void 0),new e(t,n,i,r)},e.setupSubscription=function(t,n,a,u,c){var h;if(o(t)||s(t))for(var p=0,f=t.length;p<f;p++)e.setupSubscription(t[p],n,a,u,c);else if(l(t)){var v=t;t.addEventListener(n,a,c),h=function(){return v.removeEventListener(n,a)}}else if(i(t)){var m=t;t.on(n,a),h=function(){return m.off(n,a)}}else{if(!r(t))throw new TypeError("Invalid event target");var g=t;t.addListener(n,a),h=function(){return g.removeListener(n,a)}}u.add(new d.Subscription(h))},e.prototype._subscribe=function(t){var n=this.sourceObj,r=this.eventName,i=this.options,o=this.selector,s=o?function(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var r=c.tryCatch(o).apply(void 0,e);r===p.errorObject?t.error(p.errorObject.e):t.next(r)}:function(e){return t.next(e)};e.setupSubscription(n,r,s,t,i)},e}(u.Observable);e.FromEventObservable=v},"/KGk":function(t,e,n){"use strict";var r=n("3j3K"),i=n("NVOs"),o=n("lcaH"),s=n("hlt1"),l=n("fAHw"),a=n("+Qf+"),u=n("2yGx"),c=n("hwnt"),h=n("gEbu");n.d(e,"a",function(){return d});var p={provide:i.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return d}),multi:!0},d=function(){function t(t,e,n,i){this._service=t,this._calendar=e,this.i18n=n,this.months=[],this.navigate=new r.EventEmitter,this.disabled=!1,this.onChange=function(t){},this.onTouched=function(){},this.dayTemplate=i.dayTemplate,this.displayMonths=i.displayMonths,this.firstDayOfWeek=i.firstDayOfWeek,this.markDisabled=i.markDisabled,this.minDate=i.minDate,this.maxDate=i.maxDate,this.navigation=i.navigation,this.outsideDays=i.outsideDays,this.showWeekdays=i.showWeekdays,this.showWeekNumbers=i.showWeekNumbers,this.startDate=i.startDate}return t.prototype.getHeaderHeight=function(){var t=this.showWeekdays?6.25:4.25;return 1===this.displayMonths||"select"!==this.navigation?t-2:t},t.prototype.getHeaderMargin=function(){var t=this.showWeekdays?2:0;return 1!==this.displayMonths||"select"!==this.navigation?t+2:t},t.prototype.navigateTo=function(t){this._setViewWithinLimits(this._service.toValidDate(t)),this._updateData()},t.prototype.ngOnInit=function(){this._setDates(),this.navigateTo(this._date)},t.prototype.ngOnChanges=function(t){this._setDates(),this._setViewWithinLimits(this._date),t.displayMonths&&(this.displayMonths=n.i(u.b)(this.displayMonths)),["startDate","minDate","maxDate","navigation","firstDayOfWeek","markDisabled","displayMonths"].some(function(e){return!!t[e]})&&this._updateData(!0)},t.prototype.onDateSelect=function(t){this._setViewWithinLimits(t),this.onTouched(),this.writeValue(t),this.onChange({year:t.year,month:t.month,day:t.day}),this._date.month!==this.months[0].number&&1===this.displayMonths&&this._updateData()},t.prototype.onNavigateDateSelect=function(t){this._setViewWithinLimits(t),this._updateData()},t.prototype.onNavigateEvent=function(t){switch(t){case a.a.PREV:this._setViewWithinLimits(this._calendar.getPrev(this.months[0].firstDate,"m"));break;case a.a.NEXT:this._setViewWithinLimits(this._calendar.getNext(this.months[0].firstDate,"m"))}this._updateData()},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.writeValue=function(t){this.model=this._service.toValidDate(t,null)},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype._setDates=function(){if(this._maxDate=s.a.from(this.maxDate),this._minDate=s.a.from(this.minDate),this._date=this._service.toValidDate(this.startDate),this._calendar.isValid(this._minDate)||(this._minDate=this._calendar.getPrev(this._date,"y",10),this.minDate={year:this._minDate.year,month:this._minDate.month,day:this._minDate.day}),this._calendar.isValid(this._maxDate)||(this._maxDate=this._calendar.getNext(this._date,"y",11),this._maxDate=this._calendar.getPrev(this._maxDate),this.maxDate={year:this._maxDate.year,month:this._maxDate.month,day:this._maxDate.day}),this._minDate&&this._maxDate&&this._maxDate.before(this._minDate))throw new Error("'maxDate' "+this._maxDate+" should be greater than 'minDate' "+this._minDate)},t.prototype._setViewWithinLimits=function(t){this._minDate&&t.before(this._minDate)?this._date=new s.a(this._minDate.year,this._minDate.month,1):this._maxDate&&t.after(this._maxDate)?this._date=new s.a(this._maxDate.year,this._maxDate.month,1):this._date=new s.a(t.year,t.month,1)},t.prototype._updateData=function(t){void 0===t&&(t=!1);for(var e=[],r=function(r){var o=i._calendar.getNext(i._date,"m",r),s=i.months.findIndex(function(t){return t.firstDate.equals(o)});t||-1===s?e.push(i._service.generateMonthViewModel(o,i._minDate,i._maxDate,n.i(u.b)(i.firstDayOfWeek),i.markDisabled)):e.push(i.months[s])},i=this,o=0;o<this.displayMonths;o++)r(o);var s=e[0].firstDate,l=this.months[0]?this.months[0].firstDate:null;this.months=e,s.equals(l)||this.navigate.emit({current:l?{year:l.year,month:l.month}:null,next:{year:s.year,month:s.month}})},t}();d.decorators=[{type:r.Component,args:[{exportAs:"ngbDatepicker",selector:"ngb-datepicker",host:{class:"d-inline-block rounded"},styles:["\n :host {\n border: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-header {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-month {\n pointer-events: none;\n }\n ngb-datepicker-month-view {\n pointer-events: auto;\n }\n .ngb-dp-month:first-child {\n margin-left: 0 !important;\n } \n .ngb-dp-month-name {\n font-size: larger;\n height: 2rem;\n line-height: 2rem;\n } \n "],template:'\n <ng-template #dt let-date="date" let-currentMonth="currentMonth" let-selected="selected" let-disabled="disabled">\n <div ngbDatepickerDayView [date]="date" [currentMonth]="currentMonth" [selected]="selected" [disabled]="disabled"></div>\n </ng-template>\n \n <div class="ngb-dp-header bg-faded pt-1 rounded-top" [style.height.rem]="getHeaderHeight()" \n [style.marginBottom.rem]="-getHeaderMargin()">\n <ngb-datepicker-navigation *ngIf="navigation !== \'none\'"\n [date]="months[0]?.firstDate"\n [minDate]="_minDate"\n [maxDate]="_maxDate"\n [months]="months.length"\n [disabled]="disabled"\n [showWeekNumbers]="showWeekNumbers"\n [showSelect]="navigation === \'select\'"\n (navigate)="onNavigateEvent($event)"\n (select)="onNavigateDateSelect($event)">\n </ngb-datepicker-navigation>\n </div>\n\n <div class="ngb-dp-months d-flex px-1 pb-1">\n <ng-template ngFor let-month [ngForOf]="months" let-i="index">\n <div class="ngb-dp-month d-block ml-3"> \n <div *ngIf="navigation !== \'select\' || displayMonths > 1" class="ngb-dp-month-name text-center">\n {{ i18n.getMonthFullName(month.number) }} {{ month.year }}\n </div>\n <ngb-datepicker-month-view\n [month]="month"\n [selectedDate]="model"\n [dayTemplate]="dayTemplate || dt"\n [showWeekdays]="showWeekdays"\n [showWeekNumbers]="showWeekNumbers"\n [disabled]="disabled"\n [outsideDays]="displayMonths === 1 ? outsideDays : \'hidden\'"\n (select)="onDateSelect($event)">\n </ngb-datepicker-month-view>\n </div>\n </ng-template>\n </div>\n ',providers:[p,l.a]}]}],d.ctorParameters=function(){return[{type:l.a},{type:o.a},{type:h.a},{type:c.a}]},d.propDecorators={dayTemplate:[{type:r.Input}],displayMonths:[{type:r.Input}],firstDayOfWeek:[{type:r.Input}],markDisabled:[{type:r.Input}],minDate:[{type:r.Input}],maxDate:[{type:r.Input}],navigation:[{type:r.Input}],outsideDays:[{type:r.Input}],showWeekdays:[{type:r.Input}],showWeekNumbers:[{type:r.Input}],startDate:[{type:r.Input}],navigate:[{type:r.Output}]}},"/PMa":function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"b",function(){return i}),n.d(e,"a",function(){return o});var i=function(){function t(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n}return t}(),o=function(){function t(t,e,n,r,i){this._injector=e,this._viewContainerRef=n,this._renderer=r,this._windowFactory=i.resolveComponentFactory(t)}return t.prototype.open=function(t,e){return this._windowRef||(this._contentRef=this._getContentRef(t,e),this._windowRef=this._viewContainerRef.createComponent(this._windowFactory,0,this._injector,this._contentRef.nodes)),this._windowRef},t.prototype.close=function(){this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null,this._contentRef.viewRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef=null))},t.prototype._getContentRef=function(t,e){if(t){if(t instanceof r.TemplateRef){var n=this._viewContainerRef.createEmbeddedView(t,e);return new i([n.rootNodes],n)}return new i([[this._renderer.createText(""+t)]])}return new i([])},t}()},"/TOt":function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=s.async),this.lift(new a(t,e))}function i(t){t.clearThrottle()}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("CGGv"),l=n("mmVS");e.auditTime=r;var a=function(){function t(t,e){this.duration=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.duration,this.scheduler))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.duration=n,this.scheduler=r,this.hasValue=!1}return o(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0,this.throttled||this.add(this.throttled=this.scheduler.schedule(i,this.duration,this))},e.prototype.clearThrottle=function(){var t=this,e=t.value,n=t.hasValue,r=t.throttled;r&&(this.remove(r),this.throttled=null,r.unsubscribe()),n&&(this.value=null,this.hasValue=!1,this.destination.next(e))},e}(l.Subscriber)},"/i+G":function(t,e,n){"use strict";var r=n("3j3K"),i=n("2yGx"),o=n("K0TW");n.d(e,"a",function(){return s});var s=function(){function t(t){this.pageCount=0,this.pages=[],this.page=0,this.pageChange=new r.EventEmitter(!0),this.disabled=t.disabled,this.boundaryLinks=t.boundaryLinks,this.directionLinks=t.directionLinks,this.ellipses=t.ellipses,this.maxSize=t.maxSize,this.pageSize=t.pageSize,this.rotate=t.rotate,this.size=t.size}return t.prototype.hasPrevious=function(){return this.page>1},t.prototype.hasNext=function(){return this.page<this.pageCount},t.prototype.selectPage=function(t){this._updatePages(t)},t.prototype.ngOnChanges=function(t){this._updatePages(this.page)},t.prototype.isEllipsis=function(t){return-1===t},t.prototype._applyEllipses=function(t,e){this.ellipses&&(t>0&&(t>1&&this.pages.unshift(-1),this.pages.unshift(1)),e<this.pageCount&&(e<this.pageCount-1&&this.pages.push(-1),this.pages.push(this.pageCount)))},t.prototype._applyRotation=function(){var t=0,e=this.pageCount,n=Math.floor(this.maxSize/2),r=this.maxSize%2==0?n-1:n;return this.page<=n?e=this.maxSize:this.pageCount-this.page<n?t=this.pageCount-this.maxSize:(t=this.page-n-1,e=this.page+r),[t,e]},t.prototype._applyPagination=function(){var t=Math.ceil(this.page/this.maxSize)-1,e=t*this.maxSize;return[e,e+this.maxSize]},t.prototype._setPageInRange=function(t){var e=this.page;this.page=n.i(i.e)(t,this.pageCount,1),this.page!==e&&this.pageChange.emit(this.page)},t.prototype._updatePages=function(t){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),n.i(i.a)(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(var e=1;e<=this.pageCount;e++)this.pages.push(e);if(this._setPageInRange(t),this.maxSize>0&&this.pageCount>this.maxSize){var r=0,o=this.pageCount;this.rotate?(s=this._applyRotation(),r=s[0],o=s[1]):(l=this._applyPagination(),r=l[0],o=l[1]),this.pages=this.pages.slice(r,o),this._applyEllipses(r,o)}var s,l},t}();s.decorators=[{type:r.Component,args:[{selector:"ngb-pagination",changeDetection:r.ChangeDetectionStrategy.OnPush,host:{role:"navigation"},template:'\n <ul [class]="\'pagination\' + (size ? \' pagination-\' + size : \'\')">\n <li *ngIf="boundaryLinks" class="page-item"\n [class.disabled]="!hasPrevious() || disabled">\n <a aria-label="First" class="page-link" href (click)="!!selectPage(1)" [attr.tabindex]="(hasPrevious() ? null : \'-1\')">\n <span aria-hidden="true">««</span>\n </a>\n </li>\n\n <li *ngIf="directionLinks" class="page-item"\n [class.disabled]="!hasPrevious() || disabled">\n <a aria-label="Previous" class="page-link" href (click)="!!selectPage(page-1)" [attr.tabindex]="(hasPrevious() ? null : \'-1\')">\n <span aria-hidden="true">«</span>\n </a>\n </li>\n <li *ngFor="let pageNumber of pages" class="page-item" [class.active]="pageNumber === page"\n [class.disabled]="isEllipsis(pageNumber) || disabled">\n <a *ngIf="isEllipsis(pageNumber)" class="page-link">...</a>\n <a *ngIf="!isEllipsis(pageNumber)" class="page-link" href (click)="!!selectPage(pageNumber)">\n {{pageNumber}}\n <span *ngIf="pageNumber === page" class="sr-only">(current)</span>\n </a>\n </li>\n <li *ngIf="directionLinks" class="page-item" [class.disabled]="!hasNext() || disabled">\n <a aria-label="Next" class="page-link" href (click)="!!selectPage(page+1)" [attr.tabindex]="(hasNext() ? null : \'-1\')">\n <span aria-hidden="true">»</span>\n </a>\n </li>\n\n <li *ngIf="boundaryLinks" class="page-item" [class.disabled]="!hasNext() || disabled">\n <a aria-label="Last" class="page-link" href (click)="!!selectPage(pageCount)" [attr.tabindex]="(hasNext() ? null : \'-1\')">\n <span aria-hidden="true">»»</span>\n </a>\n </li>\n </ul>\n '}]}],s.ctorParameters=function(){return[{type:o.a}]},s.propDecorators={disabled:[{type:r.Input}],boundaryLinks:[{type:r.Input}],directionLinks:[{type:r.Input}],ellipses:[{type:r.Input}],rotate:[{type:r.Input}],collectionSize:[{type:r.Input}],maxSize:[{type:r.Input}],page:[{type:r.Input}],pageSize:[{type:r.Input}],pageChange:[{type:r.Output}],size:[{type:r.Input}]}},"/lY3":function(t,e,n){"use strict";var r=n("rCTf"),i=n("Ji1V");r.Observable.prototype.startWith=i.startWith},"/rMs":function(t,e,n){"use strict";var r=n("rCTf"),i=n("8MUz");r.Observable.prototype.concat=i.concat},"09LQ":function(t,e,n){"use strict";function r(t){return this.lift(new l(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("B00U");e._finally=r;var l=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.callback))},t}(),a=function(t){function e(e,n){t.call(this,e),this.add(new s.Subscription(n))}return i(e,t),e}(o.Subscriber)},"0EZR":function(t,e,n){"use strict";function r(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function i(t){var e=t.err;t.subject.error(e)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("rCTf"),l=n("+3eL"),a=n("WhVc"),u=n("5c/I"),c=function(t){function e(e,n,r,i,o){t.call(this),this.callbackFunc=e,this.selector=n,this.args=r,this.context=i,this.scheduler=o}return o(e,t),e.create=function(t,n,r){return void 0===n&&(n=void 0),function(){for(var i=[],o=0;o<arguments.length;o++)i[o-0]=arguments[o];return new e(t,n,i,this,r)}},e.prototype._subscribe=function(t){var n=this.callbackFunc,r=this.args,i=this.scheduler,o=this.subject;if(i)return i.schedule(e.dispatch,0,{source:this,subscriber:t,context:this.context});if(!o){o=this.subject=new u.AsyncSubject;var s=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var r=t.source,i=r.selector,o=r.subject;if(i){var s=l.tryCatch(i).apply(this,e);s===a.errorObject?o.error(a.errorObject.e):(o.next(s),o.complete())}else o.next(e.length<=1?e[0]:e),o.complete()};s.source=this;l.tryCatch(n).apply(this.context,r.concat(s))===a.errorObject&&o.error(a.errorObject.e)}return o.subscribe(t)},e.dispatch=function(t){var e=this,n=t.source,o=t.subscriber,s=t.context,c=n.callbackFunc,h=n.args,p=n.scheduler,d=n.subject;if(!d){d=n.subject=new u.AsyncSubject;var f=function t(){for(var n=[],o=0;o<arguments.length;o++)n[o-0]=arguments[o];var s=t.source,u=s.selector,c=s.subject;if(u){var h=l.tryCatch(u).apply(this,n);h===a.errorObject?e.add(p.schedule(i,0,{err:a.errorObject.e,subject:c})):e.add(p.schedule(r,0,{value:h,subject:c}))}else{var d=n.length<=1?n[0]:n;e.add(p.schedule(r,0,{value:d,subject:c}))}};f.source=n;l.tryCatch(c).apply(s,h.concat(f))===a.errorObject&&d.error(a.errorObject.e)}e.add(d.subscribe(o))},e}(s.Observable);e.BoundCallbackObservable=c},"0GXu":function(t,e,n){"use strict";function r(t){return void 0===t&&(t=-1),0===t?new s.EmptyObservable:t<0?this.lift(new l(-1,this)):this.lift(new l(t-1,this))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("jBEF");e.repeat=r;var l=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.count,this.source))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.count=n,this.source=r}return i(e,t),e.prototype.complete=function(){if(!this.isStopped){var e=this,n=e.source,r=e.count;if(0===r)return t.prototype.complete.call(this);r>-1&&(this.count=r-1),n.subscribe(this._unsubscribeAndRecycle())}},e}(o.Subscriber)},"0TiQ":function(t,e,n){"use strict";var r=n("rCTf"),i=n("QNuG");r.Observable.prototype.publishLast=i.publishLast},"0VSF":function(t,e,n){"use strict";function r(t){return this.lift(new l(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.sample=r;var l=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new a(t),r=e.subscribe(n);return r.add(s.subscribeToResult(n,this.notifier)),r},t}(),a=function(t){function e(){t.apply(this,arguments),this.hasValue=!1}return i(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,n,r,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(o.OuterSubscriber)},"0gHg":function(t,e,n){"use strict";function r(t,e,n){return void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===e&&(e=Number.POSITIVE_INFINITY),o.multicast.call(this,new i.ReplaySubject(t,e,n))}var i=n("MQMf"),o=n("emOw");e.publishReplay=r},"10Gq":function(t,e,n){"use strict";var r=n("rCTf"),i=n("Cx8F");r.Observable.prototype.retryWhen=i.retryWhen},"16m9":function(t,e,n){"use strict";var r=n("rCTf"),i=n("Yuqe");r.Observable.prototype.concatMapTo=i.concatMapTo},"1APj":function(t,e,n){"use strict";var r=n("rCTf"),i=n("lgiQ");r.Observable.of=i.of},"1Axw":function(t,e,n){"use strict";function r(t,e){return e?new h(this,e).lift(new u(t)):this.lift(new u(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("rCTf"),l=n("wAkD"),a=n("CURp");e.delayWhen=r;var u=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.delayDurationSelector))},t}(),c=function(t){function e(e,n){t.call(this,e),this.delayDurationSelector=n,this.completed=!1,this.delayNotifierSubscriptions=[],this.values=[]}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(t),this.removeSubscription(i),this.tryComplete()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(t){try{var e=this.delayDurationSelector(t);e&&this.tryDelay(e,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t),n=null;return-1!==e&&(n=this.values[e],this.delayNotifierSubscriptions.splice(e,1),this.values.splice(e,1)),n},e.prototype.tryDelay=function(t,e){var n=a.subscribeToResult(this,t,e);n&&!n.closed&&(this.add(n),this.delayNotifierSubscriptions.push(n)),this.values.push(e)},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(l.OuterSubscriber),h=function(t){function e(e,n){t.call(this),this.source=e,this.subscriptionDelay=n}return i(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new p(t,this.source))},e}(s.Observable),p=function(t){function e(e,n){t.call(this),this.parent=e,this.source=n,this.sourceSubscribed=!1}return i(e,t),e.prototype._next=function(t){this.subscribeToSource()},e.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},e.prototype._complete=function(){this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(o.Subscriber)},"1Cj3":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("9Avi"),o=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(i.AsyncScheduler);e.AsapScheduler=o},"1NVl":function(t,e,n){"use strict";var r=n("rCTf"),i=n("83T1");r.Observable.prototype.every=i.every},"1Nls":function(t,e,n){"use strict";var r=n("rCTf"),i=n("gIFM");r.Observable.ajax=i.ajax},"1VLl":function(t,e,n){"use strict";var r=n("rCTf"),i=n("ASN6");r.Observable.onErrorResumeNext=i.onErrorResumeNextStatic},"1Z2I":function(t,e,n){"use strict";var r=n("3j3K"),i=n("2Je8"),o=n("W5jB"),s=n("nCuf");n.d(e,"a",function(){return l});var l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();l.decorators=[{type:r.NgModule,args:[{declarations:[o.a],exports:[o.a],imports:[i.CommonModule]}]}],l.ctorParameters=function(){return[]}},"1ZrL":function(t,e,n){"use strict";var r=n("rCTf"),i=n("lU4I");r.Observable.concat=i.concat},"1hN3":function(t,e,n){"use strict";function r(t){return this.lift(new c(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("B00U"),s=n("+3eL"),l=n("WhVc"),a=n("wAkD"),u=n("CURp");e.bufferWhen=r;var c=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.closingSelector))},t}(),h=function(t){function e(e,n){t.call(this,e),this.closingSelector=n,this.subscribing=!1,this.openBuffer()}return i(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},e.prototype.notifyNext=function(t,e,n,r,i){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe());var e=this.buffer;this.buffer&&this.destination.next(e),this.buffer=[];var n=s.tryCatch(this.closingSelector)();n===l.errorObject?this.error(l.errorObject.e):(t=new o.Subscription,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(u.subscribeToResult(this,n)),this.subscribing=!1)},e}(a.OuterSubscriber)},"1hiA":function(t,e,n){"use strict";function r(t){return o["ɵvid"](0,[o["ɵqud"](402653184,1,{host:0}),(t()(),o["ɵeld"](0,[[1,0],["host",1]],null,0,"textarea",[],null,null,null,null,null))],null,null)}function i(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,2,"codemirror",[],null,null,null,s.a,s.b)),o["ɵprd"](5120,null,l.NG_VALUE_ACCESSOR,function(t){return[t]},[a.CodemirrorComponent]),o["ɵdid"](4374528,null,0,a.CodemirrorComponent,[],null,null)],null,null)}var o=n("3j3K"),s=n("1hiA"),l=n("NVOs"),a=n("zK+N");n.n(a);n.d(e,"b",function(){return c}),e.a=r;var u=[],c=o["ɵcrt"]({encapsulation:2,styles:u,data:{}});o["ɵccf"]("codemirror",a.CodemirrorComponent,i,{config:"config",value:"value"},{change:"change",focus:"focus",blur:"blur",instance:"instance"},[])},"1k2o":function(t,e,n){"use strict";var r=n("rCTf"),i=n("33Pm");r.Observable.bindCallback=i.bindCallback},"1kxm":function(t,e,n){"use strict";var r=function(){function t(){this.values={}}return t.prototype.delete=function(t){return this.values[t]=null,!0},t.prototype.set=function(t,e){return this.values[t]=e,this},t.prototype.get=function(t){return this.values[t]},t.prototype.forEach=function(t,e){var n=this.values;for(var r in n)n.hasOwnProperty(r)&&null!==n[r]&&t.call(e,n[r],r)},t.prototype.clear=function(){this.values={}},t}();e.FastMap=r},"1oKp":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){function t(){}return t}()},2395:function(t,e,n){"use strict";var r=n("rCTf"),i=n("9TuE");r.Observable.prototype.isEmpty=i.isEmpty},"2AEF":function(t,e,n){"use strict";function r(t,e){return this.lift(new l(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.exhaustMap=r;var l=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.resultSelector))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.resultSelector=r,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return i(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e=this.index++,n=this.destination;try{var r=this.project(t,e);this.hasSubscription=!0,this.add(s.subscribeToResult(this,r,t,e))}catch(t){n.error(t)}},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this,s=o.resultSelector,l=o.destination;s?this.trySelectResult(t,e,n,r):l.next(e)},e.prototype.trySelectResult=function(t,e,n,r){var i=this,o=i.resultSelector,s=i.destination;try{var l=o(t,e,n,r);s.next(l)}catch(t){s.error(t)}},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber)},"2BXm":function(t,e,n){"use strict";var r=n("3j3K"),i=n("2yGx");n.d(e,"a",function(){return o});var o=function(){function t(){this.activeIdx=0,this.focusFirst=!0,this.formatter=i.d,this.selectEvent=new r.EventEmitter,this.activeChangeEvent=new r.EventEmitter}return t.prototype.getActive=function(){return this.results[this.activeIdx]},t.prototype.markActive=function(t){this.activeIdx=t,this._activeChanged()},t.prototype.next=function(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()},t.prototype.prev=function(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()},t.prototype.select=function(t){this.selectEvent.emit(t)},t.prototype.ngOnInit=function(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()},t.prototype._activeChanged=function(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)},t}();o.decorators=[{type:r.Component,args:[{selector:"ngb-typeahead-window",exportAs:"ngbTypeaheadWindow",host:{class:"dropdown-menu",style:"display: block",role:"listbox","[id]":"id"},template:'\n <ng-template #rt let-result="result" let-term="term" let-formatter="formatter">\n <ngb-highlight [result]="formatter(result)" [term]="term"></ngb-highlight>\n </ng-template>\n <ng-template ngFor [ngForOf]="results" let-result let-idx="index">\n <button type="button" class="dropdown-item" role="option"\n [id]="id + \'-\' + idx"\n [class.active]="idx === activeIdx"\n (mouseenter)="markActive(idx)"\n (click)="select(result)">\n <ng-template [ngTemplateOutlet]="resultTemplate || rt"\n [ngOutletContext]="{result: result, term: term, formatter: formatter}"></ng-template>\n </button>\n </ng-template>\n '}]}],o.ctorParameters=function(){return[]},o.propDecorators={id:[{type:r.Input}],focusFirst:[{type:r.Input}],results:[{type:r.Input}],term:[{type:r.Input}],formatter:[{type:r.Input}],resultTemplate:[{type:r.Input}],selectEvent:[{type:r.Output,args:["select"]}],activeChangeEvent:[{type:r.Output,args:["activeChange"]}]}},"2ER/":function(t,e,n){"use strict";var r=function(){function t(){this.size=0,this._values=[],this._keys=[]}return t.prototype.get=function(t){var e=this._keys.indexOf(t);return-1===e?void 0:this._values[e]},t.prototype.set=function(t,e){var n=this._keys.indexOf(t);return-1===n?(this._keys.push(t),this._values.push(e),this.size++):this._values[n]=e,this},t.prototype.delete=function(t){var e=this._keys.indexOf(t);return-1!==e&&(this._values.splice(e,1),this._keys.splice(e,1),this.size--,!0)},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this.size=0},t.prototype.forEach=function(t,e){for(var n=0;n<this.size;n++)t.call(e,this._values[n],this._keys[n])},t}();e.MapPolyfill=r},"2Nne":function(t,e,n){"use strict";function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,61,"div",[["class","modal-dialog"],["style","margin-top:100px;"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,58,"div",[["class","modal-content"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n\n "])),(t()(),o["ɵeld"](0,null,null,7,"div",[["class","modal-header"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"h5",[["class","modal-title"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["Calificar entrega"])),(t()(),o["ɵted"](null,[" \n "])),(t()(),o["ɵeld"](0,null,null,1,"button",[["class","close"],["style","margin-left:8px;"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==i.close()&&r}return r},null,null)),(t()(),o["ɵted"](null,["×"])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n \n "])),(t()(),o["ɵeld"](0,null,null,37,"div",[["class","modal-body"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,34,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(t,e,n){var r=!0;if("submit"===e){r=!1!==o["ɵnov"](t,17).onSubmit(n)&&r}if("reset"===e){r=!1!==o["ɵnov"](t,17).onReset()&&r}return r},null,null)),o["ɵdid"](16384,null,0,l["ɵbf"],[],null,null),o["ɵdid"](16384,null,0,l.NgForm,[[8,null],[8,null]],null,null),o["ɵprd"](2048,null,l.ControlContainer,null,[l.NgForm]),o["ɵdid"](16384,null,0,l.NgControlStatusGroup,[l.ControlContainer],null,null),(t()(),o["ɵted"](null,[" \n "])),(t()(),o["ɵeld"](0,null,null,13,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"label",[["class","form-control-label"],["for","message-text"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["Calificacion (1-100):"])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,7,"input",[["class","form-control"],["max","100"],["min","1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(t,e,n){var r=!0,i=t.component;if("input"===e){r=!1!==o["ɵnov"](t,27)._handleInput(n.target.value)&&r}if("blur"===e){r=!1!==o["ɵnov"](t,27).onTouched()&&r}if("compositionstart"===e){r=!1!==o["ɵnov"](t,27)._compositionStart()&&r}if("compositionend"===e){r=!1!==o["ɵnov"](t,27)._compositionEnd(n.target.value)&&r}if("change"===e){r=!1!==o["ɵnov"](t,28).onChange(n.target.value)&&r}if("input"===e){r=!1!==o["ɵnov"](t,28).onChange(n.target.value)&&r}if("blur"===e){r=!1!==o["ɵnov"](t,28).onTouched()&&r}if("ngModelChange"===e){r=!1!==(i.nota=n)&&r}return r},null,null)),o["ɵdid"](16384,null,0,l.DefaultValueAccessor,[o.Renderer,o.ElementRef,[2,l.COMPOSITION_BUFFER_MODE]],null,null),o["ɵdid"](16384,null,0,l["ɵbc"],[o.Renderer,o.ElementRef],null,null),o["ɵprd"](1024,null,l.NG_VALUE_ACCESSOR,function(t,e){return[t,e]},[l.DefaultValueAccessor,l["ɵbc"]]),o["ɵdid"](671744,null,0,l.NgModel,[[2,l.ControlContainer],[8,null],[8,null],[2,l.NG_VALUE_ACCESSOR]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](["standalone"]),o["ɵprd"](2048,null,l.NgControl,null,[l.NgModel]),o["ɵdid"](16384,null,0,l.NgControlStatus,[l.NgControl],null,null),(t()(),o["ɵted"](null,[" \n "])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,12,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"label",[["class","form-control-label"],["for","message-text"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["Detalle:"])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,6,"textarea",[["class","form-control"],["id","message-text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var r=!0,i=t.component;if("input"===e){r=!1!==o["ɵnov"](t,42)._handleInput(n.target.value)&&r}if("blur"===e){r=!1!==o["ɵnov"](t,42).onTouched()&&r}if("compositionstart"===e){r=!1!==o["ɵnov"](t,42)._compositionStart()&&r}if("compositionend"===e){r=!1!==o["ɵnov"](t,42)._compositionEnd(n.target.value)&&r}if("ngModelChange"===e){r=!1!==(i.descripcion=n)&&r}return r},null,null)),o["ɵdid"](16384,null,0,l.DefaultValueAccessor,[o.Renderer,o.ElementRef,[2,l.COMPOSITION_BUFFER_MODE]],null,null),o["ɵprd"](1024,null,l.NG_VALUE_ACCESSOR,function(t){return[t]},[l.DefaultValueAccessor]),o["ɵdid"](671744,null,0,l.NgModel,[[2,l.ControlContainer],[8,null],[8,null],[2,l.NG_VALUE_ACCESSOR]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["ɵpod"](["standalone"]),o["ɵprd"](2048,null,l.NgControl,null,[l.NgModel]),o["ɵdid"](16384,null,0,l.NgControlStatus,[l.NgControl],null,null),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n\n "])),(t()(),o["ɵeld"](0,null,null,7,"div",[["class","modal-footer"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"button",[["class","btn btn-secondary"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==i.cancel()&&r}return r},null,null)),(t()(),o["ɵted"](null,["Cancelar"])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"button",[["class","btn btn-success"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==i.confirm()&&r}return r},null,null)),(t()(),o["ɵted"](null,["Calificar"])),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n\n "])),(t()(),o["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,30,0,n.nota,t(e,31,0,!0)),t(e,44,0,n.descripcion,t(e,45,0,!0))},function(t,e){t(e,15,0,o["ɵnov"](e,19).ngClassUntouched,o["ɵnov"](e,19).ngClassTouched,o["ɵnov"](e,19).ngClassPristine,o["ɵnov"](e,19).ngClassDirty,o["ɵnov"](e,19).ngClassValid,o["ɵnov"](e,19).ngClassInvalid,o["ɵnov"](e,19).ngClassPending),t(e,26,0,o["ɵnov"](e,33).ngClassUntouched,o["ɵnov"](e,33).ngClassTouched,o["ɵnov"](e,33).ngClassPristine,o["ɵnov"](e,33).ngClassDirty,o["ɵnov"](e,33).ngClassValid,o["ɵnov"](e,33).ngClassInvalid,o["ɵnov"](e,33).ngClassPending),t(e,41,0,o["ɵnov"](e,47).ngClassUntouched,o["ɵnov"](e,47).ngClassTouched,o["ɵnov"](e,47).ngClassPristine,o["ɵnov"](e,47).ngClassDirty,o["ɵnov"](e,47).ngClassValid,o["ɵnov"](e,47).ngClassInvalid,o["ɵnov"](e,47).ngClassPending)})}function i(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"confirm",[],null,null,null,r,c)),o["ɵdid"](245760,null,0,s.a,[a.DialogService],null,null)],function(t,e){t(e,1,0)},null)}var o=n("3j3K"),s=n("Wdzl"),l=n("NVOs"),a=n("hz2l");n.n(a);n.d(e,"a",function(){return h});var u=[],c=o["ɵcrt"]({encapsulation:2,styles:u,data:{}}),h=o["ɵccf"]("confirm",s.a,i,{},{},[])},"2NoN":function(t,e,n){"use strict";function r(t){return u["ɵvid"](0,[(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,1,"div",[["ngbDatepickerDayView",""]],[[2,"bg-primary",null],[2,"text-white",null],[2,"text-muted",null],[2,"outside",null],[2,"btn-secondary",null]],null,null,c.a,c.b)),u["ɵdid"](49152,null,0,h.a,[],{currentMonth:[0,"currentMonth"],date:[1,"date"],disabled:[2,"disabled"],selected:[3,"selected"]},null),(t()(),u["ɵted"](null,["\n "]))],function(t,e){t(e,2,0,e.context.currentMonth,e.context.date,e.context.disabled,e.context.selected)},function(t,e){t(e,1,0,u["ɵnov"](e,2).selected,u["ɵnov"](e,2).selected,u["ɵnov"](e,2).isMuted(),u["ɵnov"](e,2).isMuted(),!u["ɵnov"](e,2).disabled)})}function i(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,2,"ngb-datepicker-navigation",[["class","d-flex justify-content-between"]],[[2,"collapsed",null]],[[null,"navigate"],[null,"select"]],function(t,e,n){var r=!0,i=t.component;if("navigate"===e){r=!1!==i.onNavigateEvent(n)&&r}if("select"===e){r=!1!==i.onNavigateDateSelect(n)&&r}return r},p.a,p.b)),u["ɵdid"](49152,null,0,d.a,[f.a,v.a],{date:[0,"date"],disabled:[1,"disabled"],maxDate:[2,"maxDate"],minDate:[3,"minDate"],months:[4,"months"],showSelect:[5,"showSelect"],showWeekNumbers:[6,"showWeekNumbers"]},{navigate:"navigate",select:"select"}),(t()(),u["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,1,0,null==n.months[0]?null:n.months[0].firstDate,n.disabled,n._maxDate,n._minDate,n.months.length,"select"===n.navigation,n.showWeekNumbers)},function(t,e){t(e,0,0,!u["ɵnov"](e,1).showSelect)})}function o(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,1,"div",[["class","ngb-dp-month-name text-center"]],null,null,null,null,null)),(t()(),u["ɵted"](null,["\n "," ","\n "]))],null,function(t,e){t(e,1,0,e.component.i18n.getMonthFullName(e.parent.context.$implicit.number),e.parent.context.$implicit.year)})}function s(t){return u["ɵvid"](0,[(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,8,"div",[["class","ngb-dp-month d-block ml-3"]],null,null,null,null,null)),(t()(),u["ɵted"](null,[" \n "])),(t()(),u["ɵand"](16777216,null,null,1,null,o)),u["ɵdid"](16384,null,0,m.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,2,"ngb-datepicker-month-view",[["class","d-block"]],null,[[null,"select"]],function(t,e,n){var r=!0,i=t.component;if("select"===e){r=!1!==i.onDateSelect(n)&&r}return r},g.a,g.b)),u["ɵdid"](49152,null,0,y.a,[f.a],{dayTemplate:[0,"dayTemplate"],disabled:[1,"disabled"],month:[2,"month"],outsideDays:[3,"outsideDays"],selectedDate:[4,"selectedDate"],showWeekdays:[5,"showWeekdays"],showWeekNumbers:[6,"showWeekNumbers"]},{select:"select"}),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,4,0,"select"!==n.navigation||n.displayMonths>1),t(e,7,0,n.dayTemplate||u["ɵnov"](e.parent,1),n.disabled,e.context.$implicit,1===n.displayMonths?n.outsideDays:"hidden",n.model,n.showWeekdays,n.showWeekNumbers)},null)}function l(t){return u["ɵvid"](0,[(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵand"](0,[["dt",2]],null,0,null,r)),(t()(),u["ɵted"](null,["\n \n "])),(t()(),u["ɵeld"](0,null,null,4,"div",[["class","ngb-dp-header bg-faded pt-1 rounded-top"]],[[4,"height","rem"],[4,"marginBottom","rem"]],null,null,null,null)),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵand"](16777216,null,null,1,null,i)),u["ɵdid"](16384,null,0,m.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n\n "])),(t()(),u["ɵeld"](0,null,null,4,"div",[["class","ngb-dp-months d-flex px-1 pb-1"]],null,null,null,null,null)),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵand"](16777216,null,null,1,null,s)),u["ɵdid"](802816,null,0,m.NgForOf,[u.ViewContainerRef,u.TemplateRef,u.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,6,0,"none"!==n.navigation),t(e,12,0,n.months)},function(t,e){var n=e.component;t(e,3,0,n.getHeaderHeight(),0-n.getHeaderMargin())})}function a(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,3,"ngb-datepicker",[["class","d-inline-block rounded"]],null,null,null,w.b,w.c)),u["ɵprd"](5120,null,x.NG_VALUE_ACCESSOR,function(t){return[t]},[b.a]),u["ɵprd"](512,null,C.a,C.a,[v.a]),u["ɵdid"](638976,null,0,b.a,[C.a,v.a,f.a,S.a],null,null)],function(t,e){t(e,3,0)},null)}var u=n("3j3K"),c=n("Mn0/"),h=n("U6gI"),p=n("YDZ5"),d=n("3fcS"),f=n("gEbu"),v=n("lcaH"),m=n("2Je8"),g=n("4yvs"),y=n("5ZV5"),b=n("/KGk"),w=n("2NoN"),x=n("NVOs"),C=n("fAHw"),S=n("hwnt");n.d(e,"c",function(){return O}),e.b=l,n.d(e,"a",function(){return T});var _=["[_nghost-%COMP%] {\n border: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-header[_ngcontent-%COMP%] {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-month[_ngcontent-%COMP%] {\n pointer-events: none;\n }\n ngb-datepicker-month-view[_ngcontent-%COMP%] {\n pointer-events: auto;\n }\n .ngb-dp-month[_ngcontent-%COMP%]:first-child {\n margin-left: 0 !important;\n } \n .ngb-dp-month-name[_ngcontent-%COMP%] {\n font-size: larger;\n height: 2rem;\n line-height: 2rem;\n }"],O=u["ɵcrt"]({encapsulation:0,styles:_,data:{}}),T=u["ɵccf"]("ngb-datepicker",b.a,a,{dayTemplate:"dayTemplate",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",showWeekdays:"showWeekdays",showWeekNumbers:"showWeekNumbers",startDate:"startDate"},{navigate:"navigate"},[])},"2jZb":function(t,e,n){"use strict";function r(t){return this.lift(new s(t,this))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.count=r;var s=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.predicate,this.source))},t}(),l=function(t){function e(e,n,r){t.call(this,e),this.predicate=n,this.source=r,this.count=0,this.index=0}return i(e,t),e.prototype._next=function(t){this.predicate?this._tryPredicate(t):this.count++},e.prototype._tryPredicate=function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e&&this.count++},e.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},e}(o.Subscriber)},"2yGx":function(t,e,n){"use strict";function r(t){return parseInt(""+t,10)}function i(t){return void 0!==t&&null!==t?""+t:""}function o(t,e,n){return void 0===n&&(n=0),Math.max(Math.min(t,e),n)}function s(t){return"string"==typeof t}function l(t){return!isNaN(r(t))}function a(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}function u(t){return void 0!==t&&null!==t}function c(t){return l(t)?("0"+t).slice(-2):""}function h(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}e.b=r,e.d=i,e.e=o,e.f=s,e.a=l,e.i=a,e.h=u,e.c=c,e.g=h},"33Pm":function(t,e,n){"use strict";var r=n("0EZR");e.bindCallback=r.BoundCallbackObservable.create},"3eju":function(t,e,n){"use strict";var r=n("+Y2e");e.webSocket=r.WebSocketSubject.create},"3fcS":function(t,e,n){"use strict";var r=n("3j3K"),i=n("+Qf+"),o=n("gEbu"),s=n("lcaH");n.d(e,"a",function(){return l});var l=function(){function t(t,e){this.i18n=t,this._calendar=e,this.navigation=i.a,this.navigate=new r.EventEmitter,this.select=new r.EventEmitter}return t.prototype.doNavigate=function(t){this.navigate.emit(t)},t.prototype.nextDisabled=function(){return this.disabled||this.maxDate&&this._calendar.getNext(this.date,"m").after(this.maxDate)},t.prototype.prevDisabled=function(){var t=this._calendar.getPrev(this.date,"m");return this.disabled||this.minDate&&t.year<=this.minDate.year&&t.month<this.minDate.month},t.prototype.selectDate=function(t){this.select.emit(t)},t}();l.decorators=[{type:r.Component,args:[{selector:"ngb-datepicker-navigation",host:{class:"d-flex justify-content-between","[class.collapsed]":"!showSelect"},styles:["\n :host {\n height: 2rem;\n line-height: 1.85rem;\n }\n :host.collapsed {\n margin-bottom: -2rem; \n }\n .ngb-dp-navigation-chevron::before {\n border-style: solid;\n border-width: 0.2em 0.2em 0 0;\n content: '';\n display: inline-block;\n height: 0.75em;\n transform: rotate(-135deg);\n -webkit-transform: rotate(-135deg);\n -ms-transform: rotate(-135deg);\n width: 0.75em;\n margin: 0 0 0 0.5rem;\n } \n .ngb-dp-navigation-chevron.right:before {\n -webkit-transform: rotate(45deg);\n -ms-transform: rotate(45deg);\n transform: rotate(45deg);\n margin: 0 0.5rem 0 0;\n }\n .btn-link {\n cursor: pointer;\n outline: 0;\n }\n .btn-link[disabled] {\n cursor: not-allowed;\n opacity: .65;\n } \n "],template:'\n <button type="button" class="btn-link" (click)="!!doNavigate(navigation.PREV)" [disabled]="prevDisabled()">\n <span class="ngb-dp-navigation-chevron"></span> \n </button>\n \n <ngb-datepicker-navigation-select *ngIf="showSelect" class="d-block" [style.width.rem]="months * 9"\n [date]="date"\n [minDate]="minDate"\n [maxDate]="maxDate"\n [disabled] = "disabled"\n (select)="selectDate($event)">\n </ngb-datepicker-navigation-select>\n \n <button type="button" class="btn-link" (click)="!!doNavigate(navigation.NEXT)" [disabled]="nextDisabled()">\n <span class="ngb-dp-navigation-chevron right"></span>\n </button>\n '}]}],l.ctorParameters=function(){return[{type:o.a},{type:s.a}]},l.propDecorators={date:[{type:r.Input}],disabled:[{type:r.Input}],maxDate:[{type:r.Input}],minDate:[{type:r.Input}],months:[{type:r.Input}],showSelect:[{type:r.Input}],showWeekNumbers:[{type:r.Input}],navigate:[{type:r.Output}],select:[{type:r.Output}]}},"3kwk":function(t,e,n){"use strict";var r=n("3j3K"),i=n("CXHW");n.d(e,"a",function(){return o});var o=function(){function t(t,e,n){this._moduleCFR=t,this._injector=e,this._modalStack=n}return t.prototype.open=function(t,e){return void 0===e&&(e={}),this._modalStack.open(this._moduleCFR,this._injector,t,e)},t}();o.decorators=[{type:r.Injectable}],o.ctorParameters=function(){return[{type:r.ComponentFactoryResolver},{type:r.Injector},{type:i.a}]}},"48bo":function(t,e,n){"use strict";var r=n("rCTf"),i=n("Y3yw");r.Observable.prototype.race=i.race},"4Ie8":function(t,e,n){"use strict";var r=n("rCTf"),i=n("52Ty");r.Observable.prototype.publish=i.publish},"4yvs":function(t,e,n){"use strict";function r(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,0,"div",[["class","ngb-dp-weekday"]],null,null,null,null,null))],null,null)}function i(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,1,"div",[["class","ngb-dp-weekday small text-center text-info font-italic"]],null,null,null,null,null)),(t()(),f["ɵted"](null,["\n ","\n "]))],null,function(t,e){t(e,1,0,e.component.i18n.getWeekdayShortName(e.context.$implicit))})}function o(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,7,"div",[["class","ngb-dp-week d-flex"]],null,null,null,null,null)),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,r)),f["ɵdid"](16384,null,0,v.NgIf,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,i)),f["ɵdid"](802816,null,0,v.NgForOf,[f.ViewContainerRef,f.TemplateRef,f.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),f["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,3,0,n.showWeekNumbers),t(e,6,0,n.month.weekdays)},null)}function s(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,1,"div",[["class","ngb-dp-week-number small text-center font-italic text-muted"]],null,null,null,null,null)),(t()(),f["ɵted"](null,["",""]))],null,function(t,e){t(e,1,0,e.parent.parent.context.$implicit.number)})}function l(t){return f["ɵvid"](0,[(t()(),f["ɵted"](null,["\n "]))],null,null)}function a(t){return f["ɵvid"](0,[(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,3,null,l)),f["ɵdid"](540672,null,0,v.NgTemplateOutlet,[f.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"],ngOutletContext:[1,"ngOutletContext"]},null),f["ɵpod"](["year","month","day"]),f["ɵpod"](["date","currentMonth","disabled","selected"]),(t()(),f["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,2,0,n.dayTemplate,t(e,4,0,t(e,3,0,e.parent.context.$implicit.date.year,e.parent.context.$implicit.date.month,e.parent.context.$implicit.date.day),n.month.number,n.isDisabled(e.parent.context.$implicit),n.isSelected(e.parent.context.$implicit.date)))},null)}function u(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,4,"div",[["class","ngb-dp-day"]],[[2,"disabled",null],[2,"hidden",null]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==i.doSelect(t.context.$implicit)&&r}return r},null,null)),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,a)),f["ɵdid"](16384,null,0,v.NgIf,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),f["ɵted"](null,["\n "]))],function(t,e){t(e,3,0,!e.component.isHidden(e.context.$implicit))},function(t,e){var n=e.component;t(e,0,0,n.isDisabled(e.context.$implicit),n.isHidden(e.context.$implicit))})}function c(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,7,"div",[["class","ngb-dp-week d-flex"]],null,null,null,null,null)),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,s)),f["ɵdid"](16384,null,0,v.NgIf,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,u)),f["ɵdid"](802816,null,0,v.NgForOf,[f.ViewContainerRef,f.TemplateRef,f.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),f["ɵted"](null,["\n "]))],function(t,e){t(e,3,0,e.component.showWeekNumbers),t(e,6,0,e.parent.context.$implicit.days)},null)}function h(t){return f["ɵvid"](0,[(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,c)),f["ɵdid"](16384,null,0,v.NgIf,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),f["ɵted"](null,["\n "]))],function(t,e){t(e,2,0,!e.component.isCollapsed(e.context.$implicit))},null)}function p(t){return f["ɵvid"](0,[(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,o)),f["ɵdid"](16384,null,0,v.NgIf,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,h)),f["ɵdid"](802816,null,0,v.NgForOf,[f.ViewContainerRef,f.TemplateRef,f.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),f["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,2,0,n.showWeekdays),t(e,5,0,n.month.weeks)},null)}function d(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,1,"ngb-datepicker-month-view",[["class","d-block"]],null,null,null,g.a,g.b)),f["ɵdid"](49152,null,0,m.a,[y.a],null,null)],null,null)}var f=n("3j3K"),v=n("2Je8"),m=n("5ZV5"),g=n("4yvs"),y=n("gEbu");n.d(e,"b",function(){return w}),e.a=p;var b=[".ngb-dp-weekday[_ngcontent-%COMP%], .ngb-dp-week-number[_ngcontent-%COMP%] {\n line-height: 2rem;\n }\n .ngb-dp-day[_ngcontent-%COMP%], .ngb-dp-weekday[_ngcontent-%COMP%], .ngb-dp-week-number[_ngcontent-%COMP%] {\n width: 2rem;\n height: 2rem; \n }\n .ngb-dp-day[_ngcontent-%COMP%] {\n cursor: pointer;\n }\n .ngb-dp-day.disabled[_ngcontent-%COMP%], .ngb-dp-day.hidden[_ngcontent-%COMP%] {\n cursor: default;\n }"],w=f["ɵcrt"]({encapsulation:0,styles:b,data:{}});f["ɵccf"]("ngb-datepicker-month-view",m.a,d,{dayTemplate:"dayTemplate",disabled:"disabled",month:"month",outsideDays:"outsideDays",selectedDate:"selectedDate",showWeekdays:"showWeekdays",showWeekNumbers:"showWeekNumbers"},{select:"select"},[])},"52Ty":function(t,e,n){"use strict";function r(t){return t?o.multicast.call(this,function(){return new i.Subject},t):o.multicast.call(this,new i.Subject)}var i=n("EEr4"),o=n("emOw");e.publish=r},"5ZV5":function(t,e,n){"use strict";var r=n("3j3K"),i=n("hlt1"),o=n("gEbu");n.d(e,"a",function(){return s});var s=function(){function t(t){this.i18n=t,this.select=new r.EventEmitter}return t.prototype.doSelect=function(t){this.isDisabled(t)||this.isHidden(t)||this.select.emit(i.a.from(t.date))},t.prototype.isDisabled=function(t){return this.disabled||t.disabled},t.prototype.isSelected=function(t){return this.selectedDate&&this.selectedDate.equals(t)},t.prototype.isCollapsed=function(t){return"collapsed"===this.outsideDays&&t.days[0].date.month!==this.month.number&&t.days[t.days.length-1].date.month!==this.month.number},t.prototype.isHidden=function(t){return("hidden"===this.outsideDays||"collapsed"===this.outsideDays)&&this.month.number!==t.date.month},t}();s.decorators=[{type:r.Component,args:[{selector:"ngb-datepicker-month-view",host:{class:"d-block"},styles:["\n .ngb-dp-weekday, .ngb-dp-week-number {\n line-height: 2rem;\n }\n .ngb-dp-day, .ngb-dp-weekday, .ngb-dp-week-number {\n width: 2rem;\n height: 2rem; \n }\n .ngb-dp-day {\n cursor: pointer;\n }\n .ngb-dp-day.disabled, .ngb-dp-day.hidden {\n cursor: default;\n }\n "],template:'\n <div *ngIf="showWeekdays" class="ngb-dp-week d-flex">\n <div *ngIf="showWeekNumbers" class="ngb-dp-weekday"></div>\n <div *ngFor="let w of month.weekdays" class="ngb-dp-weekday small text-center text-info font-italic">\n {{ i18n.getWeekdayShortName(w) }}\n </div>\n </div>\n <ng-template ngFor let-week [ngForOf]="month.weeks">\n <div *ngIf="!isCollapsed(week)" class="ngb-dp-week d-flex">\n <div *ngIf="showWeekNumbers" class="ngb-dp-week-number small text-center font-italic text-muted">{{ week.number }}</div>\n <div *ngFor="let day of week.days" (click)="doSelect(day)" class="ngb-dp-day" [class.disabled]="isDisabled(day)"\n [class.hidden]="isHidden(day)">\n <ng-template [ngIf]="!isHidden(day)">\n <ng-template [ngTemplateOutlet]="dayTemplate"\n [ngOutletContext]="{date: {year: day.date.year, month: day.date.month, day: day.date.day},\n currentMonth: month.number,\n disabled: isDisabled(day),\n selected: isSelected(day.date)}">\n </ng-template>\n </ng-template>\n </div>\n </div>\n </ng-template>\n '}]}],s.ctorParameters=function(){return[{type:o.a}]},s.propDecorators={dayTemplate:[{type:r.Input}],disabled:[{type:r.Input}],month:[{type:r.Input}],outsideDays:[{type:r.Input}],selectedDate:[{type:r.Input}],showWeekdays:[{type:r.Input}],showWeekNumbers:[{type:r.Input}],select:[{type:r.Output}]}},"5c/I":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("EEr4"),o=n("B00U"),s=function(t){function e(){t.apply(this,arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}return r(e,t),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),o.Subscription.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),o.Subscription.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(i.Subject);e.AsyncSubject=s},"5nj5":function(t,e,n){"use strict";var r=n("LhE+");e._if=r.IfObservable.create},"5pRa":function(t,e,n){"use strict";function r(t){return void 0===t&&(t=s.async),this.lift(new a(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("CGGv");e.timestamp=r;var l=function(){function t(t,e){this.value=t,this.timestamp=e}return t}();e.Timestamp=l;var a=function(){function t(t){this.scheduler=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.scheduler))},t}(),u=function(t){function e(e,n){t.call(this,e),this.scheduler=n}return i(e,t),e.prototype._next=function(t){var e=this.scheduler.now();this.destination.next(new l(t,e))},e}(o.Subscriber)},"62nT":function(t,e,n){"use strict";var r=n("3j3K"),i=n("2Je8"),o=n("OEcN"),s=n("tyH+");n.d(e,"a",function(){return l});var l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();l.decorators=[{type:r.NgModule,args:[{declarations:[o.a],exports:[o.a],imports:[i.CommonModule]}]}],l.ctorParameters=function(){return[]}},"69uX":function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp"),l=n("Ou9t");e.distinct=r;var a=function(){function t(t,e){this.keySelector=t,this.flushes=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.keySelector,this.flushes))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.keySelector=n,this.values=new l.Set,r&&this.add(s.subscribeToResult(this,r))}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.values.clear()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},e.prototype._useKeySelector=function(t){var e,n=this.destination;try{e=this.keySelector(t)}catch(t){return void n.error(t)}this._finalizeNext(e,t)},e.prototype._finalizeNext=function(t,e){var n=this.values;n.has(t)||(n.add(t),this.destination.next(e))},e}(o.OuterSubscriber);e.DistinctSubscriber=u},"6Yye":function(t,e,n){"use strict";var r=n("rCTf"),i=n("+4ur");r.Observable.prototype.catch=i._catch,r.Observable.prototype._catch=i._catch},"6gFN":function(t,e,n){"use strict";var r=n("rCTf"),i=n("9oiU");r.Observable.prototype.mapTo=i.mapTo},"6hPP":function(t,e,n){"use strict";var r=n("rCTf"),i=n("t2Bb");r.Observable.prototype.sampleTime=i.sampleTime},"6s76":function(t,e,n){"use strict";var r=n("rCTf"),i=n("cJSH");r.Observable.prototype.groupBy=i.groupBy},"6uCv":function(t,e,n){"use strict";var r=n("3j3K"),i=n("c7mC");n.d(e,"b",function(){return o}),n.d(e,"a",function(){return s});var o=function(){function t(t){this._open=!1,this.openChange=new r.EventEmitter,this.up=t.up,this.autoClose=t.autoClose}return t.prototype.isOpen=function(){return this._open},t.prototype.open=function(){this._open||(this._open=!0,this.openChange.emit(!0))},t.prototype.close=function(){this._open&&(this._open=!1,this.openChange.emit(!1))},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype.closeFromOutsideClick=function(t){this.autoClose&&2!==t.button&&!this._isEventFromToggle(t)&&this.close()},t.prototype.closeFromOutsideEsc=function(){this.autoClose&&this.close()},Object.defineProperty(t.prototype,"toggleElement",{set:function(t){this._toggleElement=t},enumerable:!0,configurable:!0}),t.prototype._isEventFromToggle=function(t){return!!this._toggleElement&&this._toggleElement.contains(t.target)},t}();o.decorators=[{type:r.Directive,args:[{selector:"[ngbDropdown]",exportAs:"ngbDropdown",host:{"[class.dropdown]":"!up","[class.dropup]":"up","[class.show]":"isOpen()","(keyup.esc)":"closeFromOutsideEsc()","(document:click)":"closeFromOutsideClick($event)"}}]}],o.ctorParameters=function(){return[{type:i.a}]},o.propDecorators={up:[{type:r.Input}],autoClose:[{type:r.Input}],_open:[{type:r.Input,args:["open"]}],openChange:[{type:r.Output}]};var s=function(){function t(t,e){this.dropdown=t,t.toggleElement=e.nativeElement}return t.prototype.toggleOpen=function(){this.dropdown.toggle()},t}();s.decorators=[{type:r.Directive,args:[{selector:"[ngbDropdownToggle]",host:{class:"dropdown-toggle","aria-haspopup":"true","[attr.aria-expanded]":"dropdown.isOpen()","(click)":"toggleOpen()"}}]}],s.ctorParameters=function(){return[{type:o},{type:r.ElementRef}]}},7064:function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var o=n("3j3K"),s=n("hz2l"),l=function(){function t(t,e){this.resolver=t,this.dialogService=e}return t.prototype.addComponent=function(t){var e=this.resolver.resolveComponentFactory(t),n=o.ReflectiveInjector.fromResolvedProviders([],this.element.injector),r=e.create(n);return this.element.insert(r.hostView),this.content=r.instance,this.content.wrapper=this,this.content},t.prototype.closeByClickOutside=function(){var t=this,e=this.container.nativeElement;e.querySelector(".modal-content").addEventListener("click",function(t){t.stopPropagation()}),e.addEventListener("click",function(){t.dialogService.removeDialog(t.content)},!1)},t}();r([o.ViewChild("element",{read:o.ViewContainerRef}),i("design:type",o.ViewContainerRef)],l.prototype,"element",void 0),r([o.ViewChild("container"),i("design:type",Object)],l.prototype,"container",void 0),l=r([o.Component({selector:"dialog-wrapper",template:'\n <div #container class="modal fade" style="display:block !important;" role="dialog">\n <template #element></template>\n </div>\n'}),i("design:paramtypes",[o.ComponentFactoryResolver,s.DialogService])],l),e.DialogWrapperComponent=l},"77/N":function(t,e,n){"use strict";var r=n("rCTf"),i=n("l19J");r.Observable.prototype.takeLast=i.takeLast},"7DGp":function(t,e,n){"use strict";var r=n("2yGx");n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s});var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(){function t(){}return t}(),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.parse=function(t){if(t){var e=t.trim().split("-");if(1===e.length&&n.i(r.a)(e[0]))return{year:n.i(r.b)(e[0]),month:null,day:null};if(2===e.length&&n.i(r.a)(e[0])&&n.i(r.a)(e[1]))return{year:n.i(r.b)(e[0]),month:n.i(r.b)(e[1]),day:null};if(3===e.length&&n.i(r.a)(e[0])&&n.i(r.a)(e[1])&&n.i(r.a)(e[2]))return{year:n.i(r.b)(e[0]),month:n.i(r.b)(e[1]),day:n.i(r.b)(e[2])}}return null},e.prototype.format=function(t){return t?t.year+"-"+(n.i(r.a)(t.month)?n.i(r.c)(t.month):"")+"-"+(n.i(r.a)(t.day)?n.i(r.c)(t.day):""):""},e}(o)},"7FaQ":function(t,e,n){"use strict";var r=n("rCTf"),i=n("Llwz");r.Observable.prototype.window=i.window},"7Gky":function(t,e,n){"use strict";function r(t,e){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=t,n.thisArg=e,n}e.not=r},"7axH":function(t,e,n){"use strict";var r=n("rCTf"),i=n("9PGs");r.Observable.prototype.toArray=i.toArray},"8/gC":function(t,e,n){"use strict";var r=n("RYQg");e.zip=r.zipStatic},"8DDp":function(t,e,n){"use strict";function r(t,e,n){void 0===n&&(n=o.async);var r=s.isDate(t),i=r?+t-n.now():Math.abs(t);return this.lift(new u(i,r,e,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("CGGv"),s=n("fuZx"),l=n("wAkD"),a=n("CURp");e.timeoutWith=r;var u=function(){function t(t,e,n,r){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),c=function(t){function e(e,n,r,i,o){t.call(this,e),this.absoluteTimeout=n,this.waitFor=r,this.withObservable=i,this.scheduler=o,this.action=null,this.scheduleTimeout()}return i(e,t),e.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add(a.subscribeToResult(t,e))},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},e}(l.OuterSubscriber)},"8MUz":function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return this.lift.call(i.apply(void 0,[this].concat(t)))}function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null,r=t;return s.isScheduler(r[t.length-1])&&(n=r.pop()),null===n&&1===t.length&&t[0]instanceof o.Observable?t[0]:new l.ArrayObservable(t,n).lift(new a.MergeAllOperator(1))}var o=n("rCTf"),s=n("fWbP"),l=n("Yh8Q"),a=n("cbuX");e.concat=r,e.concatStatic=i},"8T44":function(t,e,n){"use strict";function r(t){return this.lift(new c(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),s=n("+3eL"),l=n("WhVc"),a=n("wAkD"),u=n("CURp");e.repeatWhen=r;var c=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.notifier,e))},t}(),h=function(t){function e(e,n,r){t.call(this,e),this.notifier=n,this.source=r,this.sourceIsBeingSubscribedTo=!0}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries){if(this.retriesSubscription.closed)return t.prototype.complete.call(this)}else this.subscribeToRetries();this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this,e=t.notifications,n=t.retriesSubscription;e&&(e.unsubscribe(),this.notifications=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this,n=e.notifications,r=e.retries,i=e.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,t.prototype._unsubscribeAndRecycle.call(this),this.notifications=n,this.retries=r,this.retriesSubscription=i,this},e.prototype.subscribeToRetries=function(){this.notifications=new o.Subject;var e=s.tryCatch(this.notifier)(this.notifications);if(e===l.errorObject)return t.prototype.complete.call(this);this.retries=e,this.retriesSubscription=u.subscribeToResult(this,e)},e}(a.OuterSubscriber)},"8U58":function(t,e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t){return new RegExp("(^|\\s)"+t+"(?:$|\\s)\\s*")}function e(t){for(var e=t.childNodes.length;e>0;--e)t.removeChild(t.firstChild);return t}function n(t,n){return e(t).appendChild(n)}function r(t,e,n,r){var i=document.createElement(t);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof e)i.appendChild(document.createTextNode(e));else if(e)for(var o=0;o<e.length;++o)i.appendChild(e[o]);return i}function i(t,e,n,i){var o=r(t,e,n,i);return o.setAttribute("role","presentation"),o}function o(t,e){if(3==e.nodeType&&(e=e.parentNode),t.contains)return t.contains(e);do{if(11==e.nodeType&&(e=e.host),e==t)return!0}while(e=e.parentNode)}function s(){var t;try{t=document.activeElement}catch(e){t=document.body||null}for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;return t}function l(e,n){var r=e.className;t(n).test(r)||(e.className+=(r?" ":"")+n)}function a(e,n){for(var r=e.split(" "),i=0;i<r.length;i++)r[i]&&!t(r[i]).test(n)&&(n+=" "+r[i]);return n}function u(t){var e=Array.prototype.slice.call(arguments,1);return function(){return t.apply(null,e)}}function c(t,e,n){e||(e={});for(var r in t)!t.hasOwnProperty(r)||!1===n&&e.hasOwnProperty(r)||(e[r]=t[r]);return e}function h(t,e,n,r,i){null==e&&-1==(e=t.search(/[^\s\u00a0]/))&&(e=t.length);for(var o=r||0,s=i||0;;){var l=t.indexOf("\t",o);if(l<0||l>=e)return s+(e-o);s+=l-o,s+=n-s%n,o=l+1}}function p(t,e){for(var n=0;n<t.length;++n)if(t[n]==e)return n;return-1}function d(t,e,n){for(var r=0,i=0;;){var o=t.indexOf("\t",r);-1==o&&(o=t.length);var s=o-r;if(o==t.length||i+s>=e)return r+Math.min(s,e-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=e)return r}}function f(t){for(;As.length<=t;)As.push(v(As)+" ");return As[t]}function v(t){return t[t.length-1]}function m(t,e){for(var n=[],r=0;r<t.length;r++)n[r]=e(t[r],r);return n}function g(t,e,n){for(var r=0,i=n(e);r<t.length&&n(t[r])<=i;)r++;t.splice(r,0,e)}function y(){}function b(t,e){var n;return Object.create?n=Object.create(t):(y.prototype=t,n=new y),e&&c(e,n),n}function w(t){return/\w/.test(t)||t>"€"&&(t.toUpperCase()!=t.toLowerCase()||Ps.test(t))}function x(t,e){return e?!!(e.source.indexOf("\\w")>-1&&w(t))||e.test(t):w(t)}function C(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e])return!1;return!0}function S(t){return t.charCodeAt(0)>=768&&js.test(t)}function _(t,e,n){for(;(n<0?e>0:e<t.length)&&S(t.charAt(e));)e+=n;return e}function O(t,e,n){for(;;){if(Math.abs(e-n)<=1)return t(e)?e:n;var r=Math.floor((e+n)/2);t(r)?n=r:e=r}}function T(t,e,n){var o=this;this.input=n,o.scrollbarFiller=r("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=r("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=i("div",null,"CodeMirror-code"),o.selectionDiv=r("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=r("div",null,"CodeMirror-cursors"),o.measure=r("div",null,"CodeMirror-measure"),o.lineMeasure=r("div",null,"CodeMirror-measure"),o.lineSpace=i("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var s=i("div",[o.lineSpace],"CodeMirror-lines");o.mover=r("div",[s],null,"position: relative"),o.sizer=r("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=r("div",null,null,"position: absolute; height: "+Rs+"px; width: 1px;"),o.gutters=r("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=r("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=r("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),os&&ss<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),ls||es&&ms||(o.scroller.draggable=!0),t&&(t.appendChild?t.appendChild(o.wrapper):t(o.wrapper)),o.viewFrom=o.viewTo=e.first,o.reportedViewFrom=o.reportedViewTo=e.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,n.init(o)}function k(t,e){if((e-=t.first)<0||e>=t.size)throw new Error("There is no line "+(e+t.first)+" in the document.");for(var n=t;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(e<o){n=i;break}e-=o}return n.lines[e]}function I(t,e,n){var r=[],i=e.line;return t.iter(e.line,n.line+1,function(t){var o=t.text;i==n.line&&(o=o.slice(0,n.ch)),i==e.line&&(o=o.slice(e.ch)),r.push(o),++i}),r}function R(t,e,n){var r=[];return t.iter(e,n,function(t){r.push(t.text)}),r}function D(t,e){var n=e-t.height;if(n)for(var r=t;r;r=r.parent)r.height+=n}function M(t){if(null==t.parent)return null;for(var e=t.parent,n=p(e.lines,t),r=e.parent;r;e=r,r=r.parent)for(var i=0;r.children[i]!=e;++i)n+=r.children[i].chunkSize();return n+e.first}function N(t,e){var n=t.first;t:do{for(var r=0;r<t.children.length;++r){var i=t.children[r],o=i.height;if(e<o){t=i;continue t}e-=o,n+=i.chunkSize()}return n}while(!t.lines);for(var s=0;s<t.lines.length;++s){var l=t.lines[s],a=l.height;if(e<a)break;e-=a}return n+s}function E(t,e){return e>=t.first&&e<t.first+t.size}function A(t,e){return String(t.lineNumberFormatter(e+t.firstLineNumber))}function P(t,e,n){if(void 0===n&&(n=null),!(this instanceof P))return new P(t,e,n);this.line=t,this.ch=e,this.sticky=n}function j(t,e){return t.line-e.line||t.ch-e.ch}function L(t,e){return t.sticky==e.sticky&&0==j(t,e)}function F(t){return P(t.line,t.ch)}function V(t,e){return j(t,e)<0?e:t}function W(t,e){return j(t,e)<0?t:e}function H(t,e){return Math.max(t.first,Math.min(e,t.first+t.size-1))}function z(t,e){if(e.line<t.first)return P(t.first,0);var n=t.first+t.size-1;return e.line>n?P(n,k(t,n).text.length):B(e,k(t,e.line).text.length)}function B(t,e){var n=t.ch;return null==n||n>e?P(t.line,e):n<0?P(t.line,0):t}function U(t,e){for(var n=[],r=0;r<e.length;r++)n[r]=z(t,e[r]);return n}function G(){Ls=!0}function K(){Fs=!0}function q(t,e,n){this.marker=t,this.from=e,this.to=n}function Y(t,e){if(t)for(var n=0;n<t.length;++n){var r=t[n];if(r.marker==e)return r}}function X(t,e){for(var n,r=0;r<t.length;++r)t[r]!=e&&(n||(n=[])).push(t[r]);return n}function J(t,e){t.markedSpans=t.markedSpans?t.markedSpans.concat([e]):[e],e.marker.attachLine(t)}function Z(t,e,n){var r;if(t)for(var i=0;i<t.length;++i){var o=t[i],s=o.marker,l=null==o.from||(s.inclusiveLeft?o.from<=e:o.from<e);if(l||o.from==e&&"bookmark"==s.type&&(!n||!o.marker.insertLeft)){var a=null==o.to||(s.inclusiveRight?o.to>=e:o.to>e);(r||(r=[])).push(new q(s,o.from,a?null:o.to))}}return r}function $(t,e,n){var r;if(t)for(var i=0;i<t.length;++i){var o=t[i],s=o.marker,l=null==o.to||(s.inclusiveRight?o.to>=e:o.to>e);if(l||o.from==e&&"bookmark"==s.type&&(!n||o.marker.insertLeft)){var a=null==o.from||(s.inclusiveLeft?o.from<=e:o.from<e);(r||(r=[])).push(new q(s,a?null:o.from-e,null==o.to?null:o.to-e))}}return r}function Q(t,e){if(e.full)return null;var n=E(t,e.from.line)&&k(t,e.from.line).markedSpans,r=E(t,e.to.line)&&k(t,e.to.line).markedSpans;if(!n&&!r)return null;var i=e.from.ch,o=e.to.ch,s=0==j(e.from,e.to),l=Z(n,i,s),a=$(r,o,s),u=1==e.text.length,c=v(e.text).length+(u?i:0);if(l)for(var h=0;h<l.length;++h){var p=l[h];if(null==p.to){var d=Y(a,p.marker);d?u&&(p.to=null==d.to?null:d.to+c):p.to=i}}if(a)for(var f=0;f<a.length;++f){var m=a[f];if(null!=m.to&&(m.to+=c),null==m.from){var g=Y(l,m.marker);g||(m.from=c,u&&(l||(l=[])).push(m))}else m.from+=c,u&&(l||(l=[])).push(m)}l&&(l=tt(l)),a&&a!=l&&(a=tt(a));var y=[l];if(!u){var b,w=e.text.length-2;if(w>0&&l)for(var x=0;x<l.length;++x)null==l[x].to&&(b||(b=[])).push(new q(l[x].marker,null,null));for(var C=0;C<w;++C)y.push(b);y.push(a)}return y}function tt(t){for(var e=0;e<t.length;++e){var n=t[e];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&t.splice(e--,1)}return t.length?t:null}function et(t,e,n){var r=null;if(t.iter(e.line,n.line+1,function(t){if(t.markedSpans)for(var e=0;e<t.markedSpans.length;++e){var n=t.markedSpans[e].marker;!n.readOnly||r&&-1!=p(r,n)||(r||(r=[])).push(n)}}),!r)return null;for(var i=[{from:e,to:n}],o=0;o<r.length;++o)for(var s=r[o],l=s.find(0),a=0;a<i.length;++a){var u=i[a];if(!(j(u.to,l.from)<0||j(u.from,l.to)>0)){var c=[a,1],h=j(u.from,l.from),d=j(u.to,l.to);(h<0||!s.inclusiveLeft&&!h)&&c.push({from:u.from,to:l.from}),(d>0||!s.inclusiveRight&&!d)&&c.push({from:l.to,to:u.to}),i.splice.apply(i,c),a+=c.length-3}}return i}function nt(t){var e=t.markedSpans;if(e){for(var n=0;n<e.length;++n)e[n].marker.detachLine(t);t.markedSpans=null}}function rt(t,e){if(e){for(var n=0;n<e.length;++n)e[n].marker.attachLine(t);t.markedSpans=e}}function it(t){return t.inclusiveLeft?-1:0}function ot(t){return t.inclusiveRight?1:0}function st(t,e){var n=t.lines.length-e.lines.length;if(0!=n)return n;var r=t.find(),i=e.find(),o=j(r.from,i.from)||it(t)-it(e);if(o)return-o;var s=j(r.to,i.to)||ot(t)-ot(e);return s||e.id-t.id}function lt(t,e){var n,r=Fs&&t.markedSpans;if(r)for(var i=void 0,o=0;o<r.length;++o)i=r[o],i.marker.collapsed&&null==(e?i.from:i.to)&&(!n||st(n,i.marker)<0)&&(n=i.marker);return n}function at(t){return lt(t,!0)}function ut(t){return lt(t,!1)}function ct(t,e,n,r,i){var o=k(t,e),s=Fs&&o.markedSpans;if(s)for(var l=0;l<s.length;++l){var a=s[l];if(a.marker.collapsed){var u=a.marker.find(0),c=j(u.from,n)||it(a.marker)-it(i),h=j(u.to,r)||ot(a.marker)-ot(i);if(!(c>=0&&h<=0||c<=0&&h>=0)&&(c<=0&&(a.marker.inclusiveRight&&i.inclusiveLeft?j(u.to,n)>=0:j(u.to,n)>0)||c>=0&&(a.marker.inclusiveRight&&i.inclusiveLeft?j(u.from,r)<=0:j(u.from,r)<0)))return!0}}}function ht(t){for(var e;e=at(t);)t=e.find(-1,!0).line;return t}function pt(t){for(var e;e=ut(t);)t=e.find(1,!0).line;return t}function dt(t){for(var e,n;e=ut(t);)t=e.find(1,!0).line,(n||(n=[])).push(t);return n}function ft(t,e){var n=k(t,e),r=ht(n);return n==r?e:M(r)}function vt(t,e){if(e>t.lastLine())return e;var n,r=k(t,e);if(!mt(t,r))return e;for(;n=ut(r);)r=n.find(1,!0).line;return M(r)+1}function mt(t,e){var n=Fs&&e.markedSpans;if(n)for(var r=void 0,i=0;i<n.length;++i)if(r=n[i],r.marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&>(t,e,r))return!0}}function gt(t,e,n){if(null==n.to){var r=n.marker.find(1,!0);return gt(t,r.line,Y(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==e.text.length)return!0;for(var i=void 0,o=0;o<e.markedSpans.length;++o)if(i=e.markedSpans[o],i.marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(null==i.to||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&>(t,e,i))return!0}function yt(t){t=ht(t);for(var e=0,n=t.parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==t)break;e+=i.height}for(var o=n.parent;o;n=o,o=n.parent)for(var s=0;s<o.children.length;++s){var l=o.children[s];if(l==n)break;e+=l.height}return e}function bt(t){if(0==t.height)return 0;for(var e,n=t.text.length,r=t;e=at(r);){var i=e.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}for(r=t;e=ut(r);){var o=e.find(0,!0);n-=r.text.length-o.from.ch,r=o.to.line,n+=r.text.length-o.to.ch}return n}function wt(t){var e=t.display,n=t.doc;e.maxLine=k(n,n.first),e.maxLineLength=bt(e.maxLine),e.maxLineChanged=!0,n.iter(function(t){var n=bt(t);n>e.maxLineLength&&(e.maxLineLength=n,e.maxLine=t)})}function xt(t,e,n,r){if(!t)return r(e,n,"ltr");for(var i=!1,o=0;o<t.length;++o){var s=t[o];(s.from<n&&s.to>e||e==n&&s.to==e)&&(r(Math.max(s.from,e),Math.min(s.to,n),1==s.level?"rtl":"ltr"),i=!0)}i||r(e,n,"ltr")}function Ct(t,e,n){var r;Vs=null;for(var i=0;i<t.length;++i){var o=t[i];if(o.from<e&&o.to>e)return i;o.to==e&&(o.from!=o.to&&"before"==n?r=i:Vs=i),o.from==e&&(o.from!=o.to&&"before"!=n?r=i:Vs=i)}return null!=r?r:Vs}function St(t,e){var n=t.order;return null==n&&(n=t.order=Ws(t.text,e)),n}function _t(t,e,n){var r=_(t.text,e+n,n);return r<0||r>t.text.length?null:r}function Ot(t,e,n){var r=_t(t,e.ch,n);return null==r?null:new P(e.line,r,n<0?"after":"before")}function Tt(t,e,n,r,i){if(t){var o=St(n,e.doc.direction);if(o){var s,l=i<0?v(o):o[0],a=i<0==(1==l.level),u=a?"after":"before";if(l.level>0){var c=Je(e,n);s=i<0?n.text.length-1:0;var h=Ze(e,c,s).top;s=O(function(t){return Ze(e,c,t).top==h},i<0==(1==l.level)?l.from:l.to-1,s),"before"==u&&(s=_t(n,s,1))}else s=i<0?l.to:l.from;return new P(r,s,u)}}return new P(r,i<0?n.text.length:0,i<0?"before":"after")}function kt(t,e,n,r){var i=St(e,t.doc.direction);if(!i)return Ot(e,n,r);n.ch>=e.text.length?(n.ch=e.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=Ct(i,n.ch,n.sticky),s=i[o];if("ltr"==t.doc.direction&&s.level%2==0&&(r>0?s.to>n.ch:s.from<n.ch))return Ot(e,n,r);var l,a=function(t,n){return _t(e,t instanceof P?t.ch:t,n)},u=function(n){return t.options.lineWrapping?(l=l||Je(t,e),mn(t,e,l,n)):{begin:0,end:e.text.length}},c=u("before"==n.sticky?a(n,-1):n.ch);if("rtl"==t.doc.direction||1==s.level){var h=1==s.level==r<0,p=a(n,h?1:-1);if(null!=p&&(h?p<=s.to&&p<=c.end:p>=s.from&&p>=c.begin)){var d=h?"before":"after";return new P(n.line,p,d)}}var f=function(t,e,r){for(var o=function(t,e){return e?new P(n.line,a(t,1),"before"):new P(n.line,t,"after")};t>=0&&t<i.length;t+=e){var s=i[t],l=e>0==(1!=s.level),u=l?r.begin:a(r.end,-1);if(s.from<=u&&u<s.to)return o(u,l);if(u=l?s.from:a(s.to,-1),r.begin<=u&&u<r.end)return o(u,l)}},v=f(o+r,r,c);if(v)return v;var m=r>0?c.end:a(c.begin,-1);return null==m||r>0&&m==e.text.length||!(v=f(r>0?0:i.length-1,r,u(m)))?null:v}function It(t,e){return t._handlers&&t._handlers[e]||Hs}function Rt(t,e,n){if(t.removeEventListener)t.removeEventListener(e,n,!1);else if(t.detachEvent)t.detachEvent("on"+e,n);else{var r=t._handlers,i=r&&r[e];if(i){var o=p(i,n);o>-1&&(r[e]=i.slice(0,o).concat(i.slice(o+1)))}}}function Dt(t,e){var n=It(t,e);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function Mt(t,e,n){return"string"==typeof e&&(e={type:e,preventDefault:function(){this.defaultPrevented=!0}}),Dt(t,n||e.type,t,e),Lt(e)||e.codemirrorIgnore}function Nt(t){var e=t._handlers&&t._handlers.cursorActivity;if(e)for(var n=t.curOp.cursorActivityHandlers||(t.curOp.cursorActivityHandlers=[]),r=0;r<e.length;++r)-1==p(n,e[r])&&n.push(e[r])}function Et(t,e){return It(t,e).length>0}function At(t){t.prototype.on=function(t,e){zs(this,t,e)},t.prototype.off=function(t,e){Rt(this,t,e)}}function Pt(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function jt(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}function Lt(t){return null!=t.defaultPrevented?t.defaultPrevented:0==t.returnValue}function Ft(t){Pt(t),jt(t)}function Vt(t){return t.target||t.srcElement}function Wt(t){var e=t.which;return null==e&&(1&t.button?e=1:2&t.button?e=3:4&t.button&&(e=2)),gs&&t.ctrlKey&&1==e&&(e=3),e}function Ht(t){if(null==ks){var e=r("span","​");n(t,r("span",[e,document.createTextNode("x")])),0!=t.firstChild.offsetHeight&&(ks=e.offsetWidth<=1&&e.offsetHeight>2&&!(os&&ss<8))}var i=ks?r("span","​"):r("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}function zt(t){if(null!=Is)return Is;var r=n(t,document.createTextNode("AØ®A")),i=xs(r,0,1).getBoundingClientRect(),o=xs(r,1,2).getBoundingClientRect();return e(t),!(!i||i.left==i.right)&&(Is=o.right-i.right<3)}function Bt(t){if(null!=qs)return qs;var e=n(t,r("span","x")),i=e.getBoundingClientRect(),o=xs(e,0,1).getBoundingClientRect();return qs=Math.abs(i.left-o.left)>1}function Ut(t,e){arguments.length>2&&(e.dependencies=Array.prototype.slice.call(arguments,2)),Ys[t]=e}function Gt(t,e){Xs[t]=e}function Kt(t){if("string"==typeof t&&Xs.hasOwnProperty(t))t=Xs[t];else if(t&&"string"==typeof t.name&&Xs.hasOwnProperty(t.name)){var e=Xs[t.name];"string"==typeof e&&(e={name:e}),t=b(e,t),t.name=e.name}else{if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+xml$/.test(t))return Kt("application/xml");if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+json$/.test(t))return Kt("application/json")}return"string"==typeof t?{name:t}:t||{name:"null"}}function qt(t,e){e=Kt(e);var n=Ys[e.name];if(!n)return qt(t,"text/plain");var r=n(t,e);if(Js.hasOwnProperty(e.name)){var i=Js[e.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=e.name,e.helperType&&(r.helperType=e.helperType),e.modeProps)for(var s in e.modeProps)r[s]=e.modeProps[s];return r}function Yt(t,e){c(e,Js.hasOwnProperty(t)?Js[t]:Js[t]={})}function Xt(t,e){if(!0===e)return e;if(t.copyState)return t.copyState(e);var n={};for(var r in e){var i=e[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function Jt(t,e){for(var n;t.innerMode&&(n=t.innerMode(e))&&n.mode!=t;)e=n.state,t=n.mode;return n||{mode:t,state:e}}function Zt(t,e,n){return!t.startState||t.startState(e,n)}function $t(t,e,n,r){var i=[t.state.modeGen],o={};se(t,e.text,t.doc.mode,n,function(t,e){return i.push(t,e)},o,r);for(var s=function(n){var r=t.state.overlays[n],s=1,l=0;se(t,e.text,r.mode,!0,function(t,e){for(var n=s;l<t;){var o=i[s];o>t&&i.splice(s,1,t,i[s+1],o),s+=2,l=Math.min(t,o)}if(e)if(r.opaque)i.splice(n,s-n,t,"overlay "+e),s=n+2;else for(;n<s;n+=2){var a=i[n+1];i[n+1]=(a?a+" ":"")+"overlay "+e}},o)},l=0;l<t.state.overlays.length;++l)s(l);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function Qt(t,e,n){if(!e.styles||e.styles[0]!=t.state.modeGen){var r=te(t,M(e)),i=$t(t,e,e.text.length>t.options.maxHighlightLength?Xt(t.doc.mode,r):r);e.stateAfter=r,e.styles=i.styles,i.classes?e.styleClasses=i.classes:e.styleClasses&&(e.styleClasses=null),n===t.doc.frontier&&t.doc.frontier++}return e.styles}function te(t,e,n){var r=t.doc,i=t.display;if(!r.mode.startState)return!0;var o=le(t,e,n),s=o>r.first&&k(r,o-1).stateAfter;return s=s?Xt(r.mode,s):Zt(r.mode),r.iter(o,e,function(n){ee(t,n.text,s);var l=o==e-1||o%5==0||o>=i.viewFrom&&o<i.viewTo;n.stateAfter=l?Xt(r.mode,s):null,++o}),n&&(r.frontier=o),s}function ee(t,e,n,r){var i=t.doc.mode,o=new Zs(e,t.options.tabSize);for(o.start=o.pos=r||0,""==e&&ne(i,n);!o.eol();)re(i,o,n),o.start=o.pos}function ne(t,e){if(t.blankLine)return t.blankLine(e);if(t.innerMode){var n=Jt(t,e);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function re(t,e,n,r){for(var i=0;i<10;i++){r&&(r[0]=Jt(t,n).mode);var o=t.token(e,n);if(e.pos>e.start)return o}throw new Error("Mode "+t.name+" failed to advance stream.")}function ie(t,e,n,r){var i,o=function(t){return{start:h.start,end:h.pos,string:h.current(),type:i||null,state:t?Xt(s.mode,c):c}},s=t.doc,l=s.mode;e=z(s,e);var a,u=k(s,e.line),c=te(t,e.line,n),h=new Zs(u.text,t.options.tabSize);for(r&&(a=[]);(r||h.pos<e.ch)&&!h.eol();)h.start=h.pos,i=re(l,h,c),r&&a.push(o(!0));return r?a:o()}function oe(t,e){if(t)for(;;){var n=t.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;t=t.slice(0,n.index)+t.slice(n.index+n[0].length);var r=n[1]?"bgClass":"textClass";null==e[r]?e[r]=n[2]:new RegExp("(?:^|s)"+n[2]+"(?:$|s)").test(e[r])||(e[r]+=" "+n[2])}return t}function se(t,e,n,r,i,o,s){var l=n.flattenSpans;null==l&&(l=t.options.flattenSpans);var a,u=0,c=null,h=new Zs(e,t.options.tabSize),p=t.options.addModeClass&&[null];for(""==e&&oe(ne(n,r),o);!h.eol();){if(h.pos>t.options.maxHighlightLength?(l=!1,s&&ee(t,e,r,h.pos),h.pos=e.length,a=null):a=oe(re(n,h,r,p),o),p){var d=p[0].name;d&&(a="m-"+(a?d+" "+a:d))}if(!l||c!=a){for(;u<h.start;)u=Math.min(h.start,u+5e3),i(u,c);c=a}h.start=h.pos}for(;u<h.pos;){var f=Math.min(h.pos,u+5e3);i(f,c),u=f}}function le(t,e,n){for(var r,i,o=t.doc,s=n?-1:e-(t.doc.mode.innerMode?1e3:100),l=e;l>s;--l){if(l<=o.first)return o.first;var a=k(o,l-1);if(a.stateAfter&&(!n||l<=o.frontier))return l;var u=h(a.text,null,t.options.tabSize);(null==i||r>u)&&(i=l-1,r=u)}return i}function ae(t,e,n,r){t.text=e,t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null),null!=t.order&&(t.order=null),nt(t),rt(t,n);var i=r?r(t):1;i!=t.height&&D(t,i)}function ue(t){t.parent=null,nt(t)}function ce(t,e){if(!t||/^\s*$/.test(t))return null;var n=e.addModeClass?el:tl;return n[t]||(n[t]=t.replace(/\S+/g,"cm-$&"))}function he(t,e){var n=i("span",null,null,ls?"padding-right: .1px":null),r={pre:i("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:t,trailingSpace:!1,splitSpaces:(os||ls)&&t.getOption("lineWrapping")};e.measure={};for(var o=0;o<=(e.rest?e.rest.length:0);o++){var s=o?e.rest[o-1]:e.line,l=void 0;r.pos=0,r.addToken=de,zt(t.display.measure)&&(l=St(s,t.doc.direction))&&(r.addToken=ve(r.addToken,l)),r.map=[];ge(s,r,Qt(t,s,e!=t.display.externalMeasured&&M(s))),s.styleClasses&&(s.styleClasses.bgClass&&(r.bgClass=a(s.styleClasses.bgClass,r.bgClass||"")),s.styleClasses.textClass&&(r.textClass=a(s.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Ht(t.display.measure))),0==o?(e.measure.map=r.map,e.measure.cache={}):((e.measure.maps||(e.measure.maps=[])).push(r.map),(e.measure.caches||(e.measure.caches=[])).push({}))}if(ls){var u=r.content.lastChild;(/\bcm-tab\b/.test(u.className)||u.querySelector&&u.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return Dt(t,"renderLine",t,e.line,r.pre),r.pre.className&&(r.textClass=a(r.pre.className,r.textClass||"")),r}function pe(t){var e=r("span","•","cm-invalidchar");return e.title="\\u"+t.charCodeAt(0).toString(16),e.setAttribute("aria-label",e.title),e}function de(t,e,n,i,o,s,l){if(e){var a,u=t.splitSpaces?fe(e,t.trailingSpace):e,c=t.cm.state.specialChars,h=!1;if(c.test(e)){a=document.createDocumentFragment();for(var p=0;;){c.lastIndex=p;var d=c.exec(e),v=d?d.index-p:e.length-p;if(v){var m=document.createTextNode(u.slice(p,p+v));os&&ss<9?a.appendChild(r("span",[m])):a.appendChild(m),t.map.push(t.pos,t.pos+v,m),t.col+=v,t.pos+=v}if(!d)break;p+=v+1;var g=void 0;if("\t"==d[0]){var y=t.cm.options.tabSize,b=y-t.col%y;g=a.appendChild(r("span",f(b),"cm-tab")),g.setAttribute("role","presentation"),g.setAttribute("cm-text","\t"),t.col+=b}else"\r"==d[0]||"\n"==d[0]?(g=a.appendChild(r("span","\r"==d[0]?"â":"â¤","cm-invalidchar")),g.setAttribute("cm-text",d[0]),t.col+=1):(g=t.cm.options.specialCharPlaceholder(d[0]),g.setAttribute("cm-text",d[0]),os&&ss<9?a.appendChild(r("span",[g])):a.appendChild(g),t.col+=1);t.map.push(t.pos,t.pos+1,g),t.pos++}}else t.col+=e.length,a=document.createTextNode(u),t.map.push(t.pos,t.pos+e.length,a),os&&ss<9&&(h=!0),t.pos+=e.length;if(t.trailingSpace=32==u.charCodeAt(e.length-1),n||i||o||h||l){var w=n||"";i&&(w+=i),o&&(w+=o);var x=r("span",[a],w,l);return s&&(x.title=s),t.content.appendChild(x)}t.content.appendChild(a)}}function fe(t,e){if(t.length>1&&!/ /.test(t))return t;for(var n=e,r="",i=0;i<t.length;i++){var o=t.charAt(i);" "!=o||!n||i!=t.length-1&&32!=t.charCodeAt(i+1)||(o=" "),r+=o,n=" "==o}return r}function ve(t,e){return function(n,r,i,o,s,l,a){i=i?i+" cm-force-border":"cm-force-border";for(var u=n.pos,c=u+r.length;;){for(var h=void 0,p=0;p<e.length&&(h=e[p],!(h.to>u&&h.from<=u));p++);if(h.to>=c)return t(n,r,i,o,s,l,a);t(n,r.slice(0,h.to-u),i,o,null,l,a),o=null,r=r.slice(h.to-u),u=h.to}}}function me(t,e,n,r){var i=!r&&n.widgetNode;i&&t.map.push(t.pos,t.pos+e,i),!r&&t.cm.display.input.needsContentAttribute&&(i||(i=t.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(t.cm.display.input.setUneditable(i),t.content.appendChild(i)),t.pos+=e,t.trailingSpace=!1}function ge(t,e,n){var r=t.markedSpans,i=t.text,o=0;if(r)for(var s,l,a,u,c,h,p,d=i.length,f=0,v=1,m="",g=0;;){if(g==f){a=u=c=h=l="",p=null,g=1/0;for(var y=[],b=void 0,w=0;w<r.length;++w){var x=r[w],C=x.marker;"bookmark"==C.type&&x.from==f&&C.widgetNode?y.push(C):x.from<=f&&(null==x.to||x.to>f||C.collapsed&&x.to==f&&x.from==f)?(null!=x.to&&x.to!=f&&g>x.to&&(g=x.to,u=""),C.className&&(a+=" "+C.className),C.css&&(l=(l?l+";":"")+C.css),C.startStyle&&x.from==f&&(c+=" "+C.startStyle),C.endStyle&&x.to==g&&(b||(b=[])).push(C.endStyle,x.to),C.title&&!h&&(h=C.title),C.collapsed&&(!p||st(p.marker,C)<0)&&(p=x)):x.from>f&&g>x.from&&(g=x.from)}if(b)for(var S=0;S<b.length;S+=2)b[S+1]==g&&(u+=" "+b[S]);if(!p||p.from==f)for(var _=0;_<y.length;++_)me(e,0,y[_]);if(p&&(p.from||0)==f){if(me(e,(null==p.to?d+1:p.to)-f,p.marker,null==p.from),null==p.to)return;p.to==f&&(p=!1)}}if(f>=d)break;for(var O=Math.min(d,g);;){if(m){var T=f+m.length;if(!p){var k=T>O?m.slice(0,O-f):m;e.addToken(e,k,s?s+a:a,c,f+k.length==g?u:"",h,l)}if(T>=O){m=m.slice(O-f),f=O;break}f=T,c=""}m=i.slice(o,o=n[v++]),s=ce(n[v++],e.cm.options)}}else for(var I=1;I<n.length;I+=2)e.addToken(e,i.slice(o,o=n[I]),ce(n[I+1],e.cm.options))}function ye(t,e,n){this.line=e,this.rest=dt(e),this.size=this.rest?M(v(this.rest))-n+1:1,this.node=this.text=null,this.hidden=mt(t,e)}function be(t,e,n){for(var r,i=[],o=e;o<n;o=r){var s=new ye(t.doc,k(t.doc,o),o);r=o+s.size,i.push(s)}return i}function we(t){nl?nl.ops.push(t):t.ownsGroup=nl={ops:[t],delayedCallbacks:[]}}function xe(t){var e=t.delayedCallbacks,n=0;do{for(;n<e.length;n++)e[n].call(null);for(var r=0;r<t.ops.length;r++){var i=t.ops[r];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<e.length)}function Ce(t,e){var n=t.ownsGroup;if(n)try{xe(n)}finally{nl=null,e(n)}}function Se(t,e){var n=It(t,e);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);nl?r=nl.delayedCallbacks:rl?r=rl:(r=rl=[],setTimeout(_e,0));for(var o=function(t){r.push(function(){return n[t].apply(null,i)})},s=0;s<n.length;++s)o(s)}}function _e(){var t=rl;rl=null;for(var e=0;e<t.length;++e)t[e]()}function Oe(t,e,n,r){for(var i=0;i<e.changes.length;i++){var o=e.changes[i];"text"==o?Re(t,e):"gutter"==o?Me(t,e,n,r):"class"==o?De(t,e):"widget"==o&&Ne(t,e,r)}e.changes=null}function Te(t){return t.node==t.text&&(t.node=r("div",null,null,"position: relative"),t.text.parentNode&&t.text.parentNode.replaceChild(t.node,t.text),t.node.appendChild(t.text),os&&ss<8&&(t.node.style.zIndex=2)),t.node}function ke(t,e){var n=e.bgClass?e.bgClass+" "+(e.line.bgClass||""):e.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),e.background)n?e.background.className=n:(e.background.parentNode.removeChild(e.background),e.background=null);else if(n){var i=Te(e);e.background=i.insertBefore(r("div",null,n),i.firstChild),t.display.input.setUneditable(e.background)}}function Ie(t,e){var n=t.display.externalMeasured;return n&&n.line==e.line?(t.display.externalMeasured=null,e.measure=n.measure,n.built):he(t,e)}function Re(t,e){var n=e.text.className,r=Ie(t,e);e.text==e.node&&(e.node=r.pre),e.text.parentNode.replaceChild(r.pre,e.text),e.text=r.pre,r.bgClass!=e.bgClass||r.textClass!=e.textClass?(e.bgClass=r.bgClass,e.textClass=r.textClass,De(t,e)):n&&(e.text.className=n)}function De(t,e){ke(t,e),e.line.wrapClass?Te(e).className=e.line.wrapClass:e.node!=e.text&&(e.node.className="");var n=e.textClass?e.textClass+" "+(e.line.textClass||""):e.line.textClass;e.text.className=n||""}function Me(t,e,n,i){if(e.gutter&&(e.node.removeChild(e.gutter),e.gutter=null),e.gutterBackground&&(e.node.removeChild(e.gutterBackground),e.gutterBackground=null),e.line.gutterClass){var o=Te(e);e.gutterBackground=r("div",null,"CodeMirror-gutter-background "+e.line.gutterClass,"left: "+(t.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px; width: "+i.gutterTotalWidth+"px"),t.display.input.setUneditable(e.gutterBackground),o.insertBefore(e.gutterBackground,e.text)}var s=e.line.gutterMarkers;if(t.options.lineNumbers||s){var l=Te(e),a=e.gutter=r("div",null,"CodeMirror-gutter-wrapper","left: "+(t.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px");if(t.display.input.setUneditable(a),l.insertBefore(a,e.text),e.line.gutterClass&&(a.className+=" "+e.line.gutterClass),!t.options.lineNumbers||s&&s["CodeMirror-linenumbers"]||(e.lineNumber=a.appendChild(r("div",A(t.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+i.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+t.display.lineNumInnerWidth+"px"))),s)for(var u=0;u<t.options.gutters.length;++u){var c=t.options.gutters[u],h=s.hasOwnProperty(c)&&s[c];h&&a.appendChild(r("div",[h],"CodeMirror-gutter-elt","left: "+i.gutterLeft[c]+"px; width: "+i.gutterWidth[c]+"px"))}}}function Ne(t,e,n){e.alignable&&(e.alignable=null);for(var r=e.node.firstChild,i=void 0;r;r=i)i=r.nextSibling,"CodeMirror-linewidget"==r.className&&e.node.removeChild(r);Ae(t,e,n)}function Ee(t,e,n,r){var i=Ie(t,e);return e.text=e.node=i.pre,i.bgClass&&(e.bgClass=i.bgClass),i.textClass&&(e.textClass=i.textClass),De(t,e),Me(t,e,n,r),Ae(t,e,r),e.node}function Ae(t,e,n){if(Pe(t,e.line,e,n,!0),e.rest)for(var r=0;r<e.rest.length;r++)Pe(t,e.rest[r],e,n,!1)}function Pe(t,e,n,i,o){if(e.widgets)for(var s=Te(n),l=0,a=e.widgets;l<a.length;++l){var u=a[l],c=r("div",[u.node],"CodeMirror-linewidget");u.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),je(u,c,n,i),t.display.input.setUneditable(c),o&&u.above?s.insertBefore(c,n.gutter||n.text):s.appendChild(c),Se(u,"redraw")}}function je(t,e,n,r){if(t.noHScroll){(n.alignable||(n.alignable=[])).push(e);var i=r.wrapperWidth;e.style.left=r.fixedPos+"px",t.coverGutter||(i-=r.gutterTotalWidth,e.style.paddingLeft=r.gutterTotalWidth+"px"),e.style.width=i+"px"}t.coverGutter&&(e.style.zIndex=5,e.style.position="relative",t.noHScroll||(e.style.marginLeft=-r.gutterTotalWidth+"px"))}function Le(t){if(null!=t.height)return t.height;var e=t.doc.cm;if(!e)return 0;if(!o(document.body,t.node)){var i="position: relative;";t.coverGutter&&(i+="margin-left: -"+e.display.gutters.offsetWidth+"px;"),t.noHScroll&&(i+="width: "+e.display.wrapper.clientWidth+"px;"),n(e.display.measure,r("div",[t.node],null,i))}return t.height=t.node.parentNode.offsetHeight}function Fe(t,e){for(var n=Vt(e);n!=t.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==t.sizer&&n!=t.mover)return!0}function Ve(t){return t.lineSpace.offsetTop}function We(t){return t.mover.offsetHeight-t.lineSpace.offsetHeight}function He(t){if(t.cachedPaddingH)return t.cachedPaddingH;var e=n(t.measure,r("pre","x")),i=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,o={left:parseInt(i.paddingLeft),right:parseInt(i.paddingRight)};return isNaN(o.left)||isNaN(o.right)||(t.cachedPaddingH=o),o}function ze(t){return Rs-t.display.nativeBarWidth}function Be(t){return t.display.scroller.clientWidth-ze(t)-t.display.barWidth}function Ue(t){return t.display.scroller.clientHeight-ze(t)-t.display.barHeight}function Ge(t,e,n){var r=t.options.lineWrapping,i=r&&Be(t);if(!e.measure.heights||r&&e.measure.width!=i){var o=e.measure.heights=[];if(r){e.measure.width=i;for(var s=e.text.firstChild.getClientRects(),l=0;l<s.length-1;l++){var a=s[l],u=s[l+1];Math.abs(a.bottom-u.bottom)>2&&o.push((a.bottom+u.top)/2-n.top)}}o.push(n.bottom-n.top)}}function Ke(t,e,n){if(t.line==e)return{map:t.measure.map,cache:t.measure.cache};for(var r=0;r<t.rest.length;r++)if(t.rest[r]==e)return{map:t.measure.maps[r],cache:t.measure.caches[r]};for(var i=0;i<t.rest.length;i++)if(M(t.rest[i])>n)return{map:t.measure.maps[i],cache:t.measure.caches[i],before:!0}}function qe(t,e){e=ht(e);var r=M(e),i=t.display.externalMeasured=new ye(t.doc,e,r);i.lineN=r;var o=i.built=he(t,i);return i.text=o.pre,n(t.display.lineMeasure,o.pre),i}function Ye(t,e,n,r){return Ze(t,Je(t,e),n,r)}function Xe(t,e){if(e>=t.display.viewFrom&&e<t.display.viewTo)return t.display.view[On(t,e)];var n=t.display.externalMeasured;return n&&e>=n.lineN&&e<n.lineN+n.size?n:void 0}function Je(t,e){var n=M(e),r=Xe(t,n);r&&!r.text?r=null:r&&r.changes&&(Oe(t,r,n,wn(t)),t.curOp.forceUpdate=!0),r||(r=qe(t,e));var i=Ke(r,e,n);return{line:e,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function Ze(t,e,n,r,i){e.before&&(n=-1);var o,s=n+(r||"");return e.cache.hasOwnProperty(s)?o=e.cache[s]:(e.rect||(e.rect=e.view.text.getBoundingClientRect()),e.hasHeights||(Ge(t,e.view,e.rect),e.hasHeights=!0),o=tn(t,e,n,r),o.bogus||(e.cache[s]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}function $e(t,e,n){for(var r,i,o,s,l,a,u=0;u<t.length;u+=3)if(l=t[u],a=t[u+1],e<l?(i=0,o=1,s="left"):e<a?(i=e-l,o=i+1):(u==t.length-3||e==a&&t[u+3]>e)&&(o=a-l,i=o-1,e>=a&&(s="right")),null!=i){if(r=t[u+2],l==a&&n==(r.insertLeft?"left":"right")&&(s=n),"left"==n&&0==i)for(;u&&t[u-2]==t[u-3]&&t[u-1].insertLeft;)r=t[2+(u-=3)],s="left";if("right"==n&&i==a-l)for(;u<t.length-3&&t[u+3]==t[u+4]&&!t[u+5].insertLeft;)r=t[(u+=3)+2],s="right";break}return{node:r,start:i,end:o,collapse:s,coverStart:l,coverEnd:a}}function Qe(t,e){var n=il;if("left"==e)for(var r=0;r<t.length&&(n=t[r]).left==n.right;r++);else for(var i=t.length-1;i>=0&&(n=t[i]).left==n.right;i--);return n}function tn(t,e,n,r){var i,o=$e(e.map,n,r),s=o.node,l=o.start,a=o.end,u=o.collapse;if(3==s.nodeType){for(var c=0;c<4;c++){for(;l&&S(e.line.text.charAt(o.coverStart+l));)--l;for(;o.coverStart+a<o.coverEnd&&S(e.line.text.charAt(o.coverStart+a));)++a;if(i=os&&ss<9&&0==l&&a==o.coverEnd-o.coverStart?s.parentNode.getBoundingClientRect():Qe(xs(s,l,a).getClientRects(),r),i.left||i.right||0==l)break;a=l,l-=1,u="right"}os&&ss<11&&(i=en(t.display.measure,i))}else{l>0&&(u=r="right");var h;i=t.options.lineWrapping&&(h=s.getClientRects()).length>1?h["right"==r?h.length-1:0]:s.getBoundingClientRect()}if(os&&ss<9&&!l&&(!i||!i.left&&!i.right)){var p=s.parentNode.getClientRects()[0];i=p?{left:p.left,right:p.left+bn(t.display),top:p.top,bottom:p.bottom}:il}for(var d=i.top-e.rect.top,f=i.bottom-e.rect.top,v=(d+f)/2,m=e.view.measure.heights,g=0;g<m.length-1&&!(v<m[g]);g++);var y=g?m[g-1]:0,b=m[g],w={left:("right"==u?i.right:i.left)-e.rect.left,right:("left"==u?i.left:i.right)-e.rect.left,top:y,bottom:b};return i.left||i.right||(w.bogus=!0),t.options.singleCursorHeightPerLine||(w.rtop=d,w.rbottom=f),w}function en(t,e){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!Bt(t))return e;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:e.left*n,right:e.right*n,top:e.top*r,bottom:e.bottom*r}}function nn(t){if(t.measure&&(t.measure.cache={},t.measure.heights=null,t.rest))for(var e=0;e<t.rest.length;e++)t.measure.caches[e]={}}function rn(t){t.display.externalMeasure=null,e(t.display.lineMeasure);for(var n=0;n<t.display.view.length;n++)nn(t.display.view[n])}function on(t){rn(t),t.display.cachedCharWidth=t.display.cachedTextHeight=t.display.cachedPaddingH=null,t.options.lineWrapping||(t.display.maxLineChanged=!0),t.display.lineNumChars=null}function sn(){return us&&vs?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function ln(){return us&&vs?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function an(t,e,n,r,i){if(!i&&e.widgets)for(var o=0;o<e.widgets.length;++o)if(e.widgets[o].above){var s=Le(e.widgets[o]);n.top+=s,n.bottom+=s}if("line"==r)return n;r||(r="local");var l=yt(e);if("local"==r?l+=Ve(t.display):l-=t.display.viewOffset,"page"==r||"window"==r){var a=t.display.lineSpace.getBoundingClientRect();l+=a.top+("window"==r?0:ln());var u=a.left+("window"==r?0:sn());n.left+=u,n.right+=u}return n.top+=l,n.bottom+=l,n}function un(t,e,n){if("div"==n)return e;var r=e.left,i=e.top;if("page"==n)r-=sn(),i-=ln();else if("local"==n||!n){var o=t.display.sizer.getBoundingClientRect();r+=o.left,i+=o.top}var s=t.display.lineSpace.getBoundingClientRect();return{left:r-s.left,top:i-s.top}}function cn(t,e,n,r,i){return r||(r=k(t.doc,e.line)),an(t,r,Ye(t,r,e.ch,i),n)}function hn(t,e,n,r,i,o){function s(e,s){var l=Ze(t,i,e,s?"right":"left",o);return s?l.left=l.right:l.right=l.left,an(t,r,l,n)}function l(t,e,n){var r=a[e],i=r.level%2!=0;return s(n?t-1:t,i!=n)}r=r||k(t.doc,e.line),i||(i=Je(t,r));var a=St(r,t.doc.direction),u=e.ch,c=e.sticky;if(u>=r.text.length?(u=r.text.length,c="before"):u<=0&&(u=0,c="after"),!a)return s("before"==c?u-1:u,"before"==c);var h=Ct(a,u,c),p=Vs,d=l(u,h,"before"==c);return null!=p&&(d.other=l(u,p,"before"!=c)),d}function pn(t,e){var n=0;e=z(t.doc,e),t.options.lineWrapping||(n=bn(t.display)*e.ch);var r=k(t.doc,e.line),i=yt(r)+Ve(t.display);return{left:n,right:n,top:i,bottom:i+r.height}}function dn(t,e,n,r,i){var o=P(t,e,n);return o.xRel=i,r&&(o.outside=!0),o}function fn(t,e,n){var r=t.doc;if((n+=t.display.viewOffset)<0)return dn(r.first,0,null,!0,-1);var i=N(r,n),o=r.first+r.size-1;if(i>o)return dn(r.first+r.size-1,k(r,o).text.length,null,!0,1);e<0&&(e=0);for(var s=k(r,i);;){var l=gn(t,s,i,e,n),a=ut(s),u=a&&a.find(0,!0);if(!a||!(l.ch>u.from.ch||l.ch==u.from.ch&&l.xRel>0))return l;i=M(s=u.to.line)}}function vn(t,e,n,r){var i=function(r){return an(t,e,Ze(t,n,r),"line")},o=e.text.length,s=O(function(t){return i(t-1).bottom<=r},o,0);return o=O(function(t){return i(t).top>r},s,o),{begin:s,end:o}}function mn(t,e,n,r){return vn(t,e,n,an(t,e,Ze(t,n,r),"line").top)}function gn(t,e,n,r,i){i-=yt(e);var o,s=0,l=e.text.length,a=Je(t,e);if(St(e,t.doc.direction)){if(t.options.lineWrapping){var u;u=vn(t,e,a,i),s=u.begin,l=u.end}o=new P(n,s);var c,h,p=hn(t,o,"line",e,a).left,d=p<r?1:-1,f=p-r;do{if(c=f,h=o,null==(o=kt(t,e,o,d))||o.ch<s||l<=("before"==o.sticky?o.ch-1:o.ch)){o=h;break}f=hn(t,o,"line",e,a).left-r}while(d<0!=f<0&&Math.abs(f)<=Math.abs(c));if(Math.abs(f)>Math.abs(c)){if(f<0==c<0)throw new Error("Broke out of infinite loop in coordsCharInner");o=h}}else{var v=O(function(n){var o=an(t,e,Ze(t,a,n),"line");return o.top>i?(l=Math.min(n,l),!0):!(o.bottom<=i)&&(o.left>r||!(o.right<r)&&r-o.left<o.right-r)},s,l);v=_(e.text,v,1),o=new P(n,v,v==l?"before":"after")}var m=hn(t,o,"line",e,a);return(i<m.top||m.bottom<i)&&(o.outside=!0),o.xRel=r<m.left?-1:r>m.right?1:0,o}function yn(t){if(null!=t.cachedTextHeight)return t.cachedTextHeight;if(null==Qs){Qs=r("pre");for(var i=0;i<49;++i)Qs.appendChild(document.createTextNode("x")),Qs.appendChild(r("br"));Qs.appendChild(document.createTextNode("x"))}n(t.measure,Qs);var o=Qs.offsetHeight/50;return o>3&&(t.cachedTextHeight=o),e(t.measure),o||1}function bn(t){if(null!=t.cachedCharWidth)return t.cachedCharWidth;var e=r("span","xxxxxxxxxx"),i=r("pre",[e]);n(t.measure,i);var o=e.getBoundingClientRect(),s=(o.right-o.left)/10;return s>2&&(t.cachedCharWidth=s),s||10}function wn(t){for(var e=t.display,n={},r={},i=e.gutters.clientLeft,o=e.gutters.firstChild,s=0;o;o=o.nextSibling,++s)n[t.options.gutters[s]]=o.offsetLeft+o.clientLeft+i,r[t.options.gutters[s]]=o.clientWidth;return{fixedPos:xn(e),gutterTotalWidth:e.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:e.wrapper.clientWidth}}function xn(t){return t.scroller.getBoundingClientRect().left-t.sizer.getBoundingClientRect().left}function Cn(t){var e=yn(t.display),n=t.options.lineWrapping,r=n&&Math.max(5,t.display.scroller.clientWidth/bn(t.display)-3);return function(i){if(mt(t.doc,i))return 0;var o=0;if(i.widgets)for(var s=0;s<i.widgets.length;s++)i.widgets[s].height&&(o+=i.widgets[s].height);return n?o+(Math.ceil(i.text.length/r)||1)*e:o+e}}function Sn(t){var e=t.doc,n=Cn(t);e.iter(function(t){var e=n(t);e!=t.height&&D(t,e)})}function _n(t,e,n,r){var i=t.display;if(!n&&"true"==Vt(e).getAttribute("cm-not-content"))return null;var o,s,l=i.lineSpace.getBoundingClientRect();try{o=e.clientX-l.left,s=e.clientY-l.top}catch(e){return null}var a,u=fn(t,o,s);if(r&&1==u.xRel&&(a=k(t.doc,u.line).text).length==u.ch){var c=h(a,a.length,t.options.tabSize)-a.length;u=P(u.line,Math.max(0,Math.round((o-He(t.display).left)/bn(t.display))-c))}return u}function On(t,e){if(e>=t.display.viewTo)return null;if((e-=t.display.viewFrom)<0)return null;for(var n=t.display.view,r=0;r<n.length;r++)if((e-=n[r].size)<0)return r}function Tn(t){t.display.input.showSelection(t.display.input.prepareSelection())}function kn(t,e){for(var n=t.doc,r={},i=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),s=0;s<n.sel.ranges.length;s++)if(!1!==e||s!=n.sel.primIndex){var l=n.sel.ranges[s];if(!(l.from().line>=t.display.viewTo||l.to().line<t.display.viewFrom)){var a=l.empty();(a||t.options.showCursorWhenSelecting)&&In(t,l.head,i),a||Rn(t,l,o)}}return r}function In(t,e,n){var i=hn(t,e,"div",null,null,!t.options.singleCursorHeightPerLine),o=n.appendChild(r("div"," ","CodeMirror-cursor"));if(o.style.left=i.left+"px",o.style.top=i.top+"px",o.style.height=Math.max(0,i.bottom-i.top)*t.options.cursorHeight+"px",i.other){var s=n.appendChild(r("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));s.style.display="",s.style.left=i.other.left+"px",s.style.top=i.other.top+"px",s.style.height=.85*(i.other.bottom-i.other.top)+"px"}}function Rn(t,e,n){function i(t,e,n,i){e<0&&(e=0),e=Math.round(e),i=Math.round(i),a.appendChild(r("div",null,"CodeMirror-selected","position: absolute; left: "+t+"px;\n top: "+e+"px; width: "+(null==n?h-t:n)+"px;\n height: "+(i-e)+"px"))}function o(e,n,r){function o(n,r){return cn(t,P(e,n),"div",u,r)}var s,a,u=k(l,e),p=u.text.length;return xt(St(u,l.direction),n||0,null==r?p:r,function(t,e,l){var u,d,f,v=o(t,"left");if(t==e)u=v,d=f=v.left;else{if(u=o(e-1,"right"),"rtl"==l){var m=v;v=u,u=m}d=v.left,f=u.right}null==n&&0==t&&(d=c),u.top-v.top>3&&(i(d,v.top,null,v.bottom),d=c,v.bottom<u.top&&i(d,v.bottom,null,u.top)),null==r&&e==p&&(f=h),(!s||v.top<s.top||v.top==s.top&&v.left<s.left)&&(s=v),(!a||u.bottom>a.bottom||u.bottom==a.bottom&&u.right>a.right)&&(a=u),d<c+1&&(d=c),i(d,u.top,f-d,u.bottom)}),{start:s,end:a}}var s=t.display,l=t.doc,a=document.createDocumentFragment(),u=He(t.display),c=u.left,h=Math.max(s.sizerWidth,Be(t)-s.sizer.offsetLeft)-u.right,p=e.from(),d=e.to();if(p.line==d.line)o(p.line,p.ch,d.ch);else{var f=k(l,p.line),v=k(l,d.line),m=ht(f)==ht(v),g=o(p.line,p.ch,m?f.text.length+1:null).end,y=o(d.line,m?0:null,d.ch).start;m&&(g.top<y.top-2?(i(g.right,g.top,null,g.bottom),i(c,y.top,y.left,y.bottom)):i(g.right,g.top,y.left-g.right,g.bottom)),g.bottom<y.top&&i(c,g.bottom,null,y.top)}n.appendChild(a)}function Dn(t){if(t.state.focused){var e=t.display;clearInterval(e.blinker);var n=!0;e.cursorDiv.style.visibility="",t.options.cursorBlinkRate>0?e.blinker=setInterval(function(){return e.cursorDiv.style.visibility=(n=!n)?"":"hidden"},t.options.cursorBlinkRate):t.options.cursorBlinkRate<0&&(e.cursorDiv.style.visibility="hidden")}}function Mn(t){t.state.focused||(t.display.input.focus(),En(t))}function Nn(t){t.state.delayingBlurEvent=!0,setTimeout(function(){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1,An(t))},100)}function En(t,e){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1),"nocursor"!=t.options.readOnly&&(t.state.focused||(Dt(t,"focus",t,e),t.state.focused=!0,l(t.display.wrapper,"CodeMirror-focused"),t.curOp||t.display.selForContextMenu==t.doc.sel||(t.display.input.reset(),ls&&setTimeout(function(){return t.display.input.reset(!0)},20)),t.display.input.receivedFocus()),Dn(t))}function An(t,e){t.state.delayingBlurEvent||(t.state.focused&&(Dt(t,"blur",t,e),t.state.focused=!1,_s(t.display.wrapper,"CodeMirror-focused")),clearInterval(t.display.blinker),setTimeout(function(){t.state.focused||(t.display.shift=!1)},150))}function Pn(t){for(var e=t.display,n=e.lineDiv.offsetTop,r=0;r<e.view.length;r++){var i=e.view[r],o=void 0;if(!i.hidden){if(os&&ss<8){var s=i.node.offsetTop+i.node.offsetHeight;o=s-n,n=s}else{var l=i.node.getBoundingClientRect();o=l.bottom-l.top}var a=i.line.height-o;if(o<2&&(o=yn(e)),(a>.001||a<-.001)&&(D(i.line,o),jn(i.line),i.rest))for(var u=0;u<i.rest.length;u++)jn(i.rest[u])}}}function jn(t){if(t.widgets)for(var e=0;e<t.widgets.length;++e)t.widgets[e].height=t.widgets[e].node.parentNode.offsetHeight}function Ln(t,e,n){var r=n&&null!=n.top?Math.max(0,n.top):t.scroller.scrollTop;r=Math.floor(r-Ve(t));var i=n&&null!=n.bottom?n.bottom:r+t.wrapper.clientHeight,o=N(e,r),s=N(e,i);if(n&&n.ensure){var l=n.ensure.from.line,a=n.ensure.to.line;l<o?(o=l,s=N(e,yt(k(e,l))+t.wrapper.clientHeight)):Math.min(a,e.lastLine())>=s&&(o=N(e,yt(k(e,a))-t.wrapper.clientHeight),s=a)}return{from:o,to:Math.max(s,o+1)}}function Fn(t){var e=t.display,n=e.view;if(e.alignWidgets||e.gutters.firstChild&&t.options.fixedGutter){for(var r=xn(e)-e.scroller.scrollLeft+t.doc.scrollLeft,i=e.gutters.offsetWidth,o=r+"px",s=0;s<n.length;s++)if(!n[s].hidden){t.options.fixedGutter&&(n[s].gutter&&(n[s].gutter.style.left=o),n[s].gutterBackground&&(n[s].gutterBackground.style.left=o));var l=n[s].alignable;if(l)for(var a=0;a<l.length;a++)l[a].style.left=o}t.options.fixedGutter&&(e.gutters.style.left=r+i+"px")}}function Vn(t){if(!t.options.lineNumbers)return!1;var e=t.doc,n=A(t.options,e.first+e.size-1),i=t.display;if(n.length!=i.lineNumChars){var o=i.measure.appendChild(r("div",[r("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),s=o.firstChild.offsetWidth,l=o.offsetWidth-s;return i.lineGutter.style.width="",i.lineNumInnerWidth=Math.max(s,i.lineGutter.offsetWidth-l)+1,i.lineNumWidth=i.lineNumInnerWidth+l,i.lineNumChars=i.lineNumInnerWidth?n.length:-1,i.lineGutter.style.width=i.lineNumWidth+"px",Dr(t),!0}return!1}function Wn(t,e){if(!Mt(t,"scrollCursorIntoView")){var n=t.display,i=n.sizer.getBoundingClientRect(),o=null;if(e.top+i.top<0?o=!0:e.bottom+i.top>(window.innerHeight||document.documentElement.clientHeight)&&(o=!1),null!=o&&!ds){var s=r("div","​",null,"position: absolute;\n top: "+(e.top-n.viewOffset-Ve(t.display))+"px;\n height: "+(e.bottom-e.top+ze(t)+n.barHeight)+"px;\n left: "+e.left+"px; width: "+Math.max(2,e.right-e.left)+"px;");t.display.lineSpace.appendChild(s),s.scrollIntoView(o),t.display.lineSpace.removeChild(s)}}}function Hn(t,e,n,r){null==r&&(r=0);for(var i,o=0;o<5;o++){var s=!1,l=hn(t,e),a=n&&n!=e?hn(t,n):l;i={left:Math.min(l.left,a.left),top:Math.min(l.top,a.top)-r,right:Math.max(l.left,a.left),bottom:Math.max(l.bottom,a.bottom)+r};var u=Bn(t,i),c=t.doc.scrollTop,h=t.doc.scrollLeft;if(null!=u.scrollTop&&(Jn(t,u.scrollTop),Math.abs(t.doc.scrollTop-c)>1&&(s=!0)),null!=u.scrollLeft&&($n(t,u.scrollLeft),Math.abs(t.doc.scrollLeft-h)>1&&(s=!0)),!s)break}return i}function zn(t,e){var n=Bn(t,e);null!=n.scrollTop&&Jn(t,n.scrollTop),null!=n.scrollLeft&&$n(t,n.scrollLeft)}function Bn(t,e){var n=t.display,r=yn(t.display);e.top<0&&(e.top=0);var i=t.curOp&&null!=t.curOp.scrollTop?t.curOp.scrollTop:n.scroller.scrollTop,o=Ue(t),s={};e.bottom-e.top>o&&(e.bottom=e.top+o);var l=t.doc.height+We(n),a=e.top<r,u=e.bottom>l-r;if(e.top<i)s.scrollTop=a?0:e.top;else if(e.bottom>i+o){var c=Math.min(e.top,(u?l:e.bottom)-o);c!=i&&(s.scrollTop=c)}var h=t.curOp&&null!=t.curOp.scrollLeft?t.curOp.scrollLeft:n.scroller.scrollLeft,p=Be(t)-(t.options.fixedGutter?n.gutters.offsetWidth:0),d=e.right-e.left>p;return d&&(e.right=e.left+p),e.left<10?s.scrollLeft=0:e.left<h?s.scrollLeft=Math.max(0,e.left-(d?0:10)):e.right>p+h-3&&(s.scrollLeft=e.right+(d?0:10)-p),s}function Un(t,e){null!=e&&(Yn(t),t.curOp.scrollTop=(null==t.curOp.scrollTop?t.doc.scrollTop:t.curOp.scrollTop)+e)}function Gn(t){Yn(t);var e=t.getCursor(),n=e,r=e;t.options.lineWrapping||(n=e.ch?P(e.line,e.ch-1):e,r=P(e.line,e.ch+1)),t.curOp.scrollToPos={from:n,to:r,margin:t.options.cursorScrollMargin}}function Kn(t,e,n){null==e&&null==n||Yn(t),null!=e&&(t.curOp.scrollLeft=e),null!=n&&(t.curOp.scrollTop=n)}function qn(t,e){Yn(t),t.curOp.scrollToPos=e}function Yn(t){var e=t.curOp.scrollToPos;if(e){t.curOp.scrollToPos=null;Xn(t,pn(t,e.from),pn(t,e.to),e.margin)}}function Xn(t,e,n,r){var i=Bn(t,{left:Math.min(e.left,n.left),top:Math.min(e.top,n.top)-r,right:Math.max(e.right,n.right),bottom:Math.max(e.bottom,n.bottom)+r});Kn(t,i.scrollLeft,i.scrollTop)}function Jn(t,e){Math.abs(t.doc.scrollTop-e)<2||(es||Ir(t,{top:e}),Zn(t,e,!0),es&&Ir(t),xr(t,100))}function Zn(t,e,n){e=Math.min(t.display.scroller.scrollHeight-t.display.scroller.clientHeight,e),(t.display.scroller.scrollTop!=e||n)&&(t.doc.scrollTop=e,t.display.scrollbars.setScrollTop(e),t.display.scroller.scrollTop!=e&&(t.display.scroller.scrollTop=e))}function $n(t,e,n,r){e=Math.min(e,t.display.scroller.scrollWidth-t.display.scroller.clientWidth),(n?e==t.doc.scrollLeft:Math.abs(t.doc.scrollLeft-e)<2)&&!r||(t.doc.scrollLeft=e,Fn(t),t.display.scroller.scrollLeft!=e&&(t.display.scroller.scrollLeft=e),t.display.scrollbars.setScrollLeft(e))}function Qn(t){var e=t.display,n=e.gutters.offsetWidth,r=Math.round(t.doc.height+We(t.display));return{clientHeight:e.scroller.clientHeight,viewHeight:e.wrapper.clientHeight,scrollWidth:e.scroller.scrollWidth,clientWidth:e.scroller.clientWidth,viewWidth:e.wrapper.clientWidth,barLeft:t.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+ze(t)+e.barHeight,nativeBarWidth:e.nativeBarWidth,gutterWidth:n}}function tr(t,e){e||(e=Qn(t));var n=t.display.barWidth,r=t.display.barHeight;er(t,e);for(var i=0;i<4&&n!=t.display.barWidth||r!=t.display.barHeight;i++)n!=t.display.barWidth&&t.options.lineWrapping&&Pn(t),er(t,Qn(t)),n=t.display.barWidth,r=t.display.barHeight}function er(t,e){var n=t.display,r=n.scrollbars.update(e);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&t.options.coverGutterNextToScrollbar&&t.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=e.gutterWidth+"px"):n.gutterFiller.style.display=""}function nr(t){t.display.scrollbars&&(t.display.scrollbars.clear(),t.display.scrollbars.addClass&&_s(t.display.wrapper,t.display.scrollbars.addClass)),t.display.scrollbars=new ll[t.options.scrollbarStyle](function(e){t.display.wrapper.insertBefore(e,t.display.scrollbarFiller),zs(e,"mousedown",function(){t.state.focused&&setTimeout(function(){return t.display.input.focus()},0)}),e.setAttribute("cm-not-content","true")},function(e,n){"horizontal"==n?$n(t,e):Jn(t,e)},t),t.display.scrollbars.addClass&&l(t.display.wrapper,t.display.scrollbars.addClass)}function rr(t){t.curOp={cm:t,viewChanged:!1,startHeight:t.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++al},we(t.curOp)}function ir(t){Ce(t.curOp,function(t){for(var e=0;e<t.ops.length;e++)t.ops[e].cm.curOp=null;or(t)})}function or(t){for(var e=t.ops,n=0;n<e.length;n++)sr(e[n]);for(var r=0;r<e.length;r++)lr(e[r]);for(var i=0;i<e.length;i++)ar(e[i]);for(var o=0;o<e.length;o++)ur(e[o]);for(var s=0;s<e.length;s++)cr(e[s])}function sr(t){var e=t.cm,n=e.display;Sr(e),t.updateMaxLine&&wt(e),t.mustUpdate=t.viewChanged||t.forceUpdate||null!=t.scrollTop||t.scrollToPos&&(t.scrollToPos.from.line<n.viewFrom||t.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&e.options.lineWrapping,t.update=t.mustUpdate&&new ul(e,t.mustUpdate&&{top:t.scrollTop,ensure:t.scrollToPos},t.forceUpdate)}function lr(t){t.updatedDisplay=t.mustUpdate&&Tr(t.cm,t.update)}function ar(t){var e=t.cm,n=e.display;t.updatedDisplay&&Pn(e),t.barMeasure=Qn(e),n.maxLineChanged&&!e.options.lineWrapping&&(t.adjustWidthTo=Ye(e,n.maxLine,n.maxLine.text.length).left+3,e.display.sizerWidth=t.adjustWidthTo,t.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+t.adjustWidthTo+ze(e)+e.display.barWidth),t.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+t.adjustWidthTo-Be(e))),(t.updatedDisplay||t.selectionChanged)&&(t.preparedSelection=n.input.prepareSelection(t.focus))}function ur(t){var e=t.cm;null!=t.adjustWidthTo&&(e.display.sizer.style.minWidth=t.adjustWidthTo+"px",t.maxScrollLeft<e.doc.scrollLeft&&$n(e,Math.min(e.display.scroller.scrollLeft,t.maxScrollLeft),!0),e.display.maxLineChanged=!1);var n=t.focus&&t.focus==s()&&(!document.hasFocus||document.hasFocus());t.preparedSelection&&e.display.input.showSelection(t.preparedSelection,n),(t.updatedDisplay||t.startHeight!=e.doc.height)&&tr(e,t.barMeasure),t.updatedDisplay&&Mr(e,t.barMeasure),t.selectionChanged&&Dn(e),e.state.focused&&t.updateInput&&e.display.input.reset(t.typing),n&&Mn(t.cm)}function cr(t){var e=t.cm,n=e.display,r=e.doc;if(t.updatedDisplay&&kr(e,t.update),null==n.wheelStartX||null==t.scrollTop&&null==t.scrollLeft&&!t.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=t.scrollTop&&Zn(e,t.scrollTop,t.forceScroll),null!=t.scrollLeft&&$n(e,t.scrollLeft,!0,!0),t.scrollToPos){Wn(e,Hn(e,z(r,t.scrollToPos.from),z(r,t.scrollToPos.to),t.scrollToPos.margin))}var i=t.maybeHiddenMarkers,o=t.maybeUnhiddenMarkers;if(i)for(var s=0;s<i.length;++s)i[s].lines.length||Dt(i[s],"hide");if(o)for(var l=0;l<o.length;++l)o[l].lines.length&&Dt(o[l],"unhide");n.wrapper.offsetHeight&&(r.scrollTop=e.display.scroller.scrollTop),t.changeObjs&&Dt(e,"changes",e,t.changeObjs),t.update&&t.update.finish()}function hr(t,e){if(t.curOp)return e();rr(t);try{return e()}finally{ir(t)}}function pr(t,e){return function(){if(t.curOp)return e.apply(t,arguments);rr(t);try{return e.apply(t,arguments)}finally{ir(t)}}}function dr(t){return function(){if(this.curOp)return t.apply(this,arguments);rr(this);try{return t.apply(this,arguments)}finally{ir(this)}}}function fr(t){return function(){var e=this.cm;if(!e||e.curOp)return t.apply(this,arguments);rr(e);try{return t.apply(this,arguments)}finally{ir(e)}}}function vr(t,e,n,r){null==e&&(e=t.doc.first),null==n&&(n=t.doc.first+t.doc.size),r||(r=0);var i=t.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>e)&&(i.updateLineNumbers=e),t.curOp.viewChanged=!0,e>=i.viewTo)Fs&&ft(t.doc,e)<i.viewTo&&gr(t);else if(n<=i.viewFrom)Fs&&vt(t.doc,n+r)>i.viewFrom?gr(t):(i.viewFrom+=r,i.viewTo+=r);else if(e<=i.viewFrom&&n>=i.viewTo)gr(t);else if(e<=i.viewFrom){var o=yr(t,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):gr(t)}else if(n>=i.viewTo){var s=yr(t,e,e,-1);s?(i.view=i.view.slice(0,s.index),i.viewTo=s.lineN):gr(t)}else{var l=yr(t,e,e,-1),a=yr(t,n,n+r,1);l&&a?(i.view=i.view.slice(0,l.index).concat(be(t,l.lineN,a.lineN)).concat(i.view.slice(a.index)),i.viewTo+=r):gr(t)}var u=i.externalMeasured;u&&(n<u.lineN?u.lineN+=r:e<u.lineN+u.size&&(i.externalMeasured=null))}function mr(t,e,n){t.curOp.viewChanged=!0;var r=t.display,i=t.display.externalMeasured;if(i&&e>=i.lineN&&e<i.lineN+i.size&&(r.externalMeasured=null),!(e<r.viewFrom||e>=r.viewTo)){var o=r.view[On(t,e)];if(null!=o.node){var s=o.changes||(o.changes=[]);-1==p(s,n)&&s.push(n)}}}function gr(t){t.display.viewFrom=t.display.viewTo=t.doc.first,t.display.view=[],t.display.viewOffset=0}function yr(t,e,n,r){var i,o=On(t,e),s=t.display.view;if(!Fs||n==t.doc.first+t.doc.size)return{index:o,lineN:n};for(var l=t.display.viewFrom,a=0;a<o;a++)l+=s[a].size;if(l!=e){if(r>0){if(o==s.length-1)return null;i=l+s[o].size-e,o++}else i=l-e;e+=i,n+=i}for(;ft(t.doc,n)!=n;){if(o==(r<0?0:s.length-1))return null;n+=r*s[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function br(t,e,n){var r=t.display;0==r.view.length||e>=r.viewTo||n<=r.viewFrom?(r.view=be(t,e,n),r.viewFrom=e):(r.viewFrom>e?r.view=be(t,e,r.viewFrom).concat(r.view):r.viewFrom<e&&(r.view=r.view.slice(On(t,e))),r.viewFrom=e,r.viewTo<n?r.view=r.view.concat(be(t,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,On(t,n)))),r.viewTo=n}function wr(t){for(var e=t.display.view,n=0,r=0;r<e.length;r++){var i=e[r];i.hidden||i.node&&!i.changes||++n}return n}function xr(t,e){t.doc.mode.startState&&t.doc.frontier<t.display.viewTo&&t.state.highlight.set(e,u(Cr,t))}function Cr(t){var e=t.doc;if(e.frontier<e.first&&(e.frontier=e.first),!(e.frontier>=t.display.viewTo)){var n=+new Date+t.options.workTime,r=Xt(e.mode,te(t,e.frontier)),i=[];e.iter(e.frontier,Math.min(e.first+e.size,t.display.viewTo+500),function(o){if(e.frontier>=t.display.viewFrom){var s=o.styles,l=o.text.length>t.options.maxHighlightLength,a=$t(t,o,l?Xt(e.mode,r):r,!0);o.styles=a.styles;var u=o.styleClasses,c=a.classes;c?o.styleClasses=c:u&&(o.styleClasses=null);for(var h=!s||s.length!=o.styles.length||u!=c&&(!u||!c||u.bgClass!=c.bgClass||u.textClass!=c.textClass),p=0;!h&&p<s.length;++p)h=s[p]!=o.styles[p];h&&i.push(e.frontier),o.stateAfter=l?r:Xt(e.mode,r)}else o.text.length<=t.options.maxHighlightLength&&ee(t,o.text,r),o.stateAfter=e.frontier%5==0?Xt(e.mode,r):null;if(++e.frontier,+new Date>n)return xr(t,t.options.workDelay),!0}),i.length&&hr(t,function(){for(var e=0;e<i.length;e++)mr(t,i[e],"text")})}}function Sr(t){var e=t.display;!e.scrollbarsClipped&&e.scroller.offsetWidth&&(e.nativeBarWidth=e.scroller.offsetWidth-e.scroller.clientWidth,e.heightForcer.style.height=ze(t)+"px",e.sizer.style.marginBottom=-e.nativeBarWidth+"px",e.sizer.style.borderRightWidth=ze(t)+"px",e.scrollbarsClipped=!0)}function _r(t){if(t.hasFocus())return null;var e=s();if(!e||!o(t.display.lineDiv,e))return null;var n={activeElt:e};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&o(t.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}function Or(t){if(t&&t.activeElt&&t.activeElt!=s()&&(t.activeElt.focus(),t.anchorNode&&o(document.body,t.anchorNode)&&o(document.body,t.focusNode))){var e=window.getSelection(),n=document.createRange();n.setEnd(t.anchorNode,t.anchorOffset),n.collapse(!1),e.removeAllRanges(),e.addRange(n),e.extend(t.focusNode,t.focusOffset)}}function Tr(t,n){var r=t.display,i=t.doc;if(n.editorIsHidden)return gr(t),!1;if(!n.force&&n.visible.from>=r.viewFrom&&n.visible.to<=r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&0==wr(t))return!1;Vn(t)&&(gr(t),n.dims=wn(t));var o=i.first+i.size,s=Math.max(n.visible.from-t.options.viewportMargin,i.first),l=Math.min(o,n.visible.to+t.options.viewportMargin);r.viewFrom<s&&s-r.viewFrom<20&&(s=Math.max(i.first,r.viewFrom)),r.viewTo>l&&r.viewTo-l<20&&(l=Math.min(o,r.viewTo)),Fs&&(s=ft(t.doc,s),l=vt(t.doc,l));var a=s!=r.viewFrom||l!=r.viewTo||r.lastWrapHeight!=n.wrapperHeight||r.lastWrapWidth!=n.wrapperWidth;br(t,s,l),r.viewOffset=yt(k(t.doc,r.viewFrom)),t.display.mover.style.top=r.viewOffset+"px";var u=wr(t);if(!a&&0==u&&!n.force&&r.renderedView==r.view&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo))return!1;var c=_r(t);return u>4&&(r.lineDiv.style.display="none"),Rr(t,r.updateLineNumbers,n.dims),u>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,Or(c),e(r.cursorDiv),e(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,a&&(r.lastWrapHeight=n.wrapperHeight,r.lastWrapWidth=n.wrapperWidth,xr(t,400)),r.updateLineNumbers=null,!0}function kr(t,e){for(var n=e.viewport,r=!0;(r&&t.options.lineWrapping&&e.oldDisplayWidth!=Be(t)||(n&&null!=n.top&&(n={top:Math.min(t.doc.height+We(t.display)-Ue(t),n.top)}),e.visible=Ln(t.display,t.doc,n),!(e.visible.from>=t.display.viewFrom&&e.visible.to<=t.display.viewTo)))&&Tr(t,e);r=!1){Pn(t);var i=Qn(t);Tn(t),tr(t,i),Mr(t,i)}e.signal(t,"update",t),t.display.viewFrom==t.display.reportedViewFrom&&t.display.viewTo==t.display.reportedViewTo||(e.signal(t,"viewportChange",t,t.display.viewFrom,t.display.viewTo),t.display.reportedViewFrom=t.display.viewFrom,t.display.reportedViewTo=t.display.viewTo)}function Ir(t,e){var n=new ul(t,e);if(Tr(t,n)){Pn(t),kr(t,n);var r=Qn(t);Tn(t),tr(t,r),Mr(t,r),n.finish()}}function Rr(t,n,r){function i(e){var n=e.nextSibling;return ls&&gs&&t.display.currentWheelTarget==e?e.style.display="none":e.parentNode.removeChild(e),n}for(var o=t.display,s=t.options.lineNumbers,l=o.lineDiv,a=l.firstChild,u=o.view,c=o.viewFrom,h=0;h<u.length;h++){var d=u[h];if(d.hidden);else if(d.node&&d.node.parentNode==l){for(;a!=d.node;)a=i(a);var f=s&&null!=n&&n<=c&&d.lineNumber;d.changes&&(p(d.changes,"gutter")>-1&&(f=!1),Oe(t,d,c,r)),f&&(e(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(A(t.options,c)))),a=d.node.nextSibling}else{var v=Ee(t,d,c,r);l.insertBefore(v,a)}c+=d.size}for(;a;)a=i(a)}function Dr(t){var e=t.display.gutters.offsetWidth;t.display.sizer.style.marginLeft=e+"px"}function Mr(t,e){t.display.sizer.style.minHeight=e.docHeight+"px",t.display.heightForcer.style.top=e.docHeight+"px",t.display.gutters.style.height=e.docHeight+t.display.barHeight+ze(t)+"px"}function Nr(t){var n=t.display.gutters,i=t.options.gutters;e(n);for(var o=0;o<i.length;++o){var s=i[o],l=n.appendChild(r("div",null,"CodeMirror-gutter "+s));"CodeMirror-linenumbers"==s&&(t.display.lineGutter=l,l.style.width=(t.display.lineNumWidth||1)+"px")}n.style.display=o?"":"none",Dr(t)}function Er(t){var e=p(t.gutters,"CodeMirror-linenumbers");-1==e&&t.lineNumbers?t.gutters=t.gutters.concat(["CodeMirror-linenumbers"]):e>-1&&!t.lineNumbers&&(t.gutters=t.gutters.slice(0),t.gutters.splice(e,1))}function Ar(t){var e=t.wheelDeltaX,n=t.wheelDeltaY;return null==e&&t.detail&&t.axis==t.HORIZONTAL_AXIS&&(e=t.detail),null==n&&t.detail&&t.axis==t.VERTICAL_AXIS?n=t.detail:null==n&&(n=t.wheelDelta),{x:e,y:n}}function Pr(t){var e=Ar(t);return e.x*=hl,e.y*=hl,e}function jr(t,e){var n=Ar(e),r=n.x,i=n.y,o=t.display,s=o.scroller,l=s.scrollWidth>s.clientWidth,a=s.scrollHeight>s.clientHeight;if(r&&l||i&&a){if(i&&gs&&ls)t:for(var u=e.target,c=o.view;u!=s;u=u.parentNode)for(var h=0;h<c.length;h++)if(c[h].node==u){t.display.currentWheelTarget=u;break t}if(r&&!es&&!cs&&null!=hl)return i&&a&&Jn(t,Math.max(0,s.scrollTop+i*hl)),$n(t,Math.max(0,s.scrollLeft+r*hl)),(!i||i&&a)&&Pt(e),void(o.wheelStartX=null);if(i&&null!=hl){var p=i*hl,d=t.doc.scrollTop,f=d+o.wrapper.clientHeight;p<0?d=Math.max(0,d+p-50):f=Math.min(t.doc.height,f+p+50),Ir(t,{top:d,bottom:f})}cl<20&&(null==o.wheelStartX?(o.wheelStartX=s.scrollLeft,o.wheelStartY=s.scrollTop,o.wheelDX=r,o.wheelDY=i,setTimeout(function(){if(null!=o.wheelStartX){var t=s.scrollLeft-o.wheelStartX,e=s.scrollTop-o.wheelStartY,n=e&&o.wheelDY&&e/o.wheelDY||t&&o.wheelDX&&t/o.wheelDX;o.wheelStartX=o.wheelStartY=null,n&&(hl=(hl*cl+n)/(cl+1),++cl)}},200)):(o.wheelDX+=r,o.wheelDY+=i))}}function Lr(t,e){var n=t[e];t.sort(function(t,e){return j(t.from(),e.from())}),e=p(t,n);for(var r=1;r<t.length;r++){var i=t[r],o=t[r-1];if(j(o.to(),i.from())>=0){var s=W(o.from(),i.from()),l=V(o.to(),i.to()),a=o.empty()?i.from()==i.head:o.from()==o.head;r<=e&&--e,t.splice(--r,2,new dl(a?l:s,a?s:l))}}return new pl(t,e)}function Fr(t,e){return new pl([new dl(t,e||t)],0)}function Vr(t){return t.text?P(t.from.line+t.text.length-1,v(t.text).length+(1==t.text.length?t.from.ch:0)):t.to}function Wr(t,e){if(j(t,e.from)<0)return t;if(j(t,e.to)<=0)return Vr(e);var n=t.line+e.text.length-(e.to.line-e.from.line)-1,r=t.ch;return t.line==e.to.line&&(r+=Vr(e).ch-e.to.ch),P(n,r)}function Hr(t,e){for(var n=[],r=0;r<t.sel.ranges.length;r++){var i=t.sel.ranges[r];n.push(new dl(Wr(i.anchor,e),Wr(i.head,e)))}return Lr(n,t.sel.primIndex)}function zr(t,e,n){return t.line==e.line?P(n.line,t.ch-e.ch+n.ch):P(n.line+(t.line-e.line),t.ch)}function Br(t,e,n){for(var r=[],i=P(t.first,0),o=i,s=0;s<e.length;s++){var l=e[s],a=zr(l.from,i,o),u=zr(Vr(l),i,o);if(i=l.to,o=u,"around"==n){var c=t.sel.ranges[s],h=j(c.head,c.anchor)<0;r[s]=new dl(h?u:a,h?a:u)}else r[s]=new dl(a,a)}return new pl(r,t.sel.primIndex)}function Ur(t){t.doc.mode=qt(t.options,t.doc.modeOption),Gr(t)}function Gr(t){t.doc.iter(function(t){t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null)}),t.doc.frontier=t.doc.first,xr(t,100),t.state.modeGen++,t.curOp&&vr(t)}function Kr(t,e){return 0==e.from.ch&&0==e.to.ch&&""==v(e.text)&&(!t.cm||t.cm.options.wholeLineUpdateBefore)}function qr(t,e,n,r){function i(t){return n?n[t]:null}function o(t,n,i){ae(t,n,i,r),Se(t,"change",t,e)}function s(t,e){for(var n=[],o=t;o<e;++o)n.push(new $s(u[o],i(o),r));return n}var l=e.from,a=e.to,u=e.text,c=k(t,l.line),h=k(t,a.line),p=v(u),d=i(u.length-1),f=a.line-l.line;if(e.full)t.insert(0,s(0,u.length)),t.remove(u.length,t.size-u.length);else if(Kr(t,e)){var m=s(0,u.length-1);o(h,h.text,d),f&&t.remove(l.line,f),m.length&&t.insert(l.line,m)}else if(c==h)if(1==u.length)o(c,c.text.slice(0,l.ch)+p+c.text.slice(a.ch),d);else{var g=s(1,u.length-1);g.push(new $s(p+c.text.slice(a.ch),d,r)),o(c,c.text.slice(0,l.ch)+u[0],i(0)),t.insert(l.line+1,g)}else if(1==u.length)o(c,c.text.slice(0,l.ch)+u[0]+h.text.slice(a.ch),i(0)),t.remove(l.line+1,f);else{o(c,c.text.slice(0,l.ch)+u[0],i(0)),o(h,p+h.text.slice(a.ch),d);var y=s(1,u.length-1);f>1&&t.remove(l.line+1,f-1),t.insert(l.line+1,y)}Se(t,"change",t,e)}function Yr(t,e,n){function r(t,i,o){if(t.linked)for(var s=0;s<t.linked.length;++s){var l=t.linked[s];if(l.doc!=i){var a=o&&l.sharedHist;n&&!a||(e(l.doc,a),r(l.doc,t,a))}}}r(t,null,!0)}function Xr(t,e){if(e.cm)throw new Error("This document is already in use.");t.doc=e,e.cm=t,Sn(t),Ur(t),Jr(t),t.options.lineWrapping||wt(t),t.options.mode=e.modeOption,vr(t)}function Jr(t){("rtl"==t.doc.direction?l:_s)(t.display.lineDiv,"CodeMirror-rtl")}function Zr(t){hr(t,function(){Jr(t),vr(t)})}function $r(t){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=t||1}function Qr(t,e){var n={from:F(e.from),to:Vr(e),text:I(t,e.from,e.to)};return si(t,n,e.from.line,e.to.line+1),Yr(t,function(t){return si(t,n,e.from.line,e.to.line+1)},!0),n}function ti(t){for(;t.length;){if(!v(t).ranges)break;t.pop()}}function ei(t,e){return e?(ti(t.done),v(t.done)):t.done.length&&!v(t.done).ranges?v(t.done):t.done.length>1&&!t.done[t.done.length-2].ranges?(t.done.pop(),v(t.done)):void 0}function ni(t,e,n,r){var i=t.history;i.undone.length=0;var o,s,l=+new Date;if((i.lastOp==r||i.lastOrigin==e.origin&&e.origin&&("+"==e.origin.charAt(0)&&t.cm&&i.lastModTime>l-t.cm.options.historyEventDelay||"*"==e.origin.charAt(0)))&&(o=ei(i,i.lastOp==r)))s=v(o.changes),0==j(e.from,e.to)&&0==j(e.from,s.to)?s.to=Vr(e):o.changes.push(Qr(t,e));else{var a=v(i.done);for(a&&a.ranges||oi(t.sel,i.done),o={changes:[Qr(t,e)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=l,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=e.origin,s||Dt(t,"historyAdded")}function ri(t,e,n,r){var i=e.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-t.history.lastSelTime<=(t.cm?t.cm.options.historyEventDelay:500)}function ii(t,e,n,r){var i=t.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||ri(t,o,v(i.done),e))?i.done[i.done.length-1]=e:oi(e,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&ti(i.undone)}function oi(t,e){var n=v(e);n&&n.ranges&&n.equals(t)||e.push(t)}function si(t,e,n,r){var i=e["spans_"+t.id],o=0;t.iter(Math.max(t.first,n),Math.min(t.first+t.size,r),function(n){n.markedSpans&&((i||(i=e["spans_"+t.id]={}))[o]=n.markedSpans),++o})}function li(t){if(!t)return null;for(var e,n=0;n<t.length;++n)t[n].marker.explicitlyCleared?e||(e=t.slice(0,n)):e&&e.push(t[n]);return e?e.length?e:null:t}function ai(t,e){var n=e["spans_"+t.id];if(!n)return null;for(var r=[],i=0;i<e.text.length;++i)r.push(li(n[i]));return r}function ui(t,e){var n=ai(t,e),r=Q(t,e);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var o=n[i],s=r[i];if(o&&s)t:for(var l=0;l<s.length;++l){for(var a=s[l],u=0;u<o.length;++u)if(o[u].marker==a.marker)continue t;o.push(a)}else s&&(n[i]=s)}return n}function ci(t,e,n){for(var r=[],i=0;i<t.length;++i){var o=t[i];if(o.ranges)r.push(n?pl.prototype.deepCopy.call(o):o);else{var s=o.changes,l=[];r.push({changes:l});for(var a=0;a<s.length;++a){var u=s[a],c=void 0;if(l.push({from:u.from,to:u.to,text:u.text}),e)for(var h in u)(c=h.match(/^spans_(\d+)$/))&&p(e,Number(c[1]))>-1&&(v(l)[h]=u[h],delete u[h])}}}return r}function hi(t,e,n,r){if(t.cm&&t.cm.display.shift||t.extend){var i=e.anchor;if(r){var o=j(n,i)<0;o!=j(r,i)<0?(i=n,n=r):o!=j(n,r)<0&&(n=r)}return new dl(i,n)}return new dl(r||n,n)}function pi(t,e,n,r){yi(t,new pl([hi(t,t.sel.primary(),e,n)],0),r)}function di(t,e,n){for(var r=[],i=0;i<t.sel.ranges.length;i++)r[i]=hi(t,t.sel.ranges[i],e[i],null);yi(t,Lr(r,t.sel.primIndex),n)}function fi(t,e,n,r){var i=t.sel.ranges.slice(0);i[e]=n,yi(t,Lr(i,t.sel.primIndex),r)}function vi(t,e,n,r){yi(t,Fr(e,n),r)}function mi(t,e,n){var r={ranges:e.ranges,update:function(e){var n=this;this.ranges=[];for(var r=0;r<e.length;r++)n.ranges[r]=new dl(z(t,e[r].anchor),z(t,e[r].head))},origin:n&&n.origin};return Dt(t,"beforeSelectionChange",t,r),t.cm&&Dt(t.cm,"beforeSelectionChange",t.cm,r),r.ranges!=e.ranges?Lr(r.ranges,r.ranges.length-1):e}function gi(t,e,n){var r=t.history.done,i=v(r);i&&i.ranges?(r[r.length-1]=e,bi(t,e,n)):yi(t,e,n)}function yi(t,e,n){bi(t,e,n),ii(t,t.sel,t.cm?t.cm.curOp.id:NaN,n)}function bi(t,e,n){(Et(t,"beforeSelectionChange")||t.cm&&Et(t.cm,"beforeSelectionChange"))&&(e=mi(t,e,n)),wi(t,Ci(t,e,n&&n.bias||(j(e.primary().head,t.sel.primary().head)<0?-1:1),!0)),n&&!1===n.scroll||!t.cm||Gn(t.cm)}function wi(t,e){e.equals(t.sel)||(t.sel=e,t.cm&&(t.cm.curOp.updateInput=t.cm.curOp.selectionChanged=!0,Nt(t.cm)),Se(t,"cursorActivity",t))}function xi(t){wi(t,Ci(t,t.sel,null,!1))}function Ci(t,e,n,r){for(var i,o=0;o<e.ranges.length;o++){var s=e.ranges[o],l=e.ranges.length==t.sel.ranges.length&&t.sel.ranges[o],a=_i(t,s.anchor,l&&l.anchor,n,r),u=_i(t,s.head,l&&l.head,n,r);(i||a!=s.anchor||u!=s.head)&&(i||(i=e.ranges.slice(0,o)),i[o]=new dl(a,u))}return i?Lr(i,e.primIndex):e}function Si(t,e,n,r,i){var o=k(t,e.line);if(o.markedSpans)for(var s=0;s<o.markedSpans.length;++s){var l=o.markedSpans[s],a=l.marker;if((null==l.from||(a.inclusiveLeft?l.from<=e.ch:l.from<e.ch))&&(null==l.to||(a.inclusiveRight?l.to>=e.ch:l.to>e.ch))){if(i&&(Dt(a,"beforeCursorEnter"),a.explicitlyCleared)){if(o.markedSpans){--s;continue}break}if(!a.atomic)continue;if(n){var u=a.find(r<0?1:-1),c=void 0;if((r<0?a.inclusiveRight:a.inclusiveLeft)&&(u=Oi(t,u,-r,u&&u.line==e.line?o:null)),u&&u.line==e.line&&(c=j(u,n))&&(r<0?c<0:c>0))return Si(t,u,e,r,i)}var h=a.find(r<0?-1:1);return(r<0?a.inclusiveLeft:a.inclusiveRight)&&(h=Oi(t,h,r,h.line==e.line?o:null)),h?Si(t,h,e,r,i):null}}return e}function _i(t,e,n,r,i){var o=r||1,s=Si(t,e,n,o,i)||!i&&Si(t,e,n,o,!0)||Si(t,e,n,-o,i)||!i&&Si(t,e,n,-o,!0);return s||(t.cantEdit=!0,P(t.first,0))}function Oi(t,e,n,r){return n<0&&0==e.ch?e.line>t.first?z(t,P(e.line-1)):null:n>0&&e.ch==(r||k(t,e.line)).text.length?e.line<t.first+t.size-1?P(e.line+1,0):null:new P(e.line,e.ch+n)}function Ti(t){t.setSelection(P(t.firstLine(),0),P(t.lastLine()),Ms)}function ki(t,e,n){var r={canceled:!1,from:e.from,to:e.to,text:e.text,origin:e.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(e,n,i,o){e&&(r.from=z(t,e)),n&&(r.to=z(t,n)),i&&(r.text=i),void 0!==o&&(r.origin=o)}),Dt(t,"beforeChange",t,r),t.cm&&Dt(t.cm,"beforeChange",t.cm,r),r.canceled?null:{from:r.from,to:r.to,text:r.text,origin:r.origin}}function Ii(t,e,n){if(t.cm){if(!t.cm.curOp)return pr(t.cm,Ii)(t,e,n);if(t.cm.state.suppressEdits)return}if(!(Et(t,"beforeChange")||t.cm&&Et(t.cm,"beforeChange"))||(e=ki(t,e,!0))){var r=Ls&&!n&&et(t,e.from,e.to);if(r)for(var i=r.length-1;i>=0;--i)Ri(t,{from:r[i].from,to:r[i].to,text:i?[""]:e.text});else Ri(t,e)}}function Ri(t,e){if(1!=e.text.length||""!=e.text[0]||0!=j(e.from,e.to)){var n=Hr(t,e);ni(t,e,n,t.cm?t.cm.curOp.id:NaN),Ni(t,e,n,Q(t,e));var r=[];Yr(t,function(t,n){n||-1!=p(r,t.history)||(Li(t.history,e),r.push(t.history)),Ni(t,e,null,Q(t,e))})}}function Di(t,e,n){if(!t.cm||!t.cm.state.suppressEdits||n){for(var r,i=t.history,o=t.sel,s="undo"==e?i.done:i.undone,l="undo"==e?i.undone:i.done,a=0;a<s.length&&(r=s[a],n?!r.ranges||r.equals(t.sel):r.ranges);a++);if(a!=s.length){for(i.lastOrigin=i.lastSelOrigin=null;r=s.pop(),r.ranges;){if(oi(r,l),n&&!r.equals(t.sel))return void yi(t,r,{clearRedo:!1});o=r}var u=[];oi(o,l),l.push({changes:u,generation:i.generation}),i.generation=r.generation||++i.maxGeneration;for(var c=Et(t,"beforeChange")||t.cm&&Et(t.cm,"beforeChange"),h=function(n){var i=r.changes[n];if(i.origin=e,c&&!ki(t,i,!1))return s.length=0,{};u.push(Qr(t,i));var o=n?Hr(t,i):v(s);Ni(t,i,o,ui(t,i)),!n&&t.cm&&t.cm.scrollIntoView({from:i.from,to:Vr(i)});var l=[];Yr(t,function(t,e){e||-1!=p(l,t.history)||(Li(t.history,i),l.push(t.history)),Ni(t,i,null,ui(t,i))})},d=r.changes.length-1;d>=0;--d){var f=h(d);if(f)return f.v}}}}function Mi(t,e){if(0!=e&&(t.first+=e,t.sel=new pl(m(t.sel.ranges,function(t){return new dl(P(t.anchor.line+e,t.anchor.ch),P(t.head.line+e,t.head.ch))}),t.sel.primIndex),t.cm)){vr(t.cm,t.first,t.first-e,e);for(var n=t.cm.display,r=n.viewFrom;r<n.viewTo;r++)mr(t.cm,r,"gutter")}}function Ni(t,e,n,r){if(t.cm&&!t.cm.curOp)return pr(t.cm,Ni)(t,e,n,r);if(e.to.line<t.first)return void Mi(t,e.text.length-1-(e.to.line-e.from.line));if(!(e.from.line>t.lastLine())){if(e.from.line<t.first){var i=e.text.length-1-(t.first-e.from.line);Mi(t,i),e={from:P(t.first,0),to:P(e.to.line+i,e.to.ch),text:[v(e.text)],origin:e.origin}}var o=t.lastLine();e.to.line>o&&(e={from:e.from,to:P(o,k(t,o).text.length),text:[e.text[0]],origin:e.origin}),e.removed=I(t,e.from,e.to),n||(n=Hr(t,e)),t.cm?Ei(t.cm,e,r):qr(t,e,r),bi(t,n,Ms)}}function Ei(t,e,n){var r=t.doc,i=t.display,o=e.from,s=e.to,l=!1,a=o.line;t.options.lineWrapping||(a=M(ht(k(r,o.line))),r.iter(a,s.line+1,function(t){if(t==i.maxLine)return l=!0,!0})),r.sel.contains(e.from,e.to)>-1&&Nt(t),qr(r,e,n,Cn(t)),t.options.lineWrapping||(r.iter(a,o.line+e.text.length,function(t){var e=bt(t);e>i.maxLineLength&&(i.maxLine=t,i.maxLineLength=e,i.maxLineChanged=!0,l=!1)}),l&&(t.curOp.updateMaxLine=!0)),r.frontier=Math.min(r.frontier,o.line),xr(t,400);var u=e.text.length-(s.line-o.line)-1;e.full?vr(t):o.line!=s.line||1!=e.text.length||Kr(t.doc,e)?vr(t,o.line,s.line+1,u):mr(t,o.line,"text");var c=Et(t,"changes"),h=Et(t,"change");if(h||c){var p={from:o,to:s,text:e.text,removed:e.removed,origin:e.origin};h&&Se(t,"change",t,p),c&&(t.curOp.changeObjs||(t.curOp.changeObjs=[])).push(p)}t.display.selForContextMenu=null}function Ai(t,e,n,r,i){if(r||(r=n),j(r,n)<0){var o=r;r=n,n=o}"string"==typeof e&&(e=t.splitLines(e)),Ii(t,{from:n,to:r,text:e,origin:i})}function Pi(t,e,n,r){n<t.line?t.line+=r:e<t.line&&(t.line=e,t.ch=0)}function ji(t,e,n,r){for(var i=0;i<t.length;++i){var o=t[i],s=!0;if(o.ranges){o.copied||(o=t[i]=o.deepCopy(),o.copied=!0);for(var l=0;l<o.ranges.length;l++)Pi(o.ranges[l].anchor,e,n,r),Pi(o.ranges[l].head,e,n,r)}else{for(var a=0;a<o.changes.length;++a){var u=o.changes[a];if(n<u.from.line)u.from=P(u.from.line+r,u.from.ch),u.to=P(u.to.line+r,u.to.ch);else if(e<=u.to.line){s=!1;break}}s||(t.splice(0,i+1),i=0)}}}function Li(t,e){var n=e.from.line,r=e.to.line,i=e.text.length-(r-n)-1;ji(t.done,n,r,i),ji(t.undone,n,r,i)}function Fi(t,e,n,r){var i=e,o=e;return"number"==typeof e?o=k(t,H(t,e)):i=M(e),null==i?null:(r(o,i)&&t.cm&&mr(t.cm,i,n),o)}function Vi(t,e,n){yt(e)<(t.curOp&&t.curOp.scrollTop||t.doc.scrollTop)&&Un(t,n)}function Wi(t,e,n,r){var i=new ml(t,n,r),o=t.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),Fi(t,e,"widget",function(e){var n=e.widgets||(e.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length-1,Math.max(0,i.insertAt)),0,i),i.line=e,o&&!mt(t,e)){var r=yt(e)<t.scrollTop;D(e,e.height+Le(i)),r&&Un(o,i.height),o.curOp.forceUpdate=!0}return!0}),Se(o,"lineWidgetAdded",o,i,"number"==typeof e?e:M(e)),i}function Hi(t,e,n,r,o){if(r&&r.shared)return zi(t,e,n,r,o);if(t.cm&&!t.cm.curOp)return pr(t.cm,Hi)(t,e,n,r,o);var s=new yl(t,o),l=j(e,n);if(r&&c(r,s,!1),l>0||0==l&&!1!==s.clearWhenEmpty)return s;if(s.replacedWith&&(s.collapsed=!0,s.widgetNode=i("span",[s.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||s.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(s.widgetNode.insertLeft=!0)),s.collapsed){if(ct(t,e.line,e,n,s)||e.line!=n.line&&ct(t,n.line,e,n,s))throw new Error("Inserting collapsed marker partially overlapping an existing one");K()}s.addToHistory&&ni(t,{from:e,to:n,origin:"markText"},t.sel,NaN);var a,u=e.line,h=t.cm;if(t.iter(u,n.line+1,function(t){h&&s.collapsed&&!h.options.lineWrapping&&ht(t)==h.display.maxLine&&(a=!0),s.collapsed&&u!=e.line&&D(t,0),J(t,new q(s,u==e.line?e.ch:null,u==n.line?n.ch:null)),++u}),s.collapsed&&t.iter(e.line,n.line+1,function(e){mt(t,e)&&D(e,0)}),s.clearOnEnter&&zs(s,"beforeCursorEnter",function(){return s.clear()}),s.readOnly&&(G(),(t.history.done.length||t.history.undone.length)&&t.clearHistory()),s.collapsed&&(s.id=++gl,s.atomic=!0),h){if(a&&(h.curOp.updateMaxLine=!0),s.collapsed)vr(h,e.line,n.line+1);else if(s.className||s.title||s.startStyle||s.endStyle||s.css)for(var p=e.line;p<=n.line;p++)mr(h,p,"text");s.atomic&&xi(h.doc),Se(h,"markerAdded",h,s)}return s}function zi(t,e,n,r,i){r=c(r),r.shared=!1;var o=[Hi(t,e,n,r,i)],s=o[0],l=r.widgetNode;return Yr(t,function(t){l&&(r.widgetNode=l.cloneNode(!0)),o.push(Hi(t,z(t,e),z(t,n),r,i));for(var a=0;a<t.linked.length;++a)if(t.linked[a].isParent)return;s=v(o)}),new bl(o,s)}function Bi(t){return t.findMarks(P(t.first,0),t.clipPos(P(t.lastLine())),function(t){return t.parent})}function Ui(t,e){for(var n=0;n<e.length;n++){var r=e[n],i=r.find(),o=t.clipPos(i.from),s=t.clipPos(i.to);if(j(o,s)){var l=Hi(t,o,s,r.primary,r.primary.type);r.markers.push(l),l.parent=r}}}function Gi(t){for(var e=function(e){var n=t[e],r=[n.primary.doc];Yr(n.primary.doc,function(t){return r.push(t)});for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==p(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}},n=0;n<t.length;n++)e(n)}function Ki(t){var e=this;if(Xi(e),!Mt(e,t)&&!Fe(e.display,t)){Pt(t),os&&(Cl=+new Date);var n=_n(e,t,!0),r=t.dataTransfer.files;if(n&&!e.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),s=0,l=function(t,r){if(!e.options.allowDropFileTypes||-1!=p(e.options.allowDropFileTypes,t.type)){var l=new FileReader;l.onload=pr(e,function(){var t=l.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(t)&&(t=""),o[r]=t,++s==i){n=z(e.doc,n);var a={from:n,to:n,text:e.doc.splitLines(o.join(e.doc.lineSeparator())),origin:"paste"};Ii(e.doc,a),gi(e.doc,Fr(n,Vr(a)))}}),l.readAsText(t)}},a=0;a<i;++a)l(r[a],a);else{if(e.state.draggingText&&e.doc.sel.contains(n)>-1)return e.state.draggingText(t),void setTimeout(function(){return e.display.input.focus()},20);try{var u=t.dataTransfer.getData("Text");if(u){var c;if(e.state.draggingText&&!e.state.draggingText.copy&&(c=e.listSelections()),bi(e.doc,Fr(n,n)),c)for(var h=0;h<c.length;++h)Ai(e.doc,"",c[h].anchor,c[h].head,"drag");e.replaceSelection(u,"around","paste"),e.display.input.focus()}}catch(t){}}}}function qi(t,e){if(os&&(!t.state.draggingText||+new Date-Cl<100))return void Ft(e);if(!Mt(t,e)&&!Fe(t.display,e)&&(e.dataTransfer.setData("Text",t.getSelection()),e.dataTransfer.effectAllowed="copyMove",e.dataTransfer.setDragImage&&!hs)){var n=r("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",cs&&(n.width=n.height=1,t.display.wrapper.appendChild(n),n._top=n.offsetTop),e.dataTransfer.setDragImage(n,0,0),cs&&n.parentNode.removeChild(n)}}function Yi(t,e){var i=_n(t,e);if(i){var o=document.createDocumentFragment();In(t,i,o),t.display.dragCursor||(t.display.dragCursor=r("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),t.display.lineSpace.insertBefore(t.display.dragCursor,t.display.cursorDiv)),n(t.display.dragCursor,o)}}function Xi(t){t.display.dragCursor&&(t.display.lineSpace.removeChild(t.display.dragCursor),t.display.dragCursor=null)}function Ji(t){if(document.body.getElementsByClassName)for(var e=document.body.getElementsByClassName("CodeMirror"),n=0;n<e.length;n++){var r=e[n].CodeMirror;r&&t(r)}}function Zi(){Sl||($i(),Sl=!0)}function $i(){var t;zs(window,"resize",function(){null==t&&(t=setTimeout(function(){t=null,Ji(Qi)},100))}),zs(window,"blur",function(){return Ji(An)})}function Qi(t){var e=t.display;e.lastWrapHeight==e.wrapper.clientHeight&&e.lastWrapWidth==e.wrapper.clientWidth||(e.cachedCharWidth=e.cachedTextHeight=e.cachedPaddingH=null,e.scrollbarsClipped=!1,t.setSize())}function to(t){var e=t.split(/-(?!$)/);t=e[e.length-1];for(var n,r,i,o,s=0;s<e.length-1;s++){var l=e[s];if(/^(cmd|meta|m)$/i.test(l))o=!0;else if(/^a(lt)?$/i.test(l))n=!0;else if(/^(c|ctrl|control)$/i.test(l))r=!0;else{if(!/^s(hift)?$/i.test(l))throw new Error("Unrecognized modifier name: "+l);i=!0}}return n&&(t="Alt-"+t),r&&(t="Ctrl-"+t),o&&(t="Cmd-"+t),i&&(t="Shift-"+t),t}function eo(t){var e={};for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete t[n];continue}for(var i=m(n.split(" "),to),o=0;o<i.length;o++){var s=void 0,l=void 0;o==i.length-1?(l=i.join(" "),s=r):(l=i.slice(0,o+1).join(" "),s="...");var a=e[l];if(a){if(a!=s)throw new Error("Inconsistent bindings for "+l)}else e[l]=s}delete t[n]}for(var u in e)t[u]=e[u];return t}function no(t,e,n,r){e=oo(e);var i=e.call?e.call(t,r):e[t];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&n(i))return"handled";if(e.fallthrough){if("[object Array]"!=Object.prototype.toString.call(e.fallthrough))return no(t,e.fallthrough,n,r);for(var o=0;o<e.fallthrough.length;o++){var s=no(t,e.fallthrough[o],n,r);if(s)return s}}}function ro(t){var e="string"==typeof t?t:_l[t.keyCode];return"Ctrl"==e||"Alt"==e||"Shift"==e||"Mod"==e}function io(t,e){if(cs&&34==t.keyCode&&t.char)return!1;var n=_l[t.keyCode],r=n;return null!=r&&!t.altGraphKey&&(t.altKey&&"Alt"!=n&&(r="Alt-"+r),(Cs?t.metaKey:t.ctrlKey)&&"Ctrl"!=n&&(r="Ctrl-"+r),(Cs?t.ctrlKey:t.metaKey)&&"Cmd"!=n&&(r="Cmd-"+r),!e&&t.shiftKey&&"Shift"!=n&&(r="Shift-"+r),r)}function oo(t){return"string"==typeof t?Il[t]:t}function so(t,e){for(var n=t.doc.sel.ranges,r=[],i=0;i<n.length;i++){for(var o=e(n[i]);r.length&&j(o.from,v(r).to)<=0;){var s=r.pop();if(j(s.from,o.from)<0){o.from=s.from;break}}r.push(o)}hr(t,function(){for(var e=r.length-1;e>=0;e--)Ai(t.doc,"",r[e].from,r[e].to,"+delete");Gn(t)})}function lo(t,e){var n=k(t.doc,e),r=ht(n);return r!=n&&(e=M(r)),Tt(!0,t,r,e,1)}function ao(t,e){var n=k(t.doc,e),r=pt(n);return r!=n&&(e=M(r)),Tt(!0,t,n,e,-1)}function uo(t,e){var n=lo(t,e.line),r=k(t.doc,n.line),i=St(r,t.doc.direction);if(!i||0==i[0].level){var o=Math.max(0,r.text.search(/\S/)),s=e.line==n.line&&e.ch<=o&&e.ch;return P(n.line,s?0:o,n.sticky)}return n}function co(t,e,n){if("string"==typeof e&&!(e=Ml[e]))return!1;t.display.input.ensurePolled();var r=t.display.shift,i=!1;try{t.isReadOnly()&&(t.state.suppressEdits=!0),n&&(t.display.shift=!1),i=e(t)!=Ds}finally{t.display.shift=r,t.state.suppressEdits=!1}return i}function ho(t,e,n){for(var r=0;r<t.state.keyMaps.length;r++){var i=no(e,t.state.keyMaps[r],n,t);if(i)return i}return t.options.extraKeys&&no(e,t.options.extraKeys,n,t)||no(e,t.options.keyMap,n,t)}function po(t,e,n,r){var i=t.state.keySeq;if(i){if(ro(e))return"handled";Nl.set(50,function(){t.state.keySeq==i&&(t.state.keySeq=null,t.display.input.reset())}),e=i+" "+e}var o=ho(t,e,r);return"multi"==o&&(t.state.keySeq=e),"handled"==o&&Se(t,"keyHandled",t,e,n),"handled"!=o&&"multi"!=o||(Pt(n),Dn(t)),i&&!o&&/\'$/.test(e)?(Pt(n),!0):!!o}function fo(t,e){var n=io(e,!0);return!!n&&(e.shiftKey&&!t.state.keySeq?po(t,"Shift-"+n,e,function(e){return co(t,e,!0)})||po(t,n,e,function(e){if("string"==typeof e?/^go[A-Z]/.test(e):e.motion)return co(t,e)}):po(t,n,e,function(e){return co(t,e)}))}function vo(t,e,n){return po(t,"'"+n+"'",e,function(e){return co(t,e,!0)})}function mo(t){var e=this;if(e.curOp.focus=s(),!Mt(e,t)){os&&ss<11&&27==t.keyCode&&(t.returnValue=!1);var n=t.keyCode;e.display.shift=16==n||t.shiftKey;var r=fo(e,t);cs&&(El=r?n:null,!r&&88==n&&!Ks&&(gs?t.metaKey:t.ctrlKey)&&e.replaceSelection("",null,"cut")),18!=n||/\bCodeMirror-crosshair\b/.test(e.display.lineDiv.className)||go(e)}}function go(t){function e(t){18!=t.keyCode&&t.altKey||(_s(n,"CodeMirror-crosshair"),Rt(document,"keyup",e),Rt(document,"mouseover",e))}var n=t.display.lineDiv;l(n,"CodeMirror-crosshair"),zs(document,"keyup",e),zs(document,"mouseover",e)}function yo(t){16==t.keyCode&&(this.doc.sel.shift=!1),Mt(this,t)}function bo(t){var e=this;if(!(Fe(e.display,t)||Mt(e,t)||t.ctrlKey&&!t.altKey||gs&&t.metaKey)){var n=t.keyCode,r=t.charCode;if(cs&&n==El)return El=null,void Pt(t);if(!cs||t.which&&!(t.which<10)||!fo(e,t)){var i=String.fromCharCode(null==r?n:r);"\b"!=i&&(vo(e,t,i)||e.display.input.onKeyPress(t))}}}function wo(t){var e=this,n=e.display;if(!(Mt(e,t)||n.activeTouch&&n.input.supportsTouch())){if(n.input.ensurePolled(),n.shift=t.shiftKey,Fe(n,t))return void(ls||(n.scroller.draggable=!1,setTimeout(function(){return n.scroller.draggable=!0},100)));if(!Oo(e,t)){var r=_n(e,t);switch(window.focus(),Wt(t)){case 1:e.state.selectingText?e.state.selectingText(t):r?xo(e,t,r):Vt(t)==n.scroller&&Pt(t);break;case 2:ls&&(e.state.lastMiddleDown=+new Date),r&&pi(e.doc,r),setTimeout(function(){return n.input.focus()},20),Pt(t);break;case 3:Ss?To(e,t):Nn(e)}}}}function xo(t,e,n){os?setTimeout(u(Mn,t),0):t.curOp.focus=s();var r,i=+new Date;Dl&&Dl.time>i-400&&0==j(Dl.pos,n)?r="triple":Rl&&Rl.time>i-400&&0==j(Rl.pos,n)?(r="double",Dl={time:i,pos:n}):(r="single",Rl={time:i,pos:n});var o,l=t.doc.sel,a=gs?e.metaKey:e.ctrlKey;t.options.dragDrop&&Bs&&!t.isReadOnly()&&"single"==r&&(o=l.contains(n))>-1&&(j((o=l.ranges[o]).from(),n)<0||n.xRel>0)&&(j(o.to(),n)>0||n.xRel<0)?Co(t,e,n,a):So(t,e,n,r,a)}function Co(t,e,n,r){var i=t.display,o=!1,s=pr(t,function(e){ls&&(i.scroller.draggable=!1),t.state.draggingText=!1,Rt(document,"mouseup",s),Rt(document,"mousemove",l),Rt(i.scroller,"dragstart",a),Rt(i.scroller,"drop",s),o||(Pt(e),r||pi(t.doc,n),ls||os&&9==ss?setTimeout(function(){document.body.focus(),i.input.focus()},20):i.input.focus())}),l=function(t){o=o||Math.abs(e.clientX-t.clientX)+Math.abs(e.clientY-t.clientY)>=10},a=function(){return o=!0};ls&&(i.scroller.draggable=!0),t.state.draggingText=s,s.copy=gs?e.altKey:e.ctrlKey,i.scroller.dragDrop&&i.scroller.dragDrop(),zs(document,"mouseup",s),zs(document,"mousemove",l),zs(i.scroller,"dragstart",a),zs(i.scroller,"drop",s),Nn(t),setTimeout(function(){return i.input.focus()},20)}function So(t,e,n,r,i){function o(e){if(0!=j(b,e))if(b=e,"rect"==r){for(var i=[],o=t.options.tabSize,s=h(k(c,n.line).text,n.ch,o),l=h(k(c,e.line).text,e.ch,o),a=Math.min(s,l),u=Math.max(s,l),m=Math.min(n.line,e.line),g=Math.min(t.lastLine(),Math.max(n.line,e.line));m<=g;m++){var y=k(c,m).text,w=d(y,a,o);a==u?i.push(new dl(P(m,w),P(m,w))):y.length>w&&i.push(new dl(P(m,w),P(m,d(y,u,o))))}i.length||i.push(new dl(n,n)),yi(c,Lr(v.ranges.slice(0,f).concat(i),f),{origin:"*mouse",scroll:!1}),t.scrollIntoView(e)}else{var x=p,C=x.anchor,S=e;if("single"!=r){var _;_="double"==r?t.findWordAt(e):new dl(P(e.line,0),z(c,P(e.line+1,0))),j(_.anchor,C)>0?(S=_.head,C=W(x.from(),_.anchor)):(S=_.anchor,C=V(x.to(),_.head))}var O=v.ranges.slice(0);O[f]=new dl(z(c,C),S),yi(c,Lr(O,f),Ns)}}function l(e){var n=++x,i=_n(t,e,!0,"rect"==r);if(i)if(0!=j(i,b)){t.curOp.focus=s(),o(i);var a=Ln(u,c);(i.line>=a.to||i.line<a.from)&&setTimeout(pr(t,function(){x==n&&l(e)}),150)}else{var h=e.clientY<w.top?-20:e.clientY>w.bottom?20:0;h&&setTimeout(pr(t,function(){x==n&&(u.scroller.scrollTop+=h,l(e))}),50)}}function a(e){t.state.selectingText=!1,x=1/0,Pt(e),u.input.focus(),Rt(document,"mousemove",C),Rt(document,"mouseup",S),c.history.lastSelOrigin=null}var u=t.display,c=t.doc;Pt(e);var p,f,v=c.sel,m=v.ranges;if(i&&!e.shiftKey?(f=c.sel.contains(n),p=f>-1?m[f]:new dl(n,n)):(p=c.sel.primary(),f=c.sel.primIndex),ys?e.shiftKey&&e.metaKey:e.altKey)r="rect",i||(p=new dl(n,n)),n=_n(t,e,!0,!0),f=-1;else if("double"==r){var g=t.findWordAt(n);p=t.display.shift||c.extend?hi(c,p,g.anchor,g.head):g}else if("triple"==r){var y=new dl(P(n.line,0),z(c,P(n.line+1,0)));p=t.display.shift||c.extend?hi(c,p,y.anchor,y.head):y}else p=hi(c,p,n);i?-1==f?(f=m.length,yi(c,Lr(m.concat([p]),f),{scroll:!1,origin:"*mouse"})):m.length>1&&m[f].empty()&&"single"==r&&!e.shiftKey?(yi(c,Lr(m.slice(0,f).concat(m.slice(f+1)),0),{scroll:!1,origin:"*mouse"}),v=c.sel):fi(c,f,p,Ns):(f=0,yi(c,new pl([p],0),Ns),v=c.sel);var b=n,w=u.wrapper.getBoundingClientRect(),x=0,C=pr(t,function(t){Wt(t)?l(t):a(t)}),S=pr(t,a);t.state.selectingText=S,zs(document,"mousemove",C),zs(document,"mouseup",S)}function _o(t,e,n,r){var i,o;try{i=e.clientX,o=e.clientY}catch(e){return!1}if(i>=Math.floor(t.display.gutters.getBoundingClientRect().right))return!1;r&&Pt(e);var s=t.display,l=s.lineDiv.getBoundingClientRect();if(o>l.bottom||!Et(t,n))return Lt(e);o-=l.top-s.viewOffset;for(var a=0;a<t.options.gutters.length;++a){var u=s.gutters.childNodes[a];if(u&&u.getBoundingClientRect().right>=i){return Dt(t,n,t,N(t.doc,o),t.options.gutters[a],e),Lt(e)}}}function Oo(t,e){return _o(t,e,"gutterClick",!0)}function To(t,e){Fe(t.display,e)||ko(t,e)||Mt(t,e,"contextmenu")||t.display.input.onContextMenu(e)}function ko(t,e){return!!Et(t,"gutterContextMenu")&&_o(t,e,"gutterContextMenu",!1)}function Io(t){t.display.wrapper.className=t.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+t.options.theme.replace(/(^|\s)\s*/g," cm-s-"),on(t)}function Ro(t){function e(e,r,i,o){t.defaults[e]=r,i&&(n[e]=o?function(t,e,n){n!=Al&&i(t,e,n)}:i)}var n=t.optionHandlers;t.defineOption=e,t.Init=Al,e("value","",function(t,e){return t.setValue(e)},!0),e("mode",null,function(t,e){t.doc.modeOption=e,Ur(t)},!0),e("indentUnit",2,Ur,!0),e("indentWithTabs",!1),e("smartIndent",!0),e("tabSize",4,function(t){Gr(t),on(t),vr(t)},!0),e("lineSeparator",null,function(t,e){if(t.doc.lineSep=e,e){var n=[],r=t.doc.first;t.doc.iter(function(t){for(var i=0;;){var o=t.text.indexOf(e,i);if(-1==o)break;i=o+e.length,n.push(P(r,o))}r++});for(var i=n.length-1;i>=0;i--)Ai(t.doc,e,n[i],P(n[i].line,n[i].ch+e.length))}}),e("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(t,e,n){t.state.specialChars=new RegExp(e.source+(e.test("\t")?"":"|\t"),"g"),n!=Al&&t.refresh()}),e("specialCharPlaceholder",pe,function(t){return t.refresh()},!0),e("electricChars",!0),e("inputStyle",ms?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),e("spellcheck",!1,function(t,e){return t.getInputField().spellcheck=e},!0),e("rtlMoveVisually",!bs),e("wholeLineUpdateBefore",!0),e("theme","default",function(t){Io(t),Do(t)},!0),e("keyMap","default",function(t,e,n){var r=oo(e),i=n!=Al&&oo(n);i&&i.detach&&i.detach(t,r),r.attach&&r.attach(t,i||null)}),e("extraKeys",null),e("lineWrapping",!1,No,!0),e("gutters",[],function(t){Er(t.options),Do(t)},!0),e("fixedGutter",!0,function(t,e){t.display.gutters.style.left=e?xn(t.display)+"px":"0",t.refresh()},!0),e("coverGutterNextToScrollbar",!1,function(t){return tr(t)},!0),e("scrollbarStyle","native",function(t){nr(t),tr(t),t.display.scrollbars.setScrollTop(t.doc.scrollTop),t.display.scrollbars.setScrollLeft(t.doc.scrollLeft)},!0),e("lineNumbers",!1,function(t){Er(t.options),Do(t)},!0),e("firstLineNumber",1,Do,!0),e("lineNumberFormatter",function(t){return t},Do,!0),e("showCursorWhenSelecting",!1,Tn,!0),e("resetSelectionOnContextMenu",!0),e("lineWiseCopyCut",!0),e("readOnly",!1,function(t,e){"nocursor"==e?(An(t),t.display.input.blur(),t.display.disabled=!0):t.display.disabled=!1,t.display.input.readOnlyChanged(e)}),e("disableInput",!1,function(t,e){e||t.display.input.reset()},!0),e("dragDrop",!0,Mo),e("allowDropFileTypes",null),e("cursorBlinkRate",530),e("cursorScrollMargin",0),e("cursorHeight",1,Tn,!0),e("singleCursorHeightPerLine",!0,Tn,!0),e("workTime",100),e("workDelay",100),e("flattenSpans",!0,Gr,!0),e("addModeClass",!1,Gr,!0),e("pollInterval",100),e("undoDepth",200,function(t,e){return t.doc.history.undoDepth=e}),e("historyEventDelay",1250),e("viewportMargin",10,function(t){return t.refresh()},!0),e("maxHighlightLength",1e4,Gr,!0),e("moveInputWithCursor",!0,function(t,e){e||t.display.input.resetPosition()}),e("tabindex",null,function(t,e){return t.display.input.getField().tabIndex=e||""}),e("autofocus",null),e("direction","ltr",function(t,e){return t.doc.setDirection(e)},!0)}function Do(t){Nr(t),vr(t),Fn(t)}function Mo(t,e,n){if(!e!=!(n&&n!=Al)){var r=t.display.dragFunctions,i=e?zs:Rt;i(t.display.scroller,"dragstart",r.start),i(t.display.scroller,"dragenter",r.enter),i(t.display.scroller,"dragover",r.over),i(t.display.scroller,"dragleave",r.leave),i(t.display.scroller,"drop",r.drop)}}function No(t){t.options.lineWrapping?(l(t.display.wrapper,"CodeMirror-wrap"),t.display.sizer.style.minWidth="",t.display.sizerWidth=null):(_s(t.display.wrapper,"CodeMirror-wrap"),wt(t)),Sn(t),vr(t),on(t),setTimeout(function(){return tr(t)},100)}function Eo(t,e){var n=this;if(!(this instanceof Eo))return new Eo(t,e);this.options=e=e?c(e):{},c(Pl,e,!1),Er(e);var r=e.value;"string"==typeof r&&(r=new xl(r,e.mode,null,e.lineSeparator,e.direction)),this.doc=r;var i=new Eo.inputStyles[e.inputStyle](this),o=this.display=new T(t,r,i);o.wrapper.CodeMirror=this,Nr(this),Io(this),e.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),nr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new Ts,keySeq:null,specialChars:null},e.autofocus&&!ms&&o.input.focus(),os&&ss<11&&setTimeout(function(){return n.display.input.reset(!0)},20),Ao(this),Zi(),rr(this),this.curOp.forceUpdate=!0,Xr(this,r),e.autofocus&&!ms||this.hasFocus()?setTimeout(u(En,this),20):An(this);for(var s in jl)jl.hasOwnProperty(s)&&jl[s](n,e[s],Al);Vn(this),e.finishInit&&e.finishInit(this);for(var l=0;l<Ll.length;++l)Ll[l](n);ir(this),ls&&e.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}function Ao(t){function e(){i.activeTouch&&(o=setTimeout(function(){return i.activeTouch=null},1e3),s=i.activeTouch,s.end=+new Date)}function n(t){if(1!=t.touches.length)return!1;var e=t.touches[0];return e.radiusX<=1&&e.radiusY<=1}function r(t,e){if(null==e.left)return!0;var n=e.left-t.left,r=e.top-t.top;return n*n+r*r>400}var i=t.display;zs(i.scroller,"mousedown",pr(t,wo)),os&&ss<11?zs(i.scroller,"dblclick",pr(t,function(e){if(!Mt(t,e)){var n=_n(t,e);if(n&&!Oo(t,e)&&!Fe(t.display,e)){Pt(e);var r=t.findWordAt(n);pi(t.doc,r.anchor,r.head)}}})):zs(i.scroller,"dblclick",function(e){return Mt(t,e)||Pt(e)}),Ss||zs(i.scroller,"contextmenu",function(e){return To(t,e)});var o,s={end:0};zs(i.scroller,"touchstart",function(e){if(!Mt(t,e)&&!n(e)){i.input.ensurePolled(),clearTimeout(o);var r=+new Date;i.activeTouch={start:r,moved:!1,prev:r-s.end<=300?s:null},1==e.touches.length&&(i.activeTouch.left=e.touches[0].pageX,i.activeTouch.top=e.touches[0].pageY)}}),zs(i.scroller,"touchmove",function(){i.activeTouch&&(i.activeTouch.moved=!0)}),zs(i.scroller,"touchend",function(n){var o=i.activeTouch;if(o&&!Fe(i,n)&&null!=o.left&&!o.moved&&new Date-o.start<300){var s,l=t.coordsChar(i.activeTouch,"page");s=!o.prev||r(o,o.prev)?new dl(l,l):!o.prev.prev||r(o,o.prev.prev)?t.findWordAt(l):new dl(P(l.line,0),z(t.doc,P(l.line+1,0))),t.setSelection(s.anchor,s.head),t.focus(),Pt(n)}e()}),zs(i.scroller,"touchcancel",e),zs(i.scroller,"scroll",function(){i.scroller.clientHeight&&(Jn(t,i.scroller.scrollTop),$n(t,i.scroller.scrollLeft,!0),Dt(t,"scroll",t))}),zs(i.scroller,"mousewheel",function(e){return jr(t,e)}),zs(i.scroller,"DOMMouseScroll",function(e){return jr(t,e)}),zs(i.wrapper,"scroll",function(){return i.wrapper.scrollTop=i.wrapper.scrollLeft=0}),i.dragFunctions={enter:function(e){Mt(t,e)||Ft(e)},over:function(e){Mt(t,e)||(Yi(t,e),Ft(e))},start:function(e){return qi(t,e)},drop:pr(t,Ki),leave:function(e){Mt(t,e)||Xi(t)}};var l=i.input.getField();zs(l,"keyup",function(e){return yo.call(t,e)}),zs(l,"keydown",pr(t,mo)),zs(l,"keypress",pr(t,bo)),zs(l,"focus",function(e){return En(t,e)}),zs(l,"blur",function(e){return An(t,e)})}function Po(t,e,n,r){var i,o=t.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=te(t,e):n="prev");var s=t.options.tabSize,l=k(o,e),a=h(l.text,null,s);l.stateAfter&&(l.stateAfter=null);var u,c=l.text.match(/^\s*/)[0];if(r||/\S/.test(l.text)){if("smart"==n&&((u=o.mode.indent(i,l.text.slice(c.length),l.text))==Ds||u>150)){if(!r)return;n="prev"}}else u=0,n="not";"prev"==n?u=e>o.first?h(k(o,e-1).text,null,s):0:"add"==n?u=a+t.options.indentUnit:"subtract"==n?u=a-t.options.indentUnit:"number"==typeof n&&(u=a+n),u=Math.max(0,u);var p="",d=0;if(t.options.indentWithTabs)for(var v=Math.floor(u/s);v;--v)d+=s,p+="\t";if(d<u&&(p+=f(u-d)),p!=c)return Ai(o,p,P(e,0),P(e,c.length),"+input"),l.stateAfter=null,!0;for(var m=0;m<o.sel.ranges.length;m++){var g=o.sel.ranges[m];if(g.head.line==e&&g.head.ch<c.length){var y=P(e,c.length);fi(o,m,new dl(y,y));break}}}function jo(t){Fl=t}function Lo(t,e,n,r,i){var o=t.doc;t.display.shift=!1,r||(r=o.sel);var s=t.state.pasteIncoming||"paste"==i,l=Us(e),a=null;if(s&&r.ranges.length>1)if(Fl&&Fl.text.join("\n")==e){if(r.ranges.length%Fl.text.length==0){a=[];for(var u=0;u<Fl.text.length;u++)a.push(o.splitLines(Fl.text[u]))}}else l.length==r.ranges.length&&(a=m(l,function(t){return[t]}));for(var c,h=r.ranges.length-1;h>=0;h--){var p=r.ranges[h],d=p.from(),f=p.to();p.empty()&&(n&&n>0?d=P(d.line,d.ch-n):t.state.overwrite&&!s?f=P(f.line,Math.min(k(o,f.line).text.length,f.ch+v(l).length)):Fl&&Fl.lineWise&&Fl.text.join("\n")==e&&(d=f=P(d.line,0))),c=t.curOp.updateInput;var g={from:d,to:f,text:a?a[h%a.length]:l,origin:i||(s?"paste":t.state.cutIncoming?"cut":"+input")};Ii(t.doc,g),Se(t,"inputRead",t,g)}e&&!s&&Vo(t,e),Gn(t),t.curOp.updateInput=c,t.curOp.typing=!0,t.state.pasteIncoming=t.state.cutIncoming=!1}function Fo(t,e){var n=t.clipboardData&&t.clipboardData.getData("Text");if(n)return t.preventDefault(),e.isReadOnly()||e.options.disableInput||hr(e,function(){return Lo(e,n,0,null,"paste")}),!0}function Vo(t,e){if(t.options.electricChars&&t.options.smartIndent)for(var n=t.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=t.getModeAt(i.head),s=!1;if(o.electricChars){for(var l=0;l<o.electricChars.length;l++)if(e.indexOf(o.electricChars.charAt(l))>-1){s=Po(t,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(k(t.doc,i.head.line).text.slice(0,i.head.ch))&&(s=Po(t,i.head.line,"smart"));s&&Se(t,"electricInput",t,i.head.line)}}}function Wo(t){for(var e=[],n=[],r=0;r<t.doc.sel.ranges.length;r++){var i=t.doc.sel.ranges[r].head.line,o={anchor:P(i,0),head:P(i+1,0)};n.push(o),e.push(t.getRange(o.anchor,o.head))}return{text:e,ranges:n}}function Ho(t,e){t.setAttribute("autocorrect","off"),t.setAttribute("autocapitalize","off"),t.setAttribute("spellcheck",!!e)}function zo(){var t=r("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),e=r("div",[t],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return ls?t.style.width="1000px":t.setAttribute("wrap","off"),fs&&(t.style.border="1px solid black"),Ho(t),e}function Bo(t,e,n,r,i){function o(){var r=e.line+n;return!(r<t.first||r>=t.first+t.size)&&(e=new P(r,e.ch,e.sticky),u=k(t,r))}function s(r){var s;if(null==(s=i?kt(t.cm,u,e,n):Ot(u,e,n))){if(r||!o())return!1;e=Tt(i,t.cm,u,e.line,n)}else e=s;return!0}var l=e,a=n,u=k(t,e.line);if("char"==r)s();else if("column"==r)s(!0);else if("word"==r||"group"==r)for(var c=null,h="group"==r,p=t.cm&&t.cm.getHelper(e,"wordChars"),d=!0;!(n<0)||s(!d);d=!1){var f=u.text.charAt(e.ch)||"\n",v=x(f,p)?"w":h&&"\n"==f?"n":!h||/\s/.test(f)?null:"p";if(!h||d||v||(v="s"),c&&c!=v){n<0&&(n=1,s(),e.sticky="after");break}if(v&&(c=v),n>0&&!s(!d))break}var m=_i(t,e,l,a,!0);return L(l,m)&&(m.hitSide=!0),m}function Uo(t,e,n,r){var i,o=t.doc,s=e.left;if("page"==r){var l=Math.min(t.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),a=Math.max(l-.5*yn(t.display),3);i=(n>0?e.bottom:e.top)+n*a}else"line"==r&&(i=n>0?e.bottom+3:e.top-3);for(var u;u=fn(t,s,i),u.outside;){if(n<0?i<=0:i>=o.height){u.hitSide=!0;break}i+=5*n}return u}function Go(t,e){var n=Xe(t,e.line);if(!n||n.hidden)return null;var r=k(t.doc,e.line),i=Ke(n,r,e.line),o=St(r,t.doc.direction),s="left";if(o){s=Ct(o,e.ch)%2?"right":"left"}var l=$e(i.map,e.ch,s);return l.offset="right"==l.collapse?l.end:l.start,l}function Ko(t){for(var e=t;e;e=e.parentNode)if(/CodeMirror-gutter-wrapper/.test(e.className))return!0;return!1}function qo(t,e){return e&&(t.bad=!0),t}function Yo(t,e,n,r,i){function o(t){return function(e){return e.id==t}}function s(){c&&(u+=h,c=!1)}function l(t){t&&(s(),u+=t)}function a(e){if(1==e.nodeType){var n=e.getAttribute("cm-text");if(null!=n)return void l(n||e.textContent.replace(/\u200b/g,""));var u,p=e.getAttribute("cm-marker");if(p){var d=t.findMarks(P(r,0),P(i+1,0),o(+p));return void(d.length&&(u=d[0].find())&&l(I(t.doc,u.from,u.to).join(h)))}if("false"==e.getAttribute("contenteditable"))return;var f=/^(pre|div|p)$/i.test(e.nodeName);f&&s();for(var v=0;v<e.childNodes.length;v++)a(e.childNodes[v]);f&&(c=!0)}else 3==e.nodeType&&l(e.nodeValue)}for(var u="",c=!1,h=t.doc.lineSeparator();a(e),e!=n;)e=e.nextSibling;return u}function Xo(t,e,n){var r;if(e==t.display.lineDiv){if(!(r=t.display.lineDiv.childNodes[n]))return qo(t.clipPos(P(t.display.viewTo-1)),!0);e=null,n=0}else for(r=e;;r=r.parentNode){if(!r||r==t.display.lineDiv)return null;if(r.parentNode&&r.parentNode==t.display.lineDiv)break}for(var i=0;i<t.display.view.length;i++){var o=t.display.view[i];if(o.node==r)return Jo(o,e,n)}}function Jo(t,e,n){function r(e,n,r){for(var i=-1;i<(h?h.length:0);i++)for(var o=i<0?c.map:h[i],s=0;s<o.length;s+=3){var l=o[s+2];if(l==e||l==n){var a=M(i<0?t.line:t.rest[i]),u=o[s]+r;return(r<0||l!=e)&&(u=o[s+(r?1:0)]),P(a,u)}}}var i=t.text.firstChild,s=!1;if(!e||!o(i,e))return qo(P(M(t.line),0),!0);if(e==i&&(s=!0,e=i.childNodes[n],n=0,!e)){var l=t.rest?v(t.rest):t.line;return qo(P(M(l),l.text.length),s)}var a=3==e.nodeType?e:null,u=e;for(a||1!=e.childNodes.length||3!=e.firstChild.nodeType||(a=e.firstChild,n&&(n=a.nodeValue.length));u.parentNode!=i;)u=u.parentNode;var c=t.measure,h=c.maps,p=r(a,u,n);if(p)return qo(p,s);for(var d=u.nextSibling,f=a?a.nodeValue.length-n:0;d;d=d.nextSibling){if(p=r(d,d.firstChild,0))return qo(P(p.line,p.ch-f),s);f+=d.textContent.length}for(var m=u.previousSibling,g=n;m;m=m.previousSibling){if(p=r(m,m.firstChild,-1))return qo(P(p.line,p.ch+g),s);g+=m.textContent.length}}function Zo(t,e){function n(){t.value=a.getValue()}if(e=e?c(e):{},e.value=t.value,!e.tabindex&&t.tabIndex&&(e.tabindex=t.tabIndex),!e.placeholder&&t.placeholder&&(e.placeholder=t.placeholder),null==e.autofocus){var r=s();e.autofocus=r==t||null!=t.getAttribute("autofocus")&&r==document.body}var i;if(t.form&&(zs(t.form,"submit",n),!e.leaveSubmitMethodAlone)){var o=t.form;i=o.submit;try{var l=o.submit=function(){n(),o.submit=i,o.submit(),o.submit=l}}catch(t){}}e.finishInit=function(e){e.save=n,e.getTextArea=function(){return t},e.toTextArea=function(){e.toTextArea=isNaN,n(),t.parentNode.removeChild(e.getWrapperElement()),t.style.display="",t.form&&(Rt(t.form,"submit",n),"function"==typeof t.form.submit&&(t.form.submit=i))}},t.style.display="none";var a=Eo(function(e){return t.parentNode.insertBefore(e,t.nextSibling)},e);return a}function $o(t){t.off=Rt,t.on=zs,t.wheelEventPixels=Pr,t.Doc=xl,t.splitLines=Us,t.countColumn=h,t.findColumn=d,t.isWordChar=w,t.Pass=Ds,t.signal=Dt,t.Line=$s,t.changeEnd=Vr,t.scrollbarModel=ll,t.Pos=P,t.cmpPos=j,t.modes=Ys,t.mimeModes=Xs,t.resolveMode=Kt,t.getMode=qt,t.modeExtensions=Js,t.extendMode=Yt,t.copyState=Xt,t.startState=Zt,t.innerMode=Jt,t.commands=Ml,t.keyMap=Il,t.keyName=io,t.isModifierKey=ro,t.lookupKey=no,t.normalizeKeyMap=eo,t.StringStream=Zs,t.SharedTextMarker=bl,t.TextMarker=yl,t.LineWidget=ml,t.e_preventDefault=Pt,t.e_stopPropagation=jt,t.e_stop=Ft,t.addClass=l,t.contains=o,t.rmClass=_s,t.keyNames=_l}var Qo=navigator.userAgent,ts=navigator.platform,es=/gecko\/\d/i.test(Qo),ns=/MSIE \d/.test(Qo),rs=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Qo),is=/Edge\/(\d+)/.exec(Qo),os=ns||rs||is,ss=os&&(ns?document.documentMode||6:+(is||rs)[1]),ls=!is&&/WebKit\//.test(Qo),as=ls&&/Qt\/\d+\.\d+/.test(Qo),us=!is&&/Chrome\//.test(Qo),cs=/Opera\//.test(Qo),hs=/Apple Computer/.test(navigator.vendor),ps=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Qo),ds=/PhantomJS/.test(Qo),fs=!is&&/AppleWebKit/.test(Qo)&&/Mobile\/\w+/.test(Qo),vs=/Android/.test(Qo),ms=fs||vs||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Qo),gs=fs||/Mac/.test(ts),ys=/\bCrOS\b/.test(Qo),bs=/win/i.test(ts),ws=cs&&Qo.match(/Version\/(\d*\.\d*)/);ws&&(ws=Number(ws[1])),ws&&ws>=15&&(cs=!1,ls=!0);var xs,Cs=gs&&(as||cs&&(null==ws||ws<12.11)),Ss=es||os&&ss>=9,_s=function(e,n){var r=e.className,i=t(n).exec(r);if(i){var o=r.slice(i.index+i[0].length);e.className=r.slice(0,i.index)+(o?i[1]+o:"")}};xs=document.createRange?function(t,e,n,r){var i=document.createRange();return i.setEnd(r||t,n),i.setStart(t,e),i}:function(t,e,n){var r=document.body.createTextRange();try{r.moveToElementText(t.parentNode)}catch(t){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",e),r};var Os=function(t){t.select()};fs?Os=function(t){t.selectionStart=0,t.selectionEnd=t.value.length}:os&&(Os=function(t){try{t.select()}catch(t){}});var Ts=function(){this.id=null};Ts.prototype.set=function(t,e){clearTimeout(this.id),this.id=setTimeout(e,t)};var ks,Is,Rs=30,Ds={toString:function(){return"CodeMirror.Pass"}},Ms={scroll:!1},Ns={origin:"*mouse"},Es={origin:"+move"},As=[""],Ps=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,js=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/,Ls=!1,Fs=!1,Vs=null,Ws=function(){function t(t){return t<=247?n.charAt(t):1424<=t&&t<=1524?"R":1536<=t&&t<=1785?r.charAt(t-1536):1774<=t&&t<=2220?"r":8192<=t&&t<=8203?"w":8204==t?"b":"L"}function e(t,e,n){this.level=t,this.from=e,this.to=n}var n="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",r="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111",i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,o=/[stwN]/,s=/[LRr]/,l=/[Lb1n]/,a=/[1n]/;return function(n,r){var u="ltr"==r?"L":"R";if(0==n.length||"ltr"==r&&!i.test(n))return!1;for(var c=n.length,h=[],p=0;p<c;++p)h.push(t(n.charCodeAt(p)));for(var d=0,f=u;d<c;++d){var m=h[d];"m"==m?h[d]=f:f=m}for(var g=0,y=u;g<c;++g){var b=h[g];"1"==b&&"r"==y?h[g]="n":s.test(b)&&(y=b,"r"==b&&(h[g]="R"))}for(var w=1,x=h[0];w<c-1;++w){var C=h[w];"+"==C&&"1"==x&&"1"==h[w+1]?h[w]="1":","!=C||x!=h[w+1]||"1"!=x&&"n"!=x||(h[w]=x),x=C}for(var S=0;S<c;++S){var _=h[S];if(","==_)h[S]="N";else if("%"==_){var O=void 0;for(O=S+1;O<c&&"%"==h[O];++O);for(var T=S&&"!"==h[S-1]||O<c&&"1"==h[O]?"1":"N",k=S;k<O;++k)h[k]=T;S=O-1}}for(var I=0,R=u;I<c;++I){var D=h[I];"L"==R&&"1"==D?h[I]="L":s.test(D)&&(R=D)}for(var M=0;M<c;++M)if(o.test(h[M])){var N=void 0;for(N=M+1;N<c&&o.test(h[N]);++N);for(var E="L"==(M?h[M-1]:u),A="L"==(N<c?h[N]:u),P=E==A?E?"L":"R":u,j=M;j<N;++j)h[j]=P;M=N-1}for(var L,F=[],V=0;V<c;)if(l.test(h[V])){var W=V;for(++V;V<c&&l.test(h[V]);++V);F.push(new e(0,W,V))}else{var H=V,z=F.length;for(++V;V<c&&"L"!=h[V];++V);for(var B=H;B<V;)if(a.test(h[B])){H<B&&F.splice(z,0,new e(1,H,B));var U=B;for(++B;B<V&&a.test(h[B]);++B);F.splice(z,0,new e(2,U,B)),H=B}else++B;H<V&&F.splice(z,0,new e(1,H,V))}return 1==F[0].level&&(L=n.match(/^\s+/))&&(F[0].from=L[0].length,F.unshift(new e(0,0,L[0].length))),1==v(F).level&&(L=n.match(/\s+$/))&&(v(F).to-=L[0].length,F.push(new e(0,c-L[0].length,c))),"rtl"==r?F.reverse():F}}(),Hs=[],zs=function(t,e,n){if(t.addEventListener)t.addEventListener(e,n,!1);else if(t.attachEvent)t.attachEvent("on"+e,n);else{var r=t._handlers||(t._handlers={});r[e]=(r[e]||Hs).concat(n)}},Bs=function(){if(os&&ss<9)return!1;var t=r("div");return"draggable"in t||"dragDrop"in t}(),Us=3!="\n\nb".split(/\n/).length?function(t){for(var e=0,n=[],r=t.length;e<=r;){var i=t.indexOf("\n",e);-1==i&&(i=t.length);var o=t.slice(e,"\r"==t.charAt(i-1)?i-1:i),s=o.indexOf("\r");-1!=s?(n.push(o.slice(0,s)),e+=s+1):(n.push(o),e=i+1)}return n}:function(t){return t.split(/\r\n?|\n/)},Gs=window.getSelection?function(t){try{return t.selectionStart!=t.selectionEnd}catch(t){return!1}}:function(t){var e;try{e=t.ownerDocument.selection.createRange()}catch(t){}return!(!e||e.parentElement()!=t)&&0!=e.compareEndPoints("StartToEnd",e)},Ks=function(){var t=r("div");return"oncopy"in t||(t.setAttribute("oncopy","return;"),"function"==typeof t.oncopy)}(),qs=null,Ys={},Xs={},Js={},Zs=function(t,e){this.pos=this.start=0,this.string=t,this.tabSize=e||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0};Zs.prototype.eol=function(){return this.pos>=this.string.length},Zs.prototype.sol=function(){return this.pos==this.lineStart},Zs.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Zs.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Zs.prototype.eat=function(t){var e=this.string.charAt(this.pos);if("string"==typeof t?e==t:e&&(t.test?t.test(e):t(e)))return++this.pos,e},Zs.prototype.eatWhile=function(t){for(var e=this.pos;this.eat(t););return this.pos>e},Zs.prototype.eatSpace=function(){for(var t=this,e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++t.pos;return this.pos>e},Zs.prototype.skipToEnd=function(){this.pos=this.string.length},Zs.prototype.skipTo=function(t){var e=this.string.indexOf(t,this.pos);if(e>-1)return this.pos=e,!0},Zs.prototype.backUp=function(t){this.pos-=t},Zs.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=h(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?h(this.string,this.lineStart,this.tabSize):0)},Zs.prototype.indentation=function(){return h(this.string,null,this.tabSize)-(this.lineStart?h(this.string,this.lineStart,this.tabSize):0)},Zs.prototype.match=function(t,e,n){if("string"!=typeof t){var r=this.string.slice(this.pos).match(t);return r&&r.index>0?null:(r&&!1!==e&&(this.pos+=r[0].length),r)}var i=function(t){return n?t.toLowerCase():t};if(i(this.string.substr(this.pos,t.length))==i(t))return!1!==e&&(this.pos+=t.length),!0},Zs.prototype.current=function(){return this.string.slice(this.start,this.pos)},Zs.prototype.hideFirstChars=function(t,e){this.lineStart+=t;try{return e()}finally{this.lineStart-=t}};var $s=function(t,e,n){this.text=t,rt(this,e),this.height=n?n(this):1};$s.prototype.lineNo=function(){return M(this)},At($s);var Qs,tl={},el={},nl=null,rl=null,il={left:0,right:0,top:0,bottom:0},ol=function(t,e,n){this.cm=n;var i=this.vert=r("div",[r("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),o=this.horiz=r("div",[r("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");t(i),t(o),zs(i,"scroll",function(){i.clientHeight&&e(i.scrollTop,"vertical")}),zs(o,"scroll",function(){o.clientWidth&&e(o.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,os&&ss<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ol.prototype.update=function(t){var e=t.scrollWidth>t.clientWidth+1,n=t.scrollHeight>t.clientHeight+1,r=t.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=e?r+"px":"0";var i=t.viewHeight-(e?r:0);this.vert.firstChild.style.height=Math.max(0,t.scrollHeight-t.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(e){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=t.barLeft+"px";var o=t.viewWidth-t.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,t.scrollWidth-t.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&t.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:e?r:0}},ol.prototype.setScrollLeft=function(t){this.horiz.scrollLeft!=t&&(this.horiz.scrollLeft=t),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ol.prototype.setScrollTop=function(t){this.vert.scrollTop!=t&&(this.vert.scrollTop=t),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ol.prototype.zeroWidthHack=function(){var t=gs&&!ps?"12px":"18px";this.horiz.style.height=this.vert.style.width=t,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ts,this.disableVert=new Ts},ol.prototype.enableZeroWidthBar=function(t,e,n){function r(){var i=t.getBoundingClientRect();("vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=t?t.style.pointerEvents="none":e.set(1e3,r)}t.style.pointerEvents="auto",e.set(1e3,r)},ol.prototype.clear=function(){var t=this.horiz.parentNode;t.removeChild(this.horiz),t.removeChild(this.vert)};var sl=function(){};sl.prototype.update=function(){return{bottom:0,right:0}},sl.prototype.setScrollLeft=function(){},sl.prototype.setScrollTop=function(){},sl.prototype.clear=function(){};var ll={native:ol,null:sl},al=0,ul=function(t,e,n){var r=t.display;this.viewport=e,this.visible=Ln(r,t.doc,e),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Be(t),this.force=n,this.dims=wn(t),this.events=[]};ul.prototype.signal=function(t,e){Et(t,e)&&this.events.push(arguments)},ul.prototype.finish=function(){for(var t=this,e=0;e<this.events.length;e++)Dt.apply(null,t.events[e])};var cl=0,hl=null;os?hl=-.53:es?hl=15:us?hl=-.7:hs&&(hl=-1/3);var pl=function(t,e){this.ranges=t,this.primIndex=e};pl.prototype.primary=function(){return this.ranges[this.primIndex]},pl.prototype.equals=function(t){var e=this;if(t==this)return!0;if(t.primIndex!=this.primIndex||t.ranges.length!=this.ranges.length)return!1;for(var n=0;n<this.ranges.length;n++){var r=e.ranges[n],i=t.ranges[n];if(!L(r.anchor,i.anchor)||!L(r.head,i.head))return!1}return!0},pl.prototype.deepCopy=function(){for(var t=this,e=[],n=0;n<this.ranges.length;n++)e[n]=new dl(F(t.ranges[n].anchor),F(t.ranges[n].head));return new pl(e,this.primIndex)},pl.prototype.somethingSelected=function(){for(var t=this,e=0;e<this.ranges.length;e++)if(!t.ranges[e].empty())return!0;return!1},pl.prototype.contains=function(t,e){var n=this;e||(e=t);for(var r=0;r<this.ranges.length;r++){var i=n.ranges[r];if(j(e,i.from())>=0&&j(t,i.to())<=0)return r}return-1};var dl=function(t,e){this.anchor=t,this.head=e};dl.prototype.from=function(){return W(this.anchor,this.head)},dl.prototype.to=function(){return V(this.anchor,this.head)},dl.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};var fl=function(t){var e=this;this.lines=t,this.parent=null;for(var n=0,r=0;r<t.length;++r)t[r].parent=e,n+=t[r].height;this.height=n};fl.prototype.chunkSize=function(){return this.lines.length},fl.prototype.removeInner=function(t,e){for(var n=this,r=t,i=t+e;r<i;++r){var o=n.lines[r];n.height-=o.height,ue(o),Se(o,"delete")}this.lines.splice(t,e)},fl.prototype.collapse=function(t){t.push.apply(t,this.lines)},fl.prototype.insertInner=function(t,e,n){var r=this;this.height+=n,this.lines=this.lines.slice(0,t).concat(e).concat(this.lines.slice(t));for(var i=0;i<e.length;++i)e[i].parent=r},fl.prototype.iterN=function(t,e,n){for(var r=this,i=t+e;t<i;++t)if(n(r.lines[t]))return!0};var vl=function(t){var e=this;this.children=t;for(var n=0,r=0,i=0;i<t.length;++i){var o=t[i];n+=o.chunkSize(),r+=o.height,o.parent=e}this.size=n,this.height=r,this.parent=null};vl.prototype.chunkSize=function(){return this.size},vl.prototype.removeInner=function(t,e){var n=this;this.size-=e;for(var r=0;r<this.children.length;++r){var i=n.children[r],o=i.chunkSize();if(t<o){var s=Math.min(e,o-t),l=i.height;if(i.removeInner(t,s),n.height-=l-i.height,o==s&&(n.children.splice(r--,1),i.parent=null),0==(e-=s))break;t=0}else t-=o}if(this.size-e<25&&(this.children.length>1||!(this.children[0]instanceof fl))){var a=[];this.collapse(a),this.children=[new fl(a)],this.children[0].parent=this}},vl.prototype.collapse=function(t){for(var e=this,n=0;n<this.children.length;++n)e.children[n].collapse(t)},vl.prototype.insertInner=function(t,e,n){var r=this;this.size+=e.length,this.height+=n;for(var i=0;i<this.children.length;++i){var o=r.children[i],s=o.chunkSize();if(t<=s){if(o.insertInner(t,e,n),o.lines&&o.lines.length>50){for(var l=o.lines.length%25+25,a=l;a<o.lines.length;){var u=new fl(o.lines.slice(a,a+=25));o.height-=u.height,r.children.splice(++i,0,u),u.parent=r}o.lines=o.lines.slice(0,l),r.maybeSpill()}break}t-=s}},vl.prototype.maybeSpill=function(){if(!(this.children.length<=10)){var t=this;do{var e=t.children.splice(t.children.length-5,5),n=new vl(e);if(t.parent){t.size-=n.size,t.height-=n.height;var r=p(t.parent.children,t);t.parent.children.splice(r+1,0,n)}else{var i=new vl(t.children);i.parent=t,t.children=[i,n],t=i}n.parent=t.parent}while(t.children.length>10);t.parent.maybeSpill()}},vl.prototype.iterN=function(t,e,n){for(var r=this,i=0;i<this.children.length;++i){var o=r.children[i],s=o.chunkSize();if(t<s){var l=Math.min(e,s-t);if(o.iterN(t,l,n))return!0;if(0==(e-=l))break;t=0}else t-=s}};var ml=function(t,e,n){var r=this;if(n)for(var i in n)n.hasOwnProperty(i)&&(r[i]=n[i]);this.doc=t,this.node=e};ml.prototype.clear=function(){var t=this,e=this.doc.cm,n=this.line.widgets,r=this.line,i=M(r);if(null!=i&&n){for(var o=0;o<n.length;++o)n[o]==t&&n.splice(o--,1);n.length||(r.widgets=null);var s=Le(this);D(r,Math.max(0,r.height-s)),e&&(hr(e,function(){Vi(e,r,-s),mr(e,i,"widget")}),Se(e,"lineWidgetCleared",e,this,i))}},ml.prototype.changed=function(){var t=this,e=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=Le(this)-e;i&&(D(r,r.height+i),n&&hr(n,function(){n.curOp.forceUpdate=!0,Vi(n,r,i),Se(n,"lineWidgetChanged",n,t,M(r))}))},At(ml);var gl=0,yl=function(t,e){this.lines=[],this.type=e,this.doc=t,this.id=++gl};yl.prototype.clear=function(){var t=this;if(!this.explicitlyCleared){var e=this.doc.cm,n=e&&!e.curOp;if(n&&rr(e),Et(this,"clear")){var r=this.find();r&&Se(this,"clear",r.from,r.to)}for(var i=null,o=null,s=0;s<this.lines.length;++s){var l=t.lines[s],a=Y(l.markedSpans,t);e&&!t.collapsed?mr(e,M(l),"text"):e&&(null!=a.to&&(o=M(l)),null!=a.from&&(i=M(l))),l.markedSpans=X(l.markedSpans,a),null==a.from&&t.collapsed&&!mt(t.doc,l)&&e&&D(l,yn(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var u=0;u<this.lines.length;++u){var c=ht(t.lines[u]),h=bt(c);h>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=h,e.display.maxLineChanged=!0)}null!=i&&e&&this.collapsed&&vr(e,i,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&xi(e.doc)),e&&Se(e,"markerCleared",e,this,i,o),n&&ir(e),this.parent&&this.parent.clear()}},yl.prototype.find=function(t,e){var n=this;null==t&&"bookmark"==this.type&&(t=1);for(var r,i,o=0;o<this.lines.length;++o){var s=n.lines[o],l=Y(s.markedSpans,n);if(null!=l.from&&(r=P(e?s:M(s),l.from),-1==t))return r;if(null!=l.to&&(i=P(e?s:M(s),l.to),1==t))return i}return r&&{from:r,to:i}},yl.prototype.changed=function(){var t=this,e=this.find(-1,!0),n=this,r=this.doc.cm;e&&r&&hr(r,function(){var i=e.line,o=M(e.line),s=Xe(r,o);if(s&&(nn(s),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!mt(n.doc,i)&&null!=n.height){var l=n.height;n.height=null;var a=Le(n)-l;a&&D(i,i.height+a)}Se(r,"markerChanged",r,t)})},yl.prototype.attachLine=function(t){if(!this.lines.length&&this.doc.cm){var e=this.doc.cm.curOp;e.maybeHiddenMarkers&&-1!=p(e.maybeHiddenMarkers,this)||(e.maybeUnhiddenMarkers||(e.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(t)},yl.prototype.detachLine=function(t){if(this.lines.splice(p(this.lines,t),1),!this.lines.length&&this.doc.cm){var e=this.doc.cm.curOp;(e.maybeHiddenMarkers||(e.maybeHiddenMarkers=[])).push(this)}},At(yl);var bl=function(t,e){var n=this;this.markers=t,this.primary=e;for(var r=0;r<t.length;++r)t[r].parent=n};bl.prototype.clear=function(){var t=this;if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)t.markers[e].clear();Se(this,"clear")}},bl.prototype.find=function(t,e){return this.primary.find(t,e)},At(bl);var wl=0,xl=function(t,e,n,r,i){if(!(this instanceof xl))return new xl(t,e,n,r,i);null==n&&(n=0),vl.call(this,[new fl([new $s("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.frontier=n;var o=P(n,0);this.sel=Fr(o),this.history=new $r(null),this.id=++wl,this.modeOption=e,this.lineSep=r,this.direction="rtl"==i?"rtl":"ltr",this.extend=!1,"string"==typeof t&&(t=this.splitLines(t)),qr(this,{from:o,to:o,text:t}),yi(this,Fr(o),Ms)};xl.prototype=b(vl.prototype,{constructor:xl,iter:function(t,e,n){n?this.iterN(t-this.first,e-t,n):this.iterN(this.first,this.first+this.size,t)},insert:function(t,e){for(var n=0,r=0;r<e.length;++r)n+=e[r].height;this.insertInner(t-this.first,e,n)},remove:function(t,e){this.removeInner(t-this.first,e)},getValue:function(t){var e=R(this,this.first,this.first+this.size);return!1===t?e:e.join(t||this.lineSeparator())},setValue:fr(function(t){var e=P(this.first,0),n=this.first+this.size-1;Ii(this,{from:e,to:P(n,k(this,n).text.length),text:this.splitLines(t),origin:"setValue",full:!0},!0),this.cm&&Kn(this.cm,0,0),yi(this,Fr(e),Ms)}),replaceRange:function(t,e,n,r){e=z(this,e),n=n?z(this,n):e,Ai(this,t,e,n,r)},getRange:function(t,e,n){var r=I(this,z(this,t),z(this,e));return!1===n?r:r.join(n||this.lineSeparator())},getLine:function(t){var e=this.getLineHandle(t);return e&&e.text},getLineHandle:function(t){if(E(this,t))return k(this,t)},getLineNumber:function(t){return M(t)},getLineHandleVisualStart:function(t){return"number"==typeof t&&(t=k(this,t)),ht(t)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(t){return z(this,t)},getCursor:function(t){var e=this.sel.primary();return null==t||"head"==t?e.head:"anchor"==t?e.anchor:"end"==t||"to"==t||!1===t?e.to():e.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:fr(function(t,e,n){vi(this,z(this,"number"==typeof t?P(t,e||0):t),null,n)}),setSelection:fr(function(t,e,n){vi(this,z(this,t),z(this,e||t),n)}),extendSelection:fr(function(t,e,n){pi(this,z(this,t),e&&z(this,e),n)}),extendSelections:fr(function(t,e){di(this,U(this,t),e)}),extendSelectionsBy:fr(function(t,e){di(this,U(this,m(this.sel.ranges,t)),e)}),setSelections:fr(function(t,e,n){var r=this;if(t.length){for(var i=[],o=0;o<t.length;o++)i[o]=new dl(z(r,t[o].anchor),z(r,t[o].head));null==e&&(e=Math.min(t.length-1,this.sel.primIndex)),yi(this,Lr(i,e),n)}}),addSelection:fr(function(t,e,n){var r=this.sel.ranges.slice(0);r.push(new dl(z(this,t),z(this,e||t))),yi(this,Lr(r,r.length-1),n)}),getSelection:function(t){for(var e,n=this,r=this.sel.ranges,i=0;i<r.length;i++){var o=I(n,r[i].from(),r[i].to());e=e?e.concat(o):o}return!1===t?e:e.join(t||this.lineSeparator())},getSelections:function(t){for(var e=this,n=[],r=this.sel.ranges,i=0;i<r.length;i++){var o=I(e,r[i].from(),r[i].to());!1!==t&&(o=o.join(t||e.lineSeparator())),n[i]=o}return n},replaceSelection:function(t,e,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=t;this.replaceSelections(r,e,n||"+input")},replaceSelections:fr(function(t,e,n){for(var r=this,i=[],o=this.sel,s=0;s<o.ranges.length;s++){var l=o.ranges[s];i[s]={from:l.from(),to:l.to(),text:r.splitLines(t[s]),origin:n}}for(var a=e&&"end"!=e&&Br(this,i,e),u=i.length-1;u>=0;u--)Ii(r,i[u]);a?gi(this,a):this.cm&&Gn(this.cm)}),undo:fr(function(){Di(this,"undo")}),redo:fr(function(){Di(this,"redo")}),undoSelection:fr(function(){Di(this,"undo",!0)}),redoSelection:fr(function(){Di(this,"redo",!0)}),setExtending:function(t){this.extend=t},getExtending:function(){return this.extend},historySize:function(){for(var t=this.history,e=0,n=0,r=0;r<t.done.length;r++)t.done[r].ranges||++e;for(var i=0;i<t.undone.length;i++)t.undone[i].ranges||++n;return{undo:e,redo:n}},clearHistory:function(){this.history=new $r(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(t){return t&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(t){return this.history.generation==(t||this.cleanGeneration)},getHistory:function(){return{done:ci(this.history.done),undone:ci(this.history.undone)}},setHistory:function(t){var e=this.history=new $r(this.history.maxGeneration);e.done=ci(t.done.slice(0),null,!0),e.undone=ci(t.undone.slice(0),null,!0)},setGutterMarker:fr(function(t,e,n){return Fi(this,t,"gutter",function(t){var r=t.gutterMarkers||(t.gutterMarkers={});return r[e]=n,!n&&C(r)&&(t.gutterMarkers=null),!0})}),clearGutter:fr(function(t){var e=this;this.iter(function(n){n.gutterMarkers&&n.gutterMarkers[t]&&Fi(e,n,"gutter",function(){return n.gutterMarkers[t]=null,C(n.gutterMarkers)&&(n.gutterMarkers=null),!0})})}),lineInfo:function(t){var e;if("number"==typeof t){if(!E(this,t))return null;if(e=t,!(t=k(this,t)))return null}else if(null==(e=M(t)))return null;return{line:e,handle:t,text:t.text,gutterMarkers:t.gutterMarkers,textClass:t.textClass,bgClass:t.bgClass,wrapClass:t.wrapClass,widgets:t.widgets}},addLineClass:fr(function(e,n,r){return Fi(this,e,"gutter"==n?"gutter":"class",function(e){var i="text"==n?"textClass":"background"==n?"bgClass":"gutter"==n?"gutterClass":"wrapClass";if(e[i]){if(t(r).test(e[i]))return!1;e[i]+=" "+r}else e[i]=r;return!0})}),removeLineClass:fr(function(e,n,r){return Fi(this,e,"gutter"==n?"gutter":"class",function(e){var i="text"==n?"textClass":"background"==n?"bgClass":"gutter"==n?"gutterClass":"wrapClass",o=e[i];if(!o)return!1;if(null==r)e[i]=null;else{var s=o.match(t(r));if(!s)return!1;var l=s.index+s[0].length;e[i]=o.slice(0,s.index)+(s.index&&l!=o.length?" ":"")+o.slice(l)||null}return!0})}),addLineWidget:fr(function(t,e,n){return Wi(this,t,e,n)}),removeLineWidget:function(t){t.clear()},markText:function(t,e,n){return Hi(this,z(this,t),z(this,e),n,n&&n.type||"range")},setBookmark:function(t,e){var n={replacedWith:e&&(null==e.nodeType?e.widget:e),insertLeft:e&&e.insertLeft,clearWhenEmpty:!1,shared:e&&e.shared,handleMouseEvents:e&&e.handleMouseEvents};return t=z(this,t),Hi(this,t,t,n,"bookmark")},findMarksAt:function(t){t=z(this,t);var e=[],n=k(this,t.line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=t.ch)&&(null==i.to||i.to>=t.ch)&&e.push(i.marker.parent||i.marker)}return e},findMarks:function(t,e,n){t=z(this,t),e=z(this,e);var r=[],i=t.line;return this.iter(t.line,e.line+1,function(o){var s=o.markedSpans;if(s)for(var l=0;l<s.length;l++){var a=s[l];null!=a.to&&i==t.line&&t.ch>=a.to||null==a.from&&i!=t.line||null!=a.from&&i==e.line&&a.from>=e.ch||n&&!n(a.marker)||r.push(a.marker.parent||a.marker)}++i}),r},getAllMarks:function(){var t=[];return this.iter(function(e){var n=e.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&t.push(n[r].marker)}),t},posFromIndex:function(t){var e,n=this.first,r=this.lineSeparator().length;return this.iter(function(i){var o=i.text.length+r;if(o>t)return e=t,!0;t-=o,++n}),z(this,P(n,e))},indexFromPos:function(t){t=z(this,t);var e=t.ch;if(t.line<this.first||t.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,t.line,function(t){e+=t.text.length+n}),e},copy:function(t){var e=new xl(R(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return e.scrollTop=this.scrollTop,e.scrollLeft=this.scrollLeft,e.sel=this.sel,e.extend=!1,t&&(e.history.undoDepth=this.history.undoDepth,e.setHistory(this.getHistory())),e},linkedDoc:function(t){t||(t={});var e=this.first,n=this.first+this.size;null!=t.from&&t.from>e&&(e=t.from),null!=t.to&&t.to<n&&(n=t.to);var r=new xl(R(this,e,n),t.mode||this.modeOption,e,this.lineSep,this.direction);return t.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:t.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:t.sharedHist}],Ui(r,Bi(this)),r},unlinkDoc:function(t){var e=this;if(t instanceof Eo&&(t=t.doc),this.linked)for(var n=0;n<this.linked.length;++n){var r=e.linked[n];if(r.doc==t){e.linked.splice(n,1),t.unlinkDoc(e),Gi(Bi(e));break}}if(t.history==this.history){var i=[t.id];Yr(t,function(t){return i.push(t.id)},!0),t.history=new $r(null),t.history.done=ci(this.history.done,i),t.history.undone=ci(this.history.undone,i)}},iterLinkedDocs:function(t){Yr(this,t)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(t){return this.lineSep?t.split(this.lineSep):Us(t)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:fr(function(t){"rtl"!=t&&(t="ltr"),t!=this.direction&&(this.direction=t,this.iter(function(t){return t.order=null}),this.cm&&Zr(this.cm))})}),xl.prototype.eachLine=xl.prototype.iter;for(var Cl=0,Sl=!1,_l={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",127:"Delete",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Ol=0;Ol<10;Ol++)_l[Ol+48]=_l[Ol+96]=String(Ol);for(var Tl=65;Tl<=90;Tl++)_l[Tl]=String.fromCharCode(Tl);for(var kl=1;kl<=12;kl++)_l[kl+111]=_l[kl+63235]="F"+kl;var Il={};Il.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Il.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Il.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Il.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Il.default=gs?Il.macDefault:Il.pcDefault;var Rl,Dl,Ml={selectAll:Ti,singleSelection:function(t){return t.setSelection(t.getCursor("anchor"),t.getCursor("head"),Ms)},killLine:function(t){return so(t,function(e){if(e.empty()){var n=k(t.doc,e.head.line).text.length;return e.head.ch==n&&e.head.line<t.lastLine()?{from:e.head,to:P(e.head.line+1,0)}:{from:e.head,to:P(e.head.line,n)}}return{from:e.from(),to:e.to()}})},deleteLine:function(t){return so(t,function(e){return{from:P(e.from().line,0),to:z(t.doc,P(e.to().line+1,0))}})},delLineLeft:function(t){return so(t,function(t){return{from:P(t.from().line,0),to:t.from()}})},delWrappedLineLeft:function(t){return so(t,function(e){var n=t.charCoords(e.head,"div").top+5;return{from:t.coordsChar({left:0,top:n},"div"),to:e.from()}})},delWrappedLineRight:function(t){return so(t,function(e){var n=t.charCoords(e.head,"div").top+5,r=t.coordsChar({left:t.display.lineDiv.offsetWidth+100,top:n},"div");return{from:e.from(),to:r}})},undo:function(t){return t.undo()},redo:function(t){return t.redo()},undoSelection:function(t){return t.undoSelection()},redoSelection:function(t){return t.redoSelection()},goDocStart:function(t){return t.extendSelection(P(t.firstLine(),0))},goDocEnd:function(t){return t.extendSelection(P(t.lastLine()))},goLineStart:function(t){return t.extendSelectionsBy(function(e){return lo(t,e.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(t){return t.extendSelectionsBy(function(e){return uo(t,e.head)},{origin:"+move",bias:1})},goLineEnd:function(t){return t.extendSelectionsBy(function(e){return ao(t,e.head.line)},{origin:"+move",bias:-1})},goLineRight:function(t){return t.extendSelectionsBy(function(e){var n=t.charCoords(e.head,"div").top+5;return t.coordsChar({left:t.display.lineDiv.offsetWidth+100,top:n},"div")},Es)},goLineLeft:function(t){return t.extendSelectionsBy(function(e){var n=t.charCoords(e.head,"div").top+5;return t.coordsChar({left:0,top:n},"div")},Es)},goLineLeftSmart:function(t){return t.extendSelectionsBy(function(e){var n=t.charCoords(e.head,"div").top+5,r=t.coordsChar({left:0,top:n},"div");return r.ch<t.getLine(r.line).search(/\S/)?uo(t,e.head):r},Es)},goLineUp:function(t){return t.moveV(-1,"line")},goLineDown:function(t){return t.moveV(1,"line")},goPageUp:function(t){return t.moveV(-1,"page")},goPageDown:function(t){return t.moveV(1,"page")},goCharLeft:function(t){return t.moveH(-1,"char")},goCharRight:function(t){return t.moveH(1,"char")},goColumnLeft:function(t){return t.moveH(-1,"column")},goColumnRight:function(t){return t.moveH(1,"column")},goWordLeft:function(t){return t.moveH(-1,"word")},goGroupRight:function(t){return t.moveH(1,"group")},goGroupLeft:function(t){return t.moveH(-1,"group")},goWordRight:function(t){return t.moveH(1,"word")},delCharBefore:function(t){return t.deleteH(-1,"char")},delCharAfter:function(t){return t.deleteH(1,"char")},delWordBefore:function(t){return t.deleteH(-1,"word")},delWordAfter:function(t){return t.deleteH(1,"word")},delGroupBefore:function(t){return t.deleteH(-1,"group")},delGroupAfter:function(t){return t.deleteH(1,"group")},indentAuto:function(t){return t.indentSelection("smart")},indentMore:function(t){return t.indentSelection("add")},indentLess:function(t){return t.indentSelection("subtract")},insertTab:function(t){return t.replaceSelection("\t")},insertSoftTab:function(t){for(var e=[],n=t.listSelections(),r=t.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),s=h(t.getLine(o.line),o.ch,r);e.push(f(r-s%r))}t.replaceSelections(e)},defaultTab:function(t){t.somethingSelected()?t.indentSelection("add"):t.execCommand("insertTab")},transposeChars:function(t){return hr(t,function(){for(var e=t.listSelections(),n=[],r=0;r<e.length;r++)if(e[r].empty()){var i=e[r].head,o=k(t.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new P(i.line,i.ch-1)),i.ch>0)i=new P(i.line,i.ch+1),t.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),P(i.line,i.ch-2),i,"+transpose");else if(i.line>t.doc.first){var s=k(t.doc,i.line-1).text;s&&(i=new P(i.line,1),t.replaceRange(o.charAt(0)+t.doc.lineSeparator()+s.charAt(s.length-1),P(i.line-1,s.length-1),i,"+transpose"))}n.push(new dl(i,i))}t.setSelections(n)})},newlineAndIndent:function(t){return hr(t,function(){for(var e=t.listSelections(),n=e.length-1;n>=0;n--)t.replaceRange(t.doc.lineSeparator(),e[n].anchor,e[n].head,"+input");e=t.listSelections();for(var r=0;r<e.length;r++)t.indentLine(e[r].from().line,null,!0);Gn(t)})},openLine:function(t){return t.replaceSelection("\n","start")},toggleOverwrite:function(t){return t.toggleOverwrite()}},Nl=new Ts,El=null,Al={toString:function(){return"CodeMirror.Init"}},Pl={},jl={};Eo.defaults=Pl,Eo.optionHandlers=jl;var Ll=[];Eo.defineInitHook=function(t){return Ll.push(t)};var Fl=null,Vl=function(t){var e=t.optionHandlers,n=t.helpers={};t.prototype={constructor:t,focus:function(){window.focus(),this.display.input.focus()},setOption:function(t,n){var r=this.options,i=r[t];r[t]==n&&"mode"!=t||(r[t]=n,e.hasOwnProperty(t)&&pr(this,e[t])(this,n,i),Dt(this,"optionChange",this,t))},getOption:function(t){return this.options[t]},getDoc:function(){return this.doc},addKeyMap:function(t,e){this.state.keyMaps[e?"push":"unshift"](oo(t))},removeKeyMap:function(t){for(var e=this.state.keyMaps,n=0;n<e.length;++n)if(e[n]==t||e[n].name==t)return e.splice(n,1),!0},addOverlay:dr(function(e,n){var r=e.token?e:t.getMode(this.options,e);if(r.startState)throw new Error("Overlays may not be stateful.");g(this.state.overlays,{mode:r,modeSpec:e,opaque:n&&n.opaque,priority:n&&n.priority||0},function(t){return t.priority}),this.state.modeGen++,vr(this)}),removeOverlay:dr(function(t){for(var e=this,n=this.state.overlays,r=0;r<n.length;++r){var i=n[r].modeSpec;if(i==t||"string"==typeof t&&i.name==t)return n.splice(r,1),e.state.modeGen++,void vr(e)}}),indentLine:dr(function(t,e,n){"string"!=typeof e&&"number"!=typeof e&&(e=null==e?this.options.smartIndent?"smart":"prev":e?"add":"subtract"),E(this.doc,t)&&Po(this,t,e,n)}),indentSelection:dr(function(t){for(var e=this,n=this.doc.sel.ranges,r=-1,i=0;i<n.length;i++){var o=n[i];if(o.empty())o.head.line>r&&(Po(e,o.head.line,t,!0),r=o.head.line,i==e.doc.sel.primIndex&&Gn(e));else{var s=o.from(),l=o.to(),a=Math.max(r,s.line);r=Math.min(e.lastLine(),l.line-(l.ch?0:1))+1;for(var u=a;u<r;++u)Po(e,u,t);var c=e.doc.sel.ranges;0==s.ch&&n.length==c.length&&c[i].from().ch>0&&fi(e.doc,i,new dl(s,c[i].to()),Ms)}}}),getTokenAt:function(t,e){return ie(this,t,e)},getLineTokens:function(t,e){return ie(this,P(t),e,!0)},getTokenTypeAt:function(t){t=z(this.doc,t);var e,n=Qt(this,k(this.doc,t.line)),r=0,i=(n.length-1)/2,o=t.ch;if(0==o)e=n[2];else for(;;){var s=r+i>>1;if((s?n[2*s-1]:0)>=o)i=s;else{if(!(n[2*s+1]<o)){e=n[2*s+2];break}r=s+1}}var l=e?e.indexOf("overlay "):-1;return l<0?e:0==l?null:e.slice(0,l-1)},getModeAt:function(e){var n=this.doc.mode;return n.innerMode?t.innerMode(n,this.getTokenAt(e).state).mode:n},getHelper:function(t,e){return this.getHelpers(t,e)[0]},getHelpers:function(t,e){var r=this,i=[];if(!n.hasOwnProperty(e))return i;var o=n[e],s=this.getModeAt(t);if("string"==typeof s[e])o[s[e]]&&i.push(o[s[e]]);else if(s[e])for(var l=0;l<s[e].length;l++){var a=o[s[e][l]];a&&i.push(a)}else s.helperType&&o[s.helperType]?i.push(o[s.helperType]):o[s.name]&&i.push(o[s.name]);for(var u=0;u<o._global.length;u++){var c=o._global[u];c.pred(s,r)&&-1==p(i,c.val)&&i.push(c.val)}return i},getStateAfter:function(t,e){var n=this.doc;return t=H(n,null==t?n.first+n.size-1:t),te(this,t+1,e)},cursorCoords:function(t,e){var n,r=this.doc.sel.primary();return n=null==t?r.head:"object"==typeof t?z(this.doc,t):t?r.from():r.to(),hn(this,n,e||"page")},charCoords:function(t,e){return cn(this,z(this.doc,t),e||"page")},coordsChar:function(t,e){return t=un(this,t,e||"page"),fn(this,t.left,t.top)},lineAtHeight:function(t,e){return t=un(this,{top:t,left:0},e||"page").top,N(this.doc,t+this.display.viewOffset)},heightAtLine:function(t,e,n){var r,i=!1;if("number"==typeof t){var o=this.doc.first+this.doc.size-1;t<this.doc.first?t=this.doc.first:t>o&&(t=o,i=!0),r=k(this.doc,t)}else r=t;return an(this,r,{top:0,left:0},e||"page",n||i).top+(i?this.doc.height-yt(r):0)},defaultTextHeight:function(){return yn(this.display)},defaultCharWidth:function(){return bn(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(t,e,n,r,i){var o=this.display;t=hn(this,z(this.doc,t));var s=t.bottom,l=t.left;if(e.style.position="absolute",e.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(e),o.sizer.appendChild(e),"over"==r)s=t.top;else if("above"==r||"near"==r){var a=Math.max(o.wrapper.clientHeight,this.doc.height),u=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||t.bottom+e.offsetHeight>a)&&t.top>e.offsetHeight?s=t.top-e.offsetHeight:t.bottom+e.offsetHeight<=a&&(s=t.bottom),l+e.offsetWidth>u&&(l=u-e.offsetWidth)}e.style.top=s+"px",e.style.left=e.style.right="","right"==i?(l=o.sizer.clientWidth-e.offsetWidth,e.style.right="0px"):("left"==i?l=0:"middle"==i&&(l=(o.sizer.clientWidth-e.offsetWidth)/2),e.style.left=l+"px"),n&&zn(this,{left:l,top:s,right:l+e.offsetWidth,bottom:s+e.offsetHeight})},triggerOnKeyDown:dr(mo),triggerOnKeyPress:dr(bo),triggerOnKeyUp:yo,execCommand:function(t){if(Ml.hasOwnProperty(t))return Ml[t].call(null,this)},triggerElectric:dr(function(t){Vo(this,t)}),findPosH:function(t,e,n,r){var i=this,o=1;e<0&&(o=-1,e=-e);for(var s=z(this.doc,t),l=0;l<e&&(s=Bo(i.doc,s,o,n,r),!s.hitSide);++l);return s},moveH:dr(function(t,e){var n=this;this.extendSelectionsBy(function(r){return n.display.shift||n.doc.extend||r.empty()?Bo(n.doc,r.head,t,e,n.options.rtlMoveVisually):t<0?r.from():r.to()},Es)}),deleteH:dr(function(t,e){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection("",null,"+delete"):so(this,function(n){var i=Bo(r,n.head,t,e,!1);return t<0?{from:i,to:n.head}:{from:n.head,to:i}})}),findPosV:function(t,e,n,r){var i=this,o=1,s=r;e<0&&(o=-1,e=-e);for(var l=z(this.doc,t),a=0;a<e;++a){var u=hn(i,l,"div");if(null==s?s=u.left:u.left=s,l=Uo(i,u,o,n),l.hitSide)break}return l},moveV:dr(function(t,e){var n=this,r=this.doc,i=[],o=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy(function(s){if(o)return t<0?s.from():s.to();var l=hn(n,s.head,"div");null!=s.goalColumn&&(l.left=s.goalColumn),i.push(l.left);var a=Uo(n,l,t,e);return"page"==e&&s==r.sel.primary()&&Un(n,cn(n,a,"div").top-l.top),a},Es),i.length)for(var s=0;s<r.sel.ranges.length;s++)r.sel.ranges[s].goalColumn=i[s]}),findWordAt:function(t){var e=this.doc,n=k(e,t.line).text,r=t.ch,i=t.ch;if(n){var o=this.getHelper(t,"wordChars");"before"!=t.sticky&&i!=n.length||!r?++i:--r;for(var s=n.charAt(r),l=x(s,o)?function(t){return x(t,o)}:/\s/.test(s)?function(t){return/\s/.test(t)}:function(t){return!/\s/.test(t)&&!x(t)};r>0&&l(n.charAt(r-1));)--r;for(;i<n.length&&l(n.charAt(i));)++i}return new dl(P(t.line,r),P(t.line,i))},toggleOverwrite:function(t){null!=t&&t==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?l(this.display.cursorDiv,"CodeMirror-overwrite"):_s(this.display.cursorDiv,"CodeMirror-overwrite"),Dt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==s()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:dr(function(t,e){Kn(this,t,e)}),getScrollInfo:function(){var t=this.display.scroller;return{left:t.scrollLeft,top:t.scrollTop,height:t.scrollHeight-ze(this)-this.display.barHeight,width:t.scrollWidth-ze(this)-this.display.barWidth,clientHeight:Ue(this),clientWidth:Be(this)}},scrollIntoView:dr(function(t,e){null==t?(t={from:this.doc.sel.primary().head,to:null},null==e&&(e=this.options.cursorScrollMargin)):"number"==typeof t?t={from:P(t,0),to:null}:null==t.from&&(t={from:t,to:null}),t.to||(t.to=t.from),t.margin=e||0,null!=t.from.line?qn(this,t):Xn(this,t.from,t.to,t.margin)}),setSize:dr(function(t,e){var n=this,r=function(t){return"number"==typeof t||/^\d+$/.test(String(t))?t+"px":t};null!=t&&(this.display.wrapper.style.width=r(t)),null!=e&&(this.display.wrapper.style.height=r(e)),this.options.lineWrapping&&rn(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,function(t){if(t.widgets)for(var e=0;e<t.widgets.length;e++)if(t.widgets[e].noHScroll){mr(n,i,"widget");break}++i}),this.curOp.forceUpdate=!0,Dt(this,"refresh",this)}),operation:function(t){return hr(this,t)},refresh:dr(function(){var t=this.display.cachedTextHeight;vr(this),this.curOp.forceUpdate=!0,on(this),Kn(this,this.doc.scrollLeft,this.doc.scrollTop),Dr(this),(null==t||Math.abs(t-yn(this.display))>.5)&&Sn(this),Dt(this,"refresh",this)}),swapDoc:dr(function(t){var e=this.doc;return e.cm=null,Xr(this,t),on(this),this.display.input.reset(),Kn(this,t.scrollLeft,t.scrollTop),this.curOp.forceScroll=!0,Se(this,"swapDoc",this,e),e}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},At(t),t.registerHelper=function(e,r,i){n.hasOwnProperty(e)||(n[e]=t[e]={_global:[]}),n[e][r]=i},t.registerGlobalHelper=function(e,r,i,o){t.registerHelper(e,r,o),n[e]._global.push({pred:i,val:o})}},Wl=function(t){this.cm=t,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ts,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Wl.prototype.init=function(t){function e(t){if(!Mt(i,t)){if(i.somethingSelected())jo({lineWise:!1,text:i.getSelections()}),"cut"==t.type&&i.replaceSelection("",null,"cut");else{if(!i.options.lineWiseCopyCut)return;var e=Wo(i);jo({lineWise:!0,text:e.text}),"cut"==t.type&&i.operation(function(){i.setSelections(e.ranges,0,Ms),i.replaceSelection("",null,"cut")})}if(t.clipboardData){t.clipboardData.clearData();var n=Fl.text.join("\n");if(t.clipboardData.setData("Text",n),t.clipboardData.getData("Text")==n)return void t.preventDefault()}var s=zo(),l=s.firstChild;i.display.lineSpace.insertBefore(s,i.display.lineSpace.firstChild),l.value=Fl.text.join("\n");var a=document.activeElement;Os(l),setTimeout(function(){i.display.lineSpace.removeChild(s),a.focus(),a==o&&r.showPrimarySelection()},50)}}var n=this,r=this,i=r.cm,o=r.div=t.lineDiv;Ho(o,i.options.spellcheck),zs(o,"paste",function(t){Mt(i,t)||Fo(t,i)||ss<=11&&setTimeout(pr(i,function(){return n.updateFromDOM()}),20)}),zs(o,"compositionstart",function(t){n.composing={data:t.data,done:!1}}),zs(o,"compositionupdate",function(t){n.composing||(n.composing={data:t.data,done:!1})}),zs(o,"compositionend",function(t){n.composing&&(t.data!=n.composing.data&&n.readFromDOMSoon(),n.composing.done=!0)}),zs(o,"touchstart",function(){return r.forceCompositionEnd()}),zs(o,"input",function(){n.composing||n.readFromDOMSoon()}),zs(o,"copy",e),zs(o,"cut",e)},Wl.prototype.prepareSelection=function(){var t=kn(this.cm,!1);return t.focus=this.cm.state.focused,t},Wl.prototype.showSelection=function(t,e){t&&this.cm.display.view.length&&((t.focus||e)&&this.showPrimarySelection(),this.showMultipleSelections(t))},Wl.prototype.showPrimarySelection=function(){var t=window.getSelection(),e=this.cm,n=e.doc.sel.primary(),r=n.from(),i=n.to();if(e.display.viewTo==e.display.viewFrom||r.line>=e.display.viewTo||i.line<e.display.viewFrom)return void t.removeAllRanges();var o=Xo(e,t.anchorNode,t.anchorOffset),s=Xo(e,t.focusNode,t.focusOffset);if(!o||o.bad||!s||s.bad||0!=j(W(o,s),r)||0!=j(V(o,s),i)){var l=e.display.view,a=r.line>=e.display.viewFrom&&Go(e,r)||{node:l[0].measure.map[2],offset:0},u=i.line<e.display.viewTo&&Go(e,i);if(!u){var c=l[l.length-1].measure,h=c.maps?c.maps[c.maps.length-1]:c.map;u={node:h[h.length-1],offset:h[h.length-2]-h[h.length-3]}}if(!a||!u)return void t.removeAllRanges();var p,d=t.rangeCount&&t.getRangeAt(0);try{p=xs(a.node,a.offset,u.offset,u.node)}catch(t){}p&&(!es&&e.state.focused?(t.collapse(a.node,a.offset),p.collapsed||(t.removeAllRanges(),t.addRange(p))):(t.removeAllRanges(),t.addRange(p)),d&&null==t.anchorNode?t.addRange(d):es&&this.startGracePeriod()),this.rememberSelection()}},Wl.prototype.startGracePeriod=function(){var t=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){t.gracePeriod=!1,t.selectionChanged()&&t.cm.operation(function(){return t.cm.curOp.selectionChanged=!0})},20)},Wl.prototype.showMultipleSelections=function(t){n(this.cm.display.cursorDiv,t.cursors),n(this.cm.display.selectionDiv,t.selection)},Wl.prototype.rememberSelection=function(){var t=window.getSelection();this.lastAnchorNode=t.anchorNode,this.lastAnchorOffset=t.anchorOffset,this.lastFocusNode=t.focusNode,this.lastFocusOffset=t.focusOffset},Wl.prototype.selectionInEditor=function(){var t=window.getSelection();if(!t.rangeCount)return!1;var e=t.getRangeAt(0).commonAncestorContainer;return o(this.div,e)},Wl.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Wl.prototype.blur=function(){this.div.blur()},Wl.prototype.getField=function(){return this.div},Wl.prototype.supportsTouch=function(){return!0},Wl.prototype.receivedFocus=function(){function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}var e=this;this.selectionInEditor()?this.pollSelection():hr(this.cm,function(){return e.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,t)},Wl.prototype.selectionChanged=function(){var t=window.getSelection();return t.anchorNode!=this.lastAnchorNode||t.anchorOffset!=this.lastAnchorOffset||t.focusNode!=this.lastFocusNode||t.focusOffset!=this.lastFocusOffset},Wl.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var t=window.getSelection(),e=this.cm;if(vs&&us&&this.cm.options.gutters.length&&Ko(t.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=Xo(e,t.anchorNode,t.anchorOffset),r=Xo(e,t.focusNode,t.focusOffset);n&&r&&hr(e,function(){yi(e.doc,Fr(n,r),Ms),(n.bad||r.bad)&&(e.curOp.selectionChanged=!0)})}}},Wl.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var t=this.cm,e=t.display,n=t.doc.sel.primary(),r=n.from(),i=n.to();if(0==r.ch&&r.line>t.firstLine()&&(r=P(r.line-1,k(t.doc,r.line-1).length)),i.ch==k(t.doc,i.line).text.length&&i.line<t.lastLine()&&(i=P(i.line+1,0)),r.line<e.viewFrom||i.line>e.viewTo-1)return!1;var o,s,l;r.line==e.viewFrom||0==(o=On(t,r.line))?(s=M(e.view[0].line),l=e.view[0].node):(s=M(e.view[o].line),l=e.view[o-1].node.nextSibling);var a,u,c=On(t,i.line);if(c==e.view.length-1?(a=e.viewTo-1,u=e.lineDiv.lastChild):(a=M(e.view[c+1].line)-1,u=e.view[c+1].node.previousSibling),!l)return!1;for(var h=t.doc.splitLines(Yo(t,l,u,s,a)),p=I(t.doc,P(s,0),P(a,k(t.doc,a).text.length));h.length>1&&p.length>1;)if(v(h)==v(p))h.pop(),p.pop(),a--;else{if(h[0]!=p[0])break;h.shift(),p.shift(),s++}for(var d=0,f=0,m=h[0],g=p[0],y=Math.min(m.length,g.length);d<y&&m.charCodeAt(d)==g.charCodeAt(d);)++d;for(var b=v(h),w=v(p),x=Math.min(b.length-(1==h.length?d:0),w.length-(1==p.length?d:0));f<x&&b.charCodeAt(b.length-f-1)==w.charCodeAt(w.length-f-1);)++f;if(1==h.length&&1==p.length&&s==r.line)for(;d&&d>r.ch&&b.charCodeAt(b.length-f-1)==w.charCodeAt(w.length-f-1);)d--,f++;h[h.length-1]=b.slice(0,b.length-f).replace(/^\u200b+/,""),h[0]=h[0].slice(d).replace(/\u200b+$/,"");var C=P(s,d),S=P(a,p.length?v(p).length-f:0);return h.length>1||h[0]||j(C,S)?(Ai(t.doc,h,C,S,"+input"),!0):void 0},Wl.prototype.ensurePolled=function(){this.forceCompositionEnd()},Wl.prototype.reset=function(){this.forceCompositionEnd()},Wl.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Wl.prototype.readFromDOMSoon=function(){var t=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(t.readDOMTimeout=null,t.composing){if(!t.composing.done)return;t.composing=null}t.updateFromDOM()},80))},Wl.prototype.updateFromDOM=function(){var t=this;!this.cm.isReadOnly()&&this.pollContent()||hr(this.cm,function(){return vr(t.cm)})},Wl.prototype.setUneditable=function(t){t.contentEditable="false"},Wl.prototype.onKeyPress=function(t){0!=t.charCode&&(t.preventDefault(),this.cm.isReadOnly()||pr(this.cm,Lo)(this.cm,String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),0))},Wl.prototype.readOnlyChanged=function(t){this.div.contentEditable=String("nocursor"!=t)},Wl.prototype.onContextMenu=function(){},Wl.prototype.resetPosition=function(){},Wl.prototype.needsContentAttribute=!0;var Hl=function(t){this.cm=t,this.prevInput="",this.pollingFast=!1,this.polling=new Ts,this.inaccurateSelection=!1,this.hasSelection=!1,this.composing=null};Hl.prototype.init=function(t){function e(t){if(!Mt(i,t)){if(i.somethingSelected())jo({lineWise:!1,text:i.getSelections()}),r.inaccurateSelection&&(r.prevInput="",r.inaccurateSelection=!1,s.value=Fl.text.join("\n"),Os(s));else{if(!i.options.lineWiseCopyCut)return;var e=Wo(i);jo({lineWise:!0,text:e.text}),"cut"==t.type?i.setSelections(e.ranges,null,Ms):(r.prevInput="",s.value=e.text.join("\n"),Os(s))}"cut"==t.type&&(i.state.cutIncoming=!0)}}var n=this,r=this,i=this.cm,o=this.wrapper=zo(),s=this.textarea=o.firstChild;t.wrapper.insertBefore(o,t.wrapper.firstChild),fs&&(s.style.width="0px"),zs(s,"input",function(){os&&ss>=9&&n.hasSelection&&(n.hasSelection=null),r.poll()}),zs(s,"paste",function(t){Mt(i,t)||Fo(t,i)||(i.state.pasteIncoming=!0,r.fastPoll())}),zs(s,"cut",e),zs(s,"copy",e),zs(t.scroller,"paste",function(e){Fe(t,e)||Mt(i,e)||(i.state.pasteIncoming=!0,r.focus())}),zs(t.lineSpace,"selectstart",function(e){Fe(t,e)||Pt(e)}),zs(s,"compositionstart",function(){var t=i.getCursor("from");r.composing&&r.composing.range.clear(),r.composing={start:t,range:i.markText(t,i.getCursor("to"),{className:"CodeMirror-composing"})}}),zs(s,"compositionend",function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null)})},Hl.prototype.prepareSelection=function(){var t=this.cm,e=t.display,n=t.doc,r=kn(t);if(t.options.moveInputWithCursor){var i=hn(t,n.sel.primary().head,"div"),o=e.wrapper.getBoundingClientRect(),s=e.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(e.wrapper.clientHeight-10,i.top+s.top-o.top)),r.teLeft=Math.max(0,Math.min(e.wrapper.clientWidth-10,i.left+s.left-o.left))}return r},Hl.prototype.showSelection=function(t){var e=this.cm,r=e.display;n(r.cursorDiv,t.cursors),n(r.selectionDiv,t.selection),null!=t.teTop&&(this.wrapper.style.top=t.teTop+"px",this.wrapper.style.left=t.teLeft+"px")},Hl.prototype.reset=function(t){if(!this.contextMenuPending&&!this.composing){var e,n,r=this.cm,i=r.doc;if(r.somethingSelected()){this.prevInput="";var o=i.sel.primary();e=Ks&&(o.to().line-o.from().line>100||(n=r.getSelection()).length>1e3);var s=e?"-":n||r.getSelection();this.textarea.value=s,r.state.focused&&Os(this.textarea),os&&ss>=9&&(this.hasSelection=s)}else t||(this.prevInput=this.textarea.value="",os&&ss>=9&&(this.hasSelection=null));this.inaccurateSelection=e}},Hl.prototype.getField=function(){return this.textarea},Hl.prototype.supportsTouch=function(){return!1},Hl.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!ms||s()!=this.textarea))try{this.textarea.focus()}catch(t){}},Hl.prototype.blur=function(){this.textarea.blur()},Hl.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Hl.prototype.receivedFocus=function(){this.slowPoll()},Hl.prototype.slowPoll=function(){var t=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){t.poll(),t.cm.state.focused&&t.slowPoll()})},Hl.prototype.fastPoll=function(){function t(){n.poll()||e?(n.pollingFast=!1,n.slowPoll()):(e=!0,n.polling.set(60,t))}var e=!1,n=this;n.pollingFast=!0,n.polling.set(20,t)},Hl.prototype.poll=function(){var t=this,e=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!e.state.focused||Gs(n)&&!r&&!this.composing||e.isReadOnly()||e.options.disableInput||e.state.keySeq)return!1;var i=n.value;if(i==r&&!e.somethingSelected())return!1;if(os&&ss>=9&&this.hasSelection===i||gs&&/[\uf700-\uf7ff]/.test(i))return e.display.input.reset(),!1;if(e.doc.sel==e.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="​"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var s=0,l=Math.min(r.length,i.length);s<l&&r.charCodeAt(s)==i.charCodeAt(s);)++s;return hr(e,function(){Lo(e,i.slice(s),r.length-s,null,t.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?n.value=t.prevInput="":t.prevInput=i,t.composing&&(t.composing.range.clear(),t.composing.range=e.markText(t.composing.start,e.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Hl.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Hl.prototype.onKeyPress=function(){os&&ss>=9&&(this.hasSelection=null),this.fastPoll()},Hl.prototype.onContextMenu=function(t){function e(){if(null!=s.selectionStart){var t=i.somethingSelected(),e="​"+(t?s.value:"");s.value="⇚",s.value=e,r.prevInput=t?"":"​",s.selectionStart=1,s.selectionEnd=e.length,o.selForContextMenu=i.doc.sel}}function n(){if(r.contextMenuPending=!1,r.wrapper.style.cssText=c,s.style.cssText=u,os&&ss<9&&o.scrollbars.setScrollTop(o.scroller.scrollTop=a),null!=s.selectionStart){(!os||os&&ss<9)&&e();var t=0,n=function(){o.selForContextMenu==i.doc.sel&&0==s.selectionStart&&s.selectionEnd>0&&"​"==r.prevInput?pr(i,Ti)(i):t++<10?o.detectingSelectAll=setTimeout(n,500):(o.selForContextMenu=null,o.input.reset())};o.detectingSelectAll=setTimeout(n,200)}}var r=this,i=r.cm,o=i.display,s=r.textarea,l=_n(i,t),a=o.scroller.scrollTop;if(l&&!cs){i.options.resetSelectionOnContextMenu&&-1==i.doc.sel.contains(l)&&pr(i,yi)(i.doc,Fr(l),Ms);var u=s.style.cssText,c=r.wrapper.style.cssText;r.wrapper.style.cssText="position: absolute";var h=r.wrapper.getBoundingClientRect();s.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(t.clientY-h.top-5)+"px; left: "+(t.clientX-h.left-5)+"px;\n z-index: 1000; background: "+(os?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var p;if(ls&&(p=window.scrollY),o.input.focus(),ls&&window.scrollTo(null,p),o.input.reset(),i.somethingSelected()||(s.value=r.prevInput=" "),r.contextMenuPending=!0,o.selForContextMenu=i.doc.sel,clearTimeout(o.detectingSelectAll),os&&ss>=9&&e(),Ss){Ft(t);var d=function(){Rt(window,"mouseup",d),setTimeout(n,20)};zs(window,"mouseup",d)}else setTimeout(n,50)}},Hl.prototype.readOnlyChanged=function(t){t||this.reset()},Hl.prototype.setUneditable=function(){},Hl.prototype.needsContentAttribute=!1,Ro(Eo),Vl(Eo);var zl="iter insert remove copy getEditor constructor".split(" ");for(var Bl in xl.prototype)xl.prototype.hasOwnProperty(Bl)&&p(zl,Bl)<0&&(Eo.prototype[Bl]=function(t){return function(){return t.apply(this.doc,arguments)}}(xl.prototype[Bl]));return At(xl),Eo.inputStyles={textarea:Hl,contenteditable:Wl},Eo.defineMode=function(t){Eo.defaults.mode||"null"==t||(Eo.defaults.mode=t),Ut.apply(this,arguments)},Eo.defineMIME=Gt,Eo.defineMode("null",function(){return{token:function(t){return t.skipToEnd()}}}),Eo.defineMIME("text/plain","null"),Eo.defineExtension=function(t,e){Eo.prototype[t]=e},Eo.defineDocExtension=function(t,e){xl.prototype[t]=e},Eo.fromTextArea=Zo,$o(Eo),Eo.version="5.26.0",Eo})},"8Z8y":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=function(t){function e(){var e=t.call(this,"argument out of range");this.name=e.name="ArgumentOutOfRangeError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.ArgumentOutOfRangeError=i},"8hgl":function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("+3eL"),l=n("WhVc");e.distinctUntilChanged=r;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,n,r){t.call(this,e),this.keySelector=r,this.hasKey=!1,"function"==typeof n&&(this.compare=n)}return i(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e=this.keySelector,n=t;if(e&&(n=s.tryCatch(this.keySelector)(t))===l.errorObject)return this.destination.error(l.errorObject.e);var r=!1;if(this.hasKey){if((r=s.tryCatch(this.compare)(this.key,n))===l.errorObject)return this.destination.error(l.errorObject.e)}else this.hasKey=!0;!1===Boolean(r)&&(this.key=n,this.destination.next(t))},e}(o.Subscriber)},"8szd":function(t,e,n){"use strict";var r=n("rCTf"),i=n("RyDc");r.Observable.prototype.skipUntil=i.skipUntil},"94IA":function(t,e,n){"use strict";var r=n("rCTf"),i=n("aec7");r.Observable.prototype.delay=i.delay},"9Avi":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("cPwE"),o=function(t){function e(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return r(e,t),e.prototype.flush=function(t){var e=this.actions;if(this.active)return void e.push(t);var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}},e}(i.Scheduler);e.AsyncScheduler=o},"9JPB":function(t,e,n){"use strict";var r=n("VOfZ"),i=n("2ER/");e.Map=r.root.Map||function(){return i.MapPolyfill}()},"9PGs":function(t,e,n){"use strict";function r(){return this.lift(new s)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.toArray=r;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(e){t.call(this,e),this.array=[]}return i(e,t),e.prototype._next=function(t){this.array.push(t)},e.prototype._complete=function(){this.destination.next(this.array),this.destination.complete()},e}(o.Subscriber)},"9TuE":function(t,e,n){"use strict";function r(){return this.lift(new s)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.isEmpty=r;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(e){t.call(this,e)}return i(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(o.Subscriber)},"9WjZ":function(t,e,n){"use strict";var r=n("rCTf"),i=n("+vPe");r.Observable.never=i.never},"9XFw":function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){}return t}();i.decorators=[{type:r.Component,args:[{selector:"ngb-modal-backdrop",template:"",host:{class:"modal-backdrop fade show"}}]}],i.ctorParameters=function(){return[]}},"9oY/":function(t,e,n){"use strict";var r=n("L2Hk");e.fromEventPattern=r.FromEventPatternObservable.create},"9oiU":function(t,e,n){"use strict";function r(t){return this.lift(new s(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.mapTo=r;var s=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.value))},t}(),l=function(t){function e(e,n){t.call(this,e),this.value=n}return i(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(o.Subscriber)},"9qUs":function(t,e,n){"use strict";var r=n("rCTf"),i=n("M5jZ");r.Observable.prototype.skip=i.skip},A7JX:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null;return"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&s.isArray(t[0])&&(t=t[0].slice()),t.unshift(this),this.lift.call(new o.ArrayObservable(t),new c(n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("Yh8Q"),s=n("Xajo"),l=n("wAkD"),a=n("CURp"),u={};e.combineLatest=r;var c=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.project))},t}();e.CombineLatestOperator=c;var h=function(t){function e(e,n){t.call(this,e),this.project=n,this.active=0,this.values=[],this.observables=[]}return i(e,t),e.prototype._next=function(t){this.values.push(u),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(a.subscribeToResult(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.values,s=o[n],l=this.toRespond?s===u?--this.toRespond:this.toRespond:0;o[n]=e,0===l&&(this.project?this._tryProject(o):this.destination.next(o.slice()))},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}(l.OuterSubscriber);e.CombineLatestSubscriber=h},A8b0:function(t,e,n){"use strict";var r=n("3j3K"),i=n("2Je8"),o=n("aKiW"),s=n("qQ/N");n.d(e,"a",function(){return l});var l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}();l.decorators=[{type:r.NgModule,args:[{declarations:[s.a],exports:[s.a],imports:[i.CommonModule]}]}],l.ctorParameters=function(){return[]}},AGQa:function(t,e,n){"use strict";var r=n("rCTf"),i=n("vvwv");r.Observable.empty=i.empty},AQOC:function(t,e,n){"use strict";function r(t,e){return i.distinctUntilChanged.call(this,function(n,r){return e?e(n[t],r[t]):n[t]===r[t]})}var i=n("8hgl");e.distinctUntilKeyChanged=r},ASN6:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 1===t.length&&l.isArray(t[0])&&(t=t[0]),this.lift(new c(t))}function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null;return 1===t.length&&l.isArray(t[0])&&(t=t[0]),n=t.shift(),new s.FromObservable(n,null).lift(new c(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("JkZN"),l=n("Xajo"),a=n("wAkD"),u=n("CURp");e.onErrorResumeNext=r,e.onErrorResumeNextStatic=i;var c=function(){function t(t){this.nextSources=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.nextSources))},t}(),h=function(t){function e(e,n){t.call(this,e),this.destination=e,this.nextSources=n}return o(e,t),e.prototype.notifyError=function(t,e){this.subscribeToNextSource()},e.prototype.notifyComplete=function(t){this.subscribeToNextSource()},e.prototype._error=function(t){this.subscribeToNextSource()},e.prototype._complete=function(){this.subscribeToNextSource()},e.prototype.subscribeToNextSource=function(){var t=this.nextSources.shift();t?this.add(u.subscribeToResult(this,t)):this.destination.complete()},e}(a.OuterSubscriber)},AXLD:function(t,e,n){"use strict";function r(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,3,"option",[],null,null,null,null,null)),l["ɵdid"](147456,null,0,a.NgSelectOption,[l.ElementRef,l.Renderer,[8,null]],{value:[0,"value"]},null),l["ɵdid"](147456,null,0,a["ɵq"],[l.ElementRef,l.Renderer,[8,null]],{value:[0,"value"]},null),(t()(),l["ɵted"](null,["",""]))],function(t,e){t(e,1,0,e.context.$implicit),t(e,2,0,e.context.$implicit)},function(t,e){t(e,3,0,e.component.i18n.getMonthShortName(e.context.$implicit))})}function i(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,3,"option",[],null,null,null,null,null)),l["ɵdid"](147456,null,0,a.NgSelectOption,[l.ElementRef,l.Renderer,[8,null]],{value:[0,"value"]},null),l["ɵdid"](147456,null,0,a["ɵq"],[l.ElementRef,l.Renderer,[8,null]],{value:[0,"value"]},null),(t()(),l["ɵted"](null,["",""]))],function(t,e){t(e,1,0,e.context.$implicit),t(e,2,0,e.context.$implicit)},function(t,e){t(e,3,0,e.context.$implicit)})}function o(t){return l["ɵvid"](0,[(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,4,"select",[["class","custom-select d-inline-block"]],[[8,"disabled",0],[8,"value",0]],[[null,"change"]],function(t,e,n){var r=!0,i=t.component;if("change"===e){r=!1!==i.changeMonth(n.target.value)&&r}return r},null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵand"](16777216,null,null,1,null,r)),l["ɵdid"](802816,null,0,c.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,4,"select",[["class","custom-select d-inline-block"]],[[8,"disabled",0],[8,"value",0]],[[null,"change"]],function(t,e,n){var r=!0,i=t.component;if("change"===e){r=!1!==i.changeYear(n.target.value)&&r}return r},null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵand"](16777216,null,null,1,null,i)),l["ɵdid"](802816,null,0,c.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,[" \n "]))],function(t,e){var n=e.component;t(e,4,0,n.months),t(e,9,0,n.years)},function(t,e){var n=e.component;t(e,1,0,n.disabled,null==n.date?null:n.date.month),t(e,6,0,n.disabled,null==n.date?null:n.date.year)})}function s(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,1,"ngb-datepicker-navigation-select",[],null,null,null,h.a,h.b)),l["ɵdid"](573440,null,0,u.a,[p.a,d.a],null,null)],null,null)}var l=n("3j3K"),a=n("NVOs"),u=n("qBUJ"),c=n("2Je8"),h=n("AXLD"),p=n("gEbu"),d=n("lcaH");n.d(e,"b",function(){return v}),e.a=o;var f=["select[_ngcontent-%COMP%] {\n \n padding: 0.25rem 0.5rem;\n font-size: 0.875rem; \n line-height: 1.25;\n \n height: inherit;\n width: 50%;\n }"],v=l["ɵcrt"]({encapsulation:0,styles:f,data:{}});l["ɵccf"]("ngb-datepicker-navigation-select",u.a,s,{date:"date",disabled:"disabled",maxDate:"maxDate",minDate:"minDate"},{select:"select"},[])},AZSN:function(t,e,n){"use strict";function r(t){return this.lift(new l(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.buffer=r;var l=function(){function t(t){this.closingNotifier=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.closingNotifier))},t}(),a=function(t){function e(e,n){t.call(this,e),this.buffer=[],this.add(s.subscribeToResult(this,n))}return i(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.buffer;this.buffer=[],this.destination.next(o)},e}(o.OuterSubscriber)},B2te:function(t,e,n){"use strict";var r=n("rCTf"),i=n("0VSF");r.Observable.prototype.sample=i.sample},BnNN:function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var o=n("3j3K"),s=n("7064"),l=function(){function t(t){this.resolver=t,this.dialogs=[]}return t.prototype.addDialog=function(t,e,n){var r=this;n=n||{};var i=this.resolver.resolveComponentFactory(s.DialogWrapperComponent),o=this.element.createComponent(i,n.index),l=o.instance,a=l.addComponent(t);return void 0!==n.index?this.dialogs.splice(n.index,0,a):this.dialogs.push(a),setTimeout(function(){l.container.nativeElement.classList.add("show"),l.container.nativeElement.classList.add("in")}),n.autoCloseTimeout&&setTimeout(function(){r.removeDialog(a)},n.autoCloseTimeout),n.closeByClickingOutside&&l.closeByClickOutside(),n.backdropColor&&(l.container.nativeElement.style.backgroundColor=n.backdropColor),a.fillData(e)},t.prototype.removeDialog=function(t){var e=this,n=t.wrapper.container.nativeElement;n.classList.remove("show"),n.classList.remove("in"),setTimeout(function(){e._removeElement(t)},300)},t.prototype._removeElement=function(t){var e=this.dialogs.indexOf(t);e>-1&&(this.element.remove(e),this.dialogs.splice(e,1))},t.prototype.clear=function(){this.element.clear(),this.dialogs=[]},t}();r([o.ViewChild("element",{read:o.ViewContainerRef}),i("design:type",o.ViewContainerRef)],l.prototype,"element",void 0),l=r([o.Component({selector:"dialog-holder",template:"<template #element></template>"}),i("design:paramtypes",[o.ComponentFactoryResolver])],l),e.DialogHolderComponent=l},"C0+T":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("9Avi"),o=function(t){function e(){t.apply(this,arguments)}return r(e,t),e}(i.AsyncScheduler);e.QueueScheduler=o},C4lF:function(t,e,n){"use strict";function r(){return this.lift(new l)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("YOd+");e.ignoreElements=r;var l=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype._next=function(t){s.noop()},e}(o.Subscriber)},CGGv:function(t,e,n){"use strict";var r=n("cwzr"),i=n("9Avi");e.async=new i.AsyncScheduler(r.AsyncAction)},CMrU:function(t,e,n){"use strict";var r=n("rCTf"),i=n("CfHE");r.Observable.prototype.concatAll=i.concatAll},CO0D:function(t,e,n){"use strict";var r=n("lcaH"),i=n("3j3K"),o=n("2yGx");n.d(e,"a",function(){return l});var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.getDaysPerWeek=function(){return 7},e.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},e.prototype.getWeeksPerMonth=function(){return 6},e.prototype.isValid=function(t){return t&&n.i(o.a)(t.year)&&n.i(o.a)(t.month)&&n.i(o.a)(t.day)&&!isNaN(this.toGregorian(t).getTime())},e.prototype.setDay=function(t,e){e=+e;var n=this.getDaysInIslamicMonth(t.month,t.year);if(e<=0)for(;e<=0;)t=this.setMonth(t,t.month-1),n=this.getDaysInIslamicMonth(t.month,t.year),e+=n;else if(e>n)for(;e>n;)e-=n,t=this.setMonth(t,t.month+1),n=this.getDaysInIslamicMonth(t.month,t.year);return t.day=e,t},e.prototype.setMonth=function(t,e){return e=+e,t.year=t.year+Math.floor((e-1)/12),t.month=Math.floor(((e-1)%12+12)%12)+1,t},e.prototype.setYear=function(t,e){return t.year=+e,t},e.prototype._isIslamicLeapYear=function(t){return(14+11*t)%30<11},e.prototype._getMonthStart=function(t,e){return Math.ceil(29.5*e)+354*(t-1)+Math.floor((3+11*t)/30)},e.prototype._getYearStart=function(t){return 354*(t-1)+Math.floor((3+11*t)/30)},e}(r.a);l.decorators=[{type:i.Injectable}],l.ctorParameters=function(){return[]}},CToi:function(t,e,n){"use strict";var r=n("rCTf"),i=n("ZvZx");r.Observable.prototype.max=i.max},CXHW:function(t,e,n){"use strict";var r=n("3j3K"),i=n("/PMa"),o=n("2yGx"),s=n("9XFw"),l=n("xOmt"),a=n("WtdY");n.d(e,"a",function(){return u});var u=function(){function t(t,e,n){this._applicationRef=t,this._injector=e,this._componentFactoryResolver=n,this._backdropFactory=n.resolveComponentFactory(s.a),this._windowFactory=n.resolveComponentFactory(l.a)}return t.prototype.open=function(t,e,n,r){var i=r.container||"body",o=document.querySelector(i);if(!o)throw new Error('The specified modal container "'+i+'" was not found in the DOM.');var s,l,u,c=new a.a,h=this._getContentRef(t,e,n,c);return!1!==r.backdrop&&(l=this._backdropFactory.create(this._injector),this._applicationRef.attachView(l.hostView),o.appendChild(l.location.nativeElement)),s=this._windowFactory.create(this._injector,h.nodes),this._applicationRef.attachView(s.hostView),o.appendChild(s.location.nativeElement),u=new a.b(s,h,l),c.close=function(t){u.close(t)},c.dismiss=function(t){u.dismiss(t)},this._applyWindowOptions(s.instance,r),u},t.prototype._applyWindowOptions=function(t,e){["backdrop","keyboard","size","windowClass"].forEach(function(r){n.i(o.h)(e[r])&&(t[r]=e[r])})},t.prototype._getContentRef=function(t,e,s,l){if(s){if(s instanceof r.TemplateRef){var u=s.createEmbeddedView(l);return this._applicationRef.attachView(u),new i.b([u.rootNodes],u)}if(n.i(o.f)(s))return new i.b([[document.createTextNode(""+s)]]);var c=t.resolveComponentFactory(s),h=r.ReflectiveInjector.resolveAndCreate([{provide:a.a,useValue:l}],e),p=c.create(h);return this._applicationRef.attachView(p.hostView),new i.b([[p.location.nativeElement]],p.hostView,p)}return new i.b([])},t}();u.decorators=[{type:r.Injectable}],u.ctorParameters=function(){return[{type:r.ApplicationRef},{type:r.Injector},{type:r.ComponentFactoryResolver}]}},CYDS:function(t,e,n){"use strict";var r=n("rCTf"),i=n("/TOt");r.Observable.prototype.auditTime=i.auditTime},Cr1h:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("B00U"),s=n("y9a2"),l=n("g28B"),a=function(t){function e(e,n){t.call(this,function(t){var e=this,n=e.logSubscribedFrame();return t.add(new o.Subscription(function(){e.logUnsubscribedFrame(n)})),e.scheduleMessages(t),t}),this.messages=e,this.subscriptions=[],this.scheduler=n}return r(e,t),e.prototype.scheduleMessages=function(t){for(var e=this.messages.length,n=0;n<e;n++){var r=this.messages[n];t.add(this.scheduler.schedule(function(t){var e=t.message,n=t.subscriber;e.notification.observe(n)},r.frame,{message:r,subscriber:t}))}},e}(i.Observable);e.ColdObservable=a,l.applyMixins(a,[s.SubscriptionLoggable])},Cx8F:function(t,e,n){"use strict";function r(t){return this.lift(new c(t,this))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),s=n("+3eL"),l=n("WhVc"),a=n("wAkD"),u=n("CURp");e.retryWhen=r;var c=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.notifier,this.source))},t}(),h=function(t){function e(e,n,r){t.call(this,e),this.notifier=n,this.source=r}return i(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,r=this.retries,i=this.retriesSubscription;if(r)this.errors=null,this.retriesSubscription=null;else{if(n=new o.Subject,(r=s.tryCatch(this.notifier)(n))===l.errorObject)return t.prototype.error.call(this,l.errorObject.e);i=u.subscribeToResult(this,r)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=r,this.retriesSubscription=i,n.next(e)}},e.prototype._unsubscribe=function(){var t=this,e=t.errors,n=t.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,n,r,i){var o=this,s=o.errors,l=o.retries,a=o.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=s,this.retries=l,this.retriesSubscription=a,this.source.subscribe(this)},e}(a.OuterSubscriber)},DB2G:function(t,e,n){"use strict";function r(t){var e=arguments.length,n=a.async;c.isScheduler(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var r=null;e>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return e>=3&&(i=arguments[2]),this.lift(new h(t,r,i,n))}function i(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function o(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,r=t.subscriber,i=t.scheduler,o=r.openContext(),l=this;r.closed||(r.add(o.closeAction=i.schedule(s,n,{subscriber:r,context:o})),l.schedule(t,e))}function s(t){var e=t.subscriber,n=t.context;e.closeContext(n)}var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=n("CGGv"),u=n("mmVS"),c=n("fWbP");e.bufferTime=r;var h=function(){function t(t,e,n,r){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new d(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),p=function(){function t(){this.buffer=[]}return t}(),d=function(t){function e(e,n,r,l,a){t.call(this,e),this.bufferTimeSpan=n,this.bufferCreationInterval=r,this.maxBufferSize=l,this.scheduler=a,this.contexts=[];var u=this.openContext();if(this.timespanOnly=null==r||r<0,this.timespanOnly){var c={subscriber:this,context:u,bufferTimeSpan:n};this.add(u.closeAction=a.schedule(i,n,c))}else{var h={subscriber:this,context:u},p={bufferTimeSpan:n,bufferCreationInterval:r,subscriber:this,scheduler:a};this.add(u.closeAction=a.schedule(s,n,h)),this.add(a.schedule(o,r,p))}}return l(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,r=n.length,i=0;i<r;i++){var o=n[i],s=o.buffer;s.push(t),s.length==this.maxBufferSize&&(e=o)}e&&this.onBufferFull(e)},e.prototype._error=function(e){this.contexts.length=0,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this,n=e.contexts,r=e.destination;n.length>0;){var i=n.shift();r.next(i.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan,r={subscriber:this,context:t,bufferTimeSpan:n};this.add(t.closeAction=this.scheduler.schedule(i,n,r))}},e.prototype.openContext=function(){var t=new p;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(u.Subscriber)},DDfv:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.interval=5e3,this.wrap=!0,this.keyboard=!0}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},Dc2k:function(t,e,n){"use strict";function r(){if(p.root.XMLHttpRequest)return new p.root.XMLHttpRequest;if(p.root.XDomainRequest)return new p.root.XDomainRequest;throw new Error("CORS is not supported by your browser")}function i(){if(p.root.XMLHttpRequest)return new p.root.XMLHttpRequest;var t=void 0;try{for(var e=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],n=0;n<3;n++)try{if(t=e[n],new p.root.ActiveXObject(t))break}catch(t){}return new p.root.ActiveXObject(t)}catch(t){throw new Error("XMLHttpRequest is not supported by your browser")}}function o(t,e){return void 0===e&&(e=null),new y({method:"GET",url:t,headers:e})}function s(t,e,n){return new y({method:"POST",url:t,body:e,headers:n})}function l(t,e){return new y({method:"DELETE",url:t,headers:e})}function a(t,e,n){return new y({method:"PUT",url:t,body:e,headers:n})}function u(t,e,n){return new y({method:"PATCH",url:t,body:e,headers:n})}function c(t,e){return new y({method:"GET",url:t,responseType:"json",headers:e}).lift(new g.MapOperator(function(t,e){return t.response},null))}var h=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},p=n("VOfZ"),d=n("+3eL"),f=n("WhVc"),v=n("rCTf"),m=n("mmVS"),g=n("xAJs");e.ajaxGet=o,e.ajaxPost=s,e.ajaxDelete=l,e.ajaxPut=a,e.ajaxPatch=u,e.ajaxGetJSON=c;var y=function(t){function e(e){t.call(this);var n={async:!0,createXHR:function(){return this.crossDomain?r.call(this):i()},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof e)n.url=e;else for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);this.request=n}return h(e,t),e.prototype._subscribe=function(t){return new b(t,this.request)},e.create=function(){var t=function(t){return new e(t)};return t.get=o,t.post=s,t.delete=l,t.put=a,t.patch=u,t.getJSON=c,t}(),e}(v.Observable);e.AjaxObservable=y;var b=function(t){function e(e,n){t.call(this,e),this.request=n,this.done=!1;var r=n.headers=n.headers||{};n.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in r||p.root.FormData&&n.body instanceof p.root.FormData||void 0===n.body||(r["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),n.body=this.serializeBody(n.body,n.headers["Content-Type"]),this.send()}return h(e,t),e.prototype.next=function(t){this.done=!0;var e=this,n=e.xhr,r=e.request,i=e.destination,o=new w(t,n,r);i.next(o)},e.prototype.send=function(){var t=this,e=t.request,n=t.request,r=n.user,i=n.method,o=n.url,s=n.async,l=n.password,a=n.headers,u=n.body,c=e.createXHR,h=d.tryCatch(c).call(e);if(h===f.errorObject)this.error(f.errorObject.e);else{this.xhr=h,this.setupEvents(h,e);if((r?d.tryCatch(h.open).call(h,i,o,s,r,l):d.tryCatch(h.open).call(h,i,o,s))===f.errorObject)return this.error(f.errorObject.e),null;if(s&&(h.timeout=e.timeout,h.responseType=e.responseType),"withCredentials"in h&&(h.withCredentials=!!e.withCredentials),this.setHeaders(h,a),(u?d.tryCatch(h.send).call(h,u):d.tryCatch(h.send).call(h))===f.errorObject)return this.error(f.errorObject.e),null}return h},e.prototype.serializeBody=function(t,e){if(!t||"string"==typeof t)return t;if(p.root.FormData&&t instanceof p.root.FormData)return t;if(e){var n=e.indexOf(";");-1!==n&&(e=e.substring(0,n))}switch(e){case"application/x-www-form-urlencoded":return Object.keys(t).map(function(e){return encodeURI(e)+"="+encodeURI(t[e])}).join("&");case"application/json":return JSON.stringify(t);default:return t}},e.prototype.setHeaders=function(t,e){for(var n in e)e.hasOwnProperty(n)&&t.setRequestHeader(n,e[n])},e.prototype.setupEvents=function(t,e){function n(t){var e=n,r=e.subscriber,i=e.progressSubscriber,o=e.request;i&&i.error(t),r.error(new C(this,o))}function r(t){var e=r,n=e.subscriber,i=e.progressSubscriber,o=e.request;if(4===this.readyState){var s=1223===this.status?204:this.status,l="text"===this.responseType?this.response||this.responseText:this.response;0===s&&(s=l?200:0),200<=s&&s<300?(i&&i.complete(),n.next(t),n.complete()):(i&&i.error(t),n.error(new x("ajax error "+s,this,o)))}}var i=e.progressSubscriber;if(t.ontimeout=n,n.request=e,n.subscriber=this,n.progressSubscriber=i,t.upload&&"withCredentials"in t){if(i){var o;o=function(t){o.progressSubscriber.next(t)},p.root.XDomainRequest?t.onprogress=o:t.upload.onprogress=o,o.progressSubscriber=i}var s;s=function(t){var e=s,n=e.progressSubscriber,r=e.subscriber,i=e.request;n&&n.error(t),r.error(new x("ajax error",this,i))},t.onerror=s,s.request=e,s.subscriber=this,s.progressSubscriber=i}t.onreadystatechange=r,r.subscriber=this,r.progressSubscriber=i,r.request=e},e.prototype.unsubscribe=function(){var e=this,n=e.done,r=e.xhr;!n&&r&&4!==r.readyState&&"function"==typeof r.abort&&r.abort(),t.prototype.unsubscribe.call(this)},e}(m.Subscriber);e.AjaxSubscriber=b;var w=function(){function t(t,e,n){switch(this.originalEvent=t,this.xhr=e,this.request=n,this.status=e.status,this.responseType=e.responseType||n.responseType,this.responseType){case"json":this.response="response"in e?e.responseType?e.response:JSON.parse(e.response||e.responseText||"null"):JSON.parse(e.responseText||"null");break;case"xml":this.response=e.responseXML;break;case"text":default:this.response="response"in e?e.response:e.responseText}}return t}();e.AjaxResponse=w;var x=function(t){function e(e,n,r){t.call(this,e),this.message=e,this.xhr=n,this.request=r,this.status=n.status}return h(e,t),e}(Error);e.AjaxError=x;var C=function(t){function e(e,n){t.call(this,"ajax timeout",e,n)}return h(e,t),e}(x);e.AjaxTimeoutError=C},Di9Q:function(t,e,n){"use strict";var r=n("rCTf"),i=n("DB2G");r.Observable.prototype.bufferTime=i.bufferTime},Dkzu:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=function(t){function e(e,n){t.call(this),this.error=e,this.scheduler=n}return r(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.error;t.subscriber.error(e)},e.prototype._subscribe=function(t){var n=this.error,r=this.scheduler;if(t.syncErrorThrowable=!0,r)return r.schedule(e.dispatch,0,{error:n,subscriber:t});t.error(n)},e}(i.Observable);e.ErrorObservable=o},DzMp:function(t,e,n){"use strict";var r=n("+EXD");e.defer=r.DeferObservable.create},"E/WS":function(t,e,n){"use strict";function r(t,e){void 0===e&&(e=o.async);var n=s.isDate(t),r=n?+t-e.now():Math.abs(t);return this.lift(new u(r,n,e,new a.TimeoutError))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("CGGv"),s=n("fuZx"),l=n("mmVS"),a=n("cmqr");e.timeout=r;var u=function(){function t(t,e,n,r){this.waitFor=t,this.absoluteTimeout=e,this.scheduler=n,this.errorInstance=r}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.absoluteTimeout,this.waitFor,this.scheduler,this.errorInstance))},t}(),c=function(t){function e(e,n,r,i,o){t.call(this,e),this.absoluteTimeout=n,this.waitFor=r,this.scheduler=i,this.errorInstance=o,this.action=null,this.scheduleTimeout()}return i(e,t),e.dispatchTimeout=function(t){t.error(t.errorInstance)},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.errorInstance=null},e}(l.Subscriber)},E7Yq:function(t,e,n){"use strict";var r=n("rCTf"),i=n("TIy+");r.Observable.fromEvent=i.fromEvent},EGMK:function(t,e,n){"use strict";var r=n("rCTf"),i=n("kkb0");r.Observable.prototype.merge=i.merge},ENML:function(t,e,n){"use strict";var r=n("rCTf"),i=n("/8te");r.Observable.range=i.range},ETCP:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.placement="top",this.triggers="click"}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},EnA3:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Rewd");r.Observable.prototype.do=i._do,r.Observable.prototype._do=i._do},EoAl:function(t,e,n){"use strict";var r=n("rCTf"),i=n("KuCq");r.Observable.prototype.takeWhile=i.takeWhile},Ep2y:function(t,e,n){"use strict";var r=n("3j3K"),i=n("2Je8"),o=n("/i+G"),s=n("K0TW");n.d(e,"a",function(){return l});var l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();l.decorators=[{type:r.NgModule,args:[{declarations:[o.a],exports:[o.a],imports:[i.CommonModule]}]}],l.ctorParameters=function(){return[]}},EzwU:function(t,e,n){"use strict";var r=n("3j3K"),i=n("2yGx");n.d(e,"a",function(){return o});var o=function(){function t(){this.highlightClass="ngb-highlight"}return t.prototype.ngOnChanges=function(t){var e=n.i(i.d)(this.result),r=e.toLowerCase(),o=n.i(i.d)(this.term).toLowerCase(),s=0;o.length>0?this.parts=r.split(new RegExp("("+n.i(i.g)(o)+")")).map(function(t){var n=e.substr(s,t.length);return s+=t.length,n}):this.parts=[e]},t}();o.decorators=[{type:r.Component,args:[{selector:"ngb-highlight",changeDetection:r.ChangeDetectionStrategy.OnPush,template:'<ng-template ngFor [ngForOf]="parts" let-part let-isOdd="odd"><span *ngIf="isOdd" class="{{highlightClass}}">{{part}}</span><ng-template [ngIf]="!isOdd">{{part}}</ng-template></ng-template>',styles:["\n .ngb-highlight {\n font-weight: bold;\n }\n "]}]}],o.ctorParameters=function(){return[]},o.propDecorators={highlightClass:[{type:r.Input}],result:[{type:r.Input}],term:[{type:r.Input}]}},FE8a:function(t,e,n){"use strict";var r=n("rCTf"),i=n("1Axw");r.Observable.prototype.delayWhen=i.delayWhen},FR2h:function(t,e,n){"use strict";var r=n("Fzro"),i=n("rCTf"),o=(n.n(i),n("mwbX")),s=n("R6W2"),l=n("+pb+"),a=(n.n(l),n("6Yye"));n.n(a);n.d(e,"a",function(){return u});var u=function(){function t(t,e){this.http=t,this.authService=e}return t.prototype.getArchivos=function(t){var e=new r.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new r.m;n.set("cedula",t);var i=new r.g({headers:e,search:n});return this.http.get(o.a+"/servicios/archivo",i).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.getArchivosCompartidosAlumno=function(t){var e=new r.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new r.m;n.set("cedula",t),n.set("compartidos","true");var i=new r.g({headers:e,search:n});return this.http.get(o.a+"/servicios/archivo",i).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.crearArchivo=function(t){var e=new r.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new r.g({headers:e});return this.http.post(o.a+"/servicios/archivo",t,n).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.editarArchivo=function(t,e){var n=new r.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),i=new r.g({headers:n});return this.http.put(o.a+"/servicios/archivo/"+t,e,i).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.eliminarArchivo=function(t){var e=new r.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new r.g({headers:e});return this.http.delete(o.a+"/servicios/archivo/"+t,n).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.getCopiaArchivoCompartidoGrupo=function(t,e){var n=new r.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),i=new r.m;i.set("cedula",t);var s=new r.g({headers:n,search:i});return this.http.get(o.a+"/servicios/archivo/compartido/"+e,s).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.compartirArchivoGrupo=function(t,e){var n=new r.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),i=new r.g({headers:n}),s={id:e};return this.http.post(o.a+"/servicios/grupo/"+t.liceoId+"/"+t.anio+"/"+t.grado+"/"+t.grupo+"/archivo",s,i).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.calificarArchivo=function(t,e){var n=new r.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),i=new r.g({headers:n});return this.http.post(o.a+"/servicios/archivo/"+t+"/evaluacion",e,i).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.getGrupos=function(t){var e=new r.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new r.m;n.set("cedula",t);var i=new r.g({headers:e,search:n});return this.http.get(o.a+"/servicios/grupo",i).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.handleError=function(t){var e=t.message?t.message:t.status?t.status+" - "+t.statusText:"Server error";return console.error(e),i.Observable.throw(e)},t.ctorParameters=function(){return[{type:r.i},{type:s.a}]},t}()},FT6u:function(t,e,n){"use strict";function r(t){var e="function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t<e?t:e};return this.lift(new i.ReduceOperator(e))}var i=n("pgP5");e.min=r},"Ffu+":function(t,e,n){"use strict";function r(){return this.lift(new s)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.pairwise=r;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(e){t.call(this,e),this.hasPrev=!1}return i(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(o.Subscriber)},FiTo:function(t,e,n){"use strict";function r(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,2,"ngb-alert",[["class","alertPosition"]],[[4,"top",null]],[[null,"close"]],function(t,e,n){var r=!0,i=t.component;if("close"===e){r=!1!==i.closeAlert(t.context.index)&&r}return r},l.b,l.c)),s["ɵdid"](49152,null,0,a.a,[u.a],{type:[0,"type"]},{close:"close"}),(t()(),s["ɵted"](0,["\n","\n"]))],function(t,e){t(e,1,0,null==e.context.$implicit?null:e.context.$implicit.type)},function(t,e){t(e,0,0,60*e.context.index+30+"px"),t(e,2,0,null==e.context.$implicit?null:e.context.$implicit.text)})}function i(t){return s["ɵvid"](0,[(t()(),s["ɵted"](null,["\n\n"])),(t()(),s["ɵand"](16777216,null,null,1,null,r)),s["ɵdid"](802816,null,0,c.NgForOf,[s.ViewContainerRef,s.TemplateRef,s.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),s["ɵted"](null,["\n"]))],function(t,e){t(e,2,0,e.component.alerts)},null)}function o(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,1,"notificacion",[],null,null,null,i,f)),s["ɵdid"](114688,null,0,h.a,[p.a],null,null)],function(t,e){t(e,1,0)},null)}var s=n("3j3K"),l=n("7ldD"),a=n("s28n"),u=n("gFLb"),c=n("2Je8"),h=n("SIx6"),p=n("dBGY");n.d(e,"b",function(){return f}),e.a=i;var d=[],f=s["ɵcrt"]({encapsulation:2,styles:d,data:{}});s["ɵccf"]("notificacion",h.a,o,{},{},[])},GR1s:function(t,e,n){"use strict";function r(){return this.lift(new l)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.exhaust=r;var l=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e),this.hasCompleted=!1,this.hasSubscription=!1}return i(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(s.subscribeToResult(this,t)))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber)},GW10:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("3j3K"),i=n("2Je8"),o=n("zK+N"),s=function(){function t(){}return t}();s.decorators=[{type:r.NgModule,args:[{imports:[i.CommonModule],declarations:[o.CodemirrorComponent],exports:[o.CodemirrorComponent]}]}],s.ctorParameters=function(){return[]},e.CodemirrorModule=s},GZqV:function(t,e,n){"use strict";function r(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return this.lift(new s(t,this,!1,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.find=r;var s=function(){function t(t,e,n,r){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=r}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}();e.FindValueOperator=s;var l=function(t){function e(e,n,r,i,o){t.call(this,e),this.predicate=n,this.source=r,this.yieldIndex=i,this.thisArg=o,this.index=0}return i(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){var e=this,n=e.predicate,r=e.thisArg,i=this.index++;try{n.call(r||this,t,i,this.source)&&this.notifyComplete(this.yieldIndex?i:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(o.Subscriber);e.FindValueSubscriber=l},Gb0N:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=function(t){function e(e,n,r){t.call(this),this.start=e,this._count=n,this.scheduler=r}return r(e,t),e.create=function(t,n,r){return void 0===t&&(t=0),void 0===n&&(n=0),new e(t,n,r)},e.dispatch=function(t){var e=t.start,n=t.index,r=t.count,i=t.subscriber;if(n>=r)return void i.complete();i.next(e),i.closed||(t.index=n+1,t.start=e+1,this.schedule(t))},e.prototype._subscribe=function(t){var n=0,r=this.start,i=this._count,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{index:n,count:i,start:r,subscriber:t});for(;;){if(n++>=i){t.complete();break}if(t.next(r++),t.closed)break}},e}(i.Observable);e.RangeObservable=o},GcOx:function(t,e,n){"use strict";var r=n("rCTf"),i=n("cjT5");r.Observable.prototype.debounce=i.debounce},Gvdl:function(t,e,n){"use strict";var r=n("EEr4");e.Subject=r.Subject,e.AnonymousSubject=r.AnonymousSubject;var i=n("rCTf");e.Observable=i.Observable,n("1k2o"),n("U85J"),n("XlOA"),n("1ZrL"),n("zO2v"),n("AGQa"),n("iJMh"),n("S35O"),n("E7Yq"),n("LHw1"),n("c3t5"),n("f1gJ"),n("iUY6"),n("SUuD"),n("fICK"),n("O8p4"),n("9WjZ"),n("1APj"),n("1VLl"),n("g0nL"),n("ENML"),n("vQ+N"),n("h0qH"),n("jdeX"),n("iod1"),n("1Nls"),n("lh/Z"),n("nsuO"),n("+KN+"),n("Di9Q"),n("jDQW"),n("Whbc"),n("6Yye"),n("k27J"),n("qp8k"),n("/rMs"),n("CMrU"),n("jvbR"),n("16m9"),n("/181"),n("zC23"),n("GcOx"),n("aV5h"),n("NJh0"),n("94IA"),n("FE8a"),n("qhgQ"),n("q3ik"),n("tYwL"),n("EnA3"),n("Yfq7"),n("SSeX"),n("sT3i"),n("Mvzr"),n("wUn1"),n("tDJK"),n("hs6U"),n("W1/H"),n("okk1"),n("6s76"),n("LppN"),n("2395"),n("qcjU"),n("CYDS"),n("JJSU"),n("KRCp"),n("1NVl"),n("+pb+"),n("6gFN"),n("Ye9U"),n("CToi"),n("EGMK"),n("JPC0"),n("HcJ8"),n("VfeM"),n("SGWz"),n("Rxv9"),n("j7ye"),n("p1Um"),n("rLWm"),n("iIfT"),n("adqA"),n("xOQQ"),n("4Ie8"),n("nDCe"),n("PvYY"),n("0TiQ"),n("48bo"),n("UNGF"),n("XZ4o"),n("y6Vm"),n("y3IE"),n("10Gq"),n("B2te"),n("6hPP"),n("zJQZ"),n("UFi/"),n("WQmy"),n("s616"),n("JQ6u"),n("9qUs"),n("WnEV"),n("8szd"),n("VaQ6"),n("/lY3"),n("oHQS"),n("UyzR"),n("uCY4"),n("tuHt"),n("hzF8"),n("77/N"),n("T3fU"),n("EoAl"),n("PMZt"),n("jF50"),n("XKof"),n("cDAr"),n("a0Ch"),n("voL5"),n("7axH"),n("eErF"),n("7FaQ"),n("q4U+"),n("PwiB"),n("xFXl"),n("gDzJ"),n("fiy1"),n("ixac"),n("tQRI");var o=n("B00U");e.Subscription=o.Subscription;var s=n("mmVS");e.Subscriber=s.Subscriber;var l=n("5c/I");e.AsyncSubject=l.AsyncSubject;var a=n("MQMf");e.ReplaySubject=a.ReplaySubject;var u=n("TfWX");e.BehaviorSubject=u.BehaviorSubject;var c=n("sIYO");e.ConnectableObservable=c.ConnectableObservable;var h=n("8GmM");e.Notification=h.Notification;var p=n("F7Al");e.EmptyError=p.EmptyError;var d=n("8Z8y");e.ArgumentOutOfRangeError=d.ArgumentOutOfRangeError;var f=n("IZVw");e.ObjectUnsubscribedError=f.ObjectUnsubscribedError;var v=n("cmqr");e.TimeoutError=v.TimeoutError;var m=n("GIjk");e.UnsubscriptionError=m.UnsubscriptionError;var g=n("sVus");e.TimeInterval=g.TimeInterval;var y=n("5pRa");e.Timestamp=y.Timestamp;var b=n("u1gx");e.TestScheduler=b.TestScheduler;var w=n("q0UB");e.VirtualTimeScheduler=w.VirtualTimeScheduler;var x=n("Dc2k");e.AjaxResponse=x.AjaxResponse,e.AjaxError=x.AjaxError,e.AjaxTimeoutError=x.AjaxTimeoutError;var C=n("Uqs8"),S=n("CGGv"),_=n("RA5l"),O=n("HwIK"),T=n("r8ZY"),k=n("cdmN"),I=n("mbVC"),R={asap:C.asap,queue:_.queue,animationFrame:O.animationFrame,async:S.async};e.Scheduler=R;var D={rxSubscriber:T.rxSubscriber,observable:I.observable,iterator:k.iterator};e.Symbol=D},HcJ8:function(t,e,n){"use strict";var r=n("rCTf"),i=n("XO5T");r.Observable.prototype.mergeMap=i.mergeMap,r.Observable.prototype.flatMap=i.mergeMap},HwIK:function(t,e,n){"use strict";var r=n("gi2R"),i=n("ww7A");e.animationFrame=new i.AnimationFrameScheduler(r.AnimationFrameAction)},IBkQ:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("EEr4"),o=n("B00U"),s=n("y9a2"),l=n("g28B"),a=function(t){function e(e,n){t.call(this),this.messages=e,this.subscriptions=[],this.scheduler=n}return r(e,t),e.prototype._subscribe=function(e){var n=this,r=n.logSubscribedFrame();return e.add(new o.Subscription(function(){n.logUnsubscribedFrame(r)})),t.prototype._subscribe.call(this,e)},e.prototype.setup=function(){for(var t=this,e=t.messages.length,n=0;n<e;n++)!function(){var e=t.messages[n];t.scheduler.schedule(function(){e.notification.observe(t)},e.frame)}()},e}(i.Subject);e.HotObservable=a,l.applyMixins(a,[s.SubscriptionLoggable])},INWX:function(t,e,n){"use strict";function r(t){return c["ɵvid"](0,[(t()(),c["ɵand"](0,null,null,0))],null,null)}function i(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,null,null,7,"li",[["class","nav-item"]],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵeld"](0,null,null,4,"a",[["class","nav-link"],["href",""],["role","tab"]],[[8,"id",0],[2,"active",null],[2,"disabled",null],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!=!!i.select(t.context.$implicit.id)&&r}return r},null,null)),(t()(),c["ɵted"](null,["\n ",""])),(t()(),c["ɵand"](16777216,null,null,1,null,r)),c["ɵdid"](540672,null,0,h.NgTemplateOutlet,[c.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵted"](null,["\n "]))],function(t,e){t(e,5,0,null==e.context.$implicit.titleTpl?null:e.context.$implicit.titleTpl.templateRef)},function(t,e){var n=e.component;t(e,2,0,e.context.$implicit.id,e.context.$implicit.id===n.activeId,e.context.$implicit.disabled,e.context.$implicit.disabled?"-1":void 0,n.destroyOnHide&&e.context.$implicit.id!==n.activeId?null:e.context.$implicit.id+"-panel",e.context.$implicit.id===n.activeId,e.context.$implicit.disabled),t(e,3,0,e.context.$implicit.title)})}function o(t){return c["ɵvid"](0,[(t()(),c["ɵand"](0,null,null,0))],null,null)}function s(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,null,null,4,"div",[["role","tabpanel"]],[[8,"className",0],[1,"aria-labelledby",0],[8,"id",0],[1,"aria-expanded",0]],null,null,null,null)),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵand"](16777216,null,null,1,null,o)),c["ɵdid"](540672,null,0,h.NgTemplateOutlet,[c.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),c["ɵted"](null,["\n "]))],function(t,e){t(e,3,0,e.parent.context.$implicit.contentTpl.templateRef)},function(t,e){var n=e.component;t(e,0,0,c["ɵinlineInterpolate"](1,"tab-pane ",e.parent.context.$implicit.id===n.activeId?"active":null,""),e.parent.context.$implicit.id,c["ɵinlineInterpolate"](1,"",e.parent.context.$implicit.id,"-panel"),e.parent.context.$implicit.id===n.activeId)})}function l(t){return c["ɵvid"](0,[(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵand"](16777216,null,null,1,null,s)),c["ɵdid"](16384,null,0,h.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),c["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,2,0,!n.destroyOnHide||e.context.$implicit.id===n.activeId)},null)}function a(t){return c["ɵvid"](0,[(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵeld"](0,null,null,4,"ul",[["role","tablist"]],[[8,"className",0]],null,null,null,null)),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵand"](16777216,null,null,1,null,i)),c["ɵdid"](802816,null,0,h.NgForOf,[c.ViewContainerRef,c.TemplateRef,c.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵeld"](0,null,null,4,"div",[["class","tab-content"]],null,null,null,null,null)),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵand"](16777216,null,null,1,null,l)),c["ɵdid"](802816,null,0,h.NgForOf,[c.ViewContainerRef,c.TemplateRef,c.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),c["ɵted"](null,["\n "])),(t()(),c["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,4,0,n.tabs),t(e,10,0,n.tabs)},function(t,e){var n=e.component;t(e,1,0,"nav nav-"+n.type+" justify-content-"+n.justify)})}function u(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,null,null,2,"ngb-tabset",[],null,null,null,d.a,d.b)),c["ɵdid"](2146304,null,1,p.a,[f.a],null,null),c["ɵqud"](603979776,1,{tabs:1})],null,null)}var c=n("3j3K"),h=n("2Je8"),p=n("edM1"),d=n("INWX"),f=n("v4DA");n.d(e,"b",function(){return m}),e.a=a;var v=[],m=c["ɵcrt"]({encapsulation:2,styles:v,data:{}});c["ɵccf"]("ngb-tabset",p.a,u,{activeId:"activeId",destroyOnHide:"destroyOnHide",justify:"justify",type:"type"},{tabChange:"tabChange"},[])},IiyU:function(t,e,n){"use strict";function r(t){return a["ɵvid"](0,[(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,1,"ngb-highlight",[],null,null,null,u.a,u.b)),a["ɵdid"](573440,null,0,c.a,[],{result:[0,"result"],term:[1,"term"]},null),(t()(),a["ɵted"](null,["\n "]))],function(t,e){t(e,2,0,e.context.formatter(e.context.result),e.context.term)},null)}function i(t){return a["ɵvid"](0,[(t()(),a["ɵand"](0,null,null,0))],null,null)}function o(t){return a["ɵvid"](0,[(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,5,"button",[["class","dropdown-item"],["role","option"],["type","button"]],[[8,"id",0],[2,"active",null]],[[null,"mouseenter"],[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("mouseenter"===e){r=!1!==i.markActive(t.context.index)&&r}if("click"===e){r=!1!==i.select(t.context.$implicit)&&r}return r},null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵand"](16777216,null,null,2,null,i)),a["ɵdid"](540672,null,0,h.NgTemplateOutlet,[a.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"],ngOutletContext:[1,"ngOutletContext"]},null),a["ɵpod"](["result","term","formatter"]),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,4,0,n.resultTemplate||a["ɵnov"](e.parent,1),t(e,5,0,e.context.$implicit,n.term,n.formatter))},function(t,e){var n=e.component;t(e,1,0,n.id+"-"+e.context.index,e.context.index===n.activeIdx)})}function s(t){return a["ɵvid"](0,[(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵand"](0,[["rt",2]],null,0,null,r)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵand"](16777216,null,null,1,null,o)),a["ɵdid"](802816,null,0,h.NgForOf,[a.ViewContainerRef,a.TemplateRef,a.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),a["ɵted"](null,["\n "]))],function(t,e){t(e,4,0,e.component.results)},null)}function l(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,1,"ngb-typeahead-window",[["class","dropdown-menu"],["role","listbox"],["style","display: block"]],[[8,"id",0]],null,null,d.b,d.c)),a["ɵdid"](114688,null,0,p.a,[],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,a["ɵnov"](e,1).id)})}var a=n("3j3K"),u=n("YJv1"),c=n("EzwU"),h=n("2Je8"),p=n("2BXm"),d=n("IiyU");n.d(e,"c",function(){return v}),e.b=s,n.d(e,"a",function(){return m});var f=[],v=a["ɵcrt"]({encapsulation:2,styles:f,data:{}}),m=a["ɵccf"]("ngb-typeahead-window",p.a,l,{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate"},{selectEvent:"select",activeChangeEvent:"activeChange"},[])},Imsy:function(t,e,n){"use strict";function r(t){return this.lift(new c(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),s=n("+3eL"),l=n("WhVc"),a=n("wAkD"),u=n("CURp");e.windowWhen=r;var c=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.closingSelector))},t}(),h=function(t){function e(e,n){t.call(this,e),this.destination=e,this.closingSelector=n,this.openWindow()}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.openWindow(i)},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this.openWindow(t)},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t),this.unsubscribeClosingNotification()},e.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},e.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},e.prototype.openWindow=function(t){void 0===t&&(t=null),t&&(this.remove(t),t.unsubscribe());var e=this.window;e&&e.complete();var n=this.window=new o.Subject;this.destination.next(n);var r=s.tryCatch(this.closingSelector)();if(r===l.errorObject){var i=l.errorObject.e;this.destination.error(i),this.window.error(i)}else this.add(this.closingNotification=u.subscribeToResult(this,r))},e}(a.OuterSubscriber)},JJSU:function(t,e,n){"use strict";var r=n("rCTf"),i=n("7nvF");r.Observable.prototype.last=i.last},JPC0:function(t,e,n){"use strict";var r=n("rCTf"),i=n("cbuX");r.Observable.prototype.mergeAll=i.mergeAll},JQ6u:function(t,e,n){"use strict";var r=n("rCTf"),i=n("p5++");r.Observable.prototype.single=i.single},Ji1V:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t[t.length-1];a.isScheduler(n)?t.pop():n=null;var r=t.length;return 1===r?l.concatStatic(new o.ScalarObservable(t[0],n),this):r>1?l.concatStatic(new i.ArrayObservable(t,n),this):l.concatStatic(new s.EmptyObservable(n),this)}var i=n("Yh8Q"),o=n("RRVv"),s=n("jBEF"),l=n("8MUz"),a=n("fWbP");e.startWith=r},"K/oD":function(t,e,n){"use strict";var r=n("3j3K"),i=n("2Je8"),o=n("EzwU"),s=n("2BXm"),l=n("qoi6"),a=n("cG9e");n.d(e,"a",function(){return u});var u=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[a.a]}},t}();u.decorators=[{type:r.NgModule,args:[{declarations:[l.a,o.a,s.a],exports:[l.a],imports:[i.CommonModule],entryComponents:[s.a]}]}],u.ctorParameters=function(){return[]}},K0TW:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},KKz1:function(t,e,n){"use strict";function r(t,e,n){return void 0===e&&(e=l.async),void 0===n&&(n=a.defaultThrottleConfig),this.lift(new u(t,e,n.leading,n.trailing))}function i(t){t.subscriber.clearThrottle()}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("mmVS"),l=n("CGGv"),a=n("u/VN");e.throttleTime=r;var u=function(){function t(t,e,n,r){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=r}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),c=function(t){function e(e,n,r,i,o){t.call(this,e),this.duration=n,this.scheduler=r,this.leading=i,this.trailing=o,this._hasTrailingValue=!1,this._trailingValue=null}return o(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(i,this.duration,{subscriber:this})),this.leading&&this.destination.next(t))},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(s.Subscriber)},KLoZ:function(t,e,n){"use strict";function r(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=e.length,i=0;i<r;i++){var o=e[i];for(var s in o)o.hasOwnProperty(s)&&(t[s]=o[s])}return t}function i(t){return t.Object.assign||r}var o=n("VOfZ");e.assignImpl=r,e.getAssign=i,e.assign=i(o.root)},KRCp:function(t,e,n){"use strict";var r=n("rCTf"),i=n("sb+e");r.Observable.prototype.let=i.letProto,r.Observable.prototype.letBind=i.letProto},Kjxw:function(t,e,n){"use strict";function r(t,e,n){var r;return i.multicast.call(this,function(){return this._isComplete?r:r=new o.ReplaySubject(t,e,n)}).refCount()}var i=n("emOw"),o=n("MQMf");e.shareReplay=r},KuCq:function(t,e,n){"use strict";function r(t){return this.lift(new s(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.takeWhile=r;var s=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.predicate))},t}(),l=function(t){function e(e,n){t.call(this,e),this.predicate=n,this.index=0}return i(e,t),e.prototype._next=function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(t){return void n.error(t)}this.nextOrComplete(t,e)},e.prototype.nextOrComplete=function(t,e){var n=this.destination;Boolean(e)?n.next(t):n.complete()},e}(o.Subscriber)},L2Hk:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("SKH6"),o=n("rCTf"),s=n("B00U"),l=function(t){function e(e,n,r){t.call(this),this.addHandler=e,this.removeHandler=n,this.selector=r}return r(e,t),e.create=function(t,n,r){return new e(t,n,r)},e.prototype._subscribe=function(t){var e=this,n=this.removeHandler,r=this.selector?function(){for(var n=[],r=0;r<arguments.length;r++)n[r-0]=arguments[r];e._callSelector(t,n)}:function(e){t.next(e)},o=this._callAddHandler(r,t);i.isFunction(n)&&t.add(new s.Subscription(function(){n(r,o)}))},e.prototype._callSelector=function(t,e){try{var n=this.selector.apply(this,e);t.next(n)}catch(e){t.error(e)}},e.prototype._callAddHandler=function(t,e){try{return this.addHandler(t)||null}catch(t){e.error(t)}},e}(o.Observable);e.FromEventPatternObservable=l},LHw1:function(t,e,n){"use strict";var r=n("rCTf"),i=n("9oY/");r.Observable.fromEventPattern=i.fromEventPattern},"LhE+":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("CURp"),s=n("wAkD"),l=function(t){function e(e,n,r){t.call(this),this.condition=e,this.thenSource=n,this.elseSource=r}return r(e,t),e.create=function(t,n,r){return new e(t,n,r)},e.prototype._subscribe=function(t){var e=this,n=e.condition,r=e.thenSource,i=e.elseSource;return new a(t,n,r,i)},e}(i.Observable);e.IfObservable=l;var a=function(t){function e(e,n,r,i){t.call(this,e),this.condition=n,this.thenSource=r,this.elseSource=i,this.tryIf()}return r(e,t),e.prototype.tryIf=function(){var t,e=this,n=e.condition,r=e.thenSource,i=e.elseSource;try{t=n();var s=t?r:i;s?this.add(o.subscribeToResult(this,s)):this._complete()}catch(t){this._error(t)}},e}(s.OuterSubscriber)},Llwz:function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),s=n("wAkD"),l=n("CURp");e.window=r;var a=function(){function t(t){this.windowBoundaries=t}return t.prototype.call=function(t,e){var n=new u(t),r=e.subscribe(n);return r.closed||n.add(l.subscribeToResult(n,this.windowBoundaries)),r},t}(),u=function(t){function e(e){t.call(this,e),this.window=new o.Subject,e.next(this.window)}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.openWindow()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this._complete()},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t)},e.prototype._complete=function(){this.window.complete(),this.destination.complete()},e.prototype._unsubscribe=function(){this.window=null},e.prototype.openWindow=function(){var t=this.window;t&&t.complete();var e=this.destination,n=this.window=new o.Subject;e.next(n)},e}(s.OuterSubscriber)},LppN:function(t,e,n){"use strict";var r=n("rCTf"),i=n("C4lF");r.Observable.prototype.ignoreElements=i.ignoreElements},M0cT:function(t,e,n){"use strict";var r=n("3j3K"),i=n("+dDw");n.d(e,"a",function(){return s});var o=[i.a,i.b,i.c],s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t}();s.decorators=[{type:r.NgModule,args:[{declarations:o,exports:o}]}],s.ctorParameters=function(){return[]}},M5jZ:function(t,e,n){"use strict";function r(t){return this.lift(new s(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.skip=r;var s=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.total))},t}(),l=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return i(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(o.Subscriber)},MQMf:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("EEr4"),o=n("RA5l"),s=n("B00U"),l=n("Ji1B"),a=n("IZVw"),u=n("ZJf8"),c=function(t){function e(e,n,r){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY),t.call(this),this.scheduler=r,this._events=[],this._bufferSize=e<1?1:e,this._windowTime=n<1?1:n}return r(e,t),e.prototype.next=function(e){var n=this._getNow();this._events.push(new h(n,e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._trimBufferThenGetEvents(),r=this.scheduler;if(this.closed)throw new a.ObjectUnsubscribedError;this.hasError?e=s.Subscription.EMPTY:this.isStopped?e=s.Subscription.EMPTY:(this.observers.push(t),e=new u.SubjectSubscription(this,t)),r&&t.add(t=new l.ObserveOnSubscriber(t,r));for(var i=n.length,o=0;o<i&&!t.closed;o++)t.next(n[o].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||o.queue).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,n=this._windowTime,r=this._events,i=r.length,o=0;o<i&&!(t-r[o].time<n);)o++;return i>e&&(o=Math.max(o,i-e)),o>0&&r.splice(0,o),r},e}(i.Subject);e.ReplaySubject=c;var h=function(){function t(t,e){this.time=t,this.value=e}return t}()},MSQt:function(t,e,n){"use strict";var r=n("3j3K"),i=n("6uCv"),o=n("c7mC");n.d(e,"a",function(){return l});var s=[i.a,i.b],l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}();l.decorators=[{type:r.NgModule,args:[{declarations:s,exports:s}]}],l.ctorParameters=function(){return[]}},"Mn0/":function(t,e,n){"use strict";function r(t){return o["ɵvid"](0,[(t()(),o["ɵted"](null,["",""]))],null,function(t,e){t(e,0,0,e.component.date.day)})}function i(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"div",[["ngbDatepickerDayView",""]],[[2,"bg-primary",null],[2,"text-white",null],[2,"text-muted",null],[2,"outside",null],[2,"btn-secondary",null]],null,null,l.a,l.b)),o["ɵdid"](49152,null,0,s.a,[],null,null)],null,function(t,e){t(e,0,0,o["ɵnov"](e,1).selected,o["ɵnov"](e,1).selected,o["ɵnov"](e,1).isMuted(),o["ɵnov"](e,1).isMuted(),!o["ɵnov"](e,1).disabled)})}var o=n("3j3K"),s=n("U6gI"),l=n("Mn0/");n.d(e,"b",function(){return u}),e.a=r;var a=["[_nghost-%COMP%] {\n text-align: center;\n width: 2rem;\n height: 2rem;\n line-height: 2rem; \n border-radius: 0.25rem;\n }\n .outside[_nghost-%COMP%] {\n opacity: 0.5;\n }"],u=o["ɵcrt"]({encapsulation:0,styles:a,data:{}});o["ɵccf"]("[ngbDatepickerDayView]",s.a,i,{currentMonth:"currentMonth",date:"date",disabled:"disabled",selected:"selected"},{},[])},Mqdq:function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("B00U"),s=n("CURp"),l=n("wAkD");e.bufferToggle=r;var a=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.openings,this.closingSelector))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.openings=n,this.closingSelector=r,this.contexts=[],this.add(s.subscribeToResult(this,n))}return i(e,t),e.prototype._next=function(t){for(var e=this.contexts,n=e.length,r=0;r<n;r++)e[r].buffer.push(t)},e.prototype._error=function(e){for(var n=this.contexts;n.length>0;){var r=n.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var n=e.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector,n=e.call(this,t);n&&this.trySubscribe(n)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var n=t.buffer,r=t.subscription;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(r),r.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=[],r=new o.Subscription,i={buffer:n,subscription:r};e.push(i);var l=s.subscribeToResult(this,t,i);!l||l.closed?this.closeBuffer(i):(l.context=i,this.add(l),r.add(l))},e}(l.OuterSubscriber)},MvGQ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("Gvdl"),i=function(){function t(t){this.dialogService=t}return t.prototype.fillData=function(t){var e=this;t=t||{};for(var n=Object.keys(t),i=0,o=n.length;i<o;i++){var s=n[i];this[s]=t[s]}return r.Observable.create(function(t){return e.observer=t,function(){e.close()}})},t.prototype.close=function(){this.dialogService.removeDialog(this)},t.prototype.ngOnDestroy=function(){this.observer&&this.observer.next(this.result)},t}();e.DialogComponent=i},Mvzr:function(t,e,n){"use strict";var r=n("rCTf"),i=n("+w3m");r.Observable.prototype.elementAt=i.elementAt},NJh0:function(t,e,n){"use strict";var r=n("rCTf"),i=n("RJ4+");r.Observable.prototype.defaultIfEmpty=i.defaultIfEmpty},NgUg:function(t,e,n){"use strict";function r(t){var e=t.obj,n=t.keys,r=t.length,i=t.index,o=t.subscriber;if(i===r)return void o.complete();var s=n[i];o.next([s,e[s]]),t.index=i+1,this.schedule(t)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("rCTf"),s=function(t){function e(e,n){t.call(this),this.obj=e,this.scheduler=n,this.keys=Object.keys(e)}return i(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e=this,n=e.keys,i=e.scheduler,o=n.length;if(i)return i.schedule(r,0,{obj:this.obj,keys:n,length:o,index:0,subscriber:t});for(var s=0;s<o;s++){var l=n[s];t.next([l,this.obj[l]])}t.complete()},e}(o.Observable);e.PairsObservable=s},Nr0j:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMV4");e.BootstrapModalModule=r.BootstrapModalModule,e.DialogComponent=r.DialogComponent,e.DialogService=r.DialogService},"O/+v":function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=null),this.lift(new s(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.bufferCount=r;var s=function(){function t(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?a:l}return t.prototype.call=function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))},t}(),l=function(t){function e(e,n){t.call(this,e),this.bufferSize=n,this.buffer=[]}return i(e,t),e.prototype._next=function(t){var e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])},e.prototype._complete=function(){var e=this.buffer;e.length>0&&this.destination.next(e),t.prototype._complete.call(this)},e}(o.Subscriber),a=function(t){function e(e,n,r){t.call(this,e),this.bufferSize=n,this.startBufferEvery=r,this.buffers=[],this.count=0}return i(e,t),e.prototype._next=function(t){var e=this,n=e.bufferSize,r=e.startBufferEvery,i=e.buffers,o=e.count;this.count++,o%r==0&&i.push([]);for(var s=i.length;s--;){var l=i[s];l.push(t),l.length===n&&(i.splice(s,1),this.destination.next(l))}},e.prototype._complete=function(){for(var e=this,n=e.buffers,r=e.destination;n.length>0;){var i=n.shift();i.length>0&&r.next(i)}t.prototype._complete.call(this)},e}(o.Subscriber)},O8p4:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Y3yw");r.Observable.race=i.raceStatic},OEcN:function(t,e,n){"use strict";var r=n("3j3K"),i=n("NVOs"),o=n("2yGx"),s=n("hUSH"),l=n("tyH+");n.d(e,"a",function(){return u});var a={provide:i.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return u}),multi:!0},u=function(){function t(t){this.onChange=function(t){},this.onTouched=function(){},this.meridian=t.meridian,this.spinners=t.spinners,this.seconds=t.seconds,this.hourStep=t.hourStep,this.minuteStep=t.minuteStep,this.secondStep=t.secondStep,this.disabled=t.disabled,this.readonlyInputs=t.readonlyInputs,this.size=t.size}return t.prototype.writeValue=function(t){this.model=t?new s.a(t.hour,t.minute,t.second):new s.a,this.seconds||t&&n.i(o.a)(t.second)||(this.model.second=0)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.changeHour=function(t){this.model.changeHour(t),this.propagateModelChange()},t.prototype.changeMinute=function(t){this.model.changeMinute(t),this.propagateModelChange()},t.prototype.changeSecond=function(t){this.model.changeSecond(t),this.propagateModelChange()},t.prototype.updateHour=function(t){this.model.updateHour(n.i(o.b)(t)),this.propagateModelChange()},t.prototype.updateMinute=function(t){this.model.updateMinute(n.i(o.b)(t)),this.propagateModelChange()},t.prototype.updateSecond=function(t){this.model.updateSecond(n.i(o.b)(t)),this.propagateModelChange()},t.prototype.toggleMeridian=function(){this.meridian&&this.changeHour(12)},t.prototype.formatHour=function(t){return n.i(o.a)(t)?this.meridian?n.i(o.c)(t%12==0?12:t%12):n.i(o.c)(t%24):n.i(o.c)(NaN)},t.prototype.formatMinSec=function(t){return n.i(o.c)(t)},t.prototype.setFormControlSize=function(){return{"form-control-sm":"small"===this.size,"form-control-lg":"large"===this.size}},t.prototype.setButtonSize=function(){return{"btn-sm":"small"===this.size,"btn-lg":"large"===this.size}},t.prototype.ngOnChanges=function(t){t.seconds&&!this.seconds&&this.model&&!n.i(o.a)(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))},t.prototype.propagateModelChange=function(t){void 0===t&&(t=!0),t&&this.onTouched(),this.model.isValid(this.seconds)?this.onChange({hour:this.model.hour,minute:this.model.minute,second:this.model.second}):this.onChange(null)},t}();u.decorators=[{type:r.Component,args:[{selector:"ngb-timepicker",styles:["\n .ngb-tp {\n display: flex;\n align-items: center;\n }\n\n .ngb-tp-hour, .ngb-tp-minute, .ngb-tp-second, .ngb-tp-meridian {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n }\n\n .ngb-tp-spacer {\n width: 1em;\n text-align: center;\n }\n\n .chevron::before {\n border-style: solid;\n border-width: 0.29em 0.29em 0 0;\n content: '';\n display: inline-block;\n height: 0.69em;\n left: 0.05em;\n position: relative;\n top: 0.15em;\n transform: rotate(-45deg);\n -webkit-transform: rotate(-45deg);\n -ms-transform: rotate(-45deg);\n vertical-align: middle;\n width: 0.71em;\n }\n\n .chevron.bottom:before {\n top: -.3em;\n -webkit-transform: rotate(135deg);\n -ms-transform: rotate(135deg);\n transform: rotate(135deg);\n }\n\n .btn-link {\n outline: 0;\n }\n\n .btn-link.disabled {\n cursor: not-allowed;\n opacity: .65;\n }\n\n input {\n text-align: center;\n display: inline-block;\n width: auto;\n }\n "],template:'\n <fieldset [disabled]="disabled" [class.disabled]="disabled">\n <div class="ngb-tp">\n <div class="ngb-tp-hour">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeHour(hourStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron"></span>\n <span class="sr-only">Increment hours</span>\n </button>\n <input type="text" class="form-control" [ngClass]="setFormControlSize()" maxlength="2" size="2" placeholder="HH"\n [value]="formatHour(model?.hour)" (change)="updateHour($event.target.value)"\n [readonly]="readonlyInputs" [disabled]="disabled" aria-label="Hours">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeHour(-hourStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron bottom"></span>\n <span class="sr-only">Decrement hours</span>\n </button>\n </div>\n <div class="ngb-tp-spacer">:</div>\n <div class="ngb-tp-minute">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeMinute(minuteStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron"></span>\n <span class="sr-only">Increment minutes</span>\n </button>\n <input type="text" class="form-control" [ngClass]="setFormControlSize()" maxlength="2" size="2" placeholder="MM"\n [value]="formatMinSec(model?.minute)" (change)="updateMinute($event.target.value)"\n [readonly]="readonlyInputs" [disabled]="disabled" aria-label="Minutes">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeMinute(-minuteStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron bottom"></span>\n <span class="sr-only">Decrement minutes</span>\n </button>\n </div>\n <div *ngIf="seconds" class="ngb-tp-spacer">:</div>\n <div *ngIf="seconds" class="ngb-tp-second">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeSecond(secondStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron"></span>\n <span class="sr-only">Increment seconds</span>\n </button>\n <input type="text" class="form-control" [ngClass]="setFormControlSize()" maxlength="2" size="2" placeholder="SS"\n [value]="formatMinSec(model?.second)" (change)="updateSecond($event.target.value)"\n [readonly]="readonlyInputs" [disabled]="disabled" aria-label="Seconds">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeSecond(-secondStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron bottom"></span>\n <span class="sr-only">Decrement seconds</span>\n </button>\n </div>\n <div *ngIf="meridian" class="ngb-tp-spacer"></div>\n <div *ngIf="meridian" class="ngb-tp-meridian">\n <button type="button" class="btn btn-outline-primary" [ngClass]="setButtonSize()"\n [disabled]="disabled" [class.disabled]="disabled"\n (click)="toggleMeridian()">{{model.hour >= 12 ? \'PM\' : \'AM\'}}</button>\n </div>\n </div>\n </fieldset>\n ',providers:[a]}]}],u.ctorParameters=function(){return[{type:l.a}]},u.propDecorators={meridian:[{type:r.Input}],spinners:[{type:r.Input}],seconds:[{type:r.Input}],hourStep:[{type:r.Input}],minuteStep:[{type:r.Input}],secondStep:[{type:r.Input}],readonlyInputs:[{type:r.Input}],size:[{type:r.Input}]}},OLzJ:function(t,e,n){"use strict";var r=n("VOfZ"),i=function(){function t(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){return t.setTimeout(e,1e3/60)})}return t}();e.RequestAnimationFrameDefinition=i,e.AnimationFrame=new i(r.root)},"Oa+j":function(t,e,n){"use strict";function r(){return this.lift(new s)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.dematerialize=r;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(e){t.call(this,e)}return i(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(o.Subscriber)},Ou9t:function(t,e,n){"use strict";function r(){return function(){function t(){this._values=[]}return t.prototype.add=function(t){this.has(t)||this._values.push(t)},t.prototype.has=function(t){return-1!==this._values.indexOf(t)},Object.defineProperty(t.prototype,"size",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this._values.length=0},t}()}var i=n("VOfZ");e.minimalSetImpl=r,e.Set=i.root.Set||r()},P3oE:function(t,e,n){"use strict";function r(t){return!i.isArray(t)&&t-parseFloat(t)+1>=0}var i=n("Xajo");e.isNumeric=r},PMZt:function(t,e,n){"use strict";var r=n("rCTf"),i=n("u/VN");r.Observable.prototype.throttle=i.throttle},PN3d:function(t,e,n){"use strict";function r(t){return o.multicast.call(this,new i.BehaviorSubject(t))}var i=n("TfWX"),o=n("emOw");e.publishBehavior=r},POFt:function(t,e,n){"use strict";function r(t){return 0===t?new l.EmptyObservable:this.lift(new a(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("8Z8y"),l=n("jBEF");e.take=r;var a=function(){function t(t){if(this.total=t,this.total<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return i(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(o.Subscriber)},PutI:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("cwzr"),o=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return r(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(i.AsyncAction);e.QueueAction=o},PvYY:function(t,e,n){"use strict";var r=n("rCTf"),i=n("0gHg");r.Observable.prototype.publishReplay=i.publishReplay},PwiB:function(t,e,n){"use strict";var r=n("rCTf"),i=n("sKQ8");r.Observable.prototype.windowTime=i.windowTime},Q0je:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("YOd+"),s=function(t){function e(){t.call(this)}return r(e,t),e.create=function(){return new e},e.prototype._subscribe=function(t){o.noop()},e}(i.Observable);e.NeverObservable=s},QNuG:function(t,e,n){"use strict";function r(){return o.multicast.call(this,new i.AsyncSubject)}var i=n("5c/I"),o=n("emOw");e.publishLast=r},QRpj:function(t,e,n){"use strict";function r(t){return s["ɵvid"](0,[(t()(),s["ɵand"](0,null,null,0))],null,null)}function i(t){return s["ɵvid"](0,[s["ɵqud"](402653184,1,{element:0}),(t()(),s["ɵand"](16777216,[[1,3],["element",2]],null,0,null,r))],null,null)}function o(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,1,"dialog-holder",[],null,null,null,l.b,l.c)),s["ɵdid"](49152,null,0,a.DialogHolderComponent,[s.ComponentFactoryResolver],null,null)],null,null)}var s=n("3j3K"),l=n("QRpj"),a=n("BnNN");n.n(a);n.d(e,"c",function(){return c}),e.b=i,n.d(e,"a",function(){return h});var u=[],c=s["ɵcrt"]({encapsulation:2,styles:u,data:{}}),h=s["ɵccf"]("dialog-holder",a.DialogHolderComponent,o,{},{},[])},Qt4r:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("fWbP"),s=function(t){return t},l=function(t){function e(e,n,r,i,o){t.call(this),this.initialState=e,this.condition=n,this.iterate=r,this.resultSelector=i,this.scheduler=o}return r(e,t),e.create=function(t,n,r,i,l){return 1==arguments.length?new e(t.initialState,t.condition,t.iterate,t.resultSelector||s,t.scheduler):void 0===i||o.isScheduler(i)?new e(t,n,r,s,i):new e(t,n,r,i,l)},e.prototype._subscribe=function(t){var n=this.initialState;if(this.scheduler)return this.scheduler.schedule(e.dispatch,0,{subscriber:t,iterate:this.iterate,condition:this.condition,resultSelector:this.resultSelector,state:n});for(var r=this,i=r.condition,o=r.resultSelector,s=r.iterate;;){if(i){var l=void 0;try{l=i(n)}catch(e){return void t.error(e)}if(!l){t.complete();break}}var a=void 0;try{a=o(n)}catch(e){return void t.error(e)}if(t.next(a),t.closed)break;try{n=s(n)}catch(e){return void t.error(e)}}},e.dispatch=function(t){var e=t.subscriber,n=t.condition;if(!e.closed){if(t.needIterate)try{t.state=t.iterate(t.state)}catch(t){return void e.error(t)}else t.needIterate=!0;if(n){var r=void 0;try{r=n(t.state)}catch(t){return void e.error(t)}if(!r)return void e.complete();if(e.closed)return}var i;try{i=t.resultSelector(t.state)}catch(t){return void e.error(t)}if(!e.closed&&(e.next(i),!e.closed))return this.schedule(t)}},e}(i.Observable);e.GenerateObservable=l},R6W2:function(t,e,n){"use strict";var r=n("Fzro"),i=n("+pb+"),o=(n.n(i),n("mwbX"));n.d(e,"a",function(){return s});var s=function(){function t(t){this.http=t}return t.prototype.login=function(t,e){var n=new r.l({"Content-Type":"application/json"}),i=new r.g({headers:n});return this.http.post(o.a+"/servicios/login",JSON.stringify({cedula:t,password:e}),i).map(function(t){var e=t.json();sessionStorage.setItem("currentUser",JSON.stringify(e))})},t.prototype.getUser=function(){return JSON.parse(sessionStorage.getItem("currentUser"))},t.prototype.getUserConfig=function(){return JSON.parse(sessionStorage.getItem("currentUser")).configuracion},t.prototype.getToken=function(){var t=JSON.parse(sessionStorage.getItem("currentUser"));return t?t.token:void 0},t.prototype.setUserConfig=function(t){var e=JSON.parse(sessionStorage.getItem("currentUser"));e.configuracion=t,sessionStorage.setItem("currentUser",JSON.stringify(e))},t.prototype.logout=function(){sessionStorage.removeItem("currentUser")},t.ctorParameters=function(){return[{type:r.i}]},t}()},RA5l:function(t,e,n){"use strict";var r=n("PutI"),i=n("C0+T");e.queue=new i.QueueScheduler(r.QueueAction)},"RJ4+":function(t,e,n){"use strict";function r(t){return void 0===t&&(t=null),this.lift(new s(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.defaultIfEmpty=r;var s=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.defaultValue))},t}(),l=function(t){function e(e,n){t.call(this,e),this.defaultValue=n,this.isEmpty=!0}return i(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(o.Subscriber)},RSMh:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("CURp"),s=n("wAkD"),l=function(t){function e(e,n){t.call(this),this.resourceFactory=e,this.observableFactory=n}return r(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e,n=this,r=n.resourceFactory,i=n.observableFactory;try{return e=r(),new a(t,e,i)}catch(e){t.error(e)}},e}(i.Observable);e.UsingObservable=l;var a=function(t){function e(e,n,r){t.call(this,e),this.resource=n,this.observableFactory=r,e.add(n),this.tryUse()}return r(e,t),e.prototype.tryUse=function(){try{var t=this.observableFactory.call(this,this.resource);t&&this.add(o.subscribeToResult(this,t))}catch(t){this._error(t)}},e}(s.OuterSubscriber)},RYQg:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return this.lift.call(i.apply(void 0,[this].concat(t)))}function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t[t.length-1];return"function"==typeof n&&t.pop(),new s.ArrayObservable(t).lift(new p(n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("Yh8Q"),l=n("Xajo"),a=n("mmVS"),u=n("wAkD"),c=n("CURp"),h=n("cdmN");e.zipProto=r,e.zipStatic=i;var p=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new d(t,this.project))},t}();e.ZipOperator=p;var d=function(t){function e(e,n,r){void 0===r&&(r=Object.create(null)),t.call(this,e),this.iterators=[],this.active=0,this.project="function"==typeof n?n:null,this.values=r}return o(e,t),e.prototype._next=function(t){var e=this.iterators;l.isArray(t)?e.push(new v(t)):"function"==typeof t[h.iterator]?e.push(new f(t[h.iterator]())):e.push(new m(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;if(0===e)return void this.destination.complete();this.active=e;for(var n=0;n<e;n++){var r=t[n];r.stillUnsubscribed?this.add(r.subscribe(r,n)):this.active--}},e.prototype.notifyInactive=function(){0===--this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,n=this.destination,r=0;r<e;r++){var i=t[r];if("function"==typeof i.hasValue&&!i.hasValue())return}for(var o=!1,s=[],r=0;r<e;r++){var i=t[r],l=i.next();if(i.hasCompleted()&&(o=!0),l.done)return void n.complete();s.push(l.value)}this.project?this._tryProject(s):n.next(s),o&&n.complete()},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}(a.Subscriber);e.ZipSubscriber=d;var f=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return t&&t.done},t}(),v=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[h.iterator]=function(){return this},t.prototype.next=function(t){var e=this.index++,n=this.array;return e<this.length?{value:n[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),m=function(t){function e(e,n,r){t.call(this,e),this.parent=n,this.observable=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return o(e,t),e.prototype[h.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,n,r,i){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return c.subscribeToResult(this,this.observable,this,e)},e}(u.OuterSubscriber)},Rewd:function(t,e,n){"use strict";function r(t,e,n){return this.lift(new s(t,e,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e._do=r;var s=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))},t}(),l=function(t){function e(e,n,r,i){t.call(this,e);var s=new o.Subscriber(n,r,i);s.syncErrorThrowable=!0,this.add(s),this.safeSubscriber=s}return i(e,t),e.prototype._next=function(t){var e=this.safeSubscriber;e.next(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.next(t)},e.prototype._error=function(t){var e=this.safeSubscriber;e.error(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.error(t)},e.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},e}(o.Subscriber)},Rgi1:function(t,e,n){"use strict";function r(t){return this.lift(new l(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("8Z8y");e.skipLast=r;var l=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return 0===this._skipCount?e.subscribe(new o.Subscriber(t)):e.subscribe(new a(t,this._skipCount))},t}(),a=function(t){function e(e,n){t.call(this,e),this._skipCount=n,this._count=0,this._ring=new Array(n)}return i(e,t),e.prototype._next=function(t){var e=this._skipCount,n=this._count++;if(n<e)this._ring[n]=t;else{var r=n%e,i=this._ring,o=i[r];i[r]=t,this.destination.next(o)}},e}(o.Subscriber)},Rxv9:function(t,e,n){"use strict";var r=n("rCTf"),i=n("FT6u");r.Observable.prototype.min=i.min},RyDc:function(t,e,n){"use strict";function r(t){return this.lift(new l(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.skipUntil=r;var l=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.notifier))},t}(),a=function(t){function e(e,n){t.call(this,e),this.hasValue=!1,this.isInnerStopped=!1,this.add(s.subscribeToResult(this,n))}return i(e,t),e.prototype._next=function(e){this.hasValue&&t.prototype._next.call(this,e)},e.prototype._complete=function(){this.isInnerStopped?t.prototype._complete.call(this):this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,i){this.hasValue=!0},e.prototype.notifyComplete=function(){this.isInnerStopped=!0,this.isStopped&&t.prototype._complete.call(this)},e}(o.OuterSubscriber)},S35O:function(t,e,n){"use strict";var r=n("rCTf"),i=n("PKvP");r.Observable.from=i.from},SDFq:function(t,e,n){"use strict";function r(t,e){return this.lift(new l(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.switchMapTo=r;var l=function(){function t(t,e){this.observable=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.observable,this.resultSelector))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.inner=n,this.resultSelector=r,this.index=0}return i(e,t),e.prototype._next=function(t){var e=this.innerSubscription;e&&e.unsubscribe(),this.add(this.innerSubscription=s.subscribeToResult(this,this.inner,t,this.index++))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){var o=this,s=o.resultSelector,l=o.destination;s?this.tryResultSelector(t,e,n,r):l.next(e)},e.prototype.tryResultSelector=function(t,e,n,r){var i,o=this,s=o.resultSelector,l=o.destination;try{i=s(t,e,n,r)}catch(t){return void l.error(t)}l.next(i)},e}(o.OuterSubscriber)},SDm3:function(t,e,n){"use strict";function r(t){return o["ɵvid"](0,[(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,4,"div",[["role","document"]],[[8,"className",0]],null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"div",[["class","modal-content"]],null,null,null,null,null)),o["ɵncd"](null,0),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n "]))],null,function(t,e){var n=e.component;t(e,1,0,"modal-dialog"+(n.size?" modal-"+n.size:""))})}function i(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"ngb-modal-window",[["role","dialog"],["style","display: block;"],["tabindex","-1"]],[[8,"className",0]],[[null,"keyup.esc"],[null,"click"]],function(t,e,n){var r=!0;if("keyup.esc"===e){r=!1!==o["ɵnov"](t,1).escKey(n)&&r}if("click"===e){r=!1!==o["ɵnov"](t,1).backdropClick(n)&&r}return r},l.b,l.c)),o["ɵdid"](4440064,null,0,s.a,[o.ElementRef,o.Renderer2],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,"modal fade show"+(o["ɵnov"](e,1).windowClass?" "+o["ɵnov"](e,1).windowClass:""))})}var o=n("3j3K"),s=n("xOmt"),l=n("SDm3");n.d(e,"c",function(){return u}),e.b=r,n.d(e,"a",function(){return c});var a=[],u=o["ɵcrt"]({encapsulation:2,styles:a,data:{}}),c=o["ɵccf"]("ngb-modal-window",s.a,i,{backdrop:"backdrop",keyboard:"keyboard",size:"size",windowClass:"windowClass"},{dismissEvent:"dismiss"},["*"])},SGWz:function(t,e,n){"use strict";var r=n("rCTf"),i=n("UELl");r.Observable.prototype.mergeScan=i.mergeScan},SIx6:function(t,e,n){"use strict";var r=n("dBGY"),i=n("aV5h");n.n(i);n.d(e,"a",function(){return o});var o=function(){function t(t){this.notifService=t,this.alerts=[]}return t.prototype.ngOnInit=function(){var t=this;this.notifService.getMessageSubject().subscribe(function(e){t.alerts.push(e),setTimeout(function(){t.closeAlert(0)},5e3)})},t.prototype.closeAlert=function(t){this.alerts.splice(t,1)},t.ctorParameters=function(){return[{type:r.a}]},t}()},SSeX:function(t,e,n){"use strict";var r=n("rCTf"),i=n("2AEF");r.Observable.prototype.exhaustMap=i.exhaustMap},SUuD:function(t,e,n){"use strict";var r=n("rCTf"),i=n("rpzr");r.Observable.interval=i.interval},SudU:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=0),this.lift(new o(t,e))}var i=n("ftJA");e.subscribeOn=r;var o=function(){function t(t,e){this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return new i.SubscribeOnObservable(e,this.delay,this.scheduler).subscribe(t)},t}()},T3fU:function(t,e,n){"use strict";var r=n("rCTf"),i=n("q+cp");r.Observable.prototype.takeUntil=i.takeUntil},"TIy+":function(t,e,n){"use strict";var r=n("/J7H");e.fromEvent=r.FromEventObservable.create},TL2s:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("kcyo"),o=n("cwzr"),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return r(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=i.Immediate.setImmediate(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(i.Immediate.clearImmediate(n),e.scheduled=void 0)},e}(o.AsyncAction);e.AsapAction=s},U6gI:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){}return t.prototype.isMuted=function(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)},t}();i.decorators=[{type:r.Component,args:[{selector:"[ngbDatepickerDayView]",styles:["\n :host {\n text-align: center;\n width: 2rem;\n height: 2rem;\n line-height: 2rem; \n border-radius: 0.25rem;\n }\n :host.outside {\n opacity: 0.5;\n }\n "],host:{"[class.bg-primary]":"selected","[class.text-white]":"selected","[class.text-muted]":"isMuted()","[class.outside]":"isMuted()","[class.btn-secondary]":"!disabled"},template:"{{ date.day }}"}]}],i.ctorParameters=function(){return[]},i.propDecorators={currentMonth:[{type:r.Input}],date:[{type:r.Input}],disabled:[{type:r.Input}],selected:[{type:r.Input}]}},U85J:function(t,e,n){"use strict";var r=n("rCTf"),i=n("b1Ba");r.Observable.bindNodeCallback=i.bindNodeCallback},U9ky:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t.length;if(0===n)throw new Error("list of properties cannot be empty.");return o.map.call(this,i(t,n))}function i(t,e){return function(n){for(var r=n,i=0;i<e;i++){var o=r[t[i]];if(void 0===o)return;r=o}return r}}var o=n("xAJs");e.pluck=r},UELl:function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),this.lift(new u(t,e,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("+3eL"),s=n("WhVc"),l=n("CURp"),a=n("wAkD");e.mergeScan=r;var u=function(){function t(t,e,n){this.accumulator=t,this.seed=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.accumulator,this.seed,this.concurrent))},t}();e.MergeScanOperator=u;var c=function(t){function e(e,n,r,i){t.call(this,e),this.accumulator=n,this.acc=r,this.concurrent=i,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return i(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.index++,n=o.tryCatch(this.accumulator)(this.acc,t),r=this.destination;n===s.errorObject?r.error(s.errorObject.e):(this.active++,this._innerSub(n,t,e))}else this.buffer.push(t)},e.prototype._innerSub=function(t,e,n){this.add(l.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.destination;this.acc=e,this.hasValue=!0,o.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(a.OuterSubscriber);e.MergeScanSubscriber=c},"UFi/":function(t,e,n){"use strict";var r=n("rCTf"),i=n("xYP1");r.Observable.prototype.sequenceEqual=i.sequenceEqual},UNGF:function(t,e,n){"use strict";var r=n("rCTf"),i=n("pgP5");r.Observable.prototype.reduce=i.reduce},UXYw:function(t,e,n){"use strict";var r=n("wta3");n.d(e,"a",function(){return i});var i=(r.a,function(){function t(){}return t}())},UmTU:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null,r=null;return i.isScheduler(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&o.isArray(t[0])&&(t=t[0]),new s.ArrayObservable(t,r).lift(new l.CombineLatestOperator(n))}var i=n("fWbP"),o=n("Xajo"),s=n("Yh8Q"),l=n("A7JX");e.combineLatest=r},Uqs8:function(t,e,n){"use strict";var r=n("TL2s"),i=n("1Cj3");e.asap=new i.AsapScheduler(r.AsapAction)},UyZi:function(t,e,n){"use strict";var r=n("3j3K"),i=n("9XFw"),o=n("xOmt"),s=n("CXHW"),l=n("3kwk");n("WtdY"),n("nxqe");n.d(e,"a",function(){return a});var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[l.a,s.a]}},t}();a.decorators=[{type:r.NgModule,args:[{declarations:[i.a,o.a],entryComponents:[i.a,o.a],providers:[l.a]}]}],a.ctorParameters=function(){return[]}},UyzR:function(t,e,n){"use strict";var r=n("rCTf"),i=n("XvGf");r.Observable.prototype.switch=i._switch,r.Observable.prototype._switch=i._switch},VEfc:function(t,e,n){"use strict";function r(t,e){return this.lift(new l(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.switchMap=r;var l=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.resultSelector))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.resultSelector=r,this.index=0}return i(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe(),this.add(this.innerSubscription=s.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){this.resultSelector?this._tryNotifyNext(t,e,n,r):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,n,r){var i;try{i=this.resultSelector(t,e,n,r)}catch(t){return void this.destination.error(t)}this.destination.next(i)},e}(o.OuterSubscriber)},VaQ6:function(t,e,n){"use strict";var r=n("rCTf"),i=n("sake");r.Observable.prototype.skipWhile=i.skipWhile},VfeM:function(t,e,n){"use strict";var r=n("rCTf"),i=n("iESu");r.Observable.prototype.flatMapTo=i.mergeMapTo,r.Observable.prototype.mergeMapTo=i.mergeMapTo},"W1/H":function(t,e,n){"use strict";var r=n("rCTf"),i=n("YgqK");r.Observable.prototype.findIndex=i.findIndex},W5jB:function(t,e,n){"use strict";var r=n("3j3K"),i=n("2yGx"),o=n("nCuf");n.d(e,"a",function(){return s});var s=function(){function t(t){this.value=0,this.max=t.max,this.animated=t.animated,this.striped=t.striped,this.type=t.type,this.showValue=t.showValue}return t.prototype.getValue=function(){return n.i(i.e)(this.value,this.max)},t.prototype.getPercentValue=function(){return 100*this.getValue()/this.max},t}();s.decorators=[{type:r.Component,args:[{selector:"ngb-progressbar",changeDetection:r.ChangeDetectionStrategy.OnPush,template:'\n <div class="progress">\n <div class="progress-bar{{type ? \' bg-\' + type : \'\'}}{{animated ? \' progress-bar-animated\' : \'\'}}{{striped ?\n \' progress-bar-striped\' : \'\'}}" role="progressbar" [style.width.%]="getPercentValue()"\n [attr.aria-valuenow]="getValue()" aria-valuemin="0" [attr.aria-valuemax]="max">\n <span *ngIf="showValue">{{getPercentValue()}}%</span><ng-content></ng-content>\n </div>\n </div>\n '}]}],s.ctorParameters=function(){return[{type:o.a}]},s.propDecorators={max:[{type:r.Input}],animated:[{type:r.Input}],striped:[{type:r.Input}],showValue:[{type:r.Input}],type:[{type:r.Input}],value:[{type:r.Input}]}},WKBe:function(t,e,n){"use strict";var r=n("3j3K"),i=n("WtNX"),o=n("ETCP");n.d(e,"a",function(){return s});var s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}();s.decorators=[{type:r.NgModule,args:[{declarations:[i.a,i.b],exports:[i.a],entryComponents:[i.b]}]}],s.ctorParameters=function(){return[]}},WQmy:function(t,e,n){"use strict";var r=n("rCTf"),i=n("+ayw");r.Observable.prototype.share=i.share},WTUZ:function(t,e,n){"use strict";function r(t){return this.lift(new u(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("+3eL"),s=n("WhVc"),l=n("wAkD"),a=n("CURp");e.audit=r;var u=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.durationSelector))},t}(),c=function(t){function e(e,n){t.call(this,e),this.durationSelector=n,this.hasValue=!1}return i(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=o.tryCatch(this.durationSelector)(t);if(e===s.errorObject)this.destination.error(s.errorObject.e);else{var n=a.subscribeToResult(this,e);n.closed?this.clearThrottle():this.add(this.throttled=n)}}},e.prototype.clearThrottle=function(){var t=this,e=t.value,n=t.hasValue,r=t.throttled;r&&(this.remove(r),this.throttled=null,r.unsubscribe()),n&&(this.value=null,this.hasValue=!1,this.destination.next(e))},e.prototype.notifyNext=function(t,e,n,r){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(l.OuterSubscriber)},Wdzl:function(t,e,n){"use strict";var r=n("Nr0j"),i=(n.n(r),n("x+30"));n.d(e,"a",function(){return s});var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(t){function e(e){var n=t.call(this,e)||this;return n.descripcion="",n.nota=1,n}return o(e,t),e.prototype.ngOnInit=function(){this.archivo.evaluacion&&(this.descripcion=this.archivo.evaluacion.descripcion,this.nota=this.archivo.evaluacion.nota)},e.prototype.confirm=function(){var t=this,e=new i.a;e.cedulaDocente=this.cedula,e.descripcion=this.descripcion,e.nota=this.nota,this.nota>0&&this.nota<100?this.parentContext.haskellService.calificarArchivo(this.archivo.id,e).subscribe(function(e){t.parentContext.notifService.success("Archivo evaluado"),t.archivo.evaluacion=e,t.close()},function(e){t.parentContext.notifService.error(e)}):this.parentContext.notifService.error("Calificacion fuera de rango")},e.prototype.cancel=function(){this.close()},e.ctorParameters=function(){return[{type:r.DialogService}]},e}(r.DialogComponent)},Whbc:function(t,e,n){"use strict";var r=n("rCTf"),i=n("1hN3");r.Observable.prototype.bufferWhen=i.bufferWhen},WnEV:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Rgi1");r.Observable.prototype.skipLast=i.skipLast},WtNX:function(t,e,n){"use strict";var r=n("3j3K"),i=n("aalB"),o=n("jRSa"),s=n("/PMa"),l=n("ETCP");n.d(e,"b",function(){return u}),n.d(e,"a",function(){return c});var a=0,u=function(){function t(){this.placement="top"}return t}();u.decorators=[{type:r.Component,args:[{selector:"ngb-popover-window",changeDetection:r.ChangeDetectionStrategy.OnPush,host:{"[class]":'"popover show popover-" + placement',role:"tooltip","[id]":"id"},template:'\n <h3 class="popover-title">{{title}}</h3><div class="popover-content"><ng-content></ng-content></div>\n '}]}],u.ctorParameters=function(){return[]},u.propDecorators={placement:[{type:r.Input}],title:[{type:r.Input}],id:[{type:r.Input}]};var c=function(){function t(t,e,i,l,c,h,p){var d=this;this._elementRef=t,this._renderer=e,this.shown=new r.EventEmitter,this.hidden=new r.EventEmitter,this._ngbPopoverWindowId="ngb-popover-"+a++,this.placement=h.placement,this.triggers=h.triggers,this.container=h.container,this._popupService=new s.a(u,i,c,e,l),this._zoneSubscription=p.onStable.subscribe(function(){d._windowRef&&n.i(o.a)(d._elementRef.nativeElement,d._windowRef.location.nativeElement,d.placement,"body"===d.container)})}return t.prototype.open=function(t){this._windowRef||(this._windowRef=this._popupService.open(this.ngbPopover,t),this._windowRef.instance.placement=this.placement,this._windowRef.instance.title=this.popoverTitle,this._windowRef.instance.id=this._ngbPopoverWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.markForCheck(),this.shown.emit())},t.prototype.close=function(){this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=n.i(i.a)(this._renderer,this._elementRef.nativeElement,this.triggers,this.open.bind(this),this.close.bind(this),this.toggle.bind(this))},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t}();c.decorators=[{type:r.Directive,args:[{selector:"[ngbPopover]",exportAs:"ngbPopover"}]}],c.ctorParameters=function(){return[{type:r.ElementRef},{type:r.Renderer2},{type:r.Injector},{type:r.ComponentFactoryResolver},{type:r.ViewContainerRef},{type:l.a},{type:r.NgZone}]},c.propDecorators={ngbPopover:[{type:r.Input}],popoverTitle:[{type:r.Input}],placement:[{type:r.Input}],triggers:[{type:r.Input}],container:[{type:r.Input}],shown:[{type:r.Output}],hidden:[{type:r.Output}]}},WtdY:function(t,e,n){"use strict";var r=n("3j3K"),i=n("/PMa");n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s});var o=function(){function t(){}return t.prototype.close=function(t){},t.prototype.dismiss=function(t){},t}();o.decorators=[{type:r.Injectable}],o.ctorParameters=function(){return[]};var s=function(){function t(t,e,n){var r=this;this._windowCmptRef=t,this._contentRef=e,this._backdropCmptRef=n,t.instance.dismissEvent.subscribe(function(t){r.dismiss(t)}),this.result=new Promise(function(t,e){r._resolve=t,r._reject=e}),this.result.then(null,function(){})}return Object.defineProperty(t.prototype,"componentInstance",{get:function(){if(this._contentRef.componentRef)return this._contentRef.componentRef.instance},set:function(t){},enumerable:!0,configurable:!0}),t.prototype.close=function(t){this._windowCmptRef&&(this._resolve(t),this._removeModalElements())},t.prototype.dismiss=function(t){this._windowCmptRef&&(this._reject(t),this._removeModalElements())},t.prototype._removeModalElements=function(){var t=this._windowCmptRef.location.nativeElement;if(t.parentNode.removeChild(t),this._windowCmptRef.destroy(),this._backdropCmptRef){var e=this._backdropCmptRef.location.nativeElement;e.parentNode.removeChild(e),this._backdropCmptRef.destroy()}this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._backdropCmptRef=null,this._contentRef=null},t}();s.decorators=[{type:r.Injectable}],s.ctorParameters=function(){return[{type:r.ComponentRef},{type:i.b},{type:r.ComponentRef}]}},WxOs:function(t,e,n){"use strict";function r(t){var e=this,n=t.source,r=t.subscriber,s=t.context,l=n,h=l.callbackFunc,p=l.args,d=l.scheduler,f=n.subject;if(!f){f=n.subject=new c.AsyncSubject;var v=function t(){for(var n=[],r=0;r<arguments.length;r++)n[r-0]=arguments[r];var s=t.source,l=s.selector,c=s.subject,h=n.shift();if(h)e.add(d.schedule(o,0,{err:h,subject:c}));else if(l){var p=a.tryCatch(l).apply(this,n);p===u.errorObject?e.add(d.schedule(o,0,{err:u.errorObject.e,subject:c})):e.add(d.schedule(i,0,{value:p,subject:c}))}else{var f=n.length<=1?n[0]:n;e.add(d.schedule(i,0,{value:f,subject:c}))}};v.source=n;a.tryCatch(h).apply(s,p.concat(v))===u.errorObject&&e.add(d.schedule(o,0,{err:u.errorObject.e,subject:f}))}e.add(f.subscribe(r))}function i(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function o(t){var e=t.err;t.subject.error(e)}var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=n("rCTf"),a=n("+3eL"),u=n("WhVc"),c=n("5c/I"),h=function(t){function e(e,n,r,i,o){t.call(this),this.callbackFunc=e,this.selector=n,this.args=r,this.context=i,this.scheduler=o}return s(e,t),e.create=function(t,n,r){return void 0===n&&(n=void 0),function(){for(var i=[],o=0;o<arguments.length;o++)i[o-0]=arguments[o];return new e(t,n,i,this,r)}},e.prototype._subscribe=function(t){var e=this.callbackFunc,n=this.args,i=this.scheduler,o=this.subject;if(i)return i.schedule(r,0,{source:this,subscriber:t,context:this.context});if(!o){o=this.subject=new c.AsyncSubject;var s=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var r=t.source,i=r.selector,o=r.subject,s=e.shift();if(s)o.error(s);else if(i){var l=a.tryCatch(i).apply(this,e);l===u.errorObject?o.error(u.errorObject.e):(o.next(l),o.complete())}else o.next(e.length<=1?e[0]:e),o.complete()};s.source=this;a.tryCatch(e).apply(this.context,n.concat(s))===u.errorObject&&o.error(u.errorObject.e)}return o.subscribe(t)},e}(l.Observable);e.BoundNodeCallbackObservable=h},X2ud:function(t,e,n){"use strict";function r(t){return this.lift(new i.CombineLatestOperator(t))}var i=n("A7JX");e.combineAll=r},XKof:function(t,e,n){"use strict";var r=n("rCTf"),i=n("sVus");r.Observable.prototype.timeInterval=i.timeInterval},XMV4:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("YqEa");e.BootstrapModalModule=r.BootstrapModalModule;var i=n("MvGQ");e.DialogComponent=i.DialogComponent;var o=n("hz2l");e.DialogService=o.DialogService,e.DialogServiceConfig=o.DialogServiceConfig},XZ4o:function(t,e,n){"use strict";var r=n("rCTf"),i=n("0GXu");r.Observable.prototype.repeat=i.repeat},XlOA:function(t,e,n){"use strict";var r=n("rCTf"),i=n("UmTU");r.Observable.combineLatest=i.combineLatest},XvGf:function(t,e,n){"use strict";function r(){return this.lift(new l)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e._switch=r;var l=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e),this.active=0,this.hasCompleted=!1}return i(e,t),e.prototype._next=function(t){this.unsubscribeInner(),this.active++,this.add(this.innerSubscription=s.subscribeToResult(this,t))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&this.destination.complete()},e.prototype.unsubscribeInner=function(){this.active=this.active>0?this.active-1:0;var t=this.innerSubscription;t&&(t.unsubscribe(),this.remove(t))},e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.unsubscribeInner(),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(o.OuterSubscriber)},Y3yw:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 1===t.length&&s.isArray(t[0])&&(t=t[0]),this.lift.call(i.apply(void 0,[this].concat(t)))}function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];if(1===t.length){if(!s.isArray(t[0]))return t[0];t=t[0]}return new l.ArrayObservable(t).lift(new c)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("Xajo"),l=n("Yh8Q"),a=n("wAkD"),u=n("CURp");e.race=r,e.raceStatic=i;var c=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new h(t))},t}();e.RaceOperator=c;var h=function(t){function e(e){t.call(this,e),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}return o(e,t),e.prototype._next=function(t){this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var n=0;n<e&&!this.hasFirst;n++){var r=t[n],i=u.subscribeToResult(this,r,r,n);this.subscriptions&&this.subscriptions.push(i),this.add(i)}this.observables=null}},e.prototype.notifyNext=function(t,e,n,r,i){if(!this.hasFirst){this.hasFirst=!0;for(var o=0;o<this.subscriptions.length;o++)if(o!==n){var s=this.subscriptions[o];s.unsubscribe(),this.remove(s)}this.subscriptions=null}this.destination.next(e)},e}(a.OuterSubscriber);e.RaceSubscriber=h},Y6hq:function(t,e,n){"use strict";function r(){return this.lift(new l)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("8GmM");e.materialize=r;var l=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e)}return i(e,t),e.prototype._next=function(t){this.destination.next(s.Notification.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(s.Notification.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(s.Notification.createComplete()),t.complete()},e}(o.Subscriber)},YDZ5:function(t,e,n){"use strict";function r(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,2,"ngb-datepicker-navigation-select",[["class","d-block"]],[[4,"width","rem"]],[[null,"select"]],function(t,e,n){var r=!0,i=t.component;if("select"===e){r=!1!==i.selectDate(n)&&r}return r},l.a,l.b)),s["ɵdid"](573440,null,0,a.a,[u.a,c.a],{date:[0,"date"],disabled:[1,"disabled"],maxDate:[2,"maxDate"],minDate:[3,"minDate"]},{select:"select"}),(t()(),s["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,1,0,n.date,n.disabled,n.maxDate,n.minDate)},function(t,e){t(e,0,0,9*e.component.months)})}function i(t){return s["ɵvid"](0,[(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,3,"button",[["class","btn-link"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!=!!i.doNavigate(i.navigation.PREV)&&r}return r},null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,0,"span",[["class","ngb-dp-navigation-chevron"]],null,null,null,null,null)),(t()(),s["ɵted"](null,[" \n "])),(t()(),s["ɵted"](null,["\n \n "])),(t()(),s["ɵand"](16777216,null,null,1,null,r)),s["ɵdid"](16384,null,0,p.NgIf,[s.ViewContainerRef,s.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),s["ɵted"](null,["\n \n "])),(t()(),s["ɵeld"](0,null,null,3,"button",[["class","btn-link"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!=!!i.doNavigate(i.navigation.NEXT)&&r}return r},null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,0,"span",[["class","ngb-dp-navigation-chevron right"]],null,null,null,null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵted"](null,["\n "]))],function(t,e){t(e,7,0,e.component.showSelect)},function(t,e){var n=e.component;t(e,1,0,n.prevDisabled()),t(e,9,0,n.nextDisabled())})}function o(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,1,"ngb-datepicker-navigation",[["class","d-flex justify-content-between"]],[[2,"collapsed",null]],null,null,d.a,d.b)),s["ɵdid"](49152,null,0,h.a,[u.a,c.a],null,null)],null,function(t,e){t(e,0,0,!s["ɵnov"](e,1).showSelect)})}var s=n("3j3K"),l=n("AXLD"),a=n("qBUJ"),u=n("gEbu"),c=n("lcaH"),h=n("3fcS"),p=n("2Je8"),d=n("YDZ5");n.d(e,"b",function(){return v}),e.a=i;var f=["[_nghost-%COMP%] {\n height: 2rem;\n line-height: 1.85rem;\n }\n .collapsed[_nghost-%COMP%] {\n margin-bottom: -2rem; \n }\n .ngb-dp-navigation-chevron[_ngcontent-%COMP%]::before {\n border-style: solid;\n border-width: 0.2em 0.2em 0 0;\n content: '';\n display: inline-block;\n height: 0.75em;\n transform: rotate(-135deg);\n -webkit-transform: rotate(-135deg);\n -ms-transform: rotate(-135deg);\n width: 0.75em;\n margin: 0 0 0 0.5rem;\n } \n .ngb-dp-navigation-chevron.right[_ngcontent-%COMP%]:before {\n -webkit-transform: rotate(45deg);\n -ms-transform: rotate(45deg);\n transform: rotate(45deg);\n margin: 0 0.5rem 0 0;\n }\n .btn-link[_ngcontent-%COMP%] {\n cursor: pointer;\n outline: 0;\n }\n .btn-link[disabled][_ngcontent-%COMP%] {\n cursor: not-allowed;\n opacity: .65;\n }"],v=s["ɵcrt"]({encapsulation:0,styles:f,data:{}});s["ɵccf"]("ngb-datepicker-navigation",h.a,o,{date:"date",disabled:"disabled",maxDate:"maxDate",minDate:"minDate",months:"months",showSelect:"showSelect",showWeekNumbers:"showWeekNumbers"},{navigate:"navigate",select:"select"},[])},YJv1:function(t,e,n){"use strict";function r(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,1,"span",[],[[8,"className",0]],null,null,null,null)),(t()(),a["ɵted"](null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,a["ɵinlineInterpolate"](1,"",n.highlightClass,"")),t(e,1,0,e.parent.context.$implicit)})}function i(t){return a["ɵvid"](0,[(t()(),a["ɵted"](null,["",""]))],null,function(t,e){t(e,0,0,e.parent.context.$implicit)})}function o(t){return a["ɵvid"](0,[(t()(),a["ɵand"](16777216,null,null,1,null,r)),a["ɵdid"](16384,null,0,u.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),a["ɵand"](16777216,null,null,1,null,i)),a["ɵdid"](16384,null,0,u.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),a["ɵand"](0,null,null,0))],function(t,e){t(e,1,0,e.context.odd),t(e,3,0,!e.context.odd)},null)}function s(t){return a["ɵvid"](2,[(t()(),a["ɵand"](16777216,null,null,1,null,o)),a["ɵdid"](802816,null,0,u.NgForOf,[a.ViewContainerRef,a.TemplateRef,a.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,1,0,e.component.parts)},null)}function l(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,1,"ngb-highlight",[],null,null,null,h.a,h.b)),a["ɵdid"](573440,null,0,c.a,[],null,null)],null,null)}var a=n("3j3K"),u=n("2Je8"),c=n("EzwU"),h=n("YJv1");n.d(e,"b",function(){return d}),e.a=s;var p=[".ngb-highlight[_ngcontent-%COMP%] {\n font-weight: bold;\n }"],d=a["ɵcrt"]({encapsulation:0,styles:p,data:{}});a["ɵccf"]("ngb-highlight",c.a,l,{highlightClass:"highlightClass",result:"result",term:"term"},{},[])},"YOd+":function(t,e,n){"use strict";function r(){}e.noop=r},Ye9U:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Y6hq");r.Observable.prototype.materialize=i.materialize},Yfq7:function(t,e,n){"use strict";var r=n("rCTf"),i=n("GR1s");r.Observable.prototype.exhaust=i.exhaust},YgqK:function(t,e,n){"use strict";function r(t,e){return this.lift(new i.FindValueOperator(t,this,!0,e))}var i=n("GZqV");e.findIndex=r},YqEa:function(t,e,n){"use strict";function r(t,e,n,r){return new u.DialogService(t,e,n,r)}var i=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};Object.defineProperty(e,"__esModule",{value:!0});var o=n("3j3K"),s=n("2Je8"),l=n("BnNN"),a=n("7064"),u=n("hz2l");e.dialogServiceFactory=r;var c=h=function(){function t(){}return t.forRoot=function(t){return{ngModule:h,providers:[{provide:u.DialogServiceConfig,useValue:t},{provide:u.DialogService,useFactory:r,deps:[o.ComponentFactoryResolver,o.ApplicationRef,o.Injector,u.DialogServiceConfig]}]}},t}();c=h=i([o.NgModule({declarations:[l.DialogHolderComponent,a.DialogWrapperComponent],providers:[u.DialogService],imports:[s.CommonModule],entryComponents:[l.DialogHolderComponent,a.DialogWrapperComponent]})],c),e.BootstrapModalModule=c;var h},Yuqe:function(t,e,n){"use strict";function r(t,e){return this.lift(new i.MergeMapToOperator(t,e,1))}var i=n("iESu");e.concatMapTo=r},ZvZx:function(t,e,n){"use strict";function r(t){var e="function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e};return this.lift(new i.ReduceOperator(e))}var i=n("pgP5");e.max=r},ZwZs:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.closeOthers=!1}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},a0Ch:function(t,e,n){"use strict";var r=n("rCTf"),i=n("8DDp");r.Observable.prototype.timeoutWith=i.timeoutWith},aKiW:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.max=10,this.readonly=!1,this.resettable=!1}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},aV5h:function(t,e,n){"use strict";var r=n("rCTf"),i=n("driz");r.Observable.prototype.debounceTime=i.debounceTime},aalB:function(t,e,n){"use strict";function r(t,e){void 0===e&&(e=s);var n=(t||"").trim();if(0===n.length)return[];var r=n.split(/\s+/).map(function(t){return t.split(":")}).map(function(t){var n=e[t[0]]||t;return new o(n[0],n[1])}),i=r.filter(function(t){return t.isManual()});if(i.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===i.length&&r.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return r}function i(t,e,n,i,o,s){var a=r(n),u=[];return 1===a.length&&a[0].isManual()?l:(a.forEach(function(n){n.open===n.close?u.push(t.listen(e,n.open,s)):u.push(t.listen(e,n.open,i),t.listen(e,n.close,o))}),function(){u.forEach(function(t){return t()})})}e.a=i;var o=function(){function t(t,e){this.open=t,this.close=e,e||(this.close=t)}return t.prototype.isManual=function(){return"manual"===this.open||"manual"===this.close},t}(),s={hover:["mouseenter","mouseleave"]},l=function(){}},adqA:function(t,e,n){"use strict";var r=n("rCTf"),i=n("tn1n");r.Observable.prototype.partition=i.partition},aec7:function(t,e,n){"use strict";function r(t,e){void 0===e&&(e=o.async);var n=s.isDate(t),r=n?+t-e.now():Math.abs(t);return this.lift(new u(r,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("CGGv"),s=n("fuZx"),l=n("mmVS"),a=n("8GmM");e.delay=r;var u=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.delay,this.scheduler))},t}(),c=function(t){function e(e,n,r){t.call(this,e),this.delay=n,this.scheduler=r,this.queue=[],this.active=!1,this.errored=!1}return i(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,i=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new h(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(a.Notification.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},e.prototype._complete=function(){this.scheduleNotification(a.Notification.createComplete())},e}(l.Subscriber),h=function(){function t(t,e){this.time=t,this.notification=e}return t}()},ajMA:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("3j3K"),i=n("1oKp"),o=n("l33o"),s=n("QRpj"),l=n("wFtq"),a=n("7ldD"),u=n("2NoN"),c=n("xiEB"),h=n("SDm3"),p=n("jtp5"),d=n("h+Bk"),f=n("IiyU"),v=n("2Nne"),m=n("2Je8"),g=n("NVOs"),y=n("hz2l"),b=(n.n(y),n("3kwk")),w=n("CXHW"),x=n("5oXY"),C=n("UXYw"),S=n("YqEa"),_=(n.n(S),n("eCJc")),O=n("RX2M"),T=n("M0cT"),k=n("/I96"),I=n("vfkA"),R=n("qsK9"),D=n("MSQt"),M=n("UyZi"),N=n("Ep2y"),E=n("WKBe"),A=n("1Z2I"),P=n("A8b0"),j=n("as+d"),L=n("62nT"),F=n("yDyO"),V=n("K/oD"),W=n("kzcK"),H=n("GW10"),z=(n.n(H),n("kd+i")),B=n("wta3");n.d(e,"GruposModuleNgFactory",function(){return U});var U=r["ɵcmf"](i.a,[],function(t){return r["ɵmod"]([r["ɵmpd"](512,r.ComponentFactoryResolver,r["ɵCodegenComponentFactoryResolver"],[[8,[o.a,s.a,l.a,a.a,u.a,c.a,h.a,p.a,d.a,f.a,v.a]],[3,r.ComponentFactoryResolver],r.NgModuleRef]),r["ɵmpd"](4608,m.NgLocalization,m.NgLocaleLocalization,[r.LOCALE_ID]),r["ɵmpd"](4608,g["ɵi"],g["ɵi"],[]),r["ɵmpd"](4608,y.DialogService,y.DialogService,[r.ComponentFactoryResolver,r.ApplicationRef,r.Injector,[2,y.DialogServiceConfig]]),r["ɵmpd"](4608,b.a,b.a,[r.ComponentFactoryResolver,r.Injector,w.a]),r["ɵmpd"](512,m.CommonModule,m.CommonModule,[]),r["ɵmpd"](512,x.x,x.x,[[2,x.k],[2,x.c]]),r["ɵmpd"](512,C.a,C.a,[]),r["ɵmpd"](512,g["ɵba"],g["ɵba"],[]),r["ɵmpd"](512,g.FormsModule,g.FormsModule,[]),r["ɵmpd"](512,S.BootstrapModalModule,S.BootstrapModalModule,[]),r["ɵmpd"](512,_.a,_.a,[]),r["ɵmpd"](512,O.a,O.a,[]),r["ɵmpd"](512,T.a,T.a,[]),r["ɵmpd"](512,k.a,k.a,[]),r["ɵmpd"](512,I.a,I.a,[]),r["ɵmpd"](512,R.a,R.a,[]),r["ɵmpd"](512,D.a,D.a,[]),r["ɵmpd"](512,M.a,M.a,[]),r["ɵmpd"](512,N.a,N.a,[]),r["ɵmpd"](512,E.a,E.a,[]),r["ɵmpd"](512,A.a,A.a,[]),r["ɵmpd"](512,P.a,P.a,[]),r["ɵmpd"](512,j.a,j.a,[]),r["ɵmpd"](512,L.a,L.a,[]),r["ɵmpd"](512,F.a,F.a,[]),r["ɵmpd"](512,V.a,V.a,[]),r["ɵmpd"](512,W.b,W.b,[]),r["ɵmpd"](512,H.CodemirrorModule,H.CodemirrorModule,[]),r["ɵmpd"](512,z.a,z.a,[]),r["ɵmpd"](512,i.a,i.a,[]),r["ɵmpd"](1024,x.t,function(){return[[{path:"",component:B.a}]]},[])])})},"as+d":function(t,e,n){"use strict";var r=n("3j3K"),i=n("2Je8"),o=n("edM1"),s=n("v4DA");n.d(e,"a",function(){return a});var l=[o.a,o.b,o.c,o.d],a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();a.decorators=[{type:r.NgModule,args:[{declarations:l,exports:l,imports:[i.CommonModule]}]}],a.ctorParameters=function(){return[]}},b1Ba:function(t,e,n){"use strict";var r=n("WxOs");e.bindNodeCallback=r.BoundNodeCallbackObservable.create},"bZY+":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("P3oE"),o=n("rCTf"),s=n("CGGv"),l=function(t){function e(e,n){void 0===e&&(e=0),void 0===n&&(n=s.async),t.call(this),this.period=e,this.scheduler=n,(!i.isNumeric(e)||e<0)&&(this.period=0),n&&"function"==typeof n.schedule||(this.scheduler=s.async)}return r(e,t),e.create=function(t,n){return void 0===t&&(t=0),void 0===n&&(n=s.async),new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.subscriber,r=t.period;n.next(e),n.closed||(t.index+=1,this.schedule(t,r))},e.prototype._subscribe=function(t){var n=this.period,r=this.scheduler;t.add(r.schedule(e.dispatch,n,{index:0,subscriber:t,period:n}))},e}(o.Observable);e.IntervalObservable=l},c3t5:function(t,e,n){"use strict";var r=n("rCTf"),i=n("ioK+");r.Observable.fromPromise=i.fromPromise},c7mC:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.up=!1,this.autoClose=!0}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},cDAr:function(t,e,n){"use strict";var r=n("rCTf"),i=n("E/WS");r.Observable.prototype.timeout=i.timeout},cG9e:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.editable=!0,this.focusFirst=!0,this.showHint=!1}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},cJSH:function(t,e,n){"use strict";function r(t,e,n,r){return this.lift(new h(t,e,n,r))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("B00U"),l=n("rCTf"),a=n("EEr4"),u=n("9JPB"),c=n("1kxm");e.groupBy=r;var h=function(){function t(t,e,n,r){this.keySelector=t,this.elementSelector=e,this.durationSelector=n,this.subjectSelector=r}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},t}(),p=function(t){function e(e,n,r,i,o){t.call(this,e),this.keySelector=n,this.elementSelector=r,this.durationSelector=i,this.subjectSelector=o,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}return i(e,t),e.prototype._next=function(t){var e;try{e=this.keySelector(t)}catch(t){return void this.error(t)}this._group(t,e)},e.prototype._group=function(t,e){var n=this.groups;n||(n=this.groups="string"==typeof e?new c.FastMap:new u.Map);var r,i=n.get(e);if(this.elementSelector)try{r=this.elementSelector(t)}catch(t){this.error(t)}else r=t;if(!i){i=this.subjectSelector?this.subjectSelector():new a.Subject,n.set(e,i);var o=new f(e,i,this);if(this.destination.next(o),this.durationSelector){var s=void 0;try{s=this.durationSelector(new f(e,i))}catch(t){return void this.error(t)}this.add(s.subscribe(new d(e,i,this)))}}i.closed||i.next(r)},e.prototype._error=function(t){var e=this.groups;e&&(e.forEach(function(e,n){e.error(t)}),e.clear()),this.destination.error(t)},e.prototype._complete=function(){var t=this.groups;t&&(t.forEach(function(t,e){t.complete()}),t.clear()),this.destination.complete()},e.prototype.removeGroup=function(t){this.groups.delete(t)},e.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&t.prototype.unsubscribe.call(this))},e}(o.Subscriber),d=function(t){function e(e,n,r){t.call(this,n),this.key=e,this.group=n,this.parent=r}return i(e,t),e.prototype._next=function(t){this.complete()},e.prototype._unsubscribe=function(){var t=this,e=t.parent,n=t.key;this.key=this.parent=null,e&&e.removeGroup(n)},e}(o.Subscriber),f=function(t){function e(e,n,r){t.call(this),this.key=e,this.groupSubject=n,this.refCountSubscription=r}return i(e,t),e.prototype._subscribe=function(t){var e=new s.Subscription,n=this,r=n.refCountSubscription,i=n.groupSubject;return r&&!r.closed&&e.add(new v(r)),e.add(i.subscribe(t)),e},e}(l.Observable);e.GroupedObservable=f;var v=function(t){function e(e){t.call(this),this.parent=e,e.count++}return i(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(s.Subscription)},cPwE:function(t,e,n){"use strict";var r=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=Date.now?Date.now:function(){return+new Date},t}();e.Scheduler=r},cjT5:function(t,e,n){"use strict";function r(t){return this.lift(new l(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.debounce=r;var l=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.durationSelector))},t}(),a=function(t){function e(e,n){t.call(this,e),this.durationSelector=n,this.hasValue=!1,this.durationSubscription=null}return i(e,t),e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),n=s.subscribeToResult(this,e),n.closed||this.add(this.durationSubscription=n)},e.prototype.notifyNext=function(t,e,n,r,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,n=this.durationSubscription;n&&(this.durationSubscription=null,n.unsubscribe(),this.remove(n)),this.value=null,this.hasValue=!1,t.prototype._next.call(this,e)}},e}(o.OuterSubscriber)},cmqr:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=function(t){function e(){var e=t.call(this,"Timeout has occurred");this.name=e.name="TimeoutError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.TimeoutError=i},cwzr:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("VOfZ"),o=n("zQPq"),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n,this.pending=!1}return r(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 n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),i.root.setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){return void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending?e:i.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 n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(t){n=!0,r=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(o.Action);e.AsyncAction=s},driz:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=l.async),this.lift(new a(t,e))}function i(t){t.debouncedNext()}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("mmVS"),l=n("CGGv");e.debounceTime=r;var a=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.dueTime,this.scheduler))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.dueTime=n,this.scheduler=r,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return o(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(i,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){this.clearDebounce(),this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(s.Subscriber)},eCJc:function(t,e,n){"use strict";var r=n("3j3K"),i=n("2Je8"),o=n("hApb"),s=n("ZwZs");n.d(e,"a",function(){return a});var l=[o.a,o.b,o.c,o.d],a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();a.decorators=[{type:r.NgModule,args:[{declarations:l,exports:l,imports:[i.CommonModule]}]}],a.ctorParameters=function(){return[]}},eErF:function(t,e,n){"use strict";var r=n("rCTf"),i=n("nFIP");r.Observable.prototype.toPromise=i.toPromise},edM1:function(t,e,n){"use strict";var r=n("3j3K"),i=n("v4DA");n.d(e,"d",function(){return s}),n.d(e,"c",function(){return l}),n.d(e,"b",function(){return a}),n.d(e,"a",function(){return u});var o=0,s=function(){function t(t){this.templateRef=t}return t}();s.decorators=[{type:r.Directive,args:[{selector:"ng-template[ngbTabTitle]"}]}],s.ctorParameters=function(){return[{type:r.TemplateRef}]};var l=function(){function t(t){this.templateRef=t}return t}();l.decorators=[{type:r.Directive,args:[{selector:"ng-template[ngbTabContent]"}]}],l.ctorParameters=function(){return[{type:r.TemplateRef}]};var a=function(){function t(){this.id="ngb-tab-"+o++,this.disabled=!1}return t}();a.decorators=[{type:r.Directive,args:[{selector:"ngb-tab"}]}],a.ctorParameters=function(){return[]},a.propDecorators={id:[{type:r.Input}],title:[{type:r.Input}],disabled:[{type:r.Input}],contentTpl:[{type:r.ContentChild,args:[l]}],titleTpl:[{type:r.ContentChild,args:[s]}]};var u=function(){function t(t){this.destroyOnHide=!0,this.tabChange=new r.EventEmitter,this.type=t.type,this.justify=t.justify}return t.prototype.select=function(t){var e=this._getTabById(t);if(e&&!e.disabled&&this.activeId!==e.id){var n=!1;this.tabChange.emit({activeId:this.activeId,nextId:e.id,preventDefault:function(){n=!0}}),n||(this.activeId=e.id)}},t.prototype.ngAfterContentChecked=function(){var t=this._getTabById(this.activeId);this.activeId=t?t.id:this.tabs.length?this.tabs.first.id:null},t.prototype._getTabById=function(t){var e=this.tabs.filter(function(e){return e.id===t});return e.length?e[0]:null},t}();u.decorators=[{type:r.Component,args:[{selector:"ngb-tabset",exportAs:"ngbTabset",template:'\n <ul [class]="\'nav nav-\' + type + \' justify-content-\' + justify" role="tablist">\n <li class="nav-item" *ngFor="let tab of tabs">\n <a [id]="tab.id" class="nav-link" [class.active]="tab.id === activeId" [class.disabled]="tab.disabled"\n href (click)="!!select(tab.id)" role="tab" [attr.tabindex]="(tab.disabled ? \'-1\': undefined)"\n [attr.aria-controls]="(!destroyOnHide || tab.id === activeId ? tab.id + \'-panel\' : null)"\n [attr.aria-expanded]="tab.id === activeId" [attr.aria-disabled]="tab.disabled">\n {{tab.title}}<ng-template [ngTemplateOutlet]="tab.titleTpl?.templateRef"></ng-template>\n </a>\n </li>\n </ul>\n <div class="tab-content">\n <ng-template ngFor let-tab [ngForOf]="tabs">\n <div\n class="tab-pane {{tab.id === activeId ? \'active\' : null}}"\n *ngIf="!destroyOnHide || tab.id === activeId"\n role="tabpanel"\n [attr.aria-labelledby]="tab.id" id="{{tab.id}}-panel"\n [attr.aria-expanded]="tab.id === activeId">\n <ng-template [ngTemplateOutlet]="tab.contentTpl.templateRef"></ng-template>\n </div>\n </ng-template>\n </div>\n '}]}],u.ctorParameters=function(){return[{type:i.a}]},u.propDecorators={tabs:[{type:r.ContentChildren,args:[a]}],activeId:[{type:r.Input}],destroyOnHide:[{type:r.Input}],justify:[{type:r.Input}],type:[{type:r.Input}],tabChange:[{type:r.Output}]}},erNO:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=0),this.lift(new l(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("EEr4");e.windowCount=r;var l=function(){function t(t,e){this.windowSize=t,this.startWindowEvery=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.windowSize,this.startWindowEvery))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.destination=e,this.windowSize=n,this.startWindowEvery=r,this.windows=[new s.Subject],this.count=0,e.next(this.windows[0])}return i(e,t),e.prototype._next=function(t){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,i=this.windows,o=i.length,l=0;l<o&&!this.closed;l++)i[l].next(t);var a=this.count-r+1;if(a>=0&&a%e==0&&!this.closed&&i.shift().complete(),++this.count%e==0&&!this.closed){var u=new s.Subject;i.push(u),n.next(u)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(o.Subscriber)},f1gJ:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Qt4r");r.Observable.generate=i.GenerateObservable.create},fAHw:function(t,e,n){"use strict";var r=n("lcaH"),i=n("hlt1"),o=n("3j3K");n.d(e,"a",function(){return s});var s=function(){function t(t){this._calendar=t}return t.prototype.generateMonthViewModel=function(t,e,n,r,o){var s={firstDate:null,number:t.month,year:t.year,weeks:[],weekdays:[]};t=this._getFirstViewDate(t,r);for(var l=0;l<this._calendar.getWeeksPerMonth();l++){for(var a=[],u=0;u<this._calendar.getDaysPerWeek();u++){0===l&&s.weekdays.push(this._calendar.getWeekday(t));var c=new i.a(t.year,t.month,t.day),h=e&&c.before(e)||n&&c.after(n);!h&&o&&(h=o(c,{month:s.number,year:s.year})),null===s.firstDate&&t.month===s.number&&(s.firstDate=c),a.push({date:c,disabled:h}),t=this._calendar.getNext(t)}s.weeks.push({number:this._calendar.getWeekNumber(a.map(function(t){return i.a.from(t.date)}),r),days:a})}return s},t.prototype.toValidDate=function(t,e){var n=i.a.from(t);return void 0===e&&(e=this._calendar.getToday()),this._calendar.isValid(n)?n:e},t.prototype._getFirstViewDate=function(t,e){for(var n=this,r=t.month,o=new i.a(t.year,t.month,t.day),s=this._calendar.getPrev(o),l=function(){return o.month!==s.month&&e===n._calendar.getWeekday(o)},a=function(){return o.month!==r&&e===n._calendar.getWeekday(o)};!a()&&!l();)o=new i.a(s.year,s.month,s.day),s=this._calendar.getPrev(s);return o},t}();s.decorators=[{type:o.Injectable}],s.ctorParameters=function(){return[{type:r.a}]}},fICK:function(t,e,n){"use strict";var r=n("rCTf"),i=n("1KT0");r.Observable.merge=i.merge},fO1r:function(t,e,n){"use strict";var r=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.subscribedFrame=t,this.unsubscribedFrame=e}return t}();e.SubscriptionLog=r},fiy1:function(t,e,n){"use strict";var r=n("rCTf"),i=n("u2wr");r.Observable.prototype.withLatestFrom=i.withLatestFrom},ftJA:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("Uqs8"),s=n("P3oE"),l=function(t){function e(e,n,r){void 0===n&&(n=0),void 0===r&&(r=o.asap),t.call(this),this.source=e,this.delayTime=n,this.scheduler=r,(!s.isNumeric(n)||n<0)&&(this.delayTime=0),r&&"function"==typeof r.schedule||(this.scheduler=o.asap)}return r(e,t),e.create=function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=o.asap),new e(t,n,r)},e.dispatch=function(t){var e=t.source,n=t.subscriber;return this.add(e.subscribe(n))},e.prototype._subscribe=function(t){var n=this.delayTime,r=this.source;return this.scheduler.schedule(e.dispatch,n,{source:r,subscriber:t})},e}(i.Observable);e.SubscribeOnObservable=l},fuZx:function(t,e,n){"use strict";function r(t){return t instanceof Date&&!isNaN(+t)}e.isDate=r},g0nL:function(t,e,n){"use strict";var r=n("rCTf"),i=n("tefl");r.Observable.pairs=i.pairs},g28B:function(t,e,n){"use strict";function r(t,e){for(var n=0,r=e.length;n<r;n++)for(var i=e[n],o=Object.getOwnPropertyNames(i.prototype),s=0,l=o.length;s<l;s++){var a=o[s];t.prototype[a]=i.prototype[a]}}e.applyMixins=r},gDzJ:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Imsy");r.Observable.prototype.windowWhen=i.windowWhen},gEbu:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return a}),n.d(e,"b",function(){return u});var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=["Mo","Tu","We","Th","Fr","Sa","Su"],s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],l=["January","February","March","April","May","June","July","August","September","October","November","December"],a=function(){function t(){}return t}();a.decorators=[{type:r.Injectable}],a.ctorParameters=function(){return[]};var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getWeekdayShortName=function(t){return o[t-1]},e.prototype.getMonthShortName=function(t){return s[t-1]},e.prototype.getMonthFullName=function(t){return l[t-1]},e}(a);u.decorators=[{type:r.Injectable}],u.ctorParameters=function(){return[]}},gIFM:function(t,e,n){"use strict";var r=n("Dc2k");e.ajax=r.AjaxObservable.create},gi2R:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("cwzr"),o=n("OLzJ"),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return r(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=o.AnimationFrame.requestAnimationFrame(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(o.AnimationFrame.cancelAnimationFrame(n),e.scheduled=void 0)},e}(i.AsyncAction);e.AnimationFrameAction=s},"h+Bk":function(t,e,n){"use strict";function r(t){return o["ɵvid"](2,[(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"div",[["class","tooltip-inner"]],null,null,null,null,null)),o["ɵncd"](null,0),(t()(),o["ɵted"](null,["\n "]))],null,null)}function i(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"ngb-tooltip-window",[["role","tooltip"]],[[8,"className",0],[8,"id",0]],null,null,s.b,s.c)),o["ɵdid"](49152,null,0,l.b,[],null,null)],null,function(t,e){t(e,0,0,"tooltip show tooltip-"+o["ɵnov"](e,1).placement,o["ɵnov"](e,1).id)})}var o=n("3j3K"),s=n("h+Bk"),l=n("sgnN");n.d(e,"c",function(){return u}),e.b=r,n.d(e,"a",function(){return c});var a=[],u=o["ɵcrt"]({encapsulation:2,styles:a,data:{}}),c=o["ɵccf"]("ngb-tooltip-window",l.b,i,{placement:"placement",id:"id"},{},["*"])},h0qH:function(t,e,n){"use strict";var r=n("rCTf"),i=n("s3oX");r.Observable.throw=i._throw},hApb:function(t,e,n){"use strict";var r=n("3j3K"),i=n("2yGx"),o=n("ZwZs");n.d(e,"c",function(){return l}),n.d(e,"d",function(){return a}),n.d(e,"b",function(){return u}),n.d(e,"a",function(){return c});var s=0,l=function(){function t(t){this.templateRef=t}return t}();l.decorators=[{type:r.Directive,args:[{selector:"ng-template[ngbPanelTitle]"}]}],l.ctorParameters=function(){return[{type:r.TemplateRef}]};var a=function(){function t(t){this.templateRef=t}return t}();a.decorators=[{type:r.Directive,args:[{selector:"ng-template[ngbPanelContent]"}]}],a.ctorParameters=function(){return[{type:r.TemplateRef}]};var u=function(){function t(){this.disabled=!1,this.id="ngb-panel-"+s++}return t}();u.decorators=[{type:r.Directive,args:[{selector:"ngb-panel"}]}],u.ctorParameters=function(){return[]},u.propDecorators={disabled:[{type:r.Input}],id:[{type:r.Input}],title:[{type:r.Input}],type:[{type:r.Input}],contentTpl:[{type:r.ContentChild,args:[a]}],titleTpl:[{type:r.ContentChild,args:[l]}]};var c=function(){function t(t){this._states=new Map,this._panelRefs=new Map,this.activeIds=[],this.panelChange=new r.EventEmitter,this.type=t.type,this.closeOtherPanels=t.closeOthers}return t.prototype.toggle=function(t){var e=this._panelRefs.get(t);if(e&&!e.disabled){var n=!this._states.get(t),r=!1;this.panelChange.emit({panelId:t,nextState:n,preventDefault:function(){r=!0}}),r||(this._states.set(t,n),this.closeOtherPanels&&this._closeOthers(t),this._updateActiveIds())}},t.prototype.ngAfterContentChecked=function(){n.i(i.f)(this.activeIds)&&(this.activeIds=this.activeIds.split(/\s*,\s*/)),this._updateStates(),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0]),this._updateActiveIds())},t.prototype.isOpen=function(t){return this._states.get(t)},t.prototype._closeOthers=function(t){var e=this;this._states.forEach(function(n,r){r!==t&&e._states.set(r,!1)})},t.prototype._updateActiveIds=function(){var t=this;this.activeIds=this.panels.toArray().filter(function(e){return t.isOpen(e.id)&&!e.disabled}).map(function(t){return t.id})},t.prototype._updateStates=function(){var t=this;this._states.clear(),this._panelRefs.clear(),this.panels.toArray().forEach(function(e){t._states.set(e.id,t.activeIds.indexOf(e.id)>-1&&!e.disabled),t._panelRefs.set(e.id,e)})},t}();c.decorators=[{type:r.Component,args:[{selector:"ngb-accordion",exportAs:"ngbAccordion",host:{role:"tablist","[attr.aria-multiselectable]":"!closeOtherPanels"},template:'\n <div class="card">\n <ng-template ngFor let-panel [ngForOf]="panels">\n <div role="tab" id="{{panel.id}}-header"\n [class]="\'card-header \' + (panel.type ? \'card-\'+panel.type: type ? \'card-\'+type : \'\')" [class.active]="isOpen(panel.id)">\n <a href (click)="!!toggle(panel.id)" [class.text-muted]="panel.disabled" [attr.tabindex]="(panel.disabled ? \'-1\' : null)"\n [attr.aria-expanded]="isOpen(panel.id)" [attr.aria-controls]="(isOpen(panel.id) ? panel.id : null)"\n [attr.aria-disabled]="panel.disabled">\n {{panel.title}}<ng-template [ngTemplateOutlet]="panel.titleTpl?.templateRef"></ng-template>\n </a>\n </div>\n <div id="{{panel.id}}" role="tabpanel" [attr.aria-labelledby]="panel.id + \'-header\'" class="card-block" *ngIf="isOpen(panel.id)">\n <ng-template [ngTemplateOutlet]="panel.contentTpl.templateRef"></ng-template>\n </div>\n </ng-template>\n </div>\n'}]}],c.ctorParameters=function(){return[{type:o.a}]},c.propDecorators={panels:[{type:r.ContentChildren,args:[u]}],activeIds:[{type:r.Input}],closeOtherPanels:[{type:r.Input,args:["closeOthers"]}],type:[{type:r.Input}],panelChange:[{type:r.Output}]}},hUSH:function(t,e,n){"use strict";var r=n("2yGx");n.d(e,"a",function(){return i});var i=function(){function t(t,e,i){this.hour=n.i(r.b)(t),this.minute=n.i(r.b)(e),this.second=n.i(r.b)(i)}return t.prototype.changeHour=function(t){void 0===t&&(t=1),this.updateHour((isNaN(this.hour)?0:this.hour)+t)},t.prototype.updateHour=function(t){n.i(r.a)(t)?this.hour=(t<0?24+t:t)%24:this.hour=NaN},t.prototype.changeMinute=function(t){void 0===t&&(t=1),this.updateMinute((isNaN(this.minute)?0:this.minute)+t)},t.prototype.updateMinute=function(t){n.i(r.a)(t)?(this.minute=t%60<0?60+t%60:t%60,this.changeHour(Math.floor(t/60))):this.minute=NaN},t.prototype.changeSecond=function(t){void 0===t&&(t=1),this.updateSecond((isNaN(this.second)?0:this.second)+t)},t.prototype.updateSecond=function(t){n.i(r.a)(t)?(this.second=t<0?60+t%60:t%60,this.changeMinute(Math.floor(t/60))):this.second=NaN},t.prototype.isValid=function(t){return void 0===t&&(t=!0),n.i(r.a)(this.hour)&&n.i(r.a)(this.minute)&&(!t||n.i(r.a)(this.second))},t.prototype.toString=function(){return(this.hour||0)+":"+(this.minute||0)+":"+(this.second||0)},t}()},hY6I:function(t,e,n){"use strict";var r=n("3j3K"),i=n("NVOs"),o=n("hlt1"),s=n("/KGk"),l=n("7DGp"),a=n("jRSa"),u=n("lcaH"),c=n("fAHw");n.d(e,"a",function(){return d});var h={provide:i.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return d}),multi:!0},p={provide:i.NG_VALIDATORS,useExisting:n.i(r.forwardRef)(function(){return d}),multi:!0},d=function(){function t(t,e,i,o,s,l,u,c){var h=this;this._parserFormatter=t,this._elRef=e,this._vcRef=i,this._renderer=o,this._cfr=s,this._service=u,this._calendar=c,this._cRef=null,this.navigate=new r.EventEmitter,this._onChange=function(t){},this._onTouched=function(){},this._validatorChange=function(){},this._zoneSubscription=l.onStable.subscribe(function(){h._cRef&&n.i(a.a)(h._elRef.nativeElement,h._cRef.location.nativeElement,"bottom-left")})}return t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.registerOnValidatorChange=function(t){this._validatorChange=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elRef.nativeElement,"disabled",t),this.isOpen()&&this._cRef.instance.setDisabledState(t)},t.prototype.validate=function(t){var e=t.value;return null===e||void 0===e?null:this._calendar.isValid(e)?this.minDate&&o.a.from(e).before(o.a.from(this.minDate))?{ngbDate:{requiredBefore:this.minDate}}:this.maxDate&&o.a.from(e).after(o.a.from(this.maxDate))?{ngbDate:{requiredAfter:this.maxDate}}:void 0:{ngbDate:{invalid:t.value}}},t.prototype.writeValue=function(t){var e=t?new o.a(t.year,t.month,t.day):null;this._model=this._calendar.isValid(t)?e:null,this._writeModelValue(this._model)},t.prototype.manualDateChange=function(t){this._model=this._service.toValidDate(this._parserFormatter.parse(t),null),this._onChange(this._model?{year:this._model.year,month:this._model.month,day:this._model.day}:t),this._writeModelValue(this._model)},t.prototype.isOpen=function(){return!!this._cRef},t.prototype.open=function(){var t=this;if(!this.isOpen()){var e=this._cfr.resolveComponentFactory(s.a);this._cRef=this._vcRef.createComponent(e),this._applyPopupStyling(this._cRef.location.nativeElement),this._cRef.instance.writeValue(this._model),this._applyDatepickerInputs(this._cRef.instance),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.registerOnChange(function(e){t.writeValue(e),t._onChange(e),t.close()})}},t.prototype.close=function(){this.isOpen()&&(this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null)},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype.navigateTo=function(t){this.isOpen()&&this._cRef.instance.navigateTo(t)},t.prototype.onBlur=function(){this._onTouched()},t.prototype.ngOnChanges=function(t){(t.minDate||t.maxDate)&&this._validatorChange()},t.prototype.ngOnDestroy=function(){this.close(),this._zoneSubscription.unsubscribe()},t.prototype._applyDatepickerInputs=function(t){var e=this;["dayTemplate","displayMonths","firstDayOfWeek","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekdays","showWeekNumbers"].forEach(function(n){void 0!==e[n]&&(t[n]=e[n])}),t.startDate=this.startDate||this._model},t.prototype._applyPopupStyling=function(t){this._renderer.addClass(t,"dropdown-menu"),this._renderer.setStyle(t,"padding","0")},t.prototype._subscribeForDatepickerOutputs=function(t){var e=this;t.navigate.subscribe(function(t){return e.navigate.emit(t)})},t.prototype._writeModelValue=function(t){this._renderer.setProperty(this._elRef.nativeElement,"value",this._parserFormatter.format(t)),this.isOpen()&&(this._cRef.instance.writeValue(t),this._onTouched())},t}();d.decorators=[{type:r.Directive,args:[{selector:"input[ngbDatepicker]",exportAs:"ngbDatepicker",host:{"(change)":"manualDateChange($event.target.value)","(keyup.esc)":"close()","(blur)":"onBlur()"},providers:[h,p,c.a]}]}],d.ctorParameters=function(){return[{type:l.a},{type:r.ElementRef},{type:r.ViewContainerRef},{type:r.Renderer2},{type:r.ComponentFactoryResolver},{type:r.NgZone},{type:c.a},{type:u.a}]},d.propDecorators={dayTemplate:[{type:r.Input}],displayMonths:[{type:r.Input}],firstDayOfWeek:[{type:r.Input}],markDisabled:[{type:r.Input}],minDate:[{type:r.Input}],maxDate:[{type:r.Input}],navigation:[{type:r.Input}],outsideDays:[{type:r.Input}],showWeekdays:[{type:r.Input}],showWeekNumbers:[{type:r.Input}],startDate:[{type:r.Input}],navigate:[{type:r.Output}]}},hiKS:function(t,e,n){"use strict";function r(t){return this.lift(new i.ZipOperator(t))}var i=n("RYQg");e.zipAll=r},hlt1:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){function t(t,e,n){this.year=t,this.month=e,this.day=n}return t.from=function(e){return e?new t(e.year,e.month,e.day?e.day:1):null},t.prototype.equals=function(t){return t&&this.year===t.year&&this.month===t.month&&this.day===t.day},t.prototype.before=function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day<t.day:this.month<t.month:this.year<t.year)},t.prototype.after=function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day>t.day:this.month>t.month:this.year>t.year)},t.prototype.toString=function(){return this.year+"-"+this.month+"-"+this.day},t}()},hs6U:function(t,e,n){"use strict";var r=n("rCTf"),i=n("GZqV");r.Observable.prototype.find=i.find},hwnt:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekdays=!0,this.showWeekNumbers=!1}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},hz2l:function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},o=this&&this.__param||function(t,e){return function(n,r){e(n,r,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=n("3j3K"),l=n("BnNN"),a=function(){function t(){this.container=null}return t}();e.DialogServiceConfig=a;var u=function(){function t(t,e,n,r){this.resolver=t,this.applicationRef=e,this.injector=n,this.container=r&&r.container}return t.prototype.addDialog=function(t,e,n){return this.dialogHolderComponent||(this.dialogHolderComponent=this.createDialogHolder()),this.dialogHolderComponent.addDialog(t,e,n)},t.prototype.removeDialog=function(t){this.dialogHolderComponent&&this.dialogHolderComponent.removeDialog(t)},t.prototype.removeAll=function(){this.dialogHolderComponent.clear()},t.prototype.createDialogHolder=function(){var t=this,e=this.resolver.resolveComponentFactory(l.DialogHolderComponent),n=e.create(this.injector),r=n.hostView.rootNodes[0];if(!this.container){var i=this.applicationRef._rootComponents[0];this.container=i.hostView.rootNodes[0]}return this.applicationRef.attachView(n.hostView),n.onDestroy(function(){t.applicationRef.detachView(n.hostView)}),this.container.appendChild(r),n.instance},t}();u=r([s.Injectable(),o(3,s.Optional()),i("design:paramtypes",[s.ComponentFactoryResolver,s.ApplicationRef,s.Injector,a])],u),e.DialogService=u},hzF8:function(t,e,n){"use strict";var r=n("rCTf"),i=n("POFt");r.Observable.prototype.take=i.take},iESu:function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof e&&(n=e,e=null),this.lift(new l(t,e,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.mergeMapTo=r;var l=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.ish=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.ish,this.resultSelector,this.concurrent))},t}();e.MergeMapToOperator=l;var a=function(t){function e(e,n,r,i){void 0===i&&(i=Number.POSITIVE_INFINITY),t.call(this,e),this.ish=n,this.resultSelector=r,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return i(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.resultSelector,n=this.index++,r=this.ish,i=this.destination;this.active++,this._innerSub(r,i,e,t,n)}else this.buffer.push(t)},e.prototype._innerSub=function(t,e,n,r,i){this.add(s.subscribeToResult(this,t,r,i))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this,s=o.resultSelector,l=o.destination;s?this.trySelectResult(t,e,n,r):l.next(e)},e.prototype.trySelectResult=function(t,e,n,r){var i,o=this,s=o.resultSelector,l=o.destination;try{i=s(t,e,n,r)}catch(t){return void l.error(t)}l.next(i)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber);e.MergeMapToSubscriber=a},iIfT:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Ffu+");r.Observable.prototype.pairwise=i.pairwise},iJMh:function(t,e,n){"use strict";var r=n("rCTf"),i=n("7rB9");r.Observable.forkJoin=i.forkJoin},iUY6:function(t,e,n){"use strict";var r=n("rCTf"),i=n("5nj5");r.Observable.if=i._if},iod1:function(t,e,n){"use strict";var r=n("rCTf"),i=n("8/gC");r.Observable.zip=i.zip},ixac:function(t,e,n){"use strict";var r=n("rCTf"),i=n("RYQg");r.Observable.prototype.zip=i.zipProto},j7ye:function(t,e,n){"use strict";var r=n("rCTf"),i=n("emOw");r.Observable.prototype.multicast=i.multicast},jDQW:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Mqdq");r.Observable.prototype.bufferToggle=i.bufferToggle},jF50:function(t,e,n){"use strict";var r=n("rCTf"),i=n("KKz1");r.Observable.prototype.throttleTime=i.throttleTime},jRSa:function(t,e,n){"use strict";function r(t,e,n,r){var i=o.positionElements(t,e,n,r);e.style.top=i.top+"px",e.style.left=i.left+"px"}e.a=r;var i=function(){function t(){}return t.prototype.getStyle=function(t,e){return window.getComputedStyle(t)[e]},t.prototype.isStaticPositioned=function(t){return"static"===(this.getStyle(t,"position")||"static")},t.prototype.offsetParent=function(t){for(var e=t.offsetParent||document.documentElement;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement},t.prototype.position=function(t,e){void 0===e&&(e=!0);var n,r={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(t,"position"))n=t.getBoundingClientRect();else{var i=this.offsetParent(t);n=this.offset(t,!1),i!==document.documentElement&&(r=this.offset(i,!1)),r.top+=i.clientTop,r.left+=i.clientLeft}return n.top-=r.top,n.bottom-=r.top,n.left-=r.left,n.right-=r.left,e&&(n.top=Math.round(n.top),n.bottom=Math.round(n.bottom),n.left=Math.round(n.left),n.right=Math.round(n.right)),n},t.prototype.offset=function(t,e){void 0===e&&(e=!0);var n=t.getBoundingClientRect(),r={top:window.pageYOffset-document.documentElement.clientTop,left:window.pageXOffset-document.documentElement.clientLeft},i={height:n.height||t.offsetHeight,width:n.width||t.offsetWidth,top:n.top+r.top,bottom:n.bottom+r.top,left:n.left+r.left,right:n.right+r.left};return e&&(i.height=Math.round(i.height),i.width=Math.round(i.width),i.top=Math.round(i.top),i.bottom=Math.round(i.bottom),i.left=Math.round(i.left),i.right=Math.round(i.right)),i},t.prototype.positionElements=function(t,e,n,r){var i=r?this.offset(t,!1):this.position(t,!1),o={left:i.left,center:i.left+i.width/2-e.offsetWidth/2,right:i.left+i.width},s={top:i.top,center:i.top+i.height/2-e.offsetHeight/2,bottom:i.top+i.height},l=e.getBoundingClientRect(),a=n.split("-")[0]||"top",u=n.split("-")[1]||"center",c={height:l.height||e.offsetHeight,width:l.width||e.offsetWidth,top:0,bottom:l.height||e.offsetHeight,left:0,right:l.width||e.offsetWidth};switch(a){case"top":c.top=i.top-e.offsetHeight,c.bottom+=i.top-e.offsetHeight,c.left=o[u],c.right+=o[u];break;case"bottom":c.top=s[a],c.bottom+=s[a],c.left=o[u],c.right+=o[u];break;case"left":c.top=s[u],c.bottom+=s[u],c.left=i.left-e.offsetWidth,c.right+=i.left-e.offsetWidth;break;case"right":c.top=s[u],c.bottom+=s[u],c.left=o[a],c.right+=o[a]}return c.top=Math.round(c.top),c.bottom=Math.round(c.bottom),c.left=Math.round(c.left),c.right=Math.round(c.right),c},t}(),o=new i},jdTm:function(t,e,n){"use strict";var r=n("jnJ8");e.timer=r.TimerObservable.create},jdeX:function(t,e,n){"use strict";var r=n("rCTf"),i=n("jdTm");r.Observable.timer=i.timer},jnJ8:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("P3oE"),o=n("rCTf"),s=n("CGGv"),l=n("fWbP"),a=n("fuZx"),u=function(t){function e(e,n,r){void 0===e&&(e=0),t.call(this),this.period=-1,this.dueTime=0,i.isNumeric(n)?this.period=Number(n)<1&&1||Number(n):l.isScheduler(n)&&(r=n),l.isScheduler(r)||(r=s.async),this.scheduler=r,this.dueTime=a.isDate(e)?+e-this.scheduler.now():e}return r(e,t),e.create=function(t,n,r){return void 0===t&&(t=0),new e(t,n,r)},e.dispatch=function(t){var e=t.index,n=t.period,r=t.subscriber,i=this;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,i.schedule(t,n)}},e.prototype._subscribe=function(t){var n=this,r=n.period,i=n.dueTime;return n.scheduler.schedule(e.dispatch,i,{index:0,period:r,subscriber:t})},e}(o.Observable);e.TimerObservable=u},jtp5:function(t,e,n){"use strict";function r(t){return o["ɵvid"](2,[(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"h3",[["class","popover-title"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["",""])),(t()(),o["ɵeld"](0,null,null,1,"div",[["class","popover-content"]],null,null,null,null,null)),o["ɵncd"](null,0),(t()(),o["ɵted"](null,["\n "]))],null,function(t,e){t(e,2,0,e.component.title)})}function i(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"ngb-popover-window",[["role","tooltip"]],[[8,"className",0],[8,"id",0]],null,null,l.b,l.c)),o["ɵdid"](49152,null,0,s.b,[],null,null)],null,function(t,e){t(e,0,0,"popover show popover-"+o["ɵnov"](e,1).placement,o["ɵnov"](e,1).id)})}var o=n("3j3K"),s=n("WtNX"),l=n("jtp5");n.d(e,"c",function(){return u}),e.b=r,n.d(e,"a",function(){return c});var a=[],u=o["ɵcrt"]({encapsulation:2,styles:a,data:{}}),c=o["ɵccf"]("ngb-popover-window",s.b,i,{placement:"placement",title:"title",id:"id"},{},["*"])},jvbR:function(t,e,n){"use strict";var r=n("rCTf"),i=n("bE1M");r.Observable.prototype.concatMap=i.concatMap},k27J:function(t,e,n){"use strict";var r=n("rCTf"),i=n("X2ud");r.Observable.prototype.combineAll=i.combineAll},kcyo:function(t,e,n){"use strict";var r=n("VOfZ"),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,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}return!1},t.prototype.partiallyApplied=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=function t(){var e=t,n=e.handler,r=e.args;"function"==typeof n?n.apply(void 0,r):new Function(""+n)()};return r.handler=t,r.args=e,r},t.prototype.addFromSetImmediateArguments=function(t){return this.tasksByHandle[this.nextHandle]=this.partiallyApplied.apply(void 0,t),this.nextHandle++},t.prototype.createProcessNextTickSetImmediate=function(){var t=function t(){var e=t.instance,n=e.addFromSetImmediateArguments(arguments);return e.root.process.nextTick(e.partiallyApplied(e.runIfPresent,n)),n};return t.instance=this,t},t.prototype.createPostMessageSetImmediate=function(){var t=this.root,e="setImmediate$"+t.Math.random()+"$",n=function n(r){var i=n.instance;r.source===t&&"string"==typeof r.data&&0===r.data.indexOf(e)&&i.runIfPresent(+r.data.slice(e.length))};n.instance=this,t.addEventListener("message",n,!1);var r=function t(){var e=t,n=e.messagePrefix,r=e.instance,i=r.addFromSetImmediateArguments(arguments);return r.root.postMessage(n+i,"*"),i};return r.instance=this,r.messagePrefix=e,r},t.prototype.runIfPresent=function(t){if(this.currentlyRunningATask)this.root.setTimeout(this.partiallyApplied(this.runIfPresent,t),0);else{var e=this.tasksByHandle[t];if(e){this.currentlyRunningATask=!0;try{e()}finally{this.clearImmediate(t),this.currentlyRunningATask=!1}}}},t.prototype.createMessageChannelSetImmediate=function(){var t=this,e=new this.root.MessageChannel;e.port1.onmessage=function(e){var n=e.data;t.runIfPresent(n)};var n=function t(){var e=t,n=e.channel,r=e.instance,i=r.addFromSetImmediateArguments(arguments);return n.port2.postMessage(i),i};return n.channel=e,n.instance=this,n},t.prototype.createReadyStateChangeSetImmediate=function(){var t=function t(){var e=t.instance,n=e.root,r=n.document,i=r.documentElement,o=e.addFromSetImmediateArguments(arguments),s=r.createElement("script");return s.onreadystatechange=function(){e.runIfPresent(o),s.onreadystatechange=null,i.removeChild(s),s=null},i.appendChild(s),o};return t.instance=this,t},t.prototype.createSetTimeoutSetImmediate=function(){var t=function t(){var e=t.instance,n=e.addFromSetImmediateArguments(arguments);return e.root.setTimeout(e.partiallyApplied(e.runIfPresent,n),0),n};return t.instance=this,t},t}();e.ImmediateDefinition=i,e.Immediate=new i(r.root)},kgIC:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.collapsed=!1}return t}();i.decorators=[{type:r.Directive,args:[{selector:"[ngbCollapse]",exportAs:"ngbCollapse",host:{"[class.collapse]":"true","[class.show]":"!collapsed"}}]}],i.ctorParameters=function(){return[]},i.propDecorators={collapsed:[{type:r.Input,args:["ngbCollapse"]}]}},kzcK:function(t,e,n){"use strict";var r=n("3j3K"),i=n("eCJc"),o=n("RX2M"),s=n("M0cT"),l=n("/I96"),a=n("vfkA"),u=n("qsK9"),c=n("MSQt"),h=n("UyZi"),p=n("Ep2y"),d=n("WKBe"),f=n("1Z2I"),v=n("A8b0"),m=n("as+d"),g=n("62nT"),y=n("yDyO"),b=n("K/oD");n.d(e,"a",function(){return x}),n.d(e,"b",function(){return C});var w=[i.a,o.a,s.a,l.a,a.a,u.a,c.a,h.a,p.a,d.a,f.a,v.a,m.a,g.a,y.a,b.a],x=function(){function t(){}return t}();x.decorators=[{type:r.NgModule,args:[{imports:[o.a.forRoot(),s.a.forRoot(),a.a.forRoot(),f.a.forRoot(),y.a.forRoot(),b.a.forRoot(),i.a.forRoot(),l.a.forRoot(),u.a.forRoot(),c.a.forRoot(),h.a.forRoot(),p.a.forRoot(),d.a.forRoot(),f.a.forRoot(),v.a.forRoot(),m.a.forRoot(),g.a.forRoot(),y.a.forRoot()],exports:w}]}],x.ctorParameters=function(){return[]};var C=function(){function t(){}return t.forRoot=function(){return{ngModule:x}},t}();C.decorators=[{type:r.NgModule,args:[{imports:w,exports:w}]}],C.ctorParameters=function(){return[]}},l19J:function(t,e,n){"use strict";function r(t){return 0===t?new l.EmptyObservable:this.lift(new a(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("8Z8y"),l=n("jBEF");e.takeLast=r;var a=function(){function t(t){if(this.total=t,this.total<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){t.call(this,e),this.total=n,this.ring=new Array,this.count=0}return i(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;if(e.length<n)e.push(t);else{e[r%n]=t}},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<n;i++){var o=e++%n;t.next(r[o])}t.complete()},e}(o.Subscriber)},l33o:function(t,e,n){"use strict";function r(t){return C["ɵvid"](0,[(t()(),C["ɵeld"](0,null,null,1,"div",[],null,null,null,null,null)),(t()(),C["ɵted"](null,["Grupos"]))],null,null)}function i(t){return C["ɵvid"](0,[(t()(),C["ɵeld"](0,null,null,9,"div",[["class","loading"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "]))],null,null)}function o(t){return C["ɵvid"](0,[(t()(),C["ɵeld"](0,null,null,6,"div",[["class","col-sm-3 col-4 "],["style","text-align: center;"]],null,[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==i.seleccionarGrupo(t.context.$implicit)&&r}return r},null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-users"],["style","font-size: 3em; cursor: pointer;color: #f95e5e;"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,1,"p",[["style","cursor: pointer;"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["",""])),(t()(),C["ɵted"](null,["\n "]))],null,function(t,e){t(e,5,0,e.context.$implicit.grado+"°"+e.context.$implicit.grupo+" - "+e.context.$implicit.anio)})}function s(t){return C["ɵvid"](0,[(t()(),C["ɵeld"](0,null,null,10,"div",[["class","card-block"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,7,"div",[["class","row listado-grupos"],["style","min-height: 100px; overflow-y: scroll;"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵand"](16777216,null,null,1,null,i)),C["ɵdid"](16384,null,0,S.NgIf,[C.ViewContainerRef,C.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵand"](16777216,null,null,1,null,o)),C["ɵdid"](802816,null,0,S.NgForOf,[C.ViewContainerRef,C.TemplateRef,C.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,5,0,n.loading),t(e,8,0,n.grupos)},null)}function l(t){return C["ɵvid"](0,[(t()(),C["ɵeld"](0,null,null,10,"div",[["class","card"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,4,"div",[["class","card-header"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵand"](16777216,null,null,1,null,r)),C["ɵdid"](16384,null,0,S.NgIf,[C.ViewContainerRef,C.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵand"](16777216,null,null,1,null,s)),C["ɵdid"](16384,null,0,S.NgIf,[C.ViewContainerRef,C.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),C["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,5,0,void 0==n.grupoSeleccionado),t(e,9,0,void 0==n.grupoSeleccionado)},null)}function a(t){return C["ɵvid"](0,[(t()(),C["ɵeld"](0,null,null,6,"div",[["class","col-sm-3 "],["style","text-align: center;"]],null,[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==i.seleccionarAlumno(t.context.$implicit)&&r}return r},null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-user"],["style","font-size: 3em; cursor: pointer;color: #f95e5e;"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,1,"p",[["style","cursor: pointer;"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["",""])),(t()(),C["ɵted"](null,["\n "]))],null,function(t,e){t(e,5,0,e.context.$implicit.apellido+", "+e.context.$implicit.nombre)})}function u(t){return C["ɵvid"](0,[(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,22,"div",[["class","card"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,10,"div",[],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary pull-right"],["data-placement","bottom"],["ngbPopover","Atras"],["style","cursor: pointer; margin-top: -35px; margin-right: 105px;"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==i.desseleccionarGrupo()&&r}return r},null,null)),C["ɵdid"](212992,null,0,_.a,[C.ElementRef,C.Renderer2,C.Injector,C.ComponentFactoryResolver,C.ViewContainerRef,O.a,C.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,0,"i",[["class","fa fa-arrow-up"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,1,"p",[["class","pull-right"],["style","margin-top: -34px; margin-right: 5px;"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["",""])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,7,"div",[["class","card-block"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,4,"div",[["class","row listado-grupos"],["style","min-height: 100px; overflow-y: scroll;"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵand"](16777216,null,null,1,null,a)),C["ɵdid"](802816,null,0,S.NgForOf,[C.ViewContainerRef,C.TemplateRef,C.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,6,0,"Atras","bottom","mouseenter:mouseleave"),t(e,20,0,n.grupoSeleccionado.alumnos)},function(t,e){var n=e.component;t(e,12,0,n.grupoSeleccionado.grado+"°"+n.grupoSeleccionado.grupo+" - "+n.grupoSeleccionado.anio)})}function c(t){return C["ɵvid"](0,[(t()(),C["ɵeld"](0,null,null,6,"div",[["class","col-sm-3 col-4"],["style","text-align: center;"]],null,[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==i.seleccionarArchivo(t.context.$implicit)&&r}return r},null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-file-text"],["style","font-size: 3em; cursor: pointer;color: #ff8383"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,1,"p",[["style","cursor: pointer;"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["",""])),(t()(),C["ɵted"](null,["\n "]))],null,function(t,e){t(e,5,0,e.context.$implicit.nombre)})}function h(t){return C["ɵvid"](0,[(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,22,"div",[["class","card"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,10,"div",[],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary pull-right"],["data-placement","bottom"],["ngbPopover","Atras"],["style","cursor: pointer; margin-top: -35px; margin-right: 105px;"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==i.desseleccionarGrupo()&&r}return r},null,null)),C["ɵdid"](212992,null,0,_.a,[C.ElementRef,C.Renderer2,C.Injector,C.ComponentFactoryResolver,C.ViewContainerRef,O.a,C.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,0,"i",[["class","fa fa-arrow-up"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,1,"p",[["class","pull-right"],["style","margin-top: -34px; margin-right: 5px;"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["",""])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,7,"div",[["class","card-block"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,4,"div",[["class","row listado-grupos"],["style","min-height: 100px; overflow-y: scroll;"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵand"](16777216,null,null,1,null,c)),C["ɵdid"](802816,null,0,S.NgForOf,[C.ViewContainerRef,C.TemplateRef,C.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,6,0,"Atras","bottom","mouseenter:mouseleave"),t(e,20,0,n.grupoSeleccionado.archivos)},function(t,e){var n=e.component;t(e,12,0,n.grupoSeleccionado.grado+"°"+n.grupoSeleccionado.grupo+" - "+n.grupoSeleccionado.anio)})}function p(t){return C["ɵvid"](0,[(t()(),C["ɵeld"](0,null,null,21,"ngb-tabset",[],null,null,null,T.a,T.b)),C["ɵdid"](2146304,null,1,k.a,[I.a],{destroyOnHide:[0,"destroyOnHide"]},null),C["ɵqud"](603979776,1,{tabs:1}),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,7,"ngb-tab",[["title","Alumnos"]],null,null,null,null,null)),C["ɵdid"](16384,[[1,4]],2,k.b,[],{title:[0,"title"]},null),C["ɵqud"](335544320,2,{contentTpl:0}),C["ɵqud"](335544320,3,{titleTpl:0}),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵand"](0,null,null,1,null,u)),C["ɵdid"](16384,[[2,4]],0,k.c,[C.TemplateRef],null,null),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,7,"ngb-tab",[["title","Archivos"]],null,null,null,null,null)),C["ɵdid"](16384,[[1,4]],2,k.b,[],{title:[0,"title"]},null),C["ɵqud"](335544320,4,{contentTpl:0}),C["ɵqud"](335544320,5,{titleTpl:0}),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵand"](0,null,null,1,null,h)),C["ɵdid"](16384,[[4,4]],0,k.c,[C.TemplateRef],null,null),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "]))],function(t,e){t(e,1,0,!1),t(e,5,0,"Alumnos"),t(e,14,0,"Archivos")},null)}function d(t){return C["ɵvid"](0,[(t()(),C["ɵeld"](0,null,null,7,"div",[["class","col-sm-3 col-4"],["style","text-align: center;"]],null,[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==i.seleccionarEntrega(t.context.$implicit)&&r}return r},null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,1,"i",[["aria-hidden","true"],["class","fa fa-file-text"],["style","font-size: 3em; cursor: pointer;"]],null,null,null,null,null)),C["ɵdid"](278528,null,0,S.NgStyle,[C.KeyValueDiffers,C.ElementRef,C.Renderer],null,null),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,1,"p",[["style","cursor: pointer;"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["",""])),(t()(),C["ɵted"](null,["\n "]))],function(t,e){t(e,3,0)},function(t,e){t(e,6,0,e.context.$implicit.nombre)})}function f(t){return C["ɵvid"](0,[(t()(),C["ɵeld"](0,null,null,6,"div",[["style","width: 100%; text-align: center;"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,0,"i",[["class","fa fa-file-text"],["style","color: rgb(220,220,220); font-size: 10em; padding: 0.1em"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,1,"p",[],null,null,null,null,null)),(t()(),C["ɵted"](null,["No hay entregas del alumno: ",""])),(t()(),C["ɵted"](null,["\n "]))],null,function(t,e){var n=e.component;t(e,5,0,n.alumnoSeleccionado.nombre+" "+n.alumnoSeleccionado.apellido)})}function v(t){return C["ɵvid"](0,[(t()(),C["ɵeld"](0,null,null,13,"div",[["class","card"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,10,"div",[["class","card-block"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,7,"div",[["class","row listadoEntregasAlumnoGrupos"],["style","min-height: 100px; overflow-y: scroll;"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵand"](16777216,null,null,1,null,d)),C["ɵdid"](802816,null,0,S.NgForOf,[C.ViewContainerRef,C.TemplateRef,C.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵand"](16777216,null,null,1,null,f)),C["ɵdid"](16384,null,0,S.NgIf,[C.ViewContainerRef,C.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n \n "])),(t()(),C["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,7,0,n.alumnoSeleccionado.archivos),t(e,10,0,0==n.alumnoSeleccionado.archivos.length)},null)}function m(t){return C["ɵvid"](0,[(t()(),C["ɵeld"](0,null,null,12,"div",[["class","card"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,9,"div",[["class","card-block"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,6,"div",[["class","row previewArchivoNoSeleccionadoGrupos"],["style","min-height: 100px"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,3,"div",[["style","width: 100%; text-align: center;"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,0,"i",[["class","fa fa-file-text"],["style","color: rgb(220,220,220); font-size: 10em; padding: 0.1em"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "]))],null,null)}function g(t){return C["ɵvid"](0,[(t()(),C["ɵeld"](0,null,null,1,"button",[["class","btn btn-sm btn-secondary pull-left mr-2"]],null,[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==i.calificarEntrega()&&r}return r},null,null)),(t()(),C["ɵted"](null,["\n Calificar\n "]))],null,null)}function y(t){return C["ɵvid"](0,[(t()(),C["ɵeld"](16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary pull-left mr-2"],["data-placement","bottom"],["ngbPopover","Cargar/Editar"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==i.cargarArchivoCompartido()&&r}return r},null,null)),C["ɵdid"](212992,null,0,_.a,[C.ElementRef,C.Renderer2,C.Injector,C.ComponentFactoryResolver,C.ViewContainerRef,O.a,C.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,0,"i",[["class","fa fa-pencil"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵand"](0,null,null,0))],function(t,e){t(e,1,0,"Cargar/Editar","bottom","mouseenter:mouseleave")},null)}function b(t){return C["ɵvid"](0,[(t()(),C["ɵeld"](0,null,null,24,"div",[["class","card"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,11,"div",[["class","card-header"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵand"](16777216,null,null,1,null,g)),C["ɵdid"](16384,null,0,S.NgIf,[C.ViewContainerRef,C.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵand"](16777216,null,null,1,null,y)),C["ɵdid"](16384,null,0,S.NgIf,[C.ViewContainerRef,C.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,2,"div",[["class","pull-left"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n Nombre: "," - Creado: ","\n "])),C["ɵppd"](1),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,8,"codemirror",[["class","codemirrorGrupos"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(t,e,n){var r=!0,i=t.component;if("ngModelChange"===e){r=!1!==(i.archivoSeleccionado.contenido=n)&&r}return r},R.a,R.b)),C["ɵdid"](278528,null,0,S.NgStyle,[C.KeyValueDiffers,C.ElementRef,C.Renderer],{ngStyle:[0,"ngStyle"]},null),C["ɵpod"](["font-size"]),C["ɵdid"](4374528,null,0,D.CodemirrorComponent,[],{config:[0,"config"]},null),C["ɵprd"](1024,null,M.NG_VALUE_ACCESSOR,function(t){return[t]},[D.CodemirrorComponent]),C["ɵdid"](671744,null,0,M.NgModel,[[8,null],[8,null],[8,null],[2,M.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),C["ɵprd"](2048,null,M.NgControl,null,[M.NgModel]),C["ɵdid"](16384,null,0,M.NgControlStatus,[M.NgControl],null,null),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,5,0,"entrega"==n.tipoArchivo),t(e,8,0,n.esArchivoGrupo()),t(e,16,0,t(e,17,0,n.configCodeMirror.fontSize+"px")),t(e,18,0,n.configCodeMirror),t(e,20,0,n.archivoSeleccionado.contenido)},function(t,e){var n=e.component;t(e,11,0,null==n.archivoSeleccionado?null:n.archivoSeleccionado.nombre,C["ɵunv"](e,11,1,t(e,12,0,C["ɵnov"](e.parent,0),null==n.archivoSeleccionado?null:n.archivoSeleccionado.fechaCreacion))),t(e,15,0,C["ɵnov"](e,22).ngClassUntouched,C["ɵnov"](e,22).ngClassTouched,C["ɵnov"](e,22).ngClassPristine,C["ɵnov"](e,22).ngClassDirty,C["ɵnov"](e,22).ngClassValid,C["ɵnov"](e,22).ngClassInvalid,C["ɵnov"](e,22).ngClassPending)})}function w(t){return C["ɵvid"](0,[C["ɵpid"](0,S.DatePipe,[C.LOCALE_ID]),(t()(),C["ɵeld"](0,null,null,1,"notificacion",[],null,null,null,N.a,N.b)),C["ɵdid"](114688,null,0,E.a,[A.a],null,null),(t()(),C["ɵted"](null,[" \n"])),(t()(),C["ɵeld"](0,null,null,43,"div",[["class","container-fluid"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,16,"div",[["class","row"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,13,"div",[["class","col-lg-5"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,1,"label",[["for","search"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["Nombre del archivo:"])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,7,"div",[["class","input-group"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,0,"input",[["class","form-control"],["id","search"],["type","text"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,1,"span",[["class","input-group-addon fa fa-search"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,22,"div",[["class","row"],["style","margin-top: 20px"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,7,"div",[["class","col-lg-5"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵand"](16777216,null,null,1,null,l)),C["ɵdid"](16384,null,0,S.NgIf,[C.ViewContainerRef,C.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵand"](16777216,null,null,1,null,p)),C["ɵdid"](16384,null,0,S.NgIf,[C.ViewContainerRef,C.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵeld"](0,null,null,10,"div",[["class","col-lg-7"]],null,null,null,null,null)),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵand"](16777216,null,null,1,null,v)),C["ɵdid"](16384,null,0,S.NgIf,[C.ViewContainerRef,C.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵand"](16777216,null,null,1,null,m)),C["ɵdid"](16384,null,0,S.NgIf,[C.ViewContainerRef,C.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),C["ɵted"](null,["\n\n "])),(t()(),C["ɵand"](16777216,null,null,1,null,b)),C["ɵdid"](16384,null,0,S.NgIf,[C.ViewContainerRef,C.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n "])),(t()(),C["ɵted"](null,["\n"])),(t()(),C["ɵted"](null,["\n"]))],function(t,e){var n=e.component;t(e,2,0),t(e,29,0,void 0==n.grupoSeleccionado),t(e,32,0,n.grupoSeleccionado),t(e,38,0,n.alumnoSeleccionado),t(e,41,0,void 0==n.alumnoSeleccionado&&void 0==n.archivoSeleccionado),t(e,44,0,n.archivoSeleccionado)},null)}function x(t){return C["ɵvid"](0,[(t()(),C["ɵeld"](0,null,null,1,"grupos",[],null,null,null,w,z)),C["ɵdid"](114688,null,0,P.a,[j.c,L.a,F.a,A.a,V.a,W.DialogService],null,null)],function(t,e){t(e,1,0)},null)}var C=n("3j3K"),S=n("2Je8"),_=n("WtNX"),O=n("ETCP"),T=n("INWX"),k=n("edM1"),I=n("v4DA"),R=n("1hiA"),D=n("zK+N"),M=(n.n(D),n("NVOs")),N=n("FiTo"),E=n("SIx6"),A=n("dBGY"),P=n("wta3"),j=n("5oXY"),L=n("R6W2"),F=n("FR2h"),V=n("Zwpz"),W=n("hz2l");n.n(W);n.d(e,"a",function(){return B});var H=[],z=C["ɵcrt"]({encapsulation:2,styles:H,data:{}}),B=C["ɵccf"]("grupos",P.a,x,{},{},[])},l5HU:function(t,e,n){"use strict";var r=n("3j3K"),i=n("DDfv");n.d(e,"a",function(){return a});var o=0,s=function(){function t(t){this.tplRef=t,this.id="ngb-slide-"+o++}return t}();s.decorators=[{type:r.Directive,args:[{selector:"ng-template[ngbSlide]"}]}],s.ctorParameters=function(){return[{type:r.TemplateRef}]},s.propDecorators={id:[{type:r.Input}]};var l=function(){function t(t){this.interval=t.interval,this.wrap=t.wrap,this.keyboard=t.keyboard}return t.prototype.ngAfterContentChecked=function(){var t=this._getSlideById(this.activeId);this.activeId=t?t.id:this.slides.length?this.slides.first.id:null},t.prototype.ngOnInit=function(){this._startTimer()},t.prototype.ngOnDestroy=function(){clearInterval(this._slideChangeInterval)},t.prototype.select=function(t){this.cycleToSelected(t),this._restartTimer()},t.prototype.prev=function(){this.cycleToPrev(),this._restartTimer()},t.prototype.next=function(){this.cycleToNext(),this._restartTimer()},t.prototype.pause=function(){this._stopTimer()},t.prototype.cycle=function(){this._startTimer()},t.prototype.cycleToNext=function(){this.cycleToSelected(this._getNextSlide(this.activeId))},t.prototype.cycleToPrev=function(){this.cycleToSelected(this._getPrevSlide(this.activeId))},t.prototype.cycleToSelected=function(t){var e=this._getSlideById(t);e&&(this.activeId=e.id)},t.prototype.keyPrev=function(){this.keyboard&&this.prev()},t.prototype.keyNext=function(){this.keyboard&&this.next()},t.prototype._restartTimer=function(){this._stopTimer(),this._startTimer()},t.prototype._startTimer=function(){var t=this;this.interval>0&&(this._slideChangeInterval=setInterval(function(){t.cycleToNext()},this.interval))},t.prototype._stopTimer=function(){clearInterval(this._slideChangeInterval)},t.prototype._getSlideById=function(t){var e=this.slides.filter(function(e){return e.id===t});return e.length?e[0]:null},t.prototype._getSlideIdxById=function(t){return this.slides.toArray().indexOf(this._getSlideById(t))},t.prototype._getNextSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return n===e.length-1?this.wrap?e[0].id:e[e.length-1].id:e[n+1].id},t.prototype._getPrevSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return 0===n?this.wrap?e[e.length-1].id:e[0].id:e[n-1].id},t}();l.decorators=[{type:r.Component,args:[{selector:"ngb-carousel",exportAs:"ngbCarousel",host:{class:"carousel slide","[style.display]":'"block"',tabIndex:"0","(mouseenter)":"pause()","(mouseleave)":"cycle()","(keydown.arrowLeft)":"keyPrev()","(keydown.arrowRight)":"keyNext()"},template:'\n <ol class="carousel-indicators">\n <li *ngFor="let slide of slides" [id]="slide.id" [class.active]="slide.id === activeId" (click)="cycleToSelected(slide.id)"></li>\n </ol>\n <div class="carousel-inner">\n <div *ngFor="let slide of slides" class="carousel-item" [class.active]="slide.id === activeId">\n <ng-template [ngTemplateOutlet]="slide.tplRef"></ng-template>\n </div>\n </div>\n <a class="left carousel-control-prev" role="button" (click)="cycleToPrev()">\n <span class="carousel-control-prev-icon" aria-hidden="true"></span>\n <span class="sr-only">Previous</span>\n </a>\n <a class="right carousel-control-next" role="button" (click)="cycleToNext()">\n <span class="carousel-control-next-icon" aria-hidden="true"></span>\n <span class="sr-only">Next</span>\n </a>\n '}]}],l.ctorParameters=function(){return[{type:i.a}]},l.propDecorators={slides:[{type:r.ContentChildren,args:[s]}],interval:[{type:r.Input}],wrap:[{type:r.Input}],keyboard:[{type:r.Input}],activeId:[{type:r.Input}]};var a=[l,s]},lU4I:function(t,e,n){"use strict";var r=n("8MUz");e.concat=r.concatStatic},lcaH:function(t,e,n){"use strict";function r(t){return new o.a(t.getFullYear(),t.getMonth()+1,t.getDate())}function i(t){var e=new Date(t.year,t.month-1,t.day);return isNaN(e.getTime())||e.setFullYear(t.year),e}var o=n("hlt1"),s=n("3j3K"),l=n("2yGx");n.d(e,"a",function(){return u}),n.d(e,"b",function(){return c});var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(){function t(){}return t}();u.decorators=[{type:s.Injectable}],u.ctorParameters=function(){return[]};var c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.getDaysPerWeek=function(){return 7},e.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},e.prototype.getWeeksPerMonth=function(){return 6},e.prototype.getNext=function(t,e,n){void 0===e&&(e="d"),void 0===n&&(n=1);var s=i(t);switch(e){case"y":return new o.a(t.year+n,1,1);case"m":s=new Date(t.year,t.month+n-1,1);break;case"d":s.setDate(s.getDate()+n);break;default:return t}return r(s)},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e="d"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=i(t),n=e.getDay();return 0===n?7:n},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=(11-e)%7,r=t[n],o=i(r);o.setDate(o.getDate()+4-(o.getDay()||7));var s=o.getTime();return o.setMonth(0),o.setDate(1),Math.floor(Math.round((s-o.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return r(new Date)},e.prototype.isValid=function(t){if(!(t&&n.i(l.i)(t.year)&&n.i(l.i)(t.month)&&n.i(l.i)(t.day)))return!1;var e=i(t);return!isNaN(e.getTime())&&e.getFullYear()===t.year&&e.getMonth()+1===t.month&&e.getDate()===t.day},e}(u);c.decorators=[{type:s.Injectable}],c.ctorParameters=function(){return[]}},"lh/Z":function(t,e,n){"use strict";var r=n("rCTf"),i=n("3eju");r.Observable.webSocket=i.webSocket},mQmC:function(t,e,n){"use strict";var r=n("RSMh");e.using=r.UsingObservable.create},mwbX:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=window.location.protocol+"//"+window.location.host,i="http:"==window.location.protocol?"ws://"+window.location.host+"/endpoint":"wss://"+window.location.host+"/endpoint"},nCuf:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.max=100,this.animated=!1,this.striped=!1,this.showValue=!1}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},nDCe:function(t,e,n){"use strict";var r=n("rCTf"),i=n("PN3d");r.Observable.prototype.publishBehavior=i.publishBehavior},nFIP:function(t,e,n){"use strict";function r(t){var e=this;if(t||(i.root.Rx&&i.root.Rx.config&&i.root.Rx.config.Promise?t=i.root.Rx.config.Promise:i.root.Promise&&(t=i.root.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})}var i=n("VOfZ");e.toPromise=r},nsuO:function(t,e,n){"use strict";var r=n("rCTf"),i=n("AZSN");r.Observable.prototype.buffer=i.buffer},nxqe:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r;!function(t){t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC"}(r||(r={}))},oHQS:function(t,e,n){"use strict";var r=n("rCTf"),i=n("SudU");r.Observable.prototype.subscribeOn=i.subscribeOn},okk1:function(t,e,n){"use strict";var r=n("rCTf"),i=n("bBiI");r.Observable.prototype.first=i.first},p1Um:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Ji1B");r.Observable.prototype.observeOn=i.observeOn},"p5++":function(t,e,n){"use strict";function r(t){return this.lift(new l(t,this))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("F7Al");e.single=r;var l=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.source))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.predicate=n,this.source=r,this.seenValue=!1,this.index=0}return i(e,t),e.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},e.prototype._next=function(t){var e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)},e.prototype.tryNext=function(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new s.EmptyError)},e}(o.Subscriber)},"q+cp":function(t,e,n){"use strict";function r(t){return this.lift(new l(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.takeUntil=r;var l=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.notifier))},t}(),a=function(t){function e(e,n){t.call(this,e),this.notifier=n,this.add(s.subscribeToResult(this,n))}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.complete()},e.prototype.notifyComplete=function(){},e}(o.OuterSubscriber)},"q+ny":function(t,e,n){"use strict";function r(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,this.lift(new u(t,e,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("+3eL"),s=n("WhVc"),l=n("wAkD"),a=n("CURp");e.expand=r;var u=function(){function t(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.project,this.concurrent,this.scheduler))},t}();e.ExpandOperator=u;var c=function(t){function e(e,n,r,i){t.call(this,e),this.project=n,this.concurrent=r,this.scheduler=i,this.index=0,this.active=0,this.hasCompleted=!1,r<Number.POSITIVE_INFINITY&&(this.buffer=[])}return i(e,t),e.dispatch=function(t){var e=t.subscriber,n=t.result,r=t.value,i=t.index;e.subscribeToProjection(n,r,i)},e.prototype._next=function(t){var n=this.destination;if(n.closed)return void this._complete();var r=this.index++;if(this.active<this.concurrent){n.next(t);var i=o.tryCatch(this.project)(t,r);if(i===s.errorObject)n.error(s.errorObject.e);else if(this.scheduler){var l={subscriber:this,result:i,value:t,index:r};this.add(this.scheduler.schedule(e.dispatch,0,l))}else this.subscribeToProjection(i,t,r)}else this.buffer.push(t)},e.prototype.subscribeToProjection=function(t,e,n){this.active++,this.add(a.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){this._next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e&&e.length>0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(l.OuterSubscriber);e.ExpandSubscriber=c},q0UB:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("cwzr"),o=n("9Avi"),s=function(t){function e(e,n){var r=this;void 0===e&&(e=l),void 0===n&&(n=Number.POSITIVE_INFINITY),t.call(this,e,function(){return r.frame}),this.maxFrames=n,this.frame=0,this.index=-1}return r(e,t),e.prototype.flush=function(){for(var t,e,n=this,r=n.actions,i=n.maxFrames;(e=r.shift())&&(this.frame=e.delay)<=i&&!(t=e.execute(e.state,e.delay)););if(t){for(;e=r.shift();)e.unsubscribe();throw t}},e.frameTimeFactor=10,e}(o.AsyncScheduler);e.VirtualTimeScheduler=s;var l=function(t){function e(e,n,r){void 0===r&&(r=e.index+=1),t.call(this,e,n),this.scheduler=e,this.work=n,this.index=r,this.active=!0,this.index=e.index=r}return r(e,t),e.prototype.schedule=function(n,r){if(void 0===r&&(r=0),!this.id)return t.prototype.schedule.call(this,n,r);this.active=!1;var i=new e(this.scheduler,this.work);return this.add(i),i.schedule(n,r)},e.prototype.requestAsyncId=function(t,n,r){void 0===r&&(r=0),this.delay=t.frame+r;var i=t.actions;return i.push(this),i.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(t,e,n){void 0===n&&(n=0)},e.prototype._execute=function(e,n){if(!0===this.active)return t.prototype._execute.call(this,e,n)},e.sortActions=function(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1},e}(i.AsyncAction);e.VirtualAction=l},q3ik:function(t,e,n){"use strict";var r=n("rCTf"),i=n("8hgl");r.Observable.prototype.distinctUntilChanged=i.distinctUntilChanged},"q4U+":function(t,e,n){"use strict";var r=n("rCTf"),i=n("erNO");r.Observable.prototype.windowCount=i.windowCount},qBUJ:function(t,e,n){"use strict";var r=n("3j3K"),i=n("hlt1"),o=n("2yGx"),s=n("gEbu"),l=n("lcaH");n.d(e,"a",function(){return a});var a=function(){function t(t,e){this.i18n=t,this.calendar=e,this.years=[],this.select=new r.EventEmitter,this.months=e.getMonths()}return t.prototype.ngOnChanges=function(t){(t.maxDate||t.minDate||t.date)&&(this._generateYears(),this._generateMonths())},t.prototype.changeMonth=function(t){this.select.emit(new i.a(this.date.year,n.i(o.b)(t),1))},t.prototype.changeYear=function(t){this.select.emit(new i.a(n.i(o.b)(t),this.date.month,1))},t.prototype._generateMonths=function(){var t=this;if(this.months=this.calendar.getMonths(),this.date&&this.date.year===this.minDate.year){var e=this.months.findIndex(function(e){return e===t.minDate.month});this.months=this.months.slice(e)}if(this.date&&this.date.year===this.maxDate.year){var e=this.months.findIndex(function(e){return e===t.maxDate.month});this.months=this.months.slice(0,e+1)}},t.prototype._generateYears=function(){var t=this;this.years=Array.from({length:this.maxDate.year-this.minDate.year+1},function(e,n){return t.minDate.year+n})},t}();a.decorators=[{type:r.Component,args:[{selector:"ngb-datepicker-navigation-select",styles:["\n select {\n /* to align with btn-sm */\n padding: 0.25rem 0.5rem;\n font-size: 0.875rem; \n line-height: 1.25;\n /* to cancel the custom height set by custom-select */\n height: inherit;\n width: 50%;\n }\n "],template:'\n <select [disabled]="disabled" class="custom-select d-inline-block" [value]="date?.month" (change)="changeMonth($event.target.value)">\n <option *ngFor="let m of months" [value]="m">{{ i18n.getMonthShortName(m) }}</option>\n </select><select [disabled]="disabled" class="custom-select d-inline-block" [value]="date?.year" (change)="changeYear($event.target.value)">\n <option *ngFor="let y of years" [value]="y">{{ y }}</option>\n </select> \n '}]}],a.ctorParameters=function(){return[{type:s.a},{type:l.a}]},a.propDecorators={date:[{type:r.Input}],disabled:[{type:r.Input}],maxDate:[{type:r.Input}],minDate:[{type:r.Input}],select:[{type:r.Output}]}},qKow:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.placement="top",this.triggers="hover"}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},"qQ/N":function(t,e,n){"use strict";var r=n("3j3K"),i=n("aKiW"),o=n("2yGx"),s=n("NVOs");n.d(e,"a",function(){return u});var l;!function(t){t[t.End=35]="End",t[t.Home=36]="Home",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowDown=40]="ArrowDown"}(l||(l={}));var a={provide:s.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return u}),multi:!0},u=function(){function t(t,e){this._changeDetectorRef=e,this.contexts=[],this.disabled=!1,this.hover=new r.EventEmitter,this.leave=new r.EventEmitter,this.rateChange=new r.EventEmitter(!0),this.onChange=function(t){},this.onTouched=function(){},this.max=t.max,this.readonly=t.readonly}return t.prototype.ariaValueText=function(){return this.nextRate+" out of "+this.max},t.prototype.enter=function(t){this.readonly||this.disabled||this._updateState(t),this.hover.emit(t)},t.prototype.handleBlur=function(){this.onTouched()},t.prototype.handleClick=function(t){this.update(this.resettable&&this.rate===t?0:t)},t.prototype.handleKeyDown=function(t){if(l[n.i(o.d)(t.which)])switch(t.preventDefault(),t.which){case l.ArrowDown:case l.ArrowLeft:this.update(this.rate-1);break;case l.ArrowUp:case l.ArrowRight:this.update(this.rate+1);break;case l.Home:this.update(0);break;case l.End:this.update(this.max)}},t.prototype.ngOnChanges=function(t){t.rate&&this.update(this.rate)},t.prototype.ngOnInit=function(){this.contexts=Array.from({length:this.max},function(){return{fill:0}}),this._updateState(this.rate)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.reset=function(){this.leave.emit(this.nextRate),this._updateState(this.rate)},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.update=function(t,e){void 0===e&&(e=!0);var r=n.i(o.e)(t,this.max,0);this.readonly||this.disabled||this.rate===r||(this.rate=r,this.rateChange.emit(this.rate)),e&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)},t.prototype.writeValue=function(t){this.update(t,!1),this._changeDetectorRef.markForCheck()},t.prototype._getFillValue=function(t){var e=this.nextRate-t;return e>=1?100:e<1&&e>0?Number.parseInt((100*e).toFixed(2)):0},t.prototype._updateState=function(t){var e=this;this.nextRate=t,this.contexts.forEach(function(t,n){return t.fill=e._getFillValue(n)})},t}();u.decorators=[{type:r.Component,args:[{selector:"ngb-rating",changeDetection:r.ChangeDetectionStrategy.OnPush,host:{class:"d-inline-flex",tabindex:"0",role:"slider","aria-valuemin":"0","[attr.aria-valuemax]":"max","[attr.aria-valuenow]":"nextRate","[attr.aria-valuetext]":"ariaValueText()","[attr.aria-disabled]":"readonly ? true : null","(blur)":"handleBlur()","(keydown)":"handleKeyDown($event)","(mouseleave)":"reset()"},template:'\n <ng-template #t let-fill="fill">{{ fill === 100 ? \'★\' : \'☆\' }}</ng-template>\n <ng-template ngFor [ngForOf]="contexts" let-index="index">\n <span class="sr-only">({{ index < nextRate ? \'*\' : \' \' }})</span>\n <span (mouseenter)="enter(index + 1)" (click)="handleClick(index + 1)" [style.cursor]="readonly || disabled ? \'default\' : \'pointer\'">\n <ng-template [ngTemplateOutlet]="starTemplate || t" [ngOutletContext]="contexts[index]"></ng-template>\n </span>\n </ng-template>\n ',providers:[a]}]}],u.ctorParameters=function(){return[{type:i.a},{type:r.ChangeDetectorRef}]},u.propDecorators={max:[{type:r.Input}],rate:[{type:r.Input}],readonly:[{type:r.Input}],resettable:[{type:r.Input}],starTemplate:[{type:r.Input},{type:r.ContentChild,args:[r.TemplateRef]}],hover:[{type:r.Output}],leave:[{type:r.Output}],rateChange:[{type:r.Output}]}},qcjU:function(t,e,n){"use strict";var r=n("rCTf"),i=n("WTUZ");r.Observable.prototype.audit=i.audit},qhgQ:function(t,e,n){"use strict";var r=n("rCTf"),i=n("69uX");r.Observable.prototype.distinct=i.distinct},qoi6:function(t,e,n){"use strict";var r=n("3j3K"),i=n("NVOs"),o=n("sb+e"),s=(n.n(o),n("Rewd")),l=(n.n(s),n("TIy+")),a=(n.n(l),n("jRSa")),u=n("2BXm"),c=n("/PMa"),h=n("2yGx"),p=n("cG9e");n.d(e,"a",function(){return m});var d;!function(t){t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowDown=40]="ArrowDown"}(d||(d={}));var f={provide:i.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return m}),multi:!0},v=0,m=function(){function t(t,e,i,o,s,h,p){var d=this;this._elementRef=t,this._viewContainerRef=e,this._renderer=i,this._injector=o,this.selectItem=new r.EventEmitter,this.popupId="ngb-typeahead-"+v++,this._onTouched=function(){},this._onChange=function(t){},this.editable=h.editable,this.focusFirst=h.focusFirst,this.showHint=h.showHint,this._valueChanges=n.i(l.fromEvent)(t.nativeElement,"input",function(t){return t.target.value}),this._popupService=new c.a(u.a,o,e,i,s),this._zoneSubscription=p.onStable.subscribe(function(){d.isPopupOpen()&&n.i(a.a)(d._elementRef.nativeElement,d._windowRef.location.nativeElement,"bottom-left")})}return t.prototype.ngOnInit=function(){var t=this,e=s._do.call(this._valueChanges,function(e){t._userInput=e,t.editable&&t._onChange(e)}),n=o.letProto.call(e,this.ngbTypeahead),r=s._do.call(n,function(){t.editable||t._onChange(void 0)});this._subscription=this._subscribeToUserInput(r)},t.prototype.ngOnDestroy=function(){this._unsubscribeFromUserInput(),this._zoneSubscription.unsubscribe()},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.writeValue=function(t){this._writeInputValue(this._formatItemForInput(t))},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype.dismissPopup=function(){this.isPopupOpen()&&(this._closePopup(),this._writeInputValue(this._userInput))},t.prototype.isPopupOpen=function(){return null!=this._windowRef},t.prototype.handleBlur=function(){this._onTouched()},t.prototype.handleKeyDown=function(t){if(this.isPopupOpen()&&d[n.i(h.d)(t.which)])switch(t.which){case d.ArrowDown:t.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case d.ArrowUp:t.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case d.Enter:case d.Tab:var e=this._windowRef.instance.getActive();n.i(h.h)(e)&&(t.preventDefault(),t.stopPropagation(),this._selectResult(e)),this._closePopup();break;case d.Escape:t.preventDefault(),this.dismissPopup()}},t.prototype._openPopup=function(){var t=this;this.isPopupOpen()||(this._windowRef=this._popupService.open(),this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe(function(e){return t._selectResultClosePopup(e)}),this._windowRef.instance.activeChangeEvent.subscribe(function(e){return t.activeDescendant=e}))},t.prototype._closePopup=function(){this._popupService.close(),this._windowRef=null,this.activeDescendant=void 0},t.prototype._selectResult=function(t){var e=!1;this.selectItem.emit({item:t,preventDefault:function(){e=!0}}),e||(this.writeValue(t),this._onChange(t))},t.prototype._selectResultClosePopup=function(t){this._selectResult(t),this._closePopup()},t.prototype._showHint=function(){if(this.showHint){var t=this._userInput.toLowerCase(),e=this._formatItemForInput(this._windowRef.instance.getActive());t===e.substr(0,this._userInput.length).toLowerCase()?(this._writeInputValue(this._userInput+e.substr(this._userInput.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._userInput.length,e.length])):this.writeValue(this._windowRef.instance.getActive())}},t.prototype._formatItemForInput=function(t){return t&&this.inputFormatter?this.inputFormatter(t):n.i(h.d)(t)},t.prototype._writeInputValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",t)},t.prototype._subscribeToUserInput=function(t){var e=this;return t.subscribe(function(t){t&&0!==t.length?(e._openPopup(),e._windowRef.instance.focusFirst=e.focusFirst,e._windowRef.instance.results=t,e._windowRef.instance.term=e._elementRef.nativeElement.value,e.resultFormatter&&(e._windowRef.instance.formatter=e.resultFormatter),e.resultTemplate&&(e._windowRef.instance.resultTemplate=e.resultTemplate),e._showHint(),e._windowRef.changeDetectorRef.detectChanges()):e._closePopup()})},t.prototype._unsubscribeFromUserInput=function(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null},t}();m.decorators=[{type:r.Directive,args:[{selector:"input[ngbTypeahead]",host:{"(blur)":"handleBlur()","[class.open]":"isPopupOpen()","(document:click)":"dismissPopup()","(keydown)":"handleKeyDown($event)",autocomplete:"off",autocapitalize:"off",autocorrect:"off",role:"combobox","aria-multiline":"false","[attr.aria-autocomplete]":'showHint ? "both" : "list"',"[attr.aria-activedescendant]":"activeDescendant","[attr.aria-owns]":"isPopupOpen() ? popupId : null","[attr.aria-expanded]":"isPopupOpen()"},providers:[f]}]}],m.ctorParameters=function(){return[{type:r.ElementRef},{type:r.ViewContainerRef},{type:r.Renderer2},{type:r.Injector},{type:r.ComponentFactoryResolver},{type:p.a},{type:r.NgZone}]},m.propDecorators={editable:[{type:r.Input}],focusFirst:[{type:r.Input}],inputFormatter:[{type:r.Input}],ngbTypeahead:[{type:r.Input}],resultFormatter:[{type:r.Input}],resultTemplate:[{type:r.Input}],showHint:[{type:r.Input}],selectItem:[{type:r.Output}]}},qp8k:function(t,e,n){"use strict";var r=n("rCTf"),i=n("A7JX");r.Observable.prototype.combineLatest=i.combineLatest},qsK9:function(t,e,n){"use strict";var r=n("3j3K"),i=n("2Je8"),o=n("/KGk"),s=n("5ZV5"),l=n("3fcS"),a=n("hY6I"),u=n("NVOs"),c=n("U6gI"),h=n("gEbu"),p=n("lcaH"),d=n("7DGp"),f=n("qBUJ"),v=n("hwnt");n("/FbB");n.d(e,"a",function(){return m});var m=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[{provide:p.a,useClass:p.b},{provide:h.a,useClass:h.b},{provide:d.a,useClass:d.b},v.a]}},t}();m.decorators=[{type:r.NgModule,args:[{declarations:[o.a,s.a,l.a,f.a,c.a,a.a],exports:[o.a,a.a],imports:[i.CommonModule,u.FormsModule],entryComponents:[o.a]}]}],m.ctorParameters=function(){return[]}},rLWm:function(t,e,n){"use strict";var r=n("rCTf"),i=n("ASN6");r.Observable.prototype.onErrorResumeNext=i.onErrorResumeNext},rpzr:function(t,e,n){"use strict";var r=n("bZY+");e.interval=r.IntervalObservable.create},s3oX:function(t,e,n){"use strict";var r=n("Dkzu");e._throw=r.ErrorObservable.create},s616:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Kjxw");r.Observable.prototype.shareReplay=i.shareReplay},sKQ8:function(t,e,n){"use strict";function r(t){var e=u.async,n=null,r=Number.POSITIVE_INFINITY;return p.isScheduler(arguments[3])&&(e=arguments[3]),p.isScheduler(arguments[2])?e=arguments[2]:h.isNumeric(arguments[2])&&(r=arguments[2]),p.isScheduler(arguments[1])?e=arguments[1]:h.isNumeric(arguments[1])&&(n=arguments[1]),this.lift(new d(t,n,r,e))}function i(t){var e=t.subscriber,n=t.windowTimeSpan,r=t.window;r&&e.closeWindow(r),t.window=e.openWindow(),this.schedule(t,n)}function o(t){var e=t.windowTimeSpan,n=t.subscriber,r=t.scheduler,i=t.windowCreationInterval,o=n.openWindow(),l=this,a={action:l,subscription:null},u={subscriber:n,window:o,context:a};a.subscription=r.schedule(s,e,u),l.add(a.subscription),l.schedule(t,i)}function s(t){var e=t.subscriber,n=t.window,r=t.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),e.closeWindow(n)}var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=n("EEr4"),u=n("CGGv"),c=n("mmVS"),h=n("P3oE"),p=n("fWbP");e.windowTime=r;var d=function(){function t(t,e,n,r){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new v(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),f=function(t){function e(){t.apply(this,arguments),this._numberOfNextedValues=0}return l(e,t),e.prototype.next=function(e){this._numberOfNextedValues++,t.prototype.next.call(this,e)},Object.defineProperty(e.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),e}(a.Subject),v=function(t){function e(e,n,r,l,a){t.call(this,e),this.destination=e,this.windowTimeSpan=n,this.windowCreationInterval=r,this.maxWindowSize=l,this.scheduler=a,this.windows=[];var u=this.openWindow();if(null!==r&&r>=0){var c={subscriber:this,window:u,context:null},h={windowTimeSpan:n,windowCreationInterval:r,subscriber:this,scheduler:a};this.add(a.schedule(s,n,c)),this.add(a.schedule(o,r,h))}else{var p={subscriber:this,window:u,windowTimeSpan:n};this.add(a.schedule(i,n,p))}}return l(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,r=0;r<n;r++){var i=e[r];i.closed||(i.next(t),i.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(i))}},e.prototype._error=function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new f;return this.windows.push(t),this.destination.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(c.Subscriber)},sT3i:function(t,e,n){"use strict";var r=n("rCTf"),i=n("q+ny");r.Observable.prototype.expand=i.expand},sVus:function(t,e,n){"use strict";function r(t){return void 0===t&&(t=s.async),this.lift(new a(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("CGGv");e.timeInterval=r;var l=function(){function t(t,e){this.value=t,this.interval=e}return t}();e.TimeInterval=l;var a=function(){function t(t){this.scheduler=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.scheduler))},t}(),u=function(t){function e(e,n){t.call(this,e),this.scheduler=n,this.lastTime=0,this.lastTime=n.now()}return i(e,t),e.prototype._next=function(t){var e=this.scheduler.now(),n=e-this.lastTime;this.lastTime=e,this.destination.next(new l(t,n))},e}(o.Subscriber)},sake:function(t,e,n){"use strict";function r(t){return this.lift(new s(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.skipWhile=r;var s=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.predicate))},t}(),l=function(t){function e(e,n){t.call(this,e),this.predicate=n,this.skipping=!0,this.index=0}return i(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(o.Subscriber)},"sb+e":function(t,e,n){"use strict";function r(t){return t(this)}e.letProto=r},sgnN:function(t,e,n){"use strict";var r=n("3j3K"),i=n("aalB"),o=n("jRSa"),s=n("/PMa"),l=n("qKow");n.d(e,"b",function(){return u}),n.d(e,"a",function(){return c});var a=0,u=function(){function t(){this.placement="top"}return t}();u.decorators=[{type:r.Component,args:[{selector:"ngb-tooltip-window",changeDetection:r.ChangeDetectionStrategy.OnPush,host:{"[class]":'"tooltip show tooltip-" + placement',role:"tooltip","[id]":"id"},template:'\n <div class="tooltip-inner"><ng-content></ng-content></div>\n '}]}],u.ctorParameters=function(){return[]},u.propDecorators={placement:[{type:r.Input}],id:[{type:r.Input}]};var c=function(){function t(t,e,i,l,c,h,p){var d=this;this._elementRef=t,this._renderer=e,this.shown=new r.EventEmitter,this.hidden=new r.EventEmitter,this._ngbTooltipWindowId="ngb-tooltip-"+a++,this.placement=h.placement,this.triggers=h.triggers,this.container=h.container,this._popupService=new s.a(u,i,c,e,l),this._zoneSubscription=p.onStable.subscribe(function(){d._windowRef&&n.i(o.a)(d._elementRef.nativeElement,d._windowRef.location.nativeElement,d.placement,"body"===d.container)})}return Object.defineProperty(t.prototype,"ngbTooltip",{get:function(){return this._ngbTooltip},set:function(t){this._ngbTooltip=t,!t&&this._windowRef&&this.close()},enumerable:!0,configurable:!0}),t.prototype.open=function(t){!this._windowRef&&this._ngbTooltip&&(this._windowRef=this._popupService.open(this._ngbTooltip,t),this._windowRef.instance.placement=this.placement,this._windowRef.instance.id=this._ngbTooltipWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.markForCheck(),this.shown.emit())},t.prototype.close=function(){null!=this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=n.i(i.a)(this._renderer,this._elementRef.nativeElement,this.triggers,this.open.bind(this),this.close.bind(this),this.toggle.bind(this))},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t}();c.decorators=[{type:r.Directive,args:[{selector:"[ngbTooltip]",exportAs:"ngbTooltip"}]}],c.ctorParameters=function(){return[{type:r.ElementRef},{type:r.Renderer2},{type:r.Injector},{type:r.ComponentFactoryResolver},{type:r.ViewContainerRef},{type:l.a},{type:r.NgZone}]},c.propDecorators={placement:[{type:r.Input}],triggers:[{type:r.Input}],container:[{type:r.Input}],shown:[{type:r.Output}],hidden:[{type:r.Output}],ngbTooltip:[{type:r.Input}]}},t2Bb:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=l.async),this.lift(new a(t,e))}function i(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("mmVS"),l=n("CGGv");e.sampleTime=r;var a=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.period,this.scheduler))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.period=n,this.scheduler=r,this.hasValue=!1,this.add(r.schedule(i,n,{subscriber:this,period:n}))}return o(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(s.Subscriber)},tDJK:function(t,e,n){"use strict";var r=n("rCTf"),i=n("09LQ");r.Observable.prototype.finally=i._finally,r.Observable.prototype._finally=i._finally},tQRI:function(t,e,n){"use strict";var r=n("rCTf"),i=n("hiKS");r.Observable.prototype.zipAll=i.zipAll},tYwL:function(t,e,n){"use strict";var r=n("rCTf"),i=n("AQOC");r.Observable.prototype.distinctUntilKeyChanged=i.distinctUntilKeyChanged},td8d:function(t,e,n){"use strict";function r(t,e){var n=!1;return arguments.length>=2&&(n=!0),this.lift(new s(t,e,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.scan=r;var s=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.accumulator,this.seed,this.hasSeed))},t}(),l=function(t){function e(e,n,r,i){t.call(this,e),this.accumulator=n,this._seed=r,this.hasSeed=i,this.index=0}return i(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(o.Subscriber)},tefl:function(t,e,n){"use strict";var r=n("NgUg");e.pairs=r.PairsObservable.create},tn1n:function(t,e,n){"use strict";function r(t,e){return[o.filter.call(this,t,e),o.filter.call(this,i.not(t,e))]}var i=n("7Gky"),o=n("ack3");e.partition=r},tuHt:function(t,e,n){"use strict";var r=n("rCTf"),i=n("SDFq");r.Observable.prototype.switchMapTo=i.switchMapTo},"tyH+":function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size="medium"}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},"u/VN":function(t,e,n){"use strict";function r(t,n){return void 0===n&&(n=e.defaultThrottleConfig),this.lift(new l(t,n.leading,n.trailing))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.defaultThrottleConfig={leading:!0,trailing:!1},e.throttle=r;var l=function(){function t(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.durationSelector,this.leading,this.trailing))},t}(),a=function(t){function e(e,n,r,i){t.call(this,e),this.destination=e,this.durationSelector=n,this._leading=r,this._trailing=i,this._hasTrailingValue=!1}return i(e,t),e.prototype._next=function(t){if(this.throttled)this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=t);else{var e=this.tryDurationSelector(t);e&&this.add(this.throttled=s.subscribeToResult(this,e)),this._leading&&(this.destination.next(t),this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=t))}},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype._unsubscribe=function(){var t=this,e=t.throttled;t._trailingValue,t._hasTrailingValue,t._trailing;this._trailingValue=null,this._hasTrailingValue=!1,e&&(this.remove(e),this.throttled=null,e.unsubscribe())},e.prototype._sendTrailing=function(){var t=this,e=t.destination,n=t.throttled,r=t._trailing,i=t._trailingValue,o=t._hasTrailingValue;n&&r&&o&&(e.next(i),this._trailingValue=null,this._hasTrailingValue=!1)},e.prototype.notifyNext=function(t,e,n,r,i){this._sendTrailing(),this._unsubscribe()},e.prototype.notifyComplete=function(){this._sendTrailing(),this._unsubscribe()},e}(o.OuterSubscriber)},u1gx:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("8GmM"),s=n("Cr1h"),l=n("IBkQ"),a=n("fO1r"),u=n("q0UB"),c=750,h=function(t){function e(e){t.call(this,u.VirtualAction,c),this.assertDeepEqual=e,this.hotObservables=[],this.coldObservables=[],this.flushTests=[]}return r(e,t),e.prototype.createTime=function(t){var n=t.indexOf("|");if(-1===n)throw new Error('marble diagram for time should have a completion marker "|"');return n*e.frameTimeFactor},e.prototype.createColdObservable=function(t,n,r){if(-1!==t.indexOf("^"))throw new Error('cold observable cannot have subscription offset "^"');if(-1!==t.indexOf("!"))throw new Error('cold observable cannot have unsubscription marker "!"');var i=e.parseMarbles(t,n,r),o=new s.ColdObservable(i,this);return this.coldObservables.push(o),o},e.prototype.createHotObservable=function(t,n,r){if(-1!==t.indexOf("!"))throw new Error('hot observable cannot have unsubscription marker "!"');var i=e.parseMarbles(t,n,r),o=new l.HotObservable(i,this);return this.hotObservables.push(o),o},e.prototype.materializeInnerObservable=function(t,e){var n=this,r=[];return t.subscribe(function(t){r.push({frame:n.frame-e,notification:o.Notification.createNext(t)})},function(t){r.push({frame:n.frame-e,notification:o.Notification.createError(t)})},function(){r.push({frame:n.frame-e,notification:o.Notification.createComplete()})}),r},e.prototype.expectObservable=function(t,n){var r=this;void 0===n&&(n=null);var s,l=[],a={actual:l,ready:!1},u=e.parseMarblesAsSubscriptions(n).unsubscribedFrame;return this.schedule(function(){s=t.subscribe(function(t){var e=t;t instanceof i.Observable&&(e=r.materializeInnerObservable(e,r.frame)),l.push({frame:r.frame,notification:o.Notification.createNext(e)})},function(t){l.push({frame:r.frame,notification:o.Notification.createError(t)})},function(){l.push({frame:r.frame,notification:o.Notification.createComplete()})})},0),u!==Number.POSITIVE_INFINITY&&this.schedule(function(){return s.unsubscribe()},u),this.flushTests.push(a),{toBe:function(t,n,r){a.ready=!0,a.expected=e.parseMarbles(t,n,r,!0)}}},e.prototype.expectSubscriptions=function(t){var n={actual:t,ready:!1};return this.flushTests.push(n),{toBe:function(t){var r="string"==typeof t?[t]:t;n.ready=!0,n.expected=r.map(function(t){return e.parseMarblesAsSubscriptions(t)})}}},e.prototype.flush=function(){for(var e=this.hotObservables;e.length>0;)e.shift().setup();t.prototype.flush.call(this);for(var n=this.flushTests.filter(function(t){return t.ready});n.length>0;){var r=n.shift();this.assertDeepEqual(r.actual,r.expected)}},e.parseMarblesAsSubscriptions=function(t){if("string"!=typeof t)return new a.SubscriptionLog(Number.POSITIVE_INFINITY);for(var e=t.length,n=-1,r=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY,o=0;o<e;o++){var s=o*this.frameTimeFactor,l=t[o];switch(l){case"-":case" ":break;case"(":n=s;break;case")":n=-1;break;case"^":if(r!==Number.POSITIVE_INFINITY)throw new Error("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)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");i=n>-1?n:s;break;default:throw new Error("there can only be '^' and '!' markers in a subscription marble diagram. Found instead '"+l+"'.")}}return i<0?new a.SubscriptionLog(r):new a.SubscriptionLog(r,i)},e.parseMarbles=function(t,e,n,r){if(void 0===r&&(r=!1),-1!==t.indexOf("!"))throw new Error('conventional marble diagrams cannot have the unsubscription marker "!"');for(var i=t.length,l=[],a=t.indexOf("^"),u=-1===a?0:a*-this.frameTimeFactor,c="object"!=typeof e?function(t){return t}:function(t){return r&&e[t]instanceof s.ColdObservable?e[t].messages:e[t]},h=-1,p=0;p<i;p++){var d=p*this.frameTimeFactor+u,f=void 0,v=t[p];switch(v){case"-":case" ":break;case"(":h=d;break;case")":h=-1;break;case"|":f=o.Notification.createComplete();break;case"^":break;case"#":f=o.Notification.createError(n||"error");break;default:f=o.Notification.createNext(c(v))}f&&l.push({frame:h>-1?h:d,notification:f})}return l},e}(u.VirtualTimeScheduler);e.TestScheduler=h},u2wr:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n;"function"==typeof t[t.length-1]&&(n=t.pop());var r=t;return this.lift(new l(r,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.withLatestFrom=r;var l=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.observables,this.project))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.observables=n,this.project=r,this.toRespond=[];var i=n.length;this.values=new Array(i);for(var o=0;o<i;o++)this.toRespond.push(o);for(var o=0;o<i;o++){var l=n[o];this.add(s.subscribeToResult(this,l,l,o))}}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.values[n]=e;var o=this.toRespond;if(o.length>0){var s=o.indexOf(n);-1!==s&&o.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}(o.OuterSubscriber)},uCY4:function(t,e,n){"use strict";var r=n("rCTf"),i=n("VEfc");r.Observable.prototype.switchMap=i.switchMap},v4DA:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.justify="start",this.type="tabs"}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},"vQ+N":function(t,e,n){"use strict";var r=n("rCTf"),i=n("mQmC");r.Observable.using=i.using},vfkA:function(t,e,n){"use strict";var r=n("3j3K"),i=n("kgIC");n.d(e,"a",function(){return o});var o=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t}();o.decorators=[{type:r.NgModule,args:[{declarations:[i.a],exports:[i.a]}]}],o.ctorParameters=function(){return[]}},voL5:function(t,e,n){"use strict";var r=n("rCTf"),i=n("5pRa");r.Observable.prototype.timestamp=i.timestamp},vrkH:function(t,e,n){"use strict";function r(t){return void 0===t&&(t=-1),this.lift(new s(t,this))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.retry=r;var s=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.count,this.source))},t}(),l=function(t){function e(e,n,r){t.call(this,e),this.count=n,this.source=r}return i(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this,r=n.source,i=n.count;if(0===i)return t.prototype.error.call(this,e);i>-1&&(this.count=i-1),r.subscribe(this._unsubscribeAndRecycle())}},e}(o.Subscriber)},vvwv:function(t,e,n){"use strict";var r=n("jBEF");e.empty=r.EmptyObservable.create},wFtq:function(t,e,n){"use strict";function r(t){return s["ɵvid"](0,[(t()(),s["ɵand"](0,null,null,0))],null,null)}function i(t){return s["ɵvid"](0,[s["ɵqud"](402653184,1,{element:0}),s["ɵqud"](402653184,2,{container:0}),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,[[2,0],["container",1]],null,3,"div",[["class","modal fade"],["role","dialog"],["style","display:block !important;"]],null,null,null,null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵand"](16777216,[[1,3],["element",2]],null,0,null,r)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵted"](null,["\n"]))],null,null)}function o(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,1,"dialog-wrapper",[],null,null,null,l.b,l.c)),s["ɵdid"](49152,null,0,a.DialogWrapperComponent,[s.ComponentFactoryResolver,u.DialogService],null,null)],null,null)}var s=n("3j3K"),l=n("wFtq"),a=n("7064"),u=(n.n(a),n("hz2l"));n.n(u);n.d(e,"c",function(){return h}),e.b=i,n.d(e,"a",function(){return p});var c=[],h=s["ɵcrt"]({encapsulation:2,styles:c,data:{}}),p=s["ɵccf"]("dialog-wrapper",a.DialogWrapperComponent,o,{},{},[])},wUn1:function(t,e,n){"use strict";var r=n("rCTf"),i=n("ack3");r.Observable.prototype.filter=i.filter},wta3:function(t,e,n){"use strict";var r=n("5oXY"),i=n("R6W2"),o=n("FR2h"),s=n("Zwpz"),l=n("Nr0j"),a=(n.n(l),n("Wdzl")),u=n("dBGY");n.d(e,"a",function(){return c});var c=function(){function t(t,e,n,r,i,o){this.router=t,this.authService=e,this.haskellService=n,this.notifService=r,this.sessionService=i,this.dialogService=o,this.archivos=[],this.grupos=[],this.grupoSeleccionado=void 0,this.alumnoSeleccionado=void 0,this.archivoSeleccionado=void 0,this.tipoArchivo=void 0,this.loading=!1,this.idRecorridos=[],this.configCodeMirror=JSON.parse(sessionStorage.getItem("codeMirrorConfig")),this.directorioActual={},this.directorioActual.archivos=[],this.configCodeMirror.readOnly=!0}return t.prototype.ngOnInit=function(){var t=this,e=this.authService.getUser().cedula;this.loading=!0,this.haskellService.getGrupos(e).subscribe(function(e){t.grupos=e,t.ordenarGrupos(),t.loading=!1},function(t){return console.log(t)})},t.prototype.ordenarAlph=function(t,e){return t.nombre.toLowerCase()<e.nombre.toLowerCase()?-1:t.nombre.toLowerCase()>e.nombre.toLowerCase()?1:0},t.prototype.ordenarArchivos=function(){this.grupoSeleccionado.archivos=this.grupoSeleccionado.archivos.sort(this.ordenarAlph)},t.prototype.ordenarArchivosAlumno=function(){this.archivoSeleccionado.archivos&&(this.archivoSeleccionado.archivos=this.archivoSeleccionado.archivos.sort(this.ordenarAlph))},t.prototype.ordenarGrupoF=function(t,e){return t.grado>e.grado?1:t.grado<e.grado?-1:t.grupo.toLowerCase()>e.grupo.toLowerCase()?1:t.grupo.toLowerCase()<e.grupo.toLowerCase()?-1:0},t.prototype.ordenarGrupos=function(){this.grupos=this.grupos.sort(this.ordenarGrupoF)},t.prototype.ordenarAlumnosF=function(t,e){return t.apellido.toLowerCase()>e.apellido.toLowerCase()?1:t.apellido.toLowerCase()<e.apellido.toLowerCase()?-1:0},t.prototype.ordenarAlumnos=function(){this.grupoSeleccionado.alumnos=this.grupoSeleccionado.alumnos.sort(this.ordenarAlumnosF)},t.prototype.seleccionarGrupo=function(t){this.grupoSeleccionado=t,this.ordenarAlumnos(),this.ordenarArchivos(),this.archivoSeleccionado=void 0,this.alumnoSeleccionado=void 0},t.prototype.desseleccionarGrupo=function(){this.grupoSeleccionado=void 0,this.archivoSeleccionado=void 0,this.alumnoSeleccionado=void 0},t.prototype.seleccionarAlumno=function(t){this.alumnoSeleccionado=t,this.ordenarArchivosAlumno(),this.archivoSeleccionado=void 0},t.prototype.seleccionarArchivo=function(t){this.archivoSeleccionado=t,this.alumnoSeleccionado=void 0,this.tipoArchivo="compartido"},t.prototype.seleccionarEntrega=function(t){this.archivoSeleccionado=t,this.alumnoSeleccionado=void 0,this.tipoArchivo="entrega"},t.prototype.calificarEntrega=function(){this.dialogService.addDialog(a.a,{cedula:JSON.parse(sessionStorage.currentUser).cedula+"",archivo:this.archivoSeleccionado,parentContext:this}).subscribe(function(t){})},t.prototype.esArchivoGrupo=function(){var t=this;return!!(this.archivoSeleccionado&&this.grupoSeleccionado&&this.grupoSeleccionado.archivos.some(function(e){return e.id==t.archivoSeleccionado.id}))},t.prototype.cargarArchivoCompartido=function(){this.archivoSeleccionado?this.archivoSeleccionado.directorio?this.notifService.warning("No se seleccionó ningún archivo",!1):(this.sessionService.setArchivo(this.archivoSeleccionado),this.router.navigate(["/matefun"])):this.notifService.warning("Archivo no seleccionado")},t.ctorParameters=function(){return[{type:r.c},{type:i.a},{type:o.a},{type:u.a},{type:s.a},{type:l.DialogService}]},t}()},ww7A:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("9Avi"),o=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(i.AsyncScheduler);e.AnimationFrameScheduler=o},xFXl:function(t,e,n){"use strict";var r=n("rCTf"),i=n("yZjU");r.Observable.prototype.windowToggle=i.windowToggle},xOQQ:function(t,e,n){"use strict";var r=n("rCTf"),i=n("U9ky");r.Observable.prototype.pluck=i.pluck},xOmt:function(t,e,n){"use strict";var r=n("3j3K"),i=n("nxqe");n.d(e,"a",function(){return o});var o=function(){function t(t,e){this._elRef=t,this._renderer=e,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new r.EventEmitter}return t.prototype.backdropClick=function(t){!0===this.backdrop&&this._elRef.nativeElement===t.target&&this.dismiss(i.a.BACKDROP_CLICK)},t.prototype.escKey=function(t){this.keyboard&&!t.defaultPrevented&&this.dismiss(i.a.ESC)},t.prototype.dismiss=function(t){this.dismissEvent.emit(t)},t.prototype.ngOnInit=function(){this._elWithFocus=document.activeElement,this._renderer.addClass(document.body,"modal-open")},t.prototype.ngAfterViewInit=function(){this._elRef.nativeElement.contains(document.activeElement)||this._elRef.nativeElement.focus.apply(this._elRef.nativeElement,[])},t.prototype.ngOnDestroy=function(){this._elWithFocus&&document.body.contains(this._elWithFocus)?this._elWithFocus.focus.apply(this._elWithFocus,[]):document.body.focus.apply(document.body,[]),this._elWithFocus=null,this._renderer.removeClass(document.body,"modal-open")},t}();o.decorators=[{type:r.Component,args:[{selector:"ngb-modal-window",host:{"[class]":'"modal fade show" + (windowClass ? " " + windowClass : "")',role:"dialog",tabindex:"-1",style:"display: block;","(keyup.esc)":"escKey($event)","(click)":"backdropClick($event)"},template:"\n <div [class]=\"'modal-dialog' + (size ? ' modal-' + size : '')\" role=\"document\">\n <div class=\"modal-content\"><ng-content></ng-content></div>\n </div>\n "}]}],o.ctorParameters=function(){return[{type:r.ElementRef},{type:r.Renderer2}]},o.propDecorators={backdrop:[{type:r.Input}],keyboard:[{type:r.Input}],size:[{type:r.Input}],windowClass:[{type:r.Input}],dismissEvent:[{type:r.Output,args:["dismiss"]}]}},xYP1:function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("+3eL"),l=n("WhVc");e.sequenceEqual=r;var a=function(){function t(t,e){this.compareTo=t,this.comparor=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.compareTo,this.comparor))},t}();e.SequenceEqualOperator=a;var u=function(t){function e(e,n,r){t.call(this,e),this.compareTo=n,this.comparor=r,this._a=[],this._b=[],this._oneComplete=!1,this.add(n.subscribe(new c(e,this)))}return i(e,t),e.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e.prototype.checkValues=function(){for(var t=this,e=t._a,n=t._b,r=t.comparor;e.length>0&&n.length>0;){var i=e.shift(),o=n.shift(),a=!1;r?(a=s.tryCatch(r)(i,o))===l.errorObject&&this.destination.error(l.errorObject.e):a=i===o,a||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e}(o.Subscriber);e.SequenceEqualSubscriber=u;var c=function(t){function e(e,n){t.call(this,e),this.parent=n}return i(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t)},e.prototype._complete=function(){this.parent._complete()},e}(o.Subscriber)},xiEB:function(t,e,n){"use strict";function r(t){return o["ɵvid"](0,[],null,null)}function i(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"ngb-modal-backdrop",[["class","modal-backdrop fade show"]],null,null,null,s.b,s.c)),o["ɵdid"](49152,null,0,l.a,[],null,null)],null,null)}var o=n("3j3K"),s=n("xiEB"),l=n("9XFw");n.d(e,"c",function(){return u}),e.b=r,n.d(e,"a",function(){return c});var a=[],u=o["ɵcrt"]({encapsulation:2,styles:a,data:{}}),c=o["ɵccf"]("ngb-modal-backdrop",l.a,i,{},{},[])},y3IE:function(t,e,n){"use strict";var r=n("rCTf"),i=n("vrkH");r.Observable.prototype.retry=i.retry},y6Vm:function(t,e,n){"use strict";var r=n("rCTf"),i=n("8T44");r.Observable.prototype.repeatWhen=i.repeatWhen},y9a2:function(t,e,n){"use strict";var r=n("fO1r"),i=function(){function t(){this.subscriptions=[]}return t.prototype.logSubscribedFrame=function(){return this.subscriptions.push(new r.SubscriptionLog(this.scheduler.now())),this.subscriptions.length-1},t.prototype.logUnsubscribedFrame=function(t){var e=this.subscriptions,n=e[t];e[t]=new r.SubscriptionLog(n.subscribedFrame,this.scheduler.now())},t}();e.SubscriptionLoggable=i},yDyO:function(t,e,n){"use strict";var r=n("3j3K"),i=n("sgnN"),o=n("qKow");n.d(e,"a",function(){return s});var s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}();s.decorators=[{type:r.NgModule,args:[{declarations:[i.a,i.b],exports:[i.a],entryComponents:[i.b]}]}],s.ctorParameters=function(){return[]}},yZjU:function(t,e,n){"use strict";function r(t,e){return this.lift(new h(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),s=n("B00U"),l=n("+3eL"),a=n("WhVc"),u=n("wAkD"),c=n("CURp");e.windowToggle=r;var h=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.openings,this.closingSelector))},t}(),p=function(t){function e(e,n,r){t.call(this,e),this.openings=n,this.closingSelector=r,this.contexts=[],this.add(this.openSubscription=c.subscribeToResult(this,n,n))}return i(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,r=0;r<n;r++)e[r].window.next(t)},e.prototype._error=function(e){var n=this.contexts;if(this.contexts=null,n)for(var r=n.length,i=-1;++i<r;){var o=n[i];o.window.error(e),o.subscription.unsubscribe()}t.prototype._error.call(this,e)},e.prototype._complete=function(){var e=this.contexts;if(this.contexts=null,e)for(var n=e.length,r=-1;++r<n;){var i=e[r];i.window.complete(),i.subscription.unsubscribe()}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.contexts;if(this.contexts=null,t)for(var e=t.length,n=-1;++n<e;){var r=t[n];r.window.unsubscribe(),r.subscription.unsubscribe()}},e.prototype.notifyNext=function(t,e,n,r,i){if(t===this.openings){var u=this.closingSelector,h=l.tryCatch(u)(e);if(h===a.errorObject)return this.error(a.errorObject.e);var p=new o.Subject,d=new s.Subscription,f={window:p,subscription:d};this.contexts.push(f);var v=c.subscribeToResult(this,h,f);v.closed?this.closeWindow(this.contexts.length-1):(v.context=f,d.add(v)),this.destination.next(p)}else this.closeWindow(this.contexts.indexOf(t))},e.prototype.notifyError=function(t){this.error(t)},e.prototype.notifyComplete=function(t){t!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(t.context))},e.prototype.closeWindow=function(t){if(-1!==t){var e=this.contexts,n=e[t],r=n.window,i=n.subscription;e.splice(t,1),r.complete(),i.unsubscribe()}},e}(u.OuterSubscriber)},zC23:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Oa+j");r.Observable.prototype.dematerialize=i.dematerialize},zJQZ:function(t,e,n){"use strict";var r=n("rCTf"),i=n("td8d");r.Observable.prototype.scan=i.scan},"zK+N":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("3j3K"),i=n("NVOs"),o=n("8U58"),s=function(){function t(){this.change=new r.EventEmitter,this.focus=new r.EventEmitter,this.blur=new r.EventEmitter,this.instance=null,this._value=""}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){t!==this._value&&(this._value=t,this.onChange(t))},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){},t.prototype.ngAfterViewInit=function(){this.config=this.config||{},this.codemirrorInit(this.config)},t.prototype.codemirrorInit=function(t){var e=this;this.instance=o.fromTextArea(this.host.nativeElement,t),this.instance.setValue(this._value),this.instance.on("change",function(){e.updateValue(e.instance.getValue())}),this.instance.on("focus",function(){e.focus.emit()}),this.instance.on("blur",function(){e.blur.emit()})},t.prototype.updateValue=function(t){this.value=t,this.onTouched(),this.change.emit(t)},t.prototype.writeValue=function(t){this._value=t||"",this.instance&&this.instance.setValue(this._value)},t.prototype.onChange=function(t){},t.prototype.onTouched=function(){},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t}();s.decorators=[{type:r.Component,args:[{selector:"codemirror",providers:[{provide:i.NG_VALUE_ACCESSOR,useExisting:r.forwardRef(function(){return s}),multi:!0}],template:"<textarea #host></textarea>"}]}],s.ctorParameters=function(){return[]},s.propDecorators={config:[{type:r.Input}],change:[{type:r.Output}],focus:[{type:r.Output}],blur:[{type:r.Output}],host:[{type:r.ViewChild,args:["host"]}],instance:[{type:r.Output}],value:[{type:r.Input}]},e.CodemirrorComponent=s},zO2v:function(t,e,n){"use strict";var r=n("rCTf"),i=n("DzMp");r.Observable.defer=i.defer},zQPq:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("B00U"),o=function(t){function e(e,n){t.call(this)}return r(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(i.Subscription);e.Action=o}}); \ No newline at end of file diff --git a/Servidor JEE/WebContent/2.b856a7489ad17cab0edc.chunk.js b/Servidor JEE/WebContent/2.b856a7489ad17cab0edc.chunk.js new file mode 100644 index 0000000000000000000000000000000000000000..46af107c61108ea184f70e046e1ac42adb157cb0 --- /dev/null +++ b/Servidor JEE/WebContent/2.b856a7489ad17cab0edc.chunk.js @@ -0,0 +1 @@ +webpackJsonp([2],{"7G2K":function(l,n,e){"use strict";var u=e("p2gU");e.n(u);e.d(n,"a",function(){return o});var t=this&&this.__extends||function(){var l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,n){l.__proto__=n}||function(l,n){for(var e in n)n.hasOwnProperty(e)&&(l[e]=n[e])};return function(n,e){function u(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}(),o=function(l){function n(n){return l.call(this,n)||this}return t(n,l),n.prototype.seleccionarGrupo=function(l){this.grupo=l},n.prototype.compartir=function(){var l=this;this.grupo?this.parent.haskellService.compartirArchivoGrupo(this.grupo,this.archivo.id).subscribe(function(n){l.parent.notifService.success("Archivo compartido"),l.close()},function(n){l.parent.notifService.error(n)}):this.parent.notifService.error("Seleccione un grupo")},n.ctorParameters=function(){return[{type:u.DialogService}]},n}(u.DialogComponent)},BWqN:function(l,n,e){"use strict";function u(l){return i["ɵvid"](0,[(l()(),i["ɵeld"](0,0,null,null,5,"button",[["class","list-group-item list-group-item-action"],["style","cursor:pointer"],["type","button"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.seleccionarGrupo(l.context.$implicit)&&u}return u},null,null)),i["ɵdid"](1,278528,null,0,r.NgClass,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i["ɵpod"](2,{active:0}),(l()(),i["ɵted"](-1,null,["\n "])),(l()(),i["ɵeld"](4,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-group"],["style","margin-right:10px; font-size: 3em; cursor: pointer;"]],null,null,null,null,null)),(l()(),i["ɵted"](5,null,["\n ","\n "]))],function(l,n){var e=n.component;l(n,1,0,"list-group-item list-group-item-action",l(n,2,0,void 0!=e.grupo&&n.context.$implicit.grado==e.grupo.grado&&n.context.$implicit.grupo==e.grupo.grupo&&n.context.$implicit.anio==e.grupo.anio&&n.context.$implicit.liceoId==e.grupo.liceoId))},function(l,n){l(n,5,0,n.context.$implicit.grado+"°"+n.context.$implicit.grupo+" - "+n.context.$implicit.anio)})}function t(l){return i["ɵvid"](0,[(l()(),i["ɵeld"](0,0,null,null,31,"div",[["class","modal-dialog"],["style","margin-top:100px;"]],null,null,null,null,null)),(l()(),i["ɵted"](-1,null,["\n "])),(l()(),i["ɵeld"](2,0,null,null,28,"div",[["class","modal-content"]],null,null,null,null,null)),(l()(),i["ɵted"](-1,null,["\n "])),(l()(),i["ɵeld"](4,0,null,null,7,"div",[["class","modal-header"]],null,null,null,null,null)),(l()(),i["ɵted"](-1,null,["\n "])),(l()(),i["ɵeld"](6,0,null,null,1,"h6",[["class","modal-title pull-lefth"]],null,null,null,null,null)),(l()(),i["ɵted"](7,null,['Compartir "','" con:'])),(l()(),i["ɵted"](-1,null,[" \n "])),(l()(),i["ɵeld"](9,0,null,null,1,"button",[["class","close"],["style","margin-rigth:8px;"],["type","button"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.close()&&u}return u},null,null)),(l()(),i["ɵted"](-1,null,["×"])),(l()(),i["ɵted"](-1,null,["\n "])),(l()(),i["ɵted"](-1,null,["\n "])),(l()(),i["ɵeld"](13,0,null,null,10,"div",[["class","modal-body"],["style","height:350px;overflow-y: scroll;"]],null,null,null,null,null)),(l()(),i["ɵted"](-1,null,["\n "])),(l()(),i["ɵeld"](15,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),i["ɵted"](-1,null,["\n "])),(l()(),i["ɵeld"](17,0,null,null,4,"div",[["class","list-group"]],null,null,null,null,null)),(l()(),i["ɵted"](-1,null,["\n "])),(l()(),i["ɵand"](16777216,null,null,1,null,u)),i["ɵdid"](20,802816,null,0,r.NgForOf,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),i["ɵted"](-1,null,["\n "])),(l()(),i["ɵted"](-1,null,["\n "])),(l()(),i["ɵted"](-1,null,["\n "])),(l()(),i["ɵted"](-1,null,["\n "])),(l()(),i["ɵeld"](25,0,null,null,4,"div",[["class","modal-footer"]],null,null,null,null,null)),(l()(),i["ɵted"](-1,null,["\n "])),(l()(),i["ɵeld"](27,0,null,null,1,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.compartir()&&u}return u},null,null)),(l()(),i["ɵted"](-1,null,["Compartir"])),(l()(),i["ɵted"](-1,null,["\n "])),(l()(),i["ɵted"](-1,null,["\n "])),(l()(),i["ɵted"](-1,null,["\n "]))],function(l,n){l(n,20,0,n.component.grupos)},function(l,n){l(n,7,0,n.component.archivo.nombre)})}function o(l){return i["ɵvid"](0,[(l()(),i["ɵeld"](0,0,null,null,1,"confirm",[],null,null,null,t,s)),i["ɵdid"](1,180224,null,0,a.a,[c.DialogService],null,null)],null,null)}var i=e("/oeL"),r=e("qbdv"),a=e("7G2K"),c=e("V672");e.n(c);e.d(n,"a",function(){return f});var d=[],s=i["ɵcrt"]({encapsulation:2,styles:d,data:{}}),f=i["ɵccf"]("confirm",a.a,o,{},{},[])},ChwX:function(l,n,e){"use strict";function u(l){return c["ɵvid"](0,[(l()(),c["ɵeld"](0,0,null,null,1,"h6",[["class","modal-title"]],null,null,null,null,null)),(l()(),c["ɵted"](-1,null,["Eliminar archivo"]))],null,null)}function t(l){return c["ɵvid"](0,[(l()(),c["ɵeld"](0,0,null,null,1,"h6",[["class","modal-title"]],null,null,null,null,null)),(l()(),c["ɵted"](-1,null,["Eliminar carpeta"]))],null,null)}function o(l){return c["ɵvid"](0,[(l()(),c["ɵeld"](0,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),c["ɵted"](1,null,["¿Está seguro que desea eliminar el archivo ","?"]))],null,function(l,n){l(n,1,0,n.component.nombreArchivo)})}function i(l){return c["ɵvid"](0,[(l()(),c["ɵeld"](0,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),c["ɵted"](1,null,["¿Está seguro que desea eliminar la carpeta ","?"]))],null,function(l,n){l(n,1,0,n.component.nombreArchivo)})}function r(l){return c["ɵvid"](0,[(l()(),c["ɵeld"](0,0,null,null,34,"div",[["class","modal-dialog"],["style","margin-top:100px;"]],null,null,null,null,null)),(l()(),c["ɵted"](-1,null,["\n "])),(l()(),c["ɵeld"](2,0,null,null,31,"div",[["class","modal-content"]],null,null,null,null,null)),(l()(),c["ɵted"](-1,null,["\n "])),(l()(),c["ɵeld"](4,0,null,null,10,"div",[["class","modal-header"]],null,null,null,null,null)),(l()(),c["ɵted"](-1,null,["\n "])),(l()(),c["ɵand"](16777216,null,null,1,null,u)),c["ɵdid"](7,16384,null,0,d.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),c["ɵted"](-1,null,[" \n "])),(l()(),c["ɵand"](16777216,null,null,1,null,t)),c["ɵdid"](10,16384,null,0,d.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),c["ɵted"](-1,null,[" \n "])),(l()(),c["ɵeld"](12,0,null,null,1,"button",[["class","close"],["style","margin-left:8px;"],["type","button"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.close()&&u}return u},null,null)),(l()(),c["ɵted"](-1,null,["×"])),(l()(),c["ɵted"](-1,null,["\n "])),(l()(),c["ɵted"](-1,null,["\n "])),(l()(),c["ɵeld"](16,0,null,null,7,"div",[["class","modal-body"]],null,null,null,null,null)),(l()(),c["ɵted"](-1,null,["\n "])),(l()(),c["ɵand"](16777216,null,null,1,null,o)),c["ɵdid"](19,16384,null,0,d.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),c["ɵted"](-1,null,["\n "])),(l()(),c["ɵand"](16777216,null,null,1,null,i)),c["ɵdid"](22,16384,null,0,d.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),c["ɵted"](-1,null,["\n "])),(l()(),c["ɵted"](-1,null,["\n "])),(l()(),c["ɵeld"](25,0,null,null,7,"div",[["class","modal-footer"]],null,null,null,null,null)),(l()(),c["ɵted"](-1,null,["\n "])),(l()(),c["ɵeld"](27,0,null,null,1,"button",[["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.close()&&u}return u},null,null)),(l()(),c["ɵted"](-1,null,["Cancelar"])),(l()(),c["ɵted"](-1,null,["\n "])),(l()(),c["ɵeld"](30,0,null,null,1,"button",[["class","btn btn-success"],["type","button"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.confirmarEliminar()&&u}return u},null,null)),(l()(),c["ɵted"](-1,null,["Eliminar"])),(l()(),c["ɵted"](-1,null,["\n "])),(l()(),c["ɵted"](-1,null,["\n "])),(l()(),c["ɵted"](-1,null,["\n "]))],function(l,n){var e=n.component;l(n,7,0,!e.esDirectorio),l(n,10,0,e.esDirectorio),l(n,19,0,!e.esDirectorio),l(n,22,0,e.esDirectorio)},null)}function a(l){return c["ɵvid"](0,[(l()(),c["ɵeld"](0,0,null,null,1,"confirm",[],null,null,null,r,v)),c["ɵdid"](1,180224,null,0,s.a,[f.DialogService],null,null)],null,null)}var c=e("/oeL"),d=e("qbdv"),s=e("mnGX"),f=e("V672");e.n(f);e.d(n,"a",function(){return h});var p=[],v=c["ɵcrt"]({encapsulation:2,styles:p,data:{}}),h=c["ɵccf"]("confirm",s.a,a,{},{},[])},E1aS:function(l,n,e){"use strict";e.d(n,"a",function(){return u});var u=function(){function l(){}return l.prototype.transform=function(l,n,e){return l?l.filter(function(l){return-1!=l[n].toLowerCase().indexOf(e.toLowerCase())}):[]},l}()},KUJ0:function(l,n,e){"use strict";var u=e("p2gU");e.n(u);e.d(n,"a",function(){return o});var t=this&&this.__extends||function(){var l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,n){l.__proto__=n}||function(l,n){for(var e in n)n.hasOwnProperty(e)&&(l[e]=n[e])};return function(n,e){function u(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}(),o=function(l){function n(n){return l.call(this,n)||this}return t(n,l),n.prototype.confirm=function(){this.result=!0,this.close()},n.ctorParameters=function(){return[{type:u.DialogService}]},n}(u.DialogComponent)},LxsK:function(l,n,e){"use strict";var u=e("p2gU");e.n(u);e.d(n,"a",function(){return o});var t=this&&this.__extends||function(){var l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,n){l.__proto__=n}||function(l,n){for(var e in n)n.hasOwnProperty(e)&&(l[e]=n[e])};return function(n,e){function u(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}(),o=function(l){function n(n){return l.call(this,n)||this}return t(n,l),n.prototype.move=function(){var l=this,n=this;void 0!==this.nombre&&""!==this.nombre&&(this.parent.archivoSeleccionado.padreId=this.directorioActual.id,this.parent.archivoSeleccionado.directorio&&delete this.parent.archivoSeleccionado.archivos,this.parent.haskellService.editarArchivo(this.parent.archivoSeleccionado.id,this.parent.archivoSeleccionado).subscribe(function(e){n.parent.recargarArchivos(l.directorioActual.id),n.parent.archivoSeleccionado=null},function(n){l.parent.notifService.error(n)})),this.close()},n.prototype.navToDir=function(l){l.directorio&&(this.directorioActual=l)},n.prototype.navBack=function(){var l=this.directorioActual.padreId,n=this.parent.sessionService.getArchivosList(),e=n.filter(function(n){return n.id===l})[0];this.directorioActual=e},n.ctorParameters=function(){return[{type:u.DialogService}]},n}(u.DialogComponent)},PlGn:function(l,n,e){"use strict";function u(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary pull-right"],["data-placement","bottom"],["ngbPopover","Atras"],["style","cursor: pointer; margin-top: -33.5px; margin-right: 73px; height: 30px;"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.navBack()&&u}return u},null,null)),_["ɵdid"](1,212992,null,0,D.a,[_.ElementRef,_.Renderer2,_.Injector,_.ComponentFactoryResolver,_.ViewContainerRef,O.a,_.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](3,0,null,null,0,"i",[["class","fa fa-arrow-up"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵand"](0,null,null,0))],function(l,n){l(n,1,0,"Atras","bottom","mouseenter:mouseleave")},null)}function t(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,9,"div",[["class","loading"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](2,0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](4,0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](6,0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](8,0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "]))],null,null)}function o(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-folder"],["style","font-size: 3em; cursor: pointer;color:#f95e5e"]],null,null,null,null,null))],null,null)}function i(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-file-text"],["style","font-size: 3em; cursor: pointer;color:#ff8383"]],null,null,null,null,null))],null,null)}function r(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,10,"div",[["class","col-sm-3 col-4"],["style","text-align: center;"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.seleccionarArchivo(l.context.$implicit)&&u}return u},null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵand"](16777216,null,null,1,null,o)),_["ɵdid"](3,16384,null,0,T.NgIf,[_.ViewContainerRef,_.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵand"](16777216,null,null,1,null,i)),_["ɵdid"](6,16384,null,0,T.NgIf,[_.ViewContainerRef,_.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](8,0,null,null,1,"p",[["style","cursor: pointer;"]],null,null,null,null,null)),(l()(),_["ɵted"](9,null,["",""])),(l()(),_["ɵted"](-1,null,["\n "]))],function(l,n){l(n,3,0,n.context.$implicit.directorio),l(n,6,0,!n.context.$implicit.directorio)},function(l,n){l(n,9,0,n.context.$implicit.nombre)})}function a(l){return _["ɵvid"](0,[(l()(),_["ɵted"](-1,null,["\n\n "])),(l()(),_["ɵeld"](1,0,null,null,64,"div",[["class","card"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](3,0,null,null,48,"div",[],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](5,0,null,null,4,"div",[["class","btn-group pull-right"],["style","cursor: pointer; margin-top: -9px;"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵand"](16777216,null,null,1,null,u)),_["ɵdid"](8,16384,null,0,T.NgIf,[_.ViewContainerRef,_.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](12,0,null,null,18,"div",[["class","btn-group pull-right"],["style","cursor: pointer; margin-top: -42px; height: 30px; width: 29px;"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](14,16777216,null,null,4,"button",[["aria-expanded","false"],["aria-haspopup","true"],["class","btn btn-sm btn-secondary"],["data-placement","bottom"],["data-toggle","dropdown"],["ngbPopover","Nuevo"],["style","cursor: pointer;border-radius: 3px;"],["triggers","mouseenter:mouseleave"],["type","button"]],null,null,null,null,null)),_["ɵdid"](15,212992,null,0,D.a,[_.ElementRef,_.Renderer2,_.Injector,_.ComponentFactoryResolver,_.ViewContainerRef,O.a,_.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](17,0,null,null,0,"i",[["class","fa fa-plus"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,[" \n "])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](20,0,null,null,9,"div",[["class","dropdown-menu"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](22,0,null,null,1,"a",[["class","dropdown-item"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.mkFile()&&u}return u},null,null)),(l()(),_["ɵted"](-1,null,["Archivo"])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](25,0,null,null,0,"div",[["class","dropdown-divider"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](27,0,null,null,1,"a",[["class","dropdown-item"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.mkdir()&&u}return u},null,null)),(l()(),_["ɵted"](-1,null,["Carpeta"])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵted"](-1,null,["\n\n "])),(l()(),_["ɵeld"](32,0,null,null,18,"div",[["class","btn-group pull-right"],["style","cursor: pointer; margin-top: -42px; height: 30px; width: 29px; margin-right: 36px;"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](34,16777216,null,null,4,"button",[["aria-expanded","false"],["aria-haspopup","true"],["class","btn btn-sm btn-secondary"],["data-placement","bottom"],["data-toggle","dropdown"],["ngbPopover","Ordenar"],["style","cursor: pointer;border-radius: 3px;width: 36px;"],["triggers","mouseenter:mouseleave"],["type","button"]],null,null,null,null,null)),_["ɵdid"](35,212992,null,0,D.a,[_.ElementRef,_.Renderer2,_.Injector,_.ComponentFactoryResolver,_.ViewContainerRef,O.a,_.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](37,0,null,null,0,"i",[["class","fa fa-sort"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,[" \n "])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](40,0,null,null,9,"div",[["class","dropdown-menu"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](42,0,null,null,1,"a",[["class","dropdown-item"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.ordenarPorTipo()&&u}return u},null,null)),(l()(),_["ɵted"](-1,null,["Carpetas primero"])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](45,0,null,null,0,"div",[["class","dropdown-divider"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](47,0,null,null,1,"a",[["class","dropdown-item"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.ordenarPorFecha()&&u}return u},null,null)),(l()(),_["ɵted"](-1,null,["Fecha de creación"])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵted"](-1,null,["\n\n\n "])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](53,0,null,null,11,"div",[["class","card-block"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](55,0,null,null,8,"div",[["class","row listado-archivos"],["style","min-height: 100px; overflow-y: scroll;"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵand"](16777216,null,null,1,null,t)),_["ɵdid"](58,16384,null,0,T.NgIf,[_.ViewContainerRef,_.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵand"](16777216,null,null,2,null,r)),_["ɵdid"](61,802816,null,0,T.NgForOf,[_.ViewContainerRef,_.TemplateRef,_.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),_["ɵpid"](0,E.a,[]),(l()(),_["ɵted"](-1,null,[" \n "])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵted"](-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,8,0,-1!=e.directorioActual.padreId);l(n,15,0,"Nuevo","bottom","mouseenter:mouseleave");l(n,35,0,"Ordenar","bottom","mouseenter:mouseleave"),l(n,58,0,e.loading),l(n,61,0,_["ɵunv"](n,61,0,_["ɵnov"](n,62).transform(e.directorioActual.archivos,"nombre",e.filtroNombre)))},null)}function c(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,9,"div",[["class","loading"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](2,0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](4,0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](6,0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](8,0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "]))],null,null)}function d(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,6,"div",[["class","col-sm-3 col-4"],["style","text-align: center;"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.seleccionarArchivo(l.context.$implicit)&&u}return u},null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-file-text"],["style","font-size: 3em; cursor: pointer;color:#ff8383"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n\n "])),(l()(),_["ɵeld"](4,0,null,null,1,"p",[["style","cursor: pointer;"]],null,null,null,null,null)),(l()(),_["ɵted"](5,null,["",""])),(l()(),_["ɵted"](-1,null,["\n "]))],null,function(l,n){l(n,5,0,n.context.$implicit.nombre)})}function s(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,14,"div",[["class","card"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](2,0,null,null,11,"div",[["class","card-block"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](4,0,null,null,8,"div",[["class","row listado-archivos"],["style","min-height: 100px; overflow-y: scroll;"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵand"](16777216,null,null,1,null,c)),_["ɵdid"](7,16384,null,0,T.NgIf,[_.ViewContainerRef,_.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵand"](16777216,null,null,2,null,d)),_["ɵdid"](10,802816,null,0,T.NgForOf,[_.ViewContainerRef,_.TemplateRef,_.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),_["ɵpid"](0,E.a,[]),(l()(),_["ɵted"](-1,null,[" \n "])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵted"](-1,null,["\n "]))],function(l,n){var e=n.component;l(n,7,0,e.loadingCompartidos),l(n,10,0,_["ɵunv"](n,10,0,_["ɵnov"](n,11).transform(e.archivosCompartidosSinDuplicados,"nombre",e.filtroNombre)))},null)}function f(l){return _["ɵvid"](0,[(l()(),_["ɵted"](-1,null,["\n\n "])),(l()(),_["ɵand"](16777216,null,null,1,null,s)),_["ɵdid"](2,16384,null,0,T.NgIf,[_.ViewContainerRef,_.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),_["ɵted"](-1,null,["\n "]))],function(l,n){l(n,2,0,n.component.esAlumno)},null)}function p(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,1,"button",[["class","btn btn-sm btn-secondary pull-left mr-2"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.seleccionarArchivoOriginal()&&u}return u},null,null)),(l()(),_["ɵted"](-1,null,["Ver original"]))],null,null)}function v(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,1,"button",[["class","btn btn-sm btn-secondary pull-left mr-2"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.seleccionarArchivoMio()&&u}return u},null,null)),(l()(),_["ɵted"](-1,null,["Ver mio"]))],null,null)}function h(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,1,"button",[["class","btn btn-sm btn-secondary pull-left mr-4"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.confirmarEntrega()&&u}return u},null,null)),(l()(),_["ɵted"](-1,null,["Entregar"]))],null,null)}function m(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,1,"div",[["class","pull-left mr-2"]],null,null,null,null,null)),(l()(),_["ɵted"](1,null,[""," - "]))],null,function(l,n){l(n,1,0,n.component.archivoSeleccionado.estado)})}function g(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,1,"button",[["class","btn btn-sm btn-secondary pull-left mr-2"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.verCalificacion()&&u}return u},null,null)),(l()(),_["ɵted"](-1,null,["Ver calificacion"]))],null,null)}function b(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,1,"button",[["class","btn btn-sm btn-secondary pull-left mr-2"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.compartirArchivo()&&u}return u},null,null)),(l()(),_["ɵted"](-1,null,["Compartir"]))],null,null)}function C(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,2,"div",[["class","pull-left"]],null,null,null,null,null)),(l()(),_["ɵted"](1,null,["\n Nombre: "," - Creado: ","\n "])),_["ɵppd"](2,1)],null,function(l,n){var e=n.component;l(n,1,0,null==e.archivoSeleccionado?null:e.archivoSeleccionado.nombre,_["ɵunv"](n,1,1,l(n,2,0,_["ɵnov"](n.parent,0),null==e.archivoSeleccionado?null:e.archivoSeleccionado.fechaCreacion)))})}function y(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,1,"div",[["class","pull-left"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["Seleccione un archivo para previsualizarlo"]))],null,null)}function S(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,0,"input",[["class","custom-control-input"],["type","checkbox"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.setSoloLectura()&&u}return u},null,null))],null,null)}function I(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,0,"input",[["checked",""],["class","custom-control-input"],["type","checkbox"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.setSoloLectura()&&u}return u},null,null))],null,null)}function A(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,12,"label",[["class","custom-control custom-checkbox"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵand"](16777216,null,null,1,null,S)),_["ɵdid"](3,16384,null,0,T.NgIf,[_.ViewContainerRef,_.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵand"](16777216,null,null,1,null,I)),_["ɵdid"](6,16384,null,0,T.NgIf,[_.ViewContainerRef,_.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](8,0,null,null,0,"span",[["class","custom-control-indicator"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](10,0,null,null,1,"span",[["class","custom-control-description"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["Solo lectura"])),(l()(),_["ɵted"](-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,e.archivoSeleccionado.editable),l(n,6,0,!e.archivoSeleccionado.editable)},null)}function R(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,4,"div",[["class","pull-right"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵand"](16777216,null,null,1,null,A)),_["ɵdid"](3,16384,null,0,T.NgIf,[_.ViewContainerRef,_.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),_["ɵted"](-1,null,["\n "]))],function(l,n){l(n,3,0,!n.component.esAlumno)},null)}function w(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,6,"div",[["class","card-block"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](2,0,null,null,3,"div",[["class","previewArchivoNoSeleccionado"],["style","width: 100%; text-align: center;"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](4,0,null,null,0,"i",[["class","fa fa-file-text"],["style","color: rgb(220,220,220); font-size: 10em; padding: 0.1em"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,[" \n "])),(l()(),_["ɵted"](-1,null,[" \n "]))],null,null)}function x(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,8,"codemirror",[["class","codemirrorArchivo"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0,t=l.component;if("ngModelChange"===n){u=!1!==(t.preview=e)&&u}return u},M.a,M.b)),_["ɵdid"](1,278528,null,0,T.NgStyle,[_.KeyValueDiffers,_.ElementRef,_.Renderer],{ngStyle:[0,"ngStyle"]},null),_["ɵpod"](2,{"font-size":0}),_["ɵdid"](3,4374528,[[1,4]],0,F.CodemirrorComponent,[],{config:[0,"config"]},null),_["ɵprd"](1024,null,V.NG_VALUE_ACCESSOR,function(l){return[l]},[F.CodemirrorComponent]),_["ɵdid"](5,671744,null,0,V.NgModel,[[8,null],[8,null],[8,null],[2,V.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),_["ɵprd"](2048,null,V.NgControl,null,[V.NgModel]),_["ɵdid"](7,16384,null,0,V.NgControlStatus,[V.NgControl],null,null),(l()(),_["ɵted"](-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,l(n,2,0,e.configCodeMirror.fontSize+"px")),l(n,3,0,e.configCodeMirror),l(n,5,0,e.preview)},function(l,n){l(n,0,0,_["ɵnov"](n,7).ngClassUntouched,_["ɵnov"](n,7).ngClassTouched,_["ɵnov"](n,7).ngClassPristine,_["ɵnov"](n,7).ngClassDirty,_["ɵnov"](n,7).ngClassValid,_["ɵnov"](n,7).ngClassInvalid,_["ɵnov"](n,7).ngClassPending)})}function k(l){return _["ɵvid"](0,[_["ɵpid"](0,T.DatePipe,[_.LOCALE_ID]),_["ɵqud"](671088640,1,{codemirror:0}),(l()(),_["ɵeld"](2,0,null,null,1,"notificacion",[],null,null,null,P.a,P.b)),_["ɵdid"](3,114688,null,0,L.a,[U.a],null,null),(l()(),_["ɵted"](-1,null,[" \n"])),(l()(),_["ɵeld"](5,0,null,null,112,"div",[["class","container-fluid"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](7,0,null,null,20,"div",[["class","row"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](9,0,null,null,17,"div",[["class","col-lg-5"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](11,0,null,null,1,"label",[["for","search"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["Nombre del archivo:"])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](14,0,null,null,11,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](16,0,null,null,5,"input",[["class","form-control"],["id","search"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==_["ɵnov"](l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==_["ɵnov"](l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==_["ɵnov"](l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==_["ɵnov"](l,17)._compositionEnd(e.target.value)&&u}if("ngModelChange"===n){u=!1!==(t.filtroNombre=e)&&u}return u},null,null)),_["ɵdid"](17,16384,null,0,V.DefaultValueAccessor,[_.Renderer2,_.ElementRef,[2,V.COMPOSITION_BUFFER_MODE]],null,null),_["ɵprd"](1024,null,V.NG_VALUE_ACCESSOR,function(l){return[l]},[V.DefaultValueAccessor]),_["ɵdid"](19,671744,null,0,V.NgModel,[[8,null],[8,null],[8,null],[2,V.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),_["ɵprd"](2048,null,V.NgControl,null,[V.NgModel]),_["ɵdid"](21,16384,null,0,V.NgControlStatus,[V.NgControl],null,null),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](23,0,null,null,1,"span",[["class","input-group-addon fa fa-search"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵted"](-1,null,["\n\n "])),(l()(),_["ɵted"](-1,null,["\n \n "])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](29,0,null,null,87,"div",[["class","row"],["style","margin-top: 20px"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](31,0,null,null,24,"div",[["class","col-lg-5"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](33,0,null,null,21,"ngb-tabset",[],null,null,null,B.a,B.b)),_["ɵdid"](34,2146304,null,1,G.a,[z.a],{destroyOnHide:[0,"destroyOnHide"]},null),_["ɵqud"](603979776,2,{tabs:1}),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](37,0,null,null,7,"ngb-tab",[["title","Mis archivos"]],null,null,null,null,null)),_["ɵdid"](38,16384,[[2,4]],2,G.b,[],{title:[0,"title"]},null),_["ɵqud"](335544320,3,{contentTpl:0}),_["ɵqud"](335544320,4,{titleTpl:0}),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵand"](0,null,null,1,null,a)),_["ɵdid"](43,16384,[[3,4]],0,G.c,[_.TemplateRef],null,null),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](46,0,null,null,7,"ngb-tab",[["title","Compartidos"]],null,null,null,null,null)),_["ɵdid"](47,16384,[[2,4]],2,G.b,[],{title:[0,"title"]},null),_["ɵqud"](335544320,5,{contentTpl:0}),_["ɵqud"](335544320,6,{titleTpl:0}),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵand"](0,null,null,1,null,f)),_["ɵdid"](52,16384,[[5,4]],0,G.c,[_.TemplateRef],null,null),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵted"](-1,null,[" \n "])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](57,0,null,null,58,"div",[["class","col-lg-7"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](59,0,null,null,55,"div",[["class","card"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](61,0,null,null,46,"div",[["class","card-header"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](63,16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary pull-left mr-2"],["data-placement","bottom"],["ngbPopover","Cargar/Editar"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.cargarArchivo()&&u}return u},null,null)),_["ɵdid"](64,212992,null,0,D.a,[_.ElementRef,_.Renderer2,_.Injector,_.ComponentFactoryResolver,_.ViewContainerRef,O.a,_.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](66,0,null,null,0,"i",[["class","fa fa-pencil"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](69,16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary pull-left mr-2"],["data-placement","bottom"],["ngbPopover","Eliminar"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.mostrarEliminarDialogo()&&u}return u},null,null)),_["ɵdid"](70,212992,null,0,D.a,[_.ElementRef,_.Renderer2,_.Injector,_.ComponentFactoryResolver,_.ViewContainerRef,O.a,_.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(l()(),_["ɵted"](-1,null,[" \n "])),(l()(),_["ɵeld"](72,0,null,null,0,"i",[["class","fa fa-remove"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,[" \n "])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵeld"](75,16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary pull-left mr-2"],["data-placement","bottom"],["ngbPopover","Mover Archivo"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.seleccionarDirectorioAMover()&&u}return u},null,null)),_["ɵdid"](76,212992,null,0,D.a,[_.ElementRef,_.Renderer2,_.Injector,_.ComponentFactoryResolver,_.ViewContainerRef,O.a,_.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(l()(),_["ɵted"](-1,null,[" \n "])),(l()(),_["ɵeld"](78,0,null,null,0,"i",[["class","fa fa-cut"]],null,null,null,null,null)),(l()(),_["ɵted"](-1,null,[" \n "])),(l()(),_["ɵted"](-1,null,["\n\n "])),(l()(),_["ɵand"](16777216,null,null,1,null,p)),_["ɵdid"](82,16384,null,0,T.NgIf,[_.ViewContainerRef,_.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),_["ɵted"](-1,null,["\n\n "])),(l()(),_["ɵand"](16777216,null,null,1,null,v)),_["ɵdid"](85,16384,null,0,T.NgIf,[_.ViewContainerRef,_.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),_["ɵted"](-1,null,["\n\n "])),(l()(),_["ɵand"](16777216,null,null,1,null,h)),_["ɵdid"](88,16384,null,0,T.NgIf,[_.ViewContainerRef,_.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),_["ɵted"](-1,null,["\n \n "])),(l()(),_["ɵand"](16777216,null,null,1,null,m)),_["ɵdid"](91,16384,null,0,T.NgIf,[_.ViewContainerRef,_.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),_["ɵted"](-1,null,["\n\n "])),(l()(),_["ɵand"](16777216,null,null,1,null,g)),_["ɵdid"](94,16384,null,0,T.NgIf,[_.ViewContainerRef,_.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),_["ɵted"](-1,null,["\n\n "])),(l()(),_["ɵand"](16777216,null,null,1,null,b)),_["ɵdid"](97,16384,null,0,T.NgIf,[_.ViewContainerRef,_.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),_["ɵted"](-1,null,["\n\n "])),(l()(),_["ɵand"](16777216,null,null,1,null,C)),_["ɵdid"](100,16384,null,0,T.NgIf,[_.ViewContainerRef,_.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵand"](16777216,null,null,1,null,y)),_["ɵdid"](103,16384,null,0,T.NgIf,[_.ViewContainerRef,_.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵand"](16777216,null,null,1,null,R)),_["ɵdid"](106,16384,null,0,T.NgIf,[_.ViewContainerRef,_.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵand"](16777216,null,null,1,null,w)),_["ɵdid"](110,16384,null,0,T.NgIf,[_.ViewContainerRef,_.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵand"](16777216,null,null,1,null,x)),_["ɵdid"](113,16384,null,0,T.NgIf,[_.ViewContainerRef,_.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),_["ɵted"](-1,null,["\n "])),(l()(),_["ɵted"](-1,null,["\n\n "])),(l()(),_["ɵted"](-1,null,["\n\n"])),(l()(),_["ɵted"](-1,null,["\n"])),(l()(),_["ɵted"](-1,null,["\n\n\n\n\n"]))],function(l,n){var e=n.component;l(n,3,0),l(n,19,0,e.filtroNombre);l(n,34,0,!1);l(n,38,0,"Mis archivos");l(n,47,0,"Compartidos");l(n,64,0,"Cargar/Editar","bottom","mouseenter:mouseleave");l(n,70,0,"Eliminar","bottom","mouseenter:mouseleave");l(n,76,0,"Mover Archivo","bottom","mouseenter:mouseleave"),l(n,82,0,e.esAlumno&&e.archivoSeleccionado&&e.hayArchivoOriginal()),l(n,85,0,e.esAlumno&&e.archivoSeleccionado&&e.hayArchivoMio()),l(n,88,0,e.esAlumno&&e.archivoSeleccionado&&!e.archivoSeleccionado.directorio&&-1!=e.archivoSeleccionado.archivoOrigenId&&("Edicion"==e.archivoSeleccionado.estado||"Devuelto"==e.archivoSeleccionado.estado)),l(n,91,0,e.esAlumno&&"Entregado"==(null==e.archivoSeleccionado?null:e.archivoSeleccionado.estado)),l(n,94,0,e.esAlumno&&"Corregido"==(null==e.archivoSeleccionado?null:e.archivoSeleccionado.estado)),l(n,97,0,!e.esAlumno),l(n,100,0,e.archivoSeleccionado),l(n,103,0,!e.archivoSeleccionado),l(n,106,0,e.archivoSeleccionado),l(n,110,0,!e.archivoSeleccionado),l(n,113,0,e.archivoSeleccionado)},function(l,n){l(n,16,0,_["ɵnov"](n,21).ngClassUntouched,_["ɵnov"](n,21).ngClassTouched,_["ɵnov"](n,21).ngClassPristine,_["ɵnov"](n,21).ngClassDirty,_["ɵnov"](n,21).ngClassValid,_["ɵnov"](n,21).ngClassInvalid,_["ɵnov"](n,21).ngClassPending)})}function N(l){return _["ɵvid"](0,[(l()(),_["ɵeld"](0,0,null,null,1,"archivos",[],null,null,null,k,H)),_["ɵdid"](1,114688,null,0,q.a,[W.c,U.a,j.a,$.a,K.a,Z.DialogService],null,null)],function(l,n){l(n,1,0)},null)}var _=e("/oeL"),D=e("mQQt"),O=e("7zUS"),T=e("qbdv"),E=e("E1aS"),M=e("KPCT"),F=e("nfVm"),V=(e.n(F),e("bm2B")),P=e("hAtc"),L=e("+iRM"),U=e("uiTn"),q=e("WqMM"),B=e("Vnhz"),G=e("Hjei"),z=e("+E40"),W=e("BkNc"),j=e("6akk"),$=e("dh/p"),K=e("h7Ol"),Z=e("V672");e.n(Z);e.d(n,"a",function(){return J});var X=[],H=_["ɵcrt"]({encapsulation:2,styles:X,data:{}}),J=_["ɵccf"]("archivos",q.a,N,{},{},[])},WqMM:function(l,n,e){"use strict";var u=e("6akk"),t=e("dh/p"),o=e("h7Ol"),i=e("uiTn"),r=e("BkNc"),a=e("wSRM"),c=e("v78T"),d=e("7G2K"),s=e("mnGX"),f=e("p2gU"),p=(e.n(f),e("KUJ0")),v=e("LxsK"),h=e("sc8R"),m=(e.n(h),e("WC4F")),g=(e.n(m),e("lDY9")),b=(e.n(g),e("99fb")),C=(e.n(b),e("H6+I"));e.n(C);e.d(n,"a",function(){return y});var y=function(){function l(l,n,e,u,t,o){this.router=l,this.notifService=n,this.authService=e,this.haskellService=u,this.sessionService=t,this.dialogService=o,this.archivos=[],this.archivosCompartidos=[],this.archivosCompartidosSinDuplicados=[],this.loading=!1,this.loadingCompartidos=!1,this.filtroNombre="",this.idRecorridos=[],this.preview="",this.configCodeMirror=JSON.parse(sessionStorage.getItem("codeMirrorConfig")),this.setSoloLectura=function(l){var n=this;this.archivoSeleccionado.editable=!this.archivoSeleccionado.editable,this.haskellService.editarArchivo(this.archivoSeleccionado.id,this.archivoSeleccionado).subscribe(function(l){console.log("Archivo modificado")},function(l){n.notifService.error(l)})},this.seleccionarArchivo=function(l){l.directorio?this.directorioActual=l:(this.sessionService.setDirectorioActual(this.directorioActual),this.sessionService.cargarDependencias(l)),this.archivoSeleccionado=l,this.preview=l.contenido,this.ordenarArchivos()},this.esAlumno="alumno"===JSON.parse(sessionStorage.getItem("currentUser")).tipo,this.directorioActual={},this.directorioActual.archivos=[],this.configCodeMirror.readOnly=!0}return l.prototype.ngOnInit=function(){var l=this;this.sortFunction="tipo";var n=this.authService.getUser().cedula;this.loading=!0,this.haskellService.getArchivos(n).subscribe(function(n){l.archivos=n,l.loading=!1,l.buildTreeFromList()},function(l){return console.log(l)}),this.esAlumno&&(this.loadingCompartidos=!0,this.haskellService.getArchivosCompartidosAlumno(n).subscribe(function(n){l.archivosCompartidos=n,l.archivosCompartidosSinDuplicados=n.filter(function(l){return-1!=l.archivoOrigenId||!n.some(function(n){return n.archivoOrigenId==l.id})}),l.loadingCompartidos=!1},function(l){return console.log(l)}))},l.prototype.ordenarMixto=function(){this.archivosCompartidosSinDuplicados=this.archivosCompartidosSinDuplicados.sort(this.ordenarTipo),this.directorioActual.archivos=this.directorioActual.archivos.sort(this.ordenarTipo);var l=this.directorioActual.archivos,n=this.archivosCompartidosSinDuplicados,e=l.filter(function(l){return l.directorio}),u=l.filter(function(l){return!l.directorio}),t=n.filter(function(l){return l.directorio}),o=n.filter(function(l){return!l.directorio});u=u.sort(this.ordenarAlph),e=e.sort(this.ordenarAlph),o=o.sort(this.ordenarAlph),t=t.sort(this.ordenarAlph);for(var i in u)e.push(u[i]);for(var i in o)t.push(o[i]);this.directorioActual.archivos=e,this.archivosCompartidosSinDuplicados=t},l.prototype.ordenarAlph=function(l,n){return l.nombre.toLowerCase()<n.nombre.toLowerCase()?-1:l.nombre.toLowerCase()>n.nombre.toLowerCase()?1:0},l.prototype.ordenarFecha=function(l,n){return l.fechaCreacion<n.fechaCreacion?-1:l.fechaCreacion>n.fechaCreacion?1:0},l.prototype.ordenarTipo=function(l,n){return l.directorio&&!n.directorio?-1:!l.directorio&&n.directorio?1:0},l.prototype.ordenarPorTipo=function(){this.sortFunction="tipo",this.ordenarArchivos()},l.prototype.ordenarPorFecha=function(){this.sortFunction="fecha",this.ordenarArchivos()},l.prototype.ordenarFechaCreacion=function(){this.archivosCompartidosSinDuplicados=this.archivosCompartidosSinDuplicados.sort(this.ordenarFecha),this.directorioActual.archivos=this.directorioActual.archivos.sort(this.ordenarFecha)},l.prototype.ordenarArchivos=function(){var l=this.sortFunction;"tipo"===l?this.ordenarMixto():"fecha"===l&&this.ordenarFechaCreacion()},l.prototype.mostrarEliminarDialogo=function(){var l=this;if(this.archivoSeleccionado)if(this.archivos.some(function(n){return n.id==l.archivoSeleccionado.id})){var n=this;this.dialogService.addDialog(s.a,{nombreArchivo:n.archivoSeleccionado.nombre,esDirectorio:n.archivoSeleccionado.directorio,parentContext:n}).subscribe(function(l){})}else this.notifService.warning("Sin permisos para eliminar el archivo");else this.notifService.warning("Archivo no seleccionado")},l.prototype.seleccionarDirectorioAMover=function(){var l=this;if(this.archivoSeleccionado)if(this.archivos.some(function(n){return n.id==l.archivoSeleccionado.id})){var n=this;this.dialogService.addDialog(v.a,{archivos:n.tree,directorioActual:n.directorioActual,nombre:n.archivoSeleccionado.nombre,directorio:n.archivoSeleccionado.directorio,parent:n}).subscribe(function(l){})}else this.notifService.warning("Sin permisos para mover el archivo");else this.notifService.warning("Archivo no seleccionado")},l.prototype.recargarArchivos=function(l){var n=this,e=this.authService.getUser().cedula;this.loading=!0,this.haskellService.getArchivos(e).subscribe(function(e){n.archivos=e,n.loading=!1,n.buildTreeFromList_setearDirectorioActual(l)},function(l){return console.log(l)})},l.prototype.navBack=function(){var l=this;if(-1!==this.directorioActual.padreId){var n=this.archivos.filter(function(n){return n.id===l.directorioActual.padreId})[0];this.directorioActual=n}},l.prototype.cargarArchivo=function(){var l=this;if(this.archivoSeleccionado)if(this.archivoSeleccionado.directorio)this.notifService.warning("No se seleccionó ningún archivo",!1);else if(this.archivosCompartidos.some(function(n){return n.id==l.archivoSeleccionado.id})&&this.archivoSeleccionado.editable&&-1==this.archivoSeleccionado.archivoOrigenId)if(this.hayArchivoMio())this.seleccionarArchivoMio(),this.sessionService.setArchivo(this.archivoSeleccionado),this.router.navigate(["/matefun"]);else{var n=this.authService.getUser().cedula;this.haskellService.getCopiaArchivoCompartidoGrupo(n,this.archivoSeleccionado.id).subscribe(function(n){l.sessionService.setArchivo(n),l.router.navigate(["/matefun"])},function(l){console.log(l)})}else this.sessionService.setArchivo(this.archivoSeleccionado),this.router.navigate(["/matefun"]);else this.notifService.warning("Archivo no seleccionado")},l.prototype.confirmarEntrega=function(){var l=this;this.dialogService.addDialog(p.a,{title:"Entregar archivo",message:'¿Desea entregar el archivo "'+this.archivoSeleccionado.nombre+'"?\nNo se podrá editar luego de la entrega.',confirmText:"Entregar",cancelText:"Cancelar"}).subscribe(function(n){n&&l.entregarArchivo()})},l.prototype.entregarArchivo=function(){var l=this;this.archivoSeleccionado.estado="Entregado",this.haskellService.editarArchivo(this.archivoSeleccionado.id,this.archivoSeleccionado).subscribe(function(n){l.archivoSeleccionado=n},function(n){l.notifService.error(n)})},l.prototype.buildTreeFromList_setearDirectorioActual=function(l){var n=this.archivos;this.sessionService.setArchivosList(n);var e;for(var u in n){var t=n[u];-1===t.padreId&&(e=t)}this.idRecorridos=[e.id];var o=n.filter(function(l){return l.id!==e.id}),i=this.archivos.filter(function(n){return n.id===l})[0],r=this.buildTree(o,e);this.tree=r,this.directorioActual=i,this.ordenarArchivos(),this.sessionService.setArchivosTree(r)},l.prototype.buildTreeFromList=function(){var l=this.archivos;this.sessionService.setArchivosList(l);var n;for(var e in l){var u=l[e];-1===u.padreId&&(n=u)}this.idRecorridos=[n.id];var t=l.filter(function(l){return l.id!==n.id}),o=this.buildTree(t,n);this.tree=o,this.directorioActual=o,this.ordenarArchivos(),this.sessionService.setArchivosTree(o)},l.prototype.buildTree=function(l,n){n.archivos=this.getArchivos(n.id,l);for(var e in n.archivos)if(n.archivos[e].directorio&&void 0===this.idRecorridos[n.archivos[e].id]){var u=n.archivos[e].id,t=l.filter(function(l){return l.id!==u});n.archivos[e]=this.buildTree(t,n.archivos[e])}return n},l.prototype.getArchivos=function(l,n){return n.filter(function(n){return n.padreId===l})},l.prototype.cantArchivos=function(l,n){return n.filter(function(l){l.padreId}).length},l.prototype.elem=function(l,n){return n!==[]&&n.filter(function(l){l.id}).length>0},l.prototype.mkdir=function(){var l=this;this.dialogService.addDialog(a.a,{nombre:"",descripcion:"",esDirectorio:!0,parentContext:l}).subscribe(function(l){})},l.prototype.mkFile=function(){var l=this;this.dialogService.addDialog(a.a,{nombre:"",descripcion:"",esDirectorio:!1,parentContext:l}).subscribe(function(l){})},l.prototype.compartirArchivo=function(){var l=this;if(this.archivoSeleccionado){var n=this.sessionService.getGrupos();void 0==n?this.haskellService.getGrupos(this.authService.getUser().cedula).subscribe(function(e){l.sessionService.setGrupos(n),l.dialogService.addDialog(d.a,{grupos:e,archivo:l.archivoSeleccionado,parent:l}).subscribe(function(n){n&&l.notifService.success("confirmado?")})},function(l){}):this.dialogService.addDialog(d.a,{grupos:n,archivo:this.archivoSeleccionado,parent:this}).subscribe(function(n){n&&l.notifService.success("confirmado?")})}else this.notifService.warning("Archivo no seleccionado")},l.prototype.hayArchivoOriginal=function(){var l=this;return!this.archivoSeleccionado.directorio&&this.archivosCompartidos.some(function(n){return n.id==l.archivoSeleccionado.archivoOrigenId})},l.prototype.seleccionarArchivoOriginal=function(){var l=this;this.archivoSeleccionado=this.archivosCompartidos.find(function(n){return n.id==l.archivoSeleccionado.archivoOrigenId}),this.preview=this.archivoSeleccionado.contenido},l.prototype.hayArchivoMio=function(){var l=this;return!this.archivoSeleccionado.directorio&&this.archivosCompartidos.some(function(n){return n.archivoOrigenId==l.archivoSeleccionado.id})},l.prototype.seleccionarArchivoMio=function(){var l=this;this.archivoSeleccionado=this.archivosCompartidos.find(function(n){return n.archivoOrigenId==l.archivoSeleccionado.id}),this.preview=this.archivoSeleccionado.contenido},l.prototype.verCalificacion=function(){var l=this;this.dialogService.addDialog(c.a,{archivo:this.archivoSeleccionado}).subscribe(function(n){n&&l.notifService.success("confirmado?")})},l.ctorParameters=function(){return[{type:r.c},{type:i.a},{type:u.a},{type:t.a},{type:o.a},{type:f.DialogService}]},l}()},X92L:function(l,n,e){"use strict";function u(l){return o["ɵvid"](0,[o["ɵpid"](0,i.DatePipe,[o.LOCALE_ID]),(l()(),o["ɵeld"](1,0,null,null,42,"div",[["class","modal-dialog"],["style","margin-top:100px;"]],null,null,null,null,null)),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵeld"](3,0,null,null,39,"div",[["class","modal-content"]],null,null,null,null,null)),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵeld"](5,0,null,null,7,"div",[["class","modal-header"]],null,null,null,null,null)),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵeld"](7,0,null,null,1,"h6",[["class","modal-title pull-lefth"]],null,null,null,null,null)),(l()(),o["ɵted"](8,null,['Calificación "','":'])),(l()(),o["ɵted"](-1,null,[" \n "])),(l()(),o["ɵeld"](10,0,null,null,1,"button",[["class","close"],["style","margin-rigth:8px;"],["type","button"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.close()&&u}return u},null,null)),(l()(),o["ɵted"](-1,null,["×"])),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵeld"](14,0,null,null,21,"div",[["class","modal-body"]],null,null,null,null,null)),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵeld"](16,0,null,null,18,"div",[],null,null,null,null,null)),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵeld"](18,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),o["ɵeld"](19,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),o["ɵted"](-1,null,["Fecha: "])),(l()(),o["ɵted"](21,null,[" ",""])),o["ɵppd"](22,1),(l()(),o["ɵeld"](23,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵeld"](25,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),o["ɵeld"](26,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),o["ɵted"](-1,null,["Nota (1-100): "])),(l()(),o["ɵted"](28,null,[" ",""])),(l()(),o["ɵeld"](29,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵeld"](31,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),o["ɵeld"](32,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),o["ɵted"](-1,null,["Detalle: "])),(l()(),o["ɵted"](34,null,[" ","\n "])),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵeld"](37,0,null,null,4,"div",[["class","modal-footer"]],null,null,null,null,null)),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵeld"](39,0,null,null,1,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.close()&&u}return u},null,null)),(l()(),o["ɵted"](-1,null,["Cerrar"])),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵted"](-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,8,0,e.archivo.nombre),l(n,21,0,o["ɵunv"](n,21,0,l(n,22,0,o["ɵnov"](n,0),e.archivo.evaluacion.fecha))),l(n,28,0,e.archivo.evaluacion.nota),l(n,34,0,e.archivo.evaluacion.descripcion)})}function t(l){return o["ɵvid"](0,[(l()(),o["ɵeld"](0,0,null,null,1,"confirm",[],null,null,null,u,d)),o["ɵdid"](1,180224,null,0,r.a,[a.DialogService],null,null)],null,null)}var o=e("/oeL"),i=e("qbdv"),r=e("v78T"),a=e("V672");e.n(a);e.d(n,"a",function(){return s});var c=[],d=o["ɵcrt"]({encapsulation:2,styles:c,data:{}}),s=o["ɵccf"]("confirm",r.a,t,{},{},[])},XFm3:function(l,n,e){"use strict";var u=e("WqMM");e.d(n,"a",function(){return t});var t=(u.a,function(){function l(){}return l}())},awmr:function(l,n,e){"use strict";e.d(n,"a",function(){return u});var u=function(){function l(){}return l}()},"cLu/":function(l,n,e){"use strict";function u(l){return o["ɵvid"](0,[(l()(),o["ɵeld"](0,0,null,null,28,"div",[["class","modal-dialog"],["style","margin-top:100px;"]],null,null,null,null,null)),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵeld"](2,0,null,null,25,"div",[["class","modal-content"]],null,null,null,null,null)),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵeld"](4,0,null,null,7,"div",[["class","modal-header"]],null,null,null,null,null)),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵeld"](6,0,null,null,1,"h4",[["class","modal-title"]],null,null,null,null,null)),(l()(),o["ɵted"](7,null,["",""])),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵeld"](9,0,null,null,1,"button",[["class","close"],["type","button"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.close()&&u}return u},null,null)),(l()(),o["ɵted"](-1,null,["×"])),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵeld"](13,0,null,null,4,"div",[["class","modal-body"]],null,null,null,null,null)),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵeld"](15,0,null,null,1,"p",[["style","white-space: pre;"]],null,null,null,null,null)),(l()(),o["ɵted"](16,null,["",""])),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵeld"](19,0,null,null,7,"div",[["class","modal-footer"]],null,null,null,null,null)),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵeld"](21,0,null,null,1,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.confirm()&&u}return u},null,null)),(l()(),o["ɵted"](22,null,["",""])),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵeld"](24,0,null,null,1,"button",[["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.close()&&u}return u},null,null)),(l()(),o["ɵted"](25,null,["",""])),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵted"](-1,null,["\n "])),(l()(),o["ɵted"](-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,7,0,e.title||"Confirm"),l(n,16,0,e.message||""),l(n,22,0,e.confirmText||"Confirmar"),l(n,25,0,e.cancelText||"Cancelar")})}function t(l){return o["ɵvid"](0,[(l()(),o["ɵeld"](0,0,null,null,1,"confirm",[],null,null,null,u,c)),o["ɵdid"](1,180224,null,0,i.a,[r.DialogService],null,null)],null,null)}var o=e("/oeL"),i=e("KUJ0"),r=e("V672");e.n(r);e.d(n,"a",function(){return d});var a=[],c=o["ɵcrt"]({encapsulation:2,styles:a,data:{}}),d=o["ɵccf"]("confirm",i.a,t,{},{},[])},lXCy:function(l,n,e){"use strict";function u(l){return a["ɵvid"](0,[(l()(),a["ɵeld"](0,0,null,null,1,"h6",[["class","modal-title"]],null,null,null,null,null)),(l()(),a["ɵted"](-1,null,["Nueva carpeta"]))],null,null)}function t(l){return a["ɵvid"](0,[(l()(),a["ɵeld"](0,0,null,null,1,"h6",[["class","modal-title"]],null,null,null,null,null)),(l()(),a["ɵted"](-1,null,["Nuevo archivo"]))],null,null)}function o(l){return a["ɵvid"](0,[(l()(),a["ɵeld"](0,0,null,null,12,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵeld"](2,0,null,null,1,"label",[["class","form-control-label"],["for","message-text"]],null,null,null,null,null)),(l()(),a["ɵted"](-1,null,["Descripción:"])),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵeld"](5,0,null,null,6,"textarea",[["class","form-control"],["id","message-text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==a["ɵnov"](l,6)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==a["ɵnov"](l,6).onTouched()&&u}if("compositionstart"===n){u=!1!==a["ɵnov"](l,6)._compositionStart()&&u}if("compositionend"===n){u=!1!==a["ɵnov"](l,6)._compositionEnd(e.target.value)&&u}if("ngModelChange"===n){u=!1!==(t.descripcion=e)&&u}return u},null,null)),a["ɵdid"](6,16384,null,0,c.DefaultValueAccessor,[a.Renderer2,a.ElementRef,[2,c.COMPOSITION_BUFFER_MODE]],null,null),a["ɵprd"](1024,null,c.NG_VALUE_ACCESSOR,function(l){return[l]},[c.DefaultValueAccessor]),a["ɵdid"](8,671744,null,0,c.NgModel,[[2,c.ControlContainer],[8,null],[8,null],[2,c.NG_VALUE_ACCESSOR]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),a["ɵpod"](9,{standalone:0}),a["ɵprd"](2048,null,c.NgControl,null,[c.NgModel]),a["ɵdid"](11,16384,null,0,c.NgControlStatus,[c.NgControl],null,null),(l()(),a["ɵted"](-1,null,["\n "]))],function(l,n){l(n,8,0,n.component.descripcion,l(n,9,0,!0))},function(l,n){l(n,5,0,a["ɵnov"](n,11).ngClassUntouched,a["ɵnov"](n,11).ngClassTouched,a["ɵnov"](n,11).ngClassPristine,a["ɵnov"](n,11).ngClassDirty,a["ɵnov"](n,11).ngClassValid,a["ɵnov"](n,11).ngClassInvalid,a["ɵnov"](n,11).ngClassPending)})}function i(l){return a["ɵvid"](0,[(l()(),a["ɵeld"](0,0,null,null,49,"div",[["class","modal-dialog"],["style","margin-top:100px;"]],null,null,null,null,null)),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵeld"](2,0,null,null,46,"div",[["class","modal-content"]],null,null,null,null,null)),(l()(),a["ɵted"](-1,null,["\n\n "])),(l()(),a["ɵeld"](4,0,null,null,10,"div",[["class","modal-header"]],null,null,null,null,null)),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵand"](16777216,null,null,1,null,u)),a["ɵdid"](7,16384,null,0,d.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),a["ɵted"](-1,null,[" \n "])),(l()(),a["ɵand"](16777216,null,null,1,null,t)),a["ɵdid"](10,16384,null,0,d.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),a["ɵted"](-1,null,[" \n "])),(l()(),a["ɵeld"](12,0,null,null,1,"button",[["class","close"],["style","margin-left:8px;"],["type","button"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.close()&&u}return u},null,null)),(l()(),a["ɵted"](-1,null,["×"])),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵted"](-1,null,["\n \n "])),(l()(),a["ɵeld"](16,0,null,null,25,"div",[["class","modal-body"]],null,null,null,null,null)),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵeld"](18,0,null,null,22,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==a["ɵnov"](l,20).onSubmit(e)&&u}if("reset"===n){u=!1!==a["ɵnov"](l,20).onReset()&&u}return u},null,null)),a["ɵdid"](19,16384,null,0,c["ɵbf"],[],null,null),a["ɵdid"](20,16384,null,0,c.NgForm,[[8,null],[8,null]],null,null),a["ɵprd"](2048,null,c.ControlContainer,null,[c.NgForm]),a["ɵdid"](22,16384,null,0,c.NgControlStatusGroup,[c.ControlContainer],null,null),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵeld"](24,0,null,null,12,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵeld"](26,0,null,null,1,"label",[["class","form-control-label"],["for","recipient-name"]],null,null,null,null,null)),(l()(),a["ɵted"](-1,null,["Nombre:"])),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵeld"](29,0,null,null,6,"input",[["class","form-control"],["id","recipient-name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==a["ɵnov"](l,30)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==a["ɵnov"](l,30).onTouched()&&u}if("compositionstart"===n){u=!1!==a["ɵnov"](l,30)._compositionStart()&&u}if("compositionend"===n){u=!1!==a["ɵnov"](l,30)._compositionEnd(e.target.value)&&u}if("ngModelChange"===n){u=!1!==(t.nombre=e)&&u}return u},null,null)),a["ɵdid"](30,16384,null,0,c.DefaultValueAccessor,[a.Renderer2,a.ElementRef,[2,c.COMPOSITION_BUFFER_MODE]],null,null),a["ɵprd"](1024,null,c.NG_VALUE_ACCESSOR,function(l){return[l]},[c.DefaultValueAccessor]),a["ɵdid"](32,671744,null,0,c.NgModel,[[2,c.ControlContainer],[8,null],[8,null],[2,c.NG_VALUE_ACCESSOR]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),a["ɵpod"](33,{standalone:0}),a["ɵprd"](2048,null,c.NgControl,null,[c.NgModel]),a["ɵdid"](35,16384,null,0,c.NgControlStatus,[c.NgControl],null,null),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵand"](16777216,null,null,1,null,o)),a["ɵdid"](39,16384,null,0,d.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵted"](-1,null,["\n\n "])),(l()(),a["ɵeld"](43,0,null,null,4,"div",[["class","modal-footer"]],null,null,null,null,null)),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵeld"](45,0,null,null,1,"button",[["class","btn btn-success"],["type","button"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.confirm()&&u}return u},null,null)),(l()(),a["ɵted"](-1,null,["Crear"])),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵted"](-1,null,["\n\n "])),(l()(),a["ɵted"](-1,null,["\n "]))],function(l,n){var e=n.component;l(n,7,0,e.esDirectorio),l(n,10,0,!e.esDirectorio),l(n,32,0,e.nombre,l(n,33,0,!0)),l(n,39,0,e.esDirectorio)},function(l,n){l(n,18,0,a["ɵnov"](n,22).ngClassUntouched,a["ɵnov"](n,22).ngClassTouched,a["ɵnov"](n,22).ngClassPristine,a["ɵnov"](n,22).ngClassDirty,a["ɵnov"](n,22).ngClassValid,a["ɵnov"](n,22).ngClassInvalid,a["ɵnov"](n,22).ngClassPending),l(n,29,0,a["ɵnov"](n,35).ngClassUntouched,a["ɵnov"](n,35).ngClassTouched,a["ɵnov"](n,35).ngClassPristine,a["ɵnov"](n,35).ngClassDirty,a["ɵnov"](n,35).ngClassValid,a["ɵnov"](n,35).ngClassInvalid,a["ɵnov"](n,35).ngClassPending)})}function r(l){return a["ɵvid"](0,[(l()(),a["ɵeld"](0,0,null,null,1,"confirm",[],null,null,null,i,v)),a["ɵdid"](1,180224,null,0,s.a,[f.DialogService],null,null)],null,null)}var a=e("/oeL"),c=e("bm2B"),d=e("qbdv"),s=e("wSRM"),f=e("V672");e.n(f);e.d(n,"a",function(){return h});var p=[],v=a["ɵcrt"]({encapsulation:2,styles:p,data:{}}),h=a["ɵccf"]("confirm",s.a,r,{},{},[])},mnGX:function(l,n,e){"use strict";var u=e("p2gU");e.n(u);e.d(n,"a",function(){return o});var t=this&&this.__extends||function(){var l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,n){l.__proto__=n}||function(l,n){for(var e in n)n.hasOwnProperty(e)&&(l[e]=n[e])};return function(n,e){function u(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}(),o=function(l){function n(n){return l.call(this,n)||this}return t(n,l),n.prototype.confirmarEliminar=function(){var l=this,n=this.parentContext,e=this.parentContext.archivoSeleccionado.directorio;this.parentContext.archivoSeleccionado.eliminado=!0,e&&delete this.parentContext.archivoSeleccionado.archivos,this.parentContext.haskellService.eliminarArchivo(this.parentContext.archivoSeleccionado.id).subscribe(function(l){if(console.log("Archivo eliminado"),e)var u=n.directorioActual.padreId;else var u=n.directorioActual.id;n.recargarArchivos(u),n.archivoSeleccionado=null},function(n){l.parentContext.notifService.error(n)}),this.close()},n.ctorParameters=function(){return[{type:u.DialogService}]},n}(u.DialogComponent)},sBhe:function(l,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var u=e("/oeL"),t=e("awmr"),o=e("PlGn"),i=e("ufkV"),r=e("xDpJ"),a=e("CVNG"),c=e("IkMs"),d=e("DlWC"),s=e("m0eP"),f=e("MsHi"),p=e("ClIn"),v=e("CU81"),h=e("lXCy"),m=e("X92L"),g=e("cLu/"),b=e("BWqN"),C=e("ChwX"),y=e("vbZp"),S=e("qbdv"),I=e("bm2B"),A=e("V672"),R=(e.n(A),e("dN2u")),w=e("KRwK"),x=e("BkNc"),k=e("XFm3"),N=e("sdK6"),_=(e.n(N),e("Zz+K")),D=e("wnyu"),O=e("EoP3"),T=e("2waW"),E=e("PY9B"),M=e("IBeK"),F=e("g5gQ"),V=e("xBEz"),P=e("PuIS"),L=e("U0Tu"),U=e("3rU7"),q=e("Cb36"),B=e("5h8W"),G=e("6ade"),z=e("4HaF"),W=e("DaIH"),j=e("0WLp"),$=e("0vel"),K=(e.n($),e("DYHI")),Z=e("WqMM");e.d(n,"ArchivosModuleNgFactory",function(){return X});var X=u["ɵcmf"](t.a,[],function(l){return u["ɵmod"]([u["ɵmpd"](512,u.ComponentFactoryResolver,u["ɵCodegenComponentFactoryResolver"],[[8,[o.a,i.a,r.a,a.a,c.a,d.a,s.a,f.a,p.a,v.a,h.a,m.a,g.a,b.a,C.a,y.a]],[3,u.ComponentFactoryResolver],u.NgModuleRef]),u["ɵmpd"](4608,S.NgLocalization,S.NgLocaleLocalization,[u.LOCALE_ID]),u["ɵmpd"](4608,I["ɵi"],I["ɵi"],[]),u["ɵmpd"](4608,A.DialogService,A.DialogService,[u.ComponentFactoryResolver,u.ApplicationRef,u.Injector,[2,A.DialogServiceConfig]]),u["ɵmpd"](4608,R.a,R.a,[u.ComponentFactoryResolver,u.Injector,w.a]),u["ɵmpd"](512,S.CommonModule,S.CommonModule,[]),u["ɵmpd"](512,x.x,x.x,[[2,x.k],[2,x.c]]),u["ɵmpd"](512,k.a,k.a,[]),u["ɵmpd"](512,I["ɵba"],I["ɵba"],[]),u["ɵmpd"](512,I.FormsModule,I.FormsModule,[]),u["ɵmpd"](512,N.BootstrapModalModule,N.BootstrapModalModule,[]),u["ɵmpd"](512,_.a,_.a,[]),u["ɵmpd"](512,D.a,D.a,[]),u["ɵmpd"](512,O.a,O.a,[]),u["ɵmpd"](512,T.a,T.a,[]),u["ɵmpd"](512,E.a,E.a,[]),u["ɵmpd"](512,M.a,M.a,[]),u["ɵmpd"](512,F.a,F.a,[]),u["ɵmpd"](512,V.a,V.a,[]),u["ɵmpd"](512,P.a,P.a,[]),u["ɵmpd"](512,L.a,L.a,[]),u["ɵmpd"](512,U.a,U.a,[]),u["ɵmpd"](512,q.a,q.a,[]),u["ɵmpd"](512,B.a,B.a,[]),u["ɵmpd"](512,G.a,G.a,[]),u["ɵmpd"](512,z.a,z.a,[]),u["ɵmpd"](512,W.a,W.a,[]),u["ɵmpd"](512,j.b,j.b,[]),u["ɵmpd"](512,$.CodemirrorModule,$.CodemirrorModule,[]),u["ɵmpd"](512,K.a,K.a,[]),u["ɵmpd"](512,t.a,t.a,[]),u["ɵmpd"](1024,x.t,function(){return[[{path:"",component:Z.a}]]},[])])})},sc8R:function(l,n,e){!function(l){l(e("oiK7"))}(function(l){"use strict";l.defineMode("haskell",function(l,n){function e(l,n,e){return n(e),e(l,n)}function u(l,n){if(l.eatWhile(h))return null;var u=l.next();if(v.test(u)){if("{"==u&&l.eat("-")){var i="comment";return l.eat("#")&&(i="meta"),e(l,n,t(i,1))}return null}if("'"==u)return l.eat("\\"),l.next(),l.eat("'")?"string":"string error";if('"'==u)return e(l,n,o);if(a.test(u))return l.eatWhile(f),l.eat(".")?"qualifier":"variable-2";if(r.test(u))return l.eatWhile(f),"variable";if(c.test(u)){if("0"==u){if(l.eat(/[xX]/))return l.eatWhile(d),"integer";if(l.eat(/[oO]/))return l.eatWhile(s),"number"}l.eatWhile(c);var i="number";return l.match(/^\.\d+/)&&(i="number"),l.eat(/[eE]/)&&(i="number",l.eat(/[-+]/),l.eatWhile(c)),i}if("."==u&&l.eat("."))return"keyword";if(p.test(u)){if("-"==u&&l.eat(/-/)&&(l.eatWhile(/-/),!l.eat(p)))return l.skipToEnd(),"comment";var i="variable";return":"==u&&(i="variable-2"),l.eatWhile(p),i}return"error"}function t(l,n){return 0==n?u:function(e,o){for(var i=n;!e.eol();){var r=e.next();if("{"==r&&e.eat("-"))++i;else if("-"==r&&e.eat("}")&&0==--i)return o(u),l}return o(t(l,i)),l}}function o(l,n){for(;!l.eol();){var e=l.next();if('"'==e)return n(u),"string";if("\\"==e){if(l.eol()||l.eat(h))return n(i),"string";l.eat("&")||l.next()}}return n(u),"string error"}function i(l,n){return l.eat("\\")?e(l,n,o):(l.next(),n(u),"error")}var r=/[a-z_]/,a=/[A-Z]/,c=/\d/,d=/[0-9A-Fa-f]/,s=/[0-7]/,f=/[a-z_A-Z0-9'\xa1-\uffff]/,p=/[-!#$%&*+.\/<=>?@\\^|~:]/,v=/[(),;[\]`{}]/,h=/[ \t\v\f]/,m=function(){function l(l){return function(){for(var n=0;n<arguments.length;n++)e[arguments[n]]=l}}var e={};l("keyword")("case","class","data","default","deriving","do","else","foreign","if","import","in","infix","infixl","infixr","instance","let","module","newtype","of","then","type","where","_"),l("keyword")("..",":","::","=","\\","<-","->","@","~","=>"),l("builtin")("!!","$!","$","&&","+","++","-",".","/","/=","<","<=","=<<","==",">",">=",">>",">>=","^","^^","||","*","**"),l("builtin")("Bool","Bounded","Char","Double","EQ","Either","Enum","Eq","False","FilePath","Float","Floating","Fractional","Functor","GT","IO","IOError","Int","Integer","Integral","Just","LT","Left","Maybe","Monad","Nothing","Num","Ord","Ordering","Rational","Read","ReadS","Real","RealFloat","RealFrac","Right","Show","ShowS","String","True"),l("builtin")("abs","acos","acosh","all","and","any","appendFile","asTypeOf","asin","asinh","atan","atan2","atanh","break","catch","ceiling","compare","concat","concatMap","const","cos","cosh","curry","cycle","decodeFloat","div","divMod","drop","dropWhile","either","elem","encodeFloat","enumFrom","enumFromThen","enumFromThenTo","enumFromTo","error","even","exp","exponent","fail","filter","flip","floatDigits","floatRadix","floatRange","floor","fmap","foldl","foldl1","foldr","foldr1","fromEnum","fromInteger","fromIntegral","fromRational","fst","gcd","getChar","getContents","getLine","head","id","init","interact","ioError","isDenormalized","isIEEE","isInfinite","isNaN","isNegativeZero","iterate","last","lcm","length","lex","lines","log","logBase","lookup","map","mapM","mapM_","max","maxBound","maximum","maybe","min","minBound","minimum","mod","negate","not","notElem","null","odd","or","otherwise","pi","pred","print","product","properFraction","putChar","putStr","putStrLn","quot","quotRem","read","readFile","readIO","readList","readLn","readParen","reads","readsPrec","realToFrac","recip","rem","repeat","replicate","return","reverse","round","scaleFloat","scanl","scanl1","scanr","scanr1","seq","sequence","sequence_","show","showChar","showList","showParen","showString","shows","showsPrec","significand","signum","sin","sinh","snd","span","splitAt","sqrt","subtract","succ","sum","tail","take","takeWhile","tan","tanh","toEnum","toInteger","toRational","truncate","uncurry","undefined","unlines","until","unwords","unzip","unzip3","userError","words","writeFile","zip","zip3","zipWith","zipWith3");var u=n.overrideKeywords;if(u)for(var t in u)u.hasOwnProperty(t)&&(e[t]=u[t]);return e}();return{startState:function(){return{f:u}},copyState:function(l){return{f:l.f}},token:function(l,n){var e=n.f(l,function(l){n.f=l}),u=l.current();return m.hasOwnProperty(u)?m[u]:e},blockCommentStart:"{-",blockCommentEnd:"-}",lineComment:"--"}}),l.defineMIME("text/x-haskell","haskell")})},v78T:function(l,n,e){"use strict";var u=e("p2gU");e.n(u);e.d(n,"a",function(){return o});var t=this&&this.__extends||function(){var l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,n){l.__proto__=n}||function(l,n){for(var e in n)n.hasOwnProperty(e)&&(l[e]=n[e])};return function(n,e){function u(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}(),o=function(l){function n(n){return l.call(this,n)||this}return t(n,l),n.ctorParameters=function(){return[{type:u.DialogService}]},n}(u.DialogComponent)},vbZp:function(l,n,e){"use strict";function u(l){return a["ɵvid"](0,[(l()(),a["ɵeld"](0,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-folder"],["style","margin-right:10px; font-size: 3em; cursor: pointer;"]],null,null,null,null,null))],null,null)}function t(l){return a["ɵvid"](0,[(l()(),a["ɵeld"](0,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-file-text"],["style","margin-right:10px;font-size: 3em; cursor: pointer;"]],null,null,null,null,null))],null,null)}function o(l){return a["ɵvid"](0,[(l()(),a["ɵeld"](0,0,null,null,7,"button",[["class","list-group-item list-group-item-action"],["style","cursor:pointer"],["type","button"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.navToDir(l.context.$implicit)&&u}return u},null,null)),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵand"](16777216,null,null,1,null,u)),a["ɵdid"](3,16384,null,0,c.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵand"](16777216,null,null,1,null,t)),a["ɵdid"](6,16384,null,0,c.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),a["ɵted"](7,null,["\n ","\n "]))],function(l,n){l(n,3,0,n.context.$implicit.directorio),l(n,6,0,!n.context.$implicit.directorio)},function(l,n){l(n,7,0,n.context.$implicit.nombre)})}function i(l){return a["ɵvid"](0,[(l()(),a["ɵeld"](0,0,null,null,34,"div",[["class","modal-dialog"],["style","margin-top:100px;"]],null,null,null,null,null)),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵeld"](2,0,null,null,31,"div",[["class","modal-content"]],null,null,null,null,null)),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵeld"](4,0,null,null,7,"div",[["class","modal-header"]],null,null,null,null,null)),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵeld"](6,0,null,null,1,"h6",[["class","modal-title pull-lefth"]],null,null,null,null,null)),(l()(),a["ɵted"](-1,null,["¿Dónde quieres mover el archivo?"])),(l()(),a["ɵted"](-1,null,[" \n "])),(l()(),a["ɵeld"](9,0,null,null,1,"button",[["class","close"],["style","margin-rigth:8px;"],["type","button"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.close()&&u}return u},null,null)),(l()(),a["ɵted"](-1,null,["×"])),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵeld"](13,0,null,null,10,"div",[["class","modal-body"],["style","height:350px;overflow-y: scroll;"]],null,null,null,null,null)),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵeld"](15,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵeld"](17,0,null,null,4,"div",[["class","list-group"]],null,null,null,null,null)),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵand"](16777216,null,null,1,null,o)),a["ɵdid"](20,802816,null,0,c.NgForOf,[a.ViewContainerRef,a.TemplateRef,a.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵeld"](25,0,null,null,7,"div",[["class","modal-footer"]],null,null,null,null,null)),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵeld"](27,0,null,null,1,"button",[["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.navBack()&&u}return u},null,null)),(l()(),a["ɵted"](-1,null,["Atras"])),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵeld"](30,0,null,null,1,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.move()&&u}return u},null,null)),(l()(),a["ɵted"](-1,null,["Mover aquÃ"])),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵted"](-1,null,["\n "])),(l()(),a["ɵted"](-1,null,["\n "]))],function(l,n){l(n,20,0,n.component.directorioActual.archivos)},null)}function r(l){return a["ɵvid"](0,[(l()(),a["ɵeld"](0,0,null,null,1,"confirm",[],null,null,null,i,p)),a["ɵdid"](1,180224,null,0,d.a,[s.DialogService],null,null)],null,null)}var a=e("/oeL"),c=e("qbdv"),d=e("LxsK"),s=e("V672");e.n(s);e.d(n,"a",function(){return v});var f=[],p=a["ɵcrt"]({encapsulation:2,styles:f,data:{}}),v=a["ɵccf"]("confirm",d.a,r,{},{},[])},wSRM:function(l,n,e){"use strict";var u=e("p2gU"),t=(e.n(u),e("78g9"));e.d(n,"a",function(){return i});var o=this&&this.__extends||function(){var l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,n){l.__proto__=n}||function(l,n){for(var e in n)n.hasOwnProperty(e)&&(l[e]=n[e])};return function(n,e){function u(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}(),i=function(l){function n(n){return l.call(this,n)||this}return o(n,l),n.prototype.confirm=function(){var l,n=this,e=this.nombre,u=this.descripcion;l=new t.b,l.cedulaCreador=this.parentContext.directorioActual.cedulaCreador,this.esDirectorio?l.contenido=u:l.contenido="",l.directorio=this.esDirectorio,l.editable=!0,l.fechaCreacion=new Date,l.nombre=e,l.padreId=this.parentContext.directorioActual.id;var o=this.parentContext;/^[A-Z]/.test(e)?(this.parentContext.haskellService.crearArchivo(l).subscribe(function(l){var n=o.directorioActual.id;o.recargarArchivos(n)},function(l){n.parentContext.notifService.error(l)}),this.close()):alert("Nombre de archivo debe iniciar con mayusula.")},n.ctorParameters=function(){return[{type:u.DialogService}]},n}(u.DialogComponent)}}); \ No newline at end of file diff --git a/Servidor JEE/WebContent/3.80867ddf12cea7698e2c.chunk.js b/Servidor JEE/WebContent/3.80867ddf12cea7698e2c.chunk.js deleted file mode 100644 index 898e37649fa90d72bc400c9004c177aedbda893e..0000000000000000000000000000000000000000 --- a/Servidor JEE/WebContent/3.80867ddf12cea7698e2c.chunk.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([3,11],{"+EXD":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("CURp"),s=n("wAkD"),a=function(t){function e(e){t.call(this),this.observableFactory=e}return r(e,t),e.create=function(t){return new e(t)},e.prototype._subscribe=function(t){return new l(t,this.observableFactory)},e}(i.Observable);e.DeferObservable=a;var l=function(t){function e(e,n){t.call(this,e),this.factory=n,this.tryDefer()}return r(e,t),e.prototype.tryDefer=function(){try{this._callFactory()}catch(t){this._error(t)}},e.prototype._callFactory=function(){var t=this.factory();t&&this.add(o.subscribeToResult(this,t))},e}(s.OuterSubscriber)},"+KN+":function(t,e,n){"use strict";var r=n("rCTf"),i=n("O/+v");r.Observable.prototype.bufferCount=i.bufferCount},"+Qf+":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r;!function(t){t[t.PREV=0]="PREV",t[t.NEXT=1]="NEXT"}(r||(r={}))},"+Y2e":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("EEr4"),o=n("mmVS"),s=n("rCTf"),a=n("B00U"),l=n("VOfZ"),u=n("MQMf"),c=n("+3eL"),h=n("WhVc"),p=n("KLoZ"),f=function(t){function e(e,n){if(e instanceof s.Observable)t.call(this,n,e);else{if(t.call(this),this.WebSocketCtor=l.root.WebSocket,this._output=new i.Subject,"string"==typeof e?this.url=e:p.assign(this,e),!this.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new u.ReplaySubject}}return r(e,t),e.prototype.resultSelector=function(t){return JSON.parse(t.data)},e.create=function(t){return new e(t)},e.prototype.lift=function(t){var n=new e(this,this.destination);return n.operator=t,n},e.prototype._resetState=function(){this.socket=null,this.source||(this.destination=new u.ReplaySubject),this._output=new i.Subject},e.prototype.multiplex=function(t,e,n){var r=this;return new s.Observable(function(i){var o=c.tryCatch(t)();o===h.errorObject?i.error(h.errorObject.e):r.next(o);var s=r.subscribe(function(t){var e=c.tryCatch(n)(t);e===h.errorObject?i.error(h.errorObject.e):e&&i.next(t)},function(t){return i.error(t)},function(){return i.complete()});return function(){var t=c.tryCatch(e)();t===h.errorObject?i.error(h.errorObject.e):r.next(t),s.unsubscribe()}})},e.prototype._connectSocket=function(){var t=this,e=this.WebSocketCtor,n=this._output,r=null;try{r=this.protocol?new e(this.url,this.protocol):new e(this.url),this.socket=r,this.binaryType&&(this.socket.binaryType=this.binaryType)}catch(t){return void n.error(t)}var i=new a.Subscription(function(){t.socket=null,r&&1===r.readyState&&r.close()});r.onopen=function(e){var s=t.openObserver;s&&s.next(e);var a=t.destination;t.destination=o.Subscriber.create(function(t){return 1===r.readyState&&r.send(t)},function(e){var i=t.closingObserver;i&&i.next(void 0),e&&e.code?r.close(e.code,e.reason):n.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),t._resetState()},function(){var e=t.closingObserver;e&&e.next(void 0),r.close(),t._resetState()}),a&&a instanceof u.ReplaySubject&&i.add(a.subscribe(t.destination))},r.onerror=function(e){t._resetState(),n.error(e)},r.onclose=function(e){t._resetState();var r=t.closeObserver;r&&r.next(e),e.wasClean?n.complete():n.error(e)},r.onmessage=function(e){var r=c.tryCatch(t.resultSelector)(e);r===h.errorObject?n.error(h.errorObject.e):n.next(r)}},e.prototype._subscribe=function(t){var e=this,n=this.source;if(n)return n.subscribe(t);this.socket||this._connectSocket();var r=new a.Subscription;return r.add(this._output.subscribe(t)),r.add(function(){var t=e.socket;0===e._output.observers.length&&(t&&1===t.readyState&&t.close(),e._resetState())}),r},e.prototype.unsubscribe=function(){var e=this,n=e.source,r=e.socket;r&&1===r.readyState&&(r.close(),this._resetState()),t.prototype.unsubscribe.call(this),n||(this.destination=new u.ReplaySubject)},e}(i.AnonymousSubject);e.WebSocketSubject=f},"+dDw":function(t,e,n){"use strict";var r=n("3j3K"),i=n("NVOs");n.d(e,"c",function(){return s}),n.d(e,"b",function(){return a}),n.d(e,"a",function(){return l});var o={provide:i.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return s}),multi:!0},s=function(){function t(){this._radios=new Set,this._value=null,this.onChange=function(t){},this.onTouched=function(){}}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this.setDisabledState(t)},enumerable:!0,configurable:!0}),t.prototype.onRadioChange=function(t){this.writeValue(t.value),this.onChange(t.value)},t.prototype.onRadioValueUpdate=function(){this._updateRadiosValue()},t.prototype.register=function(t){this._radios.add(t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._disabled=t,this._updateRadiosDisabled()},t.prototype.unregister=function(t){this._radios.delete(t)},t.prototype.writeValue=function(t){this._value=t,this._updateRadiosValue()},t.prototype._updateRadiosValue=function(){var t=this;this._radios.forEach(function(e){return e.updateValue(t._value)})},t.prototype._updateRadiosDisabled=function(){this._radios.forEach(function(t){return t.updateDisabled()})},t}();s.decorators=[{type:r.Directive,args:[{selector:"[ngbRadioGroup]",host:{"data-toggle":"buttons",class:"btn-group",role:"group"},providers:[o]}]}],s.ctorParameters=function(){return[]};var a=function(){function t(t,e){this._renderer=t,this._elRef=e}return Object.defineProperty(t.prototype,"active",{set:function(t){t?this._renderer.addClass(this._elRef.nativeElement,"active"):this._renderer.removeClass(this._elRef.nativeElement,"active")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{set:function(t){t?this._renderer.addClass(this._elRef.nativeElement,"disabled"):this._renderer.removeClass(this._elRef.nativeElement,"disabled")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focused",{set:function(t){t?this._renderer.addClass(this._elRef.nativeElement,"focus"):this._renderer.removeClass(this._elRef.nativeElement,"focus")},enumerable:!0,configurable:!0}),t}();a.decorators=[{type:r.Directive,args:[{selector:"label.btn"}]}],a.ctorParameters=function(){return[{type:r.Renderer2},{type:r.ElementRef}]};var l=function(){function t(t,e,n,r){this._group=t,this._label=e,this._renderer=n,this._element=r,this._value=null,this._group&&this._group.register(this)}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t;var e=t?t.toString():"";this._renderer.setProperty(this._element.nativeElement,"value",e),this._group&&this._group.onRadioValueUpdate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(t){this._checked=!!this._element.nativeElement.hasAttribute("checked")||t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._group&&this._group.disabled||this._disabled},set:function(t){this._disabled=!1!==t,this.updateDisabled()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focused",{set:function(t){this._label&&(this._label.focused=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._group&&this._group.unregister(this)},t.prototype.onChange=function(){this._group&&this._group.onRadioChange(this)},t.prototype.updateValue=function(t){this._checked=this.value===t&&null!==t,this._label.active=this._checked},t.prototype.updateDisabled=function(){var t=this._group&&this._group.disabled||this._disabled;this._label&&(this._label.disabled=t)},t}();l.decorators=[{type:r.Directive,args:[{selector:"input[type=radio]",host:{"[checked]":"checked","[disabled]":"disabled","(change)":"onChange()","(focus)":"focused = true","(blur)":"focused = false"}}]}],l.ctorParameters=function(){return[{type:s,decorators:[{type:r.Optional}]},{type:a,decorators:[{type:r.Optional}]},{type:r.Renderer2},{type:r.ElementRef}]},l.propDecorators={value:[{type:r.Input,args:["value"]}],checked:[{type:r.Input,args:["checked"]}],disabled:[{type:r.Input,args:["disabled"]}]}},"+pb+":function(t,e,n){"use strict";var r=n("rCTf"),i=n("xAJs");r.Observable.prototype.map=i.map},"+vPe":function(t,e,n){"use strict";var r=n("Q0je");e.never=r.NeverObservable.create},"+w3m":function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("8Z8y");e.elementAt=r;var a=function(){function t(t,e){if(this.index=t,this.defaultValue=e,t<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.index,this.defaultValue))},t}(),l=function(t){function e(e,n,r){t.call(this,e),this.index=n,this.defaultValue=r}return i(e,t),e.prototype._next=function(t){0==this.index--&&(this.destination.next(t),this.destination.complete())},e.prototype._complete=function(){var t=this.destination;this.index>=0&&(void 0!==this.defaultValue?t.next(this.defaultValue):t.error(new s.ArgumentOutOfRangeError)),t.complete()},e}(o.Subscriber)},"/181":function(t,e,n){"use strict";var r=n("rCTf"),i=n("2jZb");r.Observable.prototype.count=i.count},"/8te":function(t,e,n){"use strict";var r=n("Gb0N");e.range=r.RangeObservable.create},"/FbB":function(t,e,n){"use strict";function r(t){var e=t.getFullYear();return e%4==0&&e%100!=0||e%400==0}function i(t,e){return t-e*Math.floor(t/e)}var o=n("CO0D"),s=n("hlt1"),a=n("3j3K"),l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=1721425.5,c=1948439.5,h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.fromGregorian=function(t){var e=new Date(t),n=e.getFullYear(),i=e.getMonth(),o=e.getDate(),a=u-1+365*(n-1)+Math.floor((n-1)/4)+-Math.floor((n-1)/100)+Math.floor((n-1)/400)+Math.floor((367*(i+1)-362)/12+(i+1<=2?0:r(e)?-1:-2)+o);a=Math.floor(a)+.5;var l=a-c,h=Math.floor((30*l+10646)/10631),p=Math.ceil((l-29-this._getYearStart(h))/29.5);p=Math.min(p,11);var f=Math.ceil(l-this._getMonthStart(h,p))+1;return new s.a(h,p+1,f)},e.prototype.toGregorian=function(t){var e=t.year,n=t.month-1,o=t.day,s=o+Math.ceil(29.5*n)+354*(e-1)+Math.floor((3+11*e)/30)+c-1,a=Math.floor(s-.5)+.5,l=a-u,h=Math.floor(l/146097),p=i(l,146097),f=Math.floor(p/36524),d=i(p,36524),v=Math.floor(d/1461),m=i(d,1461),g=Math.floor(m/365),y=400*h+100*f+4*v+g;4!==f&&4!==g&&y++;var b=u+365*(y-1)+Math.floor((y-1)/4)-Math.floor((y-1)/100)+Math.floor((y-1)/400),w=a-b,x=u-1+365*(y-1)+Math.floor((y-1)/4)-Math.floor((y-1)/100)+Math.floor((y-1)/400)+Math.floor(739/12+(r(new Date(y,3,1))?-1:-2)+1),C=a<x?0:r(new Date(y,3,1))?1:2,O=Math.floor((12*(w+C)+373)/367),S=u-1+365*(y-1)+Math.floor((y-1)/4)-Math.floor((y-1)/100)+Math.floor((y-1)/400)+Math.floor((367*O-362)/12+(O<=2?0:r(new Date(y,O-1,1))?-1:-2)+1),_=a-S+1;return new Date(y,O-1,_)},e.prototype.getDaysInIslamicMonth=function(t,e){e+=Math.floor(t/13),t=(t-1)%12+1;var n=29+t%2;return 12===t&&this._isIslamicLeapYear(e)&&n++,n},e.prototype.getNext=function(t,e,n){switch(void 0===e&&(e="d"),void 0===n&&(n=1),t=s.a.from(t),e){case"y":return t=this.setYear(t,t.year+n),t.month=1,t.day=1,t;case"m":return t=this.setMonth(t,t.month+n),t.day=1,t;case"d":return this.setDay(t,t.day+n);default:return t}},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e="d"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=this.toGregorian(t).getDay();return 0===e?7:e},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=(11-e)%7,r=t[n],i=this.toGregorian(r);i.setDate(i.getDate()+4-(i.getDay()||7));var o=i.getTime(),a=this.toGregorian(new s.a(r.year,1,1));return Math.floor(Math.round((o-a.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return this.fromGregorian(new Date)},e}(o.a);h.decorators=[{type:a.Injectable}],h.ctorParameters=function(){return[]}},"/I96":function(t,e,n){"use strict";var r=n("3j3K"),i=n("2Je8"),o=n("l5HU"),s=n("DDfv");n.d(e,"a",function(){return a});var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();a.decorators=[{type:r.NgModule,args:[{declarations:o.a,exports:o.a,imports:[i.CommonModule]}]}],a.ctorParameters=function(){return[]}},"/J7H":function(t,e,n){"use strict";function r(t){return!!t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}function i(t){return!!t&&"function"==typeof t.on&&"function"==typeof t.off}function o(t){return!!t&&"[object NodeList]"===d.call(t)}function s(t){return!!t&&"[object HTMLCollection]"===d.call(t)}function a(t){return!!t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=n("rCTf"),c=n("+3eL"),h=n("SKH6"),p=n("WhVc"),f=n("B00U"),d=Object.prototype.toString,v=function(t){function e(e,n,r,i){t.call(this),this.sourceObj=e,this.eventName=n,this.selector=r,this.options=i}return l(e,t),e.create=function(t,n,r,i){return h.isFunction(r)&&(i=r,r=void 0),new e(t,n,i,r)},e.setupSubscription=function(t,n,l,u,c){var h;if(o(t)||s(t))for(var p=0,d=t.length;p<d;p++)e.setupSubscription(t[p],n,l,u,c);else if(a(t)){var v=t;t.addEventListener(n,l,c),h=function(){return v.removeEventListener(n,l)}}else if(i(t)){var m=t;t.on(n,l),h=function(){return m.off(n,l)}}else{if(!r(t))throw new TypeError("Invalid event target");var g=t;t.addListener(n,l),h=function(){return g.removeListener(n,l)}}u.add(new f.Subscription(h))},e.prototype._subscribe=function(t){var n=this.sourceObj,r=this.eventName,i=this.options,o=this.selector,s=o?function(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var r=c.tryCatch(o).apply(void 0,e);r===p.errorObject?t.error(p.errorObject.e):t.next(r)}:function(e){return t.next(e)};e.setupSubscription(n,r,s,t,i)},e}(u.Observable);e.FromEventObservable=v},"/KGk":function(t,e,n){"use strict";var r=n("3j3K"),i=n("NVOs"),o=n("lcaH"),s=n("hlt1"),a=n("fAHw"),l=n("+Qf+"),u=n("2yGx"),c=n("hwnt"),h=n("gEbu");n.d(e,"a",function(){return f});var p={provide:i.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return f}),multi:!0},f=function(){function t(t,e,n,i){this._service=t,this._calendar=e,this.i18n=n,this.months=[],this.navigate=new r.EventEmitter,this.disabled=!1,this.onChange=function(t){},this.onTouched=function(){},this.dayTemplate=i.dayTemplate,this.displayMonths=i.displayMonths,this.firstDayOfWeek=i.firstDayOfWeek,this.markDisabled=i.markDisabled,this.minDate=i.minDate,this.maxDate=i.maxDate,this.navigation=i.navigation,this.outsideDays=i.outsideDays,this.showWeekdays=i.showWeekdays,this.showWeekNumbers=i.showWeekNumbers,this.startDate=i.startDate}return t.prototype.getHeaderHeight=function(){var t=this.showWeekdays?6.25:4.25;return 1===this.displayMonths||"select"!==this.navigation?t-2:t},t.prototype.getHeaderMargin=function(){var t=this.showWeekdays?2:0;return 1!==this.displayMonths||"select"!==this.navigation?t+2:t},t.prototype.navigateTo=function(t){this._setViewWithinLimits(this._service.toValidDate(t)),this._updateData()},t.prototype.ngOnInit=function(){this._setDates(),this.navigateTo(this._date)},t.prototype.ngOnChanges=function(t){this._setDates(),this._setViewWithinLimits(this._date),t.displayMonths&&(this.displayMonths=n.i(u.b)(this.displayMonths)),["startDate","minDate","maxDate","navigation","firstDayOfWeek","markDisabled","displayMonths"].some(function(e){return!!t[e]})&&this._updateData(!0)},t.prototype.onDateSelect=function(t){this._setViewWithinLimits(t),this.onTouched(),this.writeValue(t),this.onChange({year:t.year,month:t.month,day:t.day}),this._date.month!==this.months[0].number&&1===this.displayMonths&&this._updateData()},t.prototype.onNavigateDateSelect=function(t){this._setViewWithinLimits(t),this._updateData()},t.prototype.onNavigateEvent=function(t){switch(t){case l.a.PREV:this._setViewWithinLimits(this._calendar.getPrev(this.months[0].firstDate,"m"));break;case l.a.NEXT:this._setViewWithinLimits(this._calendar.getNext(this.months[0].firstDate,"m"))}this._updateData()},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.writeValue=function(t){this.model=this._service.toValidDate(t,null)},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype._setDates=function(){if(this._maxDate=s.a.from(this.maxDate),this._minDate=s.a.from(this.minDate),this._date=this._service.toValidDate(this.startDate),this._calendar.isValid(this._minDate)||(this._minDate=this._calendar.getPrev(this._date,"y",10),this.minDate={year:this._minDate.year,month:this._minDate.month,day:this._minDate.day}),this._calendar.isValid(this._maxDate)||(this._maxDate=this._calendar.getNext(this._date,"y",11),this._maxDate=this._calendar.getPrev(this._maxDate),this.maxDate={year:this._maxDate.year,month:this._maxDate.month,day:this._maxDate.day}),this._minDate&&this._maxDate&&this._maxDate.before(this._minDate))throw new Error("'maxDate' "+this._maxDate+" should be greater than 'minDate' "+this._minDate)},t.prototype._setViewWithinLimits=function(t){this._minDate&&t.before(this._minDate)?this._date=new s.a(this._minDate.year,this._minDate.month,1):this._maxDate&&t.after(this._maxDate)?this._date=new s.a(this._maxDate.year,this._maxDate.month,1):this._date=new s.a(t.year,t.month,1)},t.prototype._updateData=function(t){void 0===t&&(t=!1);for(var e=[],r=function(r){var o=i._calendar.getNext(i._date,"m",r),s=i.months.findIndex(function(t){return t.firstDate.equals(o)});t||-1===s?e.push(i._service.generateMonthViewModel(o,i._minDate,i._maxDate,n.i(u.b)(i.firstDayOfWeek),i.markDisabled)):e.push(i.months[s])},i=this,o=0;o<this.displayMonths;o++)r(o);var s=e[0].firstDate,a=this.months[0]?this.months[0].firstDate:null;this.months=e,s.equals(a)||this.navigate.emit({current:a?{year:a.year,month:a.month}:null,next:{year:s.year,month:s.month}})},t}();f.decorators=[{type:r.Component,args:[{exportAs:"ngbDatepicker",selector:"ngb-datepicker",host:{class:"d-inline-block rounded"},styles:["\n :host {\n border: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-header {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-month {\n pointer-events: none;\n }\n ngb-datepicker-month-view {\n pointer-events: auto;\n }\n .ngb-dp-month:first-child {\n margin-left: 0 !important;\n } \n .ngb-dp-month-name {\n font-size: larger;\n height: 2rem;\n line-height: 2rem;\n } \n "],template:'\n <ng-template #dt let-date="date" let-currentMonth="currentMonth" let-selected="selected" let-disabled="disabled">\n <div ngbDatepickerDayView [date]="date" [currentMonth]="currentMonth" [selected]="selected" [disabled]="disabled"></div>\n </ng-template>\n \n <div class="ngb-dp-header bg-faded pt-1 rounded-top" [style.height.rem]="getHeaderHeight()" \n [style.marginBottom.rem]="-getHeaderMargin()">\n <ngb-datepicker-navigation *ngIf="navigation !== \'none\'"\n [date]="months[0]?.firstDate"\n [minDate]="_minDate"\n [maxDate]="_maxDate"\n [months]="months.length"\n [disabled]="disabled"\n [showWeekNumbers]="showWeekNumbers"\n [showSelect]="navigation === \'select\'"\n (navigate)="onNavigateEvent($event)"\n (select)="onNavigateDateSelect($event)">\n </ngb-datepicker-navigation>\n </div>\n\n <div class="ngb-dp-months d-flex px-1 pb-1">\n <ng-template ngFor let-month [ngForOf]="months" let-i="index">\n <div class="ngb-dp-month d-block ml-3"> \n <div *ngIf="navigation !== \'select\' || displayMonths > 1" class="ngb-dp-month-name text-center">\n {{ i18n.getMonthFullName(month.number) }} {{ month.year }}\n </div>\n <ngb-datepicker-month-view\n [month]="month"\n [selectedDate]="model"\n [dayTemplate]="dayTemplate || dt"\n [showWeekdays]="showWeekdays"\n [showWeekNumbers]="showWeekNumbers"\n [disabled]="disabled"\n [outsideDays]="displayMonths === 1 ? outsideDays : \'hidden\'"\n (select)="onDateSelect($event)">\n </ngb-datepicker-month-view>\n </div>\n </ng-template>\n </div>\n ',providers:[p,a.a]}]}],f.ctorParameters=function(){return[{type:a.a},{type:o.a},{type:h.a},{type:c.a}]},f.propDecorators={dayTemplate:[{type:r.Input}],displayMonths:[{type:r.Input}],firstDayOfWeek:[{type:r.Input}],markDisabled:[{type:r.Input}],minDate:[{type:r.Input}],maxDate:[{type:r.Input}],navigation:[{type:r.Input}],outsideDays:[{type:r.Input}],showWeekdays:[{type:r.Input}],showWeekNumbers:[{type:r.Input}],startDate:[{type:r.Input}],navigate:[{type:r.Output}]}},"/PMa":function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"b",function(){return i}),n.d(e,"a",function(){return o});var i=function(){function t(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n}return t}(),o=function(){function t(t,e,n,r,i){this._injector=e,this._viewContainerRef=n,this._renderer=r,this._windowFactory=i.resolveComponentFactory(t)}return t.prototype.open=function(t,e){return this._windowRef||(this._contentRef=this._getContentRef(t,e),this._windowRef=this._viewContainerRef.createComponent(this._windowFactory,0,this._injector,this._contentRef.nodes)),this._windowRef},t.prototype.close=function(){this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null,this._contentRef.viewRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef=null))},t.prototype._getContentRef=function(t,e){if(t){if(t instanceof r.TemplateRef){var n=this._viewContainerRef.createEmbeddedView(t,e);return new i([n.rootNodes],n)}return new i([[this._renderer.createText(""+t)]])}return new i([])},t}()},"/QqB":function(t,e,n){"use strict";var r=n("R6W2");n.d(e,"a",function(){return i});var i=function(){function t(t){this.authService=t,this.isActive=!1,this.showMenu="",this.usuario=t.getUser()}return t.prototype.eventCalled=function(){this.isActive=!this.isActive},t.prototype.addExpandClass=function(t){t===this.showMenu?this.showMenu="0":this.showMenu=t},t.prototype.toggleSidebar=function(){document.querySelector("body").classList.toggle("push-right")},t.prototype.esAlumno=function(){return"alumno"==this.usuario.tipo},t.prototype.esDocente=function(){return"docente"==this.usuario.tipo},t.prototype.documentClicked=function(t){var e=document.querySelector("body");e.classList.contains("push-right")&&(this.sidebarNav.nativeElement.contains(t.target)||e.classList.remove("push-right"))},t.ctorParameters=function(){return[{type:r.a}]},t}()},"/TOt":function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=s.async),this.lift(new l(t,e))}function i(t){t.clearThrottle()}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("CGGv"),a=n("mmVS");e.auditTime=r;var l=function(){function t(t,e){this.duration=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.duration,this.scheduler))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.duration=n,this.scheduler=r,this.hasValue=!1}return o(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0,this.throttled||this.add(this.throttled=this.scheduler.schedule(i,this.duration,this))},e.prototype.clearThrottle=function(){var t=this,e=t.value,n=t.hasValue,r=t.throttled;r&&(this.remove(r),this.throttled=null,r.unsubscribe()),n&&(this.value=null,this.hasValue=!1,this.destination.next(e))},e}(a.Subscriber)},"/i+G":function(t,e,n){"use strict";var r=n("3j3K"),i=n("2yGx"),o=n("K0TW");n.d(e,"a",function(){return s});var s=function(){function t(t){this.pageCount=0,this.pages=[],this.page=0,this.pageChange=new r.EventEmitter(!0),this.disabled=t.disabled,this.boundaryLinks=t.boundaryLinks,this.directionLinks=t.directionLinks,this.ellipses=t.ellipses,this.maxSize=t.maxSize,this.pageSize=t.pageSize,this.rotate=t.rotate,this.size=t.size}return t.prototype.hasPrevious=function(){return this.page>1},t.prototype.hasNext=function(){return this.page<this.pageCount},t.prototype.selectPage=function(t){this._updatePages(t)},t.prototype.ngOnChanges=function(t){this._updatePages(this.page)},t.prototype.isEllipsis=function(t){return-1===t},t.prototype._applyEllipses=function(t,e){this.ellipses&&(t>0&&(t>1&&this.pages.unshift(-1),this.pages.unshift(1)),e<this.pageCount&&(e<this.pageCount-1&&this.pages.push(-1),this.pages.push(this.pageCount)))},t.prototype._applyRotation=function(){var t=0,e=this.pageCount,n=Math.floor(this.maxSize/2),r=this.maxSize%2==0?n-1:n;return this.page<=n?e=this.maxSize:this.pageCount-this.page<n?t=this.pageCount-this.maxSize:(t=this.page-n-1,e=this.page+r),[t,e]},t.prototype._applyPagination=function(){var t=Math.ceil(this.page/this.maxSize)-1,e=t*this.maxSize;return[e,e+this.maxSize]},t.prototype._setPageInRange=function(t){var e=this.page;this.page=n.i(i.e)(t,this.pageCount,1),this.page!==e&&this.pageChange.emit(this.page)},t.prototype._updatePages=function(t){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),n.i(i.a)(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(var e=1;e<=this.pageCount;e++)this.pages.push(e);if(this._setPageInRange(t),this.maxSize>0&&this.pageCount>this.maxSize){var r=0,o=this.pageCount;this.rotate?(s=this._applyRotation(),r=s[0],o=s[1]):(a=this._applyPagination(),r=a[0],o=a[1]),this.pages=this.pages.slice(r,o),this._applyEllipses(r,o)}var s,a},t}();s.decorators=[{type:r.Component,args:[{selector:"ngb-pagination",changeDetection:r.ChangeDetectionStrategy.OnPush,host:{role:"navigation"},template:'\n <ul [class]="\'pagination\' + (size ? \' pagination-\' + size : \'\')">\n <li *ngIf="boundaryLinks" class="page-item"\n [class.disabled]="!hasPrevious() || disabled">\n <a aria-label="First" class="page-link" href (click)="!!selectPage(1)" [attr.tabindex]="(hasPrevious() ? null : \'-1\')">\n <span aria-hidden="true">««</span>\n </a>\n </li>\n\n <li *ngIf="directionLinks" class="page-item"\n [class.disabled]="!hasPrevious() || disabled">\n <a aria-label="Previous" class="page-link" href (click)="!!selectPage(page-1)" [attr.tabindex]="(hasPrevious() ? null : \'-1\')">\n <span aria-hidden="true">«</span>\n </a>\n </li>\n <li *ngFor="let pageNumber of pages" class="page-item" [class.active]="pageNumber === page"\n [class.disabled]="isEllipsis(pageNumber) || disabled">\n <a *ngIf="isEllipsis(pageNumber)" class="page-link">...</a>\n <a *ngIf="!isEllipsis(pageNumber)" class="page-link" href (click)="!!selectPage(pageNumber)">\n {{pageNumber}}\n <span *ngIf="pageNumber === page" class="sr-only">(current)</span>\n </a>\n </li>\n <li *ngIf="directionLinks" class="page-item" [class.disabled]="!hasNext() || disabled">\n <a aria-label="Next" class="page-link" href (click)="!!selectPage(page+1)" [attr.tabindex]="(hasNext() ? null : \'-1\')">\n <span aria-hidden="true">»</span>\n </a>\n </li>\n\n <li *ngIf="boundaryLinks" class="page-item" [class.disabled]="!hasNext() || disabled">\n <a aria-label="Last" class="page-link" href (click)="!!selectPage(pageCount)" [attr.tabindex]="(hasNext() ? null : \'-1\')">\n <span aria-hidden="true">»»</span>\n </a>\n </li>\n </ul>\n '}]}],s.ctorParameters=function(){return[{type:o.a}]},s.propDecorators={disabled:[{type:r.Input}],boundaryLinks:[{type:r.Input}],directionLinks:[{type:r.Input}],ellipses:[{type:r.Input}],rotate:[{type:r.Input}],collectionSize:[{type:r.Input}],maxSize:[{type:r.Input}],page:[{type:r.Input}],pageSize:[{type:r.Input}],pageChange:[{type:r.Output}],size:[{type:r.Input}]}},"/lY3":function(t,e,n){"use strict";var r=n("rCTf"),i=n("Ji1V");r.Observable.prototype.startWith=i.startWith},"/m/U":function(t,e,n){(function(e){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t){Lt.forEach(function(e){var n=e.popper,r=e.tippyInstance,i=e.settings,o=i.appendTo,s=i.hideOnClick,a=i.trigger;if(o.contains(n)){var l=!0===s||-1!==a.indexOf("focus"),u=!t||n!==t.popper;l&&u&&r.hide(n)}})}function n(t,e){return(Element.prototype.closest||function(t){for(var e=this;e;){if(Ht.call(e,t))return e;e=e.parentElement}}).call(t,e)}function r(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function i(){var e=function(){Nt.touch=!0,Nt.iOS()&&document.body.classList.add("tippy-touch"),Nt.dynamicInputDetection&&window.performance&&document.addEventListener("mousemove",i)},i=function(){var t=void 0;return function(){var e=performance.now();e-t<20&&(Nt.touch=!1,document.removeEventListener("mousemove",i),Nt.iOS()||document.body.classList.remove("tippy-touch")),t=e}}(),o=function(e){if(!(e.target instanceof Element))return t();var i=n(e.target,jt.TOOLTIPPED_EL),o=n(e.target,jt.POPPER);if(o){if(r(Lt,function(t){return t.popper===o}).settings.interactive)return}if(i){var s=r(Lt,function(t){return t.el===i}),a=s.settings,l=a.hideOnClick,u=a.multiple,c=a.trigger;if(!u&&Nt.touch||!u&&-1!==c.indexOf("click"))return t(s);if(!0!==l||-1!==c.indexOf("click"))return}!n(e.target,jt.CONTROLLER)&&document.querySelector(jt.POPPER)&&t()},s=function(t){var e=document,n=e.activeElement;n&&n.blur&&Ht.call(n,jt.TOOLTIPPED_EL)&&n.blur()};document.addEventListener("click",o),document.addEventListener("touchstart",e),window.addEventListener("blur",s),!Nt.SUPPORTS_TOUCH&&(navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&document.addEventListener("pointerdown",e)}function o(){return!o.done&&(o.done=!0,Wt.appendTo=document.body,i(),!0)}function s(t){window.requestAnimationFrame(function(){setTimeout(t,0)})}function a(t){for(var e=[!1,"webkit"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var i=e[r],o=i?""+i+n:t;if(void 0!==window.document.body.style[o])return o}return null}function l(t,e){return Array.prototype.findIndex?t.findIndex(e):t.indexOf(r(t,e))}function u(t){var e=t.getAttribute("title");t.setAttribute("data-original-title",e||"html"),t.removeAttribute("title")}function c(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}function h(t,e){e?window.getComputedStyle(e)[a("transform")]:window.getComputedStyle(t).opacity}function p(t,e){t.forEach(function(t){t&&e(t.classList)})}function f(t,e){t.forEach(function(t){if(t){var n=Ht.call(t,jt.CONTENT),r=n?Math.round(e/1.3):e;t.style[a("transitionDuration")]=r+"ms"}})}function d(t){return"visible"===t.style.visibility}function v(){}function m(t){return t.replace(/-.+/,"")}function g(t){var e=this,n=r(Lt,function(t){return t.el===e}),i=n.popper,o=n.settings.offset,s=m(i.getAttribute("x-placement")),l=Math.round(i.offsetWidth/2),u=Math.round(i.offsetHeight/2),c=5,h=document.documentElement.offsetWidth||document.body.offsetWidth,p=t.pageX,f=t.pageY,d=void 0,v=void 0;switch(s){case"top":d=p-l+o,v=f-2.25*u;break;case"left":d=p-2*l-10,v=f-u+o;break;case"right":d=p+u,v=f-u+o;break;case"bottom":d=p-l+o,v=f+u/1.5}var g=p+c+l+o>h,y=p-c-l+o<0;"top"!==s&&"bottom"!==s||(g&&(d=h-c-2*l),y&&(d=c)),i.style[a("transform")]="translate3d("+d+"px, "+v+"px, 0)"}function y(t){return t instanceof Element?[t]:Array.isArray(t)?t:[].slice.call(document.querySelectorAll(t))}function b(t,e,n){if(!e)return n();var r=t.popper.querySelector(jt.TOOLTIP),i=!1,o=function t(e){e.target===r&&(i=!0,r.removeEventListener("webkitTransitionEnd",t),r.removeEventListener("transitionend",t),n())};r.addEventListener("webkitTransitionEnd",o),r.addEventListener("transitionend",o),clearTimeout(t._transitionendTimeout),t._transitionendTimeout=setTimeout(function(){!i&&n()},e)}function w(t){var e=!1,n=0,r=document.createElement("span");return new MutationObserver(function(){t(),e=!1}).observe(r,{attributes:!0}),function(){e||(e=!0,r.setAttribute("x-index",n),n+=1)}}function x(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},Kt))}}function C(t){var e={};return t&&"[object Function]"===e.toString.call(t)}function O(t,e){if(1!==t.nodeType)return[];var n=window.getComputedStyle(t,null);return e?n[e]:n}function S(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function _(t){if(!t||-1!==["HTML","BODY","#document"].indexOf(t.nodeName))return window.document.body;var e=O(t),n=e.overflow,r=e.overflowX;return/(auto|scroll)/.test(n+e.overflowY+r)?t:_(S(t))}function T(t){var e=t&&t.offsetParent,n=e&&e.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TD","TABLE"].indexOf(e.nodeName)&&"static"===O(e,"position")?T(e):e:window.document.documentElement}function k(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||T(t.firstElementChild)===t)}function M(t){return null!==t.parentNode?M(t.parentNode):t}function I(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return window.document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var s=o.commonAncestorContainer;if(t!==s&&e!==s||r.contains(i))return k(s)?s:T(s);var a=M(t);return a.host?I(a.host,e):I(t,M(e).host)}function P(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var i=window.document.documentElement;return(window.document.scrollingElement||i)[n]}return t[n]}function A(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=P(e,"top"),i=P(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}function E(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return+t["border"+n+"Width"].split("px")[0]+ +t["border"+r+"Width"].split("px")[0]}function D(t,e,n,r){return Math.max(e["offset"+t],n["client"+t],n["offset"+t],Zt()?n["offset"+t]+r["margin"+("Height"===t?"Top":"Left")]+r["margin"+("Height"===t?"Bottom":"Right")]:0)}function R(){var t=window.document.body,e=window.document.documentElement,n=Zt()&&window.getComputedStyle(e);return{height:D("Height",t,e,n),width:D("Width",t,e,n)}}function N(t){return ee({},t,{right:t.left+t.width,bottom:t.top+t.height})}function L(t){var e={};if(Zt())try{e=t.getBoundingClientRect();var n=P(t,"top"),r=P(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}catch(t){}else e=t.getBoundingClientRect();var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?R():{},s=o.width||t.clientWidth||i.right-i.left,a=o.height||t.clientHeight||i.bottom-i.top,l=t.offsetWidth-s,u=t.offsetHeight-a;if(l||u){var c=O(t);l-=E(c,"x"),u-=E(c,"y"),i.width-=l,i.height-=u}return N(i)}function j(t,e){var n=Zt(),r="HTML"===e.nodeName,i=L(t),o=L(e),s=_(t),a=O(e),l=+a.borderTopWidth.split("px")[0],u=+a.borderLeftWidth.split("px")[0],c=N({top:i.top-o.top-l,left:i.left-o.left-u,width:i.width,height:i.height});if(c.marginTop=0,c.marginLeft=0,!n&&r){var h=+a.marginTop.split("px")[0],p=+a.marginLeft.split("px")[0];c.top-=l-h,c.bottom-=l-h,c.left-=u-p,c.right-=u-p,c.marginTop=h,c.marginLeft=p}return(n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(c=A(c,e)),c}function W(t){var e=window.document.documentElement,n=j(t,e),r=Math.max(e.clientWidth,window.innerWidth||0),i=Math.max(e.clientHeight,window.innerHeight||0),o=P(e),s=P(e,"left");return N({top:o-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:r,height:i})}function F(t){var e=t.nodeName;return"BODY"!==e&&"HTML"!==e&&("fixed"===O(t,"position")||F(S(t)))}function V(t,e,n,r){var i={top:0,left:0},o=I(t,e);if("viewport"===r)i=W(o);else{var s=void 0;"scrollParent"===r?(s=_(S(t)),"BODY"===s.nodeName&&(s=window.document.documentElement)):s="window"===r?window.document.documentElement:r;var a=j(s,o);if("HTML"!==s.nodeName||F(o))i=a;else{var l=R(),u=l.height,c=l.width;i.top+=a.top-a.marginTop,i.bottom=u+a.top,i.left+=a.left-a.marginLeft,i.right=c+a.left}}return i.left+=n,i.top+=n,i.right-=n,i.bottom-=n,i}function H(t){return t.width*t.height}function z(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=V(n,r,o,i),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map(function(t){return ee({key:t},a[t],{area:H(a[t])})}).sort(function(t,e){return e.area-t.area}),u=l.filter(function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight}),c=u.length>0?u[0].key:l[0].key,h=t.split("-")[1];return c+(h?"-"+h:"")}function B(t,e,n){return j(n,I(e,n))}function U(t){var e=window.getComputedStyle(t),n=parseFloat(e.marginTop)+parseFloat(e.marginBottom),r=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function q(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function K(t,e,n){n=n.split("-")[0];var r=U(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),s=o?"top":"left",a=o?"left":"top",l=o?"height":"width",u=o?"width":"height";return i[s]=e[s]+e[l]/2-r[l]/2,i[a]=n===a?e[a]-r[u]:e[q(a)],i}function G(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function Y(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var r=G(t,function(t){return t[e]===n});return t.indexOf(r)}function X(t,e,n){return(void 0===n?t:t.slice(0,Y(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&C(n)&&(e.offsets.popper=N(e.offsets.popper),e.offsets.reference=N(e.offsets.reference),e=n(e,t))}),e}function J(){if(!this.state.isDestroyed){var t={instance:this,styles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=B(this.state,this.popper,this.reference),t.placement=z(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.offsets.popper=K(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position="absolute",t=X(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function Z(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function Q(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length-1;r++){var i=e[r],o=i?""+i+n:t;if(void 0!==window.document.body.style[o])return o}return null}function $(){return this.state.isDestroyed=!0,Z(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[Q("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function tt(t,e,n,r){var i="BODY"===t.nodeName,o=i?window:t;o.addEventListener(e,n,{passive:!0}),i||tt(_(o.parentNode),e,n,r),r.push(o)}function et(t,e,n,r){n.updateBound=r,window.addEventListener("resize",n.updateBound,{passive:!0});var i=_(t);return tt(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function nt(){this.state.eventsEnabled||(this.state=et(this.reference,this.options,this.state,this.scheduleUpdate))}function rt(t,e){return window.removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}function it(){this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=rt(this.reference,this.state))}function ot(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function st(t,e){Object.keys(e).forEach(function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&ot(e[n])&&(r="px"),t.style[n]=e[n]+r})}function at(t,e){Object.keys(e).forEach(function(n){!1!==e[n]?t.setAttribute(n,e[n]):t.removeAttribute(n)})}function lt(t){return st(t.instance.popper,t.styles),at(t.instance.popper,t.attributes),t.offsets.arrow&&st(t.arrowElement,t.offsets.arrow),t}function ut(t,e,n,r,i){var o=B(i,e,t),s=z(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),st(e,{position:"absolute"}),n}function ct(t,e){var n=e.x,r=e.y,i=t.offsets.popper,o=G(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==o?o:e.gpuAcceleration,a=T(t.instance.popper),l=L(a),u={position:i.position},c={left:Math.floor(i.left),top:Math.floor(i.top),bottom:Math.floor(i.bottom),right:Math.floor(i.right)},h="bottom"===n?"top":"bottom",p="right"===r?"left":"right",f=Q("transform"),d=void 0,v=void 0;if(v="bottom"===h?-l.height+c.bottom:c.top,d="right"===p?-l.width+c.right:c.left,s&&f)u[f]="translate3d("+d+"px, "+v+"px, 0)",u[h]=0,u[p]=0,u.willChange="transform";else{var m="bottom"===h?-1:1,g="right"===p?-1:1;u[h]=v*m,u[p]=d*g,u.willChange=h+", "+p}var y={"x-placement":t.placement};return t.attributes=ee({},y,t.attributes),t.styles=ee({},u,t.styles),t}function ht(t,e,n){var r=G(t,function(t){return t.name===e}),i=!!r&&t.some(function(t){return t.name===n&&t.enabled&&t.order<r.order});if(!i){var o="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}function pt(t,e){if(!ht(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var r=t.placement.split("-")[0],i=t.offsets,o=i.popper,s=i.reference,a=-1!==["left","right"].indexOf(r),l=a?"height":"width",u=a?"top":"left",c=a?"left":"top",h=a?"bottom":"right",p=U(n)[l];s[h]-p<o[u]&&(t.offsets.popper[u]-=o[u]-(s[h]-p)),s[u]+p>o[h]&&(t.offsets.popper[u]+=s[u]+p-o[h]);var f=s[u]+s[l]/2-p/2,d=f-N(t.offsets.popper)[u];return d=Math.max(Math.min(o[l]-p,d),0),t.arrowElement=n,t.offsets.arrow={},t.offsets.arrow[u]=Math.round(d),t.offsets.arrow[c]="",t}function ft(t){return"end"===t?"start":"start"===t?"end":t}function dt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=re.indexOf(t),r=re.slice(n+1).concat(re.slice(0,n));return e?r.reverse():r}function vt(t,e){if(Z(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=V(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement),r=t.placement.split("-")[0],i=q(r),o=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case ie.FLIP:s=[r,i];break;case ie.CLOCKWISE:s=dt(r);break;case ie.COUNTERCLOCKWISE:s=dt(r,!0);break;default:s=e.behavior}return s.forEach(function(a,l){if(r!==a||s.length===l+1)return t;r=t.placement.split("-")[0],i=q(r);var u=t.offsets.popper,c=t.offsets.reference,h=Math.floor,p="left"===r&&h(u.right)>h(c.left)||"right"===r&&h(u.left)<h(c.right)||"top"===r&&h(u.bottom)>h(c.top)||"bottom"===r&&h(u.top)<h(c.bottom),f=h(u.left)<h(n.left),d=h(u.right)>h(n.right),v=h(u.top)<h(n.top),m=h(u.bottom)>h(n.bottom),g="left"===r&&f||"right"===r&&d||"top"===r&&v||"bottom"===r&&m,y=-1!==["top","bottom"].indexOf(r),b=!!e.flipVariations&&(y&&"start"===o&&f||y&&"end"===o&&d||!y&&"start"===o&&v||!y&&"end"===o&&m);(p||g||b)&&(t.flipped=!0,(p||g)&&(r=s[l+1]),b&&(o=ft(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=ee({},t.offsets.popper,K(t.instance.popper,t.offsets.reference,t.placement)),t=X(t.instance.modifiers,t,"flip"))}),t}function mt(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,s=-1!==["top","bottom"].indexOf(i),a=s?"right":"bottom",l=s?"left":"top",u=s?"width":"height";return n[a]<o(r[l])&&(t.offsets.popper[l]=o(r[l])-n[u]),n[l]>o(r[a])&&(t.offsets.popper[l]=o(r[a])),t}function gt(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],s=i[2];if(!o)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=r}return N(a)[e]/100*o}if("vh"===s||"vw"===s){return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o}return o}function yt(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),s=t.split(/(\+|\-)/).map(function(t){return t.trim()}),a=s.indexOf(G(s,function(t){return-1!==t.search(/,|\s/)}));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return u=u.map(function(t,r){var i=(1===r?!o:o)?"height":"width",s=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)},[]).map(function(t){return gt(t,i,e,n)})}),u.forEach(function(t,e){t.forEach(function(n,r){ot(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))})}),i}function bt(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,s=i.reference,a=r.split("-")[0],l=void 0;return l=ot(+n)?[+n,0]:yt(n,o,s,a),"left"===a?(o.top+=l[0],o.left-=l[1]):"right"===a?(o.top+=l[0],o.left+=l[1]):"top"===a?(o.left+=l[0],o.top-=l[1]):"bottom"===a&&(o.left+=l[0],o.top+=l[1]),t.popper=o,t}function wt(t,e){var n=e.boundariesElement||T(t.instance.popper);t.instance.reference===n&&(n=T(n));var r=V(t.instance.popper,t.instance.reference,e.padding,n);e.boundaries=r;var i=e.priority,o=t.offsets.popper,s={primary:function(t){var n=o[t];return o[t]<r[t]&&!e.escapeWithReference&&(n=Math.max(o[t],r[t])),te({},t,n)},secondary:function(t){var n="right"===t?"left":"top",i=o[n];return o[t]>r[t]&&!e.escapeWithReference&&(i=Math.min(o[n],r[t]-("right"===t?o.width:o.height))),te({},n,i)}};return i.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";o=ee({},o,s[e](t))}),t.offsets.popper=o,t}function xt(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,s=i.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",u=a?"width":"height",c={start:te({},l,o[l]),end:te({},l,o[l]+o[u]-s[u])};t.offsets.popper=ee({},s,c[r])}return t}function Ct(t){if(!ht(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=G(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}function Ot(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,o=r.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return i[s?"left":"top"]=o[e]-(a?i[s?"width":"height"]:0),t.placement=q(e),t.offsets.popper=N(i),t}function St(t){return-(t-Wt.distance)+"px"}function _t(t){var e=t.el,n=t.popper,r=t.settings,i=r.position,o=r.popperOptions,s=r.offset,a=r.distance,l=(r.flipDuration,n.querySelector(jt.TOOLTIP)),u=ce({placement:i},o||{},{modifiers:ce({},o?o.modifiers:{},{flip:ce({padding:a+5},o&&o.modifiers?o.modifiers.flip:{}),offset:ce({offset:s},o&&o.modifiers?o.modifiers.offset:{})}),onUpdate:function(){var t=l.style;t.top="",t.bottom="",t.left="",t.right="",t[m(n.getAttribute("x-placement"))]=St(a)}});return new ae(e,n,u)}function Tt(t){var e=t.el,n=t.popper,r=t.settings,i=r.appendTo,o=r.followCursor,l=r.flipDuration;if(!i.contains(n)){if(i.appendChild(n),t.popperInstance)t.popperInstance.update(),o&&!Nt.touch||t.popperInstance.enableEventListeners();else if(t.popperInstance=_t(t),window.MutationObserver){var u=n.style,c=new MutationObserver(function(){u[a("transitionDuration")]="0ms",t.popperInstance.update(),s(function(){u[a("transitionDuration")]=l+"ms"})});c.observe(n,{childList:!0,subtree:!0,characterData:!0}),t._mutationObserver=c}o&&!Nt.touch&&(e.addEventListener("mousemove",g),t.popperInstance.disableEventListeners())}}function kt(t){var e=t.popper,n=t.popperInstance,r=t.settings.stickyDuration,i=function(){return e.style[a("transitionDuration")]=r+"ms"},o=function(){return e.style[a("transitionDuration")]=""};s(function t(){n&&n.scheduleUpdate(),i(),d(e)?window.requestAnimationFrame(t):o()})}function Mt(t,e){var n=Ft.reduce(function(n,r){var i=t.getAttribute("data-"+r.toLowerCase())||e[r];return"false"===i&&(i=!1),"true"===i&&(i=!0),isFinite(i)&&!isNaN(parseFloat(i))&&(i=parseFloat(i)),"string"==typeof i&&"["===i.trim().charAt(0)&&(i=JSON.parse(i)),n[r]=i,n},{});return ce({},e,n)}function It(t,e,n){var r=n.position,i=n.distance,o=n.arrow,s=n.animateFill,a=n.inertia,l=n.animation,u=n.arrowSize,c=n.size,h=n.theme,p=n.html,f=n.zIndex,d=n.interactive,v=document.createElement("div");v.setAttribute("class","tippy-popper"),v.setAttribute("role","tooltip"),v.setAttribute("aria-hidden","true"),v.setAttribute("id","tippy-tooltip-"+t),v.style.zIndex=f;var g=document.createElement("div");if(g.setAttribute("class","tippy-tooltip tippy-tooltip--"+c+" leave"),g.setAttribute("data-animation",l),h.split(" ").forEach(function(t){g.classList.add(t+"-theme")}),o){var y=document.createElement("div");y.setAttribute("class","arrow-"+u),y.setAttribute("x-arrow",""),g.appendChild(y)}if(s){g.setAttribute("data-animatefill","");var b=document.createElement("div");b.setAttribute("class","leave"),b.setAttribute("x-circle",""),g.appendChild(b)}a&&g.setAttribute("data-inertia",""),d&&g.setAttribute("data-interactive","");var w=document.createElement("div");if(w.setAttribute("class","tippy-tooltip-content"),p){var x=void 0;p instanceof Element?(w.appendChild(p),x="#"+p.id||"tippy-html-template"):(w.innerHTML=document.getElementById(p.replace("#","")).innerHTML,x=p),v.classList.add("html-template"),d&&v.setAttribute("tabindex","-1"),g.setAttribute("data-template-id",x)}else w.innerHTML=e;return g.style[m(r)]=St(i),g.appendChild(w),v.appendChild(g),v}function Pt(t,e,n,r){var i=[];return"manual"===t?i:(e.addEventListener(t,n.handleTrigger),i.push({event:t,handler:n.handleTrigger}),"mouseenter"===t&&(Nt.SUPPORTS_TOUCH&&r&&(e.addEventListener("touchstart",n.handleTrigger),i.push({event:"touchstart",handler:n.handleTrigger}),e.addEventListener("touchend",n.handleMouseleave),i.push({event:"touchend",handler:n.handleMouseleave})),e.addEventListener("mouseleave",n.handleMouseleave),i.push({event:"mouseleave",handler:n.handleMouseleave})),"focus"===t&&(e.addEventListener("blur",n.handleBlur),i.push({event:"blur",handler:n.handleBlur})),i)}function At(t,e,n){if(!e.getAttribute("x-placement"))return!0;var r=t.clientX,i=t.clientY,o=n.interactiveBorder,s=n.distance,a=e.getBoundingClientRect(),l=m(e.getAttribute("x-placement")),u=o+s,c={top:a.top-i>o,bottom:i-a.bottom>o,left:a.left-r>o,right:r-a.right>o};switch(l){case"top":c.top=a.top-i>u;break;case"bottom":c.bottom=i-a.bottom>u;break;case"left":c.left=a.left-r>u;break;case"right":c.right=r-a.right>u}return c.top||c.bottom||c.left||c.right}function Et(t,e,r){var i=this,o=(r.position,r.delay),s=(r.duration,r.interactive),a=(r.interactiveBorder,r.distance,r.hideOnClick),l=r.trigger,u=r.touchHold,c=(r.touchWait,void 0),h=void 0,p=function(){clearTimeout(c),clearTimeout(h)},f=function(){if(p(),!d(e)){var t=Array.isArray(o)?o[0]:o;o?c=setTimeout(function(){return i.show(e)},t):i.show(e)}},v=function(t){return i.callbacks.wait?i.callbacks.wait.call(e,f,t):f()},m=function(){p();var t=Array.isArray(o)?o[1]:o;o?h=setTimeout(function(){return i.hide(e)},t):i.hide(e)};return{handleTrigger:function(n){var r="mouseenter"===n.type&&Nt.SUPPORTS_TOUCH&&Nt.touch;if(!r||!u){var i="click"===n.type,o="persistent"!==a;i&&d(e)&&o?m():v(n),r&&Nt.iOS()&&t.click&&t.click()}},handleMouseleave:function(i){if(!("mouseleave"===i.type&&Nt.SUPPORTS_TOUCH&&Nt.touch&&u)){if(s){var o=function i(o){var s=function(){document.body.removeEventListener("mouseleave",m),document.removeEventListener("mousemove",i),m()},a=n(o.target,jt.TOOLTIPPED_EL),u=n(o.target,jt.POPPER)===e,c=a===t,h=-1!==l.indexOf("click");if(a&&a!==t)return s();u||c||h||At(o,e,r)&&s()};return document.body.addEventListener("mouseleave",m),void document.addEventListener("mousemove",o)}m()}},handleBlur:function(t){t.relatedTarget&&!Nt.touch&&(n(t.relatedTarget,jt.POPPER)||m())}}}function Dt(t){var e=this;return t.reduce(function(t,n){var r=he,i=e.settings.performance?e.settings:Mt(n,e.settings);i.arrow&&(i.animateFill=!1);var o=i.html,s=i.trigger,a=i.touchHold,l=n.getAttribute("title");if(!l&&!o)return t;n.setAttribute("data-tooltipped",""),n.setAttribute("aria-describedby","tippy-tooltip-"+r),u(n);var c=It(r,l,i),h=Et.call(e,n,c,i),p=[];return s.trim().split(" ").forEach(function(t){return p=p.concat(Pt(t,n,h,a))}),t.push({id:r,el:n,popper:c,settings:i,listeners:p,tippyInstance:e}),he++,t},[])}function Rt(t,e){return new pe(t,e)}var Nt={};"undefined"!=typeof window&&(Nt.SUPPORTED="requestAnimationFrame"in window,Nt.SUPPORTS_TOUCH="ontouchstart"in window,Nt.touch=!1,Nt.dynamicInputDetection=!0,Nt.iOS=function(){return/iPhone|iPad|iPod/.test(navigator.userAgent)&&!window.MSStream});for(var Lt=[],jt={POPPER:".tippy-popper",TOOLTIP:".tippy-tooltip",CONTENT:".tippy-tooltip-content",CIRCLE:"[x-circle]",ARROW:"[x-arrow]",TOOLTIPPED_EL:"[data-tooltipped]",CONTROLLER:"[data-tippy-controller]"},Wt={html:!1,position:"top",animation:"shift",animateFill:!0,arrow:!1,arrowSize:"regular",delay:0,trigger:"mouseenter focus",duration:350,interactive:!1,interactiveBorder:2,theme:"dark",size:"regular",distance:10,offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,flipDuration:350,sticky:!1,stickyDuration:200,appendTo:null,zIndex:9999,touchHold:!1,performance:!1,dynamicTitle:!1,popperOptions:{}},Ft=Nt.SUPPORTED&&Object.keys(Wt),Vt=Element.prototype,Ht=Vt.matches||Vt.matchesSelector||Vt.webkitMatchesSelector||Vt.mozMatchesSelector||Vt.msMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),n=e.length;--n>=0&&e.item(n)!==this;);return n>-1},zt=["native code","[object MutationObserverConstructor]"],Bt=function(t){return zt.some(function(e){return(t||"").toString().indexOf(e)>-1})},Ut="undefined"!=typeof window,qt=["Edge","Trident","Firefox"],Kt=0,Gt=0;Gt<qt.length;Gt+=1)if(Ut&&navigator.userAgent.indexOf(qt[Gt])>=0){Kt=1;break}var Yt=Ut&&Bt(window.MutationObserver),Xt=Yt?w:x,Jt=void 0,Zt=function(){return void 0===Jt&&(Jt=-1!==navigator.appVersion.indexOf("MSIE 10")),Jt},Qt=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},$t=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),te=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},ee=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ne=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],re=ne.slice(3),ie={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},oe={shift:{order:100,enabled:!0,fn:xt},offset:{order:200,enabled:!0,fn:bt,offset:0},preventOverflow:{order:300,enabled:!0,fn:wt,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:mt},arrow:{order:500,enabled:!0,fn:pt,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:vt,behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:Ot},hide:{order:800,enabled:!0,fn:Ct},computeStyle:{order:850,enabled:!0,fn:ct,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:lt,onLoad:ut,gpuAcceleration:void 0}},se={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:oe},ae=function(){function t(e,n){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Qt(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=Xt(this.update.bind(this)),this.options=ee({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e.jquery?e[0]:e,this.popper=n.jquery?n[0]:n,this.options.modifiers={},Object.keys(ee({},t.Defaults.modifiers,i.modifiers)).forEach(function(e){r.options.modifiers[e]=ee({},t.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return ee({name:t},r.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&C(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return $t(t,[{key:"update",value:function(){return J.call(this)}},{key:"destroy",value:function(){return $.call(this)}},{key:"enableEventListeners",value:function(){return nt.call(this)}},{key:"disableEventListeners",value:function(){return it.call(this)}}]),t}();ae.Utils=("undefined"!=typeof window?window:e).PopperUtils,ae.placements=ne,ae.Defaults=se;var le=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},ue=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),ce=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},he=1,pe=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};le(this,t),Nt.SUPPORTED&&(o(),this.state={destroyed:!1},this.selector=e,this.settings=ce({},Wt,n),this.callbacks={wait:n.wait,show:n.onShow||n.show||v,shown:n.onShown||n.shown||v,hide:n.onHide||n.hide||v,hidden:n.onHidden||n.hidden||v},this.store=Dt.call(this,y(e)),Lt.push.apply(Lt,this.store))}return ue(t,[{key:"getPopperElement",value:function(t){try{return r(this.store,function(e){return e.el===t}).popper}catch(t){console.error("[getPopperElement]: Element passed as the argument does not exist in the instance")}}},{key:"getReferenceElement",value:function(t){try{return r(this.store,function(e){return e.popper===t}).el}catch(t){console.error("[getReferenceElement]: Popper passed as the argument does not exist in the instance")}}},{key:"getReferenceData",value:function(t){return r(this.store,function(e){return e.el===t||e.popper===t})}},{key:"show",value:function(t,e){var n=this;if(!this.state.destroyed){this.callbacks.show.call(t);var i=r(this.store,function(e){return e.popper===t}),o=t.querySelector(jt.TOOLTIP),a=t.querySelector(jt.CIRCLE),l=t.querySelector(jt.CONTENT),c=i.el,v=i.settings,m=(v.appendTo,v.sticky),g=v.interactive,y=v.followCursor,w=v.flipDuration,x=v.duration;if(v.dynamicTitle){var C=c.getAttribute("title");C&&(l.innerHTML=C,u(c))}var O=void 0!==e?e:Array.isArray(x)?x[0]:x;f([t,o,a],0),Tt(i),t.style.visibility="visible",t.setAttribute("aria-hidden","false"),s(function(){d(t)&&(y&&!Nt.touch||i.popperInstance.update(),f([o,a],O),y&&!Nt.touch||f([t],w),a&&(l.style.opacity=1),g&&c.classList.add("active"),m&&kt(i),h(o,a),p([o,a],function(t){t.contains("tippy-notransition")&&t.remove("tippy-notransition"),t.remove("leave"),t.add("enter")}),b(i,O,function(){d(t)&&!i._onShownFired&&(g&&t.focus(),o.classList.add("tippy-notransition"),i._onShownFired=!0,n.callbacks.shown.call(t))}))})}}},{key:"hide",value:function(t,e){var n=this;if(!this.state.destroyed){this.callbacks.hide.call(t);var i=r(this.store,function(e){return e.popper===t}),o=t.querySelector(jt.TOOLTIP),s=t.querySelector(jt.CIRCLE),a=t.querySelector(jt.CONTENT),l=i.el,u=i.settings,h=u.appendTo,v=(u.sticky,u.interactive),m=(u.followCursor,u.html),y=u.trigger,w=u.duration,x=void 0!==e?e:Array.isArray(w)?w[1]:w;i._onShownFired=!1,v&&l.classList.remove("active"),t.style.visibility="hidden",t.setAttribute("aria-hidden","true"),f([o,s,s?a:null],x),s&&(a.style.opacity=0),p([o,s],function(t){t.contains("tippy-tooltip")&&t.remove("tippy-notransition"),t.remove("enter"),t.add("leave")}),m&&-1!==y.indexOf("click")&&c(l)&&l.focus(),b(i,x,function(){!d(t)&&h.contains(t)&&(l.removeEventListener("mousemove",g),i.popperInstance.disableEventListeners(),h.removeChild(t),n.callbacks.hidden.call(t))})}}},{key:"update",value:function(t){if(!this.state.destroyed){var e=r(this.store,function(e){return e.popper===t}),n=t.querySelector(jt.CONTENT),i=e.el,o=e.settings.html;if(o instanceof Element)return void console.warn("Aborted: update() should not be used if `html` is a DOM element");n.innerHTML=o?document.getElementById(o.replace("#","")).innerHTML:i.getAttribute("title")||i.getAttribute("data-original-title"),o||u(i)}}},{key:"destroy",value:function(t,e){var n=this;if(!this.state.destroyed){var i=r(this.store,function(e){return e.popper===t}),o=i.el,s=i.popperInstance,a=i.listeners,u=i._mutationObserver;d(t)&&this.hide(t,0),a.forEach(function(t){return o.removeEventListener(t.event,t.handler)}),o.setAttribute("title",o.getAttribute("data-original-title")),o.removeAttribute("data-original-title"),o.removeAttribute("data-tooltipped"),o.removeAttribute("aria-describedby"),s&&s.destroy(),u&&u.disconnect(),Lt.splice(l(Lt,function(e){return e.popper===t}),1),(void 0===e||e)&&(this.store=Lt.filter(function(t){return t.tippyInstance===n}))}}},{key:"destroyAll",value:function(){var t=this;if(!this.state.destroyed){var e=this.store.length;this.store.forEach(function(n,r){var i=n.popper;t.destroy(i,r===e-1)}),this.store=null,this.state.destroyed=!0}}}]),t}();return Rt.Browser=Nt,Rt.Defaults=Wt,Rt.disableDynamicInputDetection=function(){return Nt.dynamicInputDetection=!1},Rt.enableDynamicInputDetection=function(){return Nt.dynamicInputDetection=!0},Rt})}).call(e,n("DuR2"))},"/rMs":function(t,e,n){"use strict";var r=n("rCTf"),i=n("8MUz");r.Observable.prototype.concat=i.concat},"09LQ":function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("B00U");e._finally=r;var a=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.callback))},t}(),l=function(t){function e(e,n){t.call(this,e),this.add(new s.Subscription(n))}return i(e,t),e}(o.Subscriber)},"0EZR":function(t,e,n){"use strict";function r(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function i(t){var e=t.err;t.subject.error(e)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("rCTf"),a=n("+3eL"),l=n("WhVc"),u=n("5c/I"),c=function(t){function e(e,n,r,i,o){t.call(this),this.callbackFunc=e,this.selector=n,this.args=r,this.context=i,this.scheduler=o}return o(e,t),e.create=function(t,n,r){return void 0===n&&(n=void 0),function(){for(var i=[],o=0;o<arguments.length;o++)i[o-0]=arguments[o];return new e(t,n,i,this,r)}},e.prototype._subscribe=function(t){var n=this.callbackFunc,r=this.args,i=this.scheduler,o=this.subject;if(i)return i.schedule(e.dispatch,0,{source:this,subscriber:t,context:this.context});if(!o){o=this.subject=new u.AsyncSubject;var s=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var r=t.source,i=r.selector,o=r.subject;if(i){var s=a.tryCatch(i).apply(this,e);s===l.errorObject?o.error(l.errorObject.e):(o.next(s),o.complete())}else o.next(e.length<=1?e[0]:e),o.complete()};s.source=this;a.tryCatch(n).apply(this.context,r.concat(s))===l.errorObject&&o.error(l.errorObject.e)}return o.subscribe(t)},e.dispatch=function(t){var e=this,n=t.source,o=t.subscriber,s=t.context,c=n.callbackFunc,h=n.args,p=n.scheduler,f=n.subject;if(!f){f=n.subject=new u.AsyncSubject;var d=function t(){for(var n=[],o=0;o<arguments.length;o++)n[o-0]=arguments[o];var s=t.source,u=s.selector,c=s.subject;if(u){var h=a.tryCatch(u).apply(this,n);h===l.errorObject?e.add(p.schedule(i,0,{err:l.errorObject.e,subject:c})):e.add(p.schedule(r,0,{value:h,subject:c}))}else{var f=n.length<=1?n[0]:n;e.add(p.schedule(r,0,{value:f,subject:c}))}};d.source=n;a.tryCatch(c).apply(s,h.concat(d))===l.errorObject&&f.error(l.errorObject.e)}e.add(f.subscribe(o))},e}(s.Observable);e.BoundCallbackObservable=c},"0GXu":function(t,e,n){"use strict";function r(t){return void 0===t&&(t=-1),0===t?new s.EmptyObservable:t<0?this.lift(new a(-1,this)):this.lift(new a(t-1,this))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("jBEF");e.repeat=r;var a=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.count,this.source))},t}(),l=function(t){function e(e,n,r){t.call(this,e),this.count=n,this.source=r}return i(e,t),e.prototype.complete=function(){if(!this.isStopped){var e=this,n=e.source,r=e.count;if(0===r)return t.prototype.complete.call(this);r>-1&&(this.count=r-1),n.subscribe(this._unsubscribeAndRecycle())}},e}(o.Subscriber)},"0TiQ":function(t,e,n){"use strict";var r=n("rCTf"),i=n("QNuG");r.Observable.prototype.publishLast=i.publishLast},"0VSF":function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.sample=r;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new l(t),r=e.subscribe(n);return r.add(s.subscribeToResult(n,this.notifier)),r},t}(),l=function(t){function e(){t.apply(this,arguments),this.hasValue=!1}return i(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,n,r,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(o.OuterSubscriber)},"0gHg":function(t,e,n){"use strict";function r(t,e,n){return void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===e&&(e=Number.POSITIVE_INFINITY),o.multicast.call(this,new i.ReplaySubject(t,e,n))}var i=n("MQMf"),o=n("emOw");e.publishReplay=r},"10Gq":function(t,e,n){"use strict";var r=n("rCTf"),i=n("Cx8F");r.Observable.prototype.retryWhen=i.retryWhen},"16m9":function(t,e,n){"use strict";var r=n("rCTf"),i=n("Yuqe");r.Observable.prototype.concatMapTo=i.concatMapTo},"1APj":function(t,e,n){"use strict";var r=n("rCTf"),i=n("lgiQ");r.Observable.of=i.of},"1Axw":function(t,e,n){"use strict";function r(t,e){return e?new h(this,e).lift(new u(t)):this.lift(new u(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("rCTf"),a=n("wAkD"),l=n("CURp");e.delayWhen=r;var u=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.delayDurationSelector))},t}(),c=function(t){function e(e,n){t.call(this,e),this.delayDurationSelector=n,this.completed=!1,this.delayNotifierSubscriptions=[],this.values=[]}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(t),this.removeSubscription(i),this.tryComplete()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(t){try{var e=this.delayDurationSelector(t);e&&this.tryDelay(e,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t),n=null;return-1!==e&&(n=this.values[e],this.delayNotifierSubscriptions.splice(e,1),this.values.splice(e,1)),n},e.prototype.tryDelay=function(t,e){var n=l.subscribeToResult(this,t,e);n&&!n.closed&&(this.add(n),this.delayNotifierSubscriptions.push(n)),this.values.push(e)},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(a.OuterSubscriber),h=function(t){function e(e,n){t.call(this),this.source=e,this.subscriptionDelay=n}return i(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new p(t,this.source))},e}(s.Observable),p=function(t){function e(e,n){t.call(this),this.parent=e,this.source=n,this.sourceSubscribed=!1}return i(e,t),e.prototype._next=function(t){this.subscribeToSource()},e.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},e.prototype._complete=function(){this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(o.Subscriber)},"1Cj3":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("9Avi"),o=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(i.AsyncScheduler);e.AsapScheduler=o},"1NVl":function(t,e,n){"use strict";var r=n("rCTf"),i=n("83T1");r.Observable.prototype.every=i.every},"1Nls":function(t,e,n){"use strict";var r=n("rCTf"),i=n("gIFM");r.Observable.ajax=i.ajax},"1VLl":function(t,e,n){"use strict";var r=n("rCTf"),i=n("ASN6");r.Observable.onErrorResumeNext=i.onErrorResumeNextStatic},"1Z2I":function(t,e,n){"use strict";var r=n("3j3K"),i=n("2Je8"),o=n("W5jB"),s=n("nCuf");n.d(e,"a",function(){return a});var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();a.decorators=[{type:r.NgModule,args:[{declarations:[o.a],exports:[o.a],imports:[i.CommonModule]}]}],a.ctorParameters=function(){return[]}},"1ZrL":function(t,e,n){"use strict";var r=n("rCTf"),i=n("lU4I");r.Observable.concat=i.concat},"1hN3":function(t,e,n){"use strict";function r(t){return this.lift(new c(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("B00U"),s=n("+3eL"),a=n("WhVc"),l=n("wAkD"),u=n("CURp");e.bufferWhen=r;var c=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.closingSelector))},t}(),h=function(t){function e(e,n){t.call(this,e),this.closingSelector=n,this.subscribing=!1,this.openBuffer()}return i(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},e.prototype.notifyNext=function(t,e,n,r,i){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe());var e=this.buffer;this.buffer&&this.destination.next(e),this.buffer=[];var n=s.tryCatch(this.closingSelector)();n===a.errorObject?this.error(a.errorObject.e):(t=new o.Subscription,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(u.subscribeToResult(this,n)),this.subscribing=!1)},e}(l.OuterSubscriber)},"1k2o":function(t,e,n){"use strict";var r=n("rCTf"),i=n("33Pm");r.Observable.bindCallback=i.bindCallback},"1kxm":function(t,e,n){"use strict";var r=function(){function t(){this.values={}}return t.prototype.delete=function(t){return this.values[t]=null,!0},t.prototype.set=function(t,e){return this.values[t]=e,this},t.prototype.get=function(t){return this.values[t]},t.prototype.forEach=function(t,e){var n=this.values;for(var r in n)n.hasOwnProperty(r)&&null!==n[r]&&t.call(e,n[r],r)},t.prototype.clear=function(){this.values={}},t}();e.FastMap=r},2395:function(t,e,n){"use strict";var r=n("rCTf"),i=n("9TuE");r.Observable.prototype.isEmpty=i.isEmpty},"2AEF":function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.exhaustMap=r;var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.project,this.resultSelector))},t}(),l=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.resultSelector=r,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return i(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e=this.index++,n=this.destination;try{var r=this.project(t,e);this.hasSubscription=!0,this.add(s.subscribeToResult(this,r,t,e))}catch(t){n.error(t)}},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this,s=o.resultSelector,a=o.destination;s?this.trySelectResult(t,e,n,r):a.next(e)},e.prototype.trySelectResult=function(t,e,n,r){var i=this,o=i.resultSelector,s=i.destination;try{var a=o(t,e,n,r);s.next(a)}catch(t){s.error(t)}},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber)},"2BXm":function(t,e,n){"use strict";var r=n("3j3K"),i=n("2yGx");n.d(e,"a",function(){return o});var o=function(){function t(){this.activeIdx=0,this.focusFirst=!0,this.formatter=i.d,this.selectEvent=new r.EventEmitter,this.activeChangeEvent=new r.EventEmitter}return t.prototype.getActive=function(){return this.results[this.activeIdx]},t.prototype.markActive=function(t){this.activeIdx=t,this._activeChanged()},t.prototype.next=function(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()},t.prototype.prev=function(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()},t.prototype.select=function(t){this.selectEvent.emit(t)},t.prototype.ngOnInit=function(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()},t.prototype._activeChanged=function(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)},t}();o.decorators=[{type:r.Component,args:[{selector:"ngb-typeahead-window",exportAs:"ngbTypeaheadWindow",host:{class:"dropdown-menu",style:"display: block",role:"listbox","[id]":"id"},template:'\n <ng-template #rt let-result="result" let-term="term" let-formatter="formatter">\n <ngb-highlight [result]="formatter(result)" [term]="term"></ngb-highlight>\n </ng-template>\n <ng-template ngFor [ngForOf]="results" let-result let-idx="index">\n <button type="button" class="dropdown-item" role="option"\n [id]="id + \'-\' + idx"\n [class.active]="idx === activeIdx"\n (mouseenter)="markActive(idx)"\n (click)="select(result)">\n <ng-template [ngTemplateOutlet]="resultTemplate || rt"\n [ngOutletContext]="{result: result, term: term, formatter: formatter}"></ng-template>\n </button>\n </ng-template>\n '}]}],o.ctorParameters=function(){return[]},o.propDecorators={id:[{type:r.Input}],focusFirst:[{type:r.Input}],results:[{type:r.Input}],term:[{type:r.Input}],formatter:[{type:r.Input}],resultTemplate:[{type:r.Input}],selectEvent:[{type:r.Output,args:["select"]}],activeChangeEvent:[{type:r.Output,args:["activeChange"]}]}},"2ER/":function(t,e,n){"use strict";var r=function(){function t(){this.size=0,this._values=[],this._keys=[]}return t.prototype.get=function(t){var e=this._keys.indexOf(t);return-1===e?void 0:this._values[e]},t.prototype.set=function(t,e){var n=this._keys.indexOf(t);return-1===n?(this._keys.push(t),this._values.push(e),this.size++):this._values[n]=e,this},t.prototype.delete=function(t){var e=this._keys.indexOf(t);return-1!==e&&(this._values.splice(e,1),this._keys.splice(e,1),this.size--,!0)},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this.size=0},t.prototype.forEach=function(t,e){for(var n=0;n<this.size;n++)t.call(e,this._values[n],this._keys[n])},t}();e.MapPolyfill=r},"2NoN":function(t,e,n){"use strict";function r(t){return u["ɵvid"](0,[(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,1,"div",[["ngbDatepickerDayView",""]],[[2,"bg-primary",null],[2,"text-white",null],[2,"text-muted",null],[2,"outside",null],[2,"btn-secondary",null]],null,null,c.a,c.b)),u["ɵdid"](49152,null,0,h.a,[],{currentMonth:[0,"currentMonth"],date:[1,"date"],disabled:[2,"disabled"],selected:[3,"selected"]},null),(t()(),u["ɵted"](null,["\n "]))],function(t,e){t(e,2,0,e.context.currentMonth,e.context.date,e.context.disabled,e.context.selected)},function(t,e){t(e,1,0,u["ɵnov"](e,2).selected,u["ɵnov"](e,2).selected,u["ɵnov"](e,2).isMuted(),u["ɵnov"](e,2).isMuted(),!u["ɵnov"](e,2).disabled)})}function i(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,2,"ngb-datepicker-navigation",[["class","d-flex justify-content-between"]],[[2,"collapsed",null]],[[null,"navigate"],[null,"select"]],function(t,e,n){var r=!0,i=t.component;if("navigate"===e){r=!1!==i.onNavigateEvent(n)&&r}if("select"===e){r=!1!==i.onNavigateDateSelect(n)&&r}return r},p.a,p.b)),u["ɵdid"](49152,null,0,f.a,[d.a,v.a],{date:[0,"date"],disabled:[1,"disabled"],maxDate:[2,"maxDate"],minDate:[3,"minDate"],months:[4,"months"],showSelect:[5,"showSelect"],showWeekNumbers:[6,"showWeekNumbers"]},{navigate:"navigate",select:"select"}),(t()(),u["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,1,0,null==n.months[0]?null:n.months[0].firstDate,n.disabled,n._maxDate,n._minDate,n.months.length,"select"===n.navigation,n.showWeekNumbers)},function(t,e){t(e,0,0,!u["ɵnov"](e,1).showSelect)})}function o(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,1,"div",[["class","ngb-dp-month-name text-center"]],null,null,null,null,null)),(t()(),u["ɵted"](null,["\n "," ","\n "]))],null,function(t,e){t(e,1,0,e.component.i18n.getMonthFullName(e.parent.context.$implicit.number),e.parent.context.$implicit.year)})}function s(t){return u["ɵvid"](0,[(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,8,"div",[["class","ngb-dp-month d-block ml-3"]],null,null,null,null,null)),(t()(),u["ɵted"](null,[" \n "])),(t()(),u["ɵand"](16777216,null,null,1,null,o)),u["ɵdid"](16384,null,0,m.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,2,"ngb-datepicker-month-view",[["class","d-block"]],null,[[null,"select"]],function(t,e,n){var r=!0,i=t.component;if("select"===e){r=!1!==i.onDateSelect(n)&&r}return r},g.a,g.b)),u["ɵdid"](49152,null,0,y.a,[d.a],{dayTemplate:[0,"dayTemplate"],disabled:[1,"disabled"],month:[2,"month"],outsideDays:[3,"outsideDays"],selectedDate:[4,"selectedDate"],showWeekdays:[5,"showWeekdays"],showWeekNumbers:[6,"showWeekNumbers"]},{select:"select"}),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,4,0,"select"!==n.navigation||n.displayMonths>1),t(e,7,0,n.dayTemplate||u["ɵnov"](e.parent,1),n.disabled,e.context.$implicit,1===n.displayMonths?n.outsideDays:"hidden",n.model,n.showWeekdays,n.showWeekNumbers)},null)}function a(t){return u["ɵvid"](0,[(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵand"](0,[["dt",2]],null,0,null,r)),(t()(),u["ɵted"](null,["\n \n "])),(t()(),u["ɵeld"](0,null,null,4,"div",[["class","ngb-dp-header bg-faded pt-1 rounded-top"]],[[4,"height","rem"],[4,"marginBottom","rem"]],null,null,null,null)),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵand"](16777216,null,null,1,null,i)),u["ɵdid"](16384,null,0,m.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n\n "])),(t()(),u["ɵeld"](0,null,null,4,"div",[["class","ngb-dp-months d-flex px-1 pb-1"]],null,null,null,null,null)),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵand"](16777216,null,null,1,null,s)),u["ɵdid"](802816,null,0,m.NgForOf,[u.ViewContainerRef,u.TemplateRef,u.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,6,0,"none"!==n.navigation),t(e,12,0,n.months)},function(t,e){var n=e.component;t(e,3,0,n.getHeaderHeight(),0-n.getHeaderMargin())})}function l(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,3,"ngb-datepicker",[["class","d-inline-block rounded"]],null,null,null,w.b,w.c)),u["ɵprd"](5120,null,x.NG_VALUE_ACCESSOR,function(t){return[t]},[b.a]),u["ɵprd"](512,null,C.a,C.a,[v.a]),u["ɵdid"](638976,null,0,b.a,[C.a,v.a,d.a,O.a],null,null)],function(t,e){t(e,3,0)},null)}var u=n("3j3K"),c=n("Mn0/"),h=n("U6gI"),p=n("YDZ5"),f=n("3fcS"),d=n("gEbu"),v=n("lcaH"),m=n("2Je8"),g=n("4yvs"),y=n("5ZV5"),b=n("/KGk"),w=n("2NoN"),x=n("NVOs"),C=n("fAHw"),O=n("hwnt");n.d(e,"c",function(){return _}),e.b=a,n.d(e,"a",function(){return T});var S=["[_nghost-%COMP%] {\n border: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-header[_ngcontent-%COMP%] {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-month[_ngcontent-%COMP%] {\n pointer-events: none;\n }\n ngb-datepicker-month-view[_ngcontent-%COMP%] {\n pointer-events: auto;\n }\n .ngb-dp-month[_ngcontent-%COMP%]:first-child {\n margin-left: 0 !important;\n } \n .ngb-dp-month-name[_ngcontent-%COMP%] {\n font-size: larger;\n height: 2rem;\n line-height: 2rem;\n }"],_=u["ɵcrt"]({encapsulation:0,styles:S,data:{}}),T=u["ɵccf"]("ngb-datepicker",b.a,l,{dayTemplate:"dayTemplate",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",showWeekdays:"showWeekdays",showWeekNumbers:"showWeekNumbers",startDate:"startDate"},{navigate:"navigate"},[])},"2jZb":function(t,e,n){"use strict";function r(t){return this.lift(new s(t,this))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.count=r;var s=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.source))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.predicate=n,this.source=r,this.count=0,this.index=0}return i(e,t),e.prototype._next=function(t){this.predicate?this._tryPredicate(t):this.count++},e.prototype._tryPredicate=function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e&&this.count++},e.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},e}(o.Subscriber)},"2yGx":function(t,e,n){"use strict";function r(t){return parseInt(""+t,10)}function i(t){return void 0!==t&&null!==t?""+t:""}function o(t,e,n){return void 0===n&&(n=0),Math.max(Math.min(t,e),n)}function s(t){return"string"==typeof t}function a(t){return!isNaN(r(t))}function l(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}function u(t){return void 0!==t&&null!==t}function c(t){return a(t)?("0"+t).slice(-2):""}function h(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}e.b=r,e.d=i,e.e=o,e.f=s,e.a=a,e.i=l,e.h=u,e.c=c,e.g=h},"33Pm":function(t,e,n){"use strict";var r=n("0EZR");e.bindCallback=r.BoundCallbackObservable.create},"3eju":function(t,e,n){"use strict";var r=n("+Y2e");e.webSocket=r.WebSocketSubject.create},"3fcS":function(t,e,n){"use strict";var r=n("3j3K"),i=n("+Qf+"),o=n("gEbu"),s=n("lcaH");n.d(e,"a",function(){return a});var a=function(){function t(t,e){this.i18n=t,this._calendar=e,this.navigation=i.a,this.navigate=new r.EventEmitter,this.select=new r.EventEmitter}return t.prototype.doNavigate=function(t){this.navigate.emit(t)},t.prototype.nextDisabled=function(){return this.disabled||this.maxDate&&this._calendar.getNext(this.date,"m").after(this.maxDate)},t.prototype.prevDisabled=function(){var t=this._calendar.getPrev(this.date,"m");return this.disabled||this.minDate&&t.year<=this.minDate.year&&t.month<this.minDate.month},t.prototype.selectDate=function(t){this.select.emit(t)},t}();a.decorators=[{type:r.Component,args:[{selector:"ngb-datepicker-navigation",host:{class:"d-flex justify-content-between","[class.collapsed]":"!showSelect"},styles:["\n :host {\n height: 2rem;\n line-height: 1.85rem;\n }\n :host.collapsed {\n margin-bottom: -2rem; \n }\n .ngb-dp-navigation-chevron::before {\n border-style: solid;\n border-width: 0.2em 0.2em 0 0;\n content: '';\n display: inline-block;\n height: 0.75em;\n transform: rotate(-135deg);\n -webkit-transform: rotate(-135deg);\n -ms-transform: rotate(-135deg);\n width: 0.75em;\n margin: 0 0 0 0.5rem;\n } \n .ngb-dp-navigation-chevron.right:before {\n -webkit-transform: rotate(45deg);\n -ms-transform: rotate(45deg);\n transform: rotate(45deg);\n margin: 0 0.5rem 0 0;\n }\n .btn-link {\n cursor: pointer;\n outline: 0;\n }\n .btn-link[disabled] {\n cursor: not-allowed;\n opacity: .65;\n } \n "],template:'\n <button type="button" class="btn-link" (click)="!!doNavigate(navigation.PREV)" [disabled]="prevDisabled()">\n <span class="ngb-dp-navigation-chevron"></span> \n </button>\n \n <ngb-datepicker-navigation-select *ngIf="showSelect" class="d-block" [style.width.rem]="months * 9"\n [date]="date"\n [minDate]="minDate"\n [maxDate]="maxDate"\n [disabled] = "disabled"\n (select)="selectDate($event)">\n </ngb-datepicker-navigation-select>\n \n <button type="button" class="btn-link" (click)="!!doNavigate(navigation.NEXT)" [disabled]="nextDisabled()">\n <span class="ngb-dp-navigation-chevron right"></span>\n </button>\n '}]}],a.ctorParameters=function(){return[{type:o.a},{type:s.a}]},a.propDecorators={date:[{type:r.Input}],disabled:[{type:r.Input}],maxDate:[{type:r.Input}],minDate:[{type:r.Input}],months:[{type:r.Input}],showSelect:[{type:r.Input}],showWeekNumbers:[{type:r.Input}],navigate:[{type:r.Output}],select:[{type:r.Output}]}},"3kwk":function(t,e,n){"use strict";var r=n("3j3K"),i=n("CXHW");n.d(e,"a",function(){return o});var o=function(){function t(t,e,n){this._moduleCFR=t,this._injector=e,this._modalStack=n}return t.prototype.open=function(t,e){return void 0===e&&(e={}),this._modalStack.open(this._moduleCFR,this._injector,t,e)},t}();o.decorators=[{type:r.Injectable}],o.ctorParameters=function(){return[{type:r.ComponentFactoryResolver},{type:r.Injector},{type:i.a}]}},"48bo":function(t,e,n){"use strict";var r=n("rCTf"),i=n("Y3yw");r.Observable.prototype.race=i.race},"4Ie8":function(t,e,n){"use strict";var r=n("rCTf"),i=n("52Ty");r.Observable.prototype.publish=i.publish},"4yvs":function(t,e,n){"use strict";function r(t){return d["ɵvid"](0,[(t()(),d["ɵeld"](0,null,null,0,"div",[["class","ngb-dp-weekday"]],null,null,null,null,null))],null,null)}function i(t){return d["ɵvid"](0,[(t()(),d["ɵeld"](0,null,null,1,"div",[["class","ngb-dp-weekday small text-center text-info font-italic"]],null,null,null,null,null)),(t()(),d["ɵted"](null,["\n ","\n "]))],null,function(t,e){t(e,1,0,e.component.i18n.getWeekdayShortName(e.context.$implicit))})}function o(t){return d["ɵvid"](0,[(t()(),d["ɵeld"](0,null,null,7,"div",[["class","ngb-dp-week d-flex"]],null,null,null,null,null)),(t()(),d["ɵted"](null,["\n "])),(t()(),d["ɵand"](16777216,null,null,1,null,r)),d["ɵdid"](16384,null,0,v.NgIf,[d.ViewContainerRef,d.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),d["ɵted"](null,["\n "])),(t()(),d["ɵand"](16777216,null,null,1,null,i)),d["ɵdid"](802816,null,0,v.NgForOf,[d.ViewContainerRef,d.TemplateRef,d.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),d["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,3,0,n.showWeekNumbers),t(e,6,0,n.month.weekdays)},null)}function s(t){return d["ɵvid"](0,[(t()(),d["ɵeld"](0,null,null,1,"div",[["class","ngb-dp-week-number small text-center font-italic text-muted"]],null,null,null,null,null)),(t()(),d["ɵted"](null,["",""]))],null,function(t,e){t(e,1,0,e.parent.parent.context.$implicit.number)})}function a(t){return d["ɵvid"](0,[(t()(),d["ɵted"](null,["\n "]))],null,null)}function l(t){return d["ɵvid"](0,[(t()(),d["ɵted"](null,["\n "])),(t()(),d["ɵand"](16777216,null,null,3,null,a)),d["ɵdid"](540672,null,0,v.NgTemplateOutlet,[d.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"],ngOutletContext:[1,"ngOutletContext"]},null),d["ɵpod"](["year","month","day"]),d["ɵpod"](["date","currentMonth","disabled","selected"]),(t()(),d["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,2,0,n.dayTemplate,t(e,4,0,t(e,3,0,e.parent.context.$implicit.date.year,e.parent.context.$implicit.date.month,e.parent.context.$implicit.date.day),n.month.number,n.isDisabled(e.parent.context.$implicit),n.isSelected(e.parent.context.$implicit.date)))},null)}function u(t){return d["ɵvid"](0,[(t()(),d["ɵeld"](0,null,null,4,"div",[["class","ngb-dp-day"]],[[2,"disabled",null],[2,"hidden",null]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==i.doSelect(t.context.$implicit)&&r}return r},null,null)),(t()(),d["ɵted"](null,["\n "])),(t()(),d["ɵand"](16777216,null,null,1,null,l)),d["ɵdid"](16384,null,0,v.NgIf,[d.ViewContainerRef,d.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),d["ɵted"](null,["\n "]))],function(t,e){t(e,3,0,!e.component.isHidden(e.context.$implicit))},function(t,e){var n=e.component;t(e,0,0,n.isDisabled(e.context.$implicit),n.isHidden(e.context.$implicit))})}function c(t){return d["ɵvid"](0,[(t()(),d["ɵeld"](0,null,null,7,"div",[["class","ngb-dp-week d-flex"]],null,null,null,null,null)),(t()(),d["ɵted"](null,["\n "])),(t()(),d["ɵand"](16777216,null,null,1,null,s)),d["ɵdid"](16384,null,0,v.NgIf,[d.ViewContainerRef,d.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),d["ɵted"](null,["\n "])),(t()(),d["ɵand"](16777216,null,null,1,null,u)),d["ɵdid"](802816,null,0,v.NgForOf,[d.ViewContainerRef,d.TemplateRef,d.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),d["ɵted"](null,["\n "]))],function(t,e){t(e,3,0,e.component.showWeekNumbers),t(e,6,0,e.parent.context.$implicit.days)},null)}function h(t){return d["ɵvid"](0,[(t()(),d["ɵted"](null,["\n "])),(t()(),d["ɵand"](16777216,null,null,1,null,c)),d["ɵdid"](16384,null,0,v.NgIf,[d.ViewContainerRef,d.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),d["ɵted"](null,["\n "]))],function(t,e){t(e,2,0,!e.component.isCollapsed(e.context.$implicit))},null)}function p(t){return d["ɵvid"](0,[(t()(),d["ɵted"](null,["\n "])),(t()(),d["ɵand"](16777216,null,null,1,null,o)),d["ɵdid"](16384,null,0,v.NgIf,[d.ViewContainerRef,d.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),d["ɵted"](null,["\n "])),(t()(),d["ɵand"](16777216,null,null,1,null,h)),d["ɵdid"](802816,null,0,v.NgForOf,[d.ViewContainerRef,d.TemplateRef,d.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),d["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,2,0,n.showWeekdays),t(e,5,0,n.month.weeks)},null)}function f(t){return d["ɵvid"](0,[(t()(),d["ɵeld"](0,null,null,1,"ngb-datepicker-month-view",[["class","d-block"]],null,null,null,g.a,g.b)),d["ɵdid"](49152,null,0,m.a,[y.a],null,null)],null,null)}var d=n("3j3K"),v=n("2Je8"),m=n("5ZV5"),g=n("4yvs"),y=n("gEbu");n.d(e,"b",function(){return w}),e.a=p;var b=[".ngb-dp-weekday[_ngcontent-%COMP%], .ngb-dp-week-number[_ngcontent-%COMP%] {\n line-height: 2rem;\n }\n .ngb-dp-day[_ngcontent-%COMP%], .ngb-dp-weekday[_ngcontent-%COMP%], .ngb-dp-week-number[_ngcontent-%COMP%] {\n width: 2rem;\n height: 2rem; \n }\n .ngb-dp-day[_ngcontent-%COMP%] {\n cursor: pointer;\n }\n .ngb-dp-day.disabled[_ngcontent-%COMP%], .ngb-dp-day.hidden[_ngcontent-%COMP%] {\n cursor: default;\n }"],w=d["ɵcrt"]({encapsulation:0,styles:b,data:{}});d["ɵccf"]("ngb-datepicker-month-view",m.a,f,{dayTemplate:"dayTemplate",disabled:"disabled",month:"month",outsideDays:"outsideDays",selectedDate:"selectedDate",showWeekdays:"showWeekdays",showWeekNumbers:"showWeekNumbers"},{select:"select"},[])},"52Ty":function(t,e,n){"use strict";function r(t){return t?o.multicast.call(this,function(){return new i.Subject},t):o.multicast.call(this,new i.Subject)}var i=n("EEr4"),o=n("emOw");e.publish=r},"5ZV5":function(t,e,n){"use strict";var r=n("3j3K"),i=n("hlt1"),o=n("gEbu");n.d(e,"a",function(){return s});var s=function(){function t(t){this.i18n=t,this.select=new r.EventEmitter}return t.prototype.doSelect=function(t){this.isDisabled(t)||this.isHidden(t)||this.select.emit(i.a.from(t.date))},t.prototype.isDisabled=function(t){return this.disabled||t.disabled},t.prototype.isSelected=function(t){return this.selectedDate&&this.selectedDate.equals(t)},t.prototype.isCollapsed=function(t){return"collapsed"===this.outsideDays&&t.days[0].date.month!==this.month.number&&t.days[t.days.length-1].date.month!==this.month.number},t.prototype.isHidden=function(t){return("hidden"===this.outsideDays||"collapsed"===this.outsideDays)&&this.month.number!==t.date.month},t}();s.decorators=[{type:r.Component,args:[{selector:"ngb-datepicker-month-view",host:{class:"d-block"},styles:["\n .ngb-dp-weekday, .ngb-dp-week-number {\n line-height: 2rem;\n }\n .ngb-dp-day, .ngb-dp-weekday, .ngb-dp-week-number {\n width: 2rem;\n height: 2rem; \n }\n .ngb-dp-day {\n cursor: pointer;\n }\n .ngb-dp-day.disabled, .ngb-dp-day.hidden {\n cursor: default;\n }\n "],template:'\n <div *ngIf="showWeekdays" class="ngb-dp-week d-flex">\n <div *ngIf="showWeekNumbers" class="ngb-dp-weekday"></div>\n <div *ngFor="let w of month.weekdays" class="ngb-dp-weekday small text-center text-info font-italic">\n {{ i18n.getWeekdayShortName(w) }}\n </div>\n </div>\n <ng-template ngFor let-week [ngForOf]="month.weeks">\n <div *ngIf="!isCollapsed(week)" class="ngb-dp-week d-flex">\n <div *ngIf="showWeekNumbers" class="ngb-dp-week-number small text-center font-italic text-muted">{{ week.number }}</div>\n <div *ngFor="let day of week.days" (click)="doSelect(day)" class="ngb-dp-day" [class.disabled]="isDisabled(day)"\n [class.hidden]="isHidden(day)">\n <ng-template [ngIf]="!isHidden(day)">\n <ng-template [ngTemplateOutlet]="dayTemplate"\n [ngOutletContext]="{date: {year: day.date.year, month: day.date.month, day: day.date.day},\n currentMonth: month.number,\n disabled: isDisabled(day),\n selected: isSelected(day.date)}">\n </ng-template>\n </ng-template>\n </div>\n </div>\n </ng-template>\n '}]}],s.ctorParameters=function(){return[{type:o.a}]},s.propDecorators={dayTemplate:[{type:r.Input}],disabled:[{type:r.Input}],month:[{type:r.Input}],outsideDays:[{type:r.Input}],selectedDate:[{type:r.Input}],showWeekdays:[{type:r.Input}],showWeekNumbers:[{type:r.Input}],select:[{type:r.Output}]}},"5c/I":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("EEr4"),o=n("B00U"),s=function(t){function e(){t.apply(this,arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}return r(e,t),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),o.Subscription.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),o.Subscription.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(i.Subject);e.AsyncSubject=s},"5nj5":function(t,e,n){"use strict";var r=n("LhE+");e._if=r.IfObservable.create},"5pRa":function(t,e,n){"use strict";function r(t){return void 0===t&&(t=s.async),this.lift(new l(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("CGGv");e.timestamp=r;var a=function(){function t(t,e){this.value=t,this.timestamp=e}return t}();e.Timestamp=a;var l=function(){function t(t){this.scheduler=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.scheduler))},t}(),u=function(t){function e(e,n){t.call(this,e),this.scheduler=n}return i(e,t),e.prototype._next=function(t){var e=this.scheduler.now();this.destination.next(new a(t,e))},e}(o.Subscriber)},"62nT":function(t,e,n){"use strict";var r=n("3j3K"),i=n("2Je8"),o=n("OEcN"),s=n("tyH+");n.d(e,"a",function(){return a});var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();a.decorators=[{type:r.NgModule,args:[{declarations:[o.a],exports:[o.a],imports:[i.CommonModule]}]}],a.ctorParameters=function(){return[]}},"69uX":function(t,e,n){"use strict";function r(t,e){return this.lift(new l(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp"),a=n("Ou9t");e.distinct=r;var l=function(){function t(t,e){this.keySelector=t,this.flushes=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.keySelector,this.flushes))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.keySelector=n,this.values=new a.Set,r&&this.add(s.subscribeToResult(this,r))}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.values.clear()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},e.prototype._useKeySelector=function(t){var e,n=this.destination;try{e=this.keySelector(t)}catch(t){return void n.error(t)}this._finalizeNext(e,t)},e.prototype._finalizeNext=function(t,e){var n=this.values;n.has(t)||(n.add(t),this.destination.next(e))},e}(o.OuterSubscriber);e.DistinctSubscriber=u},"6LiC":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=[".main-container[_ngcontent-%COMP%]{margin-top:60px;margin-left:235px;padding:15px;-ms-overflow-x:hidden;overflow-x:hidden;overflow-y:scroll;position:relative;overflow:hidden;margin-left:0!important}"]},"6Yye":function(t,e,n){"use strict";var r=n("rCTf"),i=n("+4ur");r.Observable.prototype.catch=i._catch,r.Observable.prototype._catch=i._catch},"6gFN":function(t,e,n){"use strict";var r=n("rCTf"),i=n("9oiU");r.Observable.prototype.mapTo=i.mapTo},"6hPP":function(t,e,n){"use strict";var r=n("rCTf"),i=n("t2Bb");r.Observable.prototype.sampleTime=i.sampleTime},"6s76":function(t,e,n){"use strict";var r=n("rCTf"),i=n("cJSH");r.Observable.prototype.groupBy=i.groupBy},"6uCv":function(t,e,n){"use strict";var r=n("3j3K"),i=n("c7mC");n.d(e,"b",function(){return o}),n.d(e,"a",function(){return s});var o=function(){function t(t){this._open=!1,this.openChange=new r.EventEmitter,this.up=t.up,this.autoClose=t.autoClose}return t.prototype.isOpen=function(){return this._open},t.prototype.open=function(){this._open||(this._open=!0,this.openChange.emit(!0))},t.prototype.close=function(){this._open&&(this._open=!1,this.openChange.emit(!1))},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype.closeFromOutsideClick=function(t){this.autoClose&&2!==t.button&&!this._isEventFromToggle(t)&&this.close()},t.prototype.closeFromOutsideEsc=function(){this.autoClose&&this.close()},Object.defineProperty(t.prototype,"toggleElement",{set:function(t){this._toggleElement=t},enumerable:!0,configurable:!0}),t.prototype._isEventFromToggle=function(t){return!!this._toggleElement&&this._toggleElement.contains(t.target)},t}();o.decorators=[{type:r.Directive,args:[{selector:"[ngbDropdown]",exportAs:"ngbDropdown",host:{"[class.dropdown]":"!up","[class.dropup]":"up","[class.show]":"isOpen()","(keyup.esc)":"closeFromOutsideEsc()","(document:click)":"closeFromOutsideClick($event)"}}]}],o.ctorParameters=function(){return[{type:i.a}]},o.propDecorators={up:[{type:r.Input}],autoClose:[{type:r.Input}],_open:[{type:r.Input,args:["open"]}],openChange:[{type:r.Output}]};var s=function(){function t(t,e){this.dropdown=t,t.toggleElement=e.nativeElement}return t.prototype.toggleOpen=function(){this.dropdown.toggle()},t}();s.decorators=[{type:r.Directive,args:[{selector:"[ngbDropdownToggle]",host:{class:"dropdown-toggle","aria-haspopup":"true","[attr.aria-expanded]":"dropdown.isOpen()","(click)":"toggleOpen()"}}]}],s.ctorParameters=function(){return[{type:o},{type:r.ElementRef}]}},"77/N":function(t,e,n){"use strict";var r=n("rCTf"),i=n("l19J");r.Observable.prototype.takeLast=i.takeLast},"7DGp":function(t,e,n){"use strict";var r=n("2yGx");n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s});var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(){function t(){}return t}(),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.parse=function(t){if(t){var e=t.trim().split("-");if(1===e.length&&n.i(r.a)(e[0]))return{year:n.i(r.b)(e[0]),month:null,day:null};if(2===e.length&&n.i(r.a)(e[0])&&n.i(r.a)(e[1]))return{year:n.i(r.b)(e[0]),month:n.i(r.b)(e[1]),day:null};if(3===e.length&&n.i(r.a)(e[0])&&n.i(r.a)(e[1])&&n.i(r.a)(e[2]))return{year:n.i(r.b)(e[0]),month:n.i(r.b)(e[1]),day:n.i(r.b)(e[2])}}return null},e.prototype.format=function(t){return t?t.year+"-"+(n.i(r.a)(t.month)?n.i(r.c)(t.month):"")+"-"+(n.i(r.a)(t.day)?n.i(r.c)(t.day):""):""},e}(o)},"7FaQ":function(t,e,n){"use strict";var r=n("rCTf"),i=n("Llwz");r.Observable.prototype.window=i.window},"7Gky":function(t,e,n){"use strict";function r(t,e){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=t,n.thisArg=e,n}e.not=r},"7axH":function(t,e,n){"use strict";var r=n("rCTf"),i=n("9PGs");r.Observable.prototype.toArray=i.toArray},"8/gC":function(t,e,n){"use strict";var r=n("RYQg");e.zip=r.zipStatic},"8DDp":function(t,e,n){"use strict";function r(t,e,n){void 0===n&&(n=o.async);var r=s.isDate(t),i=r?+t-n.now():Math.abs(t);return this.lift(new u(i,r,e,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("CGGv"),s=n("fuZx"),a=n("wAkD"),l=n("CURp");e.timeoutWith=r;var u=function(){function t(t,e,n,r){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),c=function(t){function e(e,n,r,i,o){t.call(this,e),this.absoluteTimeout=n,this.waitFor=r,this.withObservable=i,this.scheduler=o,this.action=null,this.scheduleTimeout()}return i(e,t),e.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add(l.subscribeToResult(t,e))},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},e}(a.OuterSubscriber)},"8MUz":function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return this.lift.call(i.apply(void 0,[this].concat(t)))}function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null,r=t;return s.isScheduler(r[t.length-1])&&(n=r.pop()),null===n&&1===t.length&&t[0]instanceof o.Observable?t[0]:new a.ArrayObservable(t,n).lift(new l.MergeAllOperator(1))}var o=n("rCTf"),s=n("fWbP"),a=n("Yh8Q"),l=n("cbuX");e.concat=r,e.concatStatic=i},"8T44":function(t,e,n){"use strict";function r(t){return this.lift(new c(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),s=n("+3eL"),a=n("WhVc"),l=n("wAkD"),u=n("CURp");e.repeatWhen=r;var c=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.notifier,e))},t}(),h=function(t){function e(e,n,r){t.call(this,e),this.notifier=n,this.source=r,this.sourceIsBeingSubscribedTo=!0}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries){if(this.retriesSubscription.closed)return t.prototype.complete.call(this)}else this.subscribeToRetries();this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this,e=t.notifications,n=t.retriesSubscription;e&&(e.unsubscribe(),this.notifications=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this,n=e.notifications,r=e.retries,i=e.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,t.prototype._unsubscribeAndRecycle.call(this),this.notifications=n,this.retries=r,this.retriesSubscription=i,this},e.prototype.subscribeToRetries=function(){this.notifications=new o.Subject;var e=s.tryCatch(this.notifier)(this.notifications);if(e===a.errorObject)return t.prototype.complete.call(this);this.retries=e,this.retriesSubscription=u.subscribeToResult(this,e)},e}(l.OuterSubscriber)},"8U58":function(t,e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t){return new RegExp("(^|\\s)"+t+"(?:$|\\s)\\s*")}function e(t){for(var e=t.childNodes.length;e>0;--e)t.removeChild(t.firstChild);return t}function n(t,n){return e(t).appendChild(n)}function r(t,e,n,r){var i=document.createElement(t);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof e)i.appendChild(document.createTextNode(e));else if(e)for(var o=0;o<e.length;++o)i.appendChild(e[o]);return i}function i(t,e,n,i){var o=r(t,e,n,i);return o.setAttribute("role","presentation"),o}function o(t,e){if(3==e.nodeType&&(e=e.parentNode),t.contains)return t.contains(e);do{if(11==e.nodeType&&(e=e.host),e==t)return!0}while(e=e.parentNode)}function s(){var t;try{t=document.activeElement}catch(e){t=document.body||null}for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;return t}function a(e,n){var r=e.className;t(n).test(r)||(e.className+=(r?" ":"")+n)}function l(e,n){for(var r=e.split(" "),i=0;i<r.length;i++)r[i]&&!t(r[i]).test(n)&&(n+=" "+r[i]);return n}function u(t){var e=Array.prototype.slice.call(arguments,1);return function(){return t.apply(null,e)}}function c(t,e,n){e||(e={});for(var r in t)!t.hasOwnProperty(r)||!1===n&&e.hasOwnProperty(r)||(e[r]=t[r]);return e}function h(t,e,n,r,i){null==e&&-1==(e=t.search(/[^\s\u00a0]/))&&(e=t.length);for(var o=r||0,s=i||0;;){var a=t.indexOf("\t",o);if(a<0||a>=e)return s+(e-o);s+=a-o,s+=n-s%n,o=a+1}}function p(t,e){for(var n=0;n<t.length;++n)if(t[n]==e)return n;return-1}function f(t,e,n){for(var r=0,i=0;;){var o=t.indexOf("\t",r);-1==o&&(o=t.length);var s=o-r;if(o==t.length||i+s>=e)return r+Math.min(s,e-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=e)return r}}function d(t){for(;Rs.length<=t;)Rs.push(v(Rs)+" ");return Rs[t]}function v(t){return t[t.length-1]}function m(t,e){for(var n=[],r=0;r<t.length;r++)n[r]=e(t[r],r);return n}function g(t,e,n){for(var r=0,i=n(e);r<t.length&&n(t[r])<=i;)r++;t.splice(r,0,e)}function y(){}function b(t,e){var n;return Object.create?n=Object.create(t):(y.prototype=t,n=new y),e&&c(e,n),n}function w(t){return/\w/.test(t)||t>"€"&&(t.toUpperCase()!=t.toLowerCase()||Ns.test(t))}function x(t,e){return e?!!(e.source.indexOf("\\w")>-1&&w(t))||e.test(t):w(t)}function C(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e])return!1;return!0}function O(t){return t.charCodeAt(0)>=768&&Ls.test(t)}function S(t,e,n){for(;(n<0?e>0:e<t.length)&&O(t.charAt(e));)e+=n;return e}function _(t,e,n){for(;;){if(Math.abs(e-n)<=1)return t(e)?e:n;var r=Math.floor((e+n)/2);t(r)?n=r:e=r}}function T(t,e,n){var o=this;this.input=n,o.scrollbarFiller=r("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=r("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=i("div",null,"CodeMirror-code"),o.selectionDiv=r("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=r("div",null,"CodeMirror-cursors"),o.measure=r("div",null,"CodeMirror-measure"),o.lineMeasure=r("div",null,"CodeMirror-measure"),o.lineSpace=i("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var s=i("div",[o.lineSpace],"CodeMirror-lines");o.mover=r("div",[s],null,"position: relative"),o.sizer=r("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=r("div",null,null,"position: absolute; height: "+Is+"px; width: 1px;"),o.gutters=r("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=r("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=r("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),os&&ss<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),as||es&&ms||(o.scroller.draggable=!0),t&&(t.appendChild?t.appendChild(o.wrapper):t(o.wrapper)),o.viewFrom=o.viewTo=e.first,o.reportedViewFrom=o.reportedViewTo=e.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,n.init(o)}function k(t,e){if((e-=t.first)<0||e>=t.size)throw new Error("There is no line "+(e+t.first)+" in the document.");for(var n=t;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(e<o){n=i;break}e-=o}return n.lines[e]}function M(t,e,n){var r=[],i=e.line;return t.iter(e.line,n.line+1,function(t){var o=t.text;i==n.line&&(o=o.slice(0,n.ch)),i==e.line&&(o=o.slice(e.ch)),r.push(o),++i}),r}function I(t,e,n){var r=[];return t.iter(e,n,function(t){r.push(t.text)}),r}function P(t,e){var n=e-t.height;if(n)for(var r=t;r;r=r.parent)r.height+=n}function A(t){if(null==t.parent)return null;for(var e=t.parent,n=p(e.lines,t),r=e.parent;r;e=r,r=r.parent)for(var i=0;r.children[i]!=e;++i)n+=r.children[i].chunkSize();return n+e.first}function E(t,e){var n=t.first;t:do{for(var r=0;r<t.children.length;++r){var i=t.children[r],o=i.height;if(e<o){t=i;continue t}e-=o,n+=i.chunkSize()}return n}while(!t.lines);for(var s=0;s<t.lines.length;++s){var a=t.lines[s],l=a.height;if(e<l)break;e-=l}return n+s}function D(t,e){return e>=t.first&&e<t.first+t.size}function R(t,e){return String(t.lineNumberFormatter(e+t.firstLineNumber))}function N(t,e,n){if(void 0===n&&(n=null),!(this instanceof N))return new N(t,e,n);this.line=t,this.ch=e,this.sticky=n}function L(t,e){return t.line-e.line||t.ch-e.ch}function j(t,e){return t.sticky==e.sticky&&0==L(t,e)}function W(t){return N(t.line,t.ch)}function F(t,e){return L(t,e)<0?e:t}function V(t,e){return L(t,e)<0?t:e}function H(t,e){return Math.max(t.first,Math.min(e,t.first+t.size-1))}function z(t,e){if(e.line<t.first)return N(t.first,0);var n=t.first+t.size-1;return e.line>n?N(n,k(t,n).text.length):B(e,k(t,e.line).text.length)}function B(t,e){var n=t.ch;return null==n||n>e?N(t.line,e):n<0?N(t.line,0):t}function U(t,e){for(var n=[],r=0;r<e.length;r++)n[r]=z(t,e[r]);return n}function q(){js=!0}function K(){Ws=!0}function G(t,e,n){this.marker=t,this.from=e,this.to=n}function Y(t,e){if(t)for(var n=0;n<t.length;++n){var r=t[n];if(r.marker==e)return r}}function X(t,e){for(var n,r=0;r<t.length;++r)t[r]!=e&&(n||(n=[])).push(t[r]);return n}function J(t,e){t.markedSpans=t.markedSpans?t.markedSpans.concat([e]):[e],e.marker.attachLine(t)}function Z(t,e,n){var r;if(t)for(var i=0;i<t.length;++i){var o=t[i],s=o.marker,a=null==o.from||(s.inclusiveLeft?o.from<=e:o.from<e);if(a||o.from==e&&"bookmark"==s.type&&(!n||!o.marker.insertLeft)){var l=null==o.to||(s.inclusiveRight?o.to>=e:o.to>e);(r||(r=[])).push(new G(s,o.from,l?null:o.to))}}return r}function Q(t,e,n){var r;if(t)for(var i=0;i<t.length;++i){var o=t[i],s=o.marker,a=null==o.to||(s.inclusiveRight?o.to>=e:o.to>e);if(a||o.from==e&&"bookmark"==s.type&&(!n||o.marker.insertLeft)){var l=null==o.from||(s.inclusiveLeft?o.from<=e:o.from<e);(r||(r=[])).push(new G(s,l?null:o.from-e,null==o.to?null:o.to-e))}}return r}function $(t,e){if(e.full)return null;var n=D(t,e.from.line)&&k(t,e.from.line).markedSpans,r=D(t,e.to.line)&&k(t,e.to.line).markedSpans;if(!n&&!r)return null;var i=e.from.ch,o=e.to.ch,s=0==L(e.from,e.to),a=Z(n,i,s),l=Q(r,o,s),u=1==e.text.length,c=v(e.text).length+(u?i:0);if(a)for(var h=0;h<a.length;++h){var p=a[h];if(null==p.to){var f=Y(l,p.marker);f?u&&(p.to=null==f.to?null:f.to+c):p.to=i}}if(l)for(var d=0;d<l.length;++d){var m=l[d];if(null!=m.to&&(m.to+=c),null==m.from){var g=Y(a,m.marker);g||(m.from=c,u&&(a||(a=[])).push(m))}else m.from+=c,u&&(a||(a=[])).push(m)}a&&(a=tt(a)),l&&l!=a&&(l=tt(l));var y=[a];if(!u){var b,w=e.text.length-2;if(w>0&&a)for(var x=0;x<a.length;++x)null==a[x].to&&(b||(b=[])).push(new G(a[x].marker,null,null));for(var C=0;C<w;++C)y.push(b);y.push(l)}return y}function tt(t){for(var e=0;e<t.length;++e){var n=t[e];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&t.splice(e--,1)}return t.length?t:null}function et(t,e,n){var r=null;if(t.iter(e.line,n.line+1,function(t){if(t.markedSpans)for(var e=0;e<t.markedSpans.length;++e){var n=t.markedSpans[e].marker;!n.readOnly||r&&-1!=p(r,n)||(r||(r=[])).push(n)}}),!r)return null;for(var i=[{from:e,to:n}],o=0;o<r.length;++o)for(var s=r[o],a=s.find(0),l=0;l<i.length;++l){var u=i[l];if(!(L(u.to,a.from)<0||L(u.from,a.to)>0)){var c=[l,1],h=L(u.from,a.from),f=L(u.to,a.to);(h<0||!s.inclusiveLeft&&!h)&&c.push({from:u.from,to:a.from}),(f>0||!s.inclusiveRight&&!f)&&c.push({from:a.to,to:u.to}),i.splice.apply(i,c),l+=c.length-3}}return i}function nt(t){var e=t.markedSpans;if(e){for(var n=0;n<e.length;++n)e[n].marker.detachLine(t);t.markedSpans=null}}function rt(t,e){if(e){for(var n=0;n<e.length;++n)e[n].marker.attachLine(t);t.markedSpans=e}}function it(t){return t.inclusiveLeft?-1:0}function ot(t){return t.inclusiveRight?1:0}function st(t,e){var n=t.lines.length-e.lines.length;if(0!=n)return n;var r=t.find(),i=e.find(),o=L(r.from,i.from)||it(t)-it(e);if(o)return-o;var s=L(r.to,i.to)||ot(t)-ot(e);return s||e.id-t.id}function at(t,e){var n,r=Ws&&t.markedSpans;if(r)for(var i=void 0,o=0;o<r.length;++o)i=r[o],i.marker.collapsed&&null==(e?i.from:i.to)&&(!n||st(n,i.marker)<0)&&(n=i.marker);return n}function lt(t){return at(t,!0)}function ut(t){return at(t,!1)}function ct(t,e,n,r,i){var o=k(t,e),s=Ws&&o.markedSpans;if(s)for(var a=0;a<s.length;++a){var l=s[a];if(l.marker.collapsed){var u=l.marker.find(0),c=L(u.from,n)||it(l.marker)-it(i),h=L(u.to,r)||ot(l.marker)-ot(i);if(!(c>=0&&h<=0||c<=0&&h>=0)&&(c<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?L(u.to,n)>=0:L(u.to,n)>0)||c>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?L(u.from,r)<=0:L(u.from,r)<0)))return!0}}}function ht(t){for(var e;e=lt(t);)t=e.find(-1,!0).line;return t}function pt(t){for(var e;e=ut(t);)t=e.find(1,!0).line;return t}function ft(t){for(var e,n;e=ut(t);)t=e.find(1,!0).line,(n||(n=[])).push(t);return n}function dt(t,e){var n=k(t,e),r=ht(n);return n==r?e:A(r)}function vt(t,e){if(e>t.lastLine())return e;var n,r=k(t,e);if(!mt(t,r))return e;for(;n=ut(r);)r=n.find(1,!0).line;return A(r)+1}function mt(t,e){var n=Ws&&e.markedSpans;if(n)for(var r=void 0,i=0;i<n.length;++i)if(r=n[i],r.marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&>(t,e,r))return!0}}function gt(t,e,n){if(null==n.to){var r=n.marker.find(1,!0);return gt(t,r.line,Y(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==e.text.length)return!0;for(var i=void 0,o=0;o<e.markedSpans.length;++o)if(i=e.markedSpans[o],i.marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(null==i.to||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&>(t,e,i))return!0}function yt(t){t=ht(t);for(var e=0,n=t.parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==t)break;e+=i.height}for(var o=n.parent;o;n=o,o=n.parent)for(var s=0;s<o.children.length;++s){var a=o.children[s];if(a==n)break;e+=a.height}return e}function bt(t){if(0==t.height)return 0;for(var e,n=t.text.length,r=t;e=lt(r);){var i=e.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}for(r=t;e=ut(r);){var o=e.find(0,!0);n-=r.text.length-o.from.ch,r=o.to.line,n+=r.text.length-o.to.ch}return n}function wt(t){var e=t.display,n=t.doc;e.maxLine=k(n,n.first),e.maxLineLength=bt(e.maxLine),e.maxLineChanged=!0,n.iter(function(t){var n=bt(t);n>e.maxLineLength&&(e.maxLineLength=n,e.maxLine=t)})}function xt(t,e,n,r){if(!t)return r(e,n,"ltr");for(var i=!1,o=0;o<t.length;++o){var s=t[o];(s.from<n&&s.to>e||e==n&&s.to==e)&&(r(Math.max(s.from,e),Math.min(s.to,n),1==s.level?"rtl":"ltr"),i=!0)}i||r(e,n,"ltr")}function Ct(t,e,n){var r;Fs=null;for(var i=0;i<t.length;++i){var o=t[i];if(o.from<e&&o.to>e)return i;o.to==e&&(o.from!=o.to&&"before"==n?r=i:Fs=i),o.from==e&&(o.from!=o.to&&"before"!=n?r=i:Fs=i)}return null!=r?r:Fs}function Ot(t,e){var n=t.order;return null==n&&(n=t.order=Vs(t.text,e)),n}function St(t,e,n){var r=S(t.text,e+n,n);return r<0||r>t.text.length?null:r}function _t(t,e,n){var r=St(t,e.ch,n);return null==r?null:new N(e.line,r,n<0?"after":"before")}function Tt(t,e,n,r,i){if(t){var o=Ot(n,e.doc.direction);if(o){var s,a=i<0?v(o):o[0],l=i<0==(1==a.level),u=l?"after":"before";if(a.level>0){var c=Je(e,n);s=i<0?n.text.length-1:0;var h=Ze(e,c,s).top;s=_(function(t){return Ze(e,c,t).top==h},i<0==(1==a.level)?a.from:a.to-1,s),"before"==u&&(s=St(n,s,1))}else s=i<0?a.to:a.from;return new N(r,s,u)}}return new N(r,i<0?n.text.length:0,i<0?"before":"after")}function kt(t,e,n,r){var i=Ot(e,t.doc.direction);if(!i)return _t(e,n,r);n.ch>=e.text.length?(n.ch=e.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=Ct(i,n.ch,n.sticky),s=i[o];if("ltr"==t.doc.direction&&s.level%2==0&&(r>0?s.to>n.ch:s.from<n.ch))return _t(e,n,r);var a,l=function(t,n){return St(e,t instanceof N?t.ch:t,n)},u=function(n){return t.options.lineWrapping?(a=a||Je(t,e),mn(t,e,a,n)):{begin:0,end:e.text.length}},c=u("before"==n.sticky?l(n,-1):n.ch);if("rtl"==t.doc.direction||1==s.level){var h=1==s.level==r<0,p=l(n,h?1:-1);if(null!=p&&(h?p<=s.to&&p<=c.end:p>=s.from&&p>=c.begin)){var f=h?"before":"after";return new N(n.line,p,f)}}var d=function(t,e,r){for(var o=function(t,e){return e?new N(n.line,l(t,1),"before"):new N(n.line,t,"after")};t>=0&&t<i.length;t+=e){var s=i[t],a=e>0==(1!=s.level),u=a?r.begin:l(r.end,-1);if(s.from<=u&&u<s.to)return o(u,a);if(u=a?s.from:l(s.to,-1),r.begin<=u&&u<r.end)return o(u,a)}},v=d(o+r,r,c);if(v)return v;var m=r>0?c.end:l(c.begin,-1);return null==m||r>0&&m==e.text.length||!(v=d(r>0?0:i.length-1,r,u(m)))?null:v}function Mt(t,e){return t._handlers&&t._handlers[e]||Hs}function It(t,e,n){if(t.removeEventListener)t.removeEventListener(e,n,!1);else if(t.detachEvent)t.detachEvent("on"+e,n);else{var r=t._handlers,i=r&&r[e];if(i){var o=p(i,n);o>-1&&(r[e]=i.slice(0,o).concat(i.slice(o+1)))}}}function Pt(t,e){var n=Mt(t,e);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function At(t,e,n){return"string"==typeof e&&(e={type:e,preventDefault:function(){this.defaultPrevented=!0}}),Pt(t,n||e.type,t,e),jt(e)||e.codemirrorIgnore}function Et(t){var e=t._handlers&&t._handlers.cursorActivity;if(e)for(var n=t.curOp.cursorActivityHandlers||(t.curOp.cursorActivityHandlers=[]),r=0;r<e.length;++r)-1==p(n,e[r])&&n.push(e[r])}function Dt(t,e){return Mt(t,e).length>0}function Rt(t){t.prototype.on=function(t,e){zs(this,t,e)},t.prototype.off=function(t,e){It(this,t,e)}}function Nt(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function Lt(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}function jt(t){return null!=t.defaultPrevented?t.defaultPrevented:0==t.returnValue}function Wt(t){Nt(t),Lt(t)}function Ft(t){return t.target||t.srcElement}function Vt(t){var e=t.which;return null==e&&(1&t.button?e=1:2&t.button?e=3:4&t.button&&(e=2)),gs&&t.ctrlKey&&1==e&&(e=3),e}function Ht(t){if(null==ks){var e=r("span","​");n(t,r("span",[e,document.createTextNode("x")])),0!=t.firstChild.offsetHeight&&(ks=e.offsetWidth<=1&&e.offsetHeight>2&&!(os&&ss<8))}var i=ks?r("span","​"):r("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}function zt(t){if(null!=Ms)return Ms;var r=n(t,document.createTextNode("AØ®A")),i=xs(r,0,1).getBoundingClientRect(),o=xs(r,1,2).getBoundingClientRect();return e(t),!(!i||i.left==i.right)&&(Ms=o.right-i.right<3)}function Bt(t){if(null!=Gs)return Gs;var e=n(t,r("span","x")),i=e.getBoundingClientRect(),o=xs(e,0,1).getBoundingClientRect();return Gs=Math.abs(i.left-o.left)>1}function Ut(t,e){arguments.length>2&&(e.dependencies=Array.prototype.slice.call(arguments,2)),Ys[t]=e}function qt(t,e){Xs[t]=e}function Kt(t){if("string"==typeof t&&Xs.hasOwnProperty(t))t=Xs[t];else if(t&&"string"==typeof t.name&&Xs.hasOwnProperty(t.name)){var e=Xs[t.name];"string"==typeof e&&(e={name:e}),t=b(e,t),t.name=e.name}else{if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+xml$/.test(t))return Kt("application/xml");if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+json$/.test(t))return Kt("application/json")}return"string"==typeof t?{name:t}:t||{name:"null"}}function Gt(t,e){e=Kt(e);var n=Ys[e.name];if(!n)return Gt(t,"text/plain");var r=n(t,e);if(Js.hasOwnProperty(e.name)){var i=Js[e.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=e.name,e.helperType&&(r.helperType=e.helperType),e.modeProps)for(var s in e.modeProps)r[s]=e.modeProps[s];return r}function Yt(t,e){c(e,Js.hasOwnProperty(t)?Js[t]:Js[t]={})}function Xt(t,e){if(!0===e)return e;if(t.copyState)return t.copyState(e);var n={};for(var r in e){var i=e[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function Jt(t,e){for(var n;t.innerMode&&(n=t.innerMode(e))&&n.mode!=t;)e=n.state,t=n.mode;return n||{mode:t,state:e}}function Zt(t,e,n){return!t.startState||t.startState(e,n)}function Qt(t,e,n,r){var i=[t.state.modeGen],o={};se(t,e.text,t.doc.mode,n,function(t,e){return i.push(t,e)},o,r);for(var s=function(n){var r=t.state.overlays[n],s=1,a=0;se(t,e.text,r.mode,!0,function(t,e){for(var n=s;a<t;){var o=i[s];o>t&&i.splice(s,1,t,i[s+1],o),s+=2,a=Math.min(t,o)}if(e)if(r.opaque)i.splice(n,s-n,t,"overlay "+e),s=n+2;else for(;n<s;n+=2){var l=i[n+1];i[n+1]=(l?l+" ":"")+"overlay "+e}},o)},a=0;a<t.state.overlays.length;++a)s(a);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function $t(t,e,n){if(!e.styles||e.styles[0]!=t.state.modeGen){var r=te(t,A(e)),i=Qt(t,e,e.text.length>t.options.maxHighlightLength?Xt(t.doc.mode,r):r);e.stateAfter=r,e.styles=i.styles,i.classes?e.styleClasses=i.classes:e.styleClasses&&(e.styleClasses=null),n===t.doc.frontier&&t.doc.frontier++}return e.styles}function te(t,e,n){var r=t.doc,i=t.display;if(!r.mode.startState)return!0;var o=ae(t,e,n),s=o>r.first&&k(r,o-1).stateAfter;return s=s?Xt(r.mode,s):Zt(r.mode),r.iter(o,e,function(n){ee(t,n.text,s);var a=o==e-1||o%5==0||o>=i.viewFrom&&o<i.viewTo;n.stateAfter=a?Xt(r.mode,s):null,++o}),n&&(r.frontier=o),s}function ee(t,e,n,r){var i=t.doc.mode,o=new Zs(e,t.options.tabSize);for(o.start=o.pos=r||0,""==e&&ne(i,n);!o.eol();)re(i,o,n),o.start=o.pos}function ne(t,e){if(t.blankLine)return t.blankLine(e);if(t.innerMode){var n=Jt(t,e);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function re(t,e,n,r){for(var i=0;i<10;i++){r&&(r[0]=Jt(t,n).mode);var o=t.token(e,n);if(e.pos>e.start)return o}throw new Error("Mode "+t.name+" failed to advance stream.")}function ie(t,e,n,r){var i,o=function(t){return{start:h.start,end:h.pos,string:h.current(),type:i||null,state:t?Xt(s.mode,c):c}},s=t.doc,a=s.mode;e=z(s,e);var l,u=k(s,e.line),c=te(t,e.line,n),h=new Zs(u.text,t.options.tabSize);for(r&&(l=[]);(r||h.pos<e.ch)&&!h.eol();)h.start=h.pos,i=re(a,h,c),r&&l.push(o(!0));return r?l:o()}function oe(t,e){if(t)for(;;){var n=t.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;t=t.slice(0,n.index)+t.slice(n.index+n[0].length);var r=n[1]?"bgClass":"textClass";null==e[r]?e[r]=n[2]:new RegExp("(?:^|s)"+n[2]+"(?:$|s)").test(e[r])||(e[r]+=" "+n[2])}return t}function se(t,e,n,r,i,o,s){var a=n.flattenSpans;null==a&&(a=t.options.flattenSpans);var l,u=0,c=null,h=new Zs(e,t.options.tabSize),p=t.options.addModeClass&&[null];for(""==e&&oe(ne(n,r),o);!h.eol();){if(h.pos>t.options.maxHighlightLength?(a=!1,s&&ee(t,e,r,h.pos),h.pos=e.length,l=null):l=oe(re(n,h,r,p),o),p){var f=p[0].name;f&&(l="m-"+(l?f+" "+l:f))}if(!a||c!=l){for(;u<h.start;)u=Math.min(h.start,u+5e3),i(u,c);c=l}h.start=h.pos}for(;u<h.pos;){var d=Math.min(h.pos,u+5e3);i(d,c),u=d}}function ae(t,e,n){for(var r,i,o=t.doc,s=n?-1:e-(t.doc.mode.innerMode?1e3:100),a=e;a>s;--a){if(a<=o.first)return o.first;var l=k(o,a-1);if(l.stateAfter&&(!n||a<=o.frontier))return a;var u=h(l.text,null,t.options.tabSize);(null==i||r>u)&&(i=a-1,r=u)}return i}function le(t,e,n,r){t.text=e,t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null),null!=t.order&&(t.order=null),nt(t),rt(t,n);var i=r?r(t):1;i!=t.height&&P(t,i)}function ue(t){t.parent=null,nt(t)}function ce(t,e){if(!t||/^\s*$/.test(t))return null;var n=e.addModeClass?ea:ta;return n[t]||(n[t]=t.replace(/\S+/g,"cm-$&"))}function he(t,e){var n=i("span",null,null,as?"padding-right: .1px":null),r={pre:i("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:t,trailingSpace:!1,splitSpaces:(os||as)&&t.getOption("lineWrapping")};e.measure={};for(var o=0;o<=(e.rest?e.rest.length:0);o++){var s=o?e.rest[o-1]:e.line,a=void 0;r.pos=0,r.addToken=fe,zt(t.display.measure)&&(a=Ot(s,t.doc.direction))&&(r.addToken=ve(r.addToken,a)),r.map=[];ge(s,r,$t(t,s,e!=t.display.externalMeasured&&A(s))),s.styleClasses&&(s.styleClasses.bgClass&&(r.bgClass=l(s.styleClasses.bgClass,r.bgClass||"")),s.styleClasses.textClass&&(r.textClass=l(s.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Ht(t.display.measure))),0==o?(e.measure.map=r.map,e.measure.cache={}):((e.measure.maps||(e.measure.maps=[])).push(r.map),(e.measure.caches||(e.measure.caches=[])).push({}))}if(as){var u=r.content.lastChild;(/\bcm-tab\b/.test(u.className)||u.querySelector&&u.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return Pt(t,"renderLine",t,e.line,r.pre),r.pre.className&&(r.textClass=l(r.pre.className,r.textClass||"")),r}function pe(t){var e=r("span","•","cm-invalidchar");return e.title="\\u"+t.charCodeAt(0).toString(16),e.setAttribute("aria-label",e.title),e}function fe(t,e,n,i,o,s,a){if(e){var l,u=t.splitSpaces?de(e,t.trailingSpace):e,c=t.cm.state.specialChars,h=!1;if(c.test(e)){l=document.createDocumentFragment();for(var p=0;;){c.lastIndex=p;var f=c.exec(e),v=f?f.index-p:e.length-p;if(v){var m=document.createTextNode(u.slice(p,p+v));os&&ss<9?l.appendChild(r("span",[m])):l.appendChild(m),t.map.push(t.pos,t.pos+v,m),t.col+=v,t.pos+=v}if(!f)break;p+=v+1;var g=void 0;if("\t"==f[0]){var y=t.cm.options.tabSize,b=y-t.col%y;g=l.appendChild(r("span",d(b),"cm-tab")),g.setAttribute("role","presentation"),g.setAttribute("cm-text","\t"),t.col+=b}else"\r"==f[0]||"\n"==f[0]?(g=l.appendChild(r("span","\r"==f[0]?"â":"â¤","cm-invalidchar")),g.setAttribute("cm-text",f[0]),t.col+=1):(g=t.cm.options.specialCharPlaceholder(f[0]),g.setAttribute("cm-text",f[0]),os&&ss<9?l.appendChild(r("span",[g])):l.appendChild(g),t.col+=1);t.map.push(t.pos,t.pos+1,g),t.pos++}}else t.col+=e.length,l=document.createTextNode(u),t.map.push(t.pos,t.pos+e.length,l),os&&ss<9&&(h=!0),t.pos+=e.length;if(t.trailingSpace=32==u.charCodeAt(e.length-1),n||i||o||h||a){var w=n||"";i&&(w+=i),o&&(w+=o);var x=r("span",[l],w,a);return s&&(x.title=s),t.content.appendChild(x)}t.content.appendChild(l)}}function de(t,e){if(t.length>1&&!/ /.test(t))return t;for(var n=e,r="",i=0;i<t.length;i++){var o=t.charAt(i);" "!=o||!n||i!=t.length-1&&32!=t.charCodeAt(i+1)||(o=" "),r+=o,n=" "==o}return r}function ve(t,e){return function(n,r,i,o,s,a,l){i=i?i+" cm-force-border":"cm-force-border";for(var u=n.pos,c=u+r.length;;){for(var h=void 0,p=0;p<e.length&&(h=e[p],!(h.to>u&&h.from<=u));p++);if(h.to>=c)return t(n,r,i,o,s,a,l);t(n,r.slice(0,h.to-u),i,o,null,a,l),o=null,r=r.slice(h.to-u),u=h.to}}}function me(t,e,n,r){var i=!r&&n.widgetNode;i&&t.map.push(t.pos,t.pos+e,i),!r&&t.cm.display.input.needsContentAttribute&&(i||(i=t.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(t.cm.display.input.setUneditable(i),t.content.appendChild(i)),t.pos+=e,t.trailingSpace=!1}function ge(t,e,n){var r=t.markedSpans,i=t.text,o=0;if(r)for(var s,a,l,u,c,h,p,f=i.length,d=0,v=1,m="",g=0;;){if(g==d){l=u=c=h=a="",p=null,g=1/0;for(var y=[],b=void 0,w=0;w<r.length;++w){var x=r[w],C=x.marker;"bookmark"==C.type&&x.from==d&&C.widgetNode?y.push(C):x.from<=d&&(null==x.to||x.to>d||C.collapsed&&x.to==d&&x.from==d)?(null!=x.to&&x.to!=d&&g>x.to&&(g=x.to,u=""),C.className&&(l+=" "+C.className),C.css&&(a=(a?a+";":"")+C.css),C.startStyle&&x.from==d&&(c+=" "+C.startStyle),C.endStyle&&x.to==g&&(b||(b=[])).push(C.endStyle,x.to),C.title&&!h&&(h=C.title),C.collapsed&&(!p||st(p.marker,C)<0)&&(p=x)):x.from>d&&g>x.from&&(g=x.from)}if(b)for(var O=0;O<b.length;O+=2)b[O+1]==g&&(u+=" "+b[O]);if(!p||p.from==d)for(var S=0;S<y.length;++S)me(e,0,y[S]);if(p&&(p.from||0)==d){if(me(e,(null==p.to?f+1:p.to)-d,p.marker,null==p.from),null==p.to)return;p.to==d&&(p=!1)}}if(d>=f)break;for(var _=Math.min(f,g);;){if(m){var T=d+m.length;if(!p){var k=T>_?m.slice(0,_-d):m;e.addToken(e,k,s?s+l:l,c,d+k.length==g?u:"",h,a)}if(T>=_){m=m.slice(_-d),d=_;break}d=T,c=""}m=i.slice(o,o=n[v++]),s=ce(n[v++],e.cm.options)}}else for(var M=1;M<n.length;M+=2)e.addToken(e,i.slice(o,o=n[M]),ce(n[M+1],e.cm.options))}function ye(t,e,n){this.line=e,this.rest=ft(e),this.size=this.rest?A(v(this.rest))-n+1:1,this.node=this.text=null,this.hidden=mt(t,e)}function be(t,e,n){for(var r,i=[],o=e;o<n;o=r){var s=new ye(t.doc,k(t.doc,o),o);r=o+s.size,i.push(s)}return i}function we(t){na?na.ops.push(t):t.ownsGroup=na={ops:[t],delayedCallbacks:[]}}function xe(t){var e=t.delayedCallbacks,n=0;do{for(;n<e.length;n++)e[n].call(null);for(var r=0;r<t.ops.length;r++){var i=t.ops[r];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<e.length)}function Ce(t,e){var n=t.ownsGroup;if(n)try{xe(n)}finally{na=null,e(n)}}function Oe(t,e){var n=Mt(t,e);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);na?r=na.delayedCallbacks:ra?r=ra:(r=ra=[],setTimeout(Se,0));for(var o=function(t){r.push(function(){return n[t].apply(null,i)})},s=0;s<n.length;++s)o(s)}}function Se(){var t=ra;ra=null;for(var e=0;e<t.length;++e)t[e]()}function _e(t,e,n,r){for(var i=0;i<e.changes.length;i++){var o=e.changes[i];"text"==o?Ie(t,e):"gutter"==o?Ae(t,e,n,r):"class"==o?Pe(t,e):"widget"==o&&Ee(t,e,r)}e.changes=null}function Te(t){return t.node==t.text&&(t.node=r("div",null,null,"position: relative"),t.text.parentNode&&t.text.parentNode.replaceChild(t.node,t.text),t.node.appendChild(t.text),os&&ss<8&&(t.node.style.zIndex=2)),t.node}function ke(t,e){var n=e.bgClass?e.bgClass+" "+(e.line.bgClass||""):e.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),e.background)n?e.background.className=n:(e.background.parentNode.removeChild(e.background),e.background=null);else if(n){var i=Te(e);e.background=i.insertBefore(r("div",null,n),i.firstChild),t.display.input.setUneditable(e.background)}}function Me(t,e){var n=t.display.externalMeasured;return n&&n.line==e.line?(t.display.externalMeasured=null,e.measure=n.measure,n.built):he(t,e)}function Ie(t,e){var n=e.text.className,r=Me(t,e);e.text==e.node&&(e.node=r.pre),e.text.parentNode.replaceChild(r.pre,e.text),e.text=r.pre,r.bgClass!=e.bgClass||r.textClass!=e.textClass?(e.bgClass=r.bgClass,e.textClass=r.textClass,Pe(t,e)):n&&(e.text.className=n)}function Pe(t,e){ke(t,e),e.line.wrapClass?Te(e).className=e.line.wrapClass:e.node!=e.text&&(e.node.className="");var n=e.textClass?e.textClass+" "+(e.line.textClass||""):e.line.textClass;e.text.className=n||""}function Ae(t,e,n,i){if(e.gutter&&(e.node.removeChild(e.gutter),e.gutter=null),e.gutterBackground&&(e.node.removeChild(e.gutterBackground),e.gutterBackground=null),e.line.gutterClass){var o=Te(e);e.gutterBackground=r("div",null,"CodeMirror-gutter-background "+e.line.gutterClass,"left: "+(t.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px; width: "+i.gutterTotalWidth+"px"),t.display.input.setUneditable(e.gutterBackground),o.insertBefore(e.gutterBackground,e.text)}var s=e.line.gutterMarkers;if(t.options.lineNumbers||s){var a=Te(e),l=e.gutter=r("div",null,"CodeMirror-gutter-wrapper","left: "+(t.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px");if(t.display.input.setUneditable(l),a.insertBefore(l,e.text),e.line.gutterClass&&(l.className+=" "+e.line.gutterClass),!t.options.lineNumbers||s&&s["CodeMirror-linenumbers"]||(e.lineNumber=l.appendChild(r("div",R(t.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+i.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+t.display.lineNumInnerWidth+"px"))),s)for(var u=0;u<t.options.gutters.length;++u){var c=t.options.gutters[u],h=s.hasOwnProperty(c)&&s[c];h&&l.appendChild(r("div",[h],"CodeMirror-gutter-elt","left: "+i.gutterLeft[c]+"px; width: "+i.gutterWidth[c]+"px"))}}}function Ee(t,e,n){e.alignable&&(e.alignable=null);for(var r=e.node.firstChild,i=void 0;r;r=i)i=r.nextSibling,"CodeMirror-linewidget"==r.className&&e.node.removeChild(r);Re(t,e,n)}function De(t,e,n,r){var i=Me(t,e);return e.text=e.node=i.pre,i.bgClass&&(e.bgClass=i.bgClass),i.textClass&&(e.textClass=i.textClass),Pe(t,e),Ae(t,e,n,r),Re(t,e,r),e.node}function Re(t,e,n){if(Ne(t,e.line,e,n,!0),e.rest)for(var r=0;r<e.rest.length;r++)Ne(t,e.rest[r],e,n,!1)}function Ne(t,e,n,i,o){if(e.widgets)for(var s=Te(n),a=0,l=e.widgets;a<l.length;++a){var u=l[a],c=r("div",[u.node],"CodeMirror-linewidget");u.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),Le(u,c,n,i),t.display.input.setUneditable(c),o&&u.above?s.insertBefore(c,n.gutter||n.text):s.appendChild(c),Oe(u,"redraw")}}function Le(t,e,n,r){if(t.noHScroll){(n.alignable||(n.alignable=[])).push(e);var i=r.wrapperWidth;e.style.left=r.fixedPos+"px",t.coverGutter||(i-=r.gutterTotalWidth,e.style.paddingLeft=r.gutterTotalWidth+"px"),e.style.width=i+"px"}t.coverGutter&&(e.style.zIndex=5,e.style.position="relative",t.noHScroll||(e.style.marginLeft=-r.gutterTotalWidth+"px"))}function je(t){if(null!=t.height)return t.height;var e=t.doc.cm;if(!e)return 0;if(!o(document.body,t.node)){var i="position: relative;";t.coverGutter&&(i+="margin-left: -"+e.display.gutters.offsetWidth+"px;"),t.noHScroll&&(i+="width: "+e.display.wrapper.clientWidth+"px;"),n(e.display.measure,r("div",[t.node],null,i))}return t.height=t.node.parentNode.offsetHeight}function We(t,e){for(var n=Ft(e);n!=t.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==t.sizer&&n!=t.mover)return!0}function Fe(t){return t.lineSpace.offsetTop}function Ve(t){return t.mover.offsetHeight-t.lineSpace.offsetHeight}function He(t){if(t.cachedPaddingH)return t.cachedPaddingH;var e=n(t.measure,r("pre","x")),i=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,o={left:parseInt(i.paddingLeft),right:parseInt(i.paddingRight)};return isNaN(o.left)||isNaN(o.right)||(t.cachedPaddingH=o),o}function ze(t){return Is-t.display.nativeBarWidth}function Be(t){return t.display.scroller.clientWidth-ze(t)-t.display.barWidth}function Ue(t){return t.display.scroller.clientHeight-ze(t)-t.display.barHeight}function qe(t,e,n){var r=t.options.lineWrapping,i=r&&Be(t);if(!e.measure.heights||r&&e.measure.width!=i){var o=e.measure.heights=[];if(r){e.measure.width=i;for(var s=e.text.firstChild.getClientRects(),a=0;a<s.length-1;a++){var l=s[a],u=s[a+1];Math.abs(l.bottom-u.bottom)>2&&o.push((l.bottom+u.top)/2-n.top)}}o.push(n.bottom-n.top)}}function Ke(t,e,n){if(t.line==e)return{map:t.measure.map,cache:t.measure.cache};for(var r=0;r<t.rest.length;r++)if(t.rest[r]==e)return{map:t.measure.maps[r],cache:t.measure.caches[r]};for(var i=0;i<t.rest.length;i++)if(A(t.rest[i])>n)return{map:t.measure.maps[i],cache:t.measure.caches[i],before:!0}}function Ge(t,e){e=ht(e);var r=A(e),i=t.display.externalMeasured=new ye(t.doc,e,r);i.lineN=r;var o=i.built=he(t,i);return i.text=o.pre,n(t.display.lineMeasure,o.pre),i}function Ye(t,e,n,r){return Ze(t,Je(t,e),n,r)}function Xe(t,e){if(e>=t.display.viewFrom&&e<t.display.viewTo)return t.display.view[_n(t,e)];var n=t.display.externalMeasured;return n&&e>=n.lineN&&e<n.lineN+n.size?n:void 0}function Je(t,e){var n=A(e),r=Xe(t,n);r&&!r.text?r=null:r&&r.changes&&(_e(t,r,n,wn(t)),t.curOp.forceUpdate=!0),r||(r=Ge(t,e));var i=Ke(r,e,n);return{line:e,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function Ze(t,e,n,r,i){e.before&&(n=-1);var o,s=n+(r||"");return e.cache.hasOwnProperty(s)?o=e.cache[s]:(e.rect||(e.rect=e.view.text.getBoundingClientRect()),e.hasHeights||(qe(t,e.view,e.rect),e.hasHeights=!0),o=tn(t,e,n,r),o.bogus||(e.cache[s]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}function Qe(t,e,n){for(var r,i,o,s,a,l,u=0;u<t.length;u+=3)if(a=t[u],l=t[u+1],e<a?(i=0,o=1,s="left"):e<l?(i=e-a,o=i+1):(u==t.length-3||e==l&&t[u+3]>e)&&(o=l-a,i=o-1,e>=l&&(s="right")),null!=i){if(r=t[u+2],a==l&&n==(r.insertLeft?"left":"right")&&(s=n),"left"==n&&0==i)for(;u&&t[u-2]==t[u-3]&&t[u-1].insertLeft;)r=t[2+(u-=3)],s="left";if("right"==n&&i==l-a)for(;u<t.length-3&&t[u+3]==t[u+4]&&!t[u+5].insertLeft;)r=t[(u+=3)+2],s="right";break}return{node:r,start:i,end:o,collapse:s,coverStart:a,coverEnd:l}}function $e(t,e){var n=ia;if("left"==e)for(var r=0;r<t.length&&(n=t[r]).left==n.right;r++);else for(var i=t.length-1;i>=0&&(n=t[i]).left==n.right;i--);return n}function tn(t,e,n,r){var i,o=Qe(e.map,n,r),s=o.node,a=o.start,l=o.end,u=o.collapse;if(3==s.nodeType){for(var c=0;c<4;c++){for(;a&&O(e.line.text.charAt(o.coverStart+a));)--a;for(;o.coverStart+l<o.coverEnd&&O(e.line.text.charAt(o.coverStart+l));)++l;if(i=os&&ss<9&&0==a&&l==o.coverEnd-o.coverStart?s.parentNode.getBoundingClientRect():$e(xs(s,a,l).getClientRects(),r),i.left||i.right||0==a)break;l=a,a-=1,u="right"}os&&ss<11&&(i=en(t.display.measure,i))}else{a>0&&(u=r="right");var h;i=t.options.lineWrapping&&(h=s.getClientRects()).length>1?h["right"==r?h.length-1:0]:s.getBoundingClientRect()}if(os&&ss<9&&!a&&(!i||!i.left&&!i.right)){var p=s.parentNode.getClientRects()[0];i=p?{left:p.left,right:p.left+bn(t.display),top:p.top,bottom:p.bottom}:ia}for(var f=i.top-e.rect.top,d=i.bottom-e.rect.top,v=(f+d)/2,m=e.view.measure.heights,g=0;g<m.length-1&&!(v<m[g]);g++);var y=g?m[g-1]:0,b=m[g],w={left:("right"==u?i.right:i.left)-e.rect.left,right:("left"==u?i.left:i.right)-e.rect.left,top:y,bottom:b};return i.left||i.right||(w.bogus=!0),t.options.singleCursorHeightPerLine||(w.rtop=f,w.rbottom=d),w}function en(t,e){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!Bt(t))return e;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:e.left*n,right:e.right*n,top:e.top*r,bottom:e.bottom*r}}function nn(t){if(t.measure&&(t.measure.cache={},t.measure.heights=null,t.rest))for(var e=0;e<t.rest.length;e++)t.measure.caches[e]={}}function rn(t){t.display.externalMeasure=null,e(t.display.lineMeasure);for(var n=0;n<t.display.view.length;n++)nn(t.display.view[n])}function on(t){rn(t),t.display.cachedCharWidth=t.display.cachedTextHeight=t.display.cachedPaddingH=null,t.options.lineWrapping||(t.display.maxLineChanged=!0),t.display.lineNumChars=null}function sn(){return us&&vs?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function an(){return us&&vs?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function ln(t,e,n,r,i){if(!i&&e.widgets)for(var o=0;o<e.widgets.length;++o)if(e.widgets[o].above){var s=je(e.widgets[o]);n.top+=s,n.bottom+=s}if("line"==r)return n;r||(r="local");var a=yt(e);if("local"==r?a+=Fe(t.display):a-=t.display.viewOffset,"page"==r||"window"==r){var l=t.display.lineSpace.getBoundingClientRect();a+=l.top+("window"==r?0:an());var u=l.left+("window"==r?0:sn());n.left+=u,n.right+=u}return n.top+=a,n.bottom+=a,n}function un(t,e,n){if("div"==n)return e;var r=e.left,i=e.top;if("page"==n)r-=sn(),i-=an();else if("local"==n||!n){var o=t.display.sizer.getBoundingClientRect();r+=o.left,i+=o.top}var s=t.display.lineSpace.getBoundingClientRect();return{left:r-s.left,top:i-s.top}}function cn(t,e,n,r,i){return r||(r=k(t.doc,e.line)),ln(t,r,Ye(t,r,e.ch,i),n)}function hn(t,e,n,r,i,o){function s(e,s){var a=Ze(t,i,e,s?"right":"left",o);return s?a.left=a.right:a.right=a.left,ln(t,r,a,n)}function a(t,e,n){var r=l[e],i=r.level%2!=0;return s(n?t-1:t,i!=n)}r=r||k(t.doc,e.line),i||(i=Je(t,r));var l=Ot(r,t.doc.direction),u=e.ch,c=e.sticky;if(u>=r.text.length?(u=r.text.length,c="before"):u<=0&&(u=0,c="after"),!l)return s("before"==c?u-1:u,"before"==c);var h=Ct(l,u,c),p=Fs,f=a(u,h,"before"==c);return null!=p&&(f.other=a(u,p,"before"!=c)),f}function pn(t,e){var n=0;e=z(t.doc,e),t.options.lineWrapping||(n=bn(t.display)*e.ch);var r=k(t.doc,e.line),i=yt(r)+Fe(t.display);return{left:n,right:n,top:i,bottom:i+r.height}}function fn(t,e,n,r,i){var o=N(t,e,n);return o.xRel=i,r&&(o.outside=!0),o}function dn(t,e,n){var r=t.doc;if((n+=t.display.viewOffset)<0)return fn(r.first,0,null,!0,-1);var i=E(r,n),o=r.first+r.size-1;if(i>o)return fn(r.first+r.size-1,k(r,o).text.length,null,!0,1);e<0&&(e=0);for(var s=k(r,i);;){var a=gn(t,s,i,e,n),l=ut(s),u=l&&l.find(0,!0);if(!l||!(a.ch>u.from.ch||a.ch==u.from.ch&&a.xRel>0))return a;i=A(s=u.to.line)}}function vn(t,e,n,r){var i=function(r){return ln(t,e,Ze(t,n,r),"line")},o=e.text.length,s=_(function(t){return i(t-1).bottom<=r},o,0);return o=_(function(t){return i(t).top>r},s,o),{begin:s,end:o}}function mn(t,e,n,r){return vn(t,e,n,ln(t,e,Ze(t,n,r),"line").top)}function gn(t,e,n,r,i){i-=yt(e);var o,s=0,a=e.text.length,l=Je(t,e);if(Ot(e,t.doc.direction)){if(t.options.lineWrapping){var u;u=vn(t,e,l,i),s=u.begin,a=u.end}o=new N(n,s);var c,h,p=hn(t,o,"line",e,l).left,f=p<r?1:-1,d=p-r;do{if(c=d,h=o,null==(o=kt(t,e,o,f))||o.ch<s||a<=("before"==o.sticky?o.ch-1:o.ch)){o=h;break}d=hn(t,o,"line",e,l).left-r}while(f<0!=d<0&&Math.abs(d)<=Math.abs(c));if(Math.abs(d)>Math.abs(c)){if(d<0==c<0)throw new Error("Broke out of infinite loop in coordsCharInner");o=h}}else{var v=_(function(n){var o=ln(t,e,Ze(t,l,n),"line");return o.top>i?(a=Math.min(n,a),!0):!(o.bottom<=i)&&(o.left>r||!(o.right<r)&&r-o.left<o.right-r)},s,a);v=S(e.text,v,1),o=new N(n,v,v==a?"before":"after")}var m=hn(t,o,"line",e,l);return(i<m.top||m.bottom<i)&&(o.outside=!0),o.xRel=r<m.left?-1:r>m.right?1:0,o}function yn(t){if(null!=t.cachedTextHeight)return t.cachedTextHeight;if(null==$s){$s=r("pre");for(var i=0;i<49;++i)$s.appendChild(document.createTextNode("x")),$s.appendChild(r("br"));$s.appendChild(document.createTextNode("x"))}n(t.measure,$s);var o=$s.offsetHeight/50;return o>3&&(t.cachedTextHeight=o),e(t.measure),o||1}function bn(t){if(null!=t.cachedCharWidth)return t.cachedCharWidth;var e=r("span","xxxxxxxxxx"),i=r("pre",[e]);n(t.measure,i);var o=e.getBoundingClientRect(),s=(o.right-o.left)/10;return s>2&&(t.cachedCharWidth=s),s||10}function wn(t){for(var e=t.display,n={},r={},i=e.gutters.clientLeft,o=e.gutters.firstChild,s=0;o;o=o.nextSibling,++s)n[t.options.gutters[s]]=o.offsetLeft+o.clientLeft+i,r[t.options.gutters[s]]=o.clientWidth;return{fixedPos:xn(e),gutterTotalWidth:e.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:e.wrapper.clientWidth}}function xn(t){return t.scroller.getBoundingClientRect().left-t.sizer.getBoundingClientRect().left}function Cn(t){var e=yn(t.display),n=t.options.lineWrapping,r=n&&Math.max(5,t.display.scroller.clientWidth/bn(t.display)-3);return function(i){if(mt(t.doc,i))return 0;var o=0;if(i.widgets)for(var s=0;s<i.widgets.length;s++)i.widgets[s].height&&(o+=i.widgets[s].height);return n?o+(Math.ceil(i.text.length/r)||1)*e:o+e}}function On(t){var e=t.doc,n=Cn(t);e.iter(function(t){var e=n(t);e!=t.height&&P(t,e)})}function Sn(t,e,n,r){var i=t.display;if(!n&&"true"==Ft(e).getAttribute("cm-not-content"))return null;var o,s,a=i.lineSpace.getBoundingClientRect();try{o=e.clientX-a.left,s=e.clientY-a.top}catch(e){return null}var l,u=dn(t,o,s);if(r&&1==u.xRel&&(l=k(t.doc,u.line).text).length==u.ch){var c=h(l,l.length,t.options.tabSize)-l.length;u=N(u.line,Math.max(0,Math.round((o-He(t.display).left)/bn(t.display))-c))}return u}function _n(t,e){if(e>=t.display.viewTo)return null;if((e-=t.display.viewFrom)<0)return null;for(var n=t.display.view,r=0;r<n.length;r++)if((e-=n[r].size)<0)return r}function Tn(t){t.display.input.showSelection(t.display.input.prepareSelection())}function kn(t,e){for(var n=t.doc,r={},i=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),s=0;s<n.sel.ranges.length;s++)if(!1!==e||s!=n.sel.primIndex){var a=n.sel.ranges[s];if(!(a.from().line>=t.display.viewTo||a.to().line<t.display.viewFrom)){var l=a.empty();(l||t.options.showCursorWhenSelecting)&&Mn(t,a.head,i),l||In(t,a,o)}}return r}function Mn(t,e,n){var i=hn(t,e,"div",null,null,!t.options.singleCursorHeightPerLine),o=n.appendChild(r("div"," ","CodeMirror-cursor"));if(o.style.left=i.left+"px",o.style.top=i.top+"px",o.style.height=Math.max(0,i.bottom-i.top)*t.options.cursorHeight+"px",i.other){var s=n.appendChild(r("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));s.style.display="",s.style.left=i.other.left+"px",s.style.top=i.other.top+"px",s.style.height=.85*(i.other.bottom-i.other.top)+"px"}}function In(t,e,n){function i(t,e,n,i){e<0&&(e=0),e=Math.round(e),i=Math.round(i),l.appendChild(r("div",null,"CodeMirror-selected","position: absolute; left: "+t+"px;\n top: "+e+"px; width: "+(null==n?h-t:n)+"px;\n height: "+(i-e)+"px"))}function o(e,n,r){function o(n,r){return cn(t,N(e,n),"div",u,r)}var s,l,u=k(a,e),p=u.text.length;return xt(Ot(u,a.direction),n||0,null==r?p:r,function(t,e,a){var u,f,d,v=o(t,"left");if(t==e)u=v,f=d=v.left;else{if(u=o(e-1,"right"),"rtl"==a){var m=v;v=u,u=m}f=v.left,d=u.right}null==n&&0==t&&(f=c),u.top-v.top>3&&(i(f,v.top,null,v.bottom),f=c,v.bottom<u.top&&i(f,v.bottom,null,u.top)),null==r&&e==p&&(d=h),(!s||v.top<s.top||v.top==s.top&&v.left<s.left)&&(s=v),(!l||u.bottom>l.bottom||u.bottom==l.bottom&&u.right>l.right)&&(l=u),f<c+1&&(f=c),i(f,u.top,d-f,u.bottom)}),{start:s,end:l}}var s=t.display,a=t.doc,l=document.createDocumentFragment(),u=He(t.display),c=u.left,h=Math.max(s.sizerWidth,Be(t)-s.sizer.offsetLeft)-u.right,p=e.from(),f=e.to();if(p.line==f.line)o(p.line,p.ch,f.ch);else{var d=k(a,p.line),v=k(a,f.line),m=ht(d)==ht(v),g=o(p.line,p.ch,m?d.text.length+1:null).end,y=o(f.line,m?0:null,f.ch).start;m&&(g.top<y.top-2?(i(g.right,g.top,null,g.bottom),i(c,y.top,y.left,y.bottom)):i(g.right,g.top,y.left-g.right,g.bottom)),g.bottom<y.top&&i(c,g.bottom,null,y.top)}n.appendChild(l)}function Pn(t){if(t.state.focused){var e=t.display;clearInterval(e.blinker);var n=!0;e.cursorDiv.style.visibility="",t.options.cursorBlinkRate>0?e.blinker=setInterval(function(){return e.cursorDiv.style.visibility=(n=!n)?"":"hidden"},t.options.cursorBlinkRate):t.options.cursorBlinkRate<0&&(e.cursorDiv.style.visibility="hidden")}}function An(t){t.state.focused||(t.display.input.focus(),Dn(t))}function En(t){t.state.delayingBlurEvent=!0,setTimeout(function(){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1,Rn(t))},100)}function Dn(t,e){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1),"nocursor"!=t.options.readOnly&&(t.state.focused||(Pt(t,"focus",t,e),t.state.focused=!0,a(t.display.wrapper,"CodeMirror-focused"),t.curOp||t.display.selForContextMenu==t.doc.sel||(t.display.input.reset(),as&&setTimeout(function(){return t.display.input.reset(!0)},20)),t.display.input.receivedFocus()),Pn(t))}function Rn(t,e){t.state.delayingBlurEvent||(t.state.focused&&(Pt(t,"blur",t,e),t.state.focused=!1,Ss(t.display.wrapper,"CodeMirror-focused")),clearInterval(t.display.blinker),setTimeout(function(){t.state.focused||(t.display.shift=!1)},150))}function Nn(t){for(var e=t.display,n=e.lineDiv.offsetTop,r=0;r<e.view.length;r++){var i=e.view[r],o=void 0;if(!i.hidden){if(os&&ss<8){var s=i.node.offsetTop+i.node.offsetHeight;o=s-n,n=s}else{var a=i.node.getBoundingClientRect();o=a.bottom-a.top}var l=i.line.height-o;if(o<2&&(o=yn(e)),(l>.001||l<-.001)&&(P(i.line,o),Ln(i.line),i.rest))for(var u=0;u<i.rest.length;u++)Ln(i.rest[u])}}}function Ln(t){if(t.widgets)for(var e=0;e<t.widgets.length;++e)t.widgets[e].height=t.widgets[e].node.parentNode.offsetHeight}function jn(t,e,n){var r=n&&null!=n.top?Math.max(0,n.top):t.scroller.scrollTop;r=Math.floor(r-Fe(t));var i=n&&null!=n.bottom?n.bottom:r+t.wrapper.clientHeight,o=E(e,r),s=E(e,i);if(n&&n.ensure){var a=n.ensure.from.line,l=n.ensure.to.line;a<o?(o=a,s=E(e,yt(k(e,a))+t.wrapper.clientHeight)):Math.min(l,e.lastLine())>=s&&(o=E(e,yt(k(e,l))-t.wrapper.clientHeight),s=l)}return{from:o,to:Math.max(s,o+1)}}function Wn(t){var e=t.display,n=e.view;if(e.alignWidgets||e.gutters.firstChild&&t.options.fixedGutter){for(var r=xn(e)-e.scroller.scrollLeft+t.doc.scrollLeft,i=e.gutters.offsetWidth,o=r+"px",s=0;s<n.length;s++)if(!n[s].hidden){t.options.fixedGutter&&(n[s].gutter&&(n[s].gutter.style.left=o),n[s].gutterBackground&&(n[s].gutterBackground.style.left=o));var a=n[s].alignable;if(a)for(var l=0;l<a.length;l++)a[l].style.left=o}t.options.fixedGutter&&(e.gutters.style.left=r+i+"px")}}function Fn(t){if(!t.options.lineNumbers)return!1;var e=t.doc,n=R(t.options,e.first+e.size-1),i=t.display;if(n.length!=i.lineNumChars){var o=i.measure.appendChild(r("div",[r("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),s=o.firstChild.offsetWidth,a=o.offsetWidth-s;return i.lineGutter.style.width="",i.lineNumInnerWidth=Math.max(s,i.lineGutter.offsetWidth-a)+1,i.lineNumWidth=i.lineNumInnerWidth+a,i.lineNumChars=i.lineNumInnerWidth?n.length:-1,i.lineGutter.style.width=i.lineNumWidth+"px",Pr(t),!0}return!1}function Vn(t,e){if(!At(t,"scrollCursorIntoView")){var n=t.display,i=n.sizer.getBoundingClientRect(),o=null;if(e.top+i.top<0?o=!0:e.bottom+i.top>(window.innerHeight||document.documentElement.clientHeight)&&(o=!1),null!=o&&!fs){var s=r("div","​",null,"position: absolute;\n top: "+(e.top-n.viewOffset-Fe(t.display))+"px;\n height: "+(e.bottom-e.top+ze(t)+n.barHeight)+"px;\n left: "+e.left+"px; width: "+Math.max(2,e.right-e.left)+"px;");t.display.lineSpace.appendChild(s),s.scrollIntoView(o),t.display.lineSpace.removeChild(s)}}}function Hn(t,e,n,r){null==r&&(r=0);for(var i,o=0;o<5;o++){var s=!1,a=hn(t,e),l=n&&n!=e?hn(t,n):a;i={left:Math.min(a.left,l.left),top:Math.min(a.top,l.top)-r,right:Math.max(a.left,l.left),bottom:Math.max(a.bottom,l.bottom)+r};var u=Bn(t,i),c=t.doc.scrollTop,h=t.doc.scrollLeft;if(null!=u.scrollTop&&(Jn(t,u.scrollTop),Math.abs(t.doc.scrollTop-c)>1&&(s=!0)),null!=u.scrollLeft&&(Qn(t,u.scrollLeft),Math.abs(t.doc.scrollLeft-h)>1&&(s=!0)),!s)break}return i}function zn(t,e){var n=Bn(t,e);null!=n.scrollTop&&Jn(t,n.scrollTop),null!=n.scrollLeft&&Qn(t,n.scrollLeft)}function Bn(t,e){var n=t.display,r=yn(t.display);e.top<0&&(e.top=0);var i=t.curOp&&null!=t.curOp.scrollTop?t.curOp.scrollTop:n.scroller.scrollTop,o=Ue(t),s={};e.bottom-e.top>o&&(e.bottom=e.top+o);var a=t.doc.height+Ve(n),l=e.top<r,u=e.bottom>a-r;if(e.top<i)s.scrollTop=l?0:e.top;else if(e.bottom>i+o){var c=Math.min(e.top,(u?a:e.bottom)-o);c!=i&&(s.scrollTop=c)}var h=t.curOp&&null!=t.curOp.scrollLeft?t.curOp.scrollLeft:n.scroller.scrollLeft,p=Be(t)-(t.options.fixedGutter?n.gutters.offsetWidth:0),f=e.right-e.left>p;return f&&(e.right=e.left+p),e.left<10?s.scrollLeft=0:e.left<h?s.scrollLeft=Math.max(0,e.left-(f?0:10)):e.right>p+h-3&&(s.scrollLeft=e.right+(f?0:10)-p),s}function Un(t,e){null!=e&&(Yn(t),t.curOp.scrollTop=(null==t.curOp.scrollTop?t.doc.scrollTop:t.curOp.scrollTop)+e)}function qn(t){Yn(t);var e=t.getCursor(),n=e,r=e;t.options.lineWrapping||(n=e.ch?N(e.line,e.ch-1):e,r=N(e.line,e.ch+1)),t.curOp.scrollToPos={from:n,to:r,margin:t.options.cursorScrollMargin}}function Kn(t,e,n){null==e&&null==n||Yn(t),null!=e&&(t.curOp.scrollLeft=e),null!=n&&(t.curOp.scrollTop=n)}function Gn(t,e){Yn(t),t.curOp.scrollToPos=e}function Yn(t){var e=t.curOp.scrollToPos;if(e){t.curOp.scrollToPos=null;Xn(t,pn(t,e.from),pn(t,e.to),e.margin)}}function Xn(t,e,n,r){var i=Bn(t,{left:Math.min(e.left,n.left),top:Math.min(e.top,n.top)-r,right:Math.max(e.right,n.right),bottom:Math.max(e.bottom,n.bottom)+r});Kn(t,i.scrollLeft,i.scrollTop)}function Jn(t,e){Math.abs(t.doc.scrollTop-e)<2||(es||Mr(t,{top:e}),Zn(t,e,!0),es&&Mr(t),xr(t,100))}function Zn(t,e,n){e=Math.min(t.display.scroller.scrollHeight-t.display.scroller.clientHeight,e),(t.display.scroller.scrollTop!=e||n)&&(t.doc.scrollTop=e,t.display.scrollbars.setScrollTop(e),t.display.scroller.scrollTop!=e&&(t.display.scroller.scrollTop=e))}function Qn(t,e,n,r){e=Math.min(e,t.display.scroller.scrollWidth-t.display.scroller.clientWidth),(n?e==t.doc.scrollLeft:Math.abs(t.doc.scrollLeft-e)<2)&&!r||(t.doc.scrollLeft=e,Wn(t),t.display.scroller.scrollLeft!=e&&(t.display.scroller.scrollLeft=e),t.display.scrollbars.setScrollLeft(e))}function $n(t){var e=t.display,n=e.gutters.offsetWidth,r=Math.round(t.doc.height+Ve(t.display));return{clientHeight:e.scroller.clientHeight,viewHeight:e.wrapper.clientHeight,scrollWidth:e.scroller.scrollWidth,clientWidth:e.scroller.clientWidth,viewWidth:e.wrapper.clientWidth,barLeft:t.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+ze(t)+e.barHeight,nativeBarWidth:e.nativeBarWidth,gutterWidth:n}}function tr(t,e){e||(e=$n(t));var n=t.display.barWidth,r=t.display.barHeight;er(t,e);for(var i=0;i<4&&n!=t.display.barWidth||r!=t.display.barHeight;i++)n!=t.display.barWidth&&t.options.lineWrapping&&Nn(t),er(t,$n(t)),n=t.display.barWidth,r=t.display.barHeight}function er(t,e){var n=t.display,r=n.scrollbars.update(e);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&t.options.coverGutterNextToScrollbar&&t.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=e.gutterWidth+"px"):n.gutterFiller.style.display=""}function nr(t){t.display.scrollbars&&(t.display.scrollbars.clear(),t.display.scrollbars.addClass&&Ss(t.display.wrapper,t.display.scrollbars.addClass)),t.display.scrollbars=new aa[t.options.scrollbarStyle](function(e){t.display.wrapper.insertBefore(e,t.display.scrollbarFiller),zs(e,"mousedown",function(){t.state.focused&&setTimeout(function(){return t.display.input.focus()},0)}),e.setAttribute("cm-not-content","true")},function(e,n){"horizontal"==n?Qn(t,e):Jn(t,e)},t),t.display.scrollbars.addClass&&a(t.display.wrapper,t.display.scrollbars.addClass)}function rr(t){t.curOp={cm:t,viewChanged:!1,startHeight:t.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++la},we(t.curOp)}function ir(t){Ce(t.curOp,function(t){for(var e=0;e<t.ops.length;e++)t.ops[e].cm.curOp=null;or(t)})}function or(t){for(var e=t.ops,n=0;n<e.length;n++)sr(e[n]);for(var r=0;r<e.length;r++)ar(e[r]);for(var i=0;i<e.length;i++)lr(e[i]);for(var o=0;o<e.length;o++)ur(e[o]);for(var s=0;s<e.length;s++)cr(e[s])}function sr(t){var e=t.cm,n=e.display;Or(e),t.updateMaxLine&&wt(e),t.mustUpdate=t.viewChanged||t.forceUpdate||null!=t.scrollTop||t.scrollToPos&&(t.scrollToPos.from.line<n.viewFrom||t.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&e.options.lineWrapping,t.update=t.mustUpdate&&new ua(e,t.mustUpdate&&{top:t.scrollTop,ensure:t.scrollToPos},t.forceUpdate)}function ar(t){t.updatedDisplay=t.mustUpdate&&Tr(t.cm,t.update)}function lr(t){var e=t.cm,n=e.display;t.updatedDisplay&&Nn(e),t.barMeasure=$n(e),n.maxLineChanged&&!e.options.lineWrapping&&(t.adjustWidthTo=Ye(e,n.maxLine,n.maxLine.text.length).left+3,e.display.sizerWidth=t.adjustWidthTo,t.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+t.adjustWidthTo+ze(e)+e.display.barWidth),t.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+t.adjustWidthTo-Be(e))),(t.updatedDisplay||t.selectionChanged)&&(t.preparedSelection=n.input.prepareSelection(t.focus))}function ur(t){var e=t.cm;null!=t.adjustWidthTo&&(e.display.sizer.style.minWidth=t.adjustWidthTo+"px",t.maxScrollLeft<e.doc.scrollLeft&&Qn(e,Math.min(e.display.scroller.scrollLeft,t.maxScrollLeft),!0),e.display.maxLineChanged=!1);var n=t.focus&&t.focus==s()&&(!document.hasFocus||document.hasFocus());t.preparedSelection&&e.display.input.showSelection(t.preparedSelection,n),(t.updatedDisplay||t.startHeight!=e.doc.height)&&tr(e,t.barMeasure),t.updatedDisplay&&Ar(e,t.barMeasure),t.selectionChanged&&Pn(e),e.state.focused&&t.updateInput&&e.display.input.reset(t.typing),n&&An(t.cm)}function cr(t){var e=t.cm,n=e.display,r=e.doc;if(t.updatedDisplay&&kr(e,t.update),null==n.wheelStartX||null==t.scrollTop&&null==t.scrollLeft&&!t.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=t.scrollTop&&Zn(e,t.scrollTop,t.forceScroll),null!=t.scrollLeft&&Qn(e,t.scrollLeft,!0,!0),t.scrollToPos){Vn(e,Hn(e,z(r,t.scrollToPos.from),z(r,t.scrollToPos.to),t.scrollToPos.margin))}var i=t.maybeHiddenMarkers,o=t.maybeUnhiddenMarkers;if(i)for(var s=0;s<i.length;++s)i[s].lines.length||Pt(i[s],"hide");if(o)for(var a=0;a<o.length;++a)o[a].lines.length&&Pt(o[a],"unhide");n.wrapper.offsetHeight&&(r.scrollTop=e.display.scroller.scrollTop),t.changeObjs&&Pt(e,"changes",e,t.changeObjs),t.update&&t.update.finish()}function hr(t,e){if(t.curOp)return e();rr(t);try{return e()}finally{ir(t)}}function pr(t,e){return function(){if(t.curOp)return e.apply(t,arguments);rr(t);try{return e.apply(t,arguments)}finally{ir(t)}}}function fr(t){return function(){if(this.curOp)return t.apply(this,arguments);rr(this);try{return t.apply(this,arguments)}finally{ir(this)}}}function dr(t){return function(){var e=this.cm;if(!e||e.curOp)return t.apply(this,arguments);rr(e);try{return t.apply(this,arguments)}finally{ir(e)}}}function vr(t,e,n,r){null==e&&(e=t.doc.first),null==n&&(n=t.doc.first+t.doc.size),r||(r=0);var i=t.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>e)&&(i.updateLineNumbers=e),t.curOp.viewChanged=!0,e>=i.viewTo)Ws&&dt(t.doc,e)<i.viewTo&&gr(t);else if(n<=i.viewFrom)Ws&&vt(t.doc,n+r)>i.viewFrom?gr(t):(i.viewFrom+=r,i.viewTo+=r);else if(e<=i.viewFrom&&n>=i.viewTo)gr(t);else if(e<=i.viewFrom){var o=yr(t,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):gr(t)}else if(n>=i.viewTo){var s=yr(t,e,e,-1);s?(i.view=i.view.slice(0,s.index),i.viewTo=s.lineN):gr(t)}else{var a=yr(t,e,e,-1),l=yr(t,n,n+r,1);a&&l?(i.view=i.view.slice(0,a.index).concat(be(t,a.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):gr(t)}var u=i.externalMeasured;u&&(n<u.lineN?u.lineN+=r:e<u.lineN+u.size&&(i.externalMeasured=null))}function mr(t,e,n){t.curOp.viewChanged=!0;var r=t.display,i=t.display.externalMeasured;if(i&&e>=i.lineN&&e<i.lineN+i.size&&(r.externalMeasured=null),!(e<r.viewFrom||e>=r.viewTo)){var o=r.view[_n(t,e)];if(null!=o.node){var s=o.changes||(o.changes=[]);-1==p(s,n)&&s.push(n)}}}function gr(t){t.display.viewFrom=t.display.viewTo=t.doc.first,t.display.view=[],t.display.viewOffset=0}function yr(t,e,n,r){var i,o=_n(t,e),s=t.display.view;if(!Ws||n==t.doc.first+t.doc.size)return{index:o,lineN:n};for(var a=t.display.viewFrom,l=0;l<o;l++)a+=s[l].size;if(a!=e){if(r>0){if(o==s.length-1)return null;i=a+s[o].size-e,o++}else i=a-e;e+=i,n+=i}for(;dt(t.doc,n)!=n;){if(o==(r<0?0:s.length-1))return null;n+=r*s[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function br(t,e,n){var r=t.display;0==r.view.length||e>=r.viewTo||n<=r.viewFrom?(r.view=be(t,e,n),r.viewFrom=e):(r.viewFrom>e?r.view=be(t,e,r.viewFrom).concat(r.view):r.viewFrom<e&&(r.view=r.view.slice(_n(t,e))),r.viewFrom=e,r.viewTo<n?r.view=r.view.concat(be(t,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,_n(t,n)))),r.viewTo=n}function wr(t){for(var e=t.display.view,n=0,r=0;r<e.length;r++){var i=e[r];i.hidden||i.node&&!i.changes||++n}return n}function xr(t,e){t.doc.mode.startState&&t.doc.frontier<t.display.viewTo&&t.state.highlight.set(e,u(Cr,t))}function Cr(t){var e=t.doc;if(e.frontier<e.first&&(e.frontier=e.first),!(e.frontier>=t.display.viewTo)){var n=+new Date+t.options.workTime,r=Xt(e.mode,te(t,e.frontier)),i=[];e.iter(e.frontier,Math.min(e.first+e.size,t.display.viewTo+500),function(o){if(e.frontier>=t.display.viewFrom){var s=o.styles,a=o.text.length>t.options.maxHighlightLength,l=Qt(t,o,a?Xt(e.mode,r):r,!0);o.styles=l.styles;var u=o.styleClasses,c=l.classes;c?o.styleClasses=c:u&&(o.styleClasses=null);for(var h=!s||s.length!=o.styles.length||u!=c&&(!u||!c||u.bgClass!=c.bgClass||u.textClass!=c.textClass),p=0;!h&&p<s.length;++p)h=s[p]!=o.styles[p];h&&i.push(e.frontier),o.stateAfter=a?r:Xt(e.mode,r)}else o.text.length<=t.options.maxHighlightLength&&ee(t,o.text,r),o.stateAfter=e.frontier%5==0?Xt(e.mode,r):null;if(++e.frontier,+new Date>n)return xr(t,t.options.workDelay),!0}),i.length&&hr(t,function(){for(var e=0;e<i.length;e++)mr(t,i[e],"text")})}}function Or(t){var e=t.display;!e.scrollbarsClipped&&e.scroller.offsetWidth&&(e.nativeBarWidth=e.scroller.offsetWidth-e.scroller.clientWidth,e.heightForcer.style.height=ze(t)+"px",e.sizer.style.marginBottom=-e.nativeBarWidth+"px",e.sizer.style.borderRightWidth=ze(t)+"px",e.scrollbarsClipped=!0)}function Sr(t){if(t.hasFocus())return null;var e=s();if(!e||!o(t.display.lineDiv,e))return null;var n={activeElt:e};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&o(t.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}function _r(t){if(t&&t.activeElt&&t.activeElt!=s()&&(t.activeElt.focus(),t.anchorNode&&o(document.body,t.anchorNode)&&o(document.body,t.focusNode))){var e=window.getSelection(),n=document.createRange();n.setEnd(t.anchorNode,t.anchorOffset),n.collapse(!1),e.removeAllRanges(),e.addRange(n),e.extend(t.focusNode,t.focusOffset)}}function Tr(t,n){var r=t.display,i=t.doc;if(n.editorIsHidden)return gr(t),!1;if(!n.force&&n.visible.from>=r.viewFrom&&n.visible.to<=r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&0==wr(t))return!1;Fn(t)&&(gr(t),n.dims=wn(t));var o=i.first+i.size,s=Math.max(n.visible.from-t.options.viewportMargin,i.first),a=Math.min(o,n.visible.to+t.options.viewportMargin);r.viewFrom<s&&s-r.viewFrom<20&&(s=Math.max(i.first,r.viewFrom)),r.viewTo>a&&r.viewTo-a<20&&(a=Math.min(o,r.viewTo)),Ws&&(s=dt(t.doc,s),a=vt(t.doc,a));var l=s!=r.viewFrom||a!=r.viewTo||r.lastWrapHeight!=n.wrapperHeight||r.lastWrapWidth!=n.wrapperWidth;br(t,s,a),r.viewOffset=yt(k(t.doc,r.viewFrom)),t.display.mover.style.top=r.viewOffset+"px";var u=wr(t);if(!l&&0==u&&!n.force&&r.renderedView==r.view&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo))return!1;var c=Sr(t);return u>4&&(r.lineDiv.style.display="none"),Ir(t,r.updateLineNumbers,n.dims),u>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,_r(c),e(r.cursorDiv),e(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,l&&(r.lastWrapHeight=n.wrapperHeight,r.lastWrapWidth=n.wrapperWidth,xr(t,400)),r.updateLineNumbers=null,!0}function kr(t,e){for(var n=e.viewport,r=!0;(r&&t.options.lineWrapping&&e.oldDisplayWidth!=Be(t)||(n&&null!=n.top&&(n={top:Math.min(t.doc.height+Ve(t.display)-Ue(t),n.top)}),e.visible=jn(t.display,t.doc,n),!(e.visible.from>=t.display.viewFrom&&e.visible.to<=t.display.viewTo)))&&Tr(t,e);r=!1){Nn(t);var i=$n(t);Tn(t),tr(t,i),Ar(t,i)}e.signal(t,"update",t),t.display.viewFrom==t.display.reportedViewFrom&&t.display.viewTo==t.display.reportedViewTo||(e.signal(t,"viewportChange",t,t.display.viewFrom,t.display.viewTo),t.display.reportedViewFrom=t.display.viewFrom,t.display.reportedViewTo=t.display.viewTo)}function Mr(t,e){var n=new ua(t,e);if(Tr(t,n)){Nn(t),kr(t,n);var r=$n(t);Tn(t),tr(t,r),Ar(t,r),n.finish()}}function Ir(t,n,r){function i(e){var n=e.nextSibling;return as&&gs&&t.display.currentWheelTarget==e?e.style.display="none":e.parentNode.removeChild(e),n}for(var o=t.display,s=t.options.lineNumbers,a=o.lineDiv,l=a.firstChild,u=o.view,c=o.viewFrom,h=0;h<u.length;h++){var f=u[h];if(f.hidden);else if(f.node&&f.node.parentNode==a){for(;l!=f.node;)l=i(l);var d=s&&null!=n&&n<=c&&f.lineNumber;f.changes&&(p(f.changes,"gutter")>-1&&(d=!1),_e(t,f,c,r)),d&&(e(f.lineNumber),f.lineNumber.appendChild(document.createTextNode(R(t.options,c)))),l=f.node.nextSibling}else{var v=De(t,f,c,r);a.insertBefore(v,l)}c+=f.size}for(;l;)l=i(l)}function Pr(t){var e=t.display.gutters.offsetWidth;t.display.sizer.style.marginLeft=e+"px"}function Ar(t,e){t.display.sizer.style.minHeight=e.docHeight+"px",t.display.heightForcer.style.top=e.docHeight+"px",t.display.gutters.style.height=e.docHeight+t.display.barHeight+ze(t)+"px"}function Er(t){var n=t.display.gutters,i=t.options.gutters;e(n);for(var o=0;o<i.length;++o){var s=i[o],a=n.appendChild(r("div",null,"CodeMirror-gutter "+s));"CodeMirror-linenumbers"==s&&(t.display.lineGutter=a,a.style.width=(t.display.lineNumWidth||1)+"px")}n.style.display=o?"":"none",Pr(t)}function Dr(t){var e=p(t.gutters,"CodeMirror-linenumbers");-1==e&&t.lineNumbers?t.gutters=t.gutters.concat(["CodeMirror-linenumbers"]):e>-1&&!t.lineNumbers&&(t.gutters=t.gutters.slice(0),t.gutters.splice(e,1))}function Rr(t){var e=t.wheelDeltaX,n=t.wheelDeltaY;return null==e&&t.detail&&t.axis==t.HORIZONTAL_AXIS&&(e=t.detail),null==n&&t.detail&&t.axis==t.VERTICAL_AXIS?n=t.detail:null==n&&(n=t.wheelDelta),{x:e,y:n}}function Nr(t){var e=Rr(t);return e.x*=ha,e.y*=ha,e}function Lr(t,e){var n=Rr(e),r=n.x,i=n.y,o=t.display,s=o.scroller,a=s.scrollWidth>s.clientWidth,l=s.scrollHeight>s.clientHeight;if(r&&a||i&&l){if(i&&gs&&as)t:for(var u=e.target,c=o.view;u!=s;u=u.parentNode)for(var h=0;h<c.length;h++)if(c[h].node==u){t.display.currentWheelTarget=u;break t}if(r&&!es&&!cs&&null!=ha)return i&&l&&Jn(t,Math.max(0,s.scrollTop+i*ha)),Qn(t,Math.max(0,s.scrollLeft+r*ha)),(!i||i&&l)&&Nt(e),void(o.wheelStartX=null);if(i&&null!=ha){var p=i*ha,f=t.doc.scrollTop,d=f+o.wrapper.clientHeight;p<0?f=Math.max(0,f+p-50):d=Math.min(t.doc.height,d+p+50),Mr(t,{top:f,bottom:d})}ca<20&&(null==o.wheelStartX?(o.wheelStartX=s.scrollLeft,o.wheelStartY=s.scrollTop,o.wheelDX=r,o.wheelDY=i,setTimeout(function(){if(null!=o.wheelStartX){var t=s.scrollLeft-o.wheelStartX,e=s.scrollTop-o.wheelStartY,n=e&&o.wheelDY&&e/o.wheelDY||t&&o.wheelDX&&t/o.wheelDX;o.wheelStartX=o.wheelStartY=null,n&&(ha=(ha*ca+n)/(ca+1),++ca)}},200)):(o.wheelDX+=r,o.wheelDY+=i))}}function jr(t,e){var n=t[e];t.sort(function(t,e){return L(t.from(),e.from())}),e=p(t,n);for(var r=1;r<t.length;r++){var i=t[r],o=t[r-1];if(L(o.to(),i.from())>=0){var s=V(o.from(),i.from()),a=F(o.to(),i.to()),l=o.empty()?i.from()==i.head:o.from()==o.head;r<=e&&--e,t.splice(--r,2,new fa(l?a:s,l?s:a))}}return new pa(t,e)}function Wr(t,e){return new pa([new fa(t,e||t)],0)}function Fr(t){return t.text?N(t.from.line+t.text.length-1,v(t.text).length+(1==t.text.length?t.from.ch:0)):t.to}function Vr(t,e){if(L(t,e.from)<0)return t;if(L(t,e.to)<=0)return Fr(e);var n=t.line+e.text.length-(e.to.line-e.from.line)-1,r=t.ch;return t.line==e.to.line&&(r+=Fr(e).ch-e.to.ch),N(n,r)}function Hr(t,e){for(var n=[],r=0;r<t.sel.ranges.length;r++){var i=t.sel.ranges[r];n.push(new fa(Vr(i.anchor,e),Vr(i.head,e)))}return jr(n,t.sel.primIndex)}function zr(t,e,n){return t.line==e.line?N(n.line,t.ch-e.ch+n.ch):N(n.line+(t.line-e.line),t.ch)}function Br(t,e,n){for(var r=[],i=N(t.first,0),o=i,s=0;s<e.length;s++){var a=e[s],l=zr(a.from,i,o),u=zr(Fr(a),i,o);if(i=a.to,o=u,"around"==n){var c=t.sel.ranges[s],h=L(c.head,c.anchor)<0;r[s]=new fa(h?u:l,h?l:u)}else r[s]=new fa(l,l)}return new pa(r,t.sel.primIndex)}function Ur(t){t.doc.mode=Gt(t.options,t.doc.modeOption),qr(t)}function qr(t){t.doc.iter(function(t){t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null)}),t.doc.frontier=t.doc.first,xr(t,100),t.state.modeGen++,t.curOp&&vr(t)}function Kr(t,e){return 0==e.from.ch&&0==e.to.ch&&""==v(e.text)&&(!t.cm||t.cm.options.wholeLineUpdateBefore)}function Gr(t,e,n,r){function i(t){return n?n[t]:null}function o(t,n,i){le(t,n,i,r),Oe(t,"change",t,e)}function s(t,e){for(var n=[],o=t;o<e;++o)n.push(new Qs(u[o],i(o),r));return n}var a=e.from,l=e.to,u=e.text,c=k(t,a.line),h=k(t,l.line),p=v(u),f=i(u.length-1),d=l.line-a.line;if(e.full)t.insert(0,s(0,u.length)),t.remove(u.length,t.size-u.length);else if(Kr(t,e)){var m=s(0,u.length-1);o(h,h.text,f),d&&t.remove(a.line,d),m.length&&t.insert(a.line,m)}else if(c==h)if(1==u.length)o(c,c.text.slice(0,a.ch)+p+c.text.slice(l.ch),f);else{var g=s(1,u.length-1);g.push(new Qs(p+c.text.slice(l.ch),f,r)),o(c,c.text.slice(0,a.ch)+u[0],i(0)),t.insert(a.line+1,g)}else if(1==u.length)o(c,c.text.slice(0,a.ch)+u[0]+h.text.slice(l.ch),i(0)),t.remove(a.line+1,d);else{o(c,c.text.slice(0,a.ch)+u[0],i(0)),o(h,p+h.text.slice(l.ch),f);var y=s(1,u.length-1);d>1&&t.remove(a.line+1,d-1),t.insert(a.line+1,y)}Oe(t,"change",t,e)}function Yr(t,e,n){function r(t,i,o){if(t.linked)for(var s=0;s<t.linked.length;++s){var a=t.linked[s];if(a.doc!=i){var l=o&&a.sharedHist;n&&!l||(e(a.doc,l),r(a.doc,t,l))}}}r(t,null,!0)}function Xr(t,e){if(e.cm)throw new Error("This document is already in use.");t.doc=e,e.cm=t,On(t),Ur(t),Jr(t),t.options.lineWrapping||wt(t),t.options.mode=e.modeOption,vr(t)}function Jr(t){("rtl"==t.doc.direction?a:Ss)(t.display.lineDiv,"CodeMirror-rtl")}function Zr(t){hr(t,function(){Jr(t),vr(t)})}function Qr(t){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=t||1}function $r(t,e){var n={from:W(e.from),to:Fr(e),text:M(t,e.from,e.to)};return si(t,n,e.from.line,e.to.line+1),Yr(t,function(t){return si(t,n,e.from.line,e.to.line+1)},!0),n}function ti(t){for(;t.length;){if(!v(t).ranges)break;t.pop()}}function ei(t,e){return e?(ti(t.done),v(t.done)):t.done.length&&!v(t.done).ranges?v(t.done):t.done.length>1&&!t.done[t.done.length-2].ranges?(t.done.pop(),v(t.done)):void 0}function ni(t,e,n,r){var i=t.history;i.undone.length=0;var o,s,a=+new Date;if((i.lastOp==r||i.lastOrigin==e.origin&&e.origin&&("+"==e.origin.charAt(0)&&t.cm&&i.lastModTime>a-t.cm.options.historyEventDelay||"*"==e.origin.charAt(0)))&&(o=ei(i,i.lastOp==r)))s=v(o.changes),0==L(e.from,e.to)&&0==L(e.from,s.to)?s.to=Fr(e):o.changes.push($r(t,e));else{var l=v(i.done);for(l&&l.ranges||oi(t.sel,i.done),o={changes:[$r(t,e)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=a,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=e.origin,s||Pt(t,"historyAdded")}function ri(t,e,n,r){var i=e.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-t.history.lastSelTime<=(t.cm?t.cm.options.historyEventDelay:500)}function ii(t,e,n,r){var i=t.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||ri(t,o,v(i.done),e))?i.done[i.done.length-1]=e:oi(e,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&ti(i.undone)}function oi(t,e){var n=v(e);n&&n.ranges&&n.equals(t)||e.push(t)}function si(t,e,n,r){var i=e["spans_"+t.id],o=0;t.iter(Math.max(t.first,n),Math.min(t.first+t.size,r),function(n){n.markedSpans&&((i||(i=e["spans_"+t.id]={}))[o]=n.markedSpans),++o})}function ai(t){if(!t)return null;for(var e,n=0;n<t.length;++n)t[n].marker.explicitlyCleared?e||(e=t.slice(0,n)):e&&e.push(t[n]);return e?e.length?e:null:t}function li(t,e){var n=e["spans_"+t.id];if(!n)return null;for(var r=[],i=0;i<e.text.length;++i)r.push(ai(n[i]));return r}function ui(t,e){var n=li(t,e),r=$(t,e);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var o=n[i],s=r[i];if(o&&s)t:for(var a=0;a<s.length;++a){for(var l=s[a],u=0;u<o.length;++u)if(o[u].marker==l.marker)continue t;o.push(l)}else s&&(n[i]=s)}return n}function ci(t,e,n){for(var r=[],i=0;i<t.length;++i){var o=t[i];if(o.ranges)r.push(n?pa.prototype.deepCopy.call(o):o);else{var s=o.changes,a=[];r.push({changes:a});for(var l=0;l<s.length;++l){var u=s[l],c=void 0;if(a.push({from:u.from,to:u.to,text:u.text}),e)for(var h in u)(c=h.match(/^spans_(\d+)$/))&&p(e,Number(c[1]))>-1&&(v(a)[h]=u[h],delete u[h])}}}return r}function hi(t,e,n,r){if(t.cm&&t.cm.display.shift||t.extend){var i=e.anchor;if(r){var o=L(n,i)<0;o!=L(r,i)<0?(i=n,n=r):o!=L(n,r)<0&&(n=r)}return new fa(i,n)}return new fa(r||n,n)}function pi(t,e,n,r){yi(t,new pa([hi(t,t.sel.primary(),e,n)],0),r)}function fi(t,e,n){for(var r=[],i=0;i<t.sel.ranges.length;i++)r[i]=hi(t,t.sel.ranges[i],e[i],null);yi(t,jr(r,t.sel.primIndex),n)}function di(t,e,n,r){var i=t.sel.ranges.slice(0);i[e]=n,yi(t,jr(i,t.sel.primIndex),r)}function vi(t,e,n,r){yi(t,Wr(e,n),r)}function mi(t,e,n){var r={ranges:e.ranges,update:function(e){var n=this;this.ranges=[];for(var r=0;r<e.length;r++)n.ranges[r]=new fa(z(t,e[r].anchor),z(t,e[r].head))},origin:n&&n.origin};return Pt(t,"beforeSelectionChange",t,r),t.cm&&Pt(t.cm,"beforeSelectionChange",t.cm,r),r.ranges!=e.ranges?jr(r.ranges,r.ranges.length-1):e}function gi(t,e,n){var r=t.history.done,i=v(r);i&&i.ranges?(r[r.length-1]=e,bi(t,e,n)):yi(t,e,n)}function yi(t,e,n){bi(t,e,n),ii(t,t.sel,t.cm?t.cm.curOp.id:NaN,n)}function bi(t,e,n){(Dt(t,"beforeSelectionChange")||t.cm&&Dt(t.cm,"beforeSelectionChange"))&&(e=mi(t,e,n)),wi(t,Ci(t,e,n&&n.bias||(L(e.primary().head,t.sel.primary().head)<0?-1:1),!0)),n&&!1===n.scroll||!t.cm||qn(t.cm)}function wi(t,e){e.equals(t.sel)||(t.sel=e,t.cm&&(t.cm.curOp.updateInput=t.cm.curOp.selectionChanged=!0,Et(t.cm)),Oe(t,"cursorActivity",t))}function xi(t){wi(t,Ci(t,t.sel,null,!1))}function Ci(t,e,n,r){for(var i,o=0;o<e.ranges.length;o++){var s=e.ranges[o],a=e.ranges.length==t.sel.ranges.length&&t.sel.ranges[o],l=Si(t,s.anchor,a&&a.anchor,n,r),u=Si(t,s.head,a&&a.head,n,r);(i||l!=s.anchor||u!=s.head)&&(i||(i=e.ranges.slice(0,o)),i[o]=new fa(l,u))}return i?jr(i,e.primIndex):e}function Oi(t,e,n,r,i){var o=k(t,e.line);if(o.markedSpans)for(var s=0;s<o.markedSpans.length;++s){var a=o.markedSpans[s],l=a.marker;if((null==a.from||(l.inclusiveLeft?a.from<=e.ch:a.from<e.ch))&&(null==a.to||(l.inclusiveRight?a.to>=e.ch:a.to>e.ch))){if(i&&(Pt(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--s;continue}break}if(!l.atomic)continue;if(n){var u=l.find(r<0?1:-1),c=void 0;if((r<0?l.inclusiveRight:l.inclusiveLeft)&&(u=_i(t,u,-r,u&&u.line==e.line?o:null)),u&&u.line==e.line&&(c=L(u,n))&&(r<0?c<0:c>0))return Oi(t,u,e,r,i)}var h=l.find(r<0?-1:1);return(r<0?l.inclusiveLeft:l.inclusiveRight)&&(h=_i(t,h,r,h.line==e.line?o:null)),h?Oi(t,h,e,r,i):null}}return e}function Si(t,e,n,r,i){var o=r||1,s=Oi(t,e,n,o,i)||!i&&Oi(t,e,n,o,!0)||Oi(t,e,n,-o,i)||!i&&Oi(t,e,n,-o,!0);return s||(t.cantEdit=!0,N(t.first,0))}function _i(t,e,n,r){return n<0&&0==e.ch?e.line>t.first?z(t,N(e.line-1)):null:n>0&&e.ch==(r||k(t,e.line)).text.length?e.line<t.first+t.size-1?N(e.line+1,0):null:new N(e.line,e.ch+n)}function Ti(t){t.setSelection(N(t.firstLine(),0),N(t.lastLine()),As)}function ki(t,e,n){var r={canceled:!1,from:e.from,to:e.to,text:e.text,origin:e.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(e,n,i,o){e&&(r.from=z(t,e)),n&&(r.to=z(t,n)),i&&(r.text=i),void 0!==o&&(r.origin=o)}),Pt(t,"beforeChange",t,r),t.cm&&Pt(t.cm,"beforeChange",t.cm,r),r.canceled?null:{from:r.from,to:r.to,text:r.text,origin:r.origin}}function Mi(t,e,n){if(t.cm){if(!t.cm.curOp)return pr(t.cm,Mi)(t,e,n);if(t.cm.state.suppressEdits)return}if(!(Dt(t,"beforeChange")||t.cm&&Dt(t.cm,"beforeChange"))||(e=ki(t,e,!0))){var r=js&&!n&&et(t,e.from,e.to);if(r)for(var i=r.length-1;i>=0;--i)Ii(t,{from:r[i].from,to:r[i].to,text:i?[""]:e.text});else Ii(t,e)}}function Ii(t,e){if(1!=e.text.length||""!=e.text[0]||0!=L(e.from,e.to)){var n=Hr(t,e);ni(t,e,n,t.cm?t.cm.curOp.id:NaN),Ei(t,e,n,$(t,e));var r=[];Yr(t,function(t,n){n||-1!=p(r,t.history)||(ji(t.history,e),r.push(t.history)),Ei(t,e,null,$(t,e))})}}function Pi(t,e,n){if(!t.cm||!t.cm.state.suppressEdits||n){for(var r,i=t.history,o=t.sel,s="undo"==e?i.done:i.undone,a="undo"==e?i.undone:i.done,l=0;l<s.length&&(r=s[l],n?!r.ranges||r.equals(t.sel):r.ranges);l++);if(l!=s.length){for(i.lastOrigin=i.lastSelOrigin=null;r=s.pop(),r.ranges;){if(oi(r,a),n&&!r.equals(t.sel))return void yi(t,r,{clearRedo:!1});o=r}var u=[];oi(o,a),a.push({changes:u,generation:i.generation}),i.generation=r.generation||++i.maxGeneration;for(var c=Dt(t,"beforeChange")||t.cm&&Dt(t.cm,"beforeChange"),h=function(n){var i=r.changes[n];if(i.origin=e,c&&!ki(t,i,!1))return s.length=0,{};u.push($r(t,i));var o=n?Hr(t,i):v(s);Ei(t,i,o,ui(t,i)),!n&&t.cm&&t.cm.scrollIntoView({from:i.from,to:Fr(i)});var a=[];Yr(t,function(t,e){e||-1!=p(a,t.history)||(ji(t.history,i),a.push(t.history)),Ei(t,i,null,ui(t,i))})},f=r.changes.length-1;f>=0;--f){var d=h(f);if(d)return d.v}}}}function Ai(t,e){if(0!=e&&(t.first+=e,t.sel=new pa(m(t.sel.ranges,function(t){return new fa(N(t.anchor.line+e,t.anchor.ch),N(t.head.line+e,t.head.ch))}),t.sel.primIndex),t.cm)){vr(t.cm,t.first,t.first-e,e);for(var n=t.cm.display,r=n.viewFrom;r<n.viewTo;r++)mr(t.cm,r,"gutter")}}function Ei(t,e,n,r){if(t.cm&&!t.cm.curOp)return pr(t.cm,Ei)(t,e,n,r);if(e.to.line<t.first)return void Ai(t,e.text.length-1-(e.to.line-e.from.line));if(!(e.from.line>t.lastLine())){if(e.from.line<t.first){var i=e.text.length-1-(t.first-e.from.line);Ai(t,i),e={from:N(t.first,0),to:N(e.to.line+i,e.to.ch),text:[v(e.text)],origin:e.origin}}var o=t.lastLine();e.to.line>o&&(e={from:e.from,to:N(o,k(t,o).text.length),text:[e.text[0]],origin:e.origin}),e.removed=M(t,e.from,e.to),n||(n=Hr(t,e)),t.cm?Di(t.cm,e,r):Gr(t,e,r),bi(t,n,As)}}function Di(t,e,n){var r=t.doc,i=t.display,o=e.from,s=e.to,a=!1,l=o.line;t.options.lineWrapping||(l=A(ht(k(r,o.line))),r.iter(l,s.line+1,function(t){if(t==i.maxLine)return a=!0,!0})),r.sel.contains(e.from,e.to)>-1&&Et(t),Gr(r,e,n,Cn(t)),t.options.lineWrapping||(r.iter(l,o.line+e.text.length,function(t){var e=bt(t);e>i.maxLineLength&&(i.maxLine=t,i.maxLineLength=e,i.maxLineChanged=!0,a=!1)}),a&&(t.curOp.updateMaxLine=!0)),r.frontier=Math.min(r.frontier,o.line),xr(t,400);var u=e.text.length-(s.line-o.line)-1;e.full?vr(t):o.line!=s.line||1!=e.text.length||Kr(t.doc,e)?vr(t,o.line,s.line+1,u):mr(t,o.line,"text");var c=Dt(t,"changes"),h=Dt(t,"change");if(h||c){var p={from:o,to:s,text:e.text,removed:e.removed,origin:e.origin};h&&Oe(t,"change",t,p),c&&(t.curOp.changeObjs||(t.curOp.changeObjs=[])).push(p)}t.display.selForContextMenu=null}function Ri(t,e,n,r,i){if(r||(r=n),L(r,n)<0){var o=r;r=n,n=o}"string"==typeof e&&(e=t.splitLines(e)),Mi(t,{from:n,to:r,text:e,origin:i})}function Ni(t,e,n,r){n<t.line?t.line+=r:e<t.line&&(t.line=e,t.ch=0)}function Li(t,e,n,r){for(var i=0;i<t.length;++i){var o=t[i],s=!0;if(o.ranges){o.copied||(o=t[i]=o.deepCopy(),o.copied=!0);for(var a=0;a<o.ranges.length;a++)Ni(o.ranges[a].anchor,e,n,r),Ni(o.ranges[a].head,e,n,r)}else{for(var l=0;l<o.changes.length;++l){var u=o.changes[l];if(n<u.from.line)u.from=N(u.from.line+r,u.from.ch),u.to=N(u.to.line+r,u.to.ch);else if(e<=u.to.line){s=!1;break}}s||(t.splice(0,i+1),i=0)}}}function ji(t,e){var n=e.from.line,r=e.to.line,i=e.text.length-(r-n)-1;Li(t.done,n,r,i),Li(t.undone,n,r,i)}function Wi(t,e,n,r){var i=e,o=e;return"number"==typeof e?o=k(t,H(t,e)):i=A(e),null==i?null:(r(o,i)&&t.cm&&mr(t.cm,i,n),o)}function Fi(t,e,n){yt(e)<(t.curOp&&t.curOp.scrollTop||t.doc.scrollTop)&&Un(t,n)}function Vi(t,e,n,r){var i=new ma(t,n,r),o=t.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),Wi(t,e,"widget",function(e){var n=e.widgets||(e.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length-1,Math.max(0,i.insertAt)),0,i),i.line=e,o&&!mt(t,e)){var r=yt(e)<t.scrollTop;P(e,e.height+je(i)),r&&Un(o,i.height),o.curOp.forceUpdate=!0}return!0}),Oe(o,"lineWidgetAdded",o,i,"number"==typeof e?e:A(e)),i}function Hi(t,e,n,r,o){if(r&&r.shared)return zi(t,e,n,r,o);if(t.cm&&!t.cm.curOp)return pr(t.cm,Hi)(t,e,n,r,o);var s=new ya(t,o),a=L(e,n);if(r&&c(r,s,!1),a>0||0==a&&!1!==s.clearWhenEmpty)return s;if(s.replacedWith&&(s.collapsed=!0,s.widgetNode=i("span",[s.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||s.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(s.widgetNode.insertLeft=!0)),s.collapsed){if(ct(t,e.line,e,n,s)||e.line!=n.line&&ct(t,n.line,e,n,s))throw new Error("Inserting collapsed marker partially overlapping an existing one");K()}s.addToHistory&&ni(t,{from:e,to:n,origin:"markText"},t.sel,NaN);var l,u=e.line,h=t.cm;if(t.iter(u,n.line+1,function(t){h&&s.collapsed&&!h.options.lineWrapping&&ht(t)==h.display.maxLine&&(l=!0),s.collapsed&&u!=e.line&&P(t,0),J(t,new G(s,u==e.line?e.ch:null,u==n.line?n.ch:null)),++u}),s.collapsed&&t.iter(e.line,n.line+1,function(e){mt(t,e)&&P(e,0)}),s.clearOnEnter&&zs(s,"beforeCursorEnter",function(){return s.clear()}),s.readOnly&&(q(),(t.history.done.length||t.history.undone.length)&&t.clearHistory()),s.collapsed&&(s.id=++ga,s.atomic=!0),h){if(l&&(h.curOp.updateMaxLine=!0),s.collapsed)vr(h,e.line,n.line+1);else if(s.className||s.title||s.startStyle||s.endStyle||s.css)for(var p=e.line;p<=n.line;p++)mr(h,p,"text");s.atomic&&xi(h.doc),Oe(h,"markerAdded",h,s)}return s}function zi(t,e,n,r,i){r=c(r),r.shared=!1;var o=[Hi(t,e,n,r,i)],s=o[0],a=r.widgetNode;return Yr(t,function(t){a&&(r.widgetNode=a.cloneNode(!0)),o.push(Hi(t,z(t,e),z(t,n),r,i));for(var l=0;l<t.linked.length;++l)if(t.linked[l].isParent)return;s=v(o)}),new ba(o,s)}function Bi(t){return t.findMarks(N(t.first,0),t.clipPos(N(t.lastLine())),function(t){return t.parent})}function Ui(t,e){for(var n=0;n<e.length;n++){var r=e[n],i=r.find(),o=t.clipPos(i.from),s=t.clipPos(i.to);if(L(o,s)){var a=Hi(t,o,s,r.primary,r.primary.type);r.markers.push(a),a.parent=r}}}function qi(t){for(var e=function(e){var n=t[e],r=[n.primary.doc];Yr(n.primary.doc,function(t){return r.push(t)});for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==p(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}},n=0;n<t.length;n++)e(n)}function Ki(t){var e=this;if(Xi(e),!At(e,t)&&!We(e.display,t)){Nt(t),os&&(Ca=+new Date);var n=Sn(e,t,!0),r=t.dataTransfer.files;if(n&&!e.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),s=0,a=function(t,r){if(!e.options.allowDropFileTypes||-1!=p(e.options.allowDropFileTypes,t.type)){var a=new FileReader;a.onload=pr(e,function(){var t=a.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(t)&&(t=""),o[r]=t,++s==i){n=z(e.doc,n);var l={from:n,to:n,text:e.doc.splitLines(o.join(e.doc.lineSeparator())),origin:"paste"};Mi(e.doc,l),gi(e.doc,Wr(n,Fr(l)))}}),a.readAsText(t)}},l=0;l<i;++l)a(r[l],l);else{if(e.state.draggingText&&e.doc.sel.contains(n)>-1)return e.state.draggingText(t),void setTimeout(function(){return e.display.input.focus()},20);try{var u=t.dataTransfer.getData("Text");if(u){var c;if(e.state.draggingText&&!e.state.draggingText.copy&&(c=e.listSelections()),bi(e.doc,Wr(n,n)),c)for(var h=0;h<c.length;++h)Ri(e.doc,"",c[h].anchor,c[h].head,"drag");e.replaceSelection(u,"around","paste"),e.display.input.focus()}}catch(t){}}}}function Gi(t,e){if(os&&(!t.state.draggingText||+new Date-Ca<100))return void Wt(e);if(!At(t,e)&&!We(t.display,e)&&(e.dataTransfer.setData("Text",t.getSelection()),e.dataTransfer.effectAllowed="copyMove",e.dataTransfer.setDragImage&&!hs)){var n=r("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",cs&&(n.width=n.height=1,t.display.wrapper.appendChild(n),n._top=n.offsetTop),e.dataTransfer.setDragImage(n,0,0),cs&&n.parentNode.removeChild(n)}}function Yi(t,e){var i=Sn(t,e);if(i){var o=document.createDocumentFragment();Mn(t,i,o),t.display.dragCursor||(t.display.dragCursor=r("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),t.display.lineSpace.insertBefore(t.display.dragCursor,t.display.cursorDiv)),n(t.display.dragCursor,o)}}function Xi(t){t.display.dragCursor&&(t.display.lineSpace.removeChild(t.display.dragCursor),t.display.dragCursor=null)}function Ji(t){if(document.body.getElementsByClassName)for(var e=document.body.getElementsByClassName("CodeMirror"),n=0;n<e.length;n++){var r=e[n].CodeMirror;r&&t(r)}}function Zi(){Oa||(Qi(),Oa=!0)}function Qi(){var t;zs(window,"resize",function(){null==t&&(t=setTimeout(function(){t=null,Ji($i)},100))}),zs(window,"blur",function(){return Ji(Rn)})}function $i(t){var e=t.display;e.lastWrapHeight==e.wrapper.clientHeight&&e.lastWrapWidth==e.wrapper.clientWidth||(e.cachedCharWidth=e.cachedTextHeight=e.cachedPaddingH=null,e.scrollbarsClipped=!1,t.setSize())}function to(t){var e=t.split(/-(?!$)/);t=e[e.length-1];for(var n,r,i,o,s=0;s<e.length-1;s++){var a=e[s];if(/^(cmd|meta|m)$/i.test(a))o=!0;else if(/^a(lt)?$/i.test(a))n=!0;else if(/^(c|ctrl|control)$/i.test(a))r=!0;else{if(!/^s(hift)?$/i.test(a))throw new Error("Unrecognized modifier name: "+a);i=!0}}return n&&(t="Alt-"+t),r&&(t="Ctrl-"+t),o&&(t="Cmd-"+t),i&&(t="Shift-"+t),t}function eo(t){var e={};for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete t[n];continue}for(var i=m(n.split(" "),to),o=0;o<i.length;o++){var s=void 0,a=void 0;o==i.length-1?(a=i.join(" "),s=r):(a=i.slice(0,o+1).join(" "),s="...");var l=e[a];if(l){if(l!=s)throw new Error("Inconsistent bindings for "+a)}else e[a]=s}delete t[n]}for(var u in e)t[u]=e[u];return t}function no(t,e,n,r){e=oo(e);var i=e.call?e.call(t,r):e[t];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&n(i))return"handled";if(e.fallthrough){if("[object Array]"!=Object.prototype.toString.call(e.fallthrough))return no(t,e.fallthrough,n,r);for(var o=0;o<e.fallthrough.length;o++){var s=no(t,e.fallthrough[o],n,r);if(s)return s}}}function ro(t){var e="string"==typeof t?t:Sa[t.keyCode];return"Ctrl"==e||"Alt"==e||"Shift"==e||"Mod"==e}function io(t,e){if(cs&&34==t.keyCode&&t.char)return!1;var n=Sa[t.keyCode],r=n;return null!=r&&!t.altGraphKey&&(t.altKey&&"Alt"!=n&&(r="Alt-"+r),(Cs?t.metaKey:t.ctrlKey)&&"Ctrl"!=n&&(r="Ctrl-"+r),(Cs?t.ctrlKey:t.metaKey)&&"Cmd"!=n&&(r="Cmd-"+r),!e&&t.shiftKey&&"Shift"!=n&&(r="Shift-"+r),r)}function oo(t){return"string"==typeof t?Ma[t]:t}function so(t,e){for(var n=t.doc.sel.ranges,r=[],i=0;i<n.length;i++){for(var o=e(n[i]);r.length&&L(o.from,v(r).to)<=0;){var s=r.pop();if(L(s.from,o.from)<0){o.from=s.from;break}}r.push(o)}hr(t,function(){for(var e=r.length-1;e>=0;e--)Ri(t.doc,"",r[e].from,r[e].to,"+delete");qn(t)})}function ao(t,e){var n=k(t.doc,e),r=ht(n);return r!=n&&(e=A(r)),Tt(!0,t,r,e,1)}function lo(t,e){var n=k(t.doc,e),r=pt(n);return r!=n&&(e=A(r)),Tt(!0,t,n,e,-1)}function uo(t,e){var n=ao(t,e.line),r=k(t.doc,n.line),i=Ot(r,t.doc.direction);if(!i||0==i[0].level){var o=Math.max(0,r.text.search(/\S/)),s=e.line==n.line&&e.ch<=o&&e.ch;return N(n.line,s?0:o,n.sticky)}return n}function co(t,e,n){if("string"==typeof e&&!(e=Aa[e]))return!1;t.display.input.ensurePolled();var r=t.display.shift,i=!1;try{t.isReadOnly()&&(t.state.suppressEdits=!0),n&&(t.display.shift=!1),i=e(t)!=Ps}finally{t.display.shift=r,t.state.suppressEdits=!1}return i}function ho(t,e,n){for(var r=0;r<t.state.keyMaps.length;r++){var i=no(e,t.state.keyMaps[r],n,t);if(i)return i}return t.options.extraKeys&&no(e,t.options.extraKeys,n,t)||no(e,t.options.keyMap,n,t)}function po(t,e,n,r){var i=t.state.keySeq;if(i){if(ro(e))return"handled";Ea.set(50,function(){t.state.keySeq==i&&(t.state.keySeq=null,t.display.input.reset())}),e=i+" "+e}var o=ho(t,e,r);return"multi"==o&&(t.state.keySeq=e),"handled"==o&&Oe(t,"keyHandled",t,e,n),"handled"!=o&&"multi"!=o||(Nt(n),Pn(t)),i&&!o&&/\'$/.test(e)?(Nt(n),!0):!!o}function fo(t,e){var n=io(e,!0);return!!n&&(e.shiftKey&&!t.state.keySeq?po(t,"Shift-"+n,e,function(e){return co(t,e,!0)})||po(t,n,e,function(e){if("string"==typeof e?/^go[A-Z]/.test(e):e.motion)return co(t,e)}):po(t,n,e,function(e){return co(t,e)}))}function vo(t,e,n){return po(t,"'"+n+"'",e,function(e){return co(t,e,!0)})}function mo(t){var e=this;if(e.curOp.focus=s(),!At(e,t)){os&&ss<11&&27==t.keyCode&&(t.returnValue=!1);var n=t.keyCode;e.display.shift=16==n||t.shiftKey;var r=fo(e,t);cs&&(Da=r?n:null,!r&&88==n&&!Ks&&(gs?t.metaKey:t.ctrlKey)&&e.replaceSelection("",null,"cut")),18!=n||/\bCodeMirror-crosshair\b/.test(e.display.lineDiv.className)||go(e)}}function go(t){function e(t){18!=t.keyCode&&t.altKey||(Ss(n,"CodeMirror-crosshair"),It(document,"keyup",e),It(document,"mouseover",e))}var n=t.display.lineDiv;a(n,"CodeMirror-crosshair"),zs(document,"keyup",e),zs(document,"mouseover",e)}function yo(t){16==t.keyCode&&(this.doc.sel.shift=!1),At(this,t)}function bo(t){var e=this;if(!(We(e.display,t)||At(e,t)||t.ctrlKey&&!t.altKey||gs&&t.metaKey)){var n=t.keyCode,r=t.charCode;if(cs&&n==Da)return Da=null,void Nt(t);if(!cs||t.which&&!(t.which<10)||!fo(e,t)){var i=String.fromCharCode(null==r?n:r);"\b"!=i&&(vo(e,t,i)||e.display.input.onKeyPress(t))}}}function wo(t){var e=this,n=e.display;if(!(At(e,t)||n.activeTouch&&n.input.supportsTouch())){if(n.input.ensurePolled(),n.shift=t.shiftKey,We(n,t))return void(as||(n.scroller.draggable=!1,setTimeout(function(){return n.scroller.draggable=!0},100)));if(!_o(e,t)){var r=Sn(e,t);switch(window.focus(),Vt(t)){case 1:e.state.selectingText?e.state.selectingText(t):r?xo(e,t,r):Ft(t)==n.scroller&&Nt(t);break;case 2:as&&(e.state.lastMiddleDown=+new Date),r&&pi(e.doc,r),setTimeout(function(){return n.input.focus()},20),Nt(t);break;case 3:Os?To(e,t):En(e)}}}}function xo(t,e,n){os?setTimeout(u(An,t),0):t.curOp.focus=s();var r,i=+new Date;Pa&&Pa.time>i-400&&0==L(Pa.pos,n)?r="triple":Ia&&Ia.time>i-400&&0==L(Ia.pos,n)?(r="double",Pa={time:i,pos:n}):(r="single",Ia={time:i,pos:n});var o,a=t.doc.sel,l=gs?e.metaKey:e.ctrlKey;t.options.dragDrop&&Bs&&!t.isReadOnly()&&"single"==r&&(o=a.contains(n))>-1&&(L((o=a.ranges[o]).from(),n)<0||n.xRel>0)&&(L(o.to(),n)>0||n.xRel<0)?Co(t,e,n,l):Oo(t,e,n,r,l)}function Co(t,e,n,r){var i=t.display,o=!1,s=pr(t,function(e){as&&(i.scroller.draggable=!1),t.state.draggingText=!1,It(document,"mouseup",s),It(document,"mousemove",a),It(i.scroller,"dragstart",l),It(i.scroller,"drop",s),o||(Nt(e),r||pi(t.doc,n),as||os&&9==ss?setTimeout(function(){document.body.focus(),i.input.focus()},20):i.input.focus())}),a=function(t){o=o||Math.abs(e.clientX-t.clientX)+Math.abs(e.clientY-t.clientY)>=10},l=function(){return o=!0};as&&(i.scroller.draggable=!0),t.state.draggingText=s,s.copy=gs?e.altKey:e.ctrlKey,i.scroller.dragDrop&&i.scroller.dragDrop(),zs(document,"mouseup",s),zs(document,"mousemove",a),zs(i.scroller,"dragstart",l),zs(i.scroller,"drop",s),En(t),setTimeout(function(){return i.input.focus()},20)}function Oo(t,e,n,r,i){function o(e){if(0!=L(b,e))if(b=e,"rect"==r){for(var i=[],o=t.options.tabSize,s=h(k(c,n.line).text,n.ch,o),a=h(k(c,e.line).text,e.ch,o),l=Math.min(s,a),u=Math.max(s,a),m=Math.min(n.line,e.line),g=Math.min(t.lastLine(),Math.max(n.line,e.line));m<=g;m++){var y=k(c,m).text,w=f(y,l,o);l==u?i.push(new fa(N(m,w),N(m,w))):y.length>w&&i.push(new fa(N(m,w),N(m,f(y,u,o))))}i.length||i.push(new fa(n,n)),yi(c,jr(v.ranges.slice(0,d).concat(i),d),{origin:"*mouse",scroll:!1}),t.scrollIntoView(e)}else{var x=p,C=x.anchor,O=e;if("single"!=r){var S;S="double"==r?t.findWordAt(e):new fa(N(e.line,0),z(c,N(e.line+1,0))),L(S.anchor,C)>0?(O=S.head,C=V(x.from(),S.anchor)):(O=S.anchor,C=F(x.to(),S.head))}var _=v.ranges.slice(0);_[d]=new fa(z(c,C),O),yi(c,jr(_,d),Es)}}function a(e){var n=++x,i=Sn(t,e,!0,"rect"==r);if(i)if(0!=L(i,b)){t.curOp.focus=s(),o(i);var l=jn(u,c);(i.line>=l.to||i.line<l.from)&&setTimeout(pr(t,function(){x==n&&a(e)}),150)}else{var h=e.clientY<w.top?-20:e.clientY>w.bottom?20:0;h&&setTimeout(pr(t,function(){x==n&&(u.scroller.scrollTop+=h,a(e))}),50)}}function l(e){t.state.selectingText=!1,x=1/0,Nt(e),u.input.focus(),It(document,"mousemove",C),It(document,"mouseup",O),c.history.lastSelOrigin=null}var u=t.display,c=t.doc;Nt(e);var p,d,v=c.sel,m=v.ranges;if(i&&!e.shiftKey?(d=c.sel.contains(n),p=d>-1?m[d]:new fa(n,n)):(p=c.sel.primary(),d=c.sel.primIndex),ys?e.shiftKey&&e.metaKey:e.altKey)r="rect",i||(p=new fa(n,n)),n=Sn(t,e,!0,!0),d=-1;else if("double"==r){var g=t.findWordAt(n);p=t.display.shift||c.extend?hi(c,p,g.anchor,g.head):g}else if("triple"==r){var y=new fa(N(n.line,0),z(c,N(n.line+1,0)));p=t.display.shift||c.extend?hi(c,p,y.anchor,y.head):y}else p=hi(c,p,n);i?-1==d?(d=m.length,yi(c,jr(m.concat([p]),d),{scroll:!1,origin:"*mouse"})):m.length>1&&m[d].empty()&&"single"==r&&!e.shiftKey?(yi(c,jr(m.slice(0,d).concat(m.slice(d+1)),0),{scroll:!1,origin:"*mouse"}),v=c.sel):di(c,d,p,Es):(d=0,yi(c,new pa([p],0),Es),v=c.sel);var b=n,w=u.wrapper.getBoundingClientRect(),x=0,C=pr(t,function(t){Vt(t)?a(t):l(t)}),O=pr(t,l);t.state.selectingText=O,zs(document,"mousemove",C),zs(document,"mouseup",O)}function So(t,e,n,r){var i,o;try{i=e.clientX,o=e.clientY}catch(e){return!1}if(i>=Math.floor(t.display.gutters.getBoundingClientRect().right))return!1;r&&Nt(e);var s=t.display,a=s.lineDiv.getBoundingClientRect();if(o>a.bottom||!Dt(t,n))return jt(e);o-=a.top-s.viewOffset;for(var l=0;l<t.options.gutters.length;++l){var u=s.gutters.childNodes[l];if(u&&u.getBoundingClientRect().right>=i){return Pt(t,n,t,E(t.doc,o),t.options.gutters[l],e),jt(e)}}}function _o(t,e){return So(t,e,"gutterClick",!0)}function To(t,e){We(t.display,e)||ko(t,e)||At(t,e,"contextmenu")||t.display.input.onContextMenu(e)}function ko(t,e){return!!Dt(t,"gutterContextMenu")&&So(t,e,"gutterContextMenu",!1)}function Mo(t){t.display.wrapper.className=t.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+t.options.theme.replace(/(^|\s)\s*/g," cm-s-"),on(t)}function Io(t){function e(e,r,i,o){t.defaults[e]=r,i&&(n[e]=o?function(t,e,n){n!=Ra&&i(t,e,n)}:i)}var n=t.optionHandlers;t.defineOption=e,t.Init=Ra,e("value","",function(t,e){return t.setValue(e)},!0),e("mode",null,function(t,e){t.doc.modeOption=e,Ur(t)},!0),e("indentUnit",2,Ur,!0),e("indentWithTabs",!1),e("smartIndent",!0),e("tabSize",4,function(t){qr(t),on(t),vr(t)},!0),e("lineSeparator",null,function(t,e){if(t.doc.lineSep=e,e){var n=[],r=t.doc.first;t.doc.iter(function(t){for(var i=0;;){var o=t.text.indexOf(e,i);if(-1==o)break;i=o+e.length,n.push(N(r,o))}r++});for(var i=n.length-1;i>=0;i--)Ri(t.doc,e,n[i],N(n[i].line,n[i].ch+e.length))}}),e("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(t,e,n){t.state.specialChars=new RegExp(e.source+(e.test("\t")?"":"|\t"),"g"),n!=Ra&&t.refresh()}),e("specialCharPlaceholder",pe,function(t){return t.refresh()},!0),e("electricChars",!0),e("inputStyle",ms?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),e("spellcheck",!1,function(t,e){return t.getInputField().spellcheck=e},!0),e("rtlMoveVisually",!bs),e("wholeLineUpdateBefore",!0),e("theme","default",function(t){Mo(t),Po(t)},!0),e("keyMap","default",function(t,e,n){var r=oo(e),i=n!=Ra&&oo(n);i&&i.detach&&i.detach(t,r),r.attach&&r.attach(t,i||null)}),e("extraKeys",null),e("lineWrapping",!1,Eo,!0),e("gutters",[],function(t){Dr(t.options),Po(t)},!0),e("fixedGutter",!0,function(t,e){t.display.gutters.style.left=e?xn(t.display)+"px":"0",t.refresh()},!0),e("coverGutterNextToScrollbar",!1,function(t){return tr(t)},!0),e("scrollbarStyle","native",function(t){nr(t),tr(t),t.display.scrollbars.setScrollTop(t.doc.scrollTop),t.display.scrollbars.setScrollLeft(t.doc.scrollLeft)},!0),e("lineNumbers",!1,function(t){Dr(t.options),Po(t)},!0),e("firstLineNumber",1,Po,!0),e("lineNumberFormatter",function(t){return t},Po,!0),e("showCursorWhenSelecting",!1,Tn,!0),e("resetSelectionOnContextMenu",!0),e("lineWiseCopyCut",!0),e("readOnly",!1,function(t,e){"nocursor"==e?(Rn(t),t.display.input.blur(),t.display.disabled=!0):t.display.disabled=!1,t.display.input.readOnlyChanged(e)}),e("disableInput",!1,function(t,e){e||t.display.input.reset()},!0),e("dragDrop",!0,Ao),e("allowDropFileTypes",null),e("cursorBlinkRate",530),e("cursorScrollMargin",0),e("cursorHeight",1,Tn,!0),e("singleCursorHeightPerLine",!0,Tn,!0),e("workTime",100),e("workDelay",100),e("flattenSpans",!0,qr,!0),e("addModeClass",!1,qr,!0),e("pollInterval",100),e("undoDepth",200,function(t,e){return t.doc.history.undoDepth=e}),e("historyEventDelay",1250),e("viewportMargin",10,function(t){return t.refresh()},!0),e("maxHighlightLength",1e4,qr,!0),e("moveInputWithCursor",!0,function(t,e){e||t.display.input.resetPosition()}),e("tabindex",null,function(t,e){return t.display.input.getField().tabIndex=e||""}),e("autofocus",null),e("direction","ltr",function(t,e){return t.doc.setDirection(e)},!0)}function Po(t){Er(t),vr(t),Wn(t)}function Ao(t,e,n){if(!e!=!(n&&n!=Ra)){var r=t.display.dragFunctions,i=e?zs:It;i(t.display.scroller,"dragstart",r.start),i(t.display.scroller,"dragenter",r.enter),i(t.display.scroller,"dragover",r.over),i(t.display.scroller,"dragleave",r.leave),i(t.display.scroller,"drop",r.drop)}}function Eo(t){t.options.lineWrapping?(a(t.display.wrapper,"CodeMirror-wrap"),t.display.sizer.style.minWidth="",t.display.sizerWidth=null):(Ss(t.display.wrapper,"CodeMirror-wrap"),wt(t)),On(t),vr(t),on(t),setTimeout(function(){return tr(t)},100)}function Do(t,e){var n=this;if(!(this instanceof Do))return new Do(t,e);this.options=e=e?c(e):{},c(Na,e,!1),Dr(e);var r=e.value;"string"==typeof r&&(r=new xa(r,e.mode,null,e.lineSeparator,e.direction)),this.doc=r;var i=new Do.inputStyles[e.inputStyle](this),o=this.display=new T(t,r,i);o.wrapper.CodeMirror=this,Er(this),Mo(this),e.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),nr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new Ts,keySeq:null,specialChars:null},e.autofocus&&!ms&&o.input.focus(),os&&ss<11&&setTimeout(function(){return n.display.input.reset(!0)},20),Ro(this),Zi(),rr(this),this.curOp.forceUpdate=!0,Xr(this,r),e.autofocus&&!ms||this.hasFocus()?setTimeout(u(Dn,this),20):Rn(this);for(var s in La)La.hasOwnProperty(s)&&La[s](n,e[s],Ra);Fn(this),e.finishInit&&e.finishInit(this);for(var a=0;a<ja.length;++a)ja[a](n);ir(this),as&&e.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}function Ro(t){function e(){i.activeTouch&&(o=setTimeout(function(){return i.activeTouch=null},1e3),s=i.activeTouch,s.end=+new Date)}function n(t){if(1!=t.touches.length)return!1;var e=t.touches[0];return e.radiusX<=1&&e.radiusY<=1}function r(t,e){if(null==e.left)return!0;var n=e.left-t.left,r=e.top-t.top;return n*n+r*r>400}var i=t.display;zs(i.scroller,"mousedown",pr(t,wo)),os&&ss<11?zs(i.scroller,"dblclick",pr(t,function(e){if(!At(t,e)){var n=Sn(t,e);if(n&&!_o(t,e)&&!We(t.display,e)){Nt(e);var r=t.findWordAt(n);pi(t.doc,r.anchor,r.head)}}})):zs(i.scroller,"dblclick",function(e){return At(t,e)||Nt(e)}),Os||zs(i.scroller,"contextmenu",function(e){return To(t,e)});var o,s={end:0};zs(i.scroller,"touchstart",function(e){if(!At(t,e)&&!n(e)){i.input.ensurePolled(),clearTimeout(o);var r=+new Date;i.activeTouch={start:r,moved:!1,prev:r-s.end<=300?s:null},1==e.touches.length&&(i.activeTouch.left=e.touches[0].pageX,i.activeTouch.top=e.touches[0].pageY)}}),zs(i.scroller,"touchmove",function(){i.activeTouch&&(i.activeTouch.moved=!0)}),zs(i.scroller,"touchend",function(n){var o=i.activeTouch;if(o&&!We(i,n)&&null!=o.left&&!o.moved&&new Date-o.start<300){var s,a=t.coordsChar(i.activeTouch,"page");s=!o.prev||r(o,o.prev)?new fa(a,a):!o.prev.prev||r(o,o.prev.prev)?t.findWordAt(a):new fa(N(a.line,0),z(t.doc,N(a.line+1,0))),t.setSelection(s.anchor,s.head),t.focus(),Nt(n)}e()}),zs(i.scroller,"touchcancel",e),zs(i.scroller,"scroll",function(){i.scroller.clientHeight&&(Jn(t,i.scroller.scrollTop),Qn(t,i.scroller.scrollLeft,!0),Pt(t,"scroll",t))}),zs(i.scroller,"mousewheel",function(e){return Lr(t,e)}),zs(i.scroller,"DOMMouseScroll",function(e){return Lr(t,e)}),zs(i.wrapper,"scroll",function(){return i.wrapper.scrollTop=i.wrapper.scrollLeft=0}),i.dragFunctions={enter:function(e){At(t,e)||Wt(e)},over:function(e){At(t,e)||(Yi(t,e),Wt(e))},start:function(e){return Gi(t,e)},drop:pr(t,Ki),leave:function(e){At(t,e)||Xi(t)}};var a=i.input.getField();zs(a,"keyup",function(e){return yo.call(t,e)}),zs(a,"keydown",pr(t,mo)),zs(a,"keypress",pr(t,bo)),zs(a,"focus",function(e){return Dn(t,e)}),zs(a,"blur",function(e){return Rn(t,e)})}function No(t,e,n,r){var i,o=t.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=te(t,e):n="prev");var s=t.options.tabSize,a=k(o,e),l=h(a.text,null,s);a.stateAfter&&(a.stateAfter=null);var u,c=a.text.match(/^\s*/)[0];if(r||/\S/.test(a.text)){if("smart"==n&&((u=o.mode.indent(i,a.text.slice(c.length),a.text))==Ps||u>150)){if(!r)return;n="prev"}}else u=0,n="not";"prev"==n?u=e>o.first?h(k(o,e-1).text,null,s):0:"add"==n?u=l+t.options.indentUnit:"subtract"==n?u=l-t.options.indentUnit:"number"==typeof n&&(u=l+n),u=Math.max(0,u);var p="",f=0;if(t.options.indentWithTabs)for(var v=Math.floor(u/s);v;--v)f+=s,p+="\t";if(f<u&&(p+=d(u-f)),p!=c)return Ri(o,p,N(e,0),N(e,c.length),"+input"),a.stateAfter=null,!0;for(var m=0;m<o.sel.ranges.length;m++){var g=o.sel.ranges[m];if(g.head.line==e&&g.head.ch<c.length){var y=N(e,c.length);di(o,m,new fa(y,y));break}}}function Lo(t){Wa=t}function jo(t,e,n,r,i){var o=t.doc;t.display.shift=!1,r||(r=o.sel);var s=t.state.pasteIncoming||"paste"==i,a=Us(e),l=null;if(s&&r.ranges.length>1)if(Wa&&Wa.text.join("\n")==e){if(r.ranges.length%Wa.text.length==0){l=[];for(var u=0;u<Wa.text.length;u++)l.push(o.splitLines(Wa.text[u]))}}else a.length==r.ranges.length&&(l=m(a,function(t){return[t]}));for(var c,h=r.ranges.length-1;h>=0;h--){var p=r.ranges[h],f=p.from(),d=p.to();p.empty()&&(n&&n>0?f=N(f.line,f.ch-n):t.state.overwrite&&!s?d=N(d.line,Math.min(k(o,d.line).text.length,d.ch+v(a).length)):Wa&&Wa.lineWise&&Wa.text.join("\n")==e&&(f=d=N(f.line,0))),c=t.curOp.updateInput;var g={from:f,to:d,text:l?l[h%l.length]:a,origin:i||(s?"paste":t.state.cutIncoming?"cut":"+input")};Mi(t.doc,g),Oe(t,"inputRead",t,g)}e&&!s&&Fo(t,e),qn(t),t.curOp.updateInput=c,t.curOp.typing=!0,t.state.pasteIncoming=t.state.cutIncoming=!1}function Wo(t,e){var n=t.clipboardData&&t.clipboardData.getData("Text");if(n)return t.preventDefault(),e.isReadOnly()||e.options.disableInput||hr(e,function(){return jo(e,n,0,null,"paste")}),!0}function Fo(t,e){if(t.options.electricChars&&t.options.smartIndent)for(var n=t.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=t.getModeAt(i.head),s=!1;if(o.electricChars){for(var a=0;a<o.electricChars.length;a++)if(e.indexOf(o.electricChars.charAt(a))>-1){s=No(t,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(k(t.doc,i.head.line).text.slice(0,i.head.ch))&&(s=No(t,i.head.line,"smart"));s&&Oe(t,"electricInput",t,i.head.line)}}}function Vo(t){for(var e=[],n=[],r=0;r<t.doc.sel.ranges.length;r++){var i=t.doc.sel.ranges[r].head.line,o={anchor:N(i,0),head:N(i+1,0)};n.push(o),e.push(t.getRange(o.anchor,o.head))}return{text:e,ranges:n}}function Ho(t,e){t.setAttribute("autocorrect","off"),t.setAttribute("autocapitalize","off"),t.setAttribute("spellcheck",!!e)}function zo(){var t=r("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),e=r("div",[t],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return as?t.style.width="1000px":t.setAttribute("wrap","off"),ds&&(t.style.border="1px solid black"),Ho(t),e}function Bo(t,e,n,r,i){function o(){var r=e.line+n;return!(r<t.first||r>=t.first+t.size)&&(e=new N(r,e.ch,e.sticky),u=k(t,r))}function s(r){var s;if(null==(s=i?kt(t.cm,u,e,n):_t(u,e,n))){if(r||!o())return!1;e=Tt(i,t.cm,u,e.line,n)}else e=s;return!0}var a=e,l=n,u=k(t,e.line);if("char"==r)s();else if("column"==r)s(!0);else if("word"==r||"group"==r)for(var c=null,h="group"==r,p=t.cm&&t.cm.getHelper(e,"wordChars"),f=!0;!(n<0)||s(!f);f=!1){var d=u.text.charAt(e.ch)||"\n",v=x(d,p)?"w":h&&"\n"==d?"n":!h||/\s/.test(d)?null:"p";if(!h||f||v||(v="s"),c&&c!=v){n<0&&(n=1,s(),e.sticky="after");break}if(v&&(c=v),n>0&&!s(!f))break}var m=Si(t,e,a,l,!0);return j(a,m)&&(m.hitSide=!0),m}function Uo(t,e,n,r){var i,o=t.doc,s=e.left;if("page"==r){var a=Math.min(t.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),l=Math.max(a-.5*yn(t.display),3);i=(n>0?e.bottom:e.top)+n*l}else"line"==r&&(i=n>0?e.bottom+3:e.top-3);for(var u;u=dn(t,s,i),u.outside;){if(n<0?i<=0:i>=o.height){u.hitSide=!0;break}i+=5*n}return u}function qo(t,e){var n=Xe(t,e.line);if(!n||n.hidden)return null;var r=k(t.doc,e.line),i=Ke(n,r,e.line),o=Ot(r,t.doc.direction),s="left";if(o){s=Ct(o,e.ch)%2?"right":"left"}var a=Qe(i.map,e.ch,s);return a.offset="right"==a.collapse?a.end:a.start,a}function Ko(t){for(var e=t;e;e=e.parentNode)if(/CodeMirror-gutter-wrapper/.test(e.className))return!0;return!1}function Go(t,e){return e&&(t.bad=!0),t}function Yo(t,e,n,r,i){function o(t){return function(e){return e.id==t}}function s(){c&&(u+=h,c=!1)}function a(t){t&&(s(),u+=t)}function l(e){if(1==e.nodeType){var n=e.getAttribute("cm-text");if(null!=n)return void a(n||e.textContent.replace(/\u200b/g,""));var u,p=e.getAttribute("cm-marker");if(p){var f=t.findMarks(N(r,0),N(i+1,0),o(+p));return void(f.length&&(u=f[0].find())&&a(M(t.doc,u.from,u.to).join(h)))}if("false"==e.getAttribute("contenteditable"))return;var d=/^(pre|div|p)$/i.test(e.nodeName);d&&s();for(var v=0;v<e.childNodes.length;v++)l(e.childNodes[v]);d&&(c=!0)}else 3==e.nodeType&&a(e.nodeValue)}for(var u="",c=!1,h=t.doc.lineSeparator();l(e),e!=n;)e=e.nextSibling;return u}function Xo(t,e,n){var r;if(e==t.display.lineDiv){if(!(r=t.display.lineDiv.childNodes[n]))return Go(t.clipPos(N(t.display.viewTo-1)),!0);e=null,n=0}else for(r=e;;r=r.parentNode){if(!r||r==t.display.lineDiv)return null;if(r.parentNode&&r.parentNode==t.display.lineDiv)break}for(var i=0;i<t.display.view.length;i++){var o=t.display.view[i];if(o.node==r)return Jo(o,e,n)}}function Jo(t,e,n){function r(e,n,r){for(var i=-1;i<(h?h.length:0);i++)for(var o=i<0?c.map:h[i],s=0;s<o.length;s+=3){var a=o[s+2];if(a==e||a==n){var l=A(i<0?t.line:t.rest[i]),u=o[s]+r;return(r<0||a!=e)&&(u=o[s+(r?1:0)]),N(l,u)}}}var i=t.text.firstChild,s=!1;if(!e||!o(i,e))return Go(N(A(t.line),0),!0);if(e==i&&(s=!0,e=i.childNodes[n],n=0,!e)){var a=t.rest?v(t.rest):t.line;return Go(N(A(a),a.text.length),s)}var l=3==e.nodeType?e:null,u=e;for(l||1!=e.childNodes.length||3!=e.firstChild.nodeType||(l=e.firstChild,n&&(n=l.nodeValue.length));u.parentNode!=i;)u=u.parentNode;var c=t.measure,h=c.maps,p=r(l,u,n);if(p)return Go(p,s);for(var f=u.nextSibling,d=l?l.nodeValue.length-n:0;f;f=f.nextSibling){if(p=r(f,f.firstChild,0))return Go(N(p.line,p.ch-d),s);d+=f.textContent.length}for(var m=u.previousSibling,g=n;m;m=m.previousSibling){if(p=r(m,m.firstChild,-1))return Go(N(p.line,p.ch+g),s);g+=m.textContent.length}}function Zo(t,e){function n(){t.value=l.getValue()}if(e=e?c(e):{},e.value=t.value,!e.tabindex&&t.tabIndex&&(e.tabindex=t.tabIndex),!e.placeholder&&t.placeholder&&(e.placeholder=t.placeholder),null==e.autofocus){var r=s();e.autofocus=r==t||null!=t.getAttribute("autofocus")&&r==document.body}var i;if(t.form&&(zs(t.form,"submit",n),!e.leaveSubmitMethodAlone)){var o=t.form;i=o.submit;try{var a=o.submit=function(){n(),o.submit=i,o.submit(),o.submit=a}}catch(t){}}e.finishInit=function(e){e.save=n,e.getTextArea=function(){return t},e.toTextArea=function(){e.toTextArea=isNaN,n(),t.parentNode.removeChild(e.getWrapperElement()),t.style.display="",t.form&&(It(t.form,"submit",n),"function"==typeof t.form.submit&&(t.form.submit=i))}},t.style.display="none";var l=Do(function(e){return t.parentNode.insertBefore(e,t.nextSibling)},e);return l}function Qo(t){t.off=It,t.on=zs,t.wheelEventPixels=Nr,t.Doc=xa,t.splitLines=Us,t.countColumn=h,t.findColumn=f,t.isWordChar=w,t.Pass=Ps,t.signal=Pt,t.Line=Qs,t.changeEnd=Fr,t.scrollbarModel=aa,t.Pos=N,t.cmpPos=L,t.modes=Ys,t.mimeModes=Xs,t.resolveMode=Kt,t.getMode=Gt,t.modeExtensions=Js,t.extendMode=Yt,t.copyState=Xt,t.startState=Zt,t.innerMode=Jt,t.commands=Aa,t.keyMap=Ma,t.keyName=io,t.isModifierKey=ro,t.lookupKey=no,t.normalizeKeyMap=eo,t.StringStream=Zs,t.SharedTextMarker=ba,t.TextMarker=ya,t.LineWidget=ma,t.e_preventDefault=Nt,t.e_stopPropagation=Lt,t.e_stop=Wt,t.addClass=a,t.contains=o,t.rmClass=Ss,t.keyNames=Sa}var $o=navigator.userAgent,ts=navigator.platform,es=/gecko\/\d/i.test($o),ns=/MSIE \d/.test($o),rs=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec($o),is=/Edge\/(\d+)/.exec($o),os=ns||rs||is,ss=os&&(ns?document.documentMode||6:+(is||rs)[1]),as=!is&&/WebKit\//.test($o),ls=as&&/Qt\/\d+\.\d+/.test($o),us=!is&&/Chrome\//.test($o),cs=/Opera\//.test($o),hs=/Apple Computer/.test(navigator.vendor),ps=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test($o),fs=/PhantomJS/.test($o),ds=!is&&/AppleWebKit/.test($o)&&/Mobile\/\w+/.test($o),vs=/Android/.test($o),ms=ds||vs||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test($o),gs=ds||/Mac/.test(ts),ys=/\bCrOS\b/.test($o),bs=/win/i.test(ts),ws=cs&&$o.match(/Version\/(\d*\.\d*)/);ws&&(ws=Number(ws[1])),ws&&ws>=15&&(cs=!1,as=!0);var xs,Cs=gs&&(ls||cs&&(null==ws||ws<12.11)),Os=es||os&&ss>=9,Ss=function(e,n){var r=e.className,i=t(n).exec(r);if(i){var o=r.slice(i.index+i[0].length);e.className=r.slice(0,i.index)+(o?i[1]+o:"")}};xs=document.createRange?function(t,e,n,r){var i=document.createRange();return i.setEnd(r||t,n),i.setStart(t,e),i}:function(t,e,n){var r=document.body.createTextRange();try{r.moveToElementText(t.parentNode)}catch(t){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",e),r};var _s=function(t){t.select()};ds?_s=function(t){t.selectionStart=0,t.selectionEnd=t.value.length}:os&&(_s=function(t){try{t.select()}catch(t){}});var Ts=function(){this.id=null};Ts.prototype.set=function(t,e){clearTimeout(this.id),this.id=setTimeout(e,t)};var ks,Ms,Is=30,Ps={toString:function(){return"CodeMirror.Pass"}},As={scroll:!1},Es={origin:"*mouse"},Ds={origin:"+move"},Rs=[""],Ns=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,Ls=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/,js=!1,Ws=!1,Fs=null,Vs=function(){function t(t){return t<=247?n.charAt(t):1424<=t&&t<=1524?"R":1536<=t&&t<=1785?r.charAt(t-1536):1774<=t&&t<=2220?"r":8192<=t&&t<=8203?"w":8204==t?"b":"L"}function e(t,e,n){this.level=t,this.from=e,this.to=n}var n="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",r="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111",i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,o=/[stwN]/,s=/[LRr]/,a=/[Lb1n]/,l=/[1n]/;return function(n,r){var u="ltr"==r?"L":"R";if(0==n.length||"ltr"==r&&!i.test(n))return!1;for(var c=n.length,h=[],p=0;p<c;++p)h.push(t(n.charCodeAt(p)));for(var f=0,d=u;f<c;++f){var m=h[f];"m"==m?h[f]=d:d=m}for(var g=0,y=u;g<c;++g){var b=h[g];"1"==b&&"r"==y?h[g]="n":s.test(b)&&(y=b,"r"==b&&(h[g]="R"))}for(var w=1,x=h[0];w<c-1;++w){var C=h[w];"+"==C&&"1"==x&&"1"==h[w+1]?h[w]="1":","!=C||x!=h[w+1]||"1"!=x&&"n"!=x||(h[w]=x),x=C}for(var O=0;O<c;++O){var S=h[O];if(","==S)h[O]="N";else if("%"==S){var _=void 0;for(_=O+1;_<c&&"%"==h[_];++_);for(var T=O&&"!"==h[O-1]||_<c&&"1"==h[_]?"1":"N",k=O;k<_;++k)h[k]=T;O=_-1}}for(var M=0,I=u;M<c;++M){var P=h[M];"L"==I&&"1"==P?h[M]="L":s.test(P)&&(I=P)}for(var A=0;A<c;++A)if(o.test(h[A])){var E=void 0;for(E=A+1;E<c&&o.test(h[E]);++E);for(var D="L"==(A?h[A-1]:u),R="L"==(E<c?h[E]:u),N=D==R?D?"L":"R":u,L=A;L<E;++L)h[L]=N;A=E-1}for(var j,W=[],F=0;F<c;)if(a.test(h[F])){var V=F;for(++F;F<c&&a.test(h[F]);++F);W.push(new e(0,V,F))}else{var H=F,z=W.length;for(++F;F<c&&"L"!=h[F];++F);for(var B=H;B<F;)if(l.test(h[B])){H<B&&W.splice(z,0,new e(1,H,B));var U=B;for(++B;B<F&&l.test(h[B]);++B);W.splice(z,0,new e(2,U,B)),H=B}else++B;H<F&&W.splice(z,0,new e(1,H,F))}return 1==W[0].level&&(j=n.match(/^\s+/))&&(W[0].from=j[0].length,W.unshift(new e(0,0,j[0].length))),1==v(W).level&&(j=n.match(/\s+$/))&&(v(W).to-=j[0].length,W.push(new e(0,c-j[0].length,c))),"rtl"==r?W.reverse():W}}(),Hs=[],zs=function(t,e,n){if(t.addEventListener)t.addEventListener(e,n,!1);else if(t.attachEvent)t.attachEvent("on"+e,n);else{var r=t._handlers||(t._handlers={});r[e]=(r[e]||Hs).concat(n)}},Bs=function(){if(os&&ss<9)return!1;var t=r("div");return"draggable"in t||"dragDrop"in t}(),Us=3!="\n\nb".split(/\n/).length?function(t){for(var e=0,n=[],r=t.length;e<=r;){var i=t.indexOf("\n",e);-1==i&&(i=t.length);var o=t.slice(e,"\r"==t.charAt(i-1)?i-1:i),s=o.indexOf("\r");-1!=s?(n.push(o.slice(0,s)),e+=s+1):(n.push(o),e=i+1)}return n}:function(t){return t.split(/\r\n?|\n/)},qs=window.getSelection?function(t){try{return t.selectionStart!=t.selectionEnd}catch(t){return!1}}:function(t){var e;try{e=t.ownerDocument.selection.createRange()}catch(t){}return!(!e||e.parentElement()!=t)&&0!=e.compareEndPoints("StartToEnd",e)},Ks=function(){var t=r("div");return"oncopy"in t||(t.setAttribute("oncopy","return;"),"function"==typeof t.oncopy)}(),Gs=null,Ys={},Xs={},Js={},Zs=function(t,e){this.pos=this.start=0,this.string=t,this.tabSize=e||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0};Zs.prototype.eol=function(){return this.pos>=this.string.length},Zs.prototype.sol=function(){return this.pos==this.lineStart},Zs.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Zs.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Zs.prototype.eat=function(t){var e=this.string.charAt(this.pos);if("string"==typeof t?e==t:e&&(t.test?t.test(e):t(e)))return++this.pos,e},Zs.prototype.eatWhile=function(t){for(var e=this.pos;this.eat(t););return this.pos>e},Zs.prototype.eatSpace=function(){for(var t=this,e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++t.pos;return this.pos>e},Zs.prototype.skipToEnd=function(){this.pos=this.string.length},Zs.prototype.skipTo=function(t){var e=this.string.indexOf(t,this.pos);if(e>-1)return this.pos=e,!0},Zs.prototype.backUp=function(t){this.pos-=t},Zs.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=h(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?h(this.string,this.lineStart,this.tabSize):0)},Zs.prototype.indentation=function(){return h(this.string,null,this.tabSize)-(this.lineStart?h(this.string,this.lineStart,this.tabSize):0)},Zs.prototype.match=function(t,e,n){if("string"!=typeof t){var r=this.string.slice(this.pos).match(t);return r&&r.index>0?null:(r&&!1!==e&&(this.pos+=r[0].length),r)}var i=function(t){return n?t.toLowerCase():t};if(i(this.string.substr(this.pos,t.length))==i(t))return!1!==e&&(this.pos+=t.length),!0},Zs.prototype.current=function(){return this.string.slice(this.start,this.pos)},Zs.prototype.hideFirstChars=function(t,e){this.lineStart+=t;try{return e()}finally{this.lineStart-=t}};var Qs=function(t,e,n){this.text=t,rt(this,e),this.height=n?n(this):1};Qs.prototype.lineNo=function(){return A(this)},Rt(Qs);var $s,ta={},ea={},na=null,ra=null,ia={left:0,right:0,top:0,bottom:0},oa=function(t,e,n){this.cm=n;var i=this.vert=r("div",[r("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),o=this.horiz=r("div",[r("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");t(i),t(o),zs(i,"scroll",function(){i.clientHeight&&e(i.scrollTop,"vertical")}),zs(o,"scroll",function(){o.clientWidth&&e(o.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,os&&ss<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};oa.prototype.update=function(t){var e=t.scrollWidth>t.clientWidth+1,n=t.scrollHeight>t.clientHeight+1,r=t.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=e?r+"px":"0";var i=t.viewHeight-(e?r:0);this.vert.firstChild.style.height=Math.max(0,t.scrollHeight-t.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(e){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=t.barLeft+"px";var o=t.viewWidth-t.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,t.scrollWidth-t.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&t.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:e?r:0}},oa.prototype.setScrollLeft=function(t){this.horiz.scrollLeft!=t&&(this.horiz.scrollLeft=t),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},oa.prototype.setScrollTop=function(t){this.vert.scrollTop!=t&&(this.vert.scrollTop=t),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},oa.prototype.zeroWidthHack=function(){var t=gs&&!ps?"12px":"18px";this.horiz.style.height=this.vert.style.width=t,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ts,this.disableVert=new Ts},oa.prototype.enableZeroWidthBar=function(t,e,n){function r(){var i=t.getBoundingClientRect();("vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=t?t.style.pointerEvents="none":e.set(1e3,r)}t.style.pointerEvents="auto",e.set(1e3,r)},oa.prototype.clear=function(){var t=this.horiz.parentNode;t.removeChild(this.horiz),t.removeChild(this.vert)};var sa=function(){};sa.prototype.update=function(){return{bottom:0,right:0}},sa.prototype.setScrollLeft=function(){},sa.prototype.setScrollTop=function(){},sa.prototype.clear=function(){};var aa={native:oa,null:sa},la=0,ua=function(t,e,n){var r=t.display;this.viewport=e,this.visible=jn(r,t.doc,e),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Be(t),this.force=n,this.dims=wn(t),this.events=[]};ua.prototype.signal=function(t,e){Dt(t,e)&&this.events.push(arguments)},ua.prototype.finish=function(){for(var t=this,e=0;e<this.events.length;e++)Pt.apply(null,t.events[e])};var ca=0,ha=null;os?ha=-.53:es?ha=15:us?ha=-.7:hs&&(ha=-1/3);var pa=function(t,e){this.ranges=t,this.primIndex=e};pa.prototype.primary=function(){return this.ranges[this.primIndex]},pa.prototype.equals=function(t){var e=this;if(t==this)return!0;if(t.primIndex!=this.primIndex||t.ranges.length!=this.ranges.length)return!1;for(var n=0;n<this.ranges.length;n++){var r=e.ranges[n],i=t.ranges[n];if(!j(r.anchor,i.anchor)||!j(r.head,i.head))return!1}return!0},pa.prototype.deepCopy=function(){for(var t=this,e=[],n=0;n<this.ranges.length;n++)e[n]=new fa(W(t.ranges[n].anchor),W(t.ranges[n].head));return new pa(e,this.primIndex)},pa.prototype.somethingSelected=function(){for(var t=this,e=0;e<this.ranges.length;e++)if(!t.ranges[e].empty())return!0;return!1},pa.prototype.contains=function(t,e){var n=this;e||(e=t);for(var r=0;r<this.ranges.length;r++){var i=n.ranges[r];if(L(e,i.from())>=0&&L(t,i.to())<=0)return r}return-1};var fa=function(t,e){this.anchor=t,this.head=e};fa.prototype.from=function(){return V(this.anchor,this.head)},fa.prototype.to=function(){return F(this.anchor,this.head)},fa.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};var da=function(t){var e=this;this.lines=t,this.parent=null;for(var n=0,r=0;r<t.length;++r)t[r].parent=e,n+=t[r].height;this.height=n};da.prototype.chunkSize=function(){return this.lines.length},da.prototype.removeInner=function(t,e){for(var n=this,r=t,i=t+e;r<i;++r){var o=n.lines[r];n.height-=o.height,ue(o),Oe(o,"delete")}this.lines.splice(t,e)},da.prototype.collapse=function(t){t.push.apply(t,this.lines)},da.prototype.insertInner=function(t,e,n){var r=this;this.height+=n,this.lines=this.lines.slice(0,t).concat(e).concat(this.lines.slice(t));for(var i=0;i<e.length;++i)e[i].parent=r},da.prototype.iterN=function(t,e,n){for(var r=this,i=t+e;t<i;++t)if(n(r.lines[t]))return!0};var va=function(t){var e=this;this.children=t;for(var n=0,r=0,i=0;i<t.length;++i){var o=t[i];n+=o.chunkSize(),r+=o.height,o.parent=e}this.size=n,this.height=r,this.parent=null};va.prototype.chunkSize=function(){return this.size},va.prototype.removeInner=function(t,e){var n=this;this.size-=e;for(var r=0;r<this.children.length;++r){var i=n.children[r],o=i.chunkSize();if(t<o){var s=Math.min(e,o-t),a=i.height;if(i.removeInner(t,s),n.height-=a-i.height,o==s&&(n.children.splice(r--,1),i.parent=null),0==(e-=s))break;t=0}else t-=o}if(this.size-e<25&&(this.children.length>1||!(this.children[0]instanceof da))){var l=[];this.collapse(l),this.children=[new da(l)],this.children[0].parent=this}},va.prototype.collapse=function(t){for(var e=this,n=0;n<this.children.length;++n)e.children[n].collapse(t)},va.prototype.insertInner=function(t,e,n){var r=this;this.size+=e.length,this.height+=n;for(var i=0;i<this.children.length;++i){var o=r.children[i],s=o.chunkSize();if(t<=s){if(o.insertInner(t,e,n),o.lines&&o.lines.length>50){for(var a=o.lines.length%25+25,l=a;l<o.lines.length;){var u=new da(o.lines.slice(l,l+=25));o.height-=u.height,r.children.splice(++i,0,u),u.parent=r}o.lines=o.lines.slice(0,a),r.maybeSpill()}break}t-=s}},va.prototype.maybeSpill=function(){if(!(this.children.length<=10)){var t=this;do{var e=t.children.splice(t.children.length-5,5),n=new va(e);if(t.parent){t.size-=n.size,t.height-=n.height;var r=p(t.parent.children,t);t.parent.children.splice(r+1,0,n)}else{var i=new va(t.children);i.parent=t,t.children=[i,n],t=i}n.parent=t.parent}while(t.children.length>10);t.parent.maybeSpill()}},va.prototype.iterN=function(t,e,n){for(var r=this,i=0;i<this.children.length;++i){var o=r.children[i],s=o.chunkSize();if(t<s){var a=Math.min(e,s-t);if(o.iterN(t,a,n))return!0;if(0==(e-=a))break;t=0}else t-=s}};var ma=function(t,e,n){var r=this;if(n)for(var i in n)n.hasOwnProperty(i)&&(r[i]=n[i]);this.doc=t,this.node=e};ma.prototype.clear=function(){var t=this,e=this.doc.cm,n=this.line.widgets,r=this.line,i=A(r);if(null!=i&&n){for(var o=0;o<n.length;++o)n[o]==t&&n.splice(o--,1);n.length||(r.widgets=null);var s=je(this);P(r,Math.max(0,r.height-s)),e&&(hr(e,function(){Fi(e,r,-s),mr(e,i,"widget")}),Oe(e,"lineWidgetCleared",e,this,i))}},ma.prototype.changed=function(){var t=this,e=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=je(this)-e;i&&(P(r,r.height+i),n&&hr(n,function(){n.curOp.forceUpdate=!0,Fi(n,r,i),Oe(n,"lineWidgetChanged",n,t,A(r))}))},Rt(ma);var ga=0,ya=function(t,e){this.lines=[],this.type=e,this.doc=t,this.id=++ga};ya.prototype.clear=function(){var t=this;if(!this.explicitlyCleared){var e=this.doc.cm,n=e&&!e.curOp;if(n&&rr(e),Dt(this,"clear")){var r=this.find();r&&Oe(this,"clear",r.from,r.to)}for(var i=null,o=null,s=0;s<this.lines.length;++s){var a=t.lines[s],l=Y(a.markedSpans,t);e&&!t.collapsed?mr(e,A(a),"text"):e&&(null!=l.to&&(o=A(a)),null!=l.from&&(i=A(a))),a.markedSpans=X(a.markedSpans,l),null==l.from&&t.collapsed&&!mt(t.doc,a)&&e&&P(a,yn(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var u=0;u<this.lines.length;++u){var c=ht(t.lines[u]),h=bt(c);h>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=h,e.display.maxLineChanged=!0)}null!=i&&e&&this.collapsed&&vr(e,i,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&xi(e.doc)),e&&Oe(e,"markerCleared",e,this,i,o),n&&ir(e),this.parent&&this.parent.clear()}},ya.prototype.find=function(t,e){var n=this;null==t&&"bookmark"==this.type&&(t=1);for(var r,i,o=0;o<this.lines.length;++o){var s=n.lines[o],a=Y(s.markedSpans,n);if(null!=a.from&&(r=N(e?s:A(s),a.from),-1==t))return r;if(null!=a.to&&(i=N(e?s:A(s),a.to),1==t))return i}return r&&{from:r,to:i}},ya.prototype.changed=function(){var t=this,e=this.find(-1,!0),n=this,r=this.doc.cm;e&&r&&hr(r,function(){var i=e.line,o=A(e.line),s=Xe(r,o);if(s&&(nn(s),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!mt(n.doc,i)&&null!=n.height){var a=n.height;n.height=null;var l=je(n)-a;l&&P(i,i.height+l)}Oe(r,"markerChanged",r,t)})},ya.prototype.attachLine=function(t){if(!this.lines.length&&this.doc.cm){var e=this.doc.cm.curOp;e.maybeHiddenMarkers&&-1!=p(e.maybeHiddenMarkers,this)||(e.maybeUnhiddenMarkers||(e.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(t)},ya.prototype.detachLine=function(t){if(this.lines.splice(p(this.lines,t),1),!this.lines.length&&this.doc.cm){var e=this.doc.cm.curOp;(e.maybeHiddenMarkers||(e.maybeHiddenMarkers=[])).push(this)}},Rt(ya);var ba=function(t,e){var n=this;this.markers=t,this.primary=e;for(var r=0;r<t.length;++r)t[r].parent=n};ba.prototype.clear=function(){var t=this;if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)t.markers[e].clear();Oe(this,"clear")}},ba.prototype.find=function(t,e){return this.primary.find(t,e)},Rt(ba);var wa=0,xa=function(t,e,n,r,i){if(!(this instanceof xa))return new xa(t,e,n,r,i);null==n&&(n=0),va.call(this,[new da([new Qs("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.frontier=n;var o=N(n,0);this.sel=Wr(o),this.history=new Qr(null),this.id=++wa,this.modeOption=e,this.lineSep=r,this.direction="rtl"==i?"rtl":"ltr",this.extend=!1,"string"==typeof t&&(t=this.splitLines(t)),Gr(this,{from:o,to:o,text:t}),yi(this,Wr(o),As)};xa.prototype=b(va.prototype,{constructor:xa,iter:function(t,e,n){n?this.iterN(t-this.first,e-t,n):this.iterN(this.first,this.first+this.size,t)},insert:function(t,e){for(var n=0,r=0;r<e.length;++r)n+=e[r].height;this.insertInner(t-this.first,e,n)},remove:function(t,e){this.removeInner(t-this.first,e)},getValue:function(t){var e=I(this,this.first,this.first+this.size);return!1===t?e:e.join(t||this.lineSeparator())},setValue:dr(function(t){var e=N(this.first,0),n=this.first+this.size-1;Mi(this,{from:e,to:N(n,k(this,n).text.length),text:this.splitLines(t),origin:"setValue",full:!0},!0),this.cm&&Kn(this.cm,0,0),yi(this,Wr(e),As)}),replaceRange:function(t,e,n,r){e=z(this,e),n=n?z(this,n):e,Ri(this,t,e,n,r)},getRange:function(t,e,n){var r=M(this,z(this,t),z(this,e));return!1===n?r:r.join(n||this.lineSeparator())},getLine:function(t){var e=this.getLineHandle(t);return e&&e.text},getLineHandle:function(t){if(D(this,t))return k(this,t)},getLineNumber:function(t){return A(t)},getLineHandleVisualStart:function(t){return"number"==typeof t&&(t=k(this,t)),ht(t)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(t){return z(this,t)},getCursor:function(t){var e=this.sel.primary();return null==t||"head"==t?e.head:"anchor"==t?e.anchor:"end"==t||"to"==t||!1===t?e.to():e.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:dr(function(t,e,n){vi(this,z(this,"number"==typeof t?N(t,e||0):t),null,n)}),setSelection:dr(function(t,e,n){vi(this,z(this,t),z(this,e||t),n)}),extendSelection:dr(function(t,e,n){pi(this,z(this,t),e&&z(this,e),n)}),extendSelections:dr(function(t,e){fi(this,U(this,t),e)}),extendSelectionsBy:dr(function(t,e){fi(this,U(this,m(this.sel.ranges,t)),e)}),setSelections:dr(function(t,e,n){var r=this;if(t.length){for(var i=[],o=0;o<t.length;o++)i[o]=new fa(z(r,t[o].anchor),z(r,t[o].head));null==e&&(e=Math.min(t.length-1,this.sel.primIndex)),yi(this,jr(i,e),n)}}),addSelection:dr(function(t,e,n){var r=this.sel.ranges.slice(0);r.push(new fa(z(this,t),z(this,e||t))),yi(this,jr(r,r.length-1),n)}),getSelection:function(t){for(var e,n=this,r=this.sel.ranges,i=0;i<r.length;i++){var o=M(n,r[i].from(),r[i].to());e=e?e.concat(o):o}return!1===t?e:e.join(t||this.lineSeparator())},getSelections:function(t){for(var e=this,n=[],r=this.sel.ranges,i=0;i<r.length;i++){var o=M(e,r[i].from(),r[i].to());!1!==t&&(o=o.join(t||e.lineSeparator())),n[i]=o}return n},replaceSelection:function(t,e,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=t;this.replaceSelections(r,e,n||"+input")},replaceSelections:dr(function(t,e,n){for(var r=this,i=[],o=this.sel,s=0;s<o.ranges.length;s++){var a=o.ranges[s];i[s]={from:a.from(),to:a.to(),text:r.splitLines(t[s]),origin:n}}for(var l=e&&"end"!=e&&Br(this,i,e),u=i.length-1;u>=0;u--)Mi(r,i[u]);l?gi(this,l):this.cm&&qn(this.cm)}),undo:dr(function(){Pi(this,"undo")}),redo:dr(function(){Pi(this,"redo")}),undoSelection:dr(function(){Pi(this,"undo",!0)}),redoSelection:dr(function(){Pi(this,"redo",!0)}),setExtending:function(t){this.extend=t},getExtending:function(){return this.extend},historySize:function(){for(var t=this.history,e=0,n=0,r=0;r<t.done.length;r++)t.done[r].ranges||++e;for(var i=0;i<t.undone.length;i++)t.undone[i].ranges||++n;return{undo:e,redo:n}},clearHistory:function(){this.history=new Qr(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(t){return t&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(t){return this.history.generation==(t||this.cleanGeneration)},getHistory:function(){return{done:ci(this.history.done),undone:ci(this.history.undone)}},setHistory:function(t){var e=this.history=new Qr(this.history.maxGeneration);e.done=ci(t.done.slice(0),null,!0),e.undone=ci(t.undone.slice(0),null,!0)},setGutterMarker:dr(function(t,e,n){return Wi(this,t,"gutter",function(t){var r=t.gutterMarkers||(t.gutterMarkers={});return r[e]=n,!n&&C(r)&&(t.gutterMarkers=null),!0})}),clearGutter:dr(function(t){var e=this;this.iter(function(n){n.gutterMarkers&&n.gutterMarkers[t]&&Wi(e,n,"gutter",function(){return n.gutterMarkers[t]=null,C(n.gutterMarkers)&&(n.gutterMarkers=null),!0})})}),lineInfo:function(t){var e;if("number"==typeof t){if(!D(this,t))return null;if(e=t,!(t=k(this,t)))return null}else if(null==(e=A(t)))return null;return{line:e,handle:t,text:t.text,gutterMarkers:t.gutterMarkers,textClass:t.textClass,bgClass:t.bgClass,wrapClass:t.wrapClass,widgets:t.widgets}},addLineClass:dr(function(e,n,r){return Wi(this,e,"gutter"==n?"gutter":"class",function(e){var i="text"==n?"textClass":"background"==n?"bgClass":"gutter"==n?"gutterClass":"wrapClass";if(e[i]){if(t(r).test(e[i]))return!1;e[i]+=" "+r}else e[i]=r;return!0})}),removeLineClass:dr(function(e,n,r){return Wi(this,e,"gutter"==n?"gutter":"class",function(e){var i="text"==n?"textClass":"background"==n?"bgClass":"gutter"==n?"gutterClass":"wrapClass",o=e[i];if(!o)return!1;if(null==r)e[i]=null;else{var s=o.match(t(r));if(!s)return!1;var a=s.index+s[0].length;e[i]=o.slice(0,s.index)+(s.index&&a!=o.length?" ":"")+o.slice(a)||null}return!0})}),addLineWidget:dr(function(t,e,n){return Vi(this,t,e,n)}),removeLineWidget:function(t){t.clear()},markText:function(t,e,n){return Hi(this,z(this,t),z(this,e),n,n&&n.type||"range")},setBookmark:function(t,e){var n={replacedWith:e&&(null==e.nodeType?e.widget:e),insertLeft:e&&e.insertLeft,clearWhenEmpty:!1,shared:e&&e.shared,handleMouseEvents:e&&e.handleMouseEvents};return t=z(this,t),Hi(this,t,t,n,"bookmark")},findMarksAt:function(t){t=z(this,t);var e=[],n=k(this,t.line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=t.ch)&&(null==i.to||i.to>=t.ch)&&e.push(i.marker.parent||i.marker)}return e},findMarks:function(t,e,n){t=z(this,t),e=z(this,e);var r=[],i=t.line;return this.iter(t.line,e.line+1,function(o){var s=o.markedSpans;if(s)for(var a=0;a<s.length;a++){var l=s[a];null!=l.to&&i==t.line&&t.ch>=l.to||null==l.from&&i!=t.line||null!=l.from&&i==e.line&&l.from>=e.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i}),r},getAllMarks:function(){var t=[];return this.iter(function(e){var n=e.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&t.push(n[r].marker)}),t},posFromIndex:function(t){var e,n=this.first,r=this.lineSeparator().length;return this.iter(function(i){var o=i.text.length+r;if(o>t)return e=t,!0;t-=o,++n}),z(this,N(n,e))},indexFromPos:function(t){t=z(this,t);var e=t.ch;if(t.line<this.first||t.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,t.line,function(t){e+=t.text.length+n}),e},copy:function(t){var e=new xa(I(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return e.scrollTop=this.scrollTop,e.scrollLeft=this.scrollLeft,e.sel=this.sel,e.extend=!1,t&&(e.history.undoDepth=this.history.undoDepth,e.setHistory(this.getHistory())),e},linkedDoc:function(t){t||(t={});var e=this.first,n=this.first+this.size;null!=t.from&&t.from>e&&(e=t.from),null!=t.to&&t.to<n&&(n=t.to);var r=new xa(I(this,e,n),t.mode||this.modeOption,e,this.lineSep,this.direction);return t.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:t.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:t.sharedHist}],Ui(r,Bi(this)),r},unlinkDoc:function(t){var e=this;if(t instanceof Do&&(t=t.doc),this.linked)for(var n=0;n<this.linked.length;++n){var r=e.linked[n];if(r.doc==t){e.linked.splice(n,1),t.unlinkDoc(e),qi(Bi(e));break}}if(t.history==this.history){var i=[t.id];Yr(t,function(t){return i.push(t.id)},!0),t.history=new Qr(null),t.history.done=ci(this.history.done,i),t.history.undone=ci(this.history.undone,i)}},iterLinkedDocs:function(t){Yr(this,t)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(t){return this.lineSep?t.split(this.lineSep):Us(t)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:dr(function(t){"rtl"!=t&&(t="ltr"),t!=this.direction&&(this.direction=t,this.iter(function(t){return t.order=null}),this.cm&&Zr(this.cm))})}),xa.prototype.eachLine=xa.prototype.iter;for(var Ca=0,Oa=!1,Sa={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",127:"Delete",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},_a=0;_a<10;_a++)Sa[_a+48]=Sa[_a+96]=String(_a);for(var Ta=65;Ta<=90;Ta++)Sa[Ta]=String.fromCharCode(Ta);for(var ka=1;ka<=12;ka++)Sa[ka+111]=Sa[ka+63235]="F"+ka;var Ma={};Ma.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ma.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ma.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ma.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ma.default=gs?Ma.macDefault:Ma.pcDefault;var Ia,Pa,Aa={selectAll:Ti,singleSelection:function(t){return t.setSelection(t.getCursor("anchor"),t.getCursor("head"),As)},killLine:function(t){return so(t,function(e){if(e.empty()){var n=k(t.doc,e.head.line).text.length;return e.head.ch==n&&e.head.line<t.lastLine()?{from:e.head,to:N(e.head.line+1,0)}:{from:e.head,to:N(e.head.line,n)}}return{from:e.from(),to:e.to()}})},deleteLine:function(t){return so(t,function(e){return{from:N(e.from().line,0),to:z(t.doc,N(e.to().line+1,0))}})},delLineLeft:function(t){return so(t,function(t){return{from:N(t.from().line,0),to:t.from()}})},delWrappedLineLeft:function(t){return so(t,function(e){var n=t.charCoords(e.head,"div").top+5;return{from:t.coordsChar({left:0,top:n},"div"),to:e.from()}})},delWrappedLineRight:function(t){return so(t,function(e){var n=t.charCoords(e.head,"div").top+5,r=t.coordsChar({left:t.display.lineDiv.offsetWidth+100,top:n},"div");return{from:e.from(),to:r}})},undo:function(t){return t.undo()},redo:function(t){return t.redo()},undoSelection:function(t){return t.undoSelection()},redoSelection:function(t){return t.redoSelection()},goDocStart:function(t){return t.extendSelection(N(t.firstLine(),0))},goDocEnd:function(t){return t.extendSelection(N(t.lastLine()))},goLineStart:function(t){return t.extendSelectionsBy(function(e){return ao(t,e.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(t){return t.extendSelectionsBy(function(e){return uo(t,e.head)},{origin:"+move",bias:1})},goLineEnd:function(t){return t.extendSelectionsBy(function(e){return lo(t,e.head.line)},{origin:"+move",bias:-1})},goLineRight:function(t){return t.extendSelectionsBy(function(e){var n=t.charCoords(e.head,"div").top+5;return t.coordsChar({left:t.display.lineDiv.offsetWidth+100,top:n},"div")},Ds)},goLineLeft:function(t){return t.extendSelectionsBy(function(e){var n=t.charCoords(e.head,"div").top+5;return t.coordsChar({left:0,top:n},"div")},Ds)},goLineLeftSmart:function(t){return t.extendSelectionsBy(function(e){var n=t.charCoords(e.head,"div").top+5,r=t.coordsChar({left:0,top:n},"div");return r.ch<t.getLine(r.line).search(/\S/)?uo(t,e.head):r},Ds)},goLineUp:function(t){return t.moveV(-1,"line")},goLineDown:function(t){return t.moveV(1,"line")},goPageUp:function(t){return t.moveV(-1,"page")},goPageDown:function(t){return t.moveV(1,"page")},goCharLeft:function(t){return t.moveH(-1,"char")},goCharRight:function(t){return t.moveH(1,"char")},goColumnLeft:function(t){return t.moveH(-1,"column")},goColumnRight:function(t){return t.moveH(1,"column")},goWordLeft:function(t){return t.moveH(-1,"word")},goGroupRight:function(t){return t.moveH(1,"group")},goGroupLeft:function(t){return t.moveH(-1,"group")},goWordRight:function(t){return t.moveH(1,"word")},delCharBefore:function(t){return t.deleteH(-1,"char")},delCharAfter:function(t){return t.deleteH(1,"char")},delWordBefore:function(t){return t.deleteH(-1,"word")},delWordAfter:function(t){return t.deleteH(1,"word")},delGroupBefore:function(t){return t.deleteH(-1,"group")},delGroupAfter:function(t){return t.deleteH(1,"group")},indentAuto:function(t){return t.indentSelection("smart")},indentMore:function(t){return t.indentSelection("add")},indentLess:function(t){return t.indentSelection("subtract")},insertTab:function(t){return t.replaceSelection("\t")},insertSoftTab:function(t){for(var e=[],n=t.listSelections(),r=t.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),s=h(t.getLine(o.line),o.ch,r);e.push(d(r-s%r))}t.replaceSelections(e)},defaultTab:function(t){t.somethingSelected()?t.indentSelection("add"):t.execCommand("insertTab")},transposeChars:function(t){return hr(t,function(){for(var e=t.listSelections(),n=[],r=0;r<e.length;r++)if(e[r].empty()){var i=e[r].head,o=k(t.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new N(i.line,i.ch-1)),i.ch>0)i=new N(i.line,i.ch+1),t.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),N(i.line,i.ch-2),i,"+transpose");else if(i.line>t.doc.first){var s=k(t.doc,i.line-1).text;s&&(i=new N(i.line,1),t.replaceRange(o.charAt(0)+t.doc.lineSeparator()+s.charAt(s.length-1),N(i.line-1,s.length-1),i,"+transpose"))}n.push(new fa(i,i))}t.setSelections(n)})},newlineAndIndent:function(t){return hr(t,function(){for(var e=t.listSelections(),n=e.length-1;n>=0;n--)t.replaceRange(t.doc.lineSeparator(),e[n].anchor,e[n].head,"+input");e=t.listSelections();for(var r=0;r<e.length;r++)t.indentLine(e[r].from().line,null,!0);qn(t)})},openLine:function(t){return t.replaceSelection("\n","start")},toggleOverwrite:function(t){return t.toggleOverwrite()}},Ea=new Ts,Da=null,Ra={toString:function(){return"CodeMirror.Init"}},Na={},La={};Do.defaults=Na,Do.optionHandlers=La;var ja=[];Do.defineInitHook=function(t){return ja.push(t)};var Wa=null,Fa=function(t){var e=t.optionHandlers,n=t.helpers={};t.prototype={constructor:t,focus:function(){window.focus(),this.display.input.focus()},setOption:function(t,n){var r=this.options,i=r[t];r[t]==n&&"mode"!=t||(r[t]=n,e.hasOwnProperty(t)&&pr(this,e[t])(this,n,i),Pt(this,"optionChange",this,t))},getOption:function(t){return this.options[t]},getDoc:function(){return this.doc},addKeyMap:function(t,e){this.state.keyMaps[e?"push":"unshift"](oo(t))},removeKeyMap:function(t){for(var e=this.state.keyMaps,n=0;n<e.length;++n)if(e[n]==t||e[n].name==t)return e.splice(n,1),!0},addOverlay:fr(function(e,n){var r=e.token?e:t.getMode(this.options,e);if(r.startState)throw new Error("Overlays may not be stateful.");g(this.state.overlays,{mode:r,modeSpec:e,opaque:n&&n.opaque,priority:n&&n.priority||0},function(t){return t.priority}),this.state.modeGen++,vr(this)}),removeOverlay:fr(function(t){for(var e=this,n=this.state.overlays,r=0;r<n.length;++r){var i=n[r].modeSpec;if(i==t||"string"==typeof t&&i.name==t)return n.splice(r,1),e.state.modeGen++,void vr(e)}}),indentLine:fr(function(t,e,n){"string"!=typeof e&&"number"!=typeof e&&(e=null==e?this.options.smartIndent?"smart":"prev":e?"add":"subtract"),D(this.doc,t)&&No(this,t,e,n)}),indentSelection:fr(function(t){for(var e=this,n=this.doc.sel.ranges,r=-1,i=0;i<n.length;i++){var o=n[i];if(o.empty())o.head.line>r&&(No(e,o.head.line,t,!0),r=o.head.line,i==e.doc.sel.primIndex&&qn(e));else{var s=o.from(),a=o.to(),l=Math.max(r,s.line);r=Math.min(e.lastLine(),a.line-(a.ch?0:1))+1;for(var u=l;u<r;++u)No(e,u,t);var c=e.doc.sel.ranges;0==s.ch&&n.length==c.length&&c[i].from().ch>0&&di(e.doc,i,new fa(s,c[i].to()),As)}}}),getTokenAt:function(t,e){return ie(this,t,e)},getLineTokens:function(t,e){return ie(this,N(t),e,!0)},getTokenTypeAt:function(t){t=z(this.doc,t);var e,n=$t(this,k(this.doc,t.line)),r=0,i=(n.length-1)/2,o=t.ch;if(0==o)e=n[2];else for(;;){var s=r+i>>1;if((s?n[2*s-1]:0)>=o)i=s;else{if(!(n[2*s+1]<o)){e=n[2*s+2];break}r=s+1}}var a=e?e.indexOf("overlay "):-1;return a<0?e:0==a?null:e.slice(0,a-1)},getModeAt:function(e){var n=this.doc.mode;return n.innerMode?t.innerMode(n,this.getTokenAt(e).state).mode:n},getHelper:function(t,e){return this.getHelpers(t,e)[0]},getHelpers:function(t,e){var r=this,i=[];if(!n.hasOwnProperty(e))return i;var o=n[e],s=this.getModeAt(t);if("string"==typeof s[e])o[s[e]]&&i.push(o[s[e]]);else if(s[e])for(var a=0;a<s[e].length;a++){var l=o[s[e][a]];l&&i.push(l)}else s.helperType&&o[s.helperType]?i.push(o[s.helperType]):o[s.name]&&i.push(o[s.name]);for(var u=0;u<o._global.length;u++){var c=o._global[u];c.pred(s,r)&&-1==p(i,c.val)&&i.push(c.val)}return i},getStateAfter:function(t,e){var n=this.doc;return t=H(n,null==t?n.first+n.size-1:t),te(this,t+1,e)},cursorCoords:function(t,e){var n,r=this.doc.sel.primary();return n=null==t?r.head:"object"==typeof t?z(this.doc,t):t?r.from():r.to(),hn(this,n,e||"page")},charCoords:function(t,e){return cn(this,z(this.doc,t),e||"page")},coordsChar:function(t,e){return t=un(this,t,e||"page"),dn(this,t.left,t.top)},lineAtHeight:function(t,e){return t=un(this,{top:t,left:0},e||"page").top,E(this.doc,t+this.display.viewOffset)},heightAtLine:function(t,e,n){var r,i=!1;if("number"==typeof t){var o=this.doc.first+this.doc.size-1;t<this.doc.first?t=this.doc.first:t>o&&(t=o,i=!0),r=k(this.doc,t)}else r=t;return ln(this,r,{top:0,left:0},e||"page",n||i).top+(i?this.doc.height-yt(r):0)},defaultTextHeight:function(){return yn(this.display)},defaultCharWidth:function(){return bn(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(t,e,n,r,i){var o=this.display;t=hn(this,z(this.doc,t));var s=t.bottom,a=t.left;if(e.style.position="absolute",e.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(e),o.sizer.appendChild(e),"over"==r)s=t.top;else if("above"==r||"near"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),u=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||t.bottom+e.offsetHeight>l)&&t.top>e.offsetHeight?s=t.top-e.offsetHeight:t.bottom+e.offsetHeight<=l&&(s=t.bottom),a+e.offsetWidth>u&&(a=u-e.offsetWidth)}e.style.top=s+"px",e.style.left=e.style.right="","right"==i?(a=o.sizer.clientWidth-e.offsetWidth,e.style.right="0px"):("left"==i?a=0:"middle"==i&&(a=(o.sizer.clientWidth-e.offsetWidth)/2),e.style.left=a+"px"),n&&zn(this,{left:a,top:s,right:a+e.offsetWidth,bottom:s+e.offsetHeight})},triggerOnKeyDown:fr(mo),triggerOnKeyPress:fr(bo),triggerOnKeyUp:yo,execCommand:function(t){if(Aa.hasOwnProperty(t))return Aa[t].call(null,this)},triggerElectric:fr(function(t){Fo(this,t)}),findPosH:function(t,e,n,r){var i=this,o=1;e<0&&(o=-1,e=-e);for(var s=z(this.doc,t),a=0;a<e&&(s=Bo(i.doc,s,o,n,r),!s.hitSide);++a);return s},moveH:fr(function(t,e){var n=this;this.extendSelectionsBy(function(r){return n.display.shift||n.doc.extend||r.empty()?Bo(n.doc,r.head,t,e,n.options.rtlMoveVisually):t<0?r.from():r.to()},Ds)}),deleteH:fr(function(t,e){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection("",null,"+delete"):so(this,function(n){var i=Bo(r,n.head,t,e,!1);return t<0?{from:i,to:n.head}:{from:n.head,to:i}})}),findPosV:function(t,e,n,r){var i=this,o=1,s=r;e<0&&(o=-1,e=-e);for(var a=z(this.doc,t),l=0;l<e;++l){var u=hn(i,a,"div");if(null==s?s=u.left:u.left=s,a=Uo(i,u,o,n),a.hitSide)break}return a},moveV:fr(function(t,e){var n=this,r=this.doc,i=[],o=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy(function(s){if(o)return t<0?s.from():s.to();var a=hn(n,s.head,"div");null!=s.goalColumn&&(a.left=s.goalColumn),i.push(a.left);var l=Uo(n,a,t,e);return"page"==e&&s==r.sel.primary()&&Un(n,cn(n,l,"div").top-a.top),l},Ds),i.length)for(var s=0;s<r.sel.ranges.length;s++)r.sel.ranges[s].goalColumn=i[s]}),findWordAt:function(t){var e=this.doc,n=k(e,t.line).text,r=t.ch,i=t.ch;if(n){var o=this.getHelper(t,"wordChars");"before"!=t.sticky&&i!=n.length||!r?++i:--r;for(var s=n.charAt(r),a=x(s,o)?function(t){return x(t,o)}:/\s/.test(s)?function(t){return/\s/.test(t)}:function(t){return!/\s/.test(t)&&!x(t)};r>0&&a(n.charAt(r-1));)--r;for(;i<n.length&&a(n.charAt(i));)++i}return new fa(N(t.line,r),N(t.line,i))},toggleOverwrite:function(t){null!=t&&t==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?a(this.display.cursorDiv,"CodeMirror-overwrite"):Ss(this.display.cursorDiv,"CodeMirror-overwrite"),Pt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==s()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:fr(function(t,e){Kn(this,t,e)}),getScrollInfo:function(){var t=this.display.scroller;return{left:t.scrollLeft,top:t.scrollTop,height:t.scrollHeight-ze(this)-this.display.barHeight,width:t.scrollWidth-ze(this)-this.display.barWidth,clientHeight:Ue(this),clientWidth:Be(this)}},scrollIntoView:fr(function(t,e){null==t?(t={from:this.doc.sel.primary().head,to:null},null==e&&(e=this.options.cursorScrollMargin)):"number"==typeof t?t={from:N(t,0),to:null}:null==t.from&&(t={from:t,to:null}),t.to||(t.to=t.from),t.margin=e||0,null!=t.from.line?Gn(this,t):Xn(this,t.from,t.to,t.margin)}),setSize:fr(function(t,e){var n=this,r=function(t){return"number"==typeof t||/^\d+$/.test(String(t))?t+"px":t};null!=t&&(this.display.wrapper.style.width=r(t)),null!=e&&(this.display.wrapper.style.height=r(e)),this.options.lineWrapping&&rn(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,function(t){if(t.widgets)for(var e=0;e<t.widgets.length;e++)if(t.widgets[e].noHScroll){mr(n,i,"widget");break}++i}),this.curOp.forceUpdate=!0,Pt(this,"refresh",this)}),operation:function(t){return hr(this,t)},refresh:fr(function(){var t=this.display.cachedTextHeight;vr(this),this.curOp.forceUpdate=!0,on(this),Kn(this,this.doc.scrollLeft,this.doc.scrollTop),Pr(this),(null==t||Math.abs(t-yn(this.display))>.5)&&On(this),Pt(this,"refresh",this)}),swapDoc:fr(function(t){var e=this.doc;return e.cm=null,Xr(this,t),on(this),this.display.input.reset(),Kn(this,t.scrollLeft,t.scrollTop),this.curOp.forceScroll=!0,Oe(this,"swapDoc",this,e),e}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Rt(t),t.registerHelper=function(e,r,i){n.hasOwnProperty(e)||(n[e]=t[e]={_global:[]}),n[e][r]=i},t.registerGlobalHelper=function(e,r,i,o){t.registerHelper(e,r,o),n[e]._global.push({pred:i,val:o})}},Va=function(t){this.cm=t,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ts,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Va.prototype.init=function(t){function e(t){if(!At(i,t)){if(i.somethingSelected())Lo({lineWise:!1,text:i.getSelections()}),"cut"==t.type&&i.replaceSelection("",null,"cut");else{if(!i.options.lineWiseCopyCut)return;var e=Vo(i);Lo({lineWise:!0,text:e.text}),"cut"==t.type&&i.operation(function(){i.setSelections(e.ranges,0,As),i.replaceSelection("",null,"cut")})}if(t.clipboardData){t.clipboardData.clearData();var n=Wa.text.join("\n");if(t.clipboardData.setData("Text",n),t.clipboardData.getData("Text")==n)return void t.preventDefault()}var s=zo(),a=s.firstChild;i.display.lineSpace.insertBefore(s,i.display.lineSpace.firstChild),a.value=Wa.text.join("\n");var l=document.activeElement;_s(a),setTimeout(function(){i.display.lineSpace.removeChild(s),l.focus(),l==o&&r.showPrimarySelection()},50)}}var n=this,r=this,i=r.cm,o=r.div=t.lineDiv;Ho(o,i.options.spellcheck),zs(o,"paste",function(t){At(i,t)||Wo(t,i)||ss<=11&&setTimeout(pr(i,function(){return n.updateFromDOM()}),20)}),zs(o,"compositionstart",function(t){n.composing={data:t.data,done:!1}}),zs(o,"compositionupdate",function(t){n.composing||(n.composing={data:t.data,done:!1})}),zs(o,"compositionend",function(t){n.composing&&(t.data!=n.composing.data&&n.readFromDOMSoon(),n.composing.done=!0)}),zs(o,"touchstart",function(){return r.forceCompositionEnd()}),zs(o,"input",function(){n.composing||n.readFromDOMSoon()}),zs(o,"copy",e),zs(o,"cut",e)},Va.prototype.prepareSelection=function(){var t=kn(this.cm,!1);return t.focus=this.cm.state.focused,t},Va.prototype.showSelection=function(t,e){t&&this.cm.display.view.length&&((t.focus||e)&&this.showPrimarySelection(),this.showMultipleSelections(t))},Va.prototype.showPrimarySelection=function(){var t=window.getSelection(),e=this.cm,n=e.doc.sel.primary(),r=n.from(),i=n.to();if(e.display.viewTo==e.display.viewFrom||r.line>=e.display.viewTo||i.line<e.display.viewFrom)return void t.removeAllRanges();var o=Xo(e,t.anchorNode,t.anchorOffset),s=Xo(e,t.focusNode,t.focusOffset);if(!o||o.bad||!s||s.bad||0!=L(V(o,s),r)||0!=L(F(o,s),i)){var a=e.display.view,l=r.line>=e.display.viewFrom&&qo(e,r)||{node:a[0].measure.map[2],offset:0},u=i.line<e.display.viewTo&&qo(e,i);if(!u){var c=a[a.length-1].measure,h=c.maps?c.maps[c.maps.length-1]:c.map;u={node:h[h.length-1],offset:h[h.length-2]-h[h.length-3]}}if(!l||!u)return void t.removeAllRanges();var p,f=t.rangeCount&&t.getRangeAt(0);try{p=xs(l.node,l.offset,u.offset,u.node)}catch(t){}p&&(!es&&e.state.focused?(t.collapse(l.node,l.offset),p.collapsed||(t.removeAllRanges(),t.addRange(p))):(t.removeAllRanges(),t.addRange(p)),f&&null==t.anchorNode?t.addRange(f):es&&this.startGracePeriod()),this.rememberSelection()}},Va.prototype.startGracePeriod=function(){var t=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){t.gracePeriod=!1,t.selectionChanged()&&t.cm.operation(function(){return t.cm.curOp.selectionChanged=!0})},20)},Va.prototype.showMultipleSelections=function(t){n(this.cm.display.cursorDiv,t.cursors),n(this.cm.display.selectionDiv,t.selection)},Va.prototype.rememberSelection=function(){var t=window.getSelection();this.lastAnchorNode=t.anchorNode,this.lastAnchorOffset=t.anchorOffset,this.lastFocusNode=t.focusNode,this.lastFocusOffset=t.focusOffset},Va.prototype.selectionInEditor=function(){var t=window.getSelection();if(!t.rangeCount)return!1;var e=t.getRangeAt(0).commonAncestorContainer;return o(this.div,e)},Va.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Va.prototype.blur=function(){this.div.blur()},Va.prototype.getField=function(){return this.div},Va.prototype.supportsTouch=function(){return!0},Va.prototype.receivedFocus=function(){function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}var e=this;this.selectionInEditor()?this.pollSelection():hr(this.cm,function(){return e.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,t)},Va.prototype.selectionChanged=function(){var t=window.getSelection();return t.anchorNode!=this.lastAnchorNode||t.anchorOffset!=this.lastAnchorOffset||t.focusNode!=this.lastFocusNode||t.focusOffset!=this.lastFocusOffset},Va.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var t=window.getSelection(),e=this.cm;if(vs&&us&&this.cm.options.gutters.length&&Ko(t.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=Xo(e,t.anchorNode,t.anchorOffset),r=Xo(e,t.focusNode,t.focusOffset);n&&r&&hr(e,function(){yi(e.doc,Wr(n,r),As),(n.bad||r.bad)&&(e.curOp.selectionChanged=!0)})}}},Va.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var t=this.cm,e=t.display,n=t.doc.sel.primary(),r=n.from(),i=n.to();if(0==r.ch&&r.line>t.firstLine()&&(r=N(r.line-1,k(t.doc,r.line-1).length)),i.ch==k(t.doc,i.line).text.length&&i.line<t.lastLine()&&(i=N(i.line+1,0)),r.line<e.viewFrom||i.line>e.viewTo-1)return!1;var o,s,a;r.line==e.viewFrom||0==(o=_n(t,r.line))?(s=A(e.view[0].line),a=e.view[0].node):(s=A(e.view[o].line),a=e.view[o-1].node.nextSibling);var l,u,c=_n(t,i.line);if(c==e.view.length-1?(l=e.viewTo-1,u=e.lineDiv.lastChild):(l=A(e.view[c+1].line)-1,u=e.view[c+1].node.previousSibling),!a)return!1;for(var h=t.doc.splitLines(Yo(t,a,u,s,l)),p=M(t.doc,N(s,0),N(l,k(t.doc,l).text.length));h.length>1&&p.length>1;)if(v(h)==v(p))h.pop(),p.pop(),l--;else{if(h[0]!=p[0])break;h.shift(),p.shift(),s++}for(var f=0,d=0,m=h[0],g=p[0],y=Math.min(m.length,g.length);f<y&&m.charCodeAt(f)==g.charCodeAt(f);)++f;for(var b=v(h),w=v(p),x=Math.min(b.length-(1==h.length?f:0),w.length-(1==p.length?f:0));d<x&&b.charCodeAt(b.length-d-1)==w.charCodeAt(w.length-d-1);)++d;if(1==h.length&&1==p.length&&s==r.line)for(;f&&f>r.ch&&b.charCodeAt(b.length-d-1)==w.charCodeAt(w.length-d-1);)f--,d++;h[h.length-1]=b.slice(0,b.length-d).replace(/^\u200b+/,""),h[0]=h[0].slice(f).replace(/\u200b+$/,"");var C=N(s,f),O=N(l,p.length?v(p).length-d:0);return h.length>1||h[0]||L(C,O)?(Ri(t.doc,h,C,O,"+input"),!0):void 0},Va.prototype.ensurePolled=function(){this.forceCompositionEnd()},Va.prototype.reset=function(){this.forceCompositionEnd()},Va.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Va.prototype.readFromDOMSoon=function(){var t=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(t.readDOMTimeout=null,t.composing){if(!t.composing.done)return;t.composing=null}t.updateFromDOM()},80))},Va.prototype.updateFromDOM=function(){var t=this;!this.cm.isReadOnly()&&this.pollContent()||hr(this.cm,function(){return vr(t.cm)})},Va.prototype.setUneditable=function(t){t.contentEditable="false"},Va.prototype.onKeyPress=function(t){0!=t.charCode&&(t.preventDefault(),this.cm.isReadOnly()||pr(this.cm,jo)(this.cm,String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),0))},Va.prototype.readOnlyChanged=function(t){this.div.contentEditable=String("nocursor"!=t)},Va.prototype.onContextMenu=function(){},Va.prototype.resetPosition=function(){},Va.prototype.needsContentAttribute=!0;var Ha=function(t){this.cm=t,this.prevInput="",this.pollingFast=!1,this.polling=new Ts,this.inaccurateSelection=!1,this.hasSelection=!1,this.composing=null};Ha.prototype.init=function(t){function e(t){if(!At(i,t)){if(i.somethingSelected())Lo({lineWise:!1,text:i.getSelections()}),r.inaccurateSelection&&(r.prevInput="",r.inaccurateSelection=!1,s.value=Wa.text.join("\n"),_s(s));else{if(!i.options.lineWiseCopyCut)return;var e=Vo(i);Lo({lineWise:!0,text:e.text}),"cut"==t.type?i.setSelections(e.ranges,null,As):(r.prevInput="",s.value=e.text.join("\n"),_s(s))}"cut"==t.type&&(i.state.cutIncoming=!0)}}var n=this,r=this,i=this.cm,o=this.wrapper=zo(),s=this.textarea=o.firstChild;t.wrapper.insertBefore(o,t.wrapper.firstChild),ds&&(s.style.width="0px"),zs(s,"input",function(){os&&ss>=9&&n.hasSelection&&(n.hasSelection=null),r.poll()}),zs(s,"paste",function(t){At(i,t)||Wo(t,i)||(i.state.pasteIncoming=!0,r.fastPoll())}),zs(s,"cut",e),zs(s,"copy",e),zs(t.scroller,"paste",function(e){We(t,e)||At(i,e)||(i.state.pasteIncoming=!0,r.focus())}),zs(t.lineSpace,"selectstart",function(e){We(t,e)||Nt(e)}),zs(s,"compositionstart",function(){var t=i.getCursor("from");r.composing&&r.composing.range.clear(),r.composing={start:t,range:i.markText(t,i.getCursor("to"),{className:"CodeMirror-composing"})}}),zs(s,"compositionend",function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null)})},Ha.prototype.prepareSelection=function(){var t=this.cm,e=t.display,n=t.doc,r=kn(t);if(t.options.moveInputWithCursor){var i=hn(t,n.sel.primary().head,"div"),o=e.wrapper.getBoundingClientRect(),s=e.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(e.wrapper.clientHeight-10,i.top+s.top-o.top)),r.teLeft=Math.max(0,Math.min(e.wrapper.clientWidth-10,i.left+s.left-o.left))}return r},Ha.prototype.showSelection=function(t){var e=this.cm,r=e.display;n(r.cursorDiv,t.cursors),n(r.selectionDiv,t.selection),null!=t.teTop&&(this.wrapper.style.top=t.teTop+"px",this.wrapper.style.left=t.teLeft+"px")},Ha.prototype.reset=function(t){if(!this.contextMenuPending&&!this.composing){var e,n,r=this.cm,i=r.doc;if(r.somethingSelected()){this.prevInput="";var o=i.sel.primary();e=Ks&&(o.to().line-o.from().line>100||(n=r.getSelection()).length>1e3);var s=e?"-":n||r.getSelection();this.textarea.value=s,r.state.focused&&_s(this.textarea),os&&ss>=9&&(this.hasSelection=s)}else t||(this.prevInput=this.textarea.value="",os&&ss>=9&&(this.hasSelection=null));this.inaccurateSelection=e}},Ha.prototype.getField=function(){return this.textarea},Ha.prototype.supportsTouch=function(){return!1},Ha.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!ms||s()!=this.textarea))try{this.textarea.focus()}catch(t){}},Ha.prototype.blur=function(){this.textarea.blur()},Ha.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ha.prototype.receivedFocus=function(){this.slowPoll()},Ha.prototype.slowPoll=function(){var t=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){t.poll(),t.cm.state.focused&&t.slowPoll()})},Ha.prototype.fastPoll=function(){function t(){n.poll()||e?(n.pollingFast=!1,n.slowPoll()):(e=!0,n.polling.set(60,t))}var e=!1,n=this;n.pollingFast=!0,n.polling.set(20,t)},Ha.prototype.poll=function(){var t=this,e=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!e.state.focused||qs(n)&&!r&&!this.composing||e.isReadOnly()||e.options.disableInput||e.state.keySeq)return!1;var i=n.value;if(i==r&&!e.somethingSelected())return!1;if(os&&ss>=9&&this.hasSelection===i||gs&&/[\uf700-\uf7ff]/.test(i))return e.display.input.reset(),!1;if(e.doc.sel==e.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="​"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var s=0,a=Math.min(r.length,i.length);s<a&&r.charCodeAt(s)==i.charCodeAt(s);)++s;return hr(e,function(){jo(e,i.slice(s),r.length-s,null,t.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?n.value=t.prevInput="":t.prevInput=i,t.composing&&(t.composing.range.clear(),t.composing.range=e.markText(t.composing.start,e.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ha.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ha.prototype.onKeyPress=function(){os&&ss>=9&&(this.hasSelection=null),this.fastPoll()},Ha.prototype.onContextMenu=function(t){function e(){if(null!=s.selectionStart){var t=i.somethingSelected(),e="​"+(t?s.value:"");s.value="⇚",s.value=e,r.prevInput=t?"":"​",s.selectionStart=1,s.selectionEnd=e.length,o.selForContextMenu=i.doc.sel}}function n(){if(r.contextMenuPending=!1,r.wrapper.style.cssText=c,s.style.cssText=u,os&&ss<9&&o.scrollbars.setScrollTop(o.scroller.scrollTop=l),null!=s.selectionStart){(!os||os&&ss<9)&&e();var t=0,n=function(){o.selForContextMenu==i.doc.sel&&0==s.selectionStart&&s.selectionEnd>0&&"​"==r.prevInput?pr(i,Ti)(i):t++<10?o.detectingSelectAll=setTimeout(n,500):(o.selForContextMenu=null,o.input.reset())};o.detectingSelectAll=setTimeout(n,200)}}var r=this,i=r.cm,o=i.display,s=r.textarea,a=Sn(i,t),l=o.scroller.scrollTop;if(a&&!cs){i.options.resetSelectionOnContextMenu&&-1==i.doc.sel.contains(a)&&pr(i,yi)(i.doc,Wr(a),As);var u=s.style.cssText,c=r.wrapper.style.cssText;r.wrapper.style.cssText="position: absolute";var h=r.wrapper.getBoundingClientRect();s.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(t.clientY-h.top-5)+"px; left: "+(t.clientX-h.left-5)+"px;\n z-index: 1000; background: "+(os?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var p;if(as&&(p=window.scrollY),o.input.focus(),as&&window.scrollTo(null,p),o.input.reset(),i.somethingSelected()||(s.value=r.prevInput=" "),r.contextMenuPending=!0,o.selForContextMenu=i.doc.sel,clearTimeout(o.detectingSelectAll),os&&ss>=9&&e(),Os){Wt(t);var f=function(){It(window,"mouseup",f),setTimeout(n,20)};zs(window,"mouseup",f)}else setTimeout(n,50)}},Ha.prototype.readOnlyChanged=function(t){t||this.reset()},Ha.prototype.setUneditable=function(){},Ha.prototype.needsContentAttribute=!1,Io(Do),Fa(Do);var za="iter insert remove copy getEditor constructor".split(" ");for(var Ba in xa.prototype)xa.prototype.hasOwnProperty(Ba)&&p(za,Ba)<0&&(Do.prototype[Ba]=function(t){return function(){return t.apply(this.doc,arguments)}}(xa.prototype[Ba]));return Rt(xa),Do.inputStyles={textarea:Ha,contenteditable:Va},Do.defineMode=function(t){Do.defaults.mode||"null"==t||(Do.defaults.mode=t),Ut.apply(this,arguments)},Do.defineMIME=qt,Do.defineMode("null",function(){return{token:function(t){return t.skipToEnd()}}}),Do.defineMIME("text/plain","null"),Do.defineExtension=function(t,e){Do.prototype[t]=e},Do.defineDocExtension=function(t,e){xa.prototype[t]=e},Do.fromTextArea=Zo,Qo(Do),Do.version="5.26.0",Do})},"8Z8y":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=function(t){function e(){var e=t.call(this,"argument out of range");this.name=e.name="ArgumentOutOfRangeError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.ArgumentOutOfRangeError=i},"8hgl":function(t,e,n){"use strict";function r(t,e){return this.lift(new l(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("+3eL"),a=n("WhVc");e.distinctUntilChanged=r;var l=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,n,r){t.call(this,e),this.keySelector=r,this.hasKey=!1,"function"==typeof n&&(this.compare=n)}return i(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e=this.keySelector,n=t;if(e&&(n=s.tryCatch(this.keySelector)(t))===a.errorObject)return this.destination.error(a.errorObject.e);var r=!1;if(this.hasKey){if((r=s.tryCatch(this.compare)(this.key,n))===a.errorObject)return this.destination.error(a.errorObject.e)}else this.hasKey=!0;!1===Boolean(r)&&(this.key=n,this.destination.next(t))},e}(o.Subscriber)},"8szd":function(t,e,n){"use strict";var r=n("rCTf"),i=n("RyDc");r.Observable.prototype.skipUntil=i.skipUntil},"94IA":function(t,e,n){"use strict";var r=n("rCTf"),i=n("aec7");r.Observable.prototype.delay=i.delay},"9Avi":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("cPwE"),o=function(t){function e(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return r(e,t),e.prototype.flush=function(t){var e=this.actions;if(this.active)return void e.push(t);var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}},e}(i.Scheduler);e.AsyncScheduler=o},"9JPB":function(t,e,n){"use strict";var r=n("VOfZ"),i=n("2ER/");e.Map=r.root.Map||function(){return i.MapPolyfill}()},"9PGs":function(t,e,n){"use strict";function r(){return this.lift(new s)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.toArray=r;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e),this.array=[]}return i(e,t),e.prototype._next=function(t){this.array.push(t)},e.prototype._complete=function(){this.destination.next(this.array),this.destination.complete()},e}(o.Subscriber)},"9TuE":function(t,e,n){"use strict";function r(){return this.lift(new s)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.isEmpty=r;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e)}return i(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(o.Subscriber)},"9WjZ":function(t,e,n){"use strict";var r=n("rCTf"),i=n("+vPe");r.Observable.never=i.never},"9XFw":function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){}return t}();i.decorators=[{type:r.Component,args:[{selector:"ngb-modal-backdrop",template:"",host:{class:"modal-backdrop fade show"}}]}],i.ctorParameters=function(){return[]}},"9oY/":function(t,e,n){"use strict";var r=n("L2Hk");e.fromEventPattern=r.FromEventPatternObservable.create},"9oiU":function(t,e,n){"use strict";function r(t){return this.lift(new s(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.mapTo=r;var s=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.value))},t}(),a=function(t){function e(e,n){t.call(this,e),this.value=n}return i(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(o.Subscriber)},"9qUs":function(t,e,n){"use strict";var r=n("rCTf"),i=n("M5jZ");r.Observable.prototype.skip=i.skip},A7JX:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null;return"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&s.isArray(t[0])&&(t=t[0].slice()),t.unshift(this),this.lift.call(new o.ArrayObservable(t),new c(n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("Yh8Q"),s=n("Xajo"),a=n("wAkD"),l=n("CURp"),u={};e.combineLatest=r;var c=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.project))},t}();e.CombineLatestOperator=c;var h=function(t){function e(e,n){t.call(this,e),this.project=n,this.active=0,this.values=[],this.observables=[]}return i(e,t),e.prototype._next=function(t){this.values.push(u),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(l.subscribeToResult(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.values,s=o[n],a=this.toRespond?s===u?--this.toRespond:this.toRespond:0;o[n]=e,0===a&&(this.project?this._tryProject(o):this.destination.next(o.slice()))},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}(a.OuterSubscriber);e.CombineLatestSubscriber=h},A8b0:function(t,e,n){"use strict";var r=n("3j3K"),i=n("2Je8"),o=n("aKiW"),s=n("qQ/N");n.d(e,"a",function(){return a});var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}();a.decorators=[{type:r.NgModule,args:[{declarations:[s.a],exports:[s.a],imports:[i.CommonModule]}]}],a.ctorParameters=function(){return[]}},AGQa:function(t,e,n){"use strict";var r=n("rCTf"),i=n("vvwv");r.Observable.empty=i.empty},AQOC:function(t,e,n){"use strict";function r(t,e){return i.distinctUntilChanged.call(this,function(n,r){return e?e(n[t],r[t]):n[t]===r[t]})}var i=n("8hgl");e.distinctUntilKeyChanged=r},ASN6:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 1===t.length&&a.isArray(t[0])&&(t=t[0]),this.lift(new c(t))}function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null;return 1===t.length&&a.isArray(t[0])&&(t=t[0]),n=t.shift(),new s.FromObservable(n,null).lift(new c(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("JkZN"),a=n("Xajo"),l=n("wAkD"),u=n("CURp");e.onErrorResumeNext=r,e.onErrorResumeNextStatic=i;var c=function(){function t(t){this.nextSources=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.nextSources))},t}(),h=function(t){function e(e,n){t.call(this,e),this.destination=e,this.nextSources=n}return o(e,t),e.prototype.notifyError=function(t,e){this.subscribeToNextSource()},e.prototype.notifyComplete=function(t){this.subscribeToNextSource()},e.prototype._error=function(t){this.subscribeToNextSource()},e.prototype._complete=function(){this.subscribeToNextSource()},e.prototype.subscribeToNextSource=function(){var t=this.nextSources.shift();t?this.add(u.subscribeToResult(this,t)):this.destination.complete()},e}(l.OuterSubscriber)},AXLD:function(t,e,n){"use strict";function r(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,3,"option",[],null,null,null,null,null)),a["ɵdid"](147456,null,0,l.NgSelectOption,[a.ElementRef,a.Renderer,[8,null]],{value:[0,"value"]},null),a["ɵdid"](147456,null,0,l["ɵq"],[a.ElementRef,a.Renderer,[8,null]],{value:[0,"value"]},null),(t()(),a["ɵted"](null,["",""]))],function(t,e){t(e,1,0,e.context.$implicit),t(e,2,0,e.context.$implicit)},function(t,e){t(e,3,0,e.component.i18n.getMonthShortName(e.context.$implicit))})}function i(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,3,"option",[],null,null,null,null,null)),a["ɵdid"](147456,null,0,l.NgSelectOption,[a.ElementRef,a.Renderer,[8,null]],{value:[0,"value"]},null),a["ɵdid"](147456,null,0,l["ɵq"],[a.ElementRef,a.Renderer,[8,null]],{value:[0,"value"]},null),(t()(),a["ɵted"](null,["",""]))],function(t,e){t(e,1,0,e.context.$implicit),t(e,2,0,e.context.$implicit)},function(t,e){t(e,3,0,e.context.$implicit)})}function o(t){return a["ɵvid"](0,[(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,4,"select",[["class","custom-select d-inline-block"]],[[8,"disabled",0],[8,"value",0]],[[null,"change"]],function(t,e,n){var r=!0,i=t.component;if("change"===e){r=!1!==i.changeMonth(n.target.value)&&r}return r},null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵand"](16777216,null,null,1,null,r)),a["ɵdid"](802816,null,0,c.NgForOf,[a.ViewContainerRef,a.TemplateRef,a.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,4,"select",[["class","custom-select d-inline-block"]],[[8,"disabled",0],[8,"value",0]],[[null,"change"]],function(t,e,n){var r=!0,i=t.component;if("change"===e){r=!1!==i.changeYear(n.target.value)&&r}return r},null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵand"](16777216,null,null,1,null,i)),a["ɵdid"](802816,null,0,c.NgForOf,[a.ViewContainerRef,a.TemplateRef,a.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵted"](null,[" \n "]))],function(t,e){var n=e.component;t(e,4,0,n.months),t(e,9,0,n.years)},function(t,e){var n=e.component;t(e,1,0,n.disabled,null==n.date?null:n.date.month),t(e,6,0,n.disabled,null==n.date?null:n.date.year)})}function s(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,1,"ngb-datepicker-navigation-select",[],null,null,null,h.a,h.b)),a["ɵdid"](573440,null,0,u.a,[p.a,f.a],null,null)],null,null)}var a=n("3j3K"),l=n("NVOs"),u=n("qBUJ"),c=n("2Je8"),h=n("AXLD"),p=n("gEbu"),f=n("lcaH");n.d(e,"b",function(){return v}),e.a=o;var d=["select[_ngcontent-%COMP%] {\n \n padding: 0.25rem 0.5rem;\n font-size: 0.875rem; \n line-height: 1.25;\n \n height: inherit;\n width: 50%;\n }"],v=a["ɵcrt"]({encapsulation:0,styles:d,data:{}});a["ɵccf"]("ngb-datepicker-navigation-select",u.a,s,{date:"date",disabled:"disabled",maxDate:"maxDate",minDate:"minDate"},{select:"select"},[])},AZSN:function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.buffer=r;var a=function(){function t(t){this.closingNotifier=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.closingNotifier))},t}(),l=function(t){function e(e,n){t.call(this,e),this.buffer=[],this.add(s.subscribeToResult(this,n))}return i(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.buffer;this.buffer=[],this.destination.next(o)},e}(o.OuterSubscriber)},B2te:function(t,e,n){"use strict";var r=n("rCTf"),i=n("0VSF");r.Observable.prototype.sample=i.sample},"C0+T":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("9Avi"),o=function(t){function e(){t.apply(this,arguments)}return r(e,t),e}(i.AsyncScheduler);e.QueueScheduler=o},C4lF:function(t,e,n){"use strict";function r(){return this.lift(new a)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("YOd+");e.ignoreElements=r;var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype._next=function(t){s.noop()},e}(o.Subscriber)},CGGv:function(t,e,n){"use strict";var r=n("cwzr"),i=n("9Avi");e.async=new i.AsyncScheduler(r.AsyncAction)},CMrU:function(t,e,n){"use strict";var r=n("rCTf"),i=n("CfHE");r.Observable.prototype.concatAll=i.concatAll},CO0D:function(t,e,n){"use strict";var r=n("lcaH"),i=n("3j3K"),o=n("2yGx");n.d(e,"a",function(){return a});var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.getDaysPerWeek=function(){return 7},e.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},e.prototype.getWeeksPerMonth=function(){return 6},e.prototype.isValid=function(t){return t&&n.i(o.a)(t.year)&&n.i(o.a)(t.month)&&n.i(o.a)(t.day)&&!isNaN(this.toGregorian(t).getTime())},e.prototype.setDay=function(t,e){e=+e;var n=this.getDaysInIslamicMonth(t.month,t.year);if(e<=0)for(;e<=0;)t=this.setMonth(t,t.month-1),n=this.getDaysInIslamicMonth(t.month,t.year),e+=n;else if(e>n)for(;e>n;)e-=n,t=this.setMonth(t,t.month+1),n=this.getDaysInIslamicMonth(t.month,t.year);return t.day=e,t},e.prototype.setMonth=function(t,e){return e=+e,t.year=t.year+Math.floor((e-1)/12),t.month=Math.floor(((e-1)%12+12)%12)+1,t},e.prototype.setYear=function(t,e){return t.year=+e,t},e.prototype._isIslamicLeapYear=function(t){return(14+11*t)%30<11},e.prototype._getMonthStart=function(t,e){return Math.ceil(29.5*e)+354*(t-1)+Math.floor((3+11*t)/30)},e.prototype._getYearStart=function(t){return 354*(t-1)+Math.floor((3+11*t)/30)},e}(r.a);a.decorators=[{type:i.Injectable}],a.ctorParameters=function(){return[]}},CToi:function(t,e,n){"use strict";var r=n("rCTf"),i=n("ZvZx");r.Observable.prototype.max=i.max},CXHW:function(t,e,n){"use strict";var r=n("3j3K"),i=n("/PMa"),o=n("2yGx"),s=n("9XFw"),a=n("xOmt"),l=n("WtdY");n.d(e,"a",function(){return u});var u=function(){function t(t,e,n){this._applicationRef=t,this._injector=e,this._componentFactoryResolver=n,this._backdropFactory=n.resolveComponentFactory(s.a),this._windowFactory=n.resolveComponentFactory(a.a)}return t.prototype.open=function(t,e,n,r){var i=r.container||"body",o=document.querySelector(i);if(!o)throw new Error('The specified modal container "'+i+'" was not found in the DOM.');var s,a,u,c=new l.a,h=this._getContentRef(t,e,n,c);return!1!==r.backdrop&&(a=this._backdropFactory.create(this._injector),this._applicationRef.attachView(a.hostView),o.appendChild(a.location.nativeElement)),s=this._windowFactory.create(this._injector,h.nodes),this._applicationRef.attachView(s.hostView),o.appendChild(s.location.nativeElement),u=new l.b(s,h,a),c.close=function(t){u.close(t)},c.dismiss=function(t){u.dismiss(t)},this._applyWindowOptions(s.instance,r),u},t.prototype._applyWindowOptions=function(t,e){["backdrop","keyboard","size","windowClass"].forEach(function(r){n.i(o.h)(e[r])&&(t[r]=e[r])})},t.prototype._getContentRef=function(t,e,s,a){if(s){if(s instanceof r.TemplateRef){var u=s.createEmbeddedView(a);return this._applicationRef.attachView(u),new i.b([u.rootNodes],u)}if(n.i(o.f)(s))return new i.b([[document.createTextNode(""+s)]]);var c=t.resolveComponentFactory(s),h=r.ReflectiveInjector.resolveAndCreate([{provide:l.a,useValue:a}],e),p=c.create(h);return this._applicationRef.attachView(p.hostView),new i.b([[p.location.nativeElement]],p.hostView,p)}return new i.b([])},t}();u.decorators=[{type:r.Injectable}],u.ctorParameters=function(){return[{type:r.ApplicationRef},{type:r.Injector},{type:r.ComponentFactoryResolver}]}},CYDS:function(t,e,n){"use strict";var r=n("rCTf"),i=n("/TOt");r.Observable.prototype.auditTime=i.auditTime},Cr1h:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("B00U"),s=n("y9a2"),a=n("g28B"),l=function(t){function e(e,n){t.call(this,function(t){var e=this,n=e.logSubscribedFrame();return t.add(new o.Subscription(function(){e.logUnsubscribedFrame(n)})),e.scheduleMessages(t),t}),this.messages=e,this.subscriptions=[],this.scheduler=n}return r(e,t),e.prototype.scheduleMessages=function(t){for(var e=this.messages.length,n=0;n<e;n++){var r=this.messages[n];t.add(this.scheduler.schedule(function(t){var e=t.message,n=t.subscriber;e.notification.observe(n)},r.frame,{message:r,subscriber:t}))}},e}(i.Observable);e.ColdObservable=l,a.applyMixins(l,[s.SubscriptionLoggable])},Cx8F:function(t,e,n){"use strict";function r(t){return this.lift(new c(t,this))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),s=n("+3eL"),a=n("WhVc"),l=n("wAkD"),u=n("CURp");e.retryWhen=r;var c=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.notifier,this.source))},t}(),h=function(t){function e(e,n,r){t.call(this,e),this.notifier=n,this.source=r}return i(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,r=this.retries,i=this.retriesSubscription;if(r)this.errors=null,this.retriesSubscription=null;else{if(n=new o.Subject,(r=s.tryCatch(this.notifier)(n))===a.errorObject)return t.prototype.error.call(this,a.errorObject.e);i=u.subscribeToResult(this,r)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=r,this.retriesSubscription=i,n.next(e)}},e.prototype._unsubscribe=function(){var t=this,e=t.errors,n=t.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,n,r,i){var o=this,s=o.errors,a=o.retries,l=o.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=s,this.retries=a,this.retriesSubscription=l,this.source.subscribe(this)},e}(l.OuterSubscriber)},DB2G:function(t,e,n){"use strict";function r(t){var e=arguments.length,n=l.async;c.isScheduler(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var r=null;e>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return e>=3&&(i=arguments[2]),this.lift(new h(t,r,i,n))}function i(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function o(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,r=t.subscriber,i=t.scheduler,o=r.openContext(),a=this;r.closed||(r.add(o.closeAction=i.schedule(s,n,{subscriber:r,context:o})),a.schedule(t,e))}function s(t){var e=t.subscriber,n=t.context;e.closeContext(n)}var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=n("CGGv"),u=n("mmVS"),c=n("fWbP");e.bufferTime=r;var h=function(){function t(t,e,n,r){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),p=function(){function t(){this.buffer=[]}return t}(),f=function(t){function e(e,n,r,a,l){t.call(this,e),this.bufferTimeSpan=n,this.bufferCreationInterval=r,this.maxBufferSize=a,this.scheduler=l,this.contexts=[];var u=this.openContext();if(this.timespanOnly=null==r||r<0,this.timespanOnly){var c={subscriber:this,context:u,bufferTimeSpan:n};this.add(u.closeAction=l.schedule(i,n,c))}else{var h={subscriber:this,context:u},p={bufferTimeSpan:n,bufferCreationInterval:r,subscriber:this,scheduler:l};this.add(u.closeAction=l.schedule(s,n,h)),this.add(l.schedule(o,r,p))}}return a(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,r=n.length,i=0;i<r;i++){var o=n[i],s=o.buffer;s.push(t),s.length==this.maxBufferSize&&(e=o)}e&&this.onBufferFull(e)},e.prototype._error=function(e){this.contexts.length=0,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this,n=e.contexts,r=e.destination;n.length>0;){var i=n.shift();r.next(i.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan,r={subscriber:this,context:t,bufferTimeSpan:n};this.add(t.closeAction=this.scheduler.schedule(i,n,r))}},e.prototype.openContext=function(){var t=new p;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(u.Subscriber)},DDfv:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.interval=5e3,this.wrap=!0,this.keyboard=!0}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},Dc2k:function(t,e,n){"use strict";function r(){if(p.root.XMLHttpRequest)return new p.root.XMLHttpRequest;if(p.root.XDomainRequest)return new p.root.XDomainRequest;throw new Error("CORS is not supported by your browser")}function i(){if(p.root.XMLHttpRequest)return new p.root.XMLHttpRequest;var t=void 0;try{for(var e=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],n=0;n<3;n++)try{if(t=e[n],new p.root.ActiveXObject(t))break}catch(t){}return new p.root.ActiveXObject(t)}catch(t){throw new Error("XMLHttpRequest is not supported by your browser")}}function o(t,e){return void 0===e&&(e=null),new y({method:"GET",url:t,headers:e})}function s(t,e,n){return new y({method:"POST",url:t,body:e,headers:n})}function a(t,e){return new y({method:"DELETE",url:t,headers:e})}function l(t,e,n){return new y({method:"PUT",url:t,body:e,headers:n})}function u(t,e,n){return new y({method:"PATCH",url:t,body:e,headers:n})}function c(t,e){return new y({method:"GET",url:t,responseType:"json",headers:e}).lift(new g.MapOperator(function(t,e){return t.response},null))}var h=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},p=n("VOfZ"),f=n("+3eL"),d=n("WhVc"),v=n("rCTf"),m=n("mmVS"),g=n("xAJs");e.ajaxGet=o,e.ajaxPost=s,e.ajaxDelete=a,e.ajaxPut=l,e.ajaxPatch=u,e.ajaxGetJSON=c;var y=function(t){function e(e){t.call(this);var n={async:!0,createXHR:function(){return this.crossDomain?r.call(this):i()},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof e)n.url=e;else for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);this.request=n}return h(e,t),e.prototype._subscribe=function(t){return new b(t,this.request)},e.create=function(){var t=function(t){return new e(t)};return t.get=o,t.post=s,t.delete=a,t.put=l,t.patch=u,t.getJSON=c,t}(),e}(v.Observable);e.AjaxObservable=y;var b=function(t){function e(e,n){t.call(this,e),this.request=n,this.done=!1;var r=n.headers=n.headers||{};n.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in r||p.root.FormData&&n.body instanceof p.root.FormData||void 0===n.body||(r["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),n.body=this.serializeBody(n.body,n.headers["Content-Type"]),this.send()}return h(e,t),e.prototype.next=function(t){this.done=!0;var e=this,n=e.xhr,r=e.request,i=e.destination,o=new w(t,n,r);i.next(o)},e.prototype.send=function(){var t=this,e=t.request,n=t.request,r=n.user,i=n.method,o=n.url,s=n.async,a=n.password,l=n.headers,u=n.body,c=e.createXHR,h=f.tryCatch(c).call(e);if(h===d.errorObject)this.error(d.errorObject.e);else{this.xhr=h,this.setupEvents(h,e);if((r?f.tryCatch(h.open).call(h,i,o,s,r,a):f.tryCatch(h.open).call(h,i,o,s))===d.errorObject)return this.error(d.errorObject.e),null;if(s&&(h.timeout=e.timeout,h.responseType=e.responseType),"withCredentials"in h&&(h.withCredentials=!!e.withCredentials),this.setHeaders(h,l),(u?f.tryCatch(h.send).call(h,u):f.tryCatch(h.send).call(h))===d.errorObject)return this.error(d.errorObject.e),null}return h},e.prototype.serializeBody=function(t,e){if(!t||"string"==typeof t)return t;if(p.root.FormData&&t instanceof p.root.FormData)return t;if(e){var n=e.indexOf(";");-1!==n&&(e=e.substring(0,n))}switch(e){case"application/x-www-form-urlencoded":return Object.keys(t).map(function(e){return encodeURI(e)+"="+encodeURI(t[e])}).join("&");case"application/json":return JSON.stringify(t);default:return t}},e.prototype.setHeaders=function(t,e){for(var n in e)e.hasOwnProperty(n)&&t.setRequestHeader(n,e[n])},e.prototype.setupEvents=function(t,e){function n(t){var e=n,r=e.subscriber,i=e.progressSubscriber,o=e.request;i&&i.error(t),r.error(new C(this,o))}function r(t){var e=r,n=e.subscriber,i=e.progressSubscriber,o=e.request;if(4===this.readyState){var s=1223===this.status?204:this.status,a="text"===this.responseType?this.response||this.responseText:this.response;0===s&&(s=a?200:0),200<=s&&s<300?(i&&i.complete(),n.next(t),n.complete()):(i&&i.error(t),n.error(new x("ajax error "+s,this,o)))}}var i=e.progressSubscriber;if(t.ontimeout=n,n.request=e,n.subscriber=this,n.progressSubscriber=i,t.upload&&"withCredentials"in t){if(i){var o;o=function(t){o.progressSubscriber.next(t)},p.root.XDomainRequest?t.onprogress=o:t.upload.onprogress=o,o.progressSubscriber=i}var s;s=function(t){var e=s,n=e.progressSubscriber,r=e.subscriber,i=e.request;n&&n.error(t),r.error(new x("ajax error",this,i))},t.onerror=s,s.request=e,s.subscriber=this,s.progressSubscriber=i}t.onreadystatechange=r,r.subscriber=this,r.progressSubscriber=i,r.request=e},e.prototype.unsubscribe=function(){var e=this,n=e.done,r=e.xhr;!n&&r&&4!==r.readyState&&"function"==typeof r.abort&&r.abort(),t.prototype.unsubscribe.call(this)},e}(m.Subscriber);e.AjaxSubscriber=b;var w=function(){function t(t,e,n){switch(this.originalEvent=t,this.xhr=e,this.request=n,this.status=e.status,this.responseType=e.responseType||n.responseType,this.responseType){case"json":this.response="response"in e?e.responseType?e.response:JSON.parse(e.response||e.responseText||"null"):JSON.parse(e.responseText||"null");break;case"xml":this.response=e.responseXML;break;case"text":default:this.response="response"in e?e.response:e.responseText}}return t}();e.AjaxResponse=w;var x=function(t){function e(e,n,r){t.call(this,e),this.message=e,this.xhr=n,this.request=r,this.status=n.status}return h(e,t),e}(Error);e.AjaxError=x;var C=function(t){function e(e,n){t.call(this,"ajax timeout",e,n)}return h(e,t),e}(x);e.AjaxTimeoutError=C},Di9Q:function(t,e,n){"use strict";var r=n("rCTf"),i=n("DB2G");r.Observable.prototype.bufferTime=i.bufferTime},Dkzu:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=function(t){function e(e,n){t.call(this),this.error=e,this.scheduler=n}return r(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.error;t.subscriber.error(e)},e.prototype._subscribe=function(t){var n=this.error,r=this.scheduler;if(t.syncErrorThrowable=!0,r)return r.schedule(e.dispatch,0,{error:n,subscriber:t});t.error(n)},e}(i.Observable);e.ErrorObservable=o},Dxxg:function(t,e,n){"use strict";function r(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,37,"div",[["class","pos-f-t fixed-top header"],["style","z-index: 1100;"]],null,null,null,null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,34,"nav",[["class","navbar navbar-inverse bg-inverse navbar-toggleable-md"],["style","background: #0278AE !important;"]],null,null,null,null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,3,"button",[["class","navbar-toggler navbar-toggler-left"],["style","display: block;"]],null,[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==i.toggleSidebar(n)&&r}return r},null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,0,"span",[["class","navbar-toggler-icon"]],null,null,null,null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,1,"a",[["class","navbar-brand"],["href","#/matefun"],["style","margin-left: 3.5em; width: 5em"]],null,null,null,null,null)),(t()(),s["ɵted"](null,["MateFun"])),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,23,"div",[["class","collapse navbar-collapse"],["id","navbarTogglerDemo02"],["style","position: absolute; right: 10px; display: block; width: 15em; text-align: right;"]],null,null,null,null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,20,"ul",[["class","navbar-nav ml-auto mt-2 mt-md-0"]],null,null,null,null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,17,"div",[["class","nav-item dropdown"],["ngbDropdown",""]],[[2,"dropdown",null],[2,"dropup",null],[2,"show",null]],[[null,"keyup.esc"],["document","click"]],function(t,e,n){var r=!0;if("keyup.esc"===e){r=!1!==s["ɵnov"](t,17).closeFromOutsideEsc()&&r}if("document:click"===e){r=!1!==s["ɵnov"](t,17).closeFromOutsideClick(n)&&r}return r},null,null)),s["ɵdid"](16384,null,0,l.b,[u.a],null,null),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,6,"a",[["aria-haspopup","true"],["class","nav-link dropdown-toggle"],["href","javascript:void(0)"],["ngbDropdownToggle",""]],[[1,"aria-expanded",0]],[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==s["ɵnov"](t,20).toggleOpen()&&r}return r},null,null)),s["ɵdid"](16384,null,0,l.a,[l.b,s.ElementRef],null,null),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,0,"i",[["class","fa fa-user"]],null,null,null,null,null)),(t()(),s["ɵted"](null,[" ",""])),(t()(),s["ɵeld"](0,null,null,0,"b",[["class","caret"]],null,null,null,null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,5,"div",[["class","dropdown-menu dropdown-menu-right"]],null,null,null,null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,2,"a",[["class","dropdown-item"],["style","cursor: pointer;"]],null,[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==i.logout()&&r}return r},null,null)),(t()(),s["ɵeld"](0,null,null,0,"i",[["class","fa fa-fw fa-power-off"]],null,null,null,null,null)),(t()(),s["ɵted"](null,[" Salir"])),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵted"](null,["\n"])),(t()(),s["ɵted"](null,["\n"]))],null,function(t,e){var n=e.component;t(e,16,0,!s["ɵnov"](e,17).up,s["ɵnov"](e,17).up,s["ɵnov"](e,17).isOpen()),t(e,19,0,s["ɵnov"](e,20).dropdown.isOpen()),t(e,23,0,n.usuario.nombre+" "+n.usuario.apellido)})}function i(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,1,"app-header",[],null,null,null,r,v)),s["ɵdid"](114688,null,0,a.a,[c.a,h.c,p.a,f.a],null,null)],function(t,e){t(e,1,0)},null)}var o=n("F0gU"),s=n("3j3K"),a=n("fc2Z"),l=n("6uCv"),u=n("c7mC"),c=n("R6W2"),h=n("5oXY"),p=n("Zwpz"),f=n("J3Pa");n.d(e,"b",function(){return v}),e.a=r;var d=[o.a],v=s["ɵcrt"]({encapsulation:0,styles:d,data:{}});s["ɵccf"]("app-header",a.a,i,{},{},[])},DzMp:function(t,e,n){"use strict";var r=n("+EXD");e.defer=r.DeferObservable.create},"E/WS":function(t,e,n){"use strict";function r(t,e){void 0===e&&(e=o.async);var n=s.isDate(t),r=n?+t-e.now():Math.abs(t);return this.lift(new u(r,n,e,new l.TimeoutError))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("CGGv"),s=n("fuZx"),a=n("mmVS"),l=n("cmqr");e.timeout=r;var u=function(){function t(t,e,n,r){this.waitFor=t,this.absoluteTimeout=e,this.scheduler=n,this.errorInstance=r}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.absoluteTimeout,this.waitFor,this.scheduler,this.errorInstance))},t}(),c=function(t){function e(e,n,r,i,o){t.call(this,e),this.absoluteTimeout=n,this.waitFor=r,this.scheduler=i,this.errorInstance=o,this.action=null,this.scheduleTimeout()}return i(e,t),e.dispatchTimeout=function(t){t.error(t.errorInstance)},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.errorInstance=null},e}(a.Subscriber)},E7Yq:function(t,e,n){"use strict";var r=n("rCTf"),i=n("TIy+");r.Observable.fromEvent=i.fromEvent},EGMK:function(t,e,n){"use strict";var r=n("rCTf"),i=n("kkb0");r.Observable.prototype.merge=i.merge},ENML:function(t,e,n){"use strict";var r=n("rCTf"),i=n("/8te");r.Observable.range=i.range},ETCP:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.placement="top",this.triggers="click"}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},EnA3:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Rewd");r.Observable.prototype.do=i._do,r.Observable.prototype._do=i._do},EoAl:function(t,e,n){"use strict";var r=n("rCTf"),i=n("KuCq");r.Observable.prototype.takeWhile=i.takeWhile},Ep2y:function(t,e,n){"use strict";var r=n("3j3K"),i=n("2Je8"),o=n("/i+G"),s=n("K0TW");n.d(e,"a",function(){return a});var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();a.decorators=[{type:r.NgModule,args:[{declarations:[o.a],exports:[o.a],imports:[i.CommonModule]}]}],a.ctorParameters=function(){return[]}},EzwU:function(t,e,n){"use strict";var r=n("3j3K"),i=n("2yGx");n.d(e,"a",function(){return o});var o=function(){function t(){this.highlightClass="ngb-highlight"}return t.prototype.ngOnChanges=function(t){var e=n.i(i.d)(this.result),r=e.toLowerCase(),o=n.i(i.d)(this.term).toLowerCase(),s=0;o.length>0?this.parts=r.split(new RegExp("("+n.i(i.g)(o)+")")).map(function(t){var n=e.substr(s,t.length);return s+=t.length,n}):this.parts=[e]},t}();o.decorators=[{type:r.Component,args:[{selector:"ngb-highlight",changeDetection:r.ChangeDetectionStrategy.OnPush,template:'<ng-template ngFor [ngForOf]="parts" let-part let-isOdd="odd"><span *ngIf="isOdd" class="{{highlightClass}}">{{part}}</span><ng-template [ngIf]="!isOdd">{{part}}</ng-template></ng-template>',styles:["\n .ngb-highlight {\n font-weight: bold;\n }\n "]}]}],o.ctorParameters=function(){return[]},o.propDecorators={highlightClass:[{type:r.Input}],result:[{type:r.Input}],term:[{type:r.Input}]}},F0gU:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=[".topnav[_ngcontent-%COMP%]{background:linear-gradient(#0085ff,#31dc7d);background:linear-gradient(90deg,#0085ff,#5f0000)!important;border-radius:0;background-color:#222;padding:6px;z-index:2}.topnav[_ngcontent-%COMP%] .text-center[_ngcontent-%COMP%]{text-align:center;padding-left:0;cursor:pointer}.topnav[_ngcontent-%COMP%] .top-right-nav[_ngcontent-%COMP%] .buy-now[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#999}.topnav[_ngcontent-%COMP%] .top-right-nav[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{top:40px;right:-5px;left:auto}.topnav[_ngcontent-%COMP%] .top-right-nav[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .message-preview[_ngcontent-%COMP%] .media[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-heading[_ngcontent-%COMP%]{font-size:14px;font-weight:700;margin-bottom:0}.topnav[_ngcontent-%COMP%] .top-right-nav[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .message-preview[_ngcontent-%COMP%] .media[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.topnav[_ngcontent-%COMP%] .top-right-nav[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .message-preview[_ngcontent-%COMP%] .media[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] p.last[_ngcontent-%COMP%]{font-size:13px;margin-bottom:0}.topnav[_ngcontent-%COMP%] .top-right-nav[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:4px}.messages[_ngcontent-%COMP%]{width:300px}.messages[_ngcontent-%COMP%] .media[_ngcontent-%COMP%]{border-bottom:1px solid #ddd;padding:5px 10px}.messages[_ngcontent-%COMP%] .media[_ngcontent-%COMP%]:last-child{border-bottom:none}.messages[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font-size:13px;font-weight:600}.messages[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .small[_ngcontent-%COMP%]{margin:0}.messages[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .last[_ngcontent-%COMP%]{font-size:12px;margin:0}.header[_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%]{background:#222!important}"]},FE8a:function(t,e,n){"use strict";var r=n("rCTf"),i=n("1Axw");r.Observable.prototype.delayWhen=i.delayWhen},FR2h:function(t,e,n){"use strict";var r=n("Fzro"),i=n("rCTf"),o=(n.n(i),n("mwbX")),s=n("R6W2"),a=n("+pb+"),l=(n.n(a),n("6Yye"));n.n(l);n.d(e,"a",function(){return u});var u=function(){function t(t,e){this.http=t,this.authService=e}return t.prototype.getArchivos=function(t){var e=new r.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new r.m;n.set("cedula",t);var i=new r.g({headers:e,search:n});return this.http.get(o.a+"/servicios/archivo",i).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.getArchivosCompartidosAlumno=function(t){var e=new r.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new r.m;n.set("cedula",t),n.set("compartidos","true");var i=new r.g({headers:e,search:n});return this.http.get(o.a+"/servicios/archivo",i).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.crearArchivo=function(t){var e=new r.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new r.g({headers:e});return this.http.post(o.a+"/servicios/archivo",t,n).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.editarArchivo=function(t,e){var n=new r.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),i=new r.g({headers:n});return this.http.put(o.a+"/servicios/archivo/"+t,e,i).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.eliminarArchivo=function(t){var e=new r.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new r.g({headers:e});return this.http.delete(o.a+"/servicios/archivo/"+t,n).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.getCopiaArchivoCompartidoGrupo=function(t,e){var n=new r.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),i=new r.m;i.set("cedula",t);var s=new r.g({headers:n,search:i});return this.http.get(o.a+"/servicios/archivo/compartido/"+e,s).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.compartirArchivoGrupo=function(t,e){var n=new r.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),i=new r.g({headers:n}),s={id:e};return this.http.post(o.a+"/servicios/grupo/"+t.liceoId+"/"+t.anio+"/"+t.grado+"/"+t.grupo+"/archivo",s,i).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.calificarArchivo=function(t,e){var n=new r.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),i=new r.g({headers:n});return this.http.post(o.a+"/servicios/archivo/"+t+"/evaluacion",e,i).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.getGrupos=function(t){var e=new r.l({"Content-Type":"application/json",Authorization:"Bearer "+this.authService.getToken()}),n=new r.m;n.set("cedula",t);var i=new r.g({headers:e,search:n});return this.http.get(o.a+"/servicios/grupo",i).map(function(t){return t.json()}).catch(this.handleError)},t.prototype.handleError=function(t){var e=t.message?t.message:t.status?t.status+" - "+t.statusText:"Server error";return console.error(e),i.Observable.throw(e)},t.ctorParameters=function(){return[{type:r.i},{type:s.a}]},t}()},FT6u:function(t,e,n){"use strict";function r(t){var e="function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t<e?t:e};return this.lift(new i.ReduceOperator(e))}var i=n("pgP5");e.min=r},"Ffu+":function(t,e,n){"use strict";function r(){return this.lift(new s)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.pairwise=r;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e),this.hasPrev=!1}return i(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(o.Subscriber)},GR1s:function(t,e,n){"use strict";function r(){return this.lift(new a)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.exhaust=r;var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(e){t.call(this,e),this.hasCompleted=!1,this.hasSubscription=!1}return i(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(s.subscribeToResult(this,t)))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber)},GW10:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("3j3K"),i=n("2Je8"),o=n("zK+N"),s=function(){function t(){}return t}();s.decorators=[{type:r.NgModule,args:[{imports:[i.CommonModule],declarations:[o.CodemirrorComponent],exports:[o.CodemirrorComponent]}]}],s.ctorParameters=function(){return[]},e.CodemirrorModule=s},GZqV:function(t,e,n){"use strict";function r(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return this.lift(new s(t,this,!1,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.find=r;var s=function(){function t(t,e,n,r){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=r}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}();e.FindValueOperator=s;var a=function(t){function e(e,n,r,i,o){t.call(this,e),this.predicate=n,this.source=r,this.yieldIndex=i,this.thisArg=o,this.index=0}return i(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){var e=this,n=e.predicate,r=e.thisArg,i=this.index++;try{n.call(r||this,t,i,this.source)&&this.notifyComplete(this.yieldIndex?i:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(o.Subscriber);e.FindValueSubscriber=a},Gb0N:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=function(t){function e(e,n,r){t.call(this),this.start=e,this._count=n,this.scheduler=r}return r(e,t),e.create=function(t,n,r){return void 0===t&&(t=0),void 0===n&&(n=0),new e(t,n,r)},e.dispatch=function(t){var e=t.start,n=t.index,r=t.count,i=t.subscriber;if(n>=r)return void i.complete();i.next(e),i.closed||(t.index=n+1,t.start=e+1,this.schedule(t))},e.prototype._subscribe=function(t){var n=0,r=this.start,i=this._count,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{index:n,count:i,start:r,subscriber:t});for(;;){if(n++>=i){t.complete();break}if(t.next(r++),t.closed)break}},e}(i.Observable);e.RangeObservable=o},GcOx:function(t,e,n){"use strict";var r=n("rCTf"),i=n("cjT5");r.Observable.prototype.debounce=i.debounce},Gvdl:function(t,e,n){"use strict";var r=n("EEr4");e.Subject=r.Subject,e.AnonymousSubject=r.AnonymousSubject;var i=n("rCTf");e.Observable=i.Observable,n("1k2o"),n("U85J"),n("XlOA"),n("1ZrL"),n("zO2v"),n("AGQa"),n("iJMh"),n("S35O"),n("E7Yq"),n("LHw1"),n("c3t5"),n("f1gJ"),n("iUY6"),n("SUuD"),n("fICK"),n("O8p4"),n("9WjZ"),n("1APj"),n("1VLl"),n("g0nL"),n("ENML"),n("vQ+N"),n("h0qH"),n("jdeX"),n("iod1"),n("1Nls"),n("lh/Z"),n("nsuO"),n("+KN+"),n("Di9Q"),n("jDQW"),n("Whbc"),n("6Yye"),n("k27J"),n("qp8k"),n("/rMs"),n("CMrU"),n("jvbR"),n("16m9"),n("/181"),n("zC23"),n("GcOx"),n("aV5h"),n("NJh0"),n("94IA"),n("FE8a"),n("qhgQ"),n("q3ik"),n("tYwL"),n("EnA3"),n("Yfq7"),n("SSeX"),n("sT3i"),n("Mvzr"),n("wUn1"),n("tDJK"),n("hs6U"),n("W1/H"),n("okk1"),n("6s76"),n("LppN"),n("2395"),n("qcjU"),n("CYDS"),n("JJSU"),n("KRCp"),n("1NVl"),n("+pb+"),n("6gFN"),n("Ye9U"),n("CToi"),n("EGMK"),n("JPC0"),n("HcJ8"),n("VfeM"),n("SGWz"),n("Rxv9"),n("j7ye"),n("p1Um"),n("rLWm"),n("iIfT"),n("adqA"),n("xOQQ"),n("4Ie8"),n("nDCe"),n("PvYY"),n("0TiQ"),n("48bo"),n("UNGF"),n("XZ4o"),n("y6Vm"),n("y3IE"),n("10Gq"),n("B2te"),n("6hPP"),n("zJQZ"),n("UFi/"),n("WQmy"),n("s616"),n("JQ6u"),n("9qUs"),n("WnEV"),n("8szd"),n("VaQ6"),n("/lY3"),n("oHQS"),n("UyzR"),n("uCY4"),n("tuHt"),n("hzF8"),n("77/N"),n("T3fU"),n("EoAl"),n("PMZt"),n("jF50"),n("XKof"),n("cDAr"),n("a0Ch"),n("voL5"),n("7axH"),n("eErF"),n("7FaQ"),n("q4U+"),n("PwiB"),n("xFXl"),n("gDzJ"),n("fiy1"),n("ixac"),n("tQRI");var o=n("B00U");e.Subscription=o.Subscription;var s=n("mmVS");e.Subscriber=s.Subscriber;var a=n("5c/I");e.AsyncSubject=a.AsyncSubject;var l=n("MQMf");e.ReplaySubject=l.ReplaySubject;var u=n("TfWX");e.BehaviorSubject=u.BehaviorSubject;var c=n("sIYO");e.ConnectableObservable=c.ConnectableObservable;var h=n("8GmM");e.Notification=h.Notification;var p=n("F7Al");e.EmptyError=p.EmptyError;var f=n("8Z8y");e.ArgumentOutOfRangeError=f.ArgumentOutOfRangeError;var d=n("IZVw");e.ObjectUnsubscribedError=d.ObjectUnsubscribedError;var v=n("cmqr");e.TimeoutError=v.TimeoutError;var m=n("GIjk");e.UnsubscriptionError=m.UnsubscriptionError;var g=n("sVus");e.TimeInterval=g.TimeInterval;var y=n("5pRa");e.Timestamp=y.Timestamp;var b=n("u1gx");e.TestScheduler=b.TestScheduler;var w=n("q0UB");e.VirtualTimeScheduler=w.VirtualTimeScheduler;var x=n("Dc2k");e.AjaxResponse=x.AjaxResponse,e.AjaxError=x.AjaxError,e.AjaxTimeoutError=x.AjaxTimeoutError;var C=n("Uqs8"),O=n("CGGv"),S=n("RA5l"),_=n("HwIK"),T=n("r8ZY"),k=n("cdmN"),M=n("mbVC"),I={asap:C.asap,queue:S.queue,animationFrame:_.animationFrame,async:O.async};e.Scheduler=I;var P={rxSubscriber:T.rxSubscriber,observable:M.observable,iterator:k.iterator};e.Symbol=P},HcJ8:function(t,e,n){"use strict";var r=n("rCTf"),i=n("XO5T");r.Observable.prototype.mergeMap=i.mergeMap,r.Observable.prototype.flatMap=i.mergeMap},HwIK:function(t,e,n){"use strict";var r=n("gi2R"),i=n("ww7A");e.animationFrame=new i.AnimationFrameScheduler(r.AnimationFrameAction)},IBkQ:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("EEr4"),o=n("B00U"),s=n("y9a2"),a=n("g28B"),l=function(t){function e(e,n){t.call(this),this.messages=e,this.subscriptions=[],this.scheduler=n}return r(e,t),e.prototype._subscribe=function(e){var n=this,r=n.logSubscribedFrame();return e.add(new o.Subscription(function(){n.logUnsubscribedFrame(r)})),t.prototype._subscribe.call(this,e)},e.prototype.setup=function(){for(var t=this,e=t.messages.length,n=0;n<e;n++)!function(){var e=t.messages[n];t.scheduler.schedule(function(){e.notification.observe(t)},e.frame)}()},e}(i.Subject);e.HotObservable=l,a.applyMixins(l,[s.SubscriptionLoggable])},IiyU:function(t,e,n){"use strict";function r(t){return l["ɵvid"](0,[(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,1,"ngb-highlight",[],null,null,null,u.a,u.b)),l["ɵdid"](573440,null,0,c.a,[],{result:[0,"result"],term:[1,"term"]},null),(t()(),l["ɵted"](null,["\n "]))],function(t,e){t(e,2,0,e.context.formatter(e.context.result),e.context.term)},null)}function i(t){return l["ɵvid"](0,[(t()(),l["ɵand"](0,null,null,0))],null,null)}function o(t){return l["ɵvid"](0,[(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,5,"button",[["class","dropdown-item"],["role","option"],["type","button"]],[[8,"id",0],[2,"active",null]],[[null,"mouseenter"],[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("mouseenter"===e){r=!1!==i.markActive(t.context.index)&&r}if("click"===e){r=!1!==i.select(t.context.$implicit)&&r}return r},null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵand"](16777216,null,null,2,null,i)),l["ɵdid"](540672,null,0,h.NgTemplateOutlet,[l.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"],ngOutletContext:[1,"ngOutletContext"]},null),l["ɵpod"](["result","term","formatter"]),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,4,0,n.resultTemplate||l["ɵnov"](e.parent,1),t(e,5,0,e.context.$implicit,n.term,n.formatter))},function(t,e){var n=e.component;t(e,1,0,n.id+"-"+e.context.index,e.context.index===n.activeIdx)})}function s(t){return l["ɵvid"](0,[(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵand"](0,[["rt",2]],null,0,null,r)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵand"](16777216,null,null,1,null,o)),l["ɵdid"](802816,null,0,h.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),l["ɵted"](null,["\n "]))],function(t,e){t(e,4,0,e.component.results)},null)}function a(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,1,"ngb-typeahead-window",[["class","dropdown-menu"],["role","listbox"],["style","display: block"]],[[8,"id",0]],null,null,f.b,f.c)),l["ɵdid"](114688,null,0,p.a,[],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,l["ɵnov"](e,1).id)})}var l=n("3j3K"),u=n("YJv1"),c=n("EzwU"),h=n("2Je8"),p=n("2BXm"),f=n("IiyU");n.d(e,"c",function(){return v}),e.b=s,n.d(e,"a",function(){return m});var d=[],v=l["ɵcrt"]({encapsulation:2,styles:d,data:{}}),m=l["ɵccf"]("ngb-typeahead-window",p.a,a,{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate"},{selectEvent:"select",activeChangeEvent:"activeChange"},[])},Imsy:function(t,e,n){"use strict";function r(t){return this.lift(new c(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),s=n("+3eL"),a=n("WhVc"),l=n("wAkD"),u=n("CURp");e.windowWhen=r;var c=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.closingSelector))},t}(),h=function(t){function e(e,n){t.call(this,e),this.destination=e,this.closingSelector=n,this.openWindow()}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.openWindow(i)},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this.openWindow(t)},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t),this.unsubscribeClosingNotification()},e.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},e.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},e.prototype.openWindow=function(t){void 0===t&&(t=null),t&&(this.remove(t),t.unsubscribe());var e=this.window;e&&e.complete();var n=this.window=new o.Subject;this.destination.next(n);var r=s.tryCatch(this.closingSelector)();if(r===a.errorObject){var i=a.errorObject.e;this.destination.error(i),this.window.error(i)}else this.add(this.closingNotification=u.subscribeToResult(this,r))},e}(l.OuterSubscriber)},J3Pa:function(t,e,n){"use strict";var r=n("Gvdl"),i=(n.n(r),n("R6W2")),o=n("mwbX"),s=n("/m/U");n.n(s);n.d(e,"a",function(){return l});var a=/^color (errores|input|output|logs) (\d)$/g,l=function(){function t(t){this.authService=t,this.messages=new r.Subject,this.connection=void 0,this.cons=void 0,this.modoAvanzado=!1,this.clear=!1,this.error="",this.warnings=[],this.codemirrorRef=null,this.warningStepReaded=0,this.waitingForError=!1,this.waitingForWarning=!1,this.waitingForWarning2=!1,this.warningText="",this.lastError=-1,this.lastWarning=-1,this.console_error_class="jqconsole-asd",this.consoleBuffer=[],this.regex="/(<svg.*s*.*</svg>)/g",this.consola=void 0,this.jqconsole=void 0,console.log("contructor ghci"),this.conectarWS(o.b,t.getUser().cedula,t.getToken()),setInterval(this.checkConnection.bind(this),5e3),setInterval(this.doPing.bind(this),3e4)}return t.prototype.setCodemirrorRef=function(t){this.codemirrorRef=t},t.prototype.clearWarnings=function(){this.warnings=[]},t.prototype.getWarnings=function(){return this.warnings},t.prototype.loadFile=function(t,e){this.waitingForWarning=!0;var n={token:this.authService.getToken(),load:t,dependencias:[]};for(var r in e)n.dependencias.push(e[r]);this.connection.send(JSON.stringify(n))},t.prototype.copyFile=function(t){var e={token:this.authService.getToken(),copy:t};this.connection.send(JSON.stringify(e))},t.prototype.reiniciarInterprete=function(){var t={token:this.authService.getToken(),restart:""};console.log(t),this.connection.send(JSON.stringify(t))},t.prototype.conectarWS=function(t,e,n){!e||!n||this.connection&&this.connection.readyState!=WebSocket.CLOSED||(this.connection=new WebSocket(t+"/"+e+"/"+n),this.connection.onopen=function(){console.log("Conexión con web socket exitosa")},this.connection.onclose=function(){console.log("Conexión con web socket cerrada")},this.connection.onmessage=this.onMessage.bind(this))},t.prototype.desconectarWS=function(){this.connection&&this.connection.close()},t.prototype.logConsole=function(t){this.consoleRef?this.consoleRef.Write(t,"jqconsole-logs"):(this.consoleBuffer.unshift({text:t,type:"jqconsole-logs"}),setTimeout(this.checkConsole.bind(this),100))},t.prototype.outputConsole=function(t){this.consoleRef?this.consoleRef.Write(t,"jqconsole-output"):(this.consoleBuffer.unshift({text:t,type:"jqconsole-output"}),setTimeout(this.checkConsole.bind(this),100))},t.prototype.errorConsole=function(t){this.consoleRef?this.consoleRef.Write(t,"jqconsole-errors"):(this.consoleBuffer.unshift({text:t,type:"jqconsole-errors"}),setTimeout(this.checkConsole.bind(this),100))},t.prototype.hayError=function(t){var e=-1;if(!this.waitingForError){try{var e=Number(JSON.parse(t).resultado.split("en lÃnea")[1].split(",")[0].trim())-1;this.waitingForError=!0,this.lastError=e}catch(t){}return!1}var e=this.lastError;if(null!==this.codemirrorRef){var n=function(){var n=document.createElement("div");return n.id="error_"+e.toString(),n.style.width="15px",n.title=JSON.parse(t).resultado.split("OUT")[1].trim(),n.style.height="15px",n.style.marginLeft="-5px",n.style.cursor="pointer",n.style["background-image"]="url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=')",n.innerHTML="<a href='@' title='cuidado , advertencia matefun'></a>",n};this.codemirrorRef.setGutterMarker(e,"breakpoints",n()),this.waitingForError=!1,this.lastError=-1}},t.prototype.resetGutters=function(){null!==this.codemirrorRef&&this.codemirrorRef.clearGutter("breakpoints")},t.prototype.hayWarnings=function(t){var e=-1,n=JSON.parse(t);if(1===this.warningStepReaded)try{var r=n.resultado.split("OUT")[1].trim();this.warningStepReaded=2,this.warningText=this.warningText+"\n\n"+r;var e=this.lastWarning,i=this.warningText,o=i.split("columna:")[1].split("}")[0],s=i.split("}")[1],a="En columna "+o+": "+s;if(null!==this.codemirrorRef){var l=function(){var t=document.createElement("div");return t.style.width="15px",t.style.height="15px",t.style.marginLeft="-5px",t.style.cursor="pointer",t.innerHTML="<a href='@' title='cuidado , advertencia matefun'></a>",t.title=a,t.style["background-image"]="url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=')",t.innerHTML="",t};this.codemirrorRef.setGutterMarker(e,"breakpoints",l())}}catch(t){}if(0===this.warningStepReaded)try{var e=n.resultado.split("OUTAdvertencia:")[1].trim().split("lÃnea:")[1].split(" ")[1]-1;this.lastWarning=e,this.warnings.push(e);var u=n.resultado.split("OUTAdvertencia:")[1].trim();this.warningStepReaded=1,this.warningText=u,this.waitingForWarning&&(this.outputConsole("El programa contiene advertencias\n"),this.waitingForWarning=!1)}catch(t){}},t.prototype.onMessage=function(t){this.modoAvanzado&&this.logConsole("Respuesta: "+t.data+"\n"),this.clear&&this.clearConsole();var e=t.data;if(this.hayError(e)?this.error="Error":this.error="",this.hayWarnings(e),2==this.warningStepReaded)return void(this.warningStepReaded=0);if(1!=this.warningStepReaded){var n=JSON.parse(e);if("salida"==n.tipo){var r=n.resultado.trim();if(r.startsWith("OUT"))this.outputConsole(r.substring(3)+"\n");else if(r.startsWith("IN")){var i=r.substring(3);void 0===this.consoleRef&&this.renderConsole(),this.consoleRef.SetPromptLabel(i),this.consoleRef.SetPromptText(""),this.startPrompt.bind(this),this.startPrompt()}}else"error"==n.tipo?this.modoAvanzado&&this.errorConsole(n.resultado+"\n"):"prompt"==n.tipo?(this.consoleRef.SetPromptLabel(n.resultado+">"),this.consoleRef.SetPromptText(""),this.startPrompt.bind(this),this.startPrompt()):"canvas"!=n.tipo&&"animacion"!=n.tipo&&"graph"!=n.tipo||(document.getElementById("FigurasBtn").click(),this.focusConsole(),this.messages.next(n))}},t.prototype.checkConsole=function(){if(this.consoleRef)for(;this.consoleBuffer.length>0;){var t=this.consoleBuffer.pop();this.consoleRef.Write(t.text,t.type)}else setTimeout(this.checkConsole.bind(this),500)},t.prototype.checkConnection=function(){var t=this.authService.getUser(),e=this.authService.getToken();!t||!e||this.connection&&this.connection.readyState!=WebSocket.CLOSED||this.conectarWS(o.b,t.cedula,e)},t.prototype.doPing=function(){var t=this.authService.getToken();if(this.connection&&this.connection.readyState==WebSocket.OPEN&&t){var e={token:t,ping:""};this.connection.send(JSON.stringify(e))}},t.prototype.sendLine=function(t){if(""!==t.trim()){var e={token:this.authService.getToken(),comando:t};console.log(e),this.connection&&this.connection.readyState==WebSocket.OPEN?this.connection.send(JSON.stringify(e)):this.errorConsole("Sin conexión al servidor...")}},t.prototype.startPrompt=function(){this.jqconsole.Prompt(!0,this.callback.bind(this))},t.prototype.focusConsole=function(){this.jqconsole.Focus()},t.prototype.clearConsole=function(){this.consoleRef.Reset(),this.startPrompt.bind(this),this.startPrompt(),this.clear=!1},t.prototype.callback=function(t){var e;e=this.procesarInput(t),e&&(this.modoAvanzado&&this.logConsole("Ejecutar: "+t+"\n"),this.sendLine.bind(this),this.sendLine(t)),this.startPrompt.bind(this),this.startPrompt()},t.prototype.procesarInput=function(t){var e,n=!1;if("limpiar"===(e=t.trim().toLocaleLowerCase()))this.clearConsole();else if("modo avanzado"===e)this.modoAvanzado=!0,this.logConsole("Modo avanzado activado\n");else if("modo normal"===e)this.modoAvanzado=!1,this.logConsole("Modo avanzado desactivado\n");else if("listar colores"===e)this.outputConsole("1 - Azul\n"),this.outputConsole("2 - Rojo\n"),this.outputConsole("3 - Verde\n"),this.outputConsole("4 - Verde oscuro\n"),this.outputConsole("5 - Blanco\n"),this.outputConsole("6 - Naranja\n"),this.outputConsole("7 - Gris\n"),this.outputConsole("8 - Gris oscuro\n"),this.outputConsole("9 - Marrón\n");else if(null!==e.match(a)){var r=e.split(" ")[1],i=t.split(" ")[2];this.jqconsoleColor(i,r),this.modoAvanzado&&this.logConsole("Color "+r+" seleccionado\n")}else n=!0;return n},t.prototype.getCSSColorName=function(t){return"1"===t?"rgb(77, 77, 255)":"2"===t?"rgb(255, 26, 26)":"3"===t?"rgb(0, 179, 60)":"4"===t?"rgb(0, 77, 0)":"5"===t?"rgb(255, 255, 255)":"6"===t?"rgb(255, 133, 51)":"7"===t?"rgb(204, 204, 179)":"8"===t?"rgb(102, 102, 102)":"9"===t?"rgb(101, 27, 27)":void 0},t.prototype.getJQConsoleClass=function(t){return"input"===t?".jqconsole-prompt":"error"===t?".jqconsole-error":"logs"===t?".jqconsole-logs":"output"===t?".jqconsole-output":void 0},t.prototype.jqconsoleColor=function(t,e){var n=this.getCSSColorName(t),r=this.getJQConsoleClass(e),i=document.createElement("style");if(i.type="text/css",i.innerHTML=r+" { color: "+n+"; }",document.getElementsByTagName("head")[0].appendChild(i),".jqconsole-prompt"===r){var o=document.createElement("style");o.type="text/css",o.innerHTML=".jqconsole-old-prompt { color: "+n+"; }",document.getElementsByTagName("head")[0].appendChild(o)}},t.prototype.renderConsole=function(){this.jqconsole?$("#console").replaceWith(this.consola):(void 0!=$("#console").jqconsole?(this.jqconsole=$("#console").jqconsole(""),this.consoleRef=this.jqconsole,this.startPrompt.bind(this),this.startPrompt()):this.rendered(),this.consola=$("#console"))},t.prototype.rendered=function(){setTimeout(this.renderConsole.bind(this),1e3)},t.ctorParameters=function(){return[{type:i.a}]},t}()},JJSU:function(t,e,n){"use strict";var r=n("rCTf"),i=n("7nvF");r.Observable.prototype.last=i.last},JPC0:function(t,e,n){"use strict";var r=n("rCTf"),i=n("cbuX");r.Observable.prototype.mergeAll=i.mergeAll},JQ6u:function(t,e,n){"use strict";var r=n("rCTf"),i=n("p5++");r.Observable.prototype.single=i.single},Ji1V:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t[t.length-1];l.isScheduler(n)?t.pop():n=null;var r=t.length;return 1===r?a.concatStatic(new o.ScalarObservable(t[0],n),this):r>1?a.concatStatic(new i.ArrayObservable(t,n),this):a.concatStatic(new s.EmptyObservable(n),this)}var i=n("Yh8Q"),o=n("RRVv"),s=n("jBEF"),a=n("8MUz"),l=n("fWbP");e.startWith=r},"K/oD":function(t,e,n){"use strict";var r=n("3j3K"),i=n("2Je8"),o=n("EzwU"),s=n("2BXm"),a=n("qoi6"),l=n("cG9e");n.d(e,"a",function(){return u});var u=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[l.a]}},t}();u.decorators=[{type:r.NgModule,args:[{declarations:[a.a,o.a,s.a],exports:[a.a],imports:[i.CommonModule],entryComponents:[s.a]}]}],u.ctorParameters=function(){return[]}},K0TW:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},KKz1:function(t,e,n){"use strict";function r(t,e,n){return void 0===e&&(e=a.async),void 0===n&&(n=l.defaultThrottleConfig),this.lift(new u(t,e,n.leading,n.trailing))}function i(t){t.subscriber.clearThrottle()}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("mmVS"),a=n("CGGv"),l=n("u/VN");e.throttleTime=r;var u=function(){function t(t,e,n,r){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=r}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),c=function(t){function e(e,n,r,i,o){t.call(this,e),this.duration=n,this.scheduler=r,this.leading=i,this.trailing=o,this._hasTrailingValue=!1,this._trailingValue=null}return o(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(i,this.duration,{subscriber:this})),this.leading&&this.destination.next(t))},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(s.Subscriber)},KLoZ:function(t,e,n){"use strict";function r(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=e.length,i=0;i<r;i++){var o=e[i];for(var s in o)o.hasOwnProperty(s)&&(t[s]=o[s])}return t}function i(t){return t.Object.assign||r}var o=n("VOfZ");e.assignImpl=r,e.getAssign=i,e.assign=i(o.root)},KRCp:function(t,e,n){"use strict";var r=n("rCTf"),i=n("sb+e");r.Observable.prototype.let=i.letProto,r.Observable.prototype.letBind=i.letProto},Kjxw:function(t,e,n){"use strict";function r(t,e,n){var r;return i.multicast.call(this,function(){return this._isComplete?r:r=new o.ReplaySubject(t,e,n)}).refCount()}var i=n("emOw"),o=n("MQMf");e.shareReplay=r},KuCq:function(t,e,n){"use strict";function r(t){return this.lift(new s(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.takeWhile=r;var s=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate))},t}(),a=function(t){function e(e,n){t.call(this,e),this.predicate=n,this.index=0}return i(e,t),e.prototype._next=function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(t){return void n.error(t)}this.nextOrComplete(t,e)},e.prototype.nextOrComplete=function(t,e){var n=this.destination;Boolean(e)?n.next(t):n.complete()},e}(o.Subscriber)},L2Hk:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("SKH6"),o=n("rCTf"),s=n("B00U"),a=function(t){function e(e,n,r){t.call(this),this.addHandler=e,this.removeHandler=n,this.selector=r}return r(e,t),e.create=function(t,n,r){return new e(t,n,r)},e.prototype._subscribe=function(t){var e=this,n=this.removeHandler,r=this.selector?function(){for(var n=[],r=0;r<arguments.length;r++)n[r-0]=arguments[r];e._callSelector(t,n)}:function(e){t.next(e)},o=this._callAddHandler(r,t);i.isFunction(n)&&t.add(new s.Subscription(function(){n(r,o)}))},e.prototype._callSelector=function(t,e){try{var n=this.selector.apply(this,e);t.next(n)}catch(e){t.error(e)}},e.prototype._callAddHandler=function(t,e){try{return this.addHandler(t)||null}catch(t){e.error(t)}},e}(o.Observable);e.FromEventPatternObservable=a},LHw1:function(t,e,n){"use strict";var r=n("rCTf"),i=n("9oY/");r.Observable.fromEventPattern=i.fromEventPattern},LaEG:function(t,e,n){"use strict";var r=n("cqY6");n.d(e,"a",function(){return i});var i=(r.a,function(){function t(){}return t}())},"LhE+":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("CURp"),s=n("wAkD"),a=function(t){function e(e,n,r){t.call(this),this.condition=e,this.thenSource=n,this.elseSource=r}return r(e,t),e.create=function(t,n,r){return new e(t,n,r)},e.prototype._subscribe=function(t){var e=this,n=e.condition,r=e.thenSource,i=e.elseSource;return new l(t,n,r,i)},e}(i.Observable);e.IfObservable=a;var l=function(t){function e(e,n,r,i){t.call(this,e),this.condition=n,this.thenSource=r,this.elseSource=i,this.tryIf()}return r(e,t),e.prototype.tryIf=function(){var t,e=this,n=e.condition,r=e.thenSource,i=e.elseSource;try{t=n();var s=t?r:i;s?this.add(o.subscribeToResult(this,s)):this._complete()}catch(t){this._error(t)}},e}(s.OuterSubscriber)},Llwz:function(t,e,n){"use strict";function r(t){return this.lift(new l(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),s=n("wAkD"),a=n("CURp");e.window=r;var l=function(){function t(t){this.windowBoundaries=t}return t.prototype.call=function(t,e){var n=new u(t),r=e.subscribe(n);return r.closed||n.add(a.subscribeToResult(n,this.windowBoundaries)),r},t}(),u=function(t){function e(e){t.call(this,e),this.window=new o.Subject,e.next(this.window)}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.openWindow()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this._complete()},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t)},e.prototype._complete=function(){this.window.complete(),this.destination.complete()},e.prototype._unsubscribe=function(){this.window=null},e.prototype.openWindow=function(){var t=this.window;t&&t.complete();var e=this.destination,n=this.window=new o.Subject;e.next(n)},e}(s.OuterSubscriber)},LppN:function(t,e,n){"use strict";var r=n("rCTf"),i=n("C4lF");r.Observable.prototype.ignoreElements=i.ignoreElements},M0cT:function(t,e,n){"use strict";var r=n("3j3K"),i=n("+dDw");n.d(e,"a",function(){return s});var o=[i.a,i.b,i.c],s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t}();s.decorators=[{type:r.NgModule,args:[{declarations:o,exports:o}]}],s.ctorParameters=function(){return[]}},M5jZ:function(t,e,n){"use strict";function r(t){return this.lift(new s(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.skip=r;var s=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.total))},t}(),a=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return i(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(o.Subscriber)},MQMf:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("EEr4"),o=n("RA5l"),s=n("B00U"),a=n("Ji1B"),l=n("IZVw"),u=n("ZJf8"),c=function(t){function e(e,n,r){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY),t.call(this),this.scheduler=r,this._events=[],this._bufferSize=e<1?1:e,this._windowTime=n<1?1:n}return r(e,t),e.prototype.next=function(e){var n=this._getNow();this._events.push(new h(n,e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._trimBufferThenGetEvents(),r=this.scheduler;if(this.closed)throw new l.ObjectUnsubscribedError;this.hasError?e=s.Subscription.EMPTY:this.isStopped?e=s.Subscription.EMPTY:(this.observers.push(t),e=new u.SubjectSubscription(this,t)),r&&t.add(t=new a.ObserveOnSubscriber(t,r));for(var i=n.length,o=0;o<i&&!t.closed;o++)t.next(n[o].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||o.queue).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,n=this._windowTime,r=this._events,i=r.length,o=0;o<i&&!(t-r[o].time<n);)o++;return i>e&&(o=Math.max(o,i-e)),o>0&&r.splice(0,o),r},e}(i.Subject);e.ReplaySubject=c;var h=function(){function t(t,e){this.time=t,this.value=e}return t}()},MSQt:function(t,e,n){"use strict";var r=n("3j3K"),i=n("6uCv"),o=n("c7mC");n.d(e,"a",function(){return a});var s=[i.a,i.b],a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}();a.decorators=[{type:r.NgModule,args:[{declarations:s,exports:s}]}],a.ctorParameters=function(){return[]}},"Mn0/":function(t,e,n){"use strict";function r(t){return o["ɵvid"](0,[(t()(),o["ɵted"](null,["",""]))],null,function(t,e){t(e,0,0,e.component.date.day)})}function i(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"div",[["ngbDatepickerDayView",""]],[[2,"bg-primary",null],[2,"text-white",null],[2,"text-muted",null],[2,"outside",null],[2,"btn-secondary",null]],null,null,a.a,a.b)),o["ɵdid"](49152,null,0,s.a,[],null,null)],null,function(t,e){t(e,0,0,o["ɵnov"](e,1).selected,o["ɵnov"](e,1).selected,o["ɵnov"](e,1).isMuted(),o["ɵnov"](e,1).isMuted(),!o["ɵnov"](e,1).disabled)})}var o=n("3j3K"),s=n("U6gI"),a=n("Mn0/");n.d(e,"b",function(){return u}),e.a=r;var l=["[_nghost-%COMP%] {\n text-align: center;\n width: 2rem;\n height: 2rem;\n line-height: 2rem; \n border-radius: 0.25rem;\n }\n .outside[_nghost-%COMP%] {\n opacity: 0.5;\n }"],u=o["ɵcrt"]({encapsulation:0,styles:l,data:{}});o["ɵccf"]("[ngbDatepickerDayView]",s.a,i,{currentMonth:"currentMonth",date:"date",disabled:"disabled",selected:"selected"},{},[])},Mqdq:function(t,e,n){"use strict";function r(t,e){return this.lift(new l(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("B00U"),s=n("CURp"),a=n("wAkD");e.bufferToggle=r;var l=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.openings,this.closingSelector))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.openings=n,this.closingSelector=r,this.contexts=[],this.add(s.subscribeToResult(this,n))}return i(e,t),e.prototype._next=function(t){for(var e=this.contexts,n=e.length,r=0;r<n;r++)e[r].buffer.push(t)},e.prototype._error=function(e){for(var n=this.contexts;n.length>0;){var r=n.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var n=e.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector,n=e.call(this,t);n&&this.trySubscribe(n)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var n=t.buffer,r=t.subscription;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(r),r.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=[],r=new o.Subscription,i={buffer:n,subscription:r};e.push(i);var a=s.subscribeToResult(this,t,i);!a||a.closed?this.closeBuffer(i):(a.context=i,this.add(a),r.add(a))},e}(a.OuterSubscriber)},Mvzr:function(t,e,n){"use strict";var r=n("rCTf"),i=n("+w3m");r.Observable.prototype.elementAt=i.elementAt},NJh0:function(t,e,n){"use strict";var r=n("rCTf"),i=n("RJ4+");r.Observable.prototype.defaultIfEmpty=i.defaultIfEmpty},NgUg:function(t,e,n){"use strict";function r(t){var e=t.obj,n=t.keys,r=t.length,i=t.index,o=t.subscriber;if(i===r)return void o.complete();var s=n[i];o.next([s,e[s]]),t.index=i+1,this.schedule(t)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("rCTf"),s=function(t){function e(e,n){t.call(this),this.obj=e,this.scheduler=n,this.keys=Object.keys(e)}return i(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e=this,n=e.keys,i=e.scheduler,o=n.length;if(i)return i.schedule(r,0,{obj:this.obj,keys:n,length:o,index:0,subscriber:t});for(var s=0;s<o;s++){var a=n[s];t.next([a,this.obj[a]])}t.complete()},e}(o.Observable);e.PairsObservable=s},"O/+v":function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=null),this.lift(new s(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.bufferCount=r;var s=function(){function t(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?l:a}return t.prototype.call=function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))},t}(),a=function(t){function e(e,n){t.call(this,e),this.bufferSize=n,this.buffer=[]}return i(e,t),e.prototype._next=function(t){var e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])},e.prototype._complete=function(){var e=this.buffer;e.length>0&&this.destination.next(e),t.prototype._complete.call(this)},e}(o.Subscriber),l=function(t){function e(e,n,r){t.call(this,e),this.bufferSize=n,this.startBufferEvery=r,this.buffers=[],this.count=0}return i(e,t),e.prototype._next=function(t){var e=this,n=e.bufferSize,r=e.startBufferEvery,i=e.buffers,o=e.count;this.count++,o%r==0&&i.push([]);for(var s=i.length;s--;){var a=i[s];a.push(t),a.length===n&&(i.splice(s,1),this.destination.next(a))}},e.prototype._complete=function(){for(var e=this,n=e.buffers,r=e.destination;n.length>0;){var i=n.shift();i.length>0&&r.next(i)}t.prototype._complete.call(this)},e}(o.Subscriber)},O8p4:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Y3yw");r.Observable.race=i.raceStatic},OEcN:function(t,e,n){"use strict";var r=n("3j3K"),i=n("NVOs"),o=n("2yGx"),s=n("hUSH"),a=n("tyH+");n.d(e,"a",function(){return u});var l={provide:i.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return u}),multi:!0},u=function(){function t(t){this.onChange=function(t){},this.onTouched=function(){},this.meridian=t.meridian,this.spinners=t.spinners,this.seconds=t.seconds,this.hourStep=t.hourStep,this.minuteStep=t.minuteStep,this.secondStep=t.secondStep,this.disabled=t.disabled,this.readonlyInputs=t.readonlyInputs,this.size=t.size}return t.prototype.writeValue=function(t){this.model=t?new s.a(t.hour,t.minute,t.second):new s.a,this.seconds||t&&n.i(o.a)(t.second)||(this.model.second=0)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.changeHour=function(t){this.model.changeHour(t),this.propagateModelChange()},t.prototype.changeMinute=function(t){this.model.changeMinute(t),this.propagateModelChange()},t.prototype.changeSecond=function(t){this.model.changeSecond(t),this.propagateModelChange()},t.prototype.updateHour=function(t){this.model.updateHour(n.i(o.b)(t)),this.propagateModelChange()},t.prototype.updateMinute=function(t){this.model.updateMinute(n.i(o.b)(t)),this.propagateModelChange()},t.prototype.updateSecond=function(t){this.model.updateSecond(n.i(o.b)(t)),this.propagateModelChange()},t.prototype.toggleMeridian=function(){this.meridian&&this.changeHour(12)},t.prototype.formatHour=function(t){return n.i(o.a)(t)?this.meridian?n.i(o.c)(t%12==0?12:t%12):n.i(o.c)(t%24):n.i(o.c)(NaN)},t.prototype.formatMinSec=function(t){return n.i(o.c)(t)},t.prototype.setFormControlSize=function(){return{"form-control-sm":"small"===this.size,"form-control-lg":"large"===this.size}},t.prototype.setButtonSize=function(){return{"btn-sm":"small"===this.size,"btn-lg":"large"===this.size}},t.prototype.ngOnChanges=function(t){t.seconds&&!this.seconds&&this.model&&!n.i(o.a)(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))},t.prototype.propagateModelChange=function(t){void 0===t&&(t=!0),t&&this.onTouched(),this.model.isValid(this.seconds)?this.onChange({hour:this.model.hour,minute:this.model.minute,second:this.model.second}):this.onChange(null)},t}();u.decorators=[{type:r.Component,args:[{selector:"ngb-timepicker",styles:["\n .ngb-tp {\n display: flex;\n align-items: center;\n }\n\n .ngb-tp-hour, .ngb-tp-minute, .ngb-tp-second, .ngb-tp-meridian {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n }\n\n .ngb-tp-spacer {\n width: 1em;\n text-align: center;\n }\n\n .chevron::before {\n border-style: solid;\n border-width: 0.29em 0.29em 0 0;\n content: '';\n display: inline-block;\n height: 0.69em;\n left: 0.05em;\n position: relative;\n top: 0.15em;\n transform: rotate(-45deg);\n -webkit-transform: rotate(-45deg);\n -ms-transform: rotate(-45deg);\n vertical-align: middle;\n width: 0.71em;\n }\n\n .chevron.bottom:before {\n top: -.3em;\n -webkit-transform: rotate(135deg);\n -ms-transform: rotate(135deg);\n transform: rotate(135deg);\n }\n\n .btn-link {\n outline: 0;\n }\n\n .btn-link.disabled {\n cursor: not-allowed;\n opacity: .65;\n }\n\n input {\n text-align: center;\n display: inline-block;\n width: auto;\n }\n "],template:'\n <fieldset [disabled]="disabled" [class.disabled]="disabled">\n <div class="ngb-tp">\n <div class="ngb-tp-hour">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeHour(hourStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron"></span>\n <span class="sr-only">Increment hours</span>\n </button>\n <input type="text" class="form-control" [ngClass]="setFormControlSize()" maxlength="2" size="2" placeholder="HH"\n [value]="formatHour(model?.hour)" (change)="updateHour($event.target.value)"\n [readonly]="readonlyInputs" [disabled]="disabled" aria-label="Hours">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeHour(-hourStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron bottom"></span>\n <span class="sr-only">Decrement hours</span>\n </button>\n </div>\n <div class="ngb-tp-spacer">:</div>\n <div class="ngb-tp-minute">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeMinute(minuteStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron"></span>\n <span class="sr-only">Increment minutes</span>\n </button>\n <input type="text" class="form-control" [ngClass]="setFormControlSize()" maxlength="2" size="2" placeholder="MM"\n [value]="formatMinSec(model?.minute)" (change)="updateMinute($event.target.value)"\n [readonly]="readonlyInputs" [disabled]="disabled" aria-label="Minutes">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeMinute(-minuteStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron bottom"></span>\n <span class="sr-only">Decrement minutes</span>\n </button>\n </div>\n <div *ngIf="seconds" class="ngb-tp-spacer">:</div>\n <div *ngIf="seconds" class="ngb-tp-second">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeSecond(secondStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron"></span>\n <span class="sr-only">Increment seconds</span>\n </button>\n <input type="text" class="form-control" [ngClass]="setFormControlSize()" maxlength="2" size="2" placeholder="SS"\n [value]="formatMinSec(model?.second)" (change)="updateSecond($event.target.value)"\n [readonly]="readonlyInputs" [disabled]="disabled" aria-label="Seconds">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeSecond(-secondStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron bottom"></span>\n <span class="sr-only">Decrement seconds</span>\n </button>\n </div>\n <div *ngIf="meridian" class="ngb-tp-spacer"></div>\n <div *ngIf="meridian" class="ngb-tp-meridian">\n <button type="button" class="btn btn-outline-primary" [ngClass]="setButtonSize()"\n [disabled]="disabled" [class.disabled]="disabled"\n (click)="toggleMeridian()">{{model.hour >= 12 ? \'PM\' : \'AM\'}}</button>\n </div>\n </div>\n </fieldset>\n ',providers:[l]}]}],u.ctorParameters=function(){return[{type:a.a}]},u.propDecorators={meridian:[{type:r.Input}],spinners:[{type:r.Input}],seconds:[{type:r.Input}],hourStep:[{type:r.Input}],minuteStep:[{type:r.Input}],secondStep:[{type:r.Input}],readonlyInputs:[{type:r.Input}],size:[{type:r.Input}]}},OLzJ:function(t,e,n){"use strict";var r=n("VOfZ"),i=function(){function t(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){return t.setTimeout(e,1e3/60)})}return t}();e.RequestAnimationFrameDefinition=i,e.AnimationFrame=new i(r.root)},"Oa+j":function(t,e,n){"use strict";function r(){return this.lift(new s)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.dematerialize=r;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e)}return i(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(o.Subscriber)},Ou9t:function(t,e,n){"use strict";function r(){return function(){function t(){this._values=[]}return t.prototype.add=function(t){this.has(t)||this._values.push(t)},t.prototype.has=function(t){return-1!==this._values.indexOf(t)},Object.defineProperty(t.prototype,"size",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this._values.length=0},t}()}var i=n("VOfZ");e.minimalSetImpl=r,e.Set=i.root.Set||r()},P3oE:function(t,e,n){"use strict";function r(t){return!i.isArray(t)&&t-parseFloat(t)+1>=0}var i=n("Xajo");e.isNumeric=r},PMZt:function(t,e,n){"use strict";var r=n("rCTf"),i=n("u/VN");r.Observable.prototype.throttle=i.throttle},PN3d:function(t,e,n){"use strict";function r(t){return o.multicast.call(this,new i.BehaviorSubject(t))}var i=n("TfWX"),o=n("emOw");e.publishBehavior=r},POFt:function(t,e,n){"use strict";function r(t){return 0===t?new a.EmptyObservable:this.lift(new l(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("8Z8y"),a=n("jBEF");e.take=r;var l=function(){function t(t){if(this.total=t,this.total<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return i(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(o.Subscriber)},PutI:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("cwzr"),o=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return r(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(i.AsyncAction);e.QueueAction=o},PvYY:function(t,e,n){"use strict";var r=n("rCTf"),i=n("0gHg");r.Observable.prototype.publishReplay=i.publishReplay},PwiB:function(t,e,n){"use strict";var r=n("rCTf"),i=n("sKQ8");r.Observable.prototype.windowTime=i.windowTime},Q0je:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("YOd+"),s=function(t){function e(){t.call(this)}return r(e,t),e.create=function(){return new e},e.prototype._subscribe=function(t){o.noop()},e}(i.Observable);e.NeverObservable=s},QNuG:function(t,e,n){"use strict";function r(){return o.multicast.call(this,new i.AsyncSubject)}var i=n("5c/I"),o=n("emOw");e.publishLast=r},Qt4r:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("fWbP"),s=function(t){return t},a=function(t){function e(e,n,r,i,o){t.call(this),this.initialState=e,this.condition=n,this.iterate=r,this.resultSelector=i,this.scheduler=o}return r(e,t),e.create=function(t,n,r,i,a){return 1==arguments.length?new e(t.initialState,t.condition,t.iterate,t.resultSelector||s,t.scheduler):void 0===i||o.isScheduler(i)?new e(t,n,r,s,i):new e(t,n,r,i,a)},e.prototype._subscribe=function(t){var n=this.initialState;if(this.scheduler)return this.scheduler.schedule(e.dispatch,0,{subscriber:t,iterate:this.iterate,condition:this.condition,resultSelector:this.resultSelector,state:n});for(var r=this,i=r.condition,o=r.resultSelector,s=r.iterate;;){if(i){var a=void 0;try{a=i(n)}catch(e){return void t.error(e)}if(!a){t.complete();break}}var l=void 0;try{l=o(n)}catch(e){return void t.error(e)}if(t.next(l),t.closed)break;try{n=s(n)}catch(e){return void t.error(e)}}},e.dispatch=function(t){var e=t.subscriber,n=t.condition;if(!e.closed){if(t.needIterate)try{t.state=t.iterate(t.state)}catch(t){return void e.error(t)}else t.needIterate=!0;if(n){var r=void 0;try{r=n(t.state)}catch(t){return void e.error(t)}if(!r)return void e.complete();if(e.closed)return}var i;try{i=t.resultSelector(t.state)}catch(t){return void e.error(t)}if(!e.closed&&(e.next(i),!e.closed))return this.schedule(t)}},e}(i.Observable);e.GenerateObservable=a},R6W2:function(t,e,n){"use strict";var r=n("Fzro"),i=n("+pb+"),o=(n.n(i),n("mwbX"));n.d(e,"a",function(){return s});var s=function(){function t(t){this.http=t}return t.prototype.login=function(t,e){var n=new r.l({"Content-Type":"application/json"}),i=new r.g({headers:n});return this.http.post(o.a+"/servicios/login",JSON.stringify({cedula:t,password:e}),i).map(function(t){var e=t.json();sessionStorage.setItem("currentUser",JSON.stringify(e))})},t.prototype.getUser=function(){return JSON.parse(sessionStorage.getItem("currentUser"))},t.prototype.getUserConfig=function(){return JSON.parse(sessionStorage.getItem("currentUser")).configuracion},t.prototype.getToken=function(){var t=JSON.parse(sessionStorage.getItem("currentUser"));return t?t.token:void 0},t.prototype.setUserConfig=function(t){var e=JSON.parse(sessionStorage.getItem("currentUser"));e.configuracion=t,sessionStorage.setItem("currentUser",JSON.stringify(e))},t.prototype.logout=function(){sessionStorage.removeItem("currentUser")},t.ctorParameters=function(){return[{type:r.i}]},t}()},RA5l:function(t,e,n){"use strict";var r=n("PutI"),i=n("C0+T");e.queue=new i.QueueScheduler(r.QueueAction)},"RJ4+":function(t,e,n){"use strict";function r(t){return void 0===t&&(t=null),this.lift(new s(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.defaultIfEmpty=r;var s=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.defaultValue))},t}(),a=function(t){function e(e,n){t.call(this,e),this.defaultValue=n,this.isEmpty=!0}return i(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(o.Subscriber)},RSMh:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("CURp"),s=n("wAkD"),a=function(t){function e(e,n){t.call(this),this.resourceFactory=e,this.observableFactory=n}return r(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e,n=this,r=n.resourceFactory,i=n.observableFactory;try{return e=r(),new l(t,e,i)}catch(e){t.error(e)}},e}(i.Observable);e.UsingObservable=a;var l=function(t){function e(e,n,r){t.call(this,e),this.resource=n,this.observableFactory=r,e.add(n),this.tryUse()}return r(e,t),e.prototype.tryUse=function(){try{var t=this.observableFactory.call(this,this.resource);t&&this.add(o.subscribeToResult(this,t))}catch(t){this._error(t)}},e}(s.OuterSubscriber)},RYQg:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return this.lift.call(i.apply(void 0,[this].concat(t)))}function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t[t.length-1];return"function"==typeof n&&t.pop(),new s.ArrayObservable(t).lift(new p(n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("Yh8Q"),a=n("Xajo"),l=n("mmVS"),u=n("wAkD"),c=n("CURp"),h=n("cdmN");e.zipProto=r,e.zipStatic=i;var p=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.project))},t}();e.ZipOperator=p;var f=function(t){function e(e,n,r){void 0===r&&(r=Object.create(null)),t.call(this,e),this.iterators=[],this.active=0,this.project="function"==typeof n?n:null,this.values=r}return o(e,t),e.prototype._next=function(t){var e=this.iterators;a.isArray(t)?e.push(new v(t)):"function"==typeof t[h.iterator]?e.push(new d(t[h.iterator]())):e.push(new m(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;if(0===e)return void this.destination.complete();this.active=e;for(var n=0;n<e;n++){var r=t[n];r.stillUnsubscribed?this.add(r.subscribe(r,n)):this.active--}},e.prototype.notifyInactive=function(){0===--this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,n=this.destination,r=0;r<e;r++){var i=t[r];if("function"==typeof i.hasValue&&!i.hasValue())return}for(var o=!1,s=[],r=0;r<e;r++){var i=t[r],a=i.next();if(i.hasCompleted()&&(o=!0),a.done)return void n.complete();s.push(a.value)}this.project?this._tryProject(s):n.next(s),o&&n.complete()},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}(l.Subscriber);e.ZipSubscriber=f;var d=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return t&&t.done},t}(),v=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[h.iterator]=function(){return this},t.prototype.next=function(t){var e=this.index++,n=this.array;return e<this.length?{value:n[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),m=function(t){function e(e,n,r){t.call(this,e),this.parent=n,this.observable=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return o(e,t),e.prototype[h.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,n,r,i){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return c.subscribeToResult(this,this.observable,this,e)},e}(u.OuterSubscriber)},Rewd:function(t,e,n){"use strict";function r(t,e,n){return this.lift(new s(t,e,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e._do=r;var s=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.nextOrObserver,this.error,this.complete))},t}(),a=function(t){function e(e,n,r,i){t.call(this,e);var s=new o.Subscriber(n,r,i);s.syncErrorThrowable=!0,this.add(s),this.safeSubscriber=s}return i(e,t),e.prototype._next=function(t){var e=this.safeSubscriber;e.next(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.next(t)},e.prototype._error=function(t){var e=this.safeSubscriber;e.error(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.error(t)},e.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},e}(o.Subscriber)},Rgi1:function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("8Z8y");e.skipLast=r;var a=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return 0===this._skipCount?e.subscribe(new o.Subscriber(t)):e.subscribe(new l(t,this._skipCount))},t}(),l=function(t){function e(e,n){t.call(this,e),this._skipCount=n,this._count=0,this._ring=new Array(n)}return i(e,t),e.prototype._next=function(t){var e=this._skipCount,n=this._count++;if(n<e)this._ring[n]=t;else{var r=n%e,i=this._ring,o=i[r];i[r]=t,this.destination.next(o)}},e}(o.Subscriber)},Rxv9:function(t,e,n){"use strict";var r=n("rCTf"),i=n("FT6u");r.Observable.prototype.min=i.min},RyDc:function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.skipUntil=r;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.notifier))},t}(),l=function(t){function e(e,n){t.call(this,e),this.hasValue=!1,this.isInnerStopped=!1,this.add(s.subscribeToResult(this,n))}return i(e,t),e.prototype._next=function(e){this.hasValue&&t.prototype._next.call(this,e)},e.prototype._complete=function(){this.isInnerStopped?t.prototype._complete.call(this):this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,i){this.hasValue=!0},e.prototype.notifyComplete=function(){this.isInnerStopped=!0,this.isStopped&&t.prototype._complete.call(this)},e}(o.OuterSubscriber)},S35O:function(t,e,n){"use strict";var r=n("rCTf"),i=n("PKvP");r.Observable.from=i.from},SDFq:function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.switchMapTo=r;var a=function(){function t(t,e){this.observable=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.observable,this.resultSelector))},t}(),l=function(t){function e(e,n,r){t.call(this,e),this.inner=n,this.resultSelector=r,this.index=0}return i(e,t),e.prototype._next=function(t){var e=this.innerSubscription;e&&e.unsubscribe(),this.add(this.innerSubscription=s.subscribeToResult(this,this.inner,t,this.index++))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){var o=this,s=o.resultSelector,a=o.destination;s?this.tryResultSelector(t,e,n,r):a.next(e)},e.prototype.tryResultSelector=function(t,e,n,r){var i,o=this,s=o.resultSelector,a=o.destination;try{i=s(t,e,n,r)}catch(t){return void a.error(t)}a.next(i)},e}(o.OuterSubscriber)},SDm3:function(t,e,n){"use strict";function r(t){return o["ɵvid"](0,[(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,4,"div",[["role","document"]],[[8,"className",0]],null,null,null,null)),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"div",[["class","modal-content"]],null,null,null,null,null)),o["ɵncd"](null,0),(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵted"](null,["\n "]))],null,function(t,e){var n=e.component;t(e,1,0,"modal-dialog"+(n.size?" modal-"+n.size:""))})}function i(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"ngb-modal-window",[["role","dialog"],["style","display: block;"],["tabindex","-1"]],[[8,"className",0]],[[null,"keyup.esc"],[null,"click"]],function(t,e,n){var r=!0;if("keyup.esc"===e){r=!1!==o["ɵnov"](t,1).escKey(n)&&r}if("click"===e){r=!1!==o["ɵnov"](t,1).backdropClick(n)&&r}return r},a.b,a.c)),o["ɵdid"](4440064,null,0,s.a,[o.ElementRef,o.Renderer2],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,"modal fade show"+(o["ɵnov"](e,1).windowClass?" "+o["ɵnov"](e,1).windowClass:""))})}var o=n("3j3K"),s=n("xOmt"),a=n("SDm3");n.d(e,"c",function(){return u}),e.b=r,n.d(e,"a",function(){return c});var l=[],u=o["ɵcrt"]({encapsulation:2,styles:l,data:{}}),c=o["ɵccf"]("ngb-modal-window",s.a,i,{backdrop:"backdrop",keyboard:"keyboard",size:"size",windowClass:"windowClass"},{dismissEvent:"dismiss"},["*"])},SGWz:function(t,e,n){"use strict";var r=n("rCTf"),i=n("UELl");r.Observable.prototype.mergeScan=i.mergeScan},SSeX:function(t,e,n){"use strict";var r=n("rCTf"),i=n("2AEF");r.Observable.prototype.exhaustMap=i.exhaustMap},SUuD:function(t,e,n){"use strict";var r=n("rCTf"),i=n("rpzr");r.Observable.interval=i.interval},SudU:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=0),this.lift(new o(t,e))}var i=n("ftJA");e.subscribeOn=r;var o=function(){function t(t,e){this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return new i.SubscribeOnObservable(e,this.delay,this.scheduler).subscribe(t)},t}()},T3fU:function(t,e,n){"use strict";var r=n("rCTf"),i=n("q+cp");r.Observable.prototype.takeUntil=i.takeUntil},"TIy+":function(t,e,n){"use strict";var r=n("/J7H");e.fromEvent=r.FromEventObservable.create},TL2s:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("kcyo"),o=n("cwzr"),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return r(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=i.Immediate.setImmediate(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(i.Immediate.clearImmediate(n),e.scheduled=void 0)},e}(o.AsyncAction);e.AsapAction=s},U6gI:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){}return t.prototype.isMuted=function(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)},t}();i.decorators=[{type:r.Component,args:[{selector:"[ngbDatepickerDayView]",styles:["\n :host {\n text-align: center;\n width: 2rem;\n height: 2rem;\n line-height: 2rem; \n border-radius: 0.25rem;\n }\n :host.outside {\n opacity: 0.5;\n }\n "],host:{"[class.bg-primary]":"selected","[class.text-white]":"selected","[class.text-muted]":"isMuted()","[class.outside]":"isMuted()","[class.btn-secondary]":"!disabled"},template:"{{ date.day }}"}]}],i.ctorParameters=function(){return[]},i.propDecorators={currentMonth:[{type:r.Input}],date:[{type:r.Input}],disabled:[{type:r.Input}],selected:[{type:r.Input}]}},U85J:function(t,e,n){"use strict";var r=n("rCTf"),i=n("b1Ba");r.Observable.bindNodeCallback=i.bindNodeCallback},U9ky:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t.length;if(0===n)throw new Error("list of properties cannot be empty.");return o.map.call(this,i(t,n))}function i(t,e){return function(n){for(var r=n,i=0;i<e;i++){var o=r[t[i]];if(void 0===o)return;r=o}return r}}var o=n("xAJs");e.pluck=r},UELl:function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),this.lift(new u(t,e,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("+3eL"),s=n("WhVc"),a=n("CURp"),l=n("wAkD");e.mergeScan=r;var u=function(){function t(t,e,n){this.accumulator=t,this.seed=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.accumulator,this.seed,this.concurrent))},t}();e.MergeScanOperator=u;var c=function(t){function e(e,n,r,i){t.call(this,e),this.accumulator=n,this.acc=r,this.concurrent=i,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return i(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.index++,n=o.tryCatch(this.accumulator)(this.acc,t),r=this.destination;n===s.errorObject?r.error(s.errorObject.e):(this.active++,this._innerSub(n,t,e))}else this.buffer.push(t)},e.prototype._innerSub=function(t,e,n){this.add(a.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.destination;this.acc=e,this.hasValue=!0,o.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(l.OuterSubscriber);e.MergeScanSubscriber=c},"UFi/":function(t,e,n){"use strict";var r=n("rCTf"),i=n("xYP1");r.Observable.prototype.sequenceEqual=i.sequenceEqual},UNGF:function(t,e,n){"use strict";var r=n("rCTf"),i=n("pgP5");r.Observable.prototype.reduce=i.reduce},UmTU:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null,r=null;return i.isScheduler(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&o.isArray(t[0])&&(t=t[0]),new s.ArrayObservable(t,r).lift(new a.CombineLatestOperator(n))}var i=n("fWbP"),o=n("Xajo"),s=n("Yh8Q"),a=n("A7JX");e.combineLatest=r},Uqs8:function(t,e,n){"use strict";var r=n("TL2s"),i=n("1Cj3");e.asap=new i.AsapScheduler(r.AsapAction)},UyZi:function(t,e,n){"use strict";var r=n("3j3K"),i=n("9XFw"),o=n("xOmt"),s=n("CXHW"),a=n("3kwk");n("WtdY"),n("nxqe");n.d(e,"a",function(){return l});var l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[a.a,s.a]}},t}();l.decorators=[{type:r.NgModule,args:[{declarations:[i.a,o.a],entryComponents:[i.a,o.a],providers:[a.a]}]}],l.ctorParameters=function(){return[]}},UyzR:function(t,e,n){"use strict";var r=n("rCTf"),i=n("XvGf");r.Observable.prototype.switch=i._switch,r.Observable.prototype._switch=i._switch},VEfc:function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.switchMap=r;var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.project,this.resultSelector))},t}(),l=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.resultSelector=r,this.index=0}return i(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe(),this.add(this.innerSubscription=s.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){this.resultSelector?this._tryNotifyNext(t,e,n,r):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,n,r){var i;try{i=this.resultSelector(t,e,n,r)}catch(t){return void this.destination.error(t)}this.destination.next(i)},e}(o.OuterSubscriber)},VaQ6:function(t,e,n){"use strict";var r=n("rCTf"),i=n("sake");r.Observable.prototype.skipWhile=i.skipWhile},VfeM:function(t,e,n){"use strict";var r=n("rCTf"),i=n("iESu");r.Observable.prototype.flatMapTo=i.mergeMapTo,r.Observable.prototype.mergeMapTo=i.mergeMapTo},"W1/H":function(t,e,n){"use strict";var r=n("rCTf"),i=n("YgqK");r.Observable.prototype.findIndex=i.findIndex},W5jB:function(t,e,n){"use strict";var r=n("3j3K"),i=n("2yGx"),o=n("nCuf");n.d(e,"a",function(){return s});var s=function(){function t(t){this.value=0,this.max=t.max,this.animated=t.animated,this.striped=t.striped,this.type=t.type,this.showValue=t.showValue}return t.prototype.getValue=function(){return n.i(i.e)(this.value,this.max)},t.prototype.getPercentValue=function(){return 100*this.getValue()/this.max},t}();s.decorators=[{type:r.Component,args:[{selector:"ngb-progressbar",changeDetection:r.ChangeDetectionStrategy.OnPush,template:'\n <div class="progress">\n <div class="progress-bar{{type ? \' bg-\' + type : \'\'}}{{animated ? \' progress-bar-animated\' : \'\'}}{{striped ?\n \' progress-bar-striped\' : \'\'}}" role="progressbar" [style.width.%]="getPercentValue()"\n [attr.aria-valuenow]="getValue()" aria-valuemin="0" [attr.aria-valuemax]="max">\n <span *ngIf="showValue">{{getPercentValue()}}%</span><ng-content></ng-content>\n </div>\n </div>\n '}]}],s.ctorParameters=function(){return[{type:o.a}]},s.propDecorators={max:[{type:r.Input}],animated:[{type:r.Input}],striped:[{type:r.Input}],showValue:[{type:r.Input}],type:[{type:r.Input}],value:[{type:r.Input}]}},WKBe:function(t,e,n){"use strict";var r=n("3j3K"),i=n("WtNX"),o=n("ETCP");n.d(e,"a",function(){return s});var s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}();s.decorators=[{type:r.NgModule,args:[{declarations:[i.a,i.b],exports:[i.a],entryComponents:[i.b]}]}],s.ctorParameters=function(){return[]}},WQmy:function(t,e,n){"use strict";var r=n("rCTf"),i=n("+ayw");r.Observable.prototype.share=i.share},WTUZ:function(t,e,n){"use strict";function r(t){return this.lift(new u(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("+3eL"),s=n("WhVc"),a=n("wAkD"),l=n("CURp");e.audit=r;var u=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.durationSelector))},t}(),c=function(t){function e(e,n){t.call(this,e),this.durationSelector=n,this.hasValue=!1}return i(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=o.tryCatch(this.durationSelector)(t);if(e===s.errorObject)this.destination.error(s.errorObject.e);else{var n=l.subscribeToResult(this,e);n.closed?this.clearThrottle():this.add(this.throttled=n)}}},e.prototype.clearThrottle=function(){var t=this,e=t.value,n=t.hasValue,r=t.throttled;r&&(this.remove(r),this.throttled=null,r.unsubscribe()),n&&(this.value=null,this.hasValue=!1,this.destination.next(e))},e.prototype.notifyNext=function(t,e,n,r){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(a.OuterSubscriber)},Whbc:function(t,e,n){"use strict";var r=n("rCTf"),i=n("1hN3");r.Observable.prototype.bufferWhen=i.bufferWhen},WnEV:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Rgi1");r.Observable.prototype.skipLast=i.skipLast},WtNX:function(t,e,n){"use strict";var r=n("3j3K"),i=n("aalB"),o=n("jRSa"),s=n("/PMa"),a=n("ETCP");n.d(e,"b",function(){return u}),n.d(e,"a",function(){return c});var l=0,u=function(){function t(){this.placement="top"}return t}();u.decorators=[{type:r.Component,args:[{selector:"ngb-popover-window",changeDetection:r.ChangeDetectionStrategy.OnPush,host:{"[class]":'"popover show popover-" + placement',role:"tooltip","[id]":"id"},template:'\n <h3 class="popover-title">{{title}}</h3><div class="popover-content"><ng-content></ng-content></div>\n '}]}],u.ctorParameters=function(){return[]},u.propDecorators={placement:[{type:r.Input}],title:[{type:r.Input}],id:[{type:r.Input}]};var c=function(){function t(t,e,i,a,c,h,p){var f=this;this._elementRef=t,this._renderer=e,this.shown=new r.EventEmitter,this.hidden=new r.EventEmitter,this._ngbPopoverWindowId="ngb-popover-"+l++,this.placement=h.placement,this.triggers=h.triggers,this.container=h.container,this._popupService=new s.a(u,i,c,e,a),this._zoneSubscription=p.onStable.subscribe(function(){f._windowRef&&n.i(o.a)(f._elementRef.nativeElement,f._windowRef.location.nativeElement,f.placement,"body"===f.container)})}return t.prototype.open=function(t){this._windowRef||(this._windowRef=this._popupService.open(this.ngbPopover,t),this._windowRef.instance.placement=this.placement,this._windowRef.instance.title=this.popoverTitle,this._windowRef.instance.id=this._ngbPopoverWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.markForCheck(),this.shown.emit())},t.prototype.close=function(){this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=n.i(i.a)(this._renderer,this._elementRef.nativeElement,this.triggers,this.open.bind(this),this.close.bind(this),this.toggle.bind(this))},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t}();c.decorators=[{type:r.Directive,args:[{selector:"[ngbPopover]",exportAs:"ngbPopover"}]}],c.ctorParameters=function(){return[{type:r.ElementRef},{type:r.Renderer2},{type:r.Injector},{type:r.ComponentFactoryResolver},{type:r.ViewContainerRef},{type:a.a},{type:r.NgZone}]},c.propDecorators={ngbPopover:[{type:r.Input}],popoverTitle:[{type:r.Input}],placement:[{type:r.Input}],triggers:[{type:r.Input}],container:[{type:r.Input}],shown:[{type:r.Output}],hidden:[{type:r.Output}]}},WtdY:function(t,e,n){"use strict";var r=n("3j3K"),i=n("/PMa");n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s});var o=function(){function t(){}return t.prototype.close=function(t){},t.prototype.dismiss=function(t){},t}();o.decorators=[{type:r.Injectable}],o.ctorParameters=function(){return[]};var s=function(){function t(t,e,n){var r=this;this._windowCmptRef=t,this._contentRef=e,this._backdropCmptRef=n,t.instance.dismissEvent.subscribe(function(t){r.dismiss(t)}),this.result=new Promise(function(t,e){r._resolve=t,r._reject=e}),this.result.then(null,function(){})}return Object.defineProperty(t.prototype,"componentInstance",{get:function(){if(this._contentRef.componentRef)return this._contentRef.componentRef.instance},set:function(t){},enumerable:!0,configurable:!0}),t.prototype.close=function(t){this._windowCmptRef&&(this._resolve(t),this._removeModalElements())},t.prototype.dismiss=function(t){this._windowCmptRef&&(this._reject(t),this._removeModalElements())},t.prototype._removeModalElements=function(){var t=this._windowCmptRef.location.nativeElement;if(t.parentNode.removeChild(t),this._windowCmptRef.destroy(),this._backdropCmptRef){var e=this._backdropCmptRef.location.nativeElement;e.parentNode.removeChild(e),this._backdropCmptRef.destroy()}this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._backdropCmptRef=null,this._contentRef=null},t}();s.decorators=[{type:r.Injectable}],s.ctorParameters=function(){return[{type:r.ComponentRef},{type:i.b},{type:r.ComponentRef}]}},WxOs:function(t,e,n){"use strict";function r(t){var e=this,n=t.source,r=t.subscriber,s=t.context,a=n,h=a.callbackFunc,p=a.args,f=a.scheduler,d=n.subject;if(!d){d=n.subject=new c.AsyncSubject;var v=function t(){for(var n=[],r=0;r<arguments.length;r++)n[r-0]=arguments[r];var s=t.source,a=s.selector,c=s.subject,h=n.shift();if(h)e.add(f.schedule(o,0,{err:h,subject:c}));else if(a){var p=l.tryCatch(a).apply(this,n);p===u.errorObject?e.add(f.schedule(o,0,{err:u.errorObject.e,subject:c})):e.add(f.schedule(i,0,{value:p,subject:c}))}else{var d=n.length<=1?n[0]:n;e.add(f.schedule(i,0,{value:d,subject:c}))}};v.source=n;l.tryCatch(h).apply(s,p.concat(v))===u.errorObject&&e.add(f.schedule(o,0,{err:u.errorObject.e,subject:d}))}e.add(d.subscribe(r))}function i(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function o(t){var e=t.err;t.subject.error(e)}var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=n("rCTf"),l=n("+3eL"),u=n("WhVc"),c=n("5c/I"),h=function(t){function e(e,n,r,i,o){t.call(this),this.callbackFunc=e,this.selector=n,this.args=r,this.context=i,this.scheduler=o}return s(e,t),e.create=function(t,n,r){return void 0===n&&(n=void 0),function(){for(var i=[],o=0;o<arguments.length;o++)i[o-0]=arguments[o];return new e(t,n,i,this,r)}},e.prototype._subscribe=function(t){var e=this.callbackFunc,n=this.args,i=this.scheduler,o=this.subject;if(i)return i.schedule(r,0,{source:this,subscriber:t,context:this.context});if(!o){o=this.subject=new c.AsyncSubject;var s=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var r=t.source,i=r.selector,o=r.subject,s=e.shift();if(s)o.error(s);else if(i){var a=l.tryCatch(i).apply(this,e);a===u.errorObject?o.error(u.errorObject.e):(o.next(a),o.complete())}else o.next(e.length<=1?e[0]:e),o.complete()};s.source=this;l.tryCatch(e).apply(this.context,n.concat(s))===u.errorObject&&o.error(u.errorObject.e)}return o.subscribe(t)},e}(a.Observable);e.BoundNodeCallbackObservable=h},X2ud:function(t,e,n){"use strict";function r(t){return this.lift(new i.CombineLatestOperator(t))}var i=n("A7JX");e.combineAll=r},XKof:function(t,e,n){"use strict";var r=n("rCTf"),i=n("sVus");r.Observable.prototype.timeInterval=i.timeInterval},XZ4o:function(t,e,n){"use strict";var r=n("rCTf"),i=n("0GXu");r.Observable.prototype.repeat=i.repeat},XlOA:function(t,e,n){"use strict";var r=n("rCTf"),i=n("UmTU");r.Observable.combineLatest=i.combineLatest},XvGf:function(t,e,n){"use strict";function r(){return this.lift(new a)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e._switch=r;var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(e){t.call(this,e),this.active=0,this.hasCompleted=!1}return i(e,t),e.prototype._next=function(t){this.unsubscribeInner(),this.active++,this.add(this.innerSubscription=s.subscribeToResult(this,t))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&this.destination.complete()},e.prototype.unsubscribeInner=function(){this.active=this.active>0?this.active-1:0;var t=this.innerSubscription;t&&(t.unsubscribe(),this.remove(t))},e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.unsubscribeInner(),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(o.OuterSubscriber)},Y3yw:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 1===t.length&&s.isArray(t[0])&&(t=t[0]),this.lift.call(i.apply(void 0,[this].concat(t)))}function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];if(1===t.length){if(!s.isArray(t[0]))return t[0];t=t[0]}return new a.ArrayObservable(t).lift(new c)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("Xajo"),a=n("Yh8Q"),l=n("wAkD"),u=n("CURp");e.race=r,e.raceStatic=i;var c=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new h(t))},t}();e.RaceOperator=c;var h=function(t){function e(e){t.call(this,e),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}return o(e,t),e.prototype._next=function(t){this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var n=0;n<e&&!this.hasFirst;n++){var r=t[n],i=u.subscribeToResult(this,r,r,n);this.subscriptions&&this.subscriptions.push(i),this.add(i)}this.observables=null}},e.prototype.notifyNext=function(t,e,n,r,i){if(!this.hasFirst){this.hasFirst=!0;for(var o=0;o<this.subscriptions.length;o++)if(o!==n){var s=this.subscriptions[o];s.unsubscribe(),this.remove(s)}this.subscriptions=null}this.destination.next(e)},e}(l.OuterSubscriber);e.RaceSubscriber=h},Y6hq:function(t,e,n){"use strict";function r(){return this.lift(new a)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("8GmM");e.materialize=r;var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(e){t.call(this,e)}return i(e,t),e.prototype._next=function(t){this.destination.next(s.Notification.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(s.Notification.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(s.Notification.createComplete()),t.complete()},e}(o.Subscriber)},YDZ5:function(t,e,n){"use strict";function r(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,2,"ngb-datepicker-navigation-select",[["class","d-block"]],[[4,"width","rem"]],[[null,"select"]],function(t,e,n){var r=!0,i=t.component;if("select"===e){r=!1!==i.selectDate(n)&&r}return r},a.a,a.b)),s["ɵdid"](573440,null,0,l.a,[u.a,c.a],{date:[0,"date"],disabled:[1,"disabled"],maxDate:[2,"maxDate"],minDate:[3,"minDate"]},{select:"select"}),(t()(),s["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,1,0,n.date,n.disabled,n.maxDate,n.minDate)},function(t,e){t(e,0,0,9*e.component.months)})}function i(t){return s["ɵvid"](0,[(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,3,"button",[["class","btn-link"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!=!!i.doNavigate(i.navigation.PREV)&&r}return r},null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,0,"span",[["class","ngb-dp-navigation-chevron"]],null,null,null,null,null)),(t()(),s["ɵted"](null,[" \n "])),(t()(),s["ɵted"](null,["\n \n "])),(t()(),s["ɵand"](16777216,null,null,1,null,r)),s["ɵdid"](16384,null,0,p.NgIf,[s.ViewContainerRef,s.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),s["ɵted"](null,["\n \n "])),(t()(),s["ɵeld"](0,null,null,3,"button",[["class","btn-link"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!=!!i.doNavigate(i.navigation.NEXT)&&r}return r},null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,0,"span",[["class","ngb-dp-navigation-chevron right"]],null,null,null,null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵted"](null,["\n "]))],function(t,e){t(e,7,0,e.component.showSelect)},function(t,e){var n=e.component;t(e,1,0,n.prevDisabled()),t(e,9,0,n.nextDisabled())})}function o(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,1,"ngb-datepicker-navigation",[["class","d-flex justify-content-between"]],[[2,"collapsed",null]],null,null,f.a,f.b)),s["ɵdid"](49152,null,0,h.a,[u.a,c.a],null,null)],null,function(t,e){t(e,0,0,!s["ɵnov"](e,1).showSelect)})}var s=n("3j3K"),a=n("AXLD"),l=n("qBUJ"),u=n("gEbu"),c=n("lcaH"),h=n("3fcS"),p=n("2Je8"),f=n("YDZ5");n.d(e,"b",function(){return v}),e.a=i;var d=["[_nghost-%COMP%] {\n height: 2rem;\n line-height: 1.85rem;\n }\n .collapsed[_nghost-%COMP%] {\n margin-bottom: -2rem; \n }\n .ngb-dp-navigation-chevron[_ngcontent-%COMP%]::before {\n border-style: solid;\n border-width: 0.2em 0.2em 0 0;\n content: '';\n display: inline-block;\n height: 0.75em;\n transform: rotate(-135deg);\n -webkit-transform: rotate(-135deg);\n -ms-transform: rotate(-135deg);\n width: 0.75em;\n margin: 0 0 0 0.5rem;\n } \n .ngb-dp-navigation-chevron.right[_ngcontent-%COMP%]:before {\n -webkit-transform: rotate(45deg);\n -ms-transform: rotate(45deg);\n transform: rotate(45deg);\n margin: 0 0.5rem 0 0;\n }\n .btn-link[_ngcontent-%COMP%] {\n cursor: pointer;\n outline: 0;\n }\n .btn-link[disabled][_ngcontent-%COMP%] {\n cursor: not-allowed;\n opacity: .65;\n }"],v=s["ɵcrt"]({encapsulation:0,styles:d,data:{}});s["ɵccf"]("ngb-datepicker-navigation",h.a,o,{date:"date",disabled:"disabled",maxDate:"maxDate",minDate:"minDate",months:"months",showSelect:"showSelect",showWeekNumbers:"showWeekNumbers"},{navigate:"navigate",select:"select"},[])},YJv1:function(t,e,n){"use strict";function r(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,1,"span",[],[[8,"className",0]],null,null,null,null)),(t()(),l["ɵted"](null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,l["ɵinlineInterpolate"](1,"",n.highlightClass,"")),t(e,1,0,e.parent.context.$implicit)})}function i(t){return l["ɵvid"](0,[(t()(),l["ɵted"](null,["",""]))],null,function(t,e){t(e,0,0,e.parent.context.$implicit)})}function o(t){return l["ɵvid"](0,[(t()(),l["ɵand"](16777216,null,null,1,null,r)),l["ɵdid"](16384,null,0,u.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),l["ɵand"](16777216,null,null,1,null,i)),l["ɵdid"](16384,null,0,u.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),l["ɵand"](0,null,null,0))],function(t,e){t(e,1,0,e.context.odd),t(e,3,0,!e.context.odd)},null)}function s(t){return l["ɵvid"](2,[(t()(),l["ɵand"](16777216,null,null,1,null,o)),l["ɵdid"](802816,null,0,u.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,1,0,e.component.parts)},null)}function a(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,1,"ngb-highlight",[],null,null,null,h.a,h.b)),l["ɵdid"](573440,null,0,c.a,[],null,null)],null,null)}var l=n("3j3K"),u=n("2Je8"),c=n("EzwU"),h=n("YJv1");n.d(e,"b",function(){return f}),e.a=s;var p=[".ngb-highlight[_ngcontent-%COMP%] {\n font-weight: bold;\n }"],f=l["ɵcrt"]({encapsulation:0,styles:p,data:{}});l["ɵccf"]("ngb-highlight",c.a,a,{highlightClass:"highlightClass",result:"result",term:"term"},{},[])},"YOd+":function(t,e,n){"use strict";function r(){}e.noop=r},Ye9U:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Y6hq");r.Observable.prototype.materialize=i.materialize},Yfq7:function(t,e,n){"use strict";var r=n("rCTf"),i=n("GR1s");r.Observable.prototype.exhaust=i.exhaust},YgqK:function(t,e,n){"use strict";function r(t,e){return this.lift(new i.FindValueOperator(t,this,!0,e))}var i=n("GZqV");e.findIndex=r},Yuqe:function(t,e,n){"use strict";function r(t,e){return this.lift(new i.MergeMapToOperator(t,e,1))}var i=n("iESu");e.concatMapTo=r},"Z+/+":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){function t(){}return t}()},ZvZx:function(t,e,n){"use strict";function r(t){var e="function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e};return this.lift(new i.ReduceOperator(e))}var i=n("pgP5");e.max=r},ZwZs:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.closeOthers=!1}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},a0Ch:function(t,e,n){"use strict";var r=n("rCTf"),i=n("8DDp");r.Observable.prototype.timeoutWith=i.timeoutWith},aKiW:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.max=10,this.readonly=!1,this.resettable=!1}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},aV5h:function(t,e,n){"use strict";var r=n("rCTf"),i=n("driz");r.Observable.prototype.debounceTime=i.debounceTime},aalB:function(t,e,n){"use strict";function r(t,e){void 0===e&&(e=s);var n=(t||"").trim();if(0===n.length)return[];var r=n.split(/\s+/).map(function(t){return t.split(":")}).map(function(t){var n=e[t[0]]||t;return new o(n[0],n[1])}),i=r.filter(function(t){return t.isManual()});if(i.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===i.length&&r.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return r}function i(t,e,n,i,o,s){var l=r(n),u=[];return 1===l.length&&l[0].isManual()?a:(l.forEach(function(n){n.open===n.close?u.push(t.listen(e,n.open,s)):u.push(t.listen(e,n.open,i),t.listen(e,n.close,o))}),function(){u.forEach(function(t){return t()})})}e.a=i;var o=function(){function t(t,e){this.open=t,this.close=e,e||(this.close=t)}return t.prototype.isManual=function(){return"manual"===this.open||"manual"===this.close},t}(),s={hover:["mouseenter","mouseleave"]},a=function(){}},adqA:function(t,e,n){"use strict";var r=n("rCTf"),i=n("tn1n");r.Observable.prototype.partition=i.partition},aec7:function(t,e,n){"use strict";function r(t,e){void 0===e&&(e=o.async);var n=s.isDate(t),r=n?+t-e.now():Math.abs(t);return this.lift(new u(r,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("CGGv"),s=n("fuZx"),a=n("mmVS"),l=n("8GmM");e.delay=r;var u=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.delay,this.scheduler))},t}(),c=function(t){function e(e,n,r){t.call(this,e),this.delay=n,this.scheduler=r,this.queue=[],this.active=!1,this.errored=!1}return i(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,i=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new h(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(l.Notification.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},e.prototype._complete=function(){this.scheduleNotification(l.Notification.createComplete())},e}(a.Subscriber),h=function(){function t(t,e){this.time=t,this.notification=e}return t}()},"as+d":function(t,e,n){"use strict";var r=n("3j3K"),i=n("2Je8"),o=n("edM1"),s=n("v4DA");n.d(e,"a",function(){return l});var a=[o.a,o.b,o.c,o.d],l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();l.decorators=[{type:r.NgModule,args:[{declarations:a,exports:a,imports:[i.CommonModule]}]}],l.ctorParameters=function(){return[]}},b1Ba:function(t,e,n){"use strict";var r=n("WxOs");e.bindNodeCallback=r.BoundNodeCallbackObservable.create},"bZY+":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("P3oE"),o=n("rCTf"),s=n("CGGv"),a=function(t){function e(e,n){void 0===e&&(e=0),void 0===n&&(n=s.async),t.call(this),this.period=e,this.scheduler=n,(!i.isNumeric(e)||e<0)&&(this.period=0),n&&"function"==typeof n.schedule||(this.scheduler=s.async)}return r(e,t),e.create=function(t,n){return void 0===t&&(t=0),void 0===n&&(n=s.async),new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.subscriber,r=t.period;n.next(e),n.closed||(t.index+=1,this.schedule(t,r))},e.prototype._subscribe=function(t){var n=this.period,r=this.scheduler;t.add(r.schedule(e.dispatch,n,{index:0,subscriber:t,period:n}))},e}(o.Observable);e.IntervalObservable=a},c3t5:function(t,e,n){"use strict";var r=n("rCTf"),i=n("ioK+");r.Observable.fromPromise=i.fromPromise},c7mC:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.up=!1,this.autoClose=!0}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},cDAr:function(t,e,n){"use strict";var r=n("rCTf"),i=n("E/WS");r.Observable.prototype.timeout=i.timeout},cG9e:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.editable=!0,this.focusFirst=!0,this.showHint=!1}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},cI3s:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=[".sidebar[_ngcontent-%COMP%]{position:fixed;z-index:1000;top:55px;left:235px;width:235px;margin-left:-235px;border:none;border-radius:0;overflow-y:auto;background-color:#036b9a;bottom:0;overflow-x:hidden;padding-bottom:40px;transition:all .2s ease-in-out}.sidebar[_ngcontent-%COMP%] .list-group[_ngcontent-%COMP%] a.list-group-item[_ngcontent-%COMP%]{background:#036b9a;border:0;border-radius:0;color:#999;text-decoration:none}.sidebar[_ngcontent-%COMP%] .list-group[_ngcontent-%COMP%] a.router-link-active[_ngcontent-%COMP%], .sidebar[_ngcontent-%COMP%] .list-group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:#035a81;color:#fff}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] [_ngcontent-%COMP%]:focus{border-radius:none;border:none}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-title[_ngcontent-%COMP%]{font-size:1rem;height:50px;margin-bottom:0}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#999;text-decoration:none;font-weight:400;background:#036b9a}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative;display:block;padding:.75rem 1.5rem;padding-top:1rem}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus, .sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#fff;outline:none;outline-offset:-2px}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-title[_ngcontent-%COMP%]:hover{background:#035a81}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-collapse[_ngcontent-%COMP%]{border-radious:0;border:none}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-collapse[_ngcontent-%COMP%] .panel-body[_ngcontent-%COMP%] .list-group-item[_ngcontent-%COMP%]{border-radius:0;background-color:#036b9a;border:0 solid transparent}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-collapse[_ngcontent-%COMP%] .panel-body[_ngcontent-%COMP%] .list-group-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#999}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-collapse[_ngcontent-%COMP%] .panel-body[_ngcontent-%COMP%] .list-group-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#fff}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-collapse[_ngcontent-%COMP%] .panel-body[_ngcontent-%COMP%] .list-group-item[_ngcontent-%COMP%]:hover{background:#035a81}.nested-menu[_ngcontent-%COMP%] .list-group-item[_ngcontent-%COMP%]{cursor:pointer}.nested-menu[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%]{list-style-type:none}.nested-menu[_ngcontent-%COMP%] ul.submenu[_ngcontent-%COMP%]{display:none;height:0}.nested-menu[_ngcontent-%COMP%] .expand[_ngcontent-%COMP%] ul.submenu[_ngcontent-%COMP%]{display:block;list-style-type:none;height:auto}.nested-menu[_ngcontent-%COMP%] .expand[_ngcontent-%COMP%] ul.submenu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;padding:10px;display:block}.sidebar[_ngcontent-%COMP%]{top:54px;left:0}"]},cJSH:function(t,e,n){"use strict";function r(t,e,n,r){return this.lift(new h(t,e,n,r))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("B00U"),a=n("rCTf"),l=n("EEr4"),u=n("9JPB"),c=n("1kxm");e.groupBy=r;var h=function(){function t(t,e,n,r){this.keySelector=t,this.elementSelector=e,this.durationSelector=n,this.subjectSelector=r}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},t}(),p=function(t){function e(e,n,r,i,o){t.call(this,e),this.keySelector=n,this.elementSelector=r,this.durationSelector=i,this.subjectSelector=o,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}return i(e,t),e.prototype._next=function(t){var e;try{e=this.keySelector(t)}catch(t){return void this.error(t)}this._group(t,e)},e.prototype._group=function(t,e){var n=this.groups;n||(n=this.groups="string"==typeof e?new c.FastMap:new u.Map);var r,i=n.get(e);if(this.elementSelector)try{r=this.elementSelector(t)}catch(t){this.error(t)}else r=t;if(!i){i=this.subjectSelector?this.subjectSelector():new l.Subject,n.set(e,i);var o=new d(e,i,this);if(this.destination.next(o),this.durationSelector){var s=void 0;try{s=this.durationSelector(new d(e,i))}catch(t){return void this.error(t)}this.add(s.subscribe(new f(e,i,this)))}}i.closed||i.next(r)},e.prototype._error=function(t){var e=this.groups;e&&(e.forEach(function(e,n){e.error(t)}),e.clear()),this.destination.error(t)},e.prototype._complete=function(){var t=this.groups;t&&(t.forEach(function(t,e){t.complete()}),t.clear()),this.destination.complete()},e.prototype.removeGroup=function(t){this.groups.delete(t)},e.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&t.prototype.unsubscribe.call(this))},e}(o.Subscriber),f=function(t){function e(e,n,r){t.call(this,n),this.key=e,this.group=n,this.parent=r}return i(e,t),e.prototype._next=function(t){this.complete()},e.prototype._unsubscribe=function(){var t=this,e=t.parent,n=t.key;this.key=this.parent=null,e&&e.removeGroup(n)},e}(o.Subscriber),d=function(t){function e(e,n,r){t.call(this),this.key=e,this.groupSubject=n,this.refCountSubscription=r}return i(e,t),e.prototype._subscribe=function(t){var e=new s.Subscription,n=this,r=n.refCountSubscription,i=n.groupSubject;return r&&!r.closed&&e.add(new v(r)),e.add(i.subscribe(t)),e},e}(a.Observable);e.GroupedObservable=d;var v=function(t){function e(e){t.call(this),this.parent=e,e.count++}return i(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(s.Subscription)},cPwE:function(t,e,n){"use strict";var r=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=Date.now?Date.now:function(){return+new Date},t}();e.Scheduler=r},cjT5:function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.debounce=r;var a=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.durationSelector))},t}(),l=function(t){function e(e,n){t.call(this,e),this.durationSelector=n,this.hasValue=!1,this.durationSubscription=null}return i(e,t),e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),n=s.subscribeToResult(this,e),n.closed||this.add(this.durationSubscription=n)},e.prototype.notifyNext=function(t,e,n,r,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,n=this.durationSubscription;n&&(this.durationSubscription=null,n.unsubscribe(),this.remove(n)),this.value=null,this.hasValue=!1,t.prototype._next.call(this,e)}},e}(o.OuterSubscriber)},cmqr:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=function(t){function e(){var e=t.call(this,"Timeout has occurred");this.name=e.name="TimeoutError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.TimeoutError=i},cqY6:function(t,e,n){"use strict";var r=n("5oXY");n.d(e,"a",function(){return i});var i=function(){function t(t){this.router=t}return t.prototype.ngOnInit=function(){"/"===this.router.url&&this.router.navigate(["/login"])},t.ctorParameters=function(){return[{type:r.c}]},t}()},cwzr:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("VOfZ"),o=n("zQPq"),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n,this.pending=!1}return r(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 n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),i.root.setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){return void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending?e:i.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 n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(t){n=!0,r=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(o.Action);e.AsyncAction=s},driz:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=a.async),this.lift(new l(t,e))}function i(t){t.debouncedNext()}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("mmVS"),a=n("CGGv");e.debounceTime=r;var l=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.dueTime,this.scheduler))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.dueTime=n,this.scheduler=r,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return o(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(i,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){this.clearDebounce(),this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(s.Subscriber)},eCJc:function(t,e,n){"use strict";var r=n("3j3K"),i=n("2Je8"),o=n("hApb"),s=n("ZwZs");n.d(e,"a",function(){return l});var a=[o.a,o.b,o.c,o.d],l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a]}},t}();l.decorators=[{type:r.NgModule,args:[{declarations:a,exports:a,imports:[i.CommonModule]}]}],l.ctorParameters=function(){return[]}},eErF:function(t,e,n){"use strict";var r=n("rCTf"),i=n("nFIP");r.Observable.prototype.toPromise=i.toPromise},edM1:function(t,e,n){"use strict";var r=n("3j3K"),i=n("v4DA");n.d(e,"d",function(){return s}),n.d(e,"c",function(){return a}),n.d(e,"b",function(){return l}),n.d(e,"a",function(){return u});var o=0,s=function(){function t(t){this.templateRef=t}return t}();s.decorators=[{type:r.Directive,args:[{selector:"ng-template[ngbTabTitle]"}]}],s.ctorParameters=function(){return[{type:r.TemplateRef}]};var a=function(){function t(t){this.templateRef=t}return t}();a.decorators=[{type:r.Directive,args:[{selector:"ng-template[ngbTabContent]"}]}],a.ctorParameters=function(){return[{type:r.TemplateRef}]};var l=function(){function t(){this.id="ngb-tab-"+o++,this.disabled=!1}return t}();l.decorators=[{type:r.Directive,args:[{selector:"ngb-tab"}]}],l.ctorParameters=function(){return[]},l.propDecorators={id:[{type:r.Input}],title:[{type:r.Input}],disabled:[{type:r.Input}],contentTpl:[{type:r.ContentChild,args:[a]}],titleTpl:[{type:r.ContentChild,args:[s]}]};var u=function(){function t(t){this.destroyOnHide=!0,this.tabChange=new r.EventEmitter,this.type=t.type,this.justify=t.justify}return t.prototype.select=function(t){var e=this._getTabById(t);if(e&&!e.disabled&&this.activeId!==e.id){var n=!1;this.tabChange.emit({activeId:this.activeId,nextId:e.id,preventDefault:function(){n=!0}}),n||(this.activeId=e.id)}},t.prototype.ngAfterContentChecked=function(){var t=this._getTabById(this.activeId);this.activeId=t?t.id:this.tabs.length?this.tabs.first.id:null},t.prototype._getTabById=function(t){var e=this.tabs.filter(function(e){return e.id===t});return e.length?e[0]:null},t}();u.decorators=[{type:r.Component,args:[{selector:"ngb-tabset",exportAs:"ngbTabset",template:'\n <ul [class]="\'nav nav-\' + type + \' justify-content-\' + justify" role="tablist">\n <li class="nav-item" *ngFor="let tab of tabs">\n <a [id]="tab.id" class="nav-link" [class.active]="tab.id === activeId" [class.disabled]="tab.disabled"\n href (click)="!!select(tab.id)" role="tab" [attr.tabindex]="(tab.disabled ? \'-1\': undefined)"\n [attr.aria-controls]="(!destroyOnHide || tab.id === activeId ? tab.id + \'-panel\' : null)"\n [attr.aria-expanded]="tab.id === activeId" [attr.aria-disabled]="tab.disabled">\n {{tab.title}}<ng-template [ngTemplateOutlet]="tab.titleTpl?.templateRef"></ng-template>\n </a>\n </li>\n </ul>\n <div class="tab-content">\n <ng-template ngFor let-tab [ngForOf]="tabs">\n <div\n class="tab-pane {{tab.id === activeId ? \'active\' : null}}"\n *ngIf="!destroyOnHide || tab.id === activeId"\n role="tabpanel"\n [attr.aria-labelledby]="tab.id" id="{{tab.id}}-panel"\n [attr.aria-expanded]="tab.id === activeId">\n <ng-template [ngTemplateOutlet]="tab.contentTpl.templateRef"></ng-template>\n </div>\n </ng-template>\n </div>\n '}]}],u.ctorParameters=function(){return[{type:i.a}]},u.propDecorators={tabs:[{type:r.ContentChildren,args:[l]}],activeId:[{type:r.Input}],destroyOnHide:[{type:r.Input}],justify:[{type:r.Input}],type:[{type:r.Input}],tabChange:[{type:r.Output}]}},erNO:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=0),this.lift(new a(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("EEr4");e.windowCount=r;var a=function(){function t(t,e){this.windowSize=t,this.startWindowEvery=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.windowSize,this.startWindowEvery))},t}(),l=function(t){function e(e,n,r){t.call(this,e),this.destination=e,this.windowSize=n,this.startWindowEvery=r,this.windows=[new s.Subject],this.count=0,e.next(this.windows[0])}return i(e,t),e.prototype._next=function(t){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,i=this.windows,o=i.length,a=0;a<o&&!this.closed;a++)i[a].next(t);var l=this.count-r+1;if(l>=0&&l%e==0&&!this.closed&&i.shift().complete(),++this.count%e==0&&!this.closed){var u=new s.Subject;i.push(u),n.next(u)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(o.Subscriber)},f1gJ:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Qt4r");r.Observable.generate=i.GenerateObservable.create},fAHw:function(t,e,n){"use strict";var r=n("lcaH"),i=n("hlt1"),o=n("3j3K");n.d(e,"a",function(){return s});var s=function(){function t(t){this._calendar=t}return t.prototype.generateMonthViewModel=function(t,e,n,r,o){var s={firstDate:null,number:t.month,year:t.year,weeks:[],weekdays:[]};t=this._getFirstViewDate(t,r);for(var a=0;a<this._calendar.getWeeksPerMonth();a++){for(var l=[],u=0;u<this._calendar.getDaysPerWeek();u++){0===a&&s.weekdays.push(this._calendar.getWeekday(t));var c=new i.a(t.year,t.month,t.day),h=e&&c.before(e)||n&&c.after(n);!h&&o&&(h=o(c,{month:s.number,year:s.year})),null===s.firstDate&&t.month===s.number&&(s.firstDate=c),l.push({date:c,disabled:h}),t=this._calendar.getNext(t)}s.weeks.push({number:this._calendar.getWeekNumber(l.map(function(t){return i.a.from(t.date)}),r),days:l})}return s},t.prototype.toValidDate=function(t,e){var n=i.a.from(t);return void 0===e&&(e=this._calendar.getToday()),this._calendar.isValid(n)?n:e},t.prototype._getFirstViewDate=function(t,e){for(var n=this,r=t.month,o=new i.a(t.year,t.month,t.day),s=this._calendar.getPrev(o),a=function(){return o.month!==s.month&&e===n._calendar.getWeekday(o)},l=function(){return o.month!==r&&e===n._calendar.getWeekday(o)};!l()&&!a();)o=new i.a(s.year,s.month,s.day),s=this._calendar.getPrev(s);return o},t}();s.decorators=[{type:o.Injectable}],s.ctorParameters=function(){return[{type:r.a}]}},fICK:function(t,e,n){"use strict";var r=n("rCTf"),i=n("1KT0");r.Observable.merge=i.merge},fO1r:function(t,e,n){"use strict";var r=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.subscribedFrame=t,this.unsubscribedFrame=e}return t}();e.SubscriptionLog=r},fc2Z:function(t,e,n){"use strict";var r=n("5oXY"),i=n("R6W2"),o=n("Zwpz"),s=n("J3Pa");n.d(e,"a",function(){return a});var a=function(){function t(t,e,n,r){this.authService=t,this.router=e,this.sessionService=n,this.ghciService=r,this.usuario=t.getUser()}return t.prototype.ngOnInit=function(){},t.prototype.toggleSidebar=function(t){t.stopPropagation(),document.querySelector("body").classList.toggle("push-right")},t.prototype.rltAndLtr=function(){document.querySelector("body").classList.toggle("rtl")},t.prototype.logout=function(){this.sessionService.reset(),this.ghciService.desconectarWS(),this.router.navigate(["/login"])},t.ctorParameters=function(){return[{type:i.a},{type:r.c},{type:o.a},{type:s.a}]},t}()},fiy1:function(t,e,n){"use strict";var r=n("rCTf"),i=n("u2wr");r.Observable.prototype.withLatestFrom=i.withLatestFrom},ftJA:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("Uqs8"),s=n("P3oE"),a=function(t){function e(e,n,r){void 0===n&&(n=0),void 0===r&&(r=o.asap),t.call(this),this.source=e,this.delayTime=n,this.scheduler=r,(!s.isNumeric(n)||n<0)&&(this.delayTime=0),r&&"function"==typeof r.schedule||(this.scheduler=o.asap)}return r(e,t),e.create=function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=o.asap),new e(t,n,r)},e.dispatch=function(t){var e=t.source,n=t.subscriber;return this.add(e.subscribe(n))},e.prototype._subscribe=function(t){var n=this.delayTime,r=this.source;return this.scheduler.schedule(e.dispatch,n,{source:r,subscriber:t})},e}(i.Observable);e.SubscribeOnObservable=a},fuZx:function(t,e,n){"use strict";function r(t){return t instanceof Date&&!isNaN(+t)}e.isDate=r},g0nL:function(t,e,n){"use strict";var r=n("rCTf"),i=n("tefl");r.Observable.pairs=i.pairs},g28B:function(t,e,n){"use strict";function r(t,e){for(var n=0,r=e.length;n<r;n++)for(var i=e[n],o=Object.getOwnPropertyNames(i.prototype),s=0,a=o.length;s<a;s++){var l=o[s];t.prototype[l]=i.prototype[l]}}e.applyMixins=r},gDzJ:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Imsy");r.Observable.prototype.windowWhen=i.windowWhen},gEbu:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return l}),n.d(e,"b",function(){return u});var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=["Mo","Tu","We","Th","Fr","Sa","Su"],s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],a=["January","February","March","April","May","June","July","August","September","October","November","December"],l=function(){function t(){}return t}();l.decorators=[{type:r.Injectable}],l.ctorParameters=function(){return[]};var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getWeekdayShortName=function(t){return o[t-1]},e.prototype.getMonthShortName=function(t){return s[t-1]},e.prototype.getMonthFullName=function(t){return a[t-1]},e}(l);u.decorators=[{type:r.Injectable}],u.ctorParameters=function(){return[]}},gIFM:function(t,e,n){"use strict";var r=n("Dc2k");e.ajax=r.AjaxObservable.create},gi2R:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("cwzr"),o=n("OLzJ"),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return r(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=o.AnimationFrame.requestAnimationFrame(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(o.AnimationFrame.cancelAnimationFrame(n),e.scheduled=void 0)},e}(i.AsyncAction);e.AnimationFrameAction=s},"h+Bk":function(t,e,n){"use strict";function r(t){return o["ɵvid"](2,[(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"div",[["class","tooltip-inner"]],null,null,null,null,null)),o["ɵncd"](null,0),(t()(),o["ɵted"](null,["\n "]))],null,null)}function i(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"ngb-tooltip-window",[["role","tooltip"]],[[8,"className",0],[8,"id",0]],null,null,s.b,s.c)),o["ɵdid"](49152,null,0,a.b,[],null,null)],null,function(t,e){t(e,0,0,"tooltip show tooltip-"+o["ɵnov"](e,1).placement,o["ɵnov"](e,1).id)})}var o=n("3j3K"),s=n("h+Bk"),a=n("sgnN");n.d(e,"c",function(){return u}),e.b=r,n.d(e,"a",function(){return c});var l=[],u=o["ɵcrt"]({encapsulation:2,styles:l,data:{}}),c=o["ɵccf"]("ngb-tooltip-window",a.b,i,{placement:"placement",id:"id"},{},["*"])},h0qH:function(t,e,n){"use strict";var r=n("rCTf"),i=n("s3oX");r.Observable.throw=i._throw},hApb:function(t,e,n){"use strict";var r=n("3j3K"),i=n("2yGx"),o=n("ZwZs");n.d(e,"c",function(){return a}),n.d(e,"d",function(){return l}),n.d(e,"b",function(){return u}),n.d(e,"a",function(){return c});var s=0,a=function(){function t(t){this.templateRef=t}return t}();a.decorators=[{type:r.Directive,args:[{selector:"ng-template[ngbPanelTitle]"}]}],a.ctorParameters=function(){return[{type:r.TemplateRef}]};var l=function(){function t(t){this.templateRef=t}return t}();l.decorators=[{type:r.Directive,args:[{selector:"ng-template[ngbPanelContent]"}]}],l.ctorParameters=function(){return[{type:r.TemplateRef}]};var u=function(){function t(){this.disabled=!1,this.id="ngb-panel-"+s++}return t}();u.decorators=[{type:r.Directive,args:[{selector:"ngb-panel"}]}],u.ctorParameters=function(){return[]},u.propDecorators={disabled:[{type:r.Input}],id:[{type:r.Input}],title:[{type:r.Input}],type:[{type:r.Input}],contentTpl:[{type:r.ContentChild,args:[l]}],titleTpl:[{type:r.ContentChild,args:[a]}]};var c=function(){function t(t){this._states=new Map,this._panelRefs=new Map,this.activeIds=[],this.panelChange=new r.EventEmitter,this.type=t.type,this.closeOtherPanels=t.closeOthers}return t.prototype.toggle=function(t){var e=this._panelRefs.get(t);if(e&&!e.disabled){var n=!this._states.get(t),r=!1;this.panelChange.emit({panelId:t,nextState:n,preventDefault:function(){r=!0}}),r||(this._states.set(t,n),this.closeOtherPanels&&this._closeOthers(t),this._updateActiveIds())}},t.prototype.ngAfterContentChecked=function(){n.i(i.f)(this.activeIds)&&(this.activeIds=this.activeIds.split(/\s*,\s*/)),this._updateStates(),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0]),this._updateActiveIds())},t.prototype.isOpen=function(t){return this._states.get(t)},t.prototype._closeOthers=function(t){var e=this;this._states.forEach(function(n,r){r!==t&&e._states.set(r,!1)})},t.prototype._updateActiveIds=function(){var t=this;this.activeIds=this.panels.toArray().filter(function(e){return t.isOpen(e.id)&&!e.disabled}).map(function(t){return t.id})},t.prototype._updateStates=function(){var t=this;this._states.clear(),this._panelRefs.clear(),this.panels.toArray().forEach(function(e){t._states.set(e.id,t.activeIds.indexOf(e.id)>-1&&!e.disabled),t._panelRefs.set(e.id,e)})},t}();c.decorators=[{type:r.Component,args:[{selector:"ngb-accordion",exportAs:"ngbAccordion",host:{role:"tablist","[attr.aria-multiselectable]":"!closeOtherPanels"},template:'\n <div class="card">\n <ng-template ngFor let-panel [ngForOf]="panels">\n <div role="tab" id="{{panel.id}}-header"\n [class]="\'card-header \' + (panel.type ? \'card-\'+panel.type: type ? \'card-\'+type : \'\')" [class.active]="isOpen(panel.id)">\n <a href (click)="!!toggle(panel.id)" [class.text-muted]="panel.disabled" [attr.tabindex]="(panel.disabled ? \'-1\' : null)"\n [attr.aria-expanded]="isOpen(panel.id)" [attr.aria-controls]="(isOpen(panel.id) ? panel.id : null)"\n [attr.aria-disabled]="panel.disabled">\n {{panel.title}}<ng-template [ngTemplateOutlet]="panel.titleTpl?.templateRef"></ng-template>\n </a>\n </div>\n <div id="{{panel.id}}" role="tabpanel" [attr.aria-labelledby]="panel.id + \'-header\'" class="card-block" *ngIf="isOpen(panel.id)">\n <ng-template [ngTemplateOutlet]="panel.contentTpl.templateRef"></ng-template>\n </div>\n </ng-template>\n </div>\n'}]}],c.ctorParameters=function(){return[{type:o.a}]},c.propDecorators={panels:[{type:r.ContentChildren,args:[u]}],activeIds:[{type:r.Input}],closeOtherPanels:[{type:r.Input,args:["closeOthers"]}],type:[{type:r.Input}],panelChange:[{type:r.Output}]}},hUSH:function(t,e,n){"use strict";var r=n("2yGx");n.d(e,"a",function(){return i});var i=function(){function t(t,e,i){this.hour=n.i(r.b)(t),this.minute=n.i(r.b)(e),this.second=n.i(r.b)(i)}return t.prototype.changeHour=function(t){void 0===t&&(t=1),this.updateHour((isNaN(this.hour)?0:this.hour)+t)},t.prototype.updateHour=function(t){n.i(r.a)(t)?this.hour=(t<0?24+t:t)%24:this.hour=NaN},t.prototype.changeMinute=function(t){void 0===t&&(t=1),this.updateMinute((isNaN(this.minute)?0:this.minute)+t)},t.prototype.updateMinute=function(t){n.i(r.a)(t)?(this.minute=t%60<0?60+t%60:t%60,this.changeHour(Math.floor(t/60))):this.minute=NaN},t.prototype.changeSecond=function(t){void 0===t&&(t=1),this.updateSecond((isNaN(this.second)?0:this.second)+t)},t.prototype.updateSecond=function(t){n.i(r.a)(t)?(this.second=t<0?60+t%60:t%60,this.changeMinute(Math.floor(t/60))):this.second=NaN},t.prototype.isValid=function(t){return void 0===t&&(t=!0),n.i(r.a)(this.hour)&&n.i(r.a)(this.minute)&&(!t||n.i(r.a)(this.second))},t.prototype.toString=function(){return(this.hour||0)+":"+(this.minute||0)+":"+(this.second||0)},t}()},hY6I:function(t,e,n){"use strict";var r=n("3j3K"),i=n("NVOs"),o=n("hlt1"),s=n("/KGk"),a=n("7DGp"),l=n("jRSa"),u=n("lcaH"),c=n("fAHw");n.d(e,"a",function(){return f});var h={provide:i.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return f}),multi:!0},p={provide:i.NG_VALIDATORS,useExisting:n.i(r.forwardRef)(function(){return f}),multi:!0},f=function(){function t(t,e,i,o,s,a,u,c){var h=this;this._parserFormatter=t,this._elRef=e,this._vcRef=i,this._renderer=o,this._cfr=s,this._service=u,this._calendar=c,this._cRef=null,this.navigate=new r.EventEmitter,this._onChange=function(t){},this._onTouched=function(){},this._validatorChange=function(){},this._zoneSubscription=a.onStable.subscribe(function(){h._cRef&&n.i(l.a)(h._elRef.nativeElement,h._cRef.location.nativeElement,"bottom-left")})}return t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.registerOnValidatorChange=function(t){this._validatorChange=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elRef.nativeElement,"disabled",t),this.isOpen()&&this._cRef.instance.setDisabledState(t)},t.prototype.validate=function(t){var e=t.value;return null===e||void 0===e?null:this._calendar.isValid(e)?this.minDate&&o.a.from(e).before(o.a.from(this.minDate))?{ngbDate:{requiredBefore:this.minDate}}:this.maxDate&&o.a.from(e).after(o.a.from(this.maxDate))?{ngbDate:{requiredAfter:this.maxDate}}:void 0:{ngbDate:{invalid:t.value}}},t.prototype.writeValue=function(t){var e=t?new o.a(t.year,t.month,t.day):null;this._model=this._calendar.isValid(t)?e:null,this._writeModelValue(this._model)},t.prototype.manualDateChange=function(t){this._model=this._service.toValidDate(this._parserFormatter.parse(t),null),this._onChange(this._model?{year:this._model.year,month:this._model.month,day:this._model.day}:t),this._writeModelValue(this._model)},t.prototype.isOpen=function(){return!!this._cRef},t.prototype.open=function(){var t=this;if(!this.isOpen()){var e=this._cfr.resolveComponentFactory(s.a);this._cRef=this._vcRef.createComponent(e),this._applyPopupStyling(this._cRef.location.nativeElement),this._cRef.instance.writeValue(this._model),this._applyDatepickerInputs(this._cRef.instance),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.registerOnChange(function(e){t.writeValue(e),t._onChange(e),t.close()})}},t.prototype.close=function(){this.isOpen()&&(this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null)},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype.navigateTo=function(t){this.isOpen()&&this._cRef.instance.navigateTo(t)},t.prototype.onBlur=function(){this._onTouched()},t.prototype.ngOnChanges=function(t){(t.minDate||t.maxDate)&&this._validatorChange()},t.prototype.ngOnDestroy=function(){this.close(),this._zoneSubscription.unsubscribe()},t.prototype._applyDatepickerInputs=function(t){var e=this;["dayTemplate","displayMonths","firstDayOfWeek","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekdays","showWeekNumbers"].forEach(function(n){void 0!==e[n]&&(t[n]=e[n])}),t.startDate=this.startDate||this._model},t.prototype._applyPopupStyling=function(t){this._renderer.addClass(t,"dropdown-menu"),this._renderer.setStyle(t,"padding","0")},t.prototype._subscribeForDatepickerOutputs=function(t){var e=this;t.navigate.subscribe(function(t){return e.navigate.emit(t)})},t.prototype._writeModelValue=function(t){this._renderer.setProperty(this._elRef.nativeElement,"value",this._parserFormatter.format(t)),this.isOpen()&&(this._cRef.instance.writeValue(t),this._onTouched())},t}();f.decorators=[{type:r.Directive,args:[{selector:"input[ngbDatepicker]",exportAs:"ngbDatepicker",host:{"(change)":"manualDateChange($event.target.value)","(keyup.esc)":"close()","(blur)":"onBlur()"},providers:[h,p,c.a]}]}],f.ctorParameters=function(){return[{type:a.a},{type:r.ElementRef},{type:r.ViewContainerRef},{type:r.Renderer2},{type:r.ComponentFactoryResolver},{type:r.NgZone},{type:c.a},{type:u.a}]},f.propDecorators={dayTemplate:[{type:r.Input}],displayMonths:[{type:r.Input}],firstDayOfWeek:[{type:r.Input}],markDisabled:[{type:r.Input}],minDate:[{type:r.Input}],maxDate:[{type:r.Input}],navigation:[{type:r.Input}],outsideDays:[{type:r.Input}],showWeekdays:[{type:r.Input}],showWeekNumbers:[{type:r.Input}],startDate:[{type:r.Input}],navigate:[{type:r.Output}]}},hiKS:function(t,e,n){"use strict";function r(t){return this.lift(new i.ZipOperator(t))}var i=n("RYQg");e.zipAll=r},hlt1:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){function t(t,e,n){this.year=t,this.month=e,this.day=n}return t.from=function(e){return e?new t(e.year,e.month,e.day?e.day:1):null},t.prototype.equals=function(t){return t&&this.year===t.year&&this.month===t.month&&this.day===t.day},t.prototype.before=function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day<t.day:this.month<t.month:this.year<t.year)},t.prototype.after=function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day>t.day:this.month>t.month:this.year>t.year)},t.prototype.toString=function(){return this.year+"-"+this.month+"-"+this.day},t}()},hs6U:function(t,e,n){"use strict";var r=n("rCTf"),i=n("GZqV");r.Observable.prototype.find=i.find},hwnt:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekdays=!0,this.showWeekNumbers=!1}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},hzF8:function(t,e,n){"use strict";var r=n("rCTf"),i=n("POFt");r.Observable.prototype.take=i.take},iESu:function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof e&&(n=e,e=null),this.lift(new a(t,e,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.mergeMapTo=r;var a=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.ish=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.ish,this.resultSelector,this.concurrent))},t}();e.MergeMapToOperator=a;var l=function(t){function e(e,n,r,i){void 0===i&&(i=Number.POSITIVE_INFINITY),t.call(this,e),this.ish=n,this.resultSelector=r,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return i(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.resultSelector,n=this.index++,r=this.ish,i=this.destination;this.active++,this._innerSub(r,i,e,t,n)}else this.buffer.push(t)},e.prototype._innerSub=function(t,e,n,r,i){this.add(s.subscribeToResult(this,t,r,i))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this,s=o.resultSelector,a=o.destination;s?this.trySelectResult(t,e,n,r):a.next(e)},e.prototype.trySelectResult=function(t,e,n,r){var i,o=this,s=o.resultSelector,a=o.destination;try{i=s(t,e,n,r)}catch(t){return void a.error(t)}a.next(i)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber);e.MergeMapToSubscriber=l},iIfT:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Ffu+");r.Observable.prototype.pairwise=i.pairwise},iJMh:function(t,e,n){"use strict";var r=n("rCTf"),i=n("7rB9");r.Observable.forkJoin=i.forkJoin},iUY6:function(t,e,n){"use strict";var r=n("rCTf"),i=n("5nj5");r.Observable.if=i._if},iod1:function(t,e,n){"use strict";var r=n("rCTf"),i=n("8/gC");r.Observable.zip=i.zip},ixac:function(t,e,n){"use strict";var r=n("rCTf"),i=n("RYQg");r.Observable.prototype.zip=i.zipProto},j7ye:function(t,e,n){"use strict";var r=n("rCTf"),i=n("emOw");r.Observable.prototype.multicast=i.multicast},jDQW:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Mqdq");r.Observable.prototype.bufferToggle=i.bufferToggle},jF50:function(t,e,n){"use strict";var r=n("rCTf"),i=n("KKz1");r.Observable.prototype.throttleTime=i.throttleTime},jRSa:function(t,e,n){"use strict";function r(t,e,n,r){var i=o.positionElements(t,e,n,r);e.style.top=i.top+"px",e.style.left=i.left+"px"}e.a=r;var i=function(){function t(){}return t.prototype.getStyle=function(t,e){return window.getComputedStyle(t)[e]},t.prototype.isStaticPositioned=function(t){return"static"===(this.getStyle(t,"position")||"static")},t.prototype.offsetParent=function(t){for(var e=t.offsetParent||document.documentElement;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement},t.prototype.position=function(t,e){void 0===e&&(e=!0);var n,r={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(t,"position"))n=t.getBoundingClientRect();else{var i=this.offsetParent(t);n=this.offset(t,!1),i!==document.documentElement&&(r=this.offset(i,!1)),r.top+=i.clientTop,r.left+=i.clientLeft}return n.top-=r.top,n.bottom-=r.top,n.left-=r.left,n.right-=r.left,e&&(n.top=Math.round(n.top),n.bottom=Math.round(n.bottom),n.left=Math.round(n.left),n.right=Math.round(n.right)),n},t.prototype.offset=function(t,e){void 0===e&&(e=!0);var n=t.getBoundingClientRect(),r={top:window.pageYOffset-document.documentElement.clientTop,left:window.pageXOffset-document.documentElement.clientLeft},i={height:n.height||t.offsetHeight,width:n.width||t.offsetWidth,top:n.top+r.top,bottom:n.bottom+r.top,left:n.left+r.left,right:n.right+r.left};return e&&(i.height=Math.round(i.height),i.width=Math.round(i.width),i.top=Math.round(i.top),i.bottom=Math.round(i.bottom),i.left=Math.round(i.left),i.right=Math.round(i.right)),i},t.prototype.positionElements=function(t,e,n,r){var i=r?this.offset(t,!1):this.position(t,!1),o={left:i.left,center:i.left+i.width/2-e.offsetWidth/2,right:i.left+i.width},s={top:i.top,center:i.top+i.height/2-e.offsetHeight/2,bottom:i.top+i.height},a=e.getBoundingClientRect(),l=n.split("-")[0]||"top",u=n.split("-")[1]||"center",c={height:a.height||e.offsetHeight,width:a.width||e.offsetWidth,top:0,bottom:a.height||e.offsetHeight,left:0,right:a.width||e.offsetWidth};switch(l){case"top":c.top=i.top-e.offsetHeight,c.bottom+=i.top-e.offsetHeight,c.left=o[u],c.right+=o[u];break;case"bottom":c.top=s[l],c.bottom+=s[l],c.left=o[u],c.right+=o[u];break;case"left":c.top=s[u],c.bottom+=s[u],c.left=i.left-e.offsetWidth,c.right+=i.left-e.offsetWidth;break;case"right":c.top=s[u],c.bottom+=s[u],c.left=o[l],c.right+=o[l]}return c.top=Math.round(c.top),c.bottom=Math.round(c.bottom),c.left=Math.round(c.left),c.right=Math.round(c.right),c},t}(),o=new i},jdTm:function(t,e,n){"use strict";var r=n("jnJ8");e.timer=r.TimerObservable.create},jdeX:function(t,e,n){"use strict";var r=n("rCTf"),i=n("jdTm");r.Observable.timer=i.timer},jnJ8:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("P3oE"),o=n("rCTf"),s=n("CGGv"),a=n("fWbP"),l=n("fuZx"),u=function(t){function e(e,n,r){void 0===e&&(e=0),t.call(this),this.period=-1,this.dueTime=0,i.isNumeric(n)?this.period=Number(n)<1&&1||Number(n):a.isScheduler(n)&&(r=n),a.isScheduler(r)||(r=s.async),this.scheduler=r,this.dueTime=l.isDate(e)?+e-this.scheduler.now():e}return r(e,t),e.create=function(t,n,r){return void 0===t&&(t=0),new e(t,n,r)},e.dispatch=function(t){var e=t.index,n=t.period,r=t.subscriber,i=this;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,i.schedule(t,n)}},e.prototype._subscribe=function(t){var n=this,r=n.period,i=n.dueTime;return n.scheduler.schedule(e.dispatch,i,{index:0,period:r,subscriber:t})},e}(o.Observable);e.TimerObservable=u},jtp5:function(t,e,n){"use strict";function r(t){return o["ɵvid"](2,[(t()(),o["ɵted"](null,["\n "])),(t()(),o["ɵeld"](0,null,null,1,"h3",[["class","popover-title"]],null,null,null,null,null)),(t()(),o["ɵted"](null,["",""])),(t()(),o["ɵeld"](0,null,null,1,"div",[["class","popover-content"]],null,null,null,null,null)),o["ɵncd"](null,0),(t()(),o["ɵted"](null,["\n "]))],null,function(t,e){t(e,2,0,e.component.title)})}function i(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"ngb-popover-window",[["role","tooltip"]],[[8,"className",0],[8,"id",0]],null,null,a.b,a.c)),o["ɵdid"](49152,null,0,s.b,[],null,null)],null,function(t,e){t(e,0,0,"popover show popover-"+o["ɵnov"](e,1).placement,o["ɵnov"](e,1).id)})}var o=n("3j3K"),s=n("WtNX"),a=n("jtp5");n.d(e,"c",function(){return u}),e.b=r,n.d(e,"a",function(){return c});var l=[],u=o["ɵcrt"]({encapsulation:2,styles:l,data:{}}),c=o["ɵccf"]("ngb-popover-window",s.b,i,{placement:"placement",title:"title",id:"id"},{},["*"])},jvbR:function(t,e,n){"use strict";var r=n("rCTf"),i=n("bE1M");r.Observable.prototype.concatMap=i.concatMap},k27J:function(t,e,n){"use strict";var r=n("rCTf"),i=n("X2ud");r.Observable.prototype.combineAll=i.combineAll},kcyo:function(t,e,n){"use strict";var r=n("VOfZ"),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,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}return!1},t.prototype.partiallyApplied=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=function t(){var e=t,n=e.handler,r=e.args;"function"==typeof n?n.apply(void 0,r):new Function(""+n)()};return r.handler=t,r.args=e,r},t.prototype.addFromSetImmediateArguments=function(t){return this.tasksByHandle[this.nextHandle]=this.partiallyApplied.apply(void 0,t),this.nextHandle++},t.prototype.createProcessNextTickSetImmediate=function(){var t=function t(){var e=t.instance,n=e.addFromSetImmediateArguments(arguments);return e.root.process.nextTick(e.partiallyApplied(e.runIfPresent,n)),n};return t.instance=this,t},t.prototype.createPostMessageSetImmediate=function(){var t=this.root,e="setImmediate$"+t.Math.random()+"$",n=function n(r){var i=n.instance;r.source===t&&"string"==typeof r.data&&0===r.data.indexOf(e)&&i.runIfPresent(+r.data.slice(e.length))};n.instance=this,t.addEventListener("message",n,!1);var r=function t(){var e=t,n=e.messagePrefix,r=e.instance,i=r.addFromSetImmediateArguments(arguments);return r.root.postMessage(n+i,"*"),i};return r.instance=this,r.messagePrefix=e,r},t.prototype.runIfPresent=function(t){if(this.currentlyRunningATask)this.root.setTimeout(this.partiallyApplied(this.runIfPresent,t),0);else{var e=this.tasksByHandle[t];if(e){this.currentlyRunningATask=!0;try{e()}finally{this.clearImmediate(t),this.currentlyRunningATask=!1}}}},t.prototype.createMessageChannelSetImmediate=function(){var t=this,e=new this.root.MessageChannel;e.port1.onmessage=function(e){var n=e.data;t.runIfPresent(n)};var n=function t(){var e=t,n=e.channel,r=e.instance,i=r.addFromSetImmediateArguments(arguments);return n.port2.postMessage(i),i};return n.channel=e,n.instance=this,n},t.prototype.createReadyStateChangeSetImmediate=function(){var t=function t(){var e=t.instance,n=e.root,r=n.document,i=r.documentElement,o=e.addFromSetImmediateArguments(arguments),s=r.createElement("script");return s.onreadystatechange=function(){e.runIfPresent(o),s.onreadystatechange=null,i.removeChild(s),s=null},i.appendChild(s),o};return t.instance=this,t},t.prototype.createSetTimeoutSetImmediate=function(){var t=function t(){var e=t.instance,n=e.addFromSetImmediateArguments(arguments);return e.root.setTimeout(e.partiallyApplied(e.runIfPresent,n),0),n};return t.instance=this,t},t}();e.ImmediateDefinition=i,e.Immediate=new i(r.root)},kgIC:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.collapsed=!1}return t}();i.decorators=[{type:r.Directive,args:[{selector:"[ngbCollapse]",exportAs:"ngbCollapse",host:{"[class.collapse]":"true","[class.show]":"!collapsed"}}]}],i.ctorParameters=function(){return[]},i.propDecorators={collapsed:[{type:r.Input,args:["ngbCollapse"]}]}},kzcK:function(t,e,n){"use strict";var r=n("3j3K"),i=n("eCJc"),o=n("RX2M"),s=n("M0cT"),a=n("/I96"),l=n("vfkA"),u=n("qsK9"),c=n("MSQt"),h=n("UyZi"),p=n("Ep2y"),f=n("WKBe"),d=n("1Z2I"),v=n("A8b0"),m=n("as+d"),g=n("62nT"),y=n("yDyO"),b=n("K/oD");n.d(e,"a",function(){return x}),n.d(e,"b",function(){return C});var w=[i.a,o.a,s.a,a.a,l.a,u.a,c.a,h.a,p.a,f.a,d.a,v.a,m.a,g.a,y.a,b.a],x=function(){function t(){}return t}();x.decorators=[{type:r.NgModule,args:[{imports:[o.a.forRoot(),s.a.forRoot(),l.a.forRoot(),d.a.forRoot(),y.a.forRoot(),b.a.forRoot(),i.a.forRoot(),a.a.forRoot(),u.a.forRoot(),c.a.forRoot(),h.a.forRoot(),p.a.forRoot(),f.a.forRoot(),d.a.forRoot(),v.a.forRoot(),m.a.forRoot(),g.a.forRoot(),y.a.forRoot()],exports:w}]}],x.ctorParameters=function(){return[]};var C=function(){function t(){}return t.forRoot=function(){return{ngModule:x}},t}();C.decorators=[{type:r.NgModule,args:[{imports:w,exports:w}]}],C.ctorParameters=function(){return[]}},l19J:function(t,e,n){"use strict";function r(t){return 0===t?new a.EmptyObservable:this.lift(new l(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("8Z8y"),a=n("jBEF");e.takeLast=r;var l=function(){function t(t){if(this.total=t,this.total<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){t.call(this,e),this.total=n,this.ring=new Array,this.count=0}return i(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;if(e.length<n)e.push(t);else{e[r%n]=t}},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<n;i++){var o=e++%n;t.next(r[o])}t.complete()},e}(o.Subscriber)},l5HU:function(t,e,n){"use strict";var r=n("3j3K"),i=n("DDfv");n.d(e,"a",function(){return l});var o=0,s=function(){function t(t){this.tplRef=t,this.id="ngb-slide-"+o++}return t}();s.decorators=[{type:r.Directive,args:[{selector:"ng-template[ngbSlide]"}]}],s.ctorParameters=function(){return[{type:r.TemplateRef}]},s.propDecorators={id:[{type:r.Input}]};var a=function(){function t(t){this.interval=t.interval,this.wrap=t.wrap,this.keyboard=t.keyboard}return t.prototype.ngAfterContentChecked=function(){var t=this._getSlideById(this.activeId);this.activeId=t?t.id:this.slides.length?this.slides.first.id:null},t.prototype.ngOnInit=function(){this._startTimer()},t.prototype.ngOnDestroy=function(){clearInterval(this._slideChangeInterval)},t.prototype.select=function(t){this.cycleToSelected(t),this._restartTimer()},t.prototype.prev=function(){this.cycleToPrev(),this._restartTimer()},t.prototype.next=function(){this.cycleToNext(),this._restartTimer()},t.prototype.pause=function(){this._stopTimer()},t.prototype.cycle=function(){this._startTimer()},t.prototype.cycleToNext=function(){this.cycleToSelected(this._getNextSlide(this.activeId))},t.prototype.cycleToPrev=function(){this.cycleToSelected(this._getPrevSlide(this.activeId))},t.prototype.cycleToSelected=function(t){var e=this._getSlideById(t);e&&(this.activeId=e.id)},t.prototype.keyPrev=function(){this.keyboard&&this.prev()},t.prototype.keyNext=function(){this.keyboard&&this.next()},t.prototype._restartTimer=function(){this._stopTimer(),this._startTimer()},t.prototype._startTimer=function(){var t=this;this.interval>0&&(this._slideChangeInterval=setInterval(function(){t.cycleToNext()},this.interval))},t.prototype._stopTimer=function(){clearInterval(this._slideChangeInterval)},t.prototype._getSlideById=function(t){var e=this.slides.filter(function(e){return e.id===t});return e.length?e[0]:null},t.prototype._getSlideIdxById=function(t){return this.slides.toArray().indexOf(this._getSlideById(t))},t.prototype._getNextSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return n===e.length-1?this.wrap?e[0].id:e[e.length-1].id:e[n+1].id},t.prototype._getPrevSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return 0===n?this.wrap?e[e.length-1].id:e[0].id:e[n-1].id},t}();a.decorators=[{type:r.Component,args:[{selector:"ngb-carousel",exportAs:"ngbCarousel",host:{class:"carousel slide","[style.display]":'"block"',tabIndex:"0","(mouseenter)":"pause()","(mouseleave)":"cycle()","(keydown.arrowLeft)":"keyPrev()","(keydown.arrowRight)":"keyNext()"},template:'\n <ol class="carousel-indicators">\n <li *ngFor="let slide of slides" [id]="slide.id" [class.active]="slide.id === activeId" (click)="cycleToSelected(slide.id)"></li>\n </ol>\n <div class="carousel-inner">\n <div *ngFor="let slide of slides" class="carousel-item" [class.active]="slide.id === activeId">\n <ng-template [ngTemplateOutlet]="slide.tplRef"></ng-template>\n </div>\n </div>\n <a class="left carousel-control-prev" role="button" (click)="cycleToPrev()">\n <span class="carousel-control-prev-icon" aria-hidden="true"></span>\n <span class="sr-only">Previous</span>\n </a>\n <a class="right carousel-control-next" role="button" (click)="cycleToNext()">\n <span class="carousel-control-next-icon" aria-hidden="true"></span>\n <span class="sr-only">Next</span>\n </a>\n '}]}],a.ctorParameters=function(){return[{type:i.a}]},a.propDecorators={slides:[{type:r.ContentChildren,args:[s]}],interval:[{type:r.Input}],wrap:[{type:r.Input}],keyboard:[{type:r.Input}],activeId:[{type:r.Input}]};var l=[a,s]},lU4I:function(t,e,n){"use strict";var r=n("8MUz");e.concat=r.concatStatic},lUPc:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("3j3K"),i=n("Z+/+"),o=n("7ldD"),s=n("h+Bk"),a=n("IiyU"),l=n("2NoN"),u=n("xiEB"),c=n("SDm3"),h=n("jtp5"),p=n("tnfx"),f=n("2Je8"),d=n("NVOs"),v=n("CXHW"),m=n("3kwk"),g=n("gFLb"),y=n("nCuf"),b=n("qKow"),w=n("cG9e"),x=n("ZwZs"),C=n("DDfv"),O=n("lcaH"),S=n("gEbu"),_=n("7DGp"),T=n("hwnt"),k=n("c7mC"),M=n("K0TW"),I=n("ETCP"),P=n("aKiW"),A=n("v4DA"),E=n("tyH+"),D=n("R6W2"),R=n("Fzro"),N=n("FR2h"),L=n("RX2M"),j=n("M0cT"),W=n("vfkA"),F=n("1Z2I"),V=n("yDyO"),H=n("K/oD"),z=n("eCJc"),B=n("/I96"),U=n("qsK9"),q=n("MSQt"),K=n("UyZi"),G=n("Ep2y"),Y=n("WKBe"),X=n("A8b0"),J=n("as+d"),Z=n("62nT"),Q=n("kzcK"),$=n("5oXY"),tt=n("LaEG"),et=n("GW10"),nt=(n.n(et),n("kd+i")),rt=n("cqY6");n.d(e,"LayoutModuleNgFactory",function(){return it});var it=r["ɵcmf"](i.a,[],function(t){return r["ɵmod"]([r["ɵmpd"](512,r.ComponentFactoryResolver,r["ɵCodegenComponentFactoryResolver"],[[8,[o.a,s.a,a.a,l.a,u.a,c.a,h.a,p.a]],[3,r.ComponentFactoryResolver],r.NgModuleRef]),r["ɵmpd"](4608,f.NgLocalization,f.NgLocaleLocalization,[r.LOCALE_ID]),r["ɵmpd"](4608,d["ɵi"],d["ɵi"],[]),r["ɵmpd"](4608,v.a,v.a,[r.ApplicationRef,r.Injector,r.ComponentFactoryResolver]),r["ɵmpd"](4608,m.a,m.a,[r.ComponentFactoryResolver,r.Injector,v.a]),r["ɵmpd"](4608,g.a,g.a,[]),r["ɵmpd"](4608,y.a,y.a,[]),r["ɵmpd"](4608,b.a,b.a,[]),r["ɵmpd"](4608,w.a,w.a,[]),r["ɵmpd"](4608,x.a,x.a,[]),r["ɵmpd"](4608,C.a,C.a,[]),r["ɵmpd"](4608,O.a,O.b,[]),r["ɵmpd"](4608,S.a,S.b,[]),r["ɵmpd"](4608,_.a,_.b,[]),r["ɵmpd"](4608,T.a,T.a,[]),r["ɵmpd"](4608,k.a,k.a,[]),r["ɵmpd"](4608,M.a,M.a,[]),r["ɵmpd"](4608,I.a,I.a,[]),r["ɵmpd"](4608,P.a,P.a,[]),r["ɵmpd"](4608,A.a,A.a,[]),r["ɵmpd"](4608,E.a,E.a,[]),r["ɵmpd"](4608,D.a,D.a,[R.i]),r["ɵmpd"](4608,N.a,N.a,[R.i,D.a]),r["ɵmpd"](512,f.CommonModule,f.CommonModule,[]),r["ɵmpd"](512,d["ɵba"],d["ɵba"],[]),r["ɵmpd"](512,d.FormsModule,d.FormsModule,[]),r["ɵmpd"](512,L.a,L.a,[]),r["ɵmpd"](512,j.a,j.a,[]),r["ɵmpd"](512,W.a,W.a,[]),r["ɵmpd"](512,F.a,F.a,[]),r["ɵmpd"](512,V.a,V.a,[]),r["ɵmpd"](512,H.a,H.a,[]),r["ɵmpd"](512,z.a,z.a,[]),r["ɵmpd"](512,B.a,B.a,[]),r["ɵmpd"](512,U.a,U.a,[]),r["ɵmpd"](512,q.a,q.a,[]),r["ɵmpd"](512,K.a,K.a,[]),r["ɵmpd"](512,G.a,G.a,[]),r["ɵmpd"](512,Y.a,Y.a,[]),r["ɵmpd"](512,X.a,X.a,[]),r["ɵmpd"](512,J.a,J.a,[]),r["ɵmpd"](512,Z.a,Z.a,[]),r["ɵmpd"](512,Q.a,Q.a,[]),r["ɵmpd"](512,$.x,$.x,[[2,$.k],[2,$.c]]),r["ɵmpd"](512,tt.a,tt.a,[]),r["ɵmpd"](512,et.CodemirrorModule,et.CodemirrorModule,[]),r["ɵmpd"](512,nt.a,nt.a,[]),r["ɵmpd"](512,i.a,i.a,[]),r["ɵmpd"](1024,$.t,function(){return[[{path:"",component:rt.a,children:[{path:"matefun",loadChildren:"./matefun/matefun.module#MateFunModule"},{path:"archivos",loadChildren:"./archivos/archivos.module#ArchivosModule"},{path:"grupos",loadChildren:"./grupos/grupos.module#GruposModule"}]}]]},[])])})},lcaH:function(t,e,n){"use strict";function r(t){return new o.a(t.getFullYear(),t.getMonth()+1,t.getDate())}function i(t){var e=new Date(t.year,t.month-1,t.day);return isNaN(e.getTime())||e.setFullYear(t.year),e}var o=n("hlt1"),s=n("3j3K"),a=n("2yGx");n.d(e,"a",function(){return u}),n.d(e,"b",function(){return c});var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(){function t(){}return t}();u.decorators=[{type:s.Injectable}],u.ctorParameters=function(){return[]};var c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.getDaysPerWeek=function(){return 7},e.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},e.prototype.getWeeksPerMonth=function(){return 6},e.prototype.getNext=function(t,e,n){void 0===e&&(e="d"),void 0===n&&(n=1);var s=i(t);switch(e){case"y":return new o.a(t.year+n,1,1);case"m":s=new Date(t.year,t.month+n-1,1);break;case"d":s.setDate(s.getDate()+n);break;default:return t}return r(s)},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e="d"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=i(t),n=e.getDay();return 0===n?7:n},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=(11-e)%7,r=t[n],o=i(r);o.setDate(o.getDate()+4-(o.getDay()||7));var s=o.getTime();return o.setMonth(0),o.setDate(1),Math.floor(Math.round((s-o.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return r(new Date)},e.prototype.isValid=function(t){if(!(t&&n.i(a.i)(t.year)&&n.i(a.i)(t.month)&&n.i(a.i)(t.day)))return!1;var e=i(t);return!isNaN(e.getTime())&&e.getFullYear()===t.year&&e.getMonth()+1===t.month&&e.getDate()===t.day},e}(u);c.decorators=[{type:s.Injectable}],c.ctorParameters=function(){return[]}},"lh/Z":function(t,e,n){"use strict";var r=n("rCTf"),i=n("3eju");r.Observable.webSocket=i.webSocket},mQmC:function(t,e,n){"use strict";var r=n("RSMh");e.using=r.UsingObservable.create},mwbX:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=window.location.protocol+"//"+window.location.host,i="http:"==window.location.protocol?"ws://"+window.location.host+"/endpoint":"wss://"+window.location.host+"/endpoint"},nCuf:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.max=100,this.animated=!1,this.striped=!1,this.showValue=!1}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},nDCe:function(t,e,n){"use strict";var r=n("rCTf"),i=n("PN3d");r.Observable.prototype.publishBehavior=i.publishBehavior},nFIP:function(t,e,n){"use strict";function r(t){var e=this;if(t||(i.root.Rx&&i.root.Rx.config&&i.root.Rx.config.Promise?t=i.root.Rx.config.Promise:i.root.Promise&&(t=i.root.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})}var i=n("VOfZ");e.toPromise=r},nsuO:function(t,e,n){"use strict";var r=n("rCTf"),i=n("AZSN");r.Observable.prototype.buffer=i.buffer},nxqe:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r;!function(t){t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC"}(r||(r={}))},oHQS:function(t,e,n){"use strict";var r=n("rCTf"),i=n("SudU");r.Observable.prototype.subscribeOn=i.subscribeOn},okk1:function(t,e,n){"use strict";var r=n("rCTf"),i=n("bBiI");r.Observable.prototype.first=i.first},p1Um:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Ji1B");r.Observable.prototype.observeOn=i.observeOn},"p5++":function(t,e,n){"use strict";function r(t){return this.lift(new a(t,this))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("F7Al");e.single=r;var a=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.predicate,this.source))},t}(),l=function(t){function e(e,n,r){t.call(this,e),this.predicate=n,this.source=r,this.seenValue=!1,this.index=0}return i(e,t),e.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},e.prototype._next=function(t){var e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)},e.prototype.tryNext=function(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new s.EmptyError)},e}(o.Subscriber)},"q+cp":function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.takeUntil=r;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.notifier))},t}(),l=function(t){function e(e,n){t.call(this,e),this.notifier=n,this.add(s.subscribeToResult(this,n))}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.complete()},e.prototype.notifyComplete=function(){},e}(o.OuterSubscriber)},"q+ny":function(t,e,n){"use strict";function r(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,this.lift(new u(t,e,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("+3eL"),s=n("WhVc"),a=n("wAkD"),l=n("CURp");e.expand=r;var u=function(){function t(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.project,this.concurrent,this.scheduler))},t}();e.ExpandOperator=u;var c=function(t){function e(e,n,r,i){t.call(this,e),this.project=n,this.concurrent=r,this.scheduler=i,this.index=0,this.active=0,this.hasCompleted=!1,r<Number.POSITIVE_INFINITY&&(this.buffer=[])}return i(e,t),e.dispatch=function(t){var e=t.subscriber,n=t.result,r=t.value,i=t.index;e.subscribeToProjection(n,r,i)},e.prototype._next=function(t){var n=this.destination;if(n.closed)return void this._complete();var r=this.index++;if(this.active<this.concurrent){n.next(t);var i=o.tryCatch(this.project)(t,r);if(i===s.errorObject)n.error(s.errorObject.e);else if(this.scheduler){var a={subscriber:this,result:i,value:t,index:r};this.add(this.scheduler.schedule(e.dispatch,0,a))}else this.subscribeToProjection(i,t,r)}else this.buffer.push(t)},e.prototype.subscribeToProjection=function(t,e,n){this.active++,this.add(l.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){this._next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e&&e.length>0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(a.OuterSubscriber);e.ExpandSubscriber=c},q0UB:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("cwzr"),o=n("9Avi"),s=function(t){function e(e,n){var r=this;void 0===e&&(e=a),void 0===n&&(n=Number.POSITIVE_INFINITY),t.call(this,e,function(){return r.frame}),this.maxFrames=n,this.frame=0,this.index=-1}return r(e,t),e.prototype.flush=function(){for(var t,e,n=this,r=n.actions,i=n.maxFrames;(e=r.shift())&&(this.frame=e.delay)<=i&&!(t=e.execute(e.state,e.delay)););if(t){for(;e=r.shift();)e.unsubscribe();throw t}},e.frameTimeFactor=10,e}(o.AsyncScheduler);e.VirtualTimeScheduler=s;var a=function(t){function e(e,n,r){void 0===r&&(r=e.index+=1),t.call(this,e,n),this.scheduler=e,this.work=n,this.index=r,this.active=!0,this.index=e.index=r}return r(e,t),e.prototype.schedule=function(n,r){if(void 0===r&&(r=0),!this.id)return t.prototype.schedule.call(this,n,r);this.active=!1;var i=new e(this.scheduler,this.work);return this.add(i),i.schedule(n,r)},e.prototype.requestAsyncId=function(t,n,r){void 0===r&&(r=0),this.delay=t.frame+r;var i=t.actions;return i.push(this),i.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(t,e,n){void 0===n&&(n=0)},e.prototype._execute=function(e,n){if(!0===this.active)return t.prototype._execute.call(this,e,n)},e.sortActions=function(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1},e}(i.AsyncAction);e.VirtualAction=a},q3ik:function(t,e,n){"use strict";var r=n("rCTf"),i=n("8hgl");r.Observable.prototype.distinctUntilChanged=i.distinctUntilChanged},"q4U+":function(t,e,n){"use strict";var r=n("rCTf"),i=n("erNO");r.Observable.prototype.windowCount=i.windowCount},qBUJ:function(t,e,n){"use strict";var r=n("3j3K"),i=n("hlt1"),o=n("2yGx"),s=n("gEbu"),a=n("lcaH");n.d(e,"a",function(){return l});var l=function(){function t(t,e){this.i18n=t,this.calendar=e,this.years=[],this.select=new r.EventEmitter,this.months=e.getMonths()}return t.prototype.ngOnChanges=function(t){(t.maxDate||t.minDate||t.date)&&(this._generateYears(),this._generateMonths())},t.prototype.changeMonth=function(t){this.select.emit(new i.a(this.date.year,n.i(o.b)(t),1))},t.prototype.changeYear=function(t){this.select.emit(new i.a(n.i(o.b)(t),this.date.month,1))},t.prototype._generateMonths=function(){var t=this;if(this.months=this.calendar.getMonths(),this.date&&this.date.year===this.minDate.year){var e=this.months.findIndex(function(e){return e===t.minDate.month});this.months=this.months.slice(e)}if(this.date&&this.date.year===this.maxDate.year){var e=this.months.findIndex(function(e){return e===t.maxDate.month});this.months=this.months.slice(0,e+1)}},t.prototype._generateYears=function(){var t=this;this.years=Array.from({length:this.maxDate.year-this.minDate.year+1},function(e,n){return t.minDate.year+n})},t}();l.decorators=[{type:r.Component,args:[{selector:"ngb-datepicker-navigation-select",styles:["\n select {\n /* to align with btn-sm */\n padding: 0.25rem 0.5rem;\n font-size: 0.875rem; \n line-height: 1.25;\n /* to cancel the custom height set by custom-select */\n height: inherit;\n width: 50%;\n }\n "],template:'\n <select [disabled]="disabled" class="custom-select d-inline-block" [value]="date?.month" (change)="changeMonth($event.target.value)">\n <option *ngFor="let m of months" [value]="m">{{ i18n.getMonthShortName(m) }}</option>\n </select><select [disabled]="disabled" class="custom-select d-inline-block" [value]="date?.year" (change)="changeYear($event.target.value)">\n <option *ngFor="let y of years" [value]="y">{{ y }}</option>\n </select> \n '}]}],l.ctorParameters=function(){return[{type:s.a},{type:a.a}]},l.propDecorators={date:[{type:r.Input}],disabled:[{type:r.Input}],maxDate:[{type:r.Input}],minDate:[{type:r.Input}],select:[{type:r.Output}]}},qKow:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.placement="top",this.triggers="hover"}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},"qQ/N":function(t,e,n){"use strict";var r=n("3j3K"),i=n("aKiW"),o=n("2yGx"),s=n("NVOs");n.d(e,"a",function(){return u});var a;!function(t){t[t.End=35]="End",t[t.Home=36]="Home",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowDown=40]="ArrowDown"}(a||(a={}));var l={provide:s.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return u}),multi:!0},u=function(){function t(t,e){this._changeDetectorRef=e,this.contexts=[],this.disabled=!1,this.hover=new r.EventEmitter,this.leave=new r.EventEmitter,this.rateChange=new r.EventEmitter(!0),this.onChange=function(t){},this.onTouched=function(){},this.max=t.max,this.readonly=t.readonly}return t.prototype.ariaValueText=function(){return this.nextRate+" out of "+this.max},t.prototype.enter=function(t){this.readonly||this.disabled||this._updateState(t),this.hover.emit(t)},t.prototype.handleBlur=function(){this.onTouched()},t.prototype.handleClick=function(t){this.update(this.resettable&&this.rate===t?0:t)},t.prototype.handleKeyDown=function(t){if(a[n.i(o.d)(t.which)])switch(t.preventDefault(),t.which){case a.ArrowDown:case a.ArrowLeft:this.update(this.rate-1);break;case a.ArrowUp:case a.ArrowRight:this.update(this.rate+1);break;case a.Home:this.update(0);break;case a.End:this.update(this.max)}},t.prototype.ngOnChanges=function(t){t.rate&&this.update(this.rate)},t.prototype.ngOnInit=function(){this.contexts=Array.from({length:this.max},function(){return{fill:0}}),this._updateState(this.rate)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.reset=function(){this.leave.emit(this.nextRate),this._updateState(this.rate)},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.update=function(t,e){void 0===e&&(e=!0);var r=n.i(o.e)(t,this.max,0);this.readonly||this.disabled||this.rate===r||(this.rate=r,this.rateChange.emit(this.rate)),e&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)},t.prototype.writeValue=function(t){this.update(t,!1),this._changeDetectorRef.markForCheck()},t.prototype._getFillValue=function(t){var e=this.nextRate-t;return e>=1?100:e<1&&e>0?Number.parseInt((100*e).toFixed(2)):0},t.prototype._updateState=function(t){var e=this;this.nextRate=t,this.contexts.forEach(function(t,n){return t.fill=e._getFillValue(n)})},t}();u.decorators=[{type:r.Component,args:[{selector:"ngb-rating",changeDetection:r.ChangeDetectionStrategy.OnPush,host:{class:"d-inline-flex",tabindex:"0",role:"slider","aria-valuemin":"0","[attr.aria-valuemax]":"max","[attr.aria-valuenow]":"nextRate","[attr.aria-valuetext]":"ariaValueText()","[attr.aria-disabled]":"readonly ? true : null","(blur)":"handleBlur()","(keydown)":"handleKeyDown($event)","(mouseleave)":"reset()"},template:'\n <ng-template #t let-fill="fill">{{ fill === 100 ? \'★\' : \'☆\' }}</ng-template>\n <ng-template ngFor [ngForOf]="contexts" let-index="index">\n <span class="sr-only">({{ index < nextRate ? \'*\' : \' \' }})</span>\n <span (mouseenter)="enter(index + 1)" (click)="handleClick(index + 1)" [style.cursor]="readonly || disabled ? \'default\' : \'pointer\'">\n <ng-template [ngTemplateOutlet]="starTemplate || t" [ngOutletContext]="contexts[index]"></ng-template>\n </span>\n </ng-template>\n ',providers:[l]}]}],u.ctorParameters=function(){return[{type:i.a},{type:r.ChangeDetectorRef}]},u.propDecorators={max:[{type:r.Input}],rate:[{type:r.Input}],readonly:[{type:r.Input}],resettable:[{type:r.Input}],starTemplate:[{type:r.Input},{type:r.ContentChild,args:[r.TemplateRef]}],hover:[{type:r.Output}],leave:[{type:r.Output}],rateChange:[{type:r.Output}]}},qcjU:function(t,e,n){"use strict";var r=n("rCTf"),i=n("WTUZ");r.Observable.prototype.audit=i.audit},qhgQ:function(t,e,n){"use strict";var r=n("rCTf"),i=n("69uX");r.Observable.prototype.distinct=i.distinct},qoi6:function(t,e,n){"use strict";var r=n("3j3K"),i=n("NVOs"),o=n("sb+e"),s=(n.n(o),n("Rewd")),a=(n.n(s),n("TIy+")),l=(n.n(a),n("jRSa")),u=n("2BXm"),c=n("/PMa"),h=n("2yGx"),p=n("cG9e");n.d(e,"a",function(){return m});var f;!function(t){t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowDown=40]="ArrowDown"}(f||(f={}));var d={provide:i.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return m}),multi:!0},v=0,m=function(){function t(t,e,i,o,s,h,p){var f=this;this._elementRef=t,this._viewContainerRef=e,this._renderer=i,this._injector=o,this.selectItem=new r.EventEmitter,this.popupId="ngb-typeahead-"+v++,this._onTouched=function(){},this._onChange=function(t){},this.editable=h.editable,this.focusFirst=h.focusFirst,this.showHint=h.showHint,this._valueChanges=n.i(a.fromEvent)(t.nativeElement,"input",function(t){return t.target.value}),this._popupService=new c.a(u.a,o,e,i,s),this._zoneSubscription=p.onStable.subscribe(function(){f.isPopupOpen()&&n.i(l.a)(f._elementRef.nativeElement,f._windowRef.location.nativeElement,"bottom-left")})}return t.prototype.ngOnInit=function(){var t=this,e=s._do.call(this._valueChanges,function(e){t._userInput=e,t.editable&&t._onChange(e)}),n=o.letProto.call(e,this.ngbTypeahead),r=s._do.call(n,function(){t.editable||t._onChange(void 0)});this._subscription=this._subscribeToUserInput(r)},t.prototype.ngOnDestroy=function(){this._unsubscribeFromUserInput(),this._zoneSubscription.unsubscribe()},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.writeValue=function(t){this._writeInputValue(this._formatItemForInput(t))},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype.dismissPopup=function(){this.isPopupOpen()&&(this._closePopup(),this._writeInputValue(this._userInput))},t.prototype.isPopupOpen=function(){return null!=this._windowRef},t.prototype.handleBlur=function(){this._onTouched()},t.prototype.handleKeyDown=function(t){if(this.isPopupOpen()&&f[n.i(h.d)(t.which)])switch(t.which){case f.ArrowDown:t.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case f.ArrowUp:t.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case f.Enter:case f.Tab:var e=this._windowRef.instance.getActive();n.i(h.h)(e)&&(t.preventDefault(),t.stopPropagation(),this._selectResult(e)),this._closePopup();break;case f.Escape:t.preventDefault(),this.dismissPopup()}},t.prototype._openPopup=function(){var t=this;this.isPopupOpen()||(this._windowRef=this._popupService.open(),this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe(function(e){return t._selectResultClosePopup(e)}),this._windowRef.instance.activeChangeEvent.subscribe(function(e){return t.activeDescendant=e}))},t.prototype._closePopup=function(){this._popupService.close(),this._windowRef=null,this.activeDescendant=void 0},t.prototype._selectResult=function(t){var e=!1;this.selectItem.emit({item:t,preventDefault:function(){e=!0}}),e||(this.writeValue(t),this._onChange(t))},t.prototype._selectResultClosePopup=function(t){this._selectResult(t),this._closePopup()},t.prototype._showHint=function(){if(this.showHint){var t=this._userInput.toLowerCase(),e=this._formatItemForInput(this._windowRef.instance.getActive());t===e.substr(0,this._userInput.length).toLowerCase()?(this._writeInputValue(this._userInput+e.substr(this._userInput.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._userInput.length,e.length])):this.writeValue(this._windowRef.instance.getActive())}},t.prototype._formatItemForInput=function(t){return t&&this.inputFormatter?this.inputFormatter(t):n.i(h.d)(t)},t.prototype._writeInputValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",t)},t.prototype._subscribeToUserInput=function(t){var e=this;return t.subscribe(function(t){t&&0!==t.length?(e._openPopup(),e._windowRef.instance.focusFirst=e.focusFirst,e._windowRef.instance.results=t,e._windowRef.instance.term=e._elementRef.nativeElement.value,e.resultFormatter&&(e._windowRef.instance.formatter=e.resultFormatter),e.resultTemplate&&(e._windowRef.instance.resultTemplate=e.resultTemplate),e._showHint(),e._windowRef.changeDetectorRef.detectChanges()):e._closePopup()})},t.prototype._unsubscribeFromUserInput=function(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null},t}();m.decorators=[{type:r.Directive,args:[{selector:"input[ngbTypeahead]",host:{"(blur)":"handleBlur()","[class.open]":"isPopupOpen()","(document:click)":"dismissPopup()","(keydown)":"handleKeyDown($event)",autocomplete:"off",autocapitalize:"off",autocorrect:"off",role:"combobox","aria-multiline":"false","[attr.aria-autocomplete]":'showHint ? "both" : "list"',"[attr.aria-activedescendant]":"activeDescendant","[attr.aria-owns]":"isPopupOpen() ? popupId : null","[attr.aria-expanded]":"isPopupOpen()"},providers:[d]}]}],m.ctorParameters=function(){return[{type:r.ElementRef},{type:r.ViewContainerRef},{type:r.Renderer2},{type:r.Injector},{type:r.ComponentFactoryResolver},{type:p.a},{type:r.NgZone}]},m.propDecorators={editable:[{type:r.Input}],focusFirst:[{type:r.Input}],inputFormatter:[{type:r.Input}],ngbTypeahead:[{type:r.Input}],resultFormatter:[{type:r.Input}],resultTemplate:[{type:r.Input}],showHint:[{type:r.Input}],selectItem:[{type:r.Output}]}},qp8k:function(t,e,n){"use strict";var r=n("rCTf"),i=n("A7JX");r.Observable.prototype.combineLatest=i.combineLatest},qsK9:function(t,e,n){"use strict";var r=n("3j3K"),i=n("2Je8"),o=n("/KGk"),s=n("5ZV5"),a=n("3fcS"),l=n("hY6I"),u=n("NVOs"),c=n("U6gI"),h=n("gEbu"),p=n("lcaH"),f=n("7DGp"),d=n("qBUJ"),v=n("hwnt");n("/FbB");n.d(e,"a",function(){return m});var m=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[{provide:p.a,useClass:p.b},{provide:h.a,useClass:h.b},{provide:f.a,useClass:f.b},v.a]}},t}();m.decorators=[{type:r.NgModule,args:[{declarations:[o.a,s.a,a.a,d.a,c.a,l.a],exports:[o.a,l.a],imports:[i.CommonModule,u.FormsModule],entryComponents:[o.a]}]}],m.ctorParameters=function(){return[]}},rLWm:function(t,e,n){"use strict";var r=n("rCTf"),i=n("ASN6");r.Observable.prototype.onErrorResumeNext=i.onErrorResumeNext},rpzr:function(t,e,n){"use strict";var r=n("bZY+");e.interval=r.IntervalObservable.create},s3oX:function(t,e,n){"use strict";var r=n("Dkzu");e._throw=r.ErrorObservable.create},s616:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Kjxw");r.Observable.prototype.shareReplay=i.shareReplay},sKQ8:function(t,e,n){"use strict";function r(t){var e=u.async,n=null,r=Number.POSITIVE_INFINITY;return p.isScheduler(arguments[3])&&(e=arguments[3]),p.isScheduler(arguments[2])?e=arguments[2]:h.isNumeric(arguments[2])&&(r=arguments[2]),p.isScheduler(arguments[1])?e=arguments[1]:h.isNumeric(arguments[1])&&(n=arguments[1]),this.lift(new f(t,n,r,e))}function i(t){var e=t.subscriber,n=t.windowTimeSpan,r=t.window;r&&e.closeWindow(r),t.window=e.openWindow(),this.schedule(t,n)}function o(t){var e=t.windowTimeSpan,n=t.subscriber,r=t.scheduler,i=t.windowCreationInterval,o=n.openWindow(),a=this,l={action:a,subscription:null},u={subscriber:n,window:o,context:l};l.subscription=r.schedule(s,e,u),a.add(l.subscription),a.schedule(t,i)}function s(t){var e=t.subscriber,n=t.window,r=t.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),e.closeWindow(n)}var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=n("EEr4"),u=n("CGGv"),c=n("mmVS"),h=n("P3oE"),p=n("fWbP");e.windowTime=r;var f=function(){function t(t,e,n,r){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new v(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),d=function(t){function e(){t.apply(this,arguments),this._numberOfNextedValues=0}return a(e,t),e.prototype.next=function(e){this._numberOfNextedValues++,t.prototype.next.call(this,e)},Object.defineProperty(e.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),e}(l.Subject),v=function(t){function e(e,n,r,a,l){t.call(this,e),this.destination=e,this.windowTimeSpan=n,this.windowCreationInterval=r,this.maxWindowSize=a,this.scheduler=l,this.windows=[];var u=this.openWindow();if(null!==r&&r>=0){var c={subscriber:this,window:u,context:null},h={windowTimeSpan:n,windowCreationInterval:r,subscriber:this,scheduler:l};this.add(l.schedule(s,n,c)),this.add(l.schedule(o,r,h))}else{var p={subscriber:this,window:u,windowTimeSpan:n};this.add(l.schedule(i,n,p))}}return a(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,r=0;r<n;r++){var i=e[r];i.closed||(i.next(t),i.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(i))}},e.prototype._error=function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new d;return this.windows.push(t),this.destination.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(c.Subscriber)},sT3i:function(t,e,n){"use strict";var r=n("rCTf"),i=n("q+ny");r.Observable.prototype.expand=i.expand},sVus:function(t,e,n){"use strict";function r(t){return void 0===t&&(t=s.async),this.lift(new l(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("CGGv");e.timeInterval=r;var a=function(){function t(t,e){this.value=t,this.interval=e}return t}();e.TimeInterval=a;var l=function(){function t(t){this.scheduler=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.scheduler))},t}(),u=function(t){function e(e,n){t.call(this,e),this.scheduler=n,this.lastTime=0,this.lastTime=n.now()}return i(e,t),e.prototype._next=function(t){var e=this.scheduler.now(),n=e-this.lastTime;this.lastTime=e,this.destination.next(new a(t,n))},e}(o.Subscriber)},sake:function(t,e,n){"use strict";function r(t){return this.lift(new s(t))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.skipWhile=r;var s=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate))},t}(),a=function(t){function e(e,n){t.call(this,e),this.predicate=n,this.skipping=!0,this.index=0}return i(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(o.Subscriber)},"sb+e":function(t,e,n){"use strict";function r(t){return t(this)}e.letProto=r},sgnN:function(t,e,n){"use strict";var r=n("3j3K"),i=n("aalB"),o=n("jRSa"),s=n("/PMa"),a=n("qKow");n.d(e,"b",function(){return u}),n.d(e,"a",function(){return c});var l=0,u=function(){function t(){this.placement="top"}return t}();u.decorators=[{type:r.Component,args:[{selector:"ngb-tooltip-window",changeDetection:r.ChangeDetectionStrategy.OnPush,host:{"[class]":'"tooltip show tooltip-" + placement',role:"tooltip","[id]":"id"},template:'\n <div class="tooltip-inner"><ng-content></ng-content></div>\n '}]}],u.ctorParameters=function(){return[]},u.propDecorators={placement:[{type:r.Input}],id:[{type:r.Input}]};var c=function(){function t(t,e,i,a,c,h,p){var f=this;this._elementRef=t,this._renderer=e,this.shown=new r.EventEmitter,this.hidden=new r.EventEmitter,this._ngbTooltipWindowId="ngb-tooltip-"+l++,this.placement=h.placement,this.triggers=h.triggers,this.container=h.container,this._popupService=new s.a(u,i,c,e,a),this._zoneSubscription=p.onStable.subscribe(function(){f._windowRef&&n.i(o.a)(f._elementRef.nativeElement,f._windowRef.location.nativeElement,f.placement,"body"===f.container)})}return Object.defineProperty(t.prototype,"ngbTooltip",{get:function(){return this._ngbTooltip},set:function(t){this._ngbTooltip=t,!t&&this._windowRef&&this.close()},enumerable:!0,configurable:!0}),t.prototype.open=function(t){!this._windowRef&&this._ngbTooltip&&(this._windowRef=this._popupService.open(this._ngbTooltip,t),this._windowRef.instance.placement=this.placement,this._windowRef.instance.id=this._ngbTooltipWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.markForCheck(),this.shown.emit())},t.prototype.close=function(){null!=this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=n.i(i.a)(this._renderer,this._elementRef.nativeElement,this.triggers,this.open.bind(this),this.close.bind(this),this.toggle.bind(this))},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t}();c.decorators=[{type:r.Directive,args:[{selector:"[ngbTooltip]",exportAs:"ngbTooltip"}]}],c.ctorParameters=function(){return[{type:r.ElementRef},{type:r.Renderer2},{type:r.Injector},{type:r.ComponentFactoryResolver},{type:r.ViewContainerRef},{type:a.a},{type:r.NgZone}]},c.propDecorators={placement:[{type:r.Input}],triggers:[{type:r.Input}],container:[{type:r.Input}],shown:[{type:r.Output}],hidden:[{type:r.Output}],ngbTooltip:[{type:r.Input}]}},t2Bb:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=a.async),this.lift(new l(t,e))}function i(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("mmVS"),a=n("CGGv");e.sampleTime=r;var l=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.period,this.scheduler))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.period=n,this.scheduler=r,this.hasValue=!1,this.add(r.schedule(i,n,{subscriber:this,period:n}))}return o(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(s.Subscriber)},tDJK:function(t,e,n){"use strict";var r=n("rCTf"),i=n("09LQ");r.Observable.prototype.finally=i._finally,r.Observable.prototype._finally=i._finally},tQRI:function(t,e,n){"use strict";var r=n("rCTf"),i=n("hiKS");r.Observable.prototype.zipAll=i.zipAll},tYwL:function(t,e,n){"use strict";var r=n("rCTf"),i=n("AQOC");r.Observable.prototype.distinctUntilKeyChanged=i.distinctUntilKeyChanged},td8d:function(t,e,n){"use strict";function r(t,e){var n=!1;return arguments.length>=2&&(n=!0),this.lift(new s(t,e,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.scan=r;var s=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.accumulator,this.seed,this.hasSeed))},t}(),a=function(t){function e(e,n,r,i){t.call(this,e),this.accumulator=n,this._seed=r,this.hasSeed=i,this.index=0}return i(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(o.Subscriber)},tefl:function(t,e,n){"use strict";var r=n("NgUg");e.pairs=r.PairsObservable.create},tn1n:function(t,e,n){"use strict";function r(t,e){return[o.filter.call(this,t,e),o.filter.call(this,i.not(t,e))]}var i=n("7Gky"),o=n("ack3");e.partition=r},tnfx:function(t,e,n){"use strict";function r(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,1,"app-header",[],null,null,null,a.a,a.b)),s["ɵdid"](114688,null,0,l.a,[u.a,c.c,h.a,p.a],null,null),(t()(),s["ɵted"](null,["\n"])),(t()(),s["ɵeld"](0,null,null,1,"app-sidebar",[],null,[["document","click"]],function(t,e,n){var r=!0;if("document:click"===e){r=!1!==s["ɵnov"](t,4).documentClicked(n)&&r}return r},f.a,f.b)),s["ɵdid"](49152,null,0,d.a,[u.a],null,null),(t()(),s["ɵted"](null,["\n"])),(t()(),s["ɵeld"](0,null,null,4,"section",[["class","main-container"]],null,null,null,null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),s["ɵdid"](212992,null,0,c.z,[c.q,s.ViewContainerRef,s.ComponentFactoryResolver,[8,null],s.ChangeDetectorRef],null,null),(t()(),s["ɵted"](null,["\n"])),(t()(),s["ɵted"](null,["\n"]))],function(t,e){t(e,1,0),t(e,9,0)},null)}function i(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,2,"app-layout",[],null,null,null,r,g)),s["ɵprd"](4608,null,p.a,p.a,[u.a]),s["ɵdid"](114688,null,0,v.a,[c.c],null,null)],function(t,e){t(e,2,0)},null)}var o=n("6LiC"),s=n("3j3K"),a=n("Dxxg"),l=n("fc2Z"),u=n("R6W2"),c=n("5oXY"),h=n("Zwpz"),p=n("J3Pa"),f=n("zl5O"),d=n("/QqB"),v=n("cqY6");n.d(e,"a",function(){return y});var m=[o.a],g=s["ɵcrt"]({encapsulation:0,styles:m,data:{}}),y=s["ɵccf"]("app-layout",v.a,i,{},{},[])},tuHt:function(t,e,n){"use strict";var r=n("rCTf"),i=n("SDFq");r.Observable.prototype.switchMapTo=i.switchMapTo},"tyH+":function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size="medium"}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},"u/VN":function(t,e,n){"use strict";function r(t,n){return void 0===n&&(n=e.defaultThrottleConfig),this.lift(new a(t,n.leading,n.trailing))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.defaultThrottleConfig={leading:!0,trailing:!1},e.throttle=r;var a=function(){function t(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.durationSelector,this.leading,this.trailing))},t}(),l=function(t){function e(e,n,r,i){t.call(this,e),this.destination=e,this.durationSelector=n,this._leading=r,this._trailing=i,this._hasTrailingValue=!1}return i(e,t),e.prototype._next=function(t){if(this.throttled)this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=t);else{var e=this.tryDurationSelector(t);e&&this.add(this.throttled=s.subscribeToResult(this,e)),this._leading&&(this.destination.next(t),this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=t))}},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype._unsubscribe=function(){var t=this,e=t.throttled;t._trailingValue,t._hasTrailingValue,t._trailing;this._trailingValue=null,this._hasTrailingValue=!1,e&&(this.remove(e),this.throttled=null,e.unsubscribe())},e.prototype._sendTrailing=function(){var t=this,e=t.destination,n=t.throttled,r=t._trailing,i=t._trailingValue,o=t._hasTrailingValue;n&&r&&o&&(e.next(i),this._trailingValue=null,this._hasTrailingValue=!1)},e.prototype.notifyNext=function(t,e,n,r,i){this._sendTrailing(),this._unsubscribe()},e.prototype.notifyComplete=function(){this._sendTrailing(),this._unsubscribe()},e}(o.OuterSubscriber)},u1gx:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("8GmM"),s=n("Cr1h"),a=n("IBkQ"),l=n("fO1r"),u=n("q0UB"),c=750,h=function(t){function e(e){t.call(this,u.VirtualAction,c),this.assertDeepEqual=e,this.hotObservables=[],this.coldObservables=[],this.flushTests=[]}return r(e,t),e.prototype.createTime=function(t){var n=t.indexOf("|");if(-1===n)throw new Error('marble diagram for time should have a completion marker "|"');return n*e.frameTimeFactor},e.prototype.createColdObservable=function(t,n,r){if(-1!==t.indexOf("^"))throw new Error('cold observable cannot have subscription offset "^"');if(-1!==t.indexOf("!"))throw new Error('cold observable cannot have unsubscription marker "!"');var i=e.parseMarbles(t,n,r),o=new s.ColdObservable(i,this);return this.coldObservables.push(o),o},e.prototype.createHotObservable=function(t,n,r){if(-1!==t.indexOf("!"))throw new Error('hot observable cannot have unsubscription marker "!"');var i=e.parseMarbles(t,n,r),o=new a.HotObservable(i,this);return this.hotObservables.push(o),o},e.prototype.materializeInnerObservable=function(t,e){var n=this,r=[];return t.subscribe(function(t){r.push({frame:n.frame-e,notification:o.Notification.createNext(t)})},function(t){r.push({frame:n.frame-e,notification:o.Notification.createError(t)})},function(){r.push({frame:n.frame-e,notification:o.Notification.createComplete()})}),r},e.prototype.expectObservable=function(t,n){var r=this;void 0===n&&(n=null);var s,a=[],l={actual:a,ready:!1},u=e.parseMarblesAsSubscriptions(n).unsubscribedFrame;return this.schedule(function(){s=t.subscribe(function(t){var e=t;t instanceof i.Observable&&(e=r.materializeInnerObservable(e,r.frame)),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(){return s.unsubscribe()},u),this.flushTests.push(l),{toBe:function(t,n,r){l.ready=!0,l.expected=e.parseMarbles(t,n,r,!0)}}},e.prototype.expectSubscriptions=function(t){var n={actual:t,ready:!1};return this.flushTests.push(n),{toBe:function(t){var r="string"==typeof t?[t]:t;n.ready=!0,n.expected=r.map(function(t){return e.parseMarblesAsSubscriptions(t)})}}},e.prototype.flush=function(){for(var e=this.hotObservables;e.length>0;)e.shift().setup();t.prototype.flush.call(this);for(var n=this.flushTests.filter(function(t){return t.ready});n.length>0;){var r=n.shift();this.assertDeepEqual(r.actual,r.expected)}},e.parseMarblesAsSubscriptions=function(t){if("string"!=typeof t)return new l.SubscriptionLog(Number.POSITIVE_INFINITY);for(var e=t.length,n=-1,r=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY,o=0;o<e;o++){var s=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)throw new Error("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)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");i=n>-1?n:s;break;default:throw new Error("there can only be '^' and '!' markers in a subscription marble diagram. Found instead '"+a+"'.")}}return i<0?new l.SubscriptionLog(r):new l.SubscriptionLog(r,i)},e.parseMarbles=function(t,e,n,r){if(void 0===r&&(r=!1),-1!==t.indexOf("!"))throw new Error('conventional marble diagrams cannot have the unsubscription marker "!"');for(var i=t.length,a=[],l=t.indexOf("^"),u=-1===l?0:l*-this.frameTimeFactor,c="object"!=typeof e?function(t){return t}:function(t){return r&&e[t]instanceof s.ColdObservable?e[t].messages:e[t]},h=-1,p=0;p<i;p++){var f=p*this.frameTimeFactor+u,d=void 0,v=t[p];switch(v){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(c(v))}d&&a.push({frame:h>-1?h:f,notification:d})}return a},e}(u.VirtualTimeScheduler);e.TestScheduler=h},u2wr:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n;"function"==typeof t[t.length-1]&&(n=t.pop());var r=t;return this.lift(new a(r,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.withLatestFrom=r;var a=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.observables,this.project))},t}(),l=function(t){function e(e,n,r){t.call(this,e),this.observables=n,this.project=r,this.toRespond=[];var i=n.length;this.values=new Array(i);for(var o=0;o<i;o++)this.toRespond.push(o);for(var o=0;o<i;o++){var a=n[o];this.add(s.subscribeToResult(this,a,a,o))}}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.values[n]=e;var o=this.toRespond;if(o.length>0){var s=o.indexOf(n);-1!==s&&o.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}(o.OuterSubscriber)},uCY4:function(t,e,n){"use strict";var r=n("rCTf"),i=n("VEfc");r.Observable.prototype.switchMap=i.switchMap},v4DA:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.justify="start",this.type="tabs"}return t}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[]}},"vQ+N":function(t,e,n){"use strict";var r=n("rCTf"),i=n("mQmC");r.Observable.using=i.using},vfkA:function(t,e,n){"use strict";var r=n("3j3K"),i=n("kgIC");n.d(e,"a",function(){return o});var o=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t}();o.decorators=[{type:r.NgModule,args:[{declarations:[i.a],exports:[i.a]}]}],o.ctorParameters=function(){return[]}},voL5:function(t,e,n){"use strict";var r=n("rCTf"),i=n("5pRa");r.Observable.prototype.timestamp=i.timestamp},vrkH:function(t,e,n){"use strict";function r(t){return void 0===t&&(t=-1),this.lift(new s(t,this))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.retry=r;var s=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.count,this.source))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.count=n,this.source=r}return i(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this,r=n.source,i=n.count;if(0===i)return t.prototype.error.call(this,e);i>-1&&(this.count=i-1),r.subscribe(this._unsubscribeAndRecycle())}},e}(o.Subscriber)},vvwv:function(t,e,n){"use strict";var r=n("jBEF");e.empty=r.EmptyObservable.create},wUn1:function(t,e,n){"use strict";var r=n("rCTf"),i=n("ack3");r.Observable.prototype.filter=i.filter},ww7A:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("9Avi"),o=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(i.AsyncScheduler);e.AnimationFrameScheduler=o},xFXl:function(t,e,n){"use strict";var r=n("rCTf"),i=n("yZjU");r.Observable.prototype.windowToggle=i.windowToggle},xOQQ:function(t,e,n){"use strict";var r=n("rCTf"),i=n("U9ky");r.Observable.prototype.pluck=i.pluck},xOmt:function(t,e,n){"use strict";var r=n("3j3K"),i=n("nxqe");n.d(e,"a",function(){return o});var o=function(){function t(t,e){this._elRef=t,this._renderer=e,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new r.EventEmitter}return t.prototype.backdropClick=function(t){!0===this.backdrop&&this._elRef.nativeElement===t.target&&this.dismiss(i.a.BACKDROP_CLICK)},t.prototype.escKey=function(t){this.keyboard&&!t.defaultPrevented&&this.dismiss(i.a.ESC)},t.prototype.dismiss=function(t){this.dismissEvent.emit(t)},t.prototype.ngOnInit=function(){this._elWithFocus=document.activeElement,this._renderer.addClass(document.body,"modal-open")},t.prototype.ngAfterViewInit=function(){this._elRef.nativeElement.contains(document.activeElement)||this._elRef.nativeElement.focus.apply(this._elRef.nativeElement,[])},t.prototype.ngOnDestroy=function(){this._elWithFocus&&document.body.contains(this._elWithFocus)?this._elWithFocus.focus.apply(this._elWithFocus,[]):document.body.focus.apply(document.body,[]),this._elWithFocus=null,this._renderer.removeClass(document.body,"modal-open")},t}();o.decorators=[{type:r.Component,args:[{selector:"ngb-modal-window",host:{"[class]":'"modal fade show" + (windowClass ? " " + windowClass : "")',role:"dialog",tabindex:"-1",style:"display: block;","(keyup.esc)":"escKey($event)","(click)":"backdropClick($event)"},template:"\n <div [class]=\"'modal-dialog' + (size ? ' modal-' + size : '')\" role=\"document\">\n <div class=\"modal-content\"><ng-content></ng-content></div>\n </div>\n "}]}],o.ctorParameters=function(){return[{type:r.ElementRef},{type:r.Renderer2}]},o.propDecorators={backdrop:[{type:r.Input}],keyboard:[{type:r.Input}],size:[{type:r.Input}],windowClass:[{type:r.Input}],dismissEvent:[{type:r.Output,args:["dismiss"]}]}},xYP1:function(t,e,n){"use strict";function r(t,e){return this.lift(new l(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("+3eL"),a=n("WhVc");e.sequenceEqual=r;var l=function(){function t(t,e){this.compareTo=t,this.comparor=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.compareTo,this.comparor))},t}();e.SequenceEqualOperator=l;var u=function(t){function e(e,n,r){t.call(this,e),this.compareTo=n,this.comparor=r,this._a=[],this._b=[],this._oneComplete=!1,this.add(n.subscribe(new c(e,this)))}return i(e,t),e.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e.prototype.checkValues=function(){for(var t=this,e=t._a,n=t._b,r=t.comparor;e.length>0&&n.length>0;){var i=e.shift(),o=n.shift(),l=!1;r?(l=s.tryCatch(r)(i,o))===a.errorObject&&this.destination.error(a.errorObject.e):l=i===o,l||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e}(o.Subscriber);e.SequenceEqualSubscriber=u;var c=function(t){function e(e,n){t.call(this,e),this.parent=n}return i(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t)},e.prototype._complete=function(){this.parent._complete()},e}(o.Subscriber)},xiEB:function(t,e,n){"use strict";function r(t){return o["ɵvid"](0,[],null,null)}function i(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,null,null,1,"ngb-modal-backdrop",[["class","modal-backdrop fade show"]],null,null,null,s.b,s.c)),o["ɵdid"](49152,null,0,a.a,[],null,null)],null,null)}var o=n("3j3K"),s=n("xiEB"),a=n("9XFw");n.d(e,"c",function(){return u}),e.b=r,n.d(e,"a",function(){return c});var l=[],u=o["ɵcrt"]({encapsulation:2,styles:l,data:{}}),c=o["ɵccf"]("ngb-modal-backdrop",a.a,i,{},{},[])},y3IE:function(t,e,n){"use strict";var r=n("rCTf"),i=n("vrkH");r.Observable.prototype.retry=i.retry},y6Vm:function(t,e,n){"use strict";var r=n("rCTf"),i=n("8T44");r.Observable.prototype.repeatWhen=i.repeatWhen},y9a2:function(t,e,n){"use strict";var r=n("fO1r"),i=function(){function t(){this.subscriptions=[]}return t.prototype.logSubscribedFrame=function(){return this.subscriptions.push(new r.SubscriptionLog(this.scheduler.now())),this.subscriptions.length-1},t.prototype.logUnsubscribedFrame=function(t){var e=this.subscriptions,n=e[t];e[t]=new r.SubscriptionLog(n.subscribedFrame,this.scheduler.now())},t}();e.SubscriptionLoggable=i},yDyO:function(t,e,n){"use strict";var r=n("3j3K"),i=n("sgnN"),o=n("qKow");n.d(e,"a",function(){return s});var s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}();s.decorators=[{type:r.NgModule,args:[{declarations:[i.a,i.b],exports:[i.a],entryComponents:[i.b]}]}],s.ctorParameters=function(){return[]}},yZjU:function(t,e,n){"use strict";function r(t,e){return this.lift(new h(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),s=n("B00U"),a=n("+3eL"),l=n("WhVc"),u=n("wAkD"),c=n("CURp");e.windowToggle=r;var h=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.openings,this.closingSelector))},t}(),p=function(t){function e(e,n,r){t.call(this,e),this.openings=n,this.closingSelector=r,this.contexts=[],this.add(this.openSubscription=c.subscribeToResult(this,n,n))}return i(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,r=0;r<n;r++)e[r].window.next(t)},e.prototype._error=function(e){var n=this.contexts;if(this.contexts=null,n)for(var r=n.length,i=-1;++i<r;){var o=n[i];o.window.error(e),o.subscription.unsubscribe()}t.prototype._error.call(this,e)},e.prototype._complete=function(){var e=this.contexts;if(this.contexts=null,e)for(var n=e.length,r=-1;++r<n;){var i=e[r];i.window.complete(),i.subscription.unsubscribe()}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.contexts;if(this.contexts=null,t)for(var e=t.length,n=-1;++n<e;){var r=t[n];r.window.unsubscribe(),r.subscription.unsubscribe()}},e.prototype.notifyNext=function(t,e,n,r,i){if(t===this.openings){var u=this.closingSelector,h=a.tryCatch(u)(e);if(h===l.errorObject)return this.error(l.errorObject.e);var p=new o.Subject,f=new s.Subscription,d={window:p,subscription:f};this.contexts.push(d);var v=c.subscribeToResult(this,h,d);v.closed?this.closeWindow(this.contexts.length-1):(v.context=d,f.add(v)),this.destination.next(p)}else this.closeWindow(this.contexts.indexOf(t))},e.prototype.notifyError=function(t){this.error(t)},e.prototype.notifyComplete=function(t){t!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(t.context))},e.prototype.closeWindow=function(t){if(-1!==t){var e=this.contexts,n=e[t],r=n.window,i=n.subscription;e.splice(t,1),r.complete(),i.unsubscribe()}},e}(u.OuterSubscriber)},zC23:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Oa+j");r.Observable.prototype.dematerialize=i.dematerialize},zJQZ:function(t,e,n){"use strict";var r=n("rCTf"),i=n("td8d");r.Observable.prototype.scan=i.scan},"zK+N":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("3j3K"),i=n("NVOs"),o=n("8U58"),s=function(){function t(){this.change=new r.EventEmitter,this.focus=new r.EventEmitter,this.blur=new r.EventEmitter,this.instance=null,this._value=""}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){t!==this._value&&(this._value=t,this.onChange(t))},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){},t.prototype.ngAfterViewInit=function(){this.config=this.config||{},this.codemirrorInit(this.config)},t.prototype.codemirrorInit=function(t){var e=this;this.instance=o.fromTextArea(this.host.nativeElement,t),this.instance.setValue(this._value),this.instance.on("change",function(){e.updateValue(e.instance.getValue())}),this.instance.on("focus",function(){e.focus.emit()}),this.instance.on("blur",function(){e.blur.emit()})},t.prototype.updateValue=function(t){this.value=t,this.onTouched(),this.change.emit(t)},t.prototype.writeValue=function(t){this._value=t||"",this.instance&&this.instance.setValue(this._value)},t.prototype.onChange=function(t){},t.prototype.onTouched=function(){},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t}();s.decorators=[{type:r.Component,args:[{selector:"codemirror",providers:[{provide:i.NG_VALUE_ACCESSOR,useExisting:r.forwardRef(function(){return s}),multi:!0}],template:"<textarea #host></textarea>"}]}],s.ctorParameters=function(){return[]},s.propDecorators={config:[{type:r.Input}],change:[{type:r.Output}],focus:[{type:r.Output}],blur:[{type:r.Output}],host:[{type:r.ViewChild,args:["host"]}],instance:[{type:r.Output}],value:[{type:r.Input}]},e.CodemirrorComponent=s},zO2v:function(t,e,n){"use strict";var r=n("rCTf"),i=n("DzMp");r.Observable.defer=i.defer},zQPq:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("B00U"),o=function(t){function e(e,n){t.call(this)}return r(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(i.Subscription);e.Action=o},zl5O:function(t,e,n){"use strict";function r(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,9,"a",[["class","list-group-item"],["style","color: white;"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==a["ɵnov"](t,1).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r}if("click"===e){r=!1!==i.toggleSidebar()&&r}return r},null,null)),a["ɵdid"](671744,[[7,4]],0,l.y,[l.c,l.a,u.LocationStrategy],{routerLink:[0,"routerLink"]},null),a["ɵpad"](1),a["ɵdid"](1720320,null,2,l.A,[l.c,a.ElementRef,a.Renderer,a.ChangeDetectorRef],{routerLinkActive:[0,"routerLinkActive"]},null),a["ɵqud"](603979776,6,{links:1}),a["ɵqud"](603979776,7,{linksWithHrefs:1}),a["ɵpad"](1),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,0,"i",[["class","fa fa-fw fa-users"]],null,null,null,null,null)),(t()(),a["ɵted"](null,[" Grupos\n "]))],function(t,e){t(e,1,0,t(e,2,0,"/grupos")),t(e,3,0,t(e,6,0,"router-link-active"))},function(t,e){t(e,0,0,a["ɵnov"](e,1).target,a["ɵnov"](e,1).href)})}function i(t){return a["ɵvid"](0,[a["ɵqud"](402653184,1,{sidebarNav:0}),(t()(),a["ɵted"](null,[" "])),(t()(),a["ɵeld"](0,[[1,0],["sidebarNav",1]],null,31,"nav",[["class","sidebar"],["style","background: #036b9a !important;"]],null,null,null,null,null)),a["ɵdid"](278528,null,0,u.NgClass,[a.IterableDiffers,a.KeyValueDiffers,a.ElementRef,a.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),a["ɵpod"](["sidebarPushRight"]),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,26,"ul",[["class","list-group"]],null,null,null,null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,9,"a",[["class","list-group-item"],["style","color: white;"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==a["ɵnov"](t,9).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r}if("click"===e){r=!1!==i.toggleSidebar()&&r}return r},null,null)),a["ɵdid"](671744,[[3,4]],0,l.y,[l.c,l.a,u.LocationStrategy],{routerLink:[0,"routerLink"]},null),a["ɵpad"](1),a["ɵdid"](1720320,null,2,l.A,[l.c,a.ElementRef,a.Renderer,a.ChangeDetectorRef],{routerLinkActive:[0,"routerLinkActive"]},null),a["ɵqud"](603979776,2,{links:1}),a["ɵqud"](603979776,3,{linksWithHrefs:1}),a["ɵpad"](1),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,0,"i",[["class","fa fa-fw fa-desktop"]],null,null,null,null,null)),(t()(),a["ɵted"](null,[" Programa\n "])),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,9,"a",[["class","list-group-item"],["style","color: white;"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==a["ɵnov"](t,20).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r}if("click"===e){r=!1!==i.toggleSidebar()&&r}return r},null,null)),a["ɵdid"](671744,[[5,4]],0,l.y,[l.c,l.a,u.LocationStrategy],{routerLink:[0,"routerLink"]},null),a["ɵpad"](1),a["ɵdid"](1720320,null,2,l.A,[l.c,a.ElementRef,a.Renderer,a.ChangeDetectorRef],{routerLinkActive:[0,"routerLinkActive"]},null),a["ɵqud"](603979776,4,{links:1}),a["ɵqud"](603979776,5,{linksWithHrefs:1}),a["ɵpad"](1),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,0,"i",[["class","fa fa-fw fa-file-o"]],null,null,null,null,null)),(t()(),a["ɵted"](null,[" Archivos\n "])),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵand"](16777216,null,null,1,null,r)),a["ɵdid"](16384,null,0,u.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),a["ɵted"](null,["\n \n "])),(t()(),a["ɵted"](null,["\n"])),(t()(),a["ɵted"](null,["\n"]))],function(t,e){var n=e.component;t(e,3,0,"sidebar",t(e,4,0,n.isActive)),t(e,9,0,t(e,10,0,"/matefun")),t(e,11,0,t(e,14,0,"router-link-active")),t(e,20,0,t(e,21,0,"/archivos")),t(e,22,0,t(e,25,0,"router-link-active")),t(e,31,0,n.esDocente())},function(t,e){t(e,8,0,a["ɵnov"](e,9).target,a["ɵnov"](e,9).href),t(e,19,0,a["ɵnov"](e,20).target,a["ɵnov"](e,20).href)})}function o(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,1,"app-sidebar",[],null,[["document","click"]],function(t,e,n){var r=!0;if("document:click"===e){r=!1!==a["ɵnov"](t,1).documentClicked(n)&&r}return r},i,f)),a["ɵdid"](49152,null,0,c.a,[h.a],null,null)],null,null)}var s=n("cI3s"),a=n("3j3K"),l=n("5oXY"),u=n("2Je8"),c=n("/QqB"),h=n("R6W2");n.d(e,"b",function(){return f}),e.a=i;var p=[s.a],f=a["ɵcrt"]({encapsulation:0,styles:p,data:{}});a["ɵccf"]("app-sidebar",c.a,o,{},{},[])}}); \ No newline at end of file diff --git a/Servidor JEE/WebContent/3.cf1c44ac5f53ac78dbc0.chunk.js b/Servidor JEE/WebContent/3.cf1c44ac5f53ac78dbc0.chunk.js new file mode 100644 index 0000000000000000000000000000000000000000..b41282e196f04201c372579373e48a390fa51b1e --- /dev/null +++ b/Servidor JEE/WebContent/3.cf1c44ac5f53ac78dbc0.chunk.js @@ -0,0 +1 @@ +webpackJsonp([3],{"65aF":function(n,t,e){"use strict";function l(n){return u["ɵvid"](0,[(n()(),u["ɵeld"](0,0,null,null,1,"app-header",[],null,null,null,r.a,r.b)),u["ɵdid"](1,114688,null,0,i.a,[d.a,c.c,s.a,p.a],null,null),(n()(),u["ɵted"](-1,null,["\n"])),(n()(),u["ɵeld"](3,0,null,null,1,"app-sidebar",[],null,[["document","click"]],function(n,t,e){var l=!0;if("document:click"===t){l=!1!==u["ɵnov"](n,4).documentClicked(e)&&l}return l},g.a,g.b)),u["ɵdid"](4,49152,null,0,m.a,[d.a],null,null),(n()(),u["ɵted"](-1,null,["\n"])),(n()(),u["ɵeld"](6,0,null,null,4,"section",[["class","main-container"]],null,null,null,null,null)),(n()(),u["ɵted"](-1,null,["\n "])),(n()(),u["ɵeld"](8,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),u["ɵdid"](9,212992,null,0,c.z,[c.q,u.ViewContainerRef,u.ComponentFactoryResolver,[8,null],u.ChangeDetectorRef],null,null),(n()(),u["ɵted"](-1,null,["\n"])),(n()(),u["ɵted"](-1,null,["\n"]))],function(n,t){n(t,1,0),n(t,9,0)},null)}function o(n){return u["ɵvid"](0,[(n()(),u["ɵeld"](0,0,null,null,2,"app-layout",[],null,null,null,l,v)),u["ɵprd"](4608,null,p.a,p.a,[d.a]),u["ɵdid"](2,114688,null,0,f.a,[c.c],null,null)],function(n,t){n(t,2,0)},null)}var a=e("sSX1"),u=e("/oeL"),r=e("TtRf"),i=e("o+mL"),d=e("6akk"),c=e("BkNc"),s=e("h7Ol"),p=e("2qVr"),g=e("dG/l"),m=e("aoCP"),f=e("h7nR");e.d(t,"a",function(){return b});var C=[a.a],v=u["ɵcrt"]({encapsulation:0,styles:C,data:{}}),b=u["ɵccf"]("app-layout",f.a,o,{},{},[])},"7fD3":function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=e("/oeL"),o=e("eRLv"),a=e("CVNG"),u=e("ClIn"),r=e("CU81"),i=e("IkMs"),d=e("DlWC"),c=e("m0eP"),s=e("MsHi"),p=e("65aF"),g=e("qbdv"),m=e("bm2B"),f=e("KRwK"),C=e("dN2u"),v=e("nVXb"),b=e("Wv1e"),M=e("QGDq"),P=e("0H8/"),O=e("5FV4"),_=e("f1rf"),h=e("KSV9"),k=e("CuDZ"),y=e("lA7/"),w=e("HRzg"),x=e("Qyse"),L=e("NmeZ"),R=e("7zUS"),S=e("59zy"),A=e("+E40"),D=e("V6Dl"),F=e("6akk"),q=e("CPp0"),N=e("dh/p"),z=e("wnyu"),I=e("EoP3"),K=e("PY9B"),E=e("3rU7"),H=e("4HaF"),V=e("DaIH"),B=e("Zz+K"),W=e("2waW"),G=e("IBeK"),Q=e("g5gQ"),T=e("xBEz"),U=e("PuIS"),j=e("U0Tu"),J=e("Cb36"),X=e("5h8W"),Y=e("6ade"),Z=e("0WLp"),$=e("BkNc"),nn=e("p7G+"),tn=e("0vel"),en=(e.n(tn),e("DYHI")),ln=e("h7nR");e.d(t,"LayoutModuleNgFactory",function(){return on});var on=l["ɵcmf"](o.a,[],function(n){return l["ɵmod"]([l["ɵmpd"](512,l.ComponentFactoryResolver,l["ɵCodegenComponentFactoryResolver"],[[8,[a.a,u.a,r.a,i.a,d.a,c.a,s.a,p.a]],[3,l.ComponentFactoryResolver],l.NgModuleRef]),l["ɵmpd"](4608,g.NgLocalization,g.NgLocaleLocalization,[l.LOCALE_ID]),l["ɵmpd"](4608,m["ɵi"],m["ɵi"],[]),l["ɵmpd"](4608,f.a,f.a,[l.ApplicationRef,l.Injector,l.ComponentFactoryResolver]),l["ɵmpd"](4608,C.a,C.a,[l.ComponentFactoryResolver,l.Injector,f.a]),l["ɵmpd"](4608,v.a,v.a,[]),l["ɵmpd"](4608,b.a,b.a,[]),l["ɵmpd"](4608,M.a,M.a,[]),l["ɵmpd"](4608,P.a,P.a,[]),l["ɵmpd"](4608,O.a,O.a,[]),l["ɵmpd"](4608,_.a,_.a,[]),l["ɵmpd"](4608,h.a,h.b,[]),l["ɵmpd"](4608,k.a,k.b,[]),l["ɵmpd"](4608,y.a,y.b,[]),l["ɵmpd"](4608,w.a,w.a,[]),l["ɵmpd"](4608,x.a,x.a,[]),l["ɵmpd"](4608,L.a,L.a,[]),l["ɵmpd"](4608,R.a,R.a,[]),l["ɵmpd"](4608,S.a,S.a,[]),l["ɵmpd"](4608,A.a,A.a,[]),l["ɵmpd"](4608,D.a,D.a,[]),l["ɵmpd"](4608,F.a,F.a,[q.i]),l["ɵmpd"](4608,N.a,N.a,[q.i,F.a]),l["ɵmpd"](512,g.CommonModule,g.CommonModule,[]),l["ɵmpd"](512,m["ɵba"],m["ɵba"],[]),l["ɵmpd"](512,m.FormsModule,m.FormsModule,[]),l["ɵmpd"](512,z.a,z.a,[]),l["ɵmpd"](512,I.a,I.a,[]),l["ɵmpd"](512,K.a,K.a,[]),l["ɵmpd"](512,E.a,E.a,[]),l["ɵmpd"](512,H.a,H.a,[]),l["ɵmpd"](512,V.a,V.a,[]),l["ɵmpd"](512,B.a,B.a,[]),l["ɵmpd"](512,W.a,W.a,[]),l["ɵmpd"](512,G.a,G.a,[]),l["ɵmpd"](512,Q.a,Q.a,[]),l["ɵmpd"](512,T.a,T.a,[]),l["ɵmpd"](512,U.a,U.a,[]),l["ɵmpd"](512,j.a,j.a,[]),l["ɵmpd"](512,J.a,J.a,[]),l["ɵmpd"](512,X.a,X.a,[]),l["ɵmpd"](512,Y.a,Y.a,[]),l["ɵmpd"](512,Z.a,Z.a,[]),l["ɵmpd"](512,$.x,$.x,[[2,$.k],[2,$.c]]),l["ɵmpd"](512,nn.a,nn.a,[]),l["ɵmpd"](512,tn.CodemirrorModule,tn.CodemirrorModule,[]),l["ɵmpd"](512,en.a,en.a,[]),l["ɵmpd"](512,o.a,o.a,[]),l["ɵmpd"](1024,$.t,function(){return[[{path:"",component:ln.a,children:[{path:"matefun",loadChildren:"./matefun/matefun.module#MateFunModule"},{path:"archivos",loadChildren:"./archivos/archivos.module#ArchivosModule"},{path:"grupos",loadChildren:"./grupos/grupos.module#GruposModule"}]}]]},[])])})},OirF:function(n,t,e){"use strict";e.d(t,"a",function(){return l});var l=[".sidebar[_ngcontent-%COMP%]{position:fixed;z-index:1000;top:55px;left:235px;width:235px;margin-left:-235px;border:none;border-radius:0;overflow-y:auto;background-color:#036b9a;bottom:0;overflow-x:hidden;padding-bottom:40px;transition:all .2s ease-in-out}.sidebar[_ngcontent-%COMP%] .list-group[_ngcontent-%COMP%] a.list-group-item[_ngcontent-%COMP%]{background:#036b9a;border:0;border-radius:0;color:#999;text-decoration:none}.sidebar[_ngcontent-%COMP%] .list-group[_ngcontent-%COMP%] a.router-link-active[_ngcontent-%COMP%], .sidebar[_ngcontent-%COMP%] .list-group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:#035a81;color:#fff}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] [_ngcontent-%COMP%]:focus{border-radius:none;border:none}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-title[_ngcontent-%COMP%]{font-size:1rem;height:50px;margin-bottom:0}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#999;text-decoration:none;font-weight:400;background:#036b9a}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative;display:block;padding:.75rem 1.5rem;padding-top:1rem}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus, .sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#fff;outline:none;outline-offset:-2px}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-title[_ngcontent-%COMP%]:hover{background:#035a81}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-collapse[_ngcontent-%COMP%]{border-radious:0;border:none}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-collapse[_ngcontent-%COMP%] .panel-body[_ngcontent-%COMP%] .list-group-item[_ngcontent-%COMP%]{border-radius:0;background-color:#036b9a;border:0 solid transparent}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-collapse[_ngcontent-%COMP%] .panel-body[_ngcontent-%COMP%] .list-group-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#999}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-collapse[_ngcontent-%COMP%] .panel-body[_ngcontent-%COMP%] .list-group-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#fff}.sidebar[_ngcontent-%COMP%] .sidebar-dropdown[_ngcontent-%COMP%] .panel-collapse[_ngcontent-%COMP%] .panel-body[_ngcontent-%COMP%] .list-group-item[_ngcontent-%COMP%]:hover{background:#035a81}.nested-menu[_ngcontent-%COMP%] .list-group-item[_ngcontent-%COMP%]{cursor:pointer}.nested-menu[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%]{list-style-type:none}.nested-menu[_ngcontent-%COMP%] ul.submenu[_ngcontent-%COMP%]{display:none;height:0}.nested-menu[_ngcontent-%COMP%] .expand[_ngcontent-%COMP%] ul.submenu[_ngcontent-%COMP%]{display:block;list-style-type:none;height:auto}.nested-menu[_ngcontent-%COMP%] .expand[_ngcontent-%COMP%] ul.submenu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;padding:10px;display:block}.sidebar[_ngcontent-%COMP%]{top:54px;left:0}"]},QwHJ:function(n,t,e){"use strict";e.d(t,"a",function(){return l});var l=[".topnav[_ngcontent-%COMP%]{background:linear-gradient(#0085ff,#31dc7d);background:linear-gradient(90deg,#0085ff,#5f0000)!important;border-radius:0;background-color:#222;padding:6px;z-index:2}.topnav[_ngcontent-%COMP%] .text-center[_ngcontent-%COMP%]{text-align:center;padding-left:0;cursor:pointer}.topnav[_ngcontent-%COMP%] .top-right-nav[_ngcontent-%COMP%] .buy-now[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#999}.topnav[_ngcontent-%COMP%] .top-right-nav[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{top:40px;right:-5px;left:auto}.topnav[_ngcontent-%COMP%] .top-right-nav[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .message-preview[_ngcontent-%COMP%] .media[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-heading[_ngcontent-%COMP%]{font-size:14px;font-weight:700;margin-bottom:0}.topnav[_ngcontent-%COMP%] .top-right-nav[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .message-preview[_ngcontent-%COMP%] .media[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.topnav[_ngcontent-%COMP%] .top-right-nav[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .message-preview[_ngcontent-%COMP%] .media[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] p.last[_ngcontent-%COMP%]{font-size:13px;margin-bottom:0}.topnav[_ngcontent-%COMP%] .top-right-nav[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:4px}.messages[_ngcontent-%COMP%]{width:300px}.messages[_ngcontent-%COMP%] .media[_ngcontent-%COMP%]{border-bottom:1px solid #ddd;padding:5px 10px}.messages[_ngcontent-%COMP%] .media[_ngcontent-%COMP%]:last-child{border-bottom:none}.messages[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font-size:13px;font-weight:600}.messages[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .small[_ngcontent-%COMP%]{margin:0}.messages[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .last[_ngcontent-%COMP%]{font-size:12px;margin:0}.header[_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%]{background:#222!important}"]},TtRf:function(n,t,e){"use strict";function l(n){return u["ɵvid"](0,[(n()(),u["ɵeld"](0,0,null,null,37,"div",[["class","pos-f-t fixed-top header"],["style","z-index: 1100;"]],null,null,null,null,null)),(n()(),u["ɵted"](-1,null,["\n "])),(n()(),u["ɵeld"](2,0,null,null,34,"nav",[["class","navbar navbar-inverse bg-inverse navbar-toggleable-md"],["style","background: #0278AE !important;"]],null,null,null,null,null)),(n()(),u["ɵted"](-1,null,["\n "])),(n()(),u["ɵeld"](4,0,null,null,3,"button",[["class","navbar-toggler navbar-toggler-left"],["style","display: block;"]],null,[[null,"click"]],function(n,t,e){var l=!0,o=n.component;if("click"===t){l=!1!==o.toggleSidebar(e)&&l}return l},null,null)),(n()(),u["ɵted"](-1,null,["\n "])),(n()(),u["ɵeld"](6,0,null,null,0,"span",[["class","navbar-toggler-icon"]],null,null,null,null,null)),(n()(),u["ɵted"](-1,null,["\n "])),(n()(),u["ɵted"](-1,null,["\n "])),(n()(),u["ɵeld"](9,0,null,null,1,"a",[["class","navbar-brand"],["href","#/matefun"],["style","margin-left: 3.5em; width: 5em"]],null,null,null,null,null)),(n()(),u["ɵted"](-1,null,["MateFun"])),(n()(),u["ɵted"](-1,null,["\n "])),(n()(),u["ɵeld"](12,0,null,null,23,"div",[["class","collapse navbar-collapse"],["id","navbarTogglerDemo02"],["style","position: absolute; right: 10px; display: block; width: 15em; text-align: right;"]],null,null,null,null,null)),(n()(),u["ɵted"](-1,null,["\n "])),(n()(),u["ɵeld"](14,0,null,null,20,"ul",[["class","navbar-nav ml-auto mt-2 mt-md-0"]],null,null,null,null,null)),(n()(),u["ɵted"](-1,null,["\n "])),(n()(),u["ɵeld"](16,0,null,null,17,"div",[["class","nav-item dropdown"],["ngbDropdown",""]],[[2,"dropdown",null],[2,"dropup",null],[2,"show",null]],[[null,"keyup.esc"],["document","click"]],function(n,t,e){var l=!0;if("keyup.esc"===t){l=!1!==u["ɵnov"](n,17).closeFromOutsideEsc()&&l}if("document:click"===t){l=!1!==u["ɵnov"](n,17).closeFromOutsideClick(e)&&l}return l},null,null)),u["ɵdid"](17,16384,null,0,i.b,[d.a],null,null),(n()(),u["ɵted"](-1,null,["\n "])),(n()(),u["ɵeld"](19,0,null,null,6,"a",[["aria-haspopup","true"],["class","nav-link dropdown-toggle"],["href","javascript:void(0)"],["ngbDropdownToggle",""]],[[1,"aria-expanded",0]],[[null,"click"]],function(n,t,e){var l=!0;if("click"===t){l=!1!==u["ɵnov"](n,20).toggleOpen()&&l}return l},null,null)),u["ɵdid"](20,16384,null,0,i.a,[i.b,u.ElementRef],null,null),(n()(),u["ɵted"](-1,null,["\n "])),(n()(),u["ɵeld"](22,0,null,null,0,"i",[["class","fa fa-user"]],null,null,null,null,null)),(n()(),u["ɵted"](23,null,[" ",""])),(n()(),u["ɵeld"](24,0,null,null,0,"b",[["class","caret"]],null,null,null,null,null)),(n()(),u["ɵted"](-1,null,["\n "])),(n()(),u["ɵted"](-1,null,["\n "])),(n()(),u["ɵeld"](27,0,null,null,5,"div",[["class","dropdown-menu dropdown-menu-right"]],null,null,null,null,null)),(n()(),u["ɵted"](-1,null,["\n "])),(n()(),u["ɵeld"](29,0,null,null,2,"a",[["class","dropdown-item"],["style","cursor: pointer;"]],null,[[null,"click"]],function(n,t,e){var l=!0,o=n.component;if("click"===t){l=!1!==o.logout()&&l}return l},null,null)),(n()(),u["ɵeld"](30,0,null,null,0,"i",[["class","fa fa-fw fa-power-off"]],null,null,null,null,null)),(n()(),u["ɵted"](-1,null,[" Salir"])),(n()(),u["ɵted"](-1,null,["\n "])),(n()(),u["ɵted"](-1,null,["\n "])),(n()(),u["ɵted"](-1,null,["\n "])),(n()(),u["ɵted"](-1,null,["\n "])),(n()(),u["ɵted"](-1,null,["\n "])),(n()(),u["ɵted"](-1,null,["\n"])),(n()(),u["ɵted"](-1,null,["\n"]))],null,function(n,t){var e=t.component;n(t,16,0,!u["ɵnov"](t,17).up,u["ɵnov"](t,17).up,u["ɵnov"](t,17).isOpen()),n(t,19,0,u["ɵnov"](t,20).dropdown.isOpen()),n(t,23,0,e.usuario.nombre+" "+e.usuario.apellido)})}function o(n){return u["ɵvid"](0,[(n()(),u["ɵeld"](0,0,null,null,1,"app-header",[],null,null,null,l,f)),u["ɵdid"](1,114688,null,0,r.a,[c.a,s.c,p.a,g.a],null,null)],function(n,t){n(t,1,0)},null)}var a=e("QwHJ"),u=e("/oeL"),r=e("o+mL"),i=e("fxWY"),d=e("Qyse"),c=e("6akk"),s=e("BkNc"),p=e("h7Ol"),g=e("2qVr");e.d(t,"b",function(){return f}),t.a=l;var m=[a.a],f=u["ɵcrt"]({encapsulation:0,styles:m,data:{}});u["ɵccf"]("app-header",r.a,o,{},{},[])},aoCP:function(n,t,e){"use strict";var l=e("6akk");e.d(t,"a",function(){return o});var o=function(){function n(n){this.authService=n,this.isActive=!1,this.showMenu="",this.usuario=n.getUser()}return n.prototype.eventCalled=function(){this.isActive=!this.isActive},n.prototype.addExpandClass=function(n){n===this.showMenu?this.showMenu="0":this.showMenu=n},n.prototype.toggleSidebar=function(){document.querySelector("body").classList.toggle("push-right")},n.prototype.esAlumno=function(){return"alumno"==this.usuario.tipo},n.prototype.esDocente=function(){return"docente"==this.usuario.tipo},n.prototype.documentClicked=function(n){var t=document.querySelector("body");t.classList.contains("push-right")&&(this.sidebarNav.nativeElement.contains(n.target)||t.classList.remove("push-right"))},n.ctorParameters=function(){return[{type:l.a}]},n}()},"dG/l":function(n,t,e){"use strict";function l(n){return r["ɵvid"](0,[(n()(),r["ɵeld"](0,0,null,null,9,"a",[["class","list-group-item"],["style","color: white;"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(n,t,e){var l=!0,o=n.component;if("click"===t){l=!1!==r["ɵnov"](n,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&l}if("click"===t){l=!1!==o.toggleSidebar()&&l}return l},null,null)),r["ɵdid"](1,671744,[[7,4]],0,i.y,[i.c,i.a,d.LocationStrategy],{routerLink:[0,"routerLink"]},null),r["ɵpad"](2,1),r["ɵdid"](3,1720320,null,2,i.A,[i.c,r.ElementRef,r.Renderer2,r.ChangeDetectorRef],{routerLinkActive:[0,"routerLinkActive"]},null),r["ɵqud"](603979776,6,{links:1}),r["ɵqud"](603979776,7,{linksWithHrefs:1}),r["ɵpad"](6,1),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](8,0,null,null,0,"i",[["class","fa fa-fw fa-users"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,[" Grupos\n "]))],function(n,t){n(t,1,0,n(t,2,0,"/grupos")),n(t,3,0,n(t,6,0,"router-link-active"))},function(n,t){n(t,0,0,r["ɵnov"](t,1).target,r["ɵnov"](t,1).href)})}function o(n){return r["ɵvid"](0,[r["ɵqud"](402653184,1,{sidebarNav:0}),(n()(),r["ɵted"](-1,null,[" "])),(n()(),r["ɵeld"](2,0,[[1,0],["sidebarNav",1]],null,31,"nav",[["class","sidebar"],["style","background: #036b9a !important;"]],null,null,null,null,null)),r["ɵdid"](3,278528,null,0,d.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](4,{sidebarPushRight:0}),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](6,0,null,null,26,"ul",[["class","list-group"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](8,0,null,null,9,"a",[["class","list-group-item"],["style","color: white;"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(n,t,e){var l=!0,o=n.component;if("click"===t){l=!1!==r["ɵnov"](n,9).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&l}if("click"===t){l=!1!==o.toggleSidebar()&&l}return l},null,null)),r["ɵdid"](9,671744,[[3,4]],0,i.y,[i.c,i.a,d.LocationStrategy],{routerLink:[0,"routerLink"]},null),r["ɵpad"](10,1),r["ɵdid"](11,1720320,null,2,i.A,[i.c,r.ElementRef,r.Renderer2,r.ChangeDetectorRef],{routerLinkActive:[0,"routerLinkActive"]},null),r["ɵqud"](603979776,2,{links:1}),r["ɵqud"](603979776,3,{linksWithHrefs:1}),r["ɵpad"](14,1),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](16,0,null,null,0,"i",[["class","fa fa-fw fa-desktop"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,[" Programa\n "])),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](19,0,null,null,9,"a",[["class","list-group-item"],["style","color: white;"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(n,t,e){var l=!0,o=n.component;if("click"===t){l=!1!==r["ɵnov"](n,20).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&l}if("click"===t){l=!1!==o.toggleSidebar()&&l}return l},null,null)),r["ɵdid"](20,671744,[[5,4]],0,i.y,[i.c,i.a,d.LocationStrategy],{routerLink:[0,"routerLink"]},null),r["ɵpad"](21,1),r["ɵdid"](22,1720320,null,2,i.A,[i.c,r.ElementRef,r.Renderer2,r.ChangeDetectorRef],{routerLinkActive:[0,"routerLinkActive"]},null),r["ɵqud"](603979776,4,{links:1}),r["ɵqud"](603979776,5,{linksWithHrefs:1}),r["ɵpad"](25,1),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](27,0,null,null,0,"i",[["class","fa fa-fw fa-file-o"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,[" Archivos\n "])),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵand"](16777216,null,null,1,null,l)),r["ɵdid"](31,16384,null,0,d.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),r["ɵted"](-1,null,["\n \n "])),(n()(),r["ɵted"](-1,null,["\n"])),(n()(),r["ɵted"](-1,null,["\n"]))],function(n,t){var e=t.component;n(t,3,0,"sidebar",n(t,4,0,e.isActive)),n(t,9,0,n(t,10,0,"/matefun")),n(t,11,0,n(t,14,0,"router-link-active")),n(t,20,0,n(t,21,0,"/archivos")),n(t,22,0,n(t,25,0,"router-link-active")),n(t,31,0,e.esDocente())},function(n,t){n(t,8,0,r["ɵnov"](t,9).target,r["ɵnov"](t,9).href),n(t,19,0,r["ɵnov"](t,20).target,r["ɵnov"](t,20).href)})}function a(n){return r["ɵvid"](0,[(n()(),r["ɵeld"](0,0,null,null,1,"app-sidebar",[],null,[["document","click"]],function(n,t,e){var l=!0;if("document:click"===t){l=!1!==r["ɵnov"](n,1).documentClicked(e)&&l}return l},o,g)),r["ɵdid"](1,49152,null,0,c.a,[s.a],null,null)],null,null)}var u=e("OirF"),r=e("/oeL"),i=e("BkNc"),d=e("qbdv"),c=e("aoCP"),s=e("6akk");e.d(t,"b",function(){return g}),t.a=o;var p=[u.a],g=r["ɵcrt"]({encapsulation:0,styles:p,data:{}});r["ɵccf"]("app-sidebar",c.a,a,{},{},[])},eRLv:function(n,t,e){"use strict";e.d(t,"a",function(){return l});var l=function(){function n(){}return n}()},h7nR:function(n,t,e){"use strict";var l=e("BkNc");e.d(t,"a",function(){return o});var o=function(){function n(n){this.router=n}return n.prototype.ngOnInit=function(){"/"===this.router.url&&this.router.navigate(["/login"])},n.ctorParameters=function(){return[{type:l.c}]},n}()},"o+mL":function(n,t,e){"use strict";var l=e("BkNc"),o=e("6akk"),a=e("h7Ol"),u=e("2qVr");e.d(t,"a",function(){return r});var r=function(){function n(n,t,e,l){this.authService=n,this.router=t,this.sessionService=e,this.ghciService=l,this.usuario=n.getUser()}return n.prototype.ngOnInit=function(){},n.prototype.toggleSidebar=function(n){n.stopPropagation(),document.querySelector("body").classList.toggle("push-right")},n.prototype.rltAndLtr=function(){document.querySelector("body").classList.toggle("rtl")},n.prototype.logout=function(){this.sessionService.reset(),this.ghciService.desconectarWS(),this.router.navigate(["/login"])},n.ctorParameters=function(){return[{type:o.a},{type:l.c},{type:a.a},{type:u.a}]},n}()},"p7G+":function(n,t,e){"use strict";var l=e("h7nR");e.d(t,"a",function(){return o});var o=(l.a,function(){function n(){}return n}())},sSX1:function(n,t,e){"use strict";e.d(t,"a",function(){return l});var l=[".main-container[_ngcontent-%COMP%]{margin-top:60px;margin-left:235px;padding:15px;-ms-overflow-x:hidden;overflow-x:hidden;overflow-y:scroll;position:relative;overflow:hidden;margin-left:0!important}"]}}); \ No newline at end of file diff --git a/Servidor JEE/WebContent/3rdpartylicenses.txt b/Servidor JEE/WebContent/3rdpartylicenses.txt new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/Servidor JEE/WebContent/4.944819365f9d2d51724d.chunk.js b/Servidor JEE/WebContent/4.944819365f9d2d51724d.chunk.js new file mode 100644 index 0000000000000000000000000000000000000000..d9e77053587a06531dc0f4777a97b0fa853434ab --- /dev/null +++ b/Servidor JEE/WebContent/4.944819365f9d2d51724d.chunk.js @@ -0,0 +1 @@ +webpackJsonp([4],{"8ejN":function(l,n,u){"use strict";var e=u("Pqki");u.d(n,"a",function(){return o});var o=(e.a,function(){function l(){}return l}())},Pqki:function(l,n,u){"use strict";var e=u("BkNc"),o=u("6akk"),t=u("dh/p"),i=u("h7Ol"),r=u("p2gU"),a=(u.n(r),u("fm0g")),d=u("uiTn");u.d(n,"a",function(){return c});var c=function(){function l(l,n,u,e,o,t){this.router=l,this.authService=n,this.haskellService=u,this.notifService=e,this.sessionService=o,this.dialogService=t,this.archivos=[],this.grupos=[],this.grupoSeleccionado=void 0,this.alumnoSeleccionado=void 0,this.archivoSeleccionado=void 0,this.tipoArchivo=void 0,this.loading=!1,this.idRecorridos=[],this.configCodeMirror=JSON.parse(sessionStorage.getItem("codeMirrorConfig")),this.directorioActual={},this.directorioActual.archivos=[],this.configCodeMirror.readOnly=!0}return l.prototype.ngOnInit=function(){var l=this,n=this.authService.getUser().cedula;this.loading=!0,this.haskellService.getGrupos(n).subscribe(function(n){l.grupos=n,l.ordenarGrupos(),l.loading=!1},function(l){return console.log(l)})},l.prototype.ordenarAlph=function(l,n){return l.nombre.toLowerCase()<n.nombre.toLowerCase()?-1:l.nombre.toLowerCase()>n.nombre.toLowerCase()?1:0},l.prototype.ordenarArchivos=function(){this.grupoSeleccionado.archivos=this.grupoSeleccionado.archivos.sort(this.ordenarAlph)},l.prototype.ordenarArchivosAlumno=function(){this.archivoSeleccionado.archivos&&(this.archivoSeleccionado.archivos=this.archivoSeleccionado.archivos.sort(this.ordenarAlph))},l.prototype.ordenarGrupoF=function(l,n){return l.grado>n.grado?1:l.grado<n.grado?-1:l.grupo.toLowerCase()>n.grupo.toLowerCase()?1:l.grupo.toLowerCase()<n.grupo.toLowerCase()?-1:0},l.prototype.ordenarGrupos=function(){this.grupos=this.grupos.sort(this.ordenarGrupoF)},l.prototype.ordenarAlumnosF=function(l,n){return l.apellido.toLowerCase()>n.apellido.toLowerCase()?1:l.apellido.toLowerCase()<n.apellido.toLowerCase()?-1:0},l.prototype.ordenarAlumnos=function(){this.grupoSeleccionado.alumnos=this.grupoSeleccionado.alumnos.sort(this.ordenarAlumnosF)},l.prototype.seleccionarGrupo=function(l){this.grupoSeleccionado=l,this.ordenarAlumnos(),this.ordenarArchivos(),this.archivoSeleccionado=void 0,this.alumnoSeleccionado=void 0},l.prototype.desseleccionarGrupo=function(){this.grupoSeleccionado=void 0,this.archivoSeleccionado=void 0,this.alumnoSeleccionado=void 0},l.prototype.seleccionarAlumno=function(l){this.alumnoSeleccionado=l,this.ordenarArchivosAlumno(),this.archivoSeleccionado=void 0},l.prototype.seleccionarArchivo=function(l){this.archivoSeleccionado=l,this.alumnoSeleccionado=void 0,this.tipoArchivo="compartido"},l.prototype.seleccionarEntrega=function(l){this.archivoSeleccionado=l,this.alumnoSeleccionado=void 0,this.tipoArchivo="entrega"},l.prototype.calificarEntrega=function(){this.dialogService.addDialog(a.a,{cedula:JSON.parse(sessionStorage.currentUser).cedula+"",archivo:this.archivoSeleccionado,parentContext:this}).subscribe(function(l){})},l.prototype.esArchivoGrupo=function(){var l=this;return!!(this.archivoSeleccionado&&this.grupoSeleccionado&&this.grupoSeleccionado.archivos.some(function(n){return n.id==l.archivoSeleccionado.id}))},l.prototype.cargarArchivoCompartido=function(){this.archivoSeleccionado?this.archivoSeleccionado.directorio?this.notifService.warning("No se seleccionó ningún archivo",!1):(this.sessionService.setArchivo(this.archivoSeleccionado),this.router.navigate(["/matefun"])):this.notifService.warning("Archivo no seleccionado")},l.ctorParameters=function(){return[{type:e.c},{type:o.a},{type:t.a},{type:d.a},{type:i.a},{type:r.DialogService}]},l}()},Q6xx:function(l,n,u){"use strict";u.d(n,"a",function(){return e});var e=function(){function l(){}return l}()},ZzL7:function(l,n,u){"use strict";function e(l){return t["ɵvid"](0,[(l()(),t["ɵeld"](0,0,null,null,61,"div",[["class","modal-dialog"],["style","margin-top:100px;"]],null,null,null,null,null)),(l()(),t["ɵted"](-1,null,["\n "])),(l()(),t["ɵeld"](2,0,null,null,58,"div",[["class","modal-content"]],null,null,null,null,null)),(l()(),t["ɵted"](-1,null,["\n\n "])),(l()(),t["ɵeld"](4,0,null,null,7,"div",[["class","modal-header"]],null,null,null,null,null)),(l()(),t["ɵted"](-1,null,["\n "])),(l()(),t["ɵeld"](6,0,null,null,1,"h5",[["class","modal-title"]],null,null,null,null,null)),(l()(),t["ɵted"](-1,null,["Calificar entrega"])),(l()(),t["ɵted"](-1,null,[" \n "])),(l()(),t["ɵeld"](9,0,null,null,1,"button",[["class","close"],["style","margin-left:8px;"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0,o=l.component;if("click"===n){e=!1!==o.close()&&e}return e},null,null)),(l()(),t["ɵted"](-1,null,["×"])),(l()(),t["ɵted"](-1,null,["\n "])),(l()(),t["ɵted"](-1,null,["\n \n "])),(l()(),t["ɵeld"](13,0,null,null,37,"div",[["class","modal-body"]],null,null,null,null,null)),(l()(),t["ɵted"](-1,null,["\n "])),(l()(),t["ɵeld"](15,0,null,null,34,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,u){var e=!0;if("submit"===n){e=!1!==t["ɵnov"](l,17).onSubmit(u)&&e}if("reset"===n){e=!1!==t["ɵnov"](l,17).onReset()&&e}return e},null,null)),t["ɵdid"](16,16384,null,0,r["ɵbf"],[],null,null),t["ɵdid"](17,16384,null,0,r.NgForm,[[8,null],[8,null]],null,null),t["ɵprd"](2048,null,r.ControlContainer,null,[r.NgForm]),t["ɵdid"](19,16384,null,0,r.NgControlStatusGroup,[r.ControlContainer],null,null),(l()(),t["ɵted"](-1,null,[" \n "])),(l()(),t["ɵeld"](21,0,null,null,13,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),t["ɵted"](-1,null,["\n "])),(l()(),t["ɵeld"](23,0,null,null,1,"label",[["class","form-control-label"],["for","message-text"]],null,null,null,null,null)),(l()(),t["ɵted"](-1,null,["Calificacion (1-100):"])),(l()(),t["ɵted"](-1,null,["\n "])),(l()(),t["ɵeld"](26,0,null,null,7,"input",[["class","form-control"],["max","100"],["min","1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(l,n,u){var e=!0,o=l.component;if("input"===n){e=!1!==t["ɵnov"](l,27)._handleInput(u.target.value)&&e}if("blur"===n){e=!1!==t["ɵnov"](l,27).onTouched()&&e}if("compositionstart"===n){e=!1!==t["ɵnov"](l,27)._compositionStart()&&e}if("compositionend"===n){e=!1!==t["ɵnov"](l,27)._compositionEnd(u.target.value)&&e}if("change"===n){e=!1!==t["ɵnov"](l,28).onChange(u.target.value)&&e}if("input"===n){e=!1!==t["ɵnov"](l,28).onChange(u.target.value)&&e}if("blur"===n){e=!1!==t["ɵnov"](l,28).onTouched()&&e}if("ngModelChange"===n){e=!1!==(o.nota=u)&&e}return e},null,null)),t["ɵdid"](27,16384,null,0,r.DefaultValueAccessor,[t.Renderer2,t.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),t["ɵdid"](28,16384,null,0,r["ɵbc"],[t.Renderer2,t.ElementRef],null,null),t["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,function(l,n){return[l,n]},[r.DefaultValueAccessor,r["ɵbc"]]),t["ɵdid"](30,671744,null,0,r.NgModel,[[2,r.ControlContainer],[8,null],[8,null],[2,r.NG_VALUE_ACCESSOR]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),t["ɵpod"](31,{standalone:0}),t["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),t["ɵdid"](33,16384,null,0,r.NgControlStatus,[r.NgControl],null,null),(l()(),t["ɵted"](-1,null,[" \n "])),(l()(),t["ɵted"](-1,null,["\n "])),(l()(),t["ɵeld"](36,0,null,null,12,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),t["ɵted"](-1,null,["\n "])),(l()(),t["ɵeld"](38,0,null,null,1,"label",[["class","form-control-label"],["for","message-text"]],null,null,null,null,null)),(l()(),t["ɵted"](-1,null,["Detalle:"])),(l()(),t["ɵted"](-1,null,["\n "])),(l()(),t["ɵeld"](41,0,null,null,6,"textarea",[["class","form-control"],["id","message-text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var e=!0,o=l.component;if("input"===n){e=!1!==t["ɵnov"](l,42)._handleInput(u.target.value)&&e}if("blur"===n){e=!1!==t["ɵnov"](l,42).onTouched()&&e}if("compositionstart"===n){e=!1!==t["ɵnov"](l,42)._compositionStart()&&e}if("compositionend"===n){e=!1!==t["ɵnov"](l,42)._compositionEnd(u.target.value)&&e}if("ngModelChange"===n){e=!1!==(o.descripcion=u)&&e}return e},null,null)),t["ɵdid"](42,16384,null,0,r.DefaultValueAccessor,[t.Renderer2,t.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),t["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,function(l){return[l]},[r.DefaultValueAccessor]),t["ɵdid"](44,671744,null,0,r.NgModel,[[2,r.ControlContainer],[8,null],[8,null],[2,r.NG_VALUE_ACCESSOR]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),t["ɵpod"](45,{standalone:0}),t["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),t["ɵdid"](47,16384,null,0,r.NgControlStatus,[r.NgControl],null,null),(l()(),t["ɵted"](-1,null,["\n "])),(l()(),t["ɵted"](-1,null,["\n "])),(l()(),t["ɵted"](-1,null,["\n "])),(l()(),t["ɵted"](-1,null,["\n\n "])),(l()(),t["ɵeld"](52,0,null,null,7,"div",[["class","modal-footer"]],null,null,null,null,null)),(l()(),t["ɵted"](-1,null,["\n "])),(l()(),t["ɵeld"](54,0,null,null,1,"button",[["class","btn btn-secondary"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0,o=l.component;if("click"===n){e=!1!==o.cancel()&&e}return e},null,null)),(l()(),t["ɵted"](-1,null,["Cancelar"])),(l()(),t["ɵted"](-1,null,["\n "])),(l()(),t["ɵeld"](57,0,null,null,1,"button",[["class","btn btn-success"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0,o=l.component;if("click"===n){e=!1!==o.confirm()&&e}return e},null,null)),(l()(),t["ɵted"](-1,null,["Calificar"])),(l()(),t["ɵted"](-1,null,["\n "])),(l()(),t["ɵted"](-1,null,["\n\n "])),(l()(),t["ɵted"](-1,null,["\n "]))],function(l,n){var u=n.component;l(n,30,0,u.nota,l(n,31,0,!0)),l(n,44,0,u.descripcion,l(n,45,0,!0))},function(l,n){l(n,15,0,t["ɵnov"](n,19).ngClassUntouched,t["ɵnov"](n,19).ngClassTouched,t["ɵnov"](n,19).ngClassPristine,t["ɵnov"](n,19).ngClassDirty,t["ɵnov"](n,19).ngClassValid,t["ɵnov"](n,19).ngClassInvalid,t["ɵnov"](n,19).ngClassPending),l(n,26,0,t["ɵnov"](n,33).ngClassUntouched,t["ɵnov"](n,33).ngClassTouched,t["ɵnov"](n,33).ngClassPristine,t["ɵnov"](n,33).ngClassDirty,t["ɵnov"](n,33).ngClassValid,t["ɵnov"](n,33).ngClassInvalid,t["ɵnov"](n,33).ngClassPending),l(n,41,0,t["ɵnov"](n,47).ngClassUntouched,t["ɵnov"](n,47).ngClassTouched,t["ɵnov"](n,47).ngClassPristine,t["ɵnov"](n,47).ngClassDirty,t["ɵnov"](n,47).ngClassValid,t["ɵnov"](n,47).ngClassInvalid,t["ɵnov"](n,47).ngClassPending)})}function o(l){return t["ɵvid"](0,[(l()(),t["ɵeld"](0,0,null,null,1,"confirm",[],null,null,null,e,c)),t["ɵdid"](1,245760,null,0,i.a,[a.DialogService],null,null)],function(l,n){l(n,1,0)},null)}var t=u("/oeL"),i=u("fm0g"),r=u("bm2B"),a=u("V672");u.n(a);u.d(n,"a",function(){return s});var d=[],c=t["ɵcrt"]({encapsulation:2,styles:d,data:{}}),s=t["ɵccf"]("confirm",i.a,o,{},{},[])},fm0g:function(l,n,u){"use strict";var e=u("p2gU"),o=(u.n(e),u("78g9"));u.d(n,"a",function(){return i});var t=this&&this.__extends||function(){var l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,n){l.__proto__=n}||function(l,n){for(var u in n)n.hasOwnProperty(u)&&(l[u]=n[u])};return function(n,u){function e(){this.constructor=n}l(n,u),n.prototype=null===u?Object.create(u):(e.prototype=u.prototype,new e)}}(),i=function(l){function n(n){var u=l.call(this,n)||this;return u.descripcion="",u.nota=1,u}return t(n,l),n.prototype.ngOnInit=function(){this.archivo.evaluacion&&(this.descripcion=this.archivo.evaluacion.descripcion,this.nota=this.archivo.evaluacion.nota)},n.prototype.confirm=function(){var l=this,n=new o.a;n.cedulaDocente=this.cedula,n.descripcion=this.descripcion,n.nota=this.nota,this.nota>0&&this.nota<100?this.parentContext.haskellService.calificarArchivo(this.archivo.id,n).subscribe(function(n){l.parentContext.notifService.success("Archivo evaluado"),l.archivo.evaluacion=n,l.close()},function(n){l.parentContext.notifService.error(n)}):this.parentContext.notifService.error("Calificacion fuera de rango")},n.prototype.cancel=function(){this.close()},n.ctorParameters=function(){return[{type:e.DialogService}]},n}(e.DialogComponent)},pP91:function(l,n,u){"use strict";function e(l){return R["ɵvid"](0,[(l()(),R["ɵeld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["Grupos"]))],null,null)}function o(l){return R["ɵvid"](0,[(l()(),R["ɵeld"](0,0,null,null,9,"div",[["class","loading"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](2,0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](4,0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](6,0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](8,0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "]))],null,null)}function t(l){return R["ɵvid"](0,[(l()(),R["ɵeld"](0,0,null,null,6,"div",[["class","col-sm-3 col-4 "],["style","text-align: center;"]],null,[[null,"click"]],function(l,n,u){var e=!0,o=l.component;if("click"===n){e=!1!==o.seleccionarGrupo(l.context.$implicit)&&e}return e},null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-users"],["style","font-size: 3em; cursor: pointer;color: #f95e5e;"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](4,0,null,null,1,"p",[["style","cursor: pointer;"]],null,null,null,null,null)),(l()(),R["ɵted"](5,null,["",""])),(l()(),R["ɵted"](-1,null,["\n "]))],null,function(l,n){l(n,5,0,n.context.$implicit.grado+"°"+n.context.$implicit.grupo+" - "+n.context.$implicit.anio)})}function i(l){return R["ɵvid"](0,[(l()(),R["ɵeld"](0,0,null,null,10,"div",[["class","card-block"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](2,0,null,null,7,"div",[["class","row listado-grupos"],["style","min-height: 100px; overflow-y: scroll;"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵand"](16777216,null,null,1,null,o)),R["ɵdid"](5,16384,null,0,N.NgIf,[R.ViewContainerRef,R.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵand"](16777216,null,null,1,null,t)),R["ɵdid"](8,802816,null,0,N.NgForOf,[R.ViewContainerRef,R.TemplateRef,R.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "]))],function(l,n){var u=n.component;l(n,5,0,u.loading),l(n,8,0,u.grupos)},null)}function r(l){return R["ɵvid"](0,[(l()(),R["ɵeld"](0,0,null,null,10,"div",[["class","card"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](2,0,null,null,4,"div",[["class","card-header"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵand"](16777216,null,null,1,null,e)),R["ɵdid"](5,16384,null,0,N.NgIf,[R.ViewContainerRef,R.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵand"](16777216,null,null,1,null,i)),R["ɵdid"](9,16384,null,0,N.NgIf,[R.ViewContainerRef,R.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),R["ɵted"](-1,null,["\n "]))],function(l,n){var u=n.component;l(n,5,0,void 0==u.grupoSeleccionado),l(n,9,0,void 0==u.grupoSeleccionado)},null)}function a(l){return R["ɵvid"](0,[(l()(),R["ɵeld"](0,0,null,null,6,"div",[["class","col-sm-3 "],["style","text-align: center;"]],null,[[null,"click"]],function(l,n,u){var e=!0,o=l.component;if("click"===n){e=!1!==o.seleccionarAlumno(l.context.$implicit)&&e}return e},null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-user"],["style","font-size: 3em; cursor: pointer;color: #f95e5e;"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](4,0,null,null,1,"p",[["style","cursor: pointer;"]],null,null,null,null,null)),(l()(),R["ɵted"](5,null,["",""])),(l()(),R["ɵted"](-1,null,["\n "]))],null,function(l,n){l(n,5,0,n.context.$implicit.apellido+", "+n.context.$implicit.nombre)})}function d(l){return R["ɵvid"](0,[(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](1,0,null,null,22,"div",[["class","card"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](3,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](5,16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary pull-right"],["data-placement","bottom"],["ngbPopover","Atras"],["style","cursor: pointer; margin-top: -35px; margin-right: 105px;"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(l,n,u){var e=!0,o=l.component;if("click"===n){e=!1!==o.desseleccionarGrupo()&&e}return e},null,null)),R["ɵdid"](6,212992,null,0,I.a,[R.ElementRef,R.Renderer2,R.Injector,R.ComponentFactoryResolver,R.ViewContainerRef,A.a,R.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](8,0,null,null,0,"i",[["class","fa fa-arrow-up"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](11,0,null,null,1,"p",[["class","pull-right"],["style","margin-top: -34px; margin-right: 5px;"]],null,null,null,null,null)),(l()(),R["ɵted"](12,null,["",""])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](15,0,null,null,7,"div",[["class","card-block"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](17,0,null,null,4,"div",[["class","row listado-grupos"],["style","min-height: 100px; overflow-y: scroll;"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵand"](16777216,null,null,1,null,a)),R["ɵdid"](20,802816,null,0,N.NgForOf,[R.ViewContainerRef,R.TemplateRef,R.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "]))],function(l,n){var u=n.component;l(n,6,0,"Atras","bottom","mouseenter:mouseleave"),l(n,20,0,u.grupoSeleccionado.alumnos)},function(l,n){var u=n.component;l(n,12,0,u.grupoSeleccionado.grado+"°"+u.grupoSeleccionado.grupo+" - "+u.grupoSeleccionado.anio)})}function c(l){return R["ɵvid"](0,[(l()(),R["ɵeld"](0,0,null,null,6,"div",[["class","col-sm-3 col-4"],["style","text-align: center;"]],null,[[null,"click"]],function(l,n,u){var e=!0,o=l.component;if("click"===n){e=!1!==o.seleccionarArchivo(l.context.$implicit)&&e}return e},null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-file-text"],["style","font-size: 3em; cursor: pointer;color: #ff8383"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](4,0,null,null,1,"p",[["style","cursor: pointer;"]],null,null,null,null,null)),(l()(),R["ɵted"](5,null,["",""])),(l()(),R["ɵted"](-1,null,["\n "]))],null,function(l,n){l(n,5,0,n.context.$implicit.nombre)})}function s(l){return R["ɵvid"](0,[(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](1,0,null,null,22,"div",[["class","card"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](3,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](5,16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary pull-right"],["data-placement","bottom"],["ngbPopover","Atras"],["style","cursor: pointer; margin-top: -35px; margin-right: 105px;"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(l,n,u){var e=!0,o=l.component;if("click"===n){e=!1!==o.desseleccionarGrupo()&&e}return e},null,null)),R["ɵdid"](6,212992,null,0,I.a,[R.ElementRef,R.Renderer2,R.Injector,R.ComponentFactoryResolver,R.ViewContainerRef,A.a,R.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](8,0,null,null,0,"i",[["class","fa fa-arrow-up"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](11,0,null,null,1,"p",[["class","pull-right"],["style","margin-top: -34px; margin-right: 5px;"]],null,null,null,null,null)),(l()(),R["ɵted"](12,null,["",""])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](15,0,null,null,7,"div",[["class","card-block"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](17,0,null,null,4,"div",[["class","row listado-grupos"],["style","min-height: 100px; overflow-y: scroll;"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵand"](16777216,null,null,1,null,c)),R["ɵdid"](20,802816,null,0,N.NgForOf,[R.ViewContainerRef,R.TemplateRef,R.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "]))],function(l,n){var u=n.component;l(n,6,0,"Atras","bottom","mouseenter:mouseleave"),l(n,20,0,u.grupoSeleccionado.archivos)},function(l,n){var u=n.component;l(n,12,0,u.grupoSeleccionado.grado+"°"+u.grupoSeleccionado.grupo+" - "+u.grupoSeleccionado.anio)})}function p(l){return R["ɵvid"](0,[(l()(),R["ɵeld"](0,0,null,null,21,"ngb-tabset",[],null,null,null,x.a,x.b)),R["ɵdid"](1,2146304,null,1,w.a,[k.a],{destroyOnHide:[0,"destroyOnHide"]},null),R["ɵqud"](603979776,1,{tabs:1}),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](4,0,null,null,7,"ngb-tab",[["title","Alumnos"]],null,null,null,null,null)),R["ɵdid"](5,16384,[[1,4]],2,w.b,[],{title:[0,"title"]},null),R["ɵqud"](335544320,2,{contentTpl:0}),R["ɵqud"](335544320,3,{titleTpl:0}),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵand"](0,null,null,1,null,d)),R["ɵdid"](10,16384,[[2,4]],0,w.c,[R.TemplateRef],null,null),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](13,0,null,null,7,"ngb-tab",[["title","Archivos"]],null,null,null,null,null)),R["ɵdid"](14,16384,[[1,4]],2,w.b,[],{title:[0,"title"]},null),R["ɵqud"](335544320,4,{contentTpl:0}),R["ɵqud"](335544320,5,{titleTpl:0}),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵand"](0,null,null,1,null,s)),R["ɵdid"](19,16384,[[4,4]],0,w.c,[R.TemplateRef],null,null),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "]))],function(l,n){l(n,1,0,!1);l(n,5,0,"Alumnos");l(n,14,0,"Archivos")},null)}function f(l){return R["ɵvid"](0,[(l()(),R["ɵeld"](0,0,null,null,7,"div",[["class","col-sm-3 col-4"],["style","text-align: center;"]],null,[[null,"click"]],function(l,n,u){var e=!0,o=l.component;if("click"===n){e=!1!==o.seleccionarEntrega(l.context.$implicit)&&e}return e},null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](2,0,null,null,1,"i",[["aria-hidden","true"],["class","fa fa-file-text"],["style","font-size: 3em; cursor: pointer;"]],null,null,null,null,null)),R["ɵdid"](3,278528,null,0,N.NgStyle,[R.KeyValueDiffers,R.ElementRef,R.Renderer],null,null),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](5,0,null,null,1,"p",[["style","cursor: pointer;"]],null,null,null,null,null)),(l()(),R["ɵted"](6,null,["",""])),(l()(),R["ɵted"](-1,null,["\n "]))],function(l,n){l(n,3,0)},function(l,n){l(n,6,0,n.context.$implicit.nombre)})}function g(l){return R["ɵvid"](0,[(l()(),R["ɵeld"](0,0,null,null,6,"div",[["style","width: 100%; text-align: center;"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](2,0,null,null,0,"i",[["class","fa fa-file-text"],["style","color: rgb(220,220,220); font-size: 10em; padding: 0.1em"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](4,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),R["ɵted"](5,null,["No hay entregas del alumno: ",""])),(l()(),R["ɵted"](-1,null,["\n "]))],null,function(l,n){var u=n.component;l(n,5,0,u.alumnoSeleccionado.nombre+" "+u.alumnoSeleccionado.apellido)})}function v(l){return R["ɵvid"](0,[(l()(),R["ɵeld"](0,0,null,null,13,"div",[["class","card"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](2,0,null,null,10,"div",[["class","card-block"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](4,0,null,null,7,"div",[["class","row listadoEntregasAlumnoGrupos"],["style","min-height: 100px; overflow-y: scroll;"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵand"](16777216,null,null,1,null,f)),R["ɵdid"](7,802816,null,0,N.NgForOf,[R.ViewContainerRef,R.TemplateRef,R.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵand"](16777216,null,null,1,null,g)),R["ɵdid"](10,16384,null,0,N.NgIf,[R.ViewContainerRef,R.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n \n "])),(l()(),R["ɵted"](-1,null,["\n "]))],function(l,n){var u=n.component;l(n,7,0,u.alumnoSeleccionado.archivos),l(n,10,0,0==u.alumnoSeleccionado.archivos.length)},null)}function m(l){return R["ɵvid"](0,[(l()(),R["ɵeld"](0,0,null,null,12,"div",[["class","card"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](2,0,null,null,9,"div",[["class","card-block"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](4,0,null,null,6,"div",[["class","row previewArchivoNoSeleccionadoGrupos"],["style","min-height: 100px"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](6,0,null,null,3,"div",[["style","width: 100%; text-align: center;"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](8,0,null,null,0,"i",[["class","fa fa-file-text"],["style","color: rgb(220,220,220); font-size: 10em; padding: 0.1em"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "]))],null,null)}function h(l){return R["ɵvid"](0,[(l()(),R["ɵeld"](0,0,null,null,1,"button",[["class","btn btn-sm btn-secondary pull-left mr-2"]],null,[[null,"click"]],function(l,n,u){var e=!0,o=l.component;if("click"===n){e=!1!==o.calificarEntrega()&&e}return e},null,null)),(l()(),R["ɵted"](-1,null,["\n Calificar\n "]))],null,null)}function C(l){return R["ɵvid"](0,[(l()(),R["ɵeld"](0,16777216,null,null,4,"button",[["class","btn btn-sm btn-secondary pull-left mr-2"],["data-placement","bottom"],["ngbPopover","Cargar/Editar"],["triggers","mouseenter:mouseleave"]],null,[[null,"click"]],function(l,n,u){var e=!0,o=l.component;if("click"===n){e=!1!==o.cargarArchivoCompartido()&&e}return e},null,null)),R["ɵdid"](1,212992,null,0,I.a,[R.ElementRef,R.Renderer2,R.Injector,R.ComponentFactoryResolver,R.ViewContainerRef,A.a,R.NgZone],{ngbPopover:[0,"ngbPopover"],placement:[1,"placement"],triggers:[2,"triggers"]},null),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](3,0,null,null,0,"i",[["class","fa fa-pencil"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵand"](0,null,null,0))],function(l,n){l(n,1,0,"Cargar/Editar","bottom","mouseenter:mouseleave")},null)}function b(l){return R["ɵvid"](0,[(l()(),R["ɵeld"](0,0,null,null,24,"div",[["class","card"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](2,0,null,null,11,"div",[["class","card-header"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵand"](16777216,null,null,1,null,h)),R["ɵdid"](5,16384,null,0,N.NgIf,[R.ViewContainerRef,R.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵand"](16777216,null,null,1,null,C)),R["ɵdid"](8,16384,null,0,N.NgIf,[R.ViewContainerRef,R.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](10,0,null,null,2,"div",[["class","pull-left"]],null,null,null,null,null)),(l()(),R["ɵted"](11,null,["\n Nombre: "," - Creado: ","\n "])),R["ɵppd"](12,1),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](15,0,null,null,8,"codemirror",[["class","codemirrorGrupos"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(l,n,u){var e=!0,o=l.component;if("ngModelChange"===n){e=!1!==(o.archivoSeleccionado.contenido=u)&&e}return e},O.a,O.b)),R["ɵdid"](16,278528,null,0,N.NgStyle,[R.KeyValueDiffers,R.ElementRef,R.Renderer],{ngStyle:[0,"ngStyle"]},null),R["ɵpod"](17,{"font-size":0}),R["ɵdid"](18,4374528,null,0,V.CodemirrorComponent,[],{config:[0,"config"]},null),R["ɵprd"](1024,null,M.NG_VALUE_ACCESSOR,function(l){return[l]},[V.CodemirrorComponent]),R["ɵdid"](20,671744,null,0,M.NgModel,[[8,null],[8,null],[8,null],[2,M.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),R["ɵprd"](2048,null,M.NgControl,null,[M.NgModel]),R["ɵdid"](22,16384,null,0,M.NgControlStatus,[M.NgControl],null,null),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "]))],function(l,n){var u=n.component;l(n,5,0,"entrega"==u.tipoArchivo),l(n,8,0,u.esArchivoGrupo()),l(n,16,0,l(n,17,0,u.configCodeMirror.fontSize+"px")),l(n,18,0,u.configCodeMirror),l(n,20,0,u.archivoSeleccionado.contenido)},function(l,n){var u=n.component;l(n,11,0,null==u.archivoSeleccionado?null:u.archivoSeleccionado.nombre,R["ɵunv"](n,11,1,l(n,12,0,R["ɵnov"](n.parent,0),null==u.archivoSeleccionado?null:u.archivoSeleccionado.fechaCreacion))),l(n,15,0,R["ɵnov"](n,22).ngClassUntouched,R["ɵnov"](n,22).ngClassTouched,R["ɵnov"](n,22).ngClassPristine,R["ɵnov"](n,22).ngClassDirty,R["ɵnov"](n,22).ngClassValid,R["ɵnov"](n,22).ngClassInvalid,R["ɵnov"](n,22).ngClassPending)})}function S(l){return R["ɵvid"](0,[R["ɵpid"](0,N.DatePipe,[R.LOCALE_ID]),(l()(),R["ɵeld"](1,0,null,null,1,"notificacion",[],null,null,null,E.a,E.b)),R["ɵdid"](2,114688,null,0,P.a,[_.a],null,null),(l()(),R["ɵted"](-1,null,[" \n"])),(l()(),R["ɵeld"](4,0,null,null,43,"div",[["class","container-fluid"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](6,0,null,null,16,"div",[["class","row"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](8,0,null,null,13,"div",[["class","col-lg-5"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](10,0,null,null,1,"label",[["for","search"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["Nombre del archivo:"])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](13,0,null,null,7,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](16,0,null,null,0,"input",[["class","form-control"],["id","search"],["type","text"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](18,0,null,null,1,"span",[["class","input-group-addon fa fa-search"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](24,0,null,null,22,"div",[["class","row"],["style","margin-top: 20px"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](26,0,null,null,7,"div",[["class","col-lg-5"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵand"](16777216,null,null,1,null,r)),R["ɵdid"](29,16384,null,0,N.NgIf,[R.ViewContainerRef,R.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵand"](16777216,null,null,1,null,p)),R["ɵdid"](32,16384,null,0,N.NgIf,[R.ViewContainerRef,R.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵeld"](35,0,null,null,10,"div",[["class","col-lg-7"]],null,null,null,null,null)),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵand"](16777216,null,null,1,null,v)),R["ɵdid"](38,16384,null,0,N.NgIf,[R.ViewContainerRef,R.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵand"](16777216,null,null,1,null,m)),R["ɵdid"](41,16384,null,0,N.NgIf,[R.ViewContainerRef,R.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),R["ɵted"](-1,null,["\n\n "])),(l()(),R["ɵand"](16777216,null,null,1,null,b)),R["ɵdid"](44,16384,null,0,N.NgIf,[R.ViewContainerRef,R.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n "])),(l()(),R["ɵted"](-1,null,["\n"])),(l()(),R["ɵted"](-1,null,["\n"]))],function(l,n){var u=n.component;l(n,2,0),l(n,29,0,void 0==u.grupoSeleccionado),l(n,32,0,u.grupoSeleccionado),l(n,38,0,u.alumnoSeleccionado),l(n,41,0,void 0==u.alumnoSeleccionado&&void 0==u.archivoSeleccionado),l(n,44,0,u.archivoSeleccionado)},null)}function y(l){return R["ɵvid"](0,[(l()(),R["ɵeld"](0,0,null,null,1,"grupos",[],null,null,null,S,B)),R["ɵdid"](1,114688,null,0,D.a,[F.c,T.a,L.a,_.a,G.a,U.DialogService],null,null)],function(l,n){l(n,1,0)},null)}var R=u("/oeL"),N=u("qbdv"),I=u("mQQt"),A=u("7zUS"),x=u("Vnhz"),w=u("Hjei"),k=u("+E40"),O=u("KPCT"),V=u("nfVm"),M=(u.n(V),u("bm2B")),E=u("hAtc"),P=u("+iRM"),_=u("uiTn"),D=u("Pqki"),F=u("BkNc"),T=u("6akk"),L=u("dh/p"),G=u("h7Ol"),U=u("V672");u.n(U);u.d(n,"a",function(){return q});var z=[],B=R["ɵcrt"]({encapsulation:2,styles:z,data:{}}),q=R["ɵccf"]("grupos",D.a,y,{},{},[])},ydqn:function(l,n,u){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e=u("/oeL"),o=u("Q6xx"),t=u("pP91"),i=u("ufkV"),r=u("xDpJ"),a=u("CVNG"),d=u("IkMs"),c=u("DlWC"),s=u("m0eP"),p=u("MsHi"),f=u("ClIn"),g=u("CU81"),v=u("ZzL7"),m=u("qbdv"),h=u("bm2B"),C=u("V672"),b=(u.n(C),u("dN2u")),S=u("KRwK"),y=u("BkNc"),R=u("8ejN"),N=u("sdK6"),I=(u.n(N),u("Zz+K")),A=u("wnyu"),x=u("EoP3"),w=u("2waW"),k=u("PY9B"),O=u("IBeK"),V=u("g5gQ"),M=u("xBEz"),E=u("PuIS"),P=u("U0Tu"),_=u("3rU7"),D=u("Cb36"),F=u("5h8W"),T=u("6ade"),L=u("4HaF"),G=u("DaIH"),U=u("0WLp"),z=u("0vel"),B=(u.n(z),u("DYHI")),q=u("Pqki");u.d(n,"GruposModuleNgFactory",function(){return j});var j=e["ɵcmf"](o.a,[],function(l){return e["ɵmod"]([e["ɵmpd"](512,e.ComponentFactoryResolver,e["ɵCodegenComponentFactoryResolver"],[[8,[t.a,i.a,r.a,a.a,d.a,c.a,s.a,p.a,f.a,g.a,v.a]],[3,e.ComponentFactoryResolver],e.NgModuleRef]),e["ɵmpd"](4608,m.NgLocalization,m.NgLocaleLocalization,[e.LOCALE_ID]),e["ɵmpd"](4608,h["ɵi"],h["ɵi"],[]),e["ɵmpd"](4608,C.DialogService,C.DialogService,[e.ComponentFactoryResolver,e.ApplicationRef,e.Injector,[2,C.DialogServiceConfig]]),e["ɵmpd"](4608,b.a,b.a,[e.ComponentFactoryResolver,e.Injector,S.a]),e["ɵmpd"](512,m.CommonModule,m.CommonModule,[]),e["ɵmpd"](512,y.x,y.x,[[2,y.k],[2,y.c]]),e["ɵmpd"](512,R.a,R.a,[]),e["ɵmpd"](512,h["ɵba"],h["ɵba"],[]),e["ɵmpd"](512,h.FormsModule,h.FormsModule,[]),e["ɵmpd"](512,N.BootstrapModalModule,N.BootstrapModalModule,[]),e["ɵmpd"](512,I.a,I.a,[]),e["ɵmpd"](512,A.a,A.a,[]),e["ɵmpd"](512,x.a,x.a,[]),e["ɵmpd"](512,w.a,w.a,[]),e["ɵmpd"](512,k.a,k.a,[]),e["ɵmpd"](512,O.a,O.a,[]),e["ɵmpd"](512,V.a,V.a,[]),e["ɵmpd"](512,M.a,M.a,[]),e["ɵmpd"](512,E.a,E.a,[]),e["ɵmpd"](512,P.a,P.a,[]),e["ɵmpd"](512,_.a,_.a,[]),e["ɵmpd"](512,D.a,D.a,[]),e["ɵmpd"](512,F.a,F.a,[]),e["ɵmpd"](512,T.a,T.a,[]),e["ɵmpd"](512,L.a,L.a,[]),e["ɵmpd"](512,G.a,G.a,[]),e["ɵmpd"](512,U.b,U.b,[]),e["ɵmpd"](512,z.CodemirrorModule,z.CodemirrorModule,[]),e["ɵmpd"](512,B.a,B.a,[]),e["ɵmpd"](512,o.a,o.a,[]),e["ɵmpd"](1024,y.t,function(){return[[{path:"",component:q.a}]]},[])])})}}); \ No newline at end of file diff --git a/Servidor JEE/WebContent/4.d5e575db2c249cfd8253.chunk.js b/Servidor JEE/WebContent/4.d5e575db2c249cfd8253.chunk.js deleted file mode 100644 index 4a888e3b7e3ae0cf59d447ffa6bb21eb9493c870..0000000000000000000000000000000000000000 --- a/Servidor JEE/WebContent/4.d5e575db2c249cfd8253.chunk.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([4,11],{"+Qf+":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var o;!function(t){t[t.PREV=0]="PREV",t[t.NEXT=1]="NEXT"}(o||(o={}))},"+dDw":function(t,e,n){"use strict";var o=n("3j3K"),i=n("NVOs");n.d(e,"c",function(){return a}),n.d(e,"b",function(){return s}),n.d(e,"a",function(){return l});var r={provide:i.NG_VALUE_ACCESSOR,useExisting:n.i(o.forwardRef)(function(){return a}),multi:!0},a=function(){function t(){this._radios=new Set,this._value=null,this.onChange=function(t){},this.onTouched=function(){}}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this.setDisabledState(t)},enumerable:!0,configurable:!0}),t.prototype.onRadioChange=function(t){this.writeValue(t.value),this.onChange(t.value)},t.prototype.onRadioValueUpdate=function(){this._updateRadiosValue()},t.prototype.register=function(t){this._radios.add(t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._disabled=t,this._updateRadiosDisabled()},t.prototype.unregister=function(t){this._radios.delete(t)},t.prototype.writeValue=function(t){this._value=t,this._updateRadiosValue()},t.prototype._updateRadiosValue=function(){var t=this;this._radios.forEach(function(e){return e.updateValue(t._value)})},t.prototype._updateRadiosDisabled=function(){this._radios.forEach(function(t){return t.updateDisabled()})},t}();a.decorators=[{type:o.Directive,args:[{selector:"[ngbRadioGroup]",host:{"data-toggle":"buttons",class:"btn-group",role:"group"},providers:[r]}]}],a.ctorParameters=function(){return[]};var s=function(){function t(t,e){this._renderer=t,this._elRef=e}return Object.defineProperty(t.prototype,"active",{set:function(t){t?this._renderer.addClass(this._elRef.nativeElement,"active"):this._renderer.removeClass(this._elRef.nativeElement,"active")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{set:function(t){t?this._renderer.addClass(this._elRef.nativeElement,"disabled"):this._renderer.removeClass(this._elRef.nativeElement,"disabled")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focused",{set:function(t){t?this._renderer.addClass(this._elRef.nativeElement,"focus"):this._renderer.removeClass(this._elRef.nativeElement,"focus")},enumerable:!0,configurable:!0}),t}();s.decorators=[{type:o.Directive,args:[{selector:"label.btn"}]}],s.ctorParameters=function(){return[{type:o.Renderer2},{type:o.ElementRef}]};var l=function(){function t(t,e,n,o){this._group=t,this._label=e,this._renderer=n,this._element=o,this._value=null,this._group&&this._group.register(this)}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t;var e=t?t.toString():"";this._renderer.setProperty(this._element.nativeElement,"value",e),this._group&&this._group.onRadioValueUpdate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(t){this._checked=!!this._element.nativeElement.hasAttribute("checked")||t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._group&&this._group.disabled||this._disabled},set:function(t){this._disabled=!1!==t,this.updateDisabled()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focused",{set:function(t){this._label&&(this._label.focused=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._group&&this._group.unregister(this)},t.prototype.onChange=function(){this._group&&this._group.onRadioChange(this)},t.prototype.updateValue=function(t){this._checked=this.value===t&&null!==t,this._label.active=this._checked},t.prototype.updateDisabled=function(){var t=this._group&&this._group.disabled||this._disabled;this._label&&(this._label.disabled=t)},t}();l.decorators=[{type:o.Directive,args:[{selector:"input[type=radio]",host:{"[checked]":"checked","[disabled]":"disabled","(change)":"onChange()","(focus)":"focused = true","(blur)":"focused = false"}}]}],l.ctorParameters=function(){return[{type:a,decorators:[{type:o.Optional}]},{type:s,decorators:[{type:o.Optional}]},{type:o.Renderer2},{type:o.ElementRef}]},l.propDecorators={value:[{type:o.Input,args:["value"]}],checked:[{type:o.Input,args:["checked"]}],disabled:[{type:o.Input,args:["disabled"]}]}},"+pb+":function(t,e,n){"use strict";var o=n("rCTf"),i=n("xAJs");o.Observable.prototype.map=i.map},"+sTZ":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var o=function(){function t(){}return t}()},"/FbB":function(t,e,n){"use strict";function o(t){var e=t.getFullYear();return e%4==0&&e%100!=0||e%400==0}function i(t,e){return t-e*Math.floor(t/e)}var r=n("CO0D"),a=n("hlt1"),s=n("3j3K"),l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=1721425.5,c=1948439.5,d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.fromGregorian=function(t){var e=new Date(t),n=e.getFullYear(),i=e.getMonth(),r=e.getDate(),s=u-1+365*(n-1)+Math.floor((n-1)/4)+-Math.floor((n-1)/100)+Math.floor((n-1)/400)+Math.floor((367*(i+1)-362)/12+(i+1<=2?0:o(e)?-1:-2)+r);s=Math.floor(s)+.5;var l=s-c,d=Math.floor((30*l+10646)/10631),p=Math.ceil((l-29-this._getYearStart(d))/29.5);p=Math.min(p,11);var h=Math.ceil(l-this._getMonthStart(d,p))+1;return new a.a(d,p+1,h)},e.prototype.toGregorian=function(t){var e=t.year,n=t.month-1,r=t.day,a=r+Math.ceil(29.5*n)+354*(e-1)+Math.floor((3+11*e)/30)+c-1,s=Math.floor(a-.5)+.5,l=s-u,d=Math.floor(l/146097),p=i(l,146097),h=Math.floor(p/36524),f=i(p,36524),g=Math.floor(f/1461),m=i(f,1461),y=Math.floor(m/365),v=400*d+100*h+4*g+y;4!==h&&4!==y&&v++;var b=u+365*(v-1)+Math.floor((v-1)/4)-Math.floor((v-1)/100)+Math.floor((v-1)/400),_=s-b,w=u-1+365*(v-1)+Math.floor((v-1)/4)-Math.floor((v-1)/100)+Math.floor((v-1)/400)+Math.floor(739/12+(o(new Date(v,3,1))?-1:-2)+1),C=s<w?0:o(new Date(v,3,1))?1:2,D=Math.floor((12*(_+C)+373)/367),I=u-1+365*(v-1)+Math.floor((v-1)/4)-Math.floor((v-1)/100)+Math.floor((v-1)/400)+Math.floor((367*D-362)/12+(D<=2?0:o(new Date(v,D-1,1))?-1:-2)+1),x=s-I+1;return new Date(v,D-1,x)},e.prototype.getDaysInIslamicMonth=function(t,e){e+=Math.floor(t/13),t=(t-1)%12+1;var n=29+t%2;return 12===t&&this._isIslamicLeapYear(e)&&n++,n},e.prototype.getNext=function(t,e,n){switch(void 0===e&&(e="d"),void 0===n&&(n=1),t=a.a.from(t),e){case"y":return t=this.setYear(t,t.year+n),t.month=1,t.day=1,t;case"m":return t=this.setMonth(t,t.month+n),t.day=1,t;case"d":return this.setDay(t,t.day+n);default:return t}},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e="d"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=this.toGregorian(t).getDay();return 0===e?7:e},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=(11-e)%7,o=t[n],i=this.toGregorian(o);i.setDate(i.getDate()+4-(i.getDay()||7));var r=i.getTime(),s=this.toGregorian(new a.a(o.year,1,1));return Math.floor(Math.round((r-s.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return this.fromGregorian(new Date)},e}(r.a);d.decorators=[{type:s.Injectable}],d.ctorParameters=function(){return[]}},"/I96":function(t,e,n){"use strict";var o=n("3j3K"),i=n("2Je8"),r=n("l5HU"),a=n("DDfv");n.d(e,"a",function(){return s});var s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[a.a]}},t}();s.decorators=[{type:o.NgModule,args:[{declarations:r.a,exports:r.a,imports:[i.CommonModule]}]}],s.ctorParameters=function(){return[]}},"/J7H":function(t,e,n){"use strict";function o(t){return!!t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}function i(t){return!!t&&"function"==typeof t.on&&"function"==typeof t.off}function r(t){return!!t&&"[object NodeList]"===f.call(t)}function a(t){return!!t&&"[object HTMLCollection]"===f.call(t)}function s(t){return!!t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=n("rCTf"),c=n("+3eL"),d=n("SKH6"),p=n("WhVc"),h=n("B00U"),f=Object.prototype.toString,g=function(t){function e(e,n,o,i){t.call(this),this.sourceObj=e,this.eventName=n,this.selector=o,this.options=i}return l(e,t),e.create=function(t,n,o,i){return d.isFunction(o)&&(i=o,o=void 0),new e(t,n,i,o)},e.setupSubscription=function(t,n,l,u,c){var d;if(r(t)||a(t))for(var p=0,f=t.length;p<f;p++)e.setupSubscription(t[p],n,l,u,c);else if(s(t)){var g=t;t.addEventListener(n,l,c),d=function(){return g.removeEventListener(n,l)}}else if(i(t)){var m=t;t.on(n,l),d=function(){return m.off(n,l)}}else{if(!o(t))throw new TypeError("Invalid event target");var y=t;t.addListener(n,l),d=function(){return y.removeListener(n,l)}}u.add(new h.Subscription(d))},e.prototype._subscribe=function(t){var n=this.sourceObj,o=this.eventName,i=this.options,r=this.selector,a=r?function(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var o=c.tryCatch(r).apply(void 0,e);o===p.errorObject?t.error(p.errorObject.e):t.next(o)}:function(e){return t.next(e)};e.setupSubscription(n,o,a,t,i)},e}(u.Observable);e.FromEventObservable=g},"/KGk":function(t,e,n){"use strict";var o=n("3j3K"),i=n("NVOs"),r=n("lcaH"),a=n("hlt1"),s=n("fAHw"),l=n("+Qf+"),u=n("2yGx"),c=n("hwnt"),d=n("gEbu");n.d(e,"a",function(){return h});var p={provide:i.NG_VALUE_ACCESSOR,useExisting:n.i(o.forwardRef)(function(){return h}),multi:!0},h=function(){function t(t,e,n,i){this._service=t,this._calendar=e,this.i18n=n,this.months=[],this.navigate=new o.EventEmitter,this.disabled=!1,this.onChange=function(t){},this.onTouched=function(){},this.dayTemplate=i.dayTemplate,this.displayMonths=i.displayMonths,this.firstDayOfWeek=i.firstDayOfWeek,this.markDisabled=i.markDisabled,this.minDate=i.minDate,this.maxDate=i.maxDate,this.navigation=i.navigation,this.outsideDays=i.outsideDays,this.showWeekdays=i.showWeekdays,this.showWeekNumbers=i.showWeekNumbers,this.startDate=i.startDate}return t.prototype.getHeaderHeight=function(){var t=this.showWeekdays?6.25:4.25;return 1===this.displayMonths||"select"!==this.navigation?t-2:t},t.prototype.getHeaderMargin=function(){var t=this.showWeekdays?2:0;return 1!==this.displayMonths||"select"!==this.navigation?t+2:t},t.prototype.navigateTo=function(t){this._setViewWithinLimits(this._service.toValidDate(t)),this._updateData()},t.prototype.ngOnInit=function(){this._setDates(),this.navigateTo(this._date)},t.prototype.ngOnChanges=function(t){this._setDates(),this._setViewWithinLimits(this._date),t.displayMonths&&(this.displayMonths=n.i(u.b)(this.displayMonths)),["startDate","minDate","maxDate","navigation","firstDayOfWeek","markDisabled","displayMonths"].some(function(e){return!!t[e]})&&this._updateData(!0)},t.prototype.onDateSelect=function(t){this._setViewWithinLimits(t),this.onTouched(),this.writeValue(t),this.onChange({year:t.year,month:t.month,day:t.day}),this._date.month!==this.months[0].number&&1===this.displayMonths&&this._updateData()},t.prototype.onNavigateDateSelect=function(t){this._setViewWithinLimits(t),this._updateData()},t.prototype.onNavigateEvent=function(t){switch(t){case l.a.PREV:this._setViewWithinLimits(this._calendar.getPrev(this.months[0].firstDate,"m"));break;case l.a.NEXT:this._setViewWithinLimits(this._calendar.getNext(this.months[0].firstDate,"m"))}this._updateData()},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.writeValue=function(t){this.model=this._service.toValidDate(t,null)},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype._setDates=function(){if(this._maxDate=a.a.from(this.maxDate),this._minDate=a.a.from(this.minDate),this._date=this._service.toValidDate(this.startDate),this._calendar.isValid(this._minDate)||(this._minDate=this._calendar.getPrev(this._date,"y",10),this.minDate={year:this._minDate.year,month:this._minDate.month,day:this._minDate.day}),this._calendar.isValid(this._maxDate)||(this._maxDate=this._calendar.getNext(this._date,"y",11),this._maxDate=this._calendar.getPrev(this._maxDate),this.maxDate={year:this._maxDate.year,month:this._maxDate.month,day:this._maxDate.day}),this._minDate&&this._maxDate&&this._maxDate.before(this._minDate))throw new Error("'maxDate' "+this._maxDate+" should be greater than 'minDate' "+this._minDate)},t.prototype._setViewWithinLimits=function(t){this._minDate&&t.before(this._minDate)?this._date=new a.a(this._minDate.year,this._minDate.month,1):this._maxDate&&t.after(this._maxDate)?this._date=new a.a(this._maxDate.year,this._maxDate.month,1):this._date=new a.a(t.year,t.month,1)},t.prototype._updateData=function(t){void 0===t&&(t=!1);for(var e=[],o=function(o){var r=i._calendar.getNext(i._date,"m",o),a=i.months.findIndex(function(t){return t.firstDate.equals(r)});t||-1===a?e.push(i._service.generateMonthViewModel(r,i._minDate,i._maxDate,n.i(u.b)(i.firstDayOfWeek),i.markDisabled)):e.push(i.months[a])},i=this,r=0;r<this.displayMonths;r++)o(r);var a=e[0].firstDate,s=this.months[0]?this.months[0].firstDate:null;this.months=e,a.equals(s)||this.navigate.emit({current:s?{year:s.year,month:s.month}:null,next:{year:a.year,month:a.month}})},t}();h.decorators=[{type:o.Component,args:[{exportAs:"ngbDatepicker",selector:"ngb-datepicker",host:{class:"d-inline-block rounded"},styles:["\n :host {\n border: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-header {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-month {\n pointer-events: none;\n }\n ngb-datepicker-month-view {\n pointer-events: auto;\n }\n .ngb-dp-month:first-child {\n margin-left: 0 !important;\n } \n .ngb-dp-month-name {\n font-size: larger;\n height: 2rem;\n line-height: 2rem;\n } \n "],template:'\n <ng-template #dt let-date="date" let-currentMonth="currentMonth" let-selected="selected" let-disabled="disabled">\n <div ngbDatepickerDayView [date]="date" [currentMonth]="currentMonth" [selected]="selected" [disabled]="disabled"></div>\n </ng-template>\n \n <div class="ngb-dp-header bg-faded pt-1 rounded-top" [style.height.rem]="getHeaderHeight()" \n [style.marginBottom.rem]="-getHeaderMargin()">\n <ngb-datepicker-navigation *ngIf="navigation !== \'none\'"\n [date]="months[0]?.firstDate"\n [minDate]="_minDate"\n [maxDate]="_maxDate"\n [months]="months.length"\n [disabled]="disabled"\n [showWeekNumbers]="showWeekNumbers"\n [showSelect]="navigation === \'select\'"\n (navigate)="onNavigateEvent($event)"\n (select)="onNavigateDateSelect($event)">\n </ngb-datepicker-navigation>\n </div>\n\n <div class="ngb-dp-months d-flex px-1 pb-1">\n <ng-template ngFor let-month [ngForOf]="months" let-i="index">\n <div class="ngb-dp-month d-block ml-3"> \n <div *ngIf="navigation !== \'select\' || displayMonths > 1" class="ngb-dp-month-name text-center">\n {{ i18n.getMonthFullName(month.number) }} {{ month.year }}\n </div>\n <ngb-datepicker-month-view\n [month]="month"\n [selectedDate]="model"\n [dayTemplate]="dayTemplate || dt"\n [showWeekdays]="showWeekdays"\n [showWeekNumbers]="showWeekNumbers"\n [disabled]="disabled"\n [outsideDays]="displayMonths === 1 ? outsideDays : \'hidden\'"\n (select)="onDateSelect($event)">\n </ngb-datepicker-month-view>\n </div>\n </ng-template>\n </div>\n ',providers:[p,s.a]}]}],h.ctorParameters=function(){return[{type:s.a},{type:r.a},{type:d.a},{type:c.a}]},h.propDecorators={dayTemplate:[{type:o.Input}],displayMonths:[{type:o.Input}],firstDayOfWeek:[{type:o.Input}],markDisabled:[{type:o.Input}],minDate:[{type:o.Input}],maxDate:[{type:o.Input}],navigation:[{type:o.Input}],outsideDays:[{type:o.Input}],showWeekdays:[{type:o.Input}],showWeekNumbers:[{type:o.Input}],startDate:[{type:o.Input}],navigate:[{type:o.Output}]}},"/PMa":function(t,e,n){"use strict";var o=n("3j3K");n.d(e,"b",function(){return i}),n.d(e,"a",function(){return r});var i=function(){function t(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n}return t}(),r=function(){function t(t,e,n,o,i){this._injector=e,this._viewContainerRef=n,this._renderer=o,this._windowFactory=i.resolveComponentFactory(t)}return t.prototype.open=function(t,e){return this._windowRef||(this._contentRef=this._getContentRef(t,e),this._windowRef=this._viewContainerRef.createComponent(this._windowFactory,0,this._injector,this._contentRef.nodes)),this._windowRef},t.prototype.close=function(){this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null,this._contentRef.viewRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef=null))},t.prototype._getContentRef=function(t,e){if(t){if(t instanceof o.TemplateRef){var n=this._viewContainerRef.createEmbeddedView(t,e);return new i([n.rootNodes],n)}return new i([[this._renderer.createText(""+t)]])}return new i([])},t}()},"/i+G":function(t,e,n){"use strict";var o=n("3j3K"),i=n("2yGx"),r=n("K0TW");n.d(e,"a",function(){return a});var a=function(){function t(t){this.pageCount=0,this.pages=[],this.page=0,this.pageChange=new o.EventEmitter(!0),this.disabled=t.disabled,this.boundaryLinks=t.boundaryLinks,this.directionLinks=t.directionLinks,this.ellipses=t.ellipses,this.maxSize=t.maxSize,this.pageSize=t.pageSize,this.rotate=t.rotate,this.size=t.size}return t.prototype.hasPrevious=function(){return this.page>1},t.prototype.hasNext=function(){return this.page<this.pageCount},t.prototype.selectPage=function(t){this._updatePages(t)},t.prototype.ngOnChanges=function(t){this._updatePages(this.page)},t.prototype.isEllipsis=function(t){return-1===t},t.prototype._applyEllipses=function(t,e){this.ellipses&&(t>0&&(t>1&&this.pages.unshift(-1),this.pages.unshift(1)),e<this.pageCount&&(e<this.pageCount-1&&this.pages.push(-1),this.pages.push(this.pageCount)))},t.prototype._applyRotation=function(){var t=0,e=this.pageCount,n=Math.floor(this.maxSize/2),o=this.maxSize%2==0?n-1:n;return this.page<=n?e=this.maxSize:this.pageCount-this.page<n?t=this.pageCount-this.maxSize:(t=this.page-n-1,e=this.page+o),[t,e]},t.prototype._applyPagination=function(){var t=Math.ceil(this.page/this.maxSize)-1,e=t*this.maxSize;return[e,e+this.maxSize]},t.prototype._setPageInRange=function(t){var e=this.page;this.page=n.i(i.e)(t,this.pageCount,1),this.page!==e&&this.pageChange.emit(this.page)},t.prototype._updatePages=function(t){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),n.i(i.a)(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(var e=1;e<=this.pageCount;e++)this.pages.push(e);if(this._setPageInRange(t),this.maxSize>0&&this.pageCount>this.maxSize){var o=0,r=this.pageCount;this.rotate?(a=this._applyRotation(),o=a[0],r=a[1]):(s=this._applyPagination(),o=s[0],r=s[1]),this.pages=this.pages.slice(o,r),this._applyEllipses(o,r)}var a,s},t}();a.decorators=[{type:o.Component,args:[{selector:"ngb-pagination",changeDetection:o.ChangeDetectionStrategy.OnPush,host:{role:"navigation"},template:'\n <ul [class]="\'pagination\' + (size ? \' pagination-\' + size : \'\')">\n <li *ngIf="boundaryLinks" class="page-item"\n [class.disabled]="!hasPrevious() || disabled">\n <a aria-label="First" class="page-link" href (click)="!!selectPage(1)" [attr.tabindex]="(hasPrevious() ? null : \'-1\')">\n <span aria-hidden="true">««</span>\n </a>\n </li>\n\n <li *ngIf="directionLinks" class="page-item"\n [class.disabled]="!hasPrevious() || disabled">\n <a aria-label="Previous" class="page-link" href (click)="!!selectPage(page-1)" [attr.tabindex]="(hasPrevious() ? null : \'-1\')">\n <span aria-hidden="true">«</span>\n </a>\n </li>\n <li *ngFor="let pageNumber of pages" class="page-item" [class.active]="pageNumber === page"\n [class.disabled]="isEllipsis(pageNumber) || disabled">\n <a *ngIf="isEllipsis(pageNumber)" class="page-link">...</a>\n <a *ngIf="!isEllipsis(pageNumber)" class="page-link" href (click)="!!selectPage(pageNumber)">\n {{pageNumber}}\n <span *ngIf="pageNumber === page" class="sr-only">(current)</span>\n </a>\n </li>\n <li *ngIf="directionLinks" class="page-item" [class.disabled]="!hasNext() || disabled">\n <a aria-label="Next" class="page-link" href (click)="!!selectPage(page+1)" [attr.tabindex]="(hasNext() ? null : \'-1\')">\n <span aria-hidden="true">»</span>\n </a>\n </li>\n\n <li *ngIf="boundaryLinks" class="page-item" [class.disabled]="!hasNext() || disabled">\n <a aria-label="Last" class="page-link" href (click)="!!selectPage(pageCount)" [attr.tabindex]="(hasNext() ? null : \'-1\')">\n <span aria-hidden="true">»»</span>\n </a>\n </li>\n </ul>\n '}]}],a.ctorParameters=function(){return[{type:r.a}]},a.propDecorators={disabled:[{type:o.Input}],boundaryLinks:[{type:o.Input}],directionLinks:[{type:o.Input}],ellipses:[{type:o.Input}],rotate:[{type:o.Input}],collectionSize:[{type:o.Input}],maxSize:[{type:o.Input}],page:[{type:o.Input}],pageSize:[{type:o.Input}],pageChange:[{type:o.Output}],size:[{type:o.Input}]}},"1Z2I":function(t,e,n){"use strict";var o=n("3j3K"),i=n("2Je8"),r=n("W5jB"),a=n("nCuf");n.d(e,"a",function(){return s});var s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[a.a]}},t}();s.decorators=[{type:o.NgModule,args:[{declarations:[r.a],exports:[r.a],imports:[i.CommonModule]}]}],s.ctorParameters=function(){return[]}},"2BXm":function(t,e,n){"use strict";var o=n("3j3K"),i=n("2yGx");n.d(e,"a",function(){return r});var r=function(){function t(){this.activeIdx=0,this.focusFirst=!0,this.formatter=i.d,this.selectEvent=new o.EventEmitter,this.activeChangeEvent=new o.EventEmitter}return t.prototype.getActive=function(){return this.results[this.activeIdx]},t.prototype.markActive=function(t){this.activeIdx=t,this._activeChanged()},t.prototype.next=function(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()},t.prototype.prev=function(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()},t.prototype.select=function(t){this.selectEvent.emit(t)},t.prototype.ngOnInit=function(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()},t.prototype._activeChanged=function(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)},t}();r.decorators=[{type:o.Component,args:[{selector:"ngb-typeahead-window",exportAs:"ngbTypeaheadWindow",host:{class:"dropdown-menu",style:"display: block",role:"listbox","[id]":"id"},template:'\n <ng-template #rt let-result="result" let-term="term" let-formatter="formatter">\n <ngb-highlight [result]="formatter(result)" [term]="term"></ngb-highlight>\n </ng-template>\n <ng-template ngFor [ngForOf]="results" let-result let-idx="index">\n <button type="button" class="dropdown-item" role="option"\n [id]="id + \'-\' + idx"\n [class.active]="idx === activeIdx"\n (mouseenter)="markActive(idx)"\n (click)="select(result)">\n <ng-template [ngTemplateOutlet]="resultTemplate || rt"\n [ngOutletContext]="{result: result, term: term, formatter: formatter}"></ng-template>\n </button>\n </ng-template>\n '}]}],r.ctorParameters=function(){return[]},r.propDecorators={id:[{type:o.Input}],focusFirst:[{type:o.Input}],results:[{type:o.Input}],term:[{type:o.Input}],formatter:[{type:o.Input}],resultTemplate:[{type:o.Input}],selectEvent:[{type:o.Output,args:["select"]}],activeChangeEvent:[{type:o.Output,args:["activeChange"]}]}},"2NoN":function(t,e,n){"use strict";function o(t){return u["ɵvid"](0,[(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,1,"div",[["ngbDatepickerDayView",""]],[[2,"bg-primary",null],[2,"text-white",null],[2,"text-muted",null],[2,"outside",null],[2,"btn-secondary",null]],null,null,c.a,c.b)),u["ɵdid"](49152,null,0,d.a,[],{currentMonth:[0,"currentMonth"],date:[1,"date"],disabled:[2,"disabled"],selected:[3,"selected"]},null),(t()(),u["ɵted"](null,["\n "]))],function(t,e){t(e,2,0,e.context.currentMonth,e.context.date,e.context.disabled,e.context.selected)},function(t,e){t(e,1,0,u["ɵnov"](e,2).selected,u["ɵnov"](e,2).selected,u["ɵnov"](e,2).isMuted(),u["ɵnov"](e,2).isMuted(),!u["ɵnov"](e,2).disabled)})}function i(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,2,"ngb-datepicker-navigation",[["class","d-flex justify-content-between"]],[[2,"collapsed",null]],[[null,"navigate"],[null,"select"]],function(t,e,n){var o=!0,i=t.component;if("navigate"===e){o=!1!==i.onNavigateEvent(n)&&o}if("select"===e){o=!1!==i.onNavigateDateSelect(n)&&o}return o},p.a,p.b)),u["ɵdid"](49152,null,0,h.a,[f.a,g.a],{date:[0,"date"],disabled:[1,"disabled"],maxDate:[2,"maxDate"],minDate:[3,"minDate"],months:[4,"months"],showSelect:[5,"showSelect"],showWeekNumbers:[6,"showWeekNumbers"]},{navigate:"navigate",select:"select"}),(t()(),u["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,1,0,null==n.months[0]?null:n.months[0].firstDate,n.disabled,n._maxDate,n._minDate,n.months.length,"select"===n.navigation,n.showWeekNumbers)},function(t,e){t(e,0,0,!u["ɵnov"](e,1).showSelect)})}function r(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,1,"div",[["class","ngb-dp-month-name text-center"]],null,null,null,null,null)),(t()(),u["ɵted"](null,["\n "," ","\n "]))],null,function(t,e){t(e,1,0,e.component.i18n.getMonthFullName(e.parent.context.$implicit.number),e.parent.context.$implicit.year)})}function a(t){return u["ɵvid"](0,[(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,8,"div",[["class","ngb-dp-month d-block ml-3"]],null,null,null,null,null)),(t()(),u["ɵted"](null,[" \n "])),(t()(),u["ɵand"](16777216,null,null,1,null,r)),u["ɵdid"](16384,null,0,m.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵeld"](0,null,null,2,"ngb-datepicker-month-view",[["class","d-block"]],null,[[null,"select"]],function(t,e,n){var o=!0,i=t.component;if("select"===e){o=!1!==i.onDateSelect(n)&&o}return o},y.a,y.b)),u["ɵdid"](49152,null,0,v.a,[f.a],{dayTemplate:[0,"dayTemplate"],disabled:[1,"disabled"],month:[2,"month"],outsideDays:[3,"outsideDays"],selectedDate:[4,"selectedDate"],showWeekdays:[5,"showWeekdays"],showWeekNumbers:[6,"showWeekNumbers"]},{select:"select"}),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,4,0,"select"!==n.navigation||n.displayMonths>1),t(e,7,0,n.dayTemplate||u["ɵnov"](e.parent,1),n.disabled,e.context.$implicit,1===n.displayMonths?n.outsideDays:"hidden",n.model,n.showWeekdays,n.showWeekNumbers)},null)}function s(t){return u["ɵvid"](0,[(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵand"](0,[["dt",2]],null,0,null,o)),(t()(),u["ɵted"](null,["\n \n "])),(t()(),u["ɵeld"](0,null,null,4,"div",[["class","ngb-dp-header bg-faded pt-1 rounded-top"]],[[4,"height","rem"],[4,"marginBottom","rem"]],null,null,null,null)),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵand"](16777216,null,null,1,null,i)),u["ɵdid"](16384,null,0,m.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n\n "])),(t()(),u["ɵeld"](0,null,null,4,"div",[["class","ngb-dp-months d-flex px-1 pb-1"]],null,null,null,null,null)),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵand"](16777216,null,null,1,null,a)),u["ɵdid"](802816,null,0,m.NgForOf,[u.ViewContainerRef,u.TemplateRef,u.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),u["ɵted"](null,["\n "])),(t()(),u["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,6,0,"none"!==n.navigation),t(e,12,0,n.months)},function(t,e){var n=e.component;t(e,3,0,n.getHeaderHeight(),0-n.getHeaderMargin())})}function l(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,null,null,3,"ngb-datepicker",[["class","d-inline-block rounded"]],null,null,null,_.b,_.c)),u["ɵprd"](5120,null,w.NG_VALUE_ACCESSOR,function(t){return[t]},[b.a]),u["ɵprd"](512,null,C.a,C.a,[g.a]),u["ɵdid"](638976,null,0,b.a,[C.a,g.a,f.a,D.a],null,null)],function(t,e){t(e,3,0)},null)}var u=n("3j3K"),c=n("Mn0/"),d=n("U6gI"),p=n("YDZ5"),h=n("3fcS"),f=n("gEbu"),g=n("lcaH"),m=n("2Je8"),y=n("4yvs"),v=n("5ZV5"),b=n("/KGk"),_=n("2NoN"),w=n("NVOs"),C=n("fAHw"),D=n("hwnt");n.d(e,"c",function(){return x}),e.b=s,n.d(e,"a",function(){return R});var I=["[_nghost-%COMP%] {\n border: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-header[_ngcontent-%COMP%] {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n }\n .ngb-dp-month[_ngcontent-%COMP%] {\n pointer-events: none;\n }\n ngb-datepicker-month-view[_ngcontent-%COMP%] {\n pointer-events: auto;\n }\n .ngb-dp-month[_ngcontent-%COMP%]:first-child {\n margin-left: 0 !important;\n } \n .ngb-dp-month-name[_ngcontent-%COMP%] {\n font-size: larger;\n height: 2rem;\n line-height: 2rem;\n }"],x=u["ɵcrt"]({encapsulation:0,styles:I,data:{}}),R=u["ɵccf"]("ngb-datepicker",b.a,l,{dayTemplate:"dayTemplate",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",showWeekdays:"showWeekdays",showWeekNumbers:"showWeekNumbers",startDate:"startDate"},{navigate:"navigate"},[])},"2yGx":function(t,e,n){"use strict";function o(t){return parseInt(""+t,10)}function i(t){return void 0!==t&&null!==t?""+t:""}function r(t,e,n){return void 0===n&&(n=0),Math.max(Math.min(t,e),n)}function a(t){return"string"==typeof t}function s(t){return!isNaN(o(t))}function l(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}function u(t){return void 0!==t&&null!==t}function c(t){return s(t)?("0"+t).slice(-2):""}function d(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}e.b=o,e.d=i,e.e=r,e.f=a,e.a=s,e.i=l,e.h=u,e.c=c,e.g=d},"3fcS":function(t,e,n){"use strict";var o=n("3j3K"),i=n("+Qf+"),r=n("gEbu"),a=n("lcaH");n.d(e,"a",function(){return s});var s=function(){function t(t,e){this.i18n=t,this._calendar=e,this.navigation=i.a,this.navigate=new o.EventEmitter,this.select=new o.EventEmitter}return t.prototype.doNavigate=function(t){this.navigate.emit(t)},t.prototype.nextDisabled=function(){return this.disabled||this.maxDate&&this._calendar.getNext(this.date,"m").after(this.maxDate)},t.prototype.prevDisabled=function(){var t=this._calendar.getPrev(this.date,"m");return this.disabled||this.minDate&&t.year<=this.minDate.year&&t.month<this.minDate.month},t.prototype.selectDate=function(t){this.select.emit(t)},t}();s.decorators=[{type:o.Component,args:[{selector:"ngb-datepicker-navigation",host:{class:"d-flex justify-content-between","[class.collapsed]":"!showSelect"},styles:["\n :host {\n height: 2rem;\n line-height: 1.85rem;\n }\n :host.collapsed {\n margin-bottom: -2rem; \n }\n .ngb-dp-navigation-chevron::before {\n border-style: solid;\n border-width: 0.2em 0.2em 0 0;\n content: '';\n display: inline-block;\n height: 0.75em;\n transform: rotate(-135deg);\n -webkit-transform: rotate(-135deg);\n -ms-transform: rotate(-135deg);\n width: 0.75em;\n margin: 0 0 0 0.5rem;\n } \n .ngb-dp-navigation-chevron.right:before {\n -webkit-transform: rotate(45deg);\n -ms-transform: rotate(45deg);\n transform: rotate(45deg);\n margin: 0 0.5rem 0 0;\n }\n .btn-link {\n cursor: pointer;\n outline: 0;\n }\n .btn-link[disabled] {\n cursor: not-allowed;\n opacity: .65;\n } \n "],template:'\n <button type="button" class="btn-link" (click)="!!doNavigate(navigation.PREV)" [disabled]="prevDisabled()">\n <span class="ngb-dp-navigation-chevron"></span> \n </button>\n \n <ngb-datepicker-navigation-select *ngIf="showSelect" class="d-block" [style.width.rem]="months * 9"\n [date]="date"\n [minDate]="minDate"\n [maxDate]="maxDate"\n [disabled] = "disabled"\n (select)="selectDate($event)">\n </ngb-datepicker-navigation-select>\n \n <button type="button" class="btn-link" (click)="!!doNavigate(navigation.NEXT)" [disabled]="nextDisabled()">\n <span class="ngb-dp-navigation-chevron right"></span>\n </button>\n '}]}],s.ctorParameters=function(){return[{type:r.a},{type:a.a}]},s.propDecorators={date:[{type:o.Input}],disabled:[{type:o.Input}],maxDate:[{type:o.Input}],minDate:[{type:o.Input}],months:[{type:o.Input}],showSelect:[{type:o.Input}],showWeekNumbers:[{type:o.Input}],navigate:[{type:o.Output}],select:[{type:o.Output}]}},"3kwk":function(t,e,n){"use strict";var o=n("3j3K"),i=n("CXHW");n.d(e,"a",function(){return r});var r=function(){function t(t,e,n){this._moduleCFR=t,this._injector=e,this._modalStack=n}return t.prototype.open=function(t,e){return void 0===e&&(e={}),this._modalStack.open(this._moduleCFR,this._injector,t,e)},t}();r.decorators=[{type:o.Injectable}],r.ctorParameters=function(){return[{type:o.ComponentFactoryResolver},{type:o.Injector},{type:i.a}]}},"4yvs":function(t,e,n){"use strict";function o(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,0,"div",[["class","ngb-dp-weekday"]],null,null,null,null,null))],null,null)}function i(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,1,"div",[["class","ngb-dp-weekday small text-center text-info font-italic"]],null,null,null,null,null)),(t()(),f["ɵted"](null,["\n ","\n "]))],null,function(t,e){t(e,1,0,e.component.i18n.getWeekdayShortName(e.context.$implicit))})}function r(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,7,"div",[["class","ngb-dp-week d-flex"]],null,null,null,null,null)),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,o)),f["ɵdid"](16384,null,0,g.NgIf,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,i)),f["ɵdid"](802816,null,0,g.NgForOf,[f.ViewContainerRef,f.TemplateRef,f.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),f["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,3,0,n.showWeekNumbers),t(e,6,0,n.month.weekdays)},null)}function a(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,1,"div",[["class","ngb-dp-week-number small text-center font-italic text-muted"]],null,null,null,null,null)),(t()(),f["ɵted"](null,["",""]))],null,function(t,e){t(e,1,0,e.parent.parent.context.$implicit.number)})}function s(t){return f["ɵvid"](0,[(t()(),f["ɵted"](null,["\n "]))],null,null)}function l(t){return f["ɵvid"](0,[(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,3,null,s)),f["ɵdid"](540672,null,0,g.NgTemplateOutlet,[f.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"],ngOutletContext:[1,"ngOutletContext"]},null),f["ɵpod"](["year","month","day"]),f["ɵpod"](["date","currentMonth","disabled","selected"]),(t()(),f["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,2,0,n.dayTemplate,t(e,4,0,t(e,3,0,e.parent.context.$implicit.date.year,e.parent.context.$implicit.date.month,e.parent.context.$implicit.date.day),n.month.number,n.isDisabled(e.parent.context.$implicit),n.isSelected(e.parent.context.$implicit.date)))},null)}function u(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,4,"div",[["class","ngb-dp-day"]],[[2,"disabled",null],[2,"hidden",null]],[[null,"click"]],function(t,e,n){var o=!0,i=t.component;if("click"===e){o=!1!==i.doSelect(t.context.$implicit)&&o}return o},null,null)),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,l)),f["ɵdid"](16384,null,0,g.NgIf,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),f["ɵted"](null,["\n "]))],function(t,e){t(e,3,0,!e.component.isHidden(e.context.$implicit))},function(t,e){var n=e.component;t(e,0,0,n.isDisabled(e.context.$implicit),n.isHidden(e.context.$implicit))})}function c(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,7,"div",[["class","ngb-dp-week d-flex"]],null,null,null,null,null)),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,a)),f["ɵdid"](16384,null,0,g.NgIf,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,u)),f["ɵdid"](802816,null,0,g.NgForOf,[f.ViewContainerRef,f.TemplateRef,f.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),f["ɵted"](null,["\n "]))],function(t,e){t(e,3,0,e.component.showWeekNumbers),t(e,6,0,e.parent.context.$implicit.days)},null)}function d(t){return f["ɵvid"](0,[(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,c)),f["ɵdid"](16384,null,0,g.NgIf,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),f["ɵted"](null,["\n "]))],function(t,e){t(e,2,0,!e.component.isCollapsed(e.context.$implicit))},null)}function p(t){return f["ɵvid"](0,[(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,r)),f["ɵdid"](16384,null,0,g.NgIf,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),f["ɵted"](null,["\n "])),(t()(),f["ɵand"](16777216,null,null,1,null,d)),f["ɵdid"](802816,null,0,g.NgForOf,[f.ViewContainerRef,f.TemplateRef,f.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),f["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,2,0,n.showWeekdays),t(e,5,0,n.month.weeks)},null)}function h(t){return f["ɵvid"](0,[(t()(),f["ɵeld"](0,null,null,1,"ngb-datepicker-month-view",[["class","d-block"]],null,null,null,y.a,y.b)),f["ɵdid"](49152,null,0,m.a,[v.a],null,null)],null,null)}var f=n("3j3K"),g=n("2Je8"),m=n("5ZV5"),y=n("4yvs"),v=n("gEbu");n.d(e,"b",function(){return _}),e.a=p;var b=[".ngb-dp-weekday[_ngcontent-%COMP%], .ngb-dp-week-number[_ngcontent-%COMP%] {\n line-height: 2rem;\n }\n .ngb-dp-day[_ngcontent-%COMP%], .ngb-dp-weekday[_ngcontent-%COMP%], .ngb-dp-week-number[_ngcontent-%COMP%] {\n width: 2rem;\n height: 2rem; \n }\n .ngb-dp-day[_ngcontent-%COMP%] {\n cursor: pointer;\n }\n .ngb-dp-day.disabled[_ngcontent-%COMP%], .ngb-dp-day.hidden[_ngcontent-%COMP%] {\n cursor: default;\n }"],_=f["ɵcrt"]({encapsulation:0,styles:b,data:{}});f["ɵccf"]("ngb-datepicker-month-view",m.a,h,{dayTemplate:"dayTemplate",disabled:"disabled",month:"month",outsideDays:"outsideDays",selectedDate:"selectedDate",showWeekdays:"showWeekdays",showWeekNumbers:"showWeekNumbers"},{select:"select"},[])},"5IDu":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var o=["[_nghost-%COMP%]{display:block}.login-page[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto;background:#222;text-align:center;color:#fff;padding:3em}.login-page[_ngcontent-%COMP%] .col-lg-4[_ngcontent-%COMP%]{padding:0}.login-page[_ngcontent-%COMP%] .input-lg[_ngcontent-%COMP%]{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:0}.login-page[_ngcontent-%COMP%] .input-underline[_ngcontent-%COMP%]{background:0 0;border:none;box-shadow:none;border-bottom:2px solid hsla(0,0%,100%,.5);color:#fff;border-radius:0}.login-page[_ngcontent-%COMP%] .input-underline[_ngcontent-%COMP%]:focus{border-bottom:2px solid #fff;box-shadow:none}.login-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]{border-radius:50px;color:hsla(0,0%,100%,.8);background:#222;border:2px solid hsla(0,0%,100%,.8);font-size:18px;line-height:40px;padding:0 25px;cursor:default}.login-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:active, .login-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:focus, .login-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:hover, .login-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:visited{color:#fff;border:2px solid #fff;outline:none}.login-page[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-weight:300;margin-top:20px;margin-bottom:10px;font-size:36px}.login-page[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{color:hsla(0,0%,100%,.7)}.login-page[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{padding:8px 0}.login-page[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:hsla(0,0%,100%,.6)!important}.login-page[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder, .login-page[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder{color:hsla(0,0%,100%,.6)!important}.login-page[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:hsla(0,0%,100%,.6)!important}.login-page[_ngcontent-%COMP%] .form-content[_ngcontent-%COMP%]{padding:40px 0}.login-page[_ngcontent-%COMP%] .user-avatar[_ngcontent-%COMP%]{border-radius:50%;border:2px solid #fff}.loading[_ngcontent-%COMP%]{position:relative;top:50px;left:49%}.loading[_ngcontent-%COMP%] .loading-bar[_ngcontent-%COMP%]{background-color:#fff}.login-error[_ngcontent-%COMP%]{position:relative;top:20px}"]},"5ZV5":function(t,e,n){"use strict";var o=n("3j3K"),i=n("hlt1"),r=n("gEbu");n.d(e,"a",function(){return a});var a=function(){function t(t){this.i18n=t,this.select=new o.EventEmitter}return t.prototype.doSelect=function(t){this.isDisabled(t)||this.isHidden(t)||this.select.emit(i.a.from(t.date))},t.prototype.isDisabled=function(t){return this.disabled||t.disabled},t.prototype.isSelected=function(t){return this.selectedDate&&this.selectedDate.equals(t)},t.prototype.isCollapsed=function(t){return"collapsed"===this.outsideDays&&t.days[0].date.month!==this.month.number&&t.days[t.days.length-1].date.month!==this.month.number},t.prototype.isHidden=function(t){return("hidden"===this.outsideDays||"collapsed"===this.outsideDays)&&this.month.number!==t.date.month},t}();a.decorators=[{type:o.Component,args:[{selector:"ngb-datepicker-month-view",host:{class:"d-block"},styles:["\n .ngb-dp-weekday, .ngb-dp-week-number {\n line-height: 2rem;\n }\n .ngb-dp-day, .ngb-dp-weekday, .ngb-dp-week-number {\n width: 2rem;\n height: 2rem; \n }\n .ngb-dp-day {\n cursor: pointer;\n }\n .ngb-dp-day.disabled, .ngb-dp-day.hidden {\n cursor: default;\n }\n "],template:'\n <div *ngIf="showWeekdays" class="ngb-dp-week d-flex">\n <div *ngIf="showWeekNumbers" class="ngb-dp-weekday"></div>\n <div *ngFor="let w of month.weekdays" class="ngb-dp-weekday small text-center text-info font-italic">\n {{ i18n.getWeekdayShortName(w) }}\n </div>\n </div>\n <ng-template ngFor let-week [ngForOf]="month.weeks">\n <div *ngIf="!isCollapsed(week)" class="ngb-dp-week d-flex">\n <div *ngIf="showWeekNumbers" class="ngb-dp-week-number small text-center font-italic text-muted">{{ week.number }}</div>\n <div *ngFor="let day of week.days" (click)="doSelect(day)" class="ngb-dp-day" [class.disabled]="isDisabled(day)"\n [class.hidden]="isHidden(day)">\n <ng-template [ngIf]="!isHidden(day)">\n <ng-template [ngTemplateOutlet]="dayTemplate"\n [ngOutletContext]="{date: {year: day.date.year, month: day.date.month, day: day.date.day},\n currentMonth: month.number,\n disabled: isDisabled(day),\n selected: isSelected(day.date)}">\n </ng-template>\n </ng-template>\n </div>\n </div>\n </ng-template>\n '}]}],a.ctorParameters=function(){return[{type:r.a}]},a.propDecorators={dayTemplate:[{type:o.Input}],disabled:[{type:o.Input}],month:[{type:o.Input}],outsideDays:[{type:o.Input}],selectedDate:[{type:o.Input}],showWeekdays:[{type:o.Input}],showWeekNumbers:[{type:o.Input}],select:[{type:o.Output}]}},"62nT":function(t,e,n){"use strict";var o=n("3j3K"),i=n("2Je8"),r=n("OEcN"),a=n("tyH+");n.d(e,"a",function(){return s});var s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[a.a]}},t}();s.decorators=[{type:o.NgModule,args:[{declarations:[r.a],exports:[r.a],imports:[i.CommonModule]}]}],s.ctorParameters=function(){return[]}},"6uCv":function(t,e,n){"use strict";var o=n("3j3K"),i=n("c7mC");n.d(e,"b",function(){return r}),n.d(e,"a",function(){return a});var r=function(){function t(t){this._open=!1,this.openChange=new o.EventEmitter,this.up=t.up,this.autoClose=t.autoClose}return t.prototype.isOpen=function(){return this._open},t.prototype.open=function(){this._open||(this._open=!0,this.openChange.emit(!0))},t.prototype.close=function(){this._open&&(this._open=!1,this.openChange.emit(!1))},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype.closeFromOutsideClick=function(t){this.autoClose&&2!==t.button&&!this._isEventFromToggle(t)&&this.close()},t.prototype.closeFromOutsideEsc=function(){this.autoClose&&this.close()},Object.defineProperty(t.prototype,"toggleElement",{set:function(t){this._toggleElement=t},enumerable:!0,configurable:!0}),t.prototype._isEventFromToggle=function(t){return!!this._toggleElement&&this._toggleElement.contains(t.target)},t}();r.decorators=[{type:o.Directive,args:[{selector:"[ngbDropdown]",exportAs:"ngbDropdown",host:{"[class.dropdown]":"!up","[class.dropup]":"up","[class.show]":"isOpen()","(keyup.esc)":"closeFromOutsideEsc()","(document:click)":"closeFromOutsideClick($event)"}}]}],r.ctorParameters=function(){return[{type:i.a}]},r.propDecorators={up:[{type:o.Input}],autoClose:[{type:o.Input}],_open:[{type:o.Input,args:["open"]}],openChange:[{type:o.Output}]};var a=function(){function t(t,e){this.dropdown=t,t.toggleElement=e.nativeElement}return t.prototype.toggleOpen=function(){this.dropdown.toggle()},t}();a.decorators=[{type:o.Directive,args:[{selector:"[ngbDropdownToggle]",host:{class:"dropdown-toggle","aria-haspopup":"true","[attr.aria-expanded]":"dropdown.isOpen()","(click)":"toggleOpen()"}}]}],a.ctorParameters=function(){return[{type:r},{type:o.ElementRef}]}},"7DGp":function(t,e,n){"use strict";var o=n("2yGx");n.d(e,"a",function(){return r}),n.d(e,"b",function(){return a});var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=function(){function t(){}return t}(),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.parse=function(t){if(t){var e=t.trim().split("-");if(1===e.length&&n.i(o.a)(e[0]))return{year:n.i(o.b)(e[0]),month:null,day:null};if(2===e.length&&n.i(o.a)(e[0])&&n.i(o.a)(e[1]))return{year:n.i(o.b)(e[0]),month:n.i(o.b)(e[1]),day:null};if(3===e.length&&n.i(o.a)(e[0])&&n.i(o.a)(e[1])&&n.i(o.a)(e[2]))return{year:n.i(o.b)(e[0]),month:n.i(o.b)(e[1]),day:n.i(o.b)(e[2])}}return null},e.prototype.format=function(t){return t?t.year+"-"+(n.i(o.a)(t.month)?n.i(o.c)(t.month):"")+"-"+(n.i(o.a)(t.day)?n.i(o.c)(t.day):""):""},e}(r)},"7hdg":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n("3j3K"),i=n("+sTZ"),r=n("UWpj"),a=n("7ldD"),s=n("h+Bk"),l=n("IiyU"),u=n("2NoN"),c=n("xiEB"),d=n("SDm3"),p=n("jtp5"),h=n("NVOs"),f=n("2Je8"),g=n("CXHW"),m=n("3kwk"),y=n("gFLb"),v=n("nCuf"),b=n("qKow"),_=n("cG9e"),w=n("ZwZs"),C=n("DDfv"),D=n("lcaH"),I=n("gEbu"),x=n("7DGp"),R=n("hwnt"),k=n("c7mC"),O=n("K0TW"),M=n("ETCP"),P=n("aKiW"),S=n("v4DA"),E=n("tyH+"),N=n("R6W2"),T=n("Fzro"),F=n("5oXY"),j=n("RYHQ"),V=n("RX2M"),W=n("M0cT"),A=n("vfkA"),K=n("1Z2I"),z=n("yDyO"),H=n("K/oD"),L=n("eCJc"),U=n("/I96"),B=n("qsK9"),G=n("MSQt"),J=n("UyZi"),$=n("Ep2y"),q=n("WKBe"),Y=n("A8b0"),X=n("as+d"),Z=n("62nT"),Q=n("kzcK"),tt=n("zhGp");n.d(e,"LoginModuleNgFactory",function(){return et});var et=o["ɵcmf"](i.a,[],function(t){return o["ɵmod"]([o["ɵmpd"](512,o.ComponentFactoryResolver,o["ɵCodegenComponentFactoryResolver"],[[8,[r.a,a.a,s.a,l.a,u.a,c.a,d.a,p.a]],[3,o.ComponentFactoryResolver],o.NgModuleRef]),o["ɵmpd"](4608,h["ɵi"],h["ɵi"],[]),o["ɵmpd"](4608,f.NgLocalization,f.NgLocaleLocalization,[o.LOCALE_ID]),o["ɵmpd"](4608,g.a,g.a,[o.ApplicationRef,o.Injector,o.ComponentFactoryResolver]),o["ɵmpd"](4608,m.a,m.a,[o.ComponentFactoryResolver,o.Injector,g.a]),o["ɵmpd"](4608,y.a,y.a,[]),o["ɵmpd"](4608,v.a,v.a,[]),o["ɵmpd"](4608,b.a,b.a,[]),o["ɵmpd"](4608,_.a,_.a,[]),o["ɵmpd"](4608,w.a,w.a,[]),o["ɵmpd"](4608,C.a,C.a,[]),o["ɵmpd"](4608,D.a,D.b,[]),o["ɵmpd"](4608,I.a,I.b,[]),o["ɵmpd"](4608,x.a,x.b,[]),o["ɵmpd"](4608,R.a,R.a,[]),o["ɵmpd"](4608,k.a,k.a,[]),o["ɵmpd"](4608,O.a,O.a,[]),o["ɵmpd"](4608,M.a,M.a,[]),o["ɵmpd"](4608,P.a,P.a,[]),o["ɵmpd"](4608,S.a,S.a,[]),o["ɵmpd"](4608,E.a,E.a,[]),o["ɵmpd"](4608,N.a,N.a,[T.i]),o["ɵmpd"](512,h["ɵba"],h["ɵba"],[]),o["ɵmpd"](512,h.FormsModule,h.FormsModule,[]),o["ɵmpd"](512,f.CommonModule,f.CommonModule,[]),o["ɵmpd"](512,F.x,F.x,[[2,F.k],[2,F.c]]),o["ɵmpd"](512,j.a,j.a,[]),o["ɵmpd"](512,V.a,V.a,[]),o["ɵmpd"](512,W.a,W.a,[]),o["ɵmpd"](512,A.a,A.a,[]),o["ɵmpd"](512,K.a,K.a,[]),o["ɵmpd"](512,z.a,z.a,[]),o["ɵmpd"](512,H.a,H.a,[]),o["ɵmpd"](512,L.a,L.a,[]),o["ɵmpd"](512,U.a,U.a,[]),o["ɵmpd"](512,B.a,B.a,[]),o["ɵmpd"](512,G.a,G.a,[]),o["ɵmpd"](512,J.a,J.a,[]),o["ɵmpd"](512,$.a,$.a,[]),o["ɵmpd"](512,q.a,q.a,[]),o["ɵmpd"](512,Y.a,Y.a,[]),o["ɵmpd"](512,X.a,X.a,[]),o["ɵmpd"](512,Z.a,Z.a,[]),o["ɵmpd"](512,Q.a,Q.a,[]),o["ɵmpd"](512,i.a,i.a,[]),o["ɵmpd"](1024,F.t,function(){return[[{path:"",component:tt.a}]]},[])])})},"9XFw":function(t,e,n){"use strict";var o=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){}return t}();i.decorators=[{type:o.Component,args:[{selector:"ngb-modal-backdrop",template:"",host:{class:"modal-backdrop fade show"}}]}],i.ctorParameters=function(){return[]}},A8b0:function(t,e,n){"use strict";var o=n("3j3K"),i=n("2Je8"),r=n("aKiW"),a=n("qQ/N");n.d(e,"a",function(){return s});var s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}();s.decorators=[{type:o.NgModule,args:[{declarations:[a.a],exports:[a.a],imports:[i.CommonModule]}]}],s.ctorParameters=function(){return[]}},AXLD:function(t,e,n){"use strict";function o(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,3,"option",[],null,null,null,null,null)),s["ɵdid"](147456,null,0,l.NgSelectOption,[s.ElementRef,s.Renderer,[8,null]],{value:[0,"value"]},null),s["ɵdid"](147456,null,0,l["ɵq"],[s.ElementRef,s.Renderer,[8,null]],{value:[0,"value"]},null),(t()(),s["ɵted"](null,["",""]))],function(t,e){t(e,1,0,e.context.$implicit),t(e,2,0,e.context.$implicit)},function(t,e){t(e,3,0,e.component.i18n.getMonthShortName(e.context.$implicit))})}function i(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,3,"option",[],null,null,null,null,null)),s["ɵdid"](147456,null,0,l.NgSelectOption,[s.ElementRef,s.Renderer,[8,null]],{value:[0,"value"]},null),s["ɵdid"](147456,null,0,l["ɵq"],[s.ElementRef,s.Renderer,[8,null]],{value:[0,"value"]},null),(t()(),s["ɵted"](null,["",""]))],function(t,e){t(e,1,0,e.context.$implicit),t(e,2,0,e.context.$implicit)},function(t,e){t(e,3,0,e.context.$implicit)})}function r(t){return s["ɵvid"](0,[(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,4,"select",[["class","custom-select d-inline-block"]],[[8,"disabled",0],[8,"value",0]],[[null,"change"]],function(t,e,n){var o=!0,i=t.component;if("change"===e){o=!1!==i.changeMonth(n.target.value)&&o}return o},null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵand"](16777216,null,null,1,null,o)),s["ɵdid"](802816,null,0,c.NgForOf,[s.ViewContainerRef,s.TemplateRef,s.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵeld"](0,null,null,4,"select",[["class","custom-select d-inline-block"]],[[8,"disabled",0],[8,"value",0]],[[null,"change"]],function(t,e,n){var o=!0,i=t.component;if("change"===e){o=!1!==i.changeYear(n.target.value)&&o}return o},null,null)),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵand"](16777216,null,null,1,null,i)),s["ɵdid"](802816,null,0,c.NgForOf,[s.ViewContainerRef,s.TemplateRef,s.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),s["ɵted"](null,["\n "])),(t()(),s["ɵted"](null,[" \n "]))],function(t,e){var n=e.component;t(e,4,0,n.months),t(e,9,0,n.years)},function(t,e){var n=e.component;t(e,1,0,n.disabled,null==n.date?null:n.date.month),t(e,6,0,n.disabled,null==n.date?null:n.date.year)})}function a(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,null,null,1,"ngb-datepicker-navigation-select",[],null,null,null,d.a,d.b)),s["ɵdid"](573440,null,0,u.a,[p.a,h.a],null,null)],null,null)}var s=n("3j3K"),l=n("NVOs"),u=n("qBUJ"),c=n("2Je8"),d=n("AXLD"),p=n("gEbu"),h=n("lcaH");n.d(e,"b",function(){return g}),e.a=r;var f=["select[_ngcontent-%COMP%] {\n \n padding: 0.25rem 0.5rem;\n font-size: 0.875rem; \n line-height: 1.25;\n \n height: inherit;\n width: 50%;\n }"],g=s["ɵcrt"]({encapsulation:0,styles:f,data:{}});s["ɵccf"]("ngb-datepicker-navigation-select",u.a,a,{date:"date",disabled:"disabled",maxDate:"maxDate",minDate:"minDate"},{select:"select"},[])},CO0D:function(t,e,n){"use strict";var o=n("lcaH"),i=n("3j3K"),r=n("2yGx");n.d(e,"a",function(){return s});var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.getDaysPerWeek=function(){return 7},e.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},e.prototype.getWeeksPerMonth=function(){return 6},e.prototype.isValid=function(t){return t&&n.i(r.a)(t.year)&&n.i(r.a)(t.month)&&n.i(r.a)(t.day)&&!isNaN(this.toGregorian(t).getTime())},e.prototype.setDay=function(t,e){e=+e;var n=this.getDaysInIslamicMonth(t.month,t.year);if(e<=0)for(;e<=0;)t=this.setMonth(t,t.month-1),n=this.getDaysInIslamicMonth(t.month,t.year),e+=n;else if(e>n)for(;e>n;)e-=n,t=this.setMonth(t,t.month+1),n=this.getDaysInIslamicMonth(t.month,t.year);return t.day=e,t},e.prototype.setMonth=function(t,e){return e=+e,t.year=t.year+Math.floor((e-1)/12),t.month=Math.floor(((e-1)%12+12)%12)+1,t},e.prototype.setYear=function(t,e){return t.year=+e,t},e.prototype._isIslamicLeapYear=function(t){return(14+11*t)%30<11},e.prototype._getMonthStart=function(t,e){return Math.ceil(29.5*e)+354*(t-1)+Math.floor((3+11*t)/30)},e.prototype._getYearStart=function(t){return 354*(t-1)+Math.floor((3+11*t)/30)},e}(o.a);s.decorators=[{type:i.Injectable}],s.ctorParameters=function(){return[]}},CXHW:function(t,e,n){"use strict";var o=n("3j3K"),i=n("/PMa"),r=n("2yGx"),a=n("9XFw"),s=n("xOmt"),l=n("WtdY");n.d(e,"a",function(){return u});var u=function(){function t(t,e,n){this._applicationRef=t,this._injector=e,this._componentFactoryResolver=n,this._backdropFactory=n.resolveComponentFactory(a.a),this._windowFactory=n.resolveComponentFactory(s.a)}return t.prototype.open=function(t,e,n,o){var i=o.container||"body",r=document.querySelector(i);if(!r)throw new Error('The specified modal container "'+i+'" was not found in the DOM.');var a,s,u,c=new l.a,d=this._getContentRef(t,e,n,c);return!1!==o.backdrop&&(s=this._backdropFactory.create(this._injector),this._applicationRef.attachView(s.hostView),r.appendChild(s.location.nativeElement)),a=this._windowFactory.create(this._injector,d.nodes),this._applicationRef.attachView(a.hostView),r.appendChild(a.location.nativeElement),u=new l.b(a,d,s),c.close=function(t){u.close(t)},c.dismiss=function(t){u.dismiss(t)},this._applyWindowOptions(a.instance,o),u},t.prototype._applyWindowOptions=function(t,e){["backdrop","keyboard","size","windowClass"].forEach(function(o){n.i(r.h)(e[o])&&(t[o]=e[o])})},t.prototype._getContentRef=function(t,e,a,s){if(a){if(a instanceof o.TemplateRef){var u=a.createEmbeddedView(s);return this._applicationRef.attachView(u),new i.b([u.rootNodes],u)}if(n.i(r.f)(a))return new i.b([[document.createTextNode(""+a)]]);var c=t.resolveComponentFactory(a),d=o.ReflectiveInjector.resolveAndCreate([{provide:l.a,useValue:s}],e),p=c.create(d);return this._applicationRef.attachView(p.hostView),new i.b([[p.location.nativeElement]],p.hostView,p)}return new i.b([])},t}();u.decorators=[{type:o.Injectable}],u.ctorParameters=function(){return[{type:o.ApplicationRef},{type:o.Injector},{type:o.ComponentFactoryResolver}]}},DDfv:function(t,e,n){"use strict";var o=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.interval=5e3,this.wrap=!0,this.keyboard=!0}return t}();i.decorators=[{type:o.Injectable}],i.ctorParameters=function(){return[]}},ETCP:function(t,e,n){"use strict";var o=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.placement="top",this.triggers="click"}return t}();i.decorators=[{type:o.Injectable}],i.ctorParameters=function(){return[]}},Ep2y:function(t,e,n){"use strict";var o=n("3j3K"),i=n("2Je8"),r=n("/i+G"),a=n("K0TW");n.d(e,"a",function(){return s});var s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[a.a]}},t}();s.decorators=[{type:o.NgModule,args:[{declarations:[r.a],exports:[r.a],imports:[i.CommonModule]}]}],s.ctorParameters=function(){return[]}},EzwU:function(t,e,n){"use strict";var o=n("3j3K"),i=n("2yGx");n.d(e,"a",function(){return r});var r=function(){function t(){this.highlightClass="ngb-highlight"}return t.prototype.ngOnChanges=function(t){var e=n.i(i.d)(this.result),o=e.toLowerCase(),r=n.i(i.d)(this.term).toLowerCase(),a=0;r.length>0?this.parts=o.split(new RegExp("("+n.i(i.g)(r)+")")).map(function(t){var n=e.substr(a,t.length);return a+=t.length,n}):this.parts=[e]},t}();r.decorators=[{type:o.Component,args:[{selector:"ngb-highlight",changeDetection:o.ChangeDetectionStrategy.OnPush,template:'<ng-template ngFor [ngForOf]="parts" let-part let-isOdd="odd"><span *ngIf="isOdd" class="{{highlightClass}}">{{part}}</span><ng-template [ngIf]="!isOdd">{{part}}</ng-template></ng-template>',styles:["\n .ngb-highlight {\n font-weight: bold;\n }\n "]}]}],r.ctorParameters=function(){return[]},r.propDecorators={highlightClass:[{type:o.Input}],result:[{type:o.Input}],term:[{type:o.Input}]}},IiyU:function(t,e,n){"use strict";function o(t){return l["ɵvid"](0,[(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,1,"ngb-highlight",[],null,null,null,u.a,u.b)),l["ɵdid"](573440,null,0,c.a,[],{result:[0,"result"],term:[1,"term"]},null),(t()(),l["ɵted"](null,["\n "]))],function(t,e){t(e,2,0,e.context.formatter(e.context.result),e.context.term)},null)}function i(t){return l["ɵvid"](0,[(t()(),l["ɵand"](0,null,null,0))],null,null)}function r(t){return l["ɵvid"](0,[(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,5,"button",[["class","dropdown-item"],["role","option"],["type","button"]],[[8,"id",0],[2,"active",null]],[[null,"mouseenter"],[null,"click"]],function(t,e,n){var o=!0,i=t.component;if("mouseenter"===e){o=!1!==i.markActive(t.context.index)&&o}if("click"===e){o=!1!==i.select(t.context.$implicit)&&o}return o},null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵand"](16777216,null,null,2,null,i)),l["ɵdid"](540672,null,0,d.NgTemplateOutlet,[l.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"],ngOutletContext:[1,"ngOutletContext"]},null),l["ɵpod"](["result","term","formatter"]),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,4,0,n.resultTemplate||l["ɵnov"](e.parent,1),t(e,5,0,e.context.$implicit,n.term,n.formatter))},function(t,e){var n=e.component;t(e,1,0,n.id+"-"+e.context.index,e.context.index===n.activeIdx)})}function a(t){return l["ɵvid"](0,[(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵand"](0,[["rt",2]],null,0,null,o)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵand"](16777216,null,null,1,null,r)),l["ɵdid"](802816,null,0,d.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),l["ɵted"](null,["\n "]))],function(t,e){t(e,4,0,e.component.results)},null)}function s(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,1,"ngb-typeahead-window",[["class","dropdown-menu"],["role","listbox"],["style","display: block"]],[[8,"id",0]],null,null,h.b,h.c)),l["ɵdid"](114688,null,0,p.a,[],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,l["ɵnov"](e,1).id)})}var l=n("3j3K"),u=n("YJv1"),c=n("EzwU"),d=n("2Je8"),p=n("2BXm"),h=n("IiyU");n.d(e,"c",function(){return g}),e.b=a,n.d(e,"a",function(){return m});var f=[],g=l["ɵcrt"]({encapsulation:2,styles:f,data:{}}),m=l["ɵccf"]("ngb-typeahead-window",p.a,s,{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate"},{selectEvent:"select",activeChangeEvent:"activeChange"},[])},"K/oD":function(t,e,n){"use strict";var o=n("3j3K"),i=n("2Je8"),r=n("EzwU"),a=n("2BXm"),s=n("qoi6"),l=n("cG9e");n.d(e,"a",function(){return u});var u=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[l.a]}},t}();u.decorators=[{type:o.NgModule,args:[{declarations:[s.a,r.a,a.a],exports:[s.a],imports:[i.CommonModule],entryComponents:[a.a]}]}],u.ctorParameters=function(){return[]}},K0TW:function(t,e,n){"use strict";var o=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}return t}();i.decorators=[{type:o.Injectable}],i.ctorParameters=function(){return[]}},M0cT:function(t,e,n){"use strict";var o=n("3j3K"),i=n("+dDw");n.d(e,"a",function(){return a});var r=[i.a,i.b,i.c],a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t}();a.decorators=[{type:o.NgModule,args:[{declarations:r,exports:r}]}],a.ctorParameters=function(){return[]}},MSQt:function(t,e,n){"use strict";var o=n("3j3K"),i=n("6uCv"),r=n("c7mC");n.d(e,"a",function(){return s});var a=[i.a,i.b],s=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}();s.decorators=[{type:o.NgModule,args:[{declarations:a,exports:a}]}],s.ctorParameters=function(){return[]}},"Mn0/":function(t,e,n){"use strict";function o(t){return r["ɵvid"](0,[(t()(),r["ɵted"](null,["",""]))],null,function(t,e){t(e,0,0,e.component.date.day)})}function i(t){return r["ɵvid"](0,[(t()(),r["ɵeld"](0,null,null,1,"div",[["ngbDatepickerDayView",""]],[[2,"bg-primary",null],[2,"text-white",null],[2,"text-muted",null],[2,"outside",null],[2,"btn-secondary",null]],null,null,s.a,s.b)),r["ɵdid"](49152,null,0,a.a,[],null,null)],null,function(t,e){t(e,0,0,r["ɵnov"](e,1).selected,r["ɵnov"](e,1).selected,r["ɵnov"](e,1).isMuted(),r["ɵnov"](e,1).isMuted(),!r["ɵnov"](e,1).disabled)})}var r=n("3j3K"),a=n("U6gI"),s=n("Mn0/");n.d(e,"b",function(){return u}),e.a=o;var l=["[_nghost-%COMP%] {\n text-align: center;\n width: 2rem;\n height: 2rem;\n line-height: 2rem; \n border-radius: 0.25rem;\n }\n .outside[_nghost-%COMP%] {\n opacity: 0.5;\n }"],u=r["ɵcrt"]({encapsulation:0,styles:l,data:{}});r["ɵccf"]("[ngbDatepickerDayView]",a.a,i,{currentMonth:"currentMonth",date:"date",disabled:"disabled",selected:"selected"},{},[])},OEcN:function(t,e,n){"use strict";var o=n("3j3K"),i=n("NVOs"),r=n("2yGx"),a=n("hUSH"),s=n("tyH+");n.d(e,"a",function(){return u});var l={provide:i.NG_VALUE_ACCESSOR,useExisting:n.i(o.forwardRef)(function(){return u}),multi:!0},u=function(){function t(t){this.onChange=function(t){},this.onTouched=function(){},this.meridian=t.meridian,this.spinners=t.spinners,this.seconds=t.seconds,this.hourStep=t.hourStep,this.minuteStep=t.minuteStep,this.secondStep=t.secondStep,this.disabled=t.disabled,this.readonlyInputs=t.readonlyInputs,this.size=t.size}return t.prototype.writeValue=function(t){this.model=t?new a.a(t.hour,t.minute,t.second):new a.a,this.seconds||t&&n.i(r.a)(t.second)||(this.model.second=0)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.changeHour=function(t){this.model.changeHour(t),this.propagateModelChange()},t.prototype.changeMinute=function(t){this.model.changeMinute(t),this.propagateModelChange()},t.prototype.changeSecond=function(t){this.model.changeSecond(t),this.propagateModelChange()},t.prototype.updateHour=function(t){this.model.updateHour(n.i(r.b)(t)),this.propagateModelChange()},t.prototype.updateMinute=function(t){this.model.updateMinute(n.i(r.b)(t)),this.propagateModelChange()},t.prototype.updateSecond=function(t){this.model.updateSecond(n.i(r.b)(t)),this.propagateModelChange()},t.prototype.toggleMeridian=function(){this.meridian&&this.changeHour(12)},t.prototype.formatHour=function(t){return n.i(r.a)(t)?this.meridian?n.i(r.c)(t%12==0?12:t%12):n.i(r.c)(t%24):n.i(r.c)(NaN)},t.prototype.formatMinSec=function(t){return n.i(r.c)(t)},t.prototype.setFormControlSize=function(){return{"form-control-sm":"small"===this.size,"form-control-lg":"large"===this.size}},t.prototype.setButtonSize=function(){return{"btn-sm":"small"===this.size,"btn-lg":"large"===this.size}},t.prototype.ngOnChanges=function(t){t.seconds&&!this.seconds&&this.model&&!n.i(r.a)(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))},t.prototype.propagateModelChange=function(t){void 0===t&&(t=!0),t&&this.onTouched(),this.model.isValid(this.seconds)?this.onChange({hour:this.model.hour,minute:this.model.minute,second:this.model.second}):this.onChange(null)},t}();u.decorators=[{type:o.Component,args:[{selector:"ngb-timepicker",styles:["\n .ngb-tp {\n display: flex;\n align-items: center;\n }\n\n .ngb-tp-hour, .ngb-tp-minute, .ngb-tp-second, .ngb-tp-meridian {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n }\n\n .ngb-tp-spacer {\n width: 1em;\n text-align: center;\n }\n\n .chevron::before {\n border-style: solid;\n border-width: 0.29em 0.29em 0 0;\n content: '';\n display: inline-block;\n height: 0.69em;\n left: 0.05em;\n position: relative;\n top: 0.15em;\n transform: rotate(-45deg);\n -webkit-transform: rotate(-45deg);\n -ms-transform: rotate(-45deg);\n vertical-align: middle;\n width: 0.71em;\n }\n\n .chevron.bottom:before {\n top: -.3em;\n -webkit-transform: rotate(135deg);\n -ms-transform: rotate(135deg);\n transform: rotate(135deg);\n }\n\n .btn-link {\n outline: 0;\n }\n\n .btn-link.disabled {\n cursor: not-allowed;\n opacity: .65;\n }\n\n input {\n text-align: center;\n display: inline-block;\n width: auto;\n }\n "],template:'\n <fieldset [disabled]="disabled" [class.disabled]="disabled">\n <div class="ngb-tp">\n <div class="ngb-tp-hour">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeHour(hourStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron"></span>\n <span class="sr-only">Increment hours</span>\n </button>\n <input type="text" class="form-control" [ngClass]="setFormControlSize()" maxlength="2" size="2" placeholder="HH"\n [value]="formatHour(model?.hour)" (change)="updateHour($event.target.value)"\n [readonly]="readonlyInputs" [disabled]="disabled" aria-label="Hours">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeHour(-hourStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron bottom"></span>\n <span class="sr-only">Decrement hours</span>\n </button>\n </div>\n <div class="ngb-tp-spacer">:</div>\n <div class="ngb-tp-minute">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeMinute(minuteStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron"></span>\n <span class="sr-only">Increment minutes</span>\n </button>\n <input type="text" class="form-control" [ngClass]="setFormControlSize()" maxlength="2" size="2" placeholder="MM"\n [value]="formatMinSec(model?.minute)" (change)="updateMinute($event.target.value)"\n [readonly]="readonlyInputs" [disabled]="disabled" aria-label="Minutes">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeMinute(-minuteStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron bottom"></span>\n <span class="sr-only">Decrement minutes</span>\n </button>\n </div>\n <div *ngIf="seconds" class="ngb-tp-spacer">:</div>\n <div *ngIf="seconds" class="ngb-tp-second">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeSecond(secondStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron"></span>\n <span class="sr-only">Increment seconds</span>\n </button>\n <input type="text" class="form-control" [ngClass]="setFormControlSize()" maxlength="2" size="2" placeholder="SS"\n [value]="formatMinSec(model?.second)" (change)="updateSecond($event.target.value)"\n [readonly]="readonlyInputs" [disabled]="disabled" aria-label="Seconds">\n <button *ngIf="spinners" type="button" class="btn-link" [ngClass]="setButtonSize()" (click)="changeSecond(-secondStep)"\n [disabled]="disabled" [class.disabled]="disabled">\n <span class="chevron bottom"></span>\n <span class="sr-only">Decrement seconds</span>\n </button>\n </div>\n <div *ngIf="meridian" class="ngb-tp-spacer"></div>\n <div *ngIf="meridian" class="ngb-tp-meridian">\n <button type="button" class="btn btn-outline-primary" [ngClass]="setButtonSize()"\n [disabled]="disabled" [class.disabled]="disabled"\n (click)="toggleMeridian()">{{model.hour >= 12 ? \'PM\' : \'AM\'}}</button>\n </div>\n </div>\n </fieldset>\n ',providers:[l]}]}],u.ctorParameters=function(){return[{type:s.a}]},u.propDecorators={meridian:[{type:o.Input}],spinners:[{type:o.Input}],seconds:[{type:o.Input}],hourStep:[{type:o.Input}],minuteStep:[{type:o.Input}],secondStep:[{type:o.Input}],readonlyInputs:[{type:o.Input}],size:[{type:o.Input}]}},R6W2:function(t,e,n){"use strict";var o=n("Fzro"),i=n("+pb+"),r=(n.n(i),n("mwbX"));n.d(e,"a",function(){return a});var a=function(){function t(t){this.http=t}return t.prototype.login=function(t,e){var n=new o.l({"Content-Type":"application/json"}),i=new o.g({headers:n});return this.http.post(r.a+"/servicios/login",JSON.stringify({cedula:t,password:e}),i).map(function(t){var e=t.json();sessionStorage.setItem("currentUser",JSON.stringify(e))})},t.prototype.getUser=function(){return JSON.parse(sessionStorage.getItem("currentUser"))},t.prototype.getUserConfig=function(){return JSON.parse(sessionStorage.getItem("currentUser")).configuracion},t.prototype.getToken=function(){var t=JSON.parse(sessionStorage.getItem("currentUser"));return t?t.token:void 0},t.prototype.setUserConfig=function(t){var e=JSON.parse(sessionStorage.getItem("currentUser"));e.configuracion=t,sessionStorage.setItem("currentUser",JSON.stringify(e))},t.prototype.logout=function(){sessionStorage.removeItem("currentUser")},t.ctorParameters=function(){return[{type:o.i}]},t}()},RYHQ:function(t,e,n){"use strict";var o=n("zhGp");n.d(e,"a",function(){return i});var i=(o.a,function(){function t(){}return t}())},Rewd:function(t,e,n){"use strict";function o(t,e,n){return this.lift(new a(t,e,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n("mmVS");e._do=o;var a=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.nextOrObserver,this.error,this.complete))},t}(),s=function(t){function e(e,n,o,i){t.call(this,e);var a=new r.Subscriber(n,o,i);a.syncErrorThrowable=!0,this.add(a),this.safeSubscriber=a}return i(e,t),e.prototype._next=function(t){var e=this.safeSubscriber;e.next(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.next(t)},e.prototype._error=function(t){var e=this.safeSubscriber;e.error(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.error(t)},e.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},e}(r.Subscriber)},SDm3:function(t,e,n){"use strict";function o(t){return r["ɵvid"](0,[(t()(),r["ɵted"](null,["\n "])),(t()(),r["ɵeld"](0,null,null,4,"div",[["role","document"]],[[8,"className",0]],null,null,null,null)),(t()(),r["ɵted"](null,["\n "])),(t()(),r["ɵeld"](0,null,null,1,"div",[["class","modal-content"]],null,null,null,null,null)),r["ɵncd"](null,0),(t()(),r["ɵted"](null,["\n "])),(t()(),r["ɵted"](null,["\n "]))],null,function(t,e){var n=e.component;t(e,1,0,"modal-dialog"+(n.size?" modal-"+n.size:""))})}function i(t){return r["ɵvid"](0,[(t()(),r["ɵeld"](0,null,null,1,"ngb-modal-window",[["role","dialog"],["style","display: block;"],["tabindex","-1"]],[[8,"className",0]],[[null,"keyup.esc"],[null,"click"]],function(t,e,n){var o=!0;if("keyup.esc"===e){o=!1!==r["ɵnov"](t,1).escKey(n)&&o}if("click"===e){o=!1!==r["ɵnov"](t,1).backdropClick(n)&&o}return o},s.b,s.c)),r["ɵdid"](4440064,null,0,a.a,[r.ElementRef,r.Renderer2],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,"modal fade show"+(r["ɵnov"](e,1).windowClass?" "+r["ɵnov"](e,1).windowClass:""))})}var r=n("3j3K"),a=n("xOmt"),s=n("SDm3");n.d(e,"c",function(){return u}),e.b=o,n.d(e,"a",function(){return c});var l=[],u=r["ɵcrt"]({encapsulation:2,styles:l,data:{}}),c=r["ɵccf"]("ngb-modal-window",a.a,i,{backdrop:"backdrop",keyboard:"keyboard",size:"size",windowClass:"windowClass"},{dismissEvent:"dismiss"},["*"])},"TIy+":function(t,e,n){"use strict";var o=n("/J7H");e.fromEvent=o.FromEventObservable.create},U6gI:function(t,e,n){"use strict";var o=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){}return t.prototype.isMuted=function(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)},t}();i.decorators=[{type:o.Component,args:[{selector:"[ngbDatepickerDayView]",styles:["\n :host {\n text-align: center;\n width: 2rem;\n height: 2rem;\n line-height: 2rem; \n border-radius: 0.25rem;\n }\n :host.outside {\n opacity: 0.5;\n }\n "],host:{"[class.bg-primary]":"selected","[class.text-white]":"selected","[class.text-muted]":"isMuted()","[class.outside]":"isMuted()","[class.btn-secondary]":"!disabled"},template:"{{ date.day }}"}]}],i.ctorParameters=function(){return[]},i.propDecorators={currentMonth:[{type:o.Input}],date:[{type:o.Input}],disabled:[{type:o.Input}],selected:[{type:o.Input}]}},UWpj:function(t,e,n){"use strict";function o(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,7,"div",[["class","loading"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "]))],null,null)}function i(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,8,"div",[["class","login-error"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,5,"ngb-alert",[],null,null,null,u.b,u.c)),l["ɵdid"](49152,null,0,c.a,[d.a],{dismissible:[0,"dismissible"],type:[1,"type"]},null),(t()(),l["ɵted"](0,["\n "])),(t()(),l["ɵeld"](0,null,0,1,"strong",[],null,null,null,null,null)),(t()(),l["ɵted"](null,["Error!"])),(t()(),l["ɵted"](0,[" ",".\n "])),(t()(),l["ɵted"](null,["\n "]))],function(t,e){t(e,3,0,!1,"danger")},function(t,e){t(e,7,0,e.component.errorText)})}function r(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,52,"div",[["class","login-page"],["style","background: #004869;"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,49,"div",[["class","row"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,46,"div",[["class","col-md-4 push-md-4"],["style","padding: 55px 35px;background: rgba(255,255,255,0.15);border-radius: 8px;"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),l["ɵted"](null,["MateFun"])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,40,"form",[["novalidate",""],["role","form"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(t,e,n){var o=!0;if("submit"===e){o=!1!==l["ɵnov"](t,11).onSubmit(n)&&o}if("reset"===e){o=!1!==l["ɵnov"](t,11).onReset()&&o}return o},null,null)),l["ɵdid"](16384,null,0,p["ɵbf"],[],null,null),l["ɵdid"](16384,null,0,p.NgForm,[[8,null],[8,null]],null,null),l["ɵprd"](2048,null,p.ControlContainer,null,[p.NgForm]),l["ɵdid"](16384,null,0,p.NgControlStatusGroup,[p.ControlContainer],null,null),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,21,"div",[["class","form-content"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,8,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,5,"input",[["class","form-control input-underline input-lg"],["name","cedula"],["placeholder","Usuario"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var o=!0,i=t.component;if("input"===e){o=!1!==l["ɵnov"](t,20)._handleInput(n.target.value)&&o}if("blur"===e){o=!1!==l["ɵnov"](t,20).onTouched()&&o}if("compositionstart"===e){o=!1!==l["ɵnov"](t,20)._compositionStart()&&o}if("compositionend"===e){o=!1!==l["ɵnov"](t,20)._compositionEnd(n.target.value)&&o}if("ngModelChange"===e){o=!1!==(i.model.cedula=n)&&o}return o},null,null)),l["ɵdid"](16384,null,0,p.DefaultValueAccessor,[l.Renderer,l.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),l["ɵprd"](1024,null,p.NG_VALUE_ACCESSOR,function(t){return[t]},[p.DefaultValueAccessor]),l["ɵdid"](671744,null,0,p.NgModel,[[2,p.ControlContainer],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,p.NgControl,null,[p.NgModel]),l["ɵdid"](16384,null,0,p.NgControlStatus,[p.NgControl],null,null),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n\n "])),(t()(),l["ɵeld"](0,null,null,8,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,5,"input",[["class","form-control input-underline input-lg"],["name","password"],["placeholder","Contraseña"],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var o=!0,i=t.component;if("input"===e){o=!1!==l["ɵnov"](t,30)._handleInput(n.target.value)&&o}if("blur"===e){o=!1!==l["ɵnov"](t,30).onTouched()&&o}if("compositionstart"===e){o=!1!==l["ɵnov"](t,30)._compositionStart()&&o}if("compositionend"===e){o=!1!==l["ɵnov"](t,30)._compositionEnd(n.target.value)&&o}if("ngModelChange"===e){o=!1!==(i.model.password=n)&&o}if("keyup.enter"===e){o=!1!==i.login()&&o}return o},null,null)),l["ɵdid"](16384,null,0,p.DefaultValueAccessor,[l.Renderer,l.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),l["ɵprd"](1024,null,p.NG_VALUE_ACCESSOR,function(t){return[t]},[p.DefaultValueAccessor]),l["ɵdid"](671744,null,0,p.NgModel,[[2,p.ControlContainer],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,p.NgControl,null,[p.NgModel]),l["ɵdid"](16384,null,0,p.NgControlStatus,[p.NgControl],null,null),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n \n "])),(t()(),l["ɵted"](null,["\n\n "])),(t()(),l["ɵeld"](0,null,null,1,"a",[["class","btn rounded-btn"],["style","background: transparent;color: white;cursor: pointer;width: 159px;margin-right: 3px;"]],null,[[null,"click"]],function(t,e,n){var o=!0,i=t.component;if("click"===e){o=!1!==i.login()&&o}return o},null,null)),(t()(),l["ɵted"](null,[" Iniciar Sesión "])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵeld"](0,null,null,1,"a",[["class","btn rounded-btn"],["style","background: transparent;color: white;cursor: pointer;width: 159px;margin-left: 3px;"]],null,[[null,"click"]],function(t,e,n){var o=!0,i=t.component;if("click"===e){o=!1!==i.invitado()&&o}return o},null,null)),(t()(),l["ɵted"](null,[" Invitado "])),(t()(),l["ɵted"](null,["\n  \n "])),(t()(),l["ɵand"](16777216,null,null,1,null,o)),l["ɵdid"](16384,null,0,f.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵand"](16777216,null,null,1,null,i)),l["ɵdid"](16384,null,0,f.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n "])),(t()(),l["ɵted"](null,["\n"])),(t()(),l["ɵted"](null,["\n"]))],function(t,e){var n=e.component;t(e,22,0,"cedula",n.model.cedula),t(e,32,0,"password",n.model.password),t(e,45,0,n.loading),t(e,48,0,n.error&&!n.loading)},function(t,e){t(e,9,0,l["ɵnov"](e,13).ngClassUntouched,l["ɵnov"](e,13).ngClassTouched,l["ɵnov"](e,13).ngClassPristine,l["ɵnov"](e,13).ngClassDirty,l["ɵnov"](e,13).ngClassValid,l["ɵnov"](e,13).ngClassInvalid,l["ɵnov"](e,13).ngClassPending),t(e,19,0,l["ɵnov"](e,24).ngClassUntouched,l["ɵnov"](e,24).ngClassTouched,l["ɵnov"](e,24).ngClassPristine,l["ɵnov"](e,24).ngClassDirty,l["ɵnov"](e,24).ngClassValid,l["ɵnov"](e,24).ngClassInvalid,l["ɵnov"](e,24).ngClassPending),t(e,29,0,l["ɵnov"](e,34).ngClassUntouched,l["ɵnov"](e,34).ngClassTouched,l["ɵnov"](e,34).ngClassPristine,l["ɵnov"](e,34).ngClassDirty,l["ɵnov"](e,34).ngClassValid,l["ɵnov"](e,34).ngClassInvalid,l["ɵnov"](e,34).ngClassPending)})}function a(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,1,"app-login",[],null,null,null,r,b)),l["ɵdid"](114688,null,0,h.a,[g.a,g.c,m.a,y.a],null,null)],function(t,e){t(e,1,0)},null)}var s=n("5IDu"),l=n("3j3K"),u=n("7ldD"),c=n("s28n"),d=n("gFLb"),p=n("NVOs"),h=n("zhGp"),f=n("2Je8"),g=n("5oXY"),m=n("Zwpz"),y=n("R6W2");n.d(e,"a",function(){return _});var v=[s.a],b=l["ɵcrt"]({encapsulation:0,styles:v,data:{}}),_=l["ɵccf"]("app-login",h.a,a,{},{},[])},UyZi:function(t,e,n){"use strict";var o=n("3j3K"),i=n("9XFw"),r=n("xOmt"),a=n("CXHW"),s=n("3kwk");n("WtdY"),n("nxqe");n.d(e,"a",function(){return l});var l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[s.a,a.a]}},t}();l.decorators=[{type:o.NgModule,args:[{declarations:[i.a,r.a],entryComponents:[i.a,r.a],providers:[s.a]}]}],l.ctorParameters=function(){return[]}},W5jB:function(t,e,n){"use strict";var o=n("3j3K"),i=n("2yGx"),r=n("nCuf");n.d(e,"a",function(){return a});var a=function(){function t(t){this.value=0,this.max=t.max,this.animated=t.animated,this.striped=t.striped,this.type=t.type,this.showValue=t.showValue}return t.prototype.getValue=function(){return n.i(i.e)(this.value,this.max)},t.prototype.getPercentValue=function(){return 100*this.getValue()/this.max},t}();a.decorators=[{type:o.Component,args:[{selector:"ngb-progressbar",changeDetection:o.ChangeDetectionStrategy.OnPush,template:'\n <div class="progress">\n <div class="progress-bar{{type ? \' bg-\' + type : \'\'}}{{animated ? \' progress-bar-animated\' : \'\'}}{{striped ?\n \' progress-bar-striped\' : \'\'}}" role="progressbar" [style.width.%]="getPercentValue()"\n [attr.aria-valuenow]="getValue()" aria-valuemin="0" [attr.aria-valuemax]="max">\n <span *ngIf="showValue">{{getPercentValue()}}%</span><ng-content></ng-content>\n </div>\n </div>\n '}]}],a.ctorParameters=function(){return[{type:r.a}]},a.propDecorators={max:[{type:o.Input}],animated:[{type:o.Input}],striped:[{type:o.Input}],showValue:[{type:o.Input}],type:[{type:o.Input}],value:[{type:o.Input}]}},WKBe:function(t,e,n){"use strict";var o=n("3j3K"),i=n("WtNX"),r=n("ETCP");n.d(e,"a",function(){return a});var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}();a.decorators=[{type:o.NgModule,args:[{declarations:[i.a,i.b],exports:[i.a],entryComponents:[i.b]}]}],a.ctorParameters=function(){return[]}},WtNX:function(t,e,n){"use strict";var o=n("3j3K"),i=n("aalB"),r=n("jRSa"),a=n("/PMa"),s=n("ETCP");n.d(e,"b",function(){return u}),n.d(e,"a",function(){return c});var l=0,u=function(){function t(){this.placement="top"}return t}();u.decorators=[{type:o.Component,args:[{selector:"ngb-popover-window",changeDetection:o.ChangeDetectionStrategy.OnPush,host:{"[class]":'"popover show popover-" + placement',role:"tooltip","[id]":"id"},template:'\n <h3 class="popover-title">{{title}}</h3><div class="popover-content"><ng-content></ng-content></div>\n '}]}],u.ctorParameters=function(){return[]},u.propDecorators={placement:[{type:o.Input}],title:[{type:o.Input}],id:[{type:o.Input}]};var c=function(){function t(t,e,i,s,c,d,p){var h=this;this._elementRef=t,this._renderer=e,this.shown=new o.EventEmitter,this.hidden=new o.EventEmitter,this._ngbPopoverWindowId="ngb-popover-"+l++,this.placement=d.placement,this.triggers=d.triggers,this.container=d.container,this._popupService=new a.a(u,i,c,e,s),this._zoneSubscription=p.onStable.subscribe(function(){h._windowRef&&n.i(r.a)(h._elementRef.nativeElement,h._windowRef.location.nativeElement,h.placement,"body"===h.container)})}return t.prototype.open=function(t){this._windowRef||(this._windowRef=this._popupService.open(this.ngbPopover,t),this._windowRef.instance.placement=this.placement,this._windowRef.instance.title=this.popoverTitle,this._windowRef.instance.id=this._ngbPopoverWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.markForCheck(),this.shown.emit())},t.prototype.close=function(){this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=n.i(i.a)(this._renderer,this._elementRef.nativeElement,this.triggers,this.open.bind(this),this.close.bind(this),this.toggle.bind(this))},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t}();c.decorators=[{type:o.Directive,args:[{selector:"[ngbPopover]",exportAs:"ngbPopover"}]}],c.ctorParameters=function(){return[{type:o.ElementRef},{type:o.Renderer2},{type:o.Injector},{type:o.ComponentFactoryResolver},{type:o.ViewContainerRef},{type:s.a},{type:o.NgZone}]},c.propDecorators={ngbPopover:[{type:o.Input}],popoverTitle:[{type:o.Input}],placement:[{type:o.Input}],triggers:[{type:o.Input}],container:[{type:o.Input}],shown:[{type:o.Output}],hidden:[{type:o.Output}]}},WtdY:function(t,e,n){"use strict";var o=n("3j3K"),i=n("/PMa");n.d(e,"a",function(){return r}),n.d(e,"b",function(){return a});var r=function(){function t(){}return t.prototype.close=function(t){},t.prototype.dismiss=function(t){},t}();r.decorators=[{type:o.Injectable}],r.ctorParameters=function(){return[]};var a=function(){function t(t,e,n){var o=this;this._windowCmptRef=t,this._contentRef=e,this._backdropCmptRef=n,t.instance.dismissEvent.subscribe(function(t){o.dismiss(t)}),this.result=new Promise(function(t,e){o._resolve=t,o._reject=e}),this.result.then(null,function(){})}return Object.defineProperty(t.prototype,"componentInstance",{get:function(){if(this._contentRef.componentRef)return this._contentRef.componentRef.instance},set:function(t){},enumerable:!0,configurable:!0}),t.prototype.close=function(t){this._windowCmptRef&&(this._resolve(t),this._removeModalElements())},t.prototype.dismiss=function(t){this._windowCmptRef&&(this._reject(t),this._removeModalElements())},t.prototype._removeModalElements=function(){var t=this._windowCmptRef.location.nativeElement;if(t.parentNode.removeChild(t),this._windowCmptRef.destroy(),this._backdropCmptRef){var e=this._backdropCmptRef.location.nativeElement;e.parentNode.removeChild(e),this._backdropCmptRef.destroy()}this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._backdropCmptRef=null,this._contentRef=null},t}();a.decorators=[{type:o.Injectable}],a.ctorParameters=function(){return[{type:o.ComponentRef},{type:i.b},{type:o.ComponentRef}]}},YDZ5:function(t,e,n){"use strict";function o(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,2,"ngb-datepicker-navigation-select",[["class","d-block"]],[[4,"width","rem"]],[[null,"select"]],function(t,e,n){var o=!0,i=t.component;if("select"===e){o=!1!==i.selectDate(n)&&o}return o},s.a,s.b)),a["ɵdid"](573440,null,0,l.a,[u.a,c.a],{date:[0,"date"],disabled:[1,"disabled"],maxDate:[2,"maxDate"],minDate:[3,"minDate"]},{select:"select"}),(t()(),a["ɵted"](null,["\n "]))],function(t,e){var n=e.component;t(e,1,0,n.date,n.disabled,n.maxDate,n.minDate)},function(t,e){t(e,0,0,9*e.component.months)})}function i(t){return a["ɵvid"](0,[(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,3,"button",[["class","btn-link"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var o=!0,i=t.component;if("click"===e){o=!1!=!!i.doNavigate(i.navigation.PREV)&&o}return o},null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,0,"span",[["class","ngb-dp-navigation-chevron"]],null,null,null,null,null)),(t()(),a["ɵted"](null,[" \n "])),(t()(),a["ɵted"](null,["\n \n "])),(t()(),a["ɵand"](16777216,null,null,1,null,o)),a["ɵdid"](16384,null,0,p.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),a["ɵted"](null,["\n \n "])),(t()(),a["ɵeld"](0,null,null,3,"button",[["class","btn-link"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var o=!0,i=t.component;if("click"===e){o=!1!=!!i.doNavigate(i.navigation.NEXT)&&o}return o},null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵeld"](0,null,null,0,"span",[["class","ngb-dp-navigation-chevron right"]],null,null,null,null,null)),(t()(),a["ɵted"](null,["\n "])),(t()(),a["ɵted"](null,["\n "]))],function(t,e){t(e,7,0,e.component.showSelect)},function(t,e){var n=e.component;t(e,1,0,n.prevDisabled()),t(e,9,0,n.nextDisabled())})}function r(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,null,null,1,"ngb-datepicker-navigation",[["class","d-flex justify-content-between"]],[[2,"collapsed",null]],null,null,h.a,h.b)),a["ɵdid"](49152,null,0,d.a,[u.a,c.a],null,null)],null,function(t,e){t(e,0,0,!a["ɵnov"](e,1).showSelect)})}var a=n("3j3K"),s=n("AXLD"),l=n("qBUJ"),u=n("gEbu"),c=n("lcaH"),d=n("3fcS"),p=n("2Je8"),h=n("YDZ5");n.d(e,"b",function(){return g}),e.a=i;var f=["[_nghost-%COMP%] {\n height: 2rem;\n line-height: 1.85rem;\n }\n .collapsed[_nghost-%COMP%] {\n margin-bottom: -2rem; \n }\n .ngb-dp-navigation-chevron[_ngcontent-%COMP%]::before {\n border-style: solid;\n border-width: 0.2em 0.2em 0 0;\n content: '';\n display: inline-block;\n height: 0.75em;\n transform: rotate(-135deg);\n -webkit-transform: rotate(-135deg);\n -ms-transform: rotate(-135deg);\n width: 0.75em;\n margin: 0 0 0 0.5rem;\n } \n .ngb-dp-navigation-chevron.right[_ngcontent-%COMP%]:before {\n -webkit-transform: rotate(45deg);\n -ms-transform: rotate(45deg);\n transform: rotate(45deg);\n margin: 0 0.5rem 0 0;\n }\n .btn-link[_ngcontent-%COMP%] {\n cursor: pointer;\n outline: 0;\n }\n .btn-link[disabled][_ngcontent-%COMP%] {\n cursor: not-allowed;\n opacity: .65;\n }"],g=a["ɵcrt"]({encapsulation:0,styles:f,data:{}});a["ɵccf"]("ngb-datepicker-navigation",d.a,r,{date:"date",disabled:"disabled",maxDate:"maxDate",minDate:"minDate",months:"months",showSelect:"showSelect",showWeekNumbers:"showWeekNumbers"},{navigate:"navigate",select:"select"},[])},YJv1:function(t,e,n){"use strict";function o(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,1,"span",[],[[8,"className",0]],null,null,null,null)),(t()(),l["ɵted"](null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,l["ɵinlineInterpolate"](1,"",n.highlightClass,"")),t(e,1,0,e.parent.context.$implicit)})}function i(t){return l["ɵvid"](0,[(t()(),l["ɵted"](null,["",""]))],null,function(t,e){t(e,0,0,e.parent.context.$implicit)})}function r(t){return l["ɵvid"](0,[(t()(),l["ɵand"](16777216,null,null,1,null,o)),l["ɵdid"](16384,null,0,u.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),l["ɵand"](16777216,null,null,1,null,i)),l["ɵdid"](16384,null,0,u.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),l["ɵand"](0,null,null,0))],function(t,e){t(e,1,0,e.context.odd),t(e,3,0,!e.context.odd)},null)}function a(t){return l["ɵvid"](2,[(t()(),l["ɵand"](16777216,null,null,1,null,r)),l["ɵdid"](802816,null,0,u.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,1,0,e.component.parts)},null)}function s(t){return l["ɵvid"](0,[(t()(),l["ɵeld"](0,null,null,1,"ngb-highlight",[],null,null,null,d.a,d.b)),l["ɵdid"](573440,null,0,c.a,[],null,null)],null,null)}var l=n("3j3K"),u=n("2Je8"),c=n("EzwU"),d=n("YJv1");n.d(e,"b",function(){return h}),e.a=a;var p=[".ngb-highlight[_ngcontent-%COMP%] {\n font-weight: bold;\n }"],h=l["ɵcrt"]({encapsulation:0,styles:p,data:{}});l["ɵccf"]("ngb-highlight",c.a,s,{highlightClass:"highlightClass",result:"result",term:"term"},{},[])},ZwZs:function(t,e,n){"use strict";var o=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.closeOthers=!1}return t}();i.decorators=[{type:o.Injectable}],i.ctorParameters=function(){return[]}},aKiW:function(t,e,n){"use strict";var o=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.max=10,this.readonly=!1,this.resettable=!1}return t}();i.decorators=[{type:o.Injectable}],i.ctorParameters=function(){return[]}},aalB:function(t,e,n){"use strict";function o(t,e){void 0===e&&(e=a);var n=(t||"").trim();if(0===n.length)return[];var o=n.split(/\s+/).map(function(t){return t.split(":")}).map(function(t){var n=e[t[0]]||t;return new r(n[0],n[1])}),i=o.filter(function(t){return t.isManual()});if(i.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===i.length&&o.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return o}function i(t,e,n,i,r,a){var l=o(n),u=[];return 1===l.length&&l[0].isManual()?s:(l.forEach(function(n){n.open===n.close?u.push(t.listen(e,n.open,a)):u.push(t.listen(e,n.open,i),t.listen(e,n.close,r))}),function(){u.forEach(function(t){return t()})})}e.a=i;var r=function(){function t(t,e){this.open=t,this.close=e,e||(this.close=t)}return t.prototype.isManual=function(){return"manual"===this.open||"manual"===this.close},t}(),a={hover:["mouseenter","mouseleave"]},s=function(){}},"as+d":function(t,e,n){"use strict";var o=n("3j3K"),i=n("2Je8"),r=n("edM1"),a=n("v4DA");n.d(e,"a",function(){return l});var s=[r.a,r.b,r.c,r.d],l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[a.a]}},t}();l.decorators=[{type:o.NgModule,args:[{declarations:s,exports:s,imports:[i.CommonModule]}]}],l.ctorParameters=function(){return[]}},c7mC:function(t,e,n){"use strict";var o=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.up=!1,this.autoClose=!0}return t}();i.decorators=[{type:o.Injectable}],i.ctorParameters=function(){return[]}},cG9e:function(t,e,n){"use strict";var o=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.editable=!0,this.focusFirst=!0,this.showHint=!1}return t}();i.decorators=[{type:o.Injectable}],i.ctorParameters=function(){return[]}},eCJc:function(t,e,n){"use strict";var o=n("3j3K"),i=n("2Je8"),r=n("hApb"),a=n("ZwZs");n.d(e,"a",function(){return l});var s=[r.a,r.b,r.c,r.d],l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[a.a]}},t}();l.decorators=[{type:o.NgModule,args:[{declarations:s,exports:s,imports:[i.CommonModule]}]}],l.ctorParameters=function(){return[]}},edM1:function(t,e,n){"use strict";var o=n("3j3K"),i=n("v4DA");n.d(e,"d",function(){return a}),n.d(e,"c",function(){return s}),n.d(e,"b",function(){return l}),n.d(e,"a",function(){return u});var r=0,a=function(){function t(t){this.templateRef=t}return t}();a.decorators=[{type:o.Directive,args:[{selector:"ng-template[ngbTabTitle]"}]}],a.ctorParameters=function(){return[{type:o.TemplateRef}]};var s=function(){function t(t){this.templateRef=t}return t}();s.decorators=[{type:o.Directive,args:[{selector:"ng-template[ngbTabContent]"}]}],s.ctorParameters=function(){return[{type:o.TemplateRef}]};var l=function(){function t(){this.id="ngb-tab-"+r++,this.disabled=!1}return t}();l.decorators=[{type:o.Directive,args:[{selector:"ngb-tab"}]}],l.ctorParameters=function(){return[]},l.propDecorators={id:[{type:o.Input}],title:[{type:o.Input}],disabled:[{type:o.Input}],contentTpl:[{type:o.ContentChild,args:[s]}],titleTpl:[{type:o.ContentChild,args:[a]}]};var u=function(){function t(t){this.destroyOnHide=!0,this.tabChange=new o.EventEmitter,this.type=t.type,this.justify=t.justify}return t.prototype.select=function(t){var e=this._getTabById(t);if(e&&!e.disabled&&this.activeId!==e.id){var n=!1;this.tabChange.emit({activeId:this.activeId,nextId:e.id,preventDefault:function(){n=!0}}),n||(this.activeId=e.id)}},t.prototype.ngAfterContentChecked=function(){var t=this._getTabById(this.activeId);this.activeId=t?t.id:this.tabs.length?this.tabs.first.id:null},t.prototype._getTabById=function(t){var e=this.tabs.filter(function(e){return e.id===t});return e.length?e[0]:null},t}();u.decorators=[{type:o.Component,args:[{selector:"ngb-tabset",exportAs:"ngbTabset",template:'\n <ul [class]="\'nav nav-\' + type + \' justify-content-\' + justify" role="tablist">\n <li class="nav-item" *ngFor="let tab of tabs">\n <a [id]="tab.id" class="nav-link" [class.active]="tab.id === activeId" [class.disabled]="tab.disabled"\n href (click)="!!select(tab.id)" role="tab" [attr.tabindex]="(tab.disabled ? \'-1\': undefined)"\n [attr.aria-controls]="(!destroyOnHide || tab.id === activeId ? tab.id + \'-panel\' : null)"\n [attr.aria-expanded]="tab.id === activeId" [attr.aria-disabled]="tab.disabled">\n {{tab.title}}<ng-template [ngTemplateOutlet]="tab.titleTpl?.templateRef"></ng-template>\n </a>\n </li>\n </ul>\n <div class="tab-content">\n <ng-template ngFor let-tab [ngForOf]="tabs">\n <div\n class="tab-pane {{tab.id === activeId ? \'active\' : null}}"\n *ngIf="!destroyOnHide || tab.id === activeId"\n role="tabpanel"\n [attr.aria-labelledby]="tab.id" id="{{tab.id}}-panel"\n [attr.aria-expanded]="tab.id === activeId">\n <ng-template [ngTemplateOutlet]="tab.contentTpl.templateRef"></ng-template>\n </div>\n </ng-template>\n </div>\n '}]}],u.ctorParameters=function(){return[{type:i.a}]},u.propDecorators={tabs:[{type:o.ContentChildren,args:[l]}],activeId:[{type:o.Input}],destroyOnHide:[{type:o.Input}],justify:[{type:o.Input}],type:[{type:o.Input}],tabChange:[{type:o.Output}]}},fAHw:function(t,e,n){"use strict";var o=n("lcaH"),i=n("hlt1"),r=n("3j3K");n.d(e,"a",function(){return a});var a=function(){function t(t){this._calendar=t}return t.prototype.generateMonthViewModel=function(t,e,n,o,r){var a={firstDate:null,number:t.month,year:t.year,weeks:[],weekdays:[]};t=this._getFirstViewDate(t,o);for(var s=0;s<this._calendar.getWeeksPerMonth();s++){for(var l=[],u=0;u<this._calendar.getDaysPerWeek();u++){0===s&&a.weekdays.push(this._calendar.getWeekday(t));var c=new i.a(t.year,t.month,t.day),d=e&&c.before(e)||n&&c.after(n);!d&&r&&(d=r(c,{month:a.number,year:a.year})),null===a.firstDate&&t.month===a.number&&(a.firstDate=c),l.push({date:c,disabled:d}),t=this._calendar.getNext(t)}a.weeks.push({number:this._calendar.getWeekNumber(l.map(function(t){return i.a.from(t.date)}),o),days:l})}return a},t.prototype.toValidDate=function(t,e){var n=i.a.from(t);return void 0===e&&(e=this._calendar.getToday()),this._calendar.isValid(n)?n:e},t.prototype._getFirstViewDate=function(t,e){for(var n=this,o=t.month,r=new i.a(t.year,t.month,t.day),a=this._calendar.getPrev(r),s=function(){return r.month!==a.month&&e===n._calendar.getWeekday(r)},l=function(){return r.month!==o&&e===n._calendar.getWeekday(r)};!l()&&!s();)r=new i.a(a.year,a.month,a.day),a=this._calendar.getPrev(a);return r},t}();a.decorators=[{type:r.Injectable}],a.ctorParameters=function(){return[{type:o.a}]}},gEbu:function(t,e,n){"use strict";var o=n("3j3K");n.d(e,"a",function(){return l}),n.d(e,"b",function(){return u});var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=["Mo","Tu","We","Th","Fr","Sa","Su"],a=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],s=["January","February","March","April","May","June","July","August","September","October","November","December"],l=function(){function t(){}return t}();l.decorators=[{type:o.Injectable}],l.ctorParameters=function(){return[]};var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getWeekdayShortName=function(t){return r[t-1]},e.prototype.getMonthShortName=function(t){return a[t-1]},e.prototype.getMonthFullName=function(t){return s[t-1]},e}(l);u.decorators=[{type:o.Injectable}],u.ctorParameters=function(){return[]}},"h+Bk":function(t,e,n){"use strict";function o(t){return r["ɵvid"](2,[(t()(),r["ɵted"](null,["\n "])),(t()(),r["ɵeld"](0,null,null,1,"div",[["class","tooltip-inner"]],null,null,null,null,null)),r["ɵncd"](null,0),(t()(),r["ɵted"](null,["\n "]))],null,null)}function i(t){return r["ɵvid"](0,[(t()(),r["ɵeld"](0,null,null,1,"ngb-tooltip-window",[["role","tooltip"]],[[8,"className",0],[8,"id",0]],null,null,a.b,a.c)),r["ɵdid"](49152,null,0,s.b,[],null,null)],null,function(t,e){t(e,0,0,"tooltip show tooltip-"+r["ɵnov"](e,1).placement,r["ɵnov"](e,1).id)})}var r=n("3j3K"),a=n("h+Bk"),s=n("sgnN");n.d(e,"c",function(){return u}),e.b=o,n.d(e,"a",function(){return c});var l=[],u=r["ɵcrt"]({encapsulation:2,styles:l,data:{}}),c=r["ɵccf"]("ngb-tooltip-window",s.b,i,{placement:"placement",id:"id"},{},["*"])},hApb:function(t,e,n){"use strict";var o=n("3j3K"),i=n("2yGx"),r=n("ZwZs");n.d(e,"c",function(){return s}),n.d(e,"d",function(){return l}),n.d(e,"b",function(){return u}),n.d(e,"a",function(){return c});var a=0,s=function(){function t(t){this.templateRef=t}return t}();s.decorators=[{type:o.Directive,args:[{selector:"ng-template[ngbPanelTitle]"}]}],s.ctorParameters=function(){return[{type:o.TemplateRef}]};var l=function(){function t(t){this.templateRef=t}return t}();l.decorators=[{type:o.Directive,args:[{selector:"ng-template[ngbPanelContent]"}]}],l.ctorParameters=function(){return[{type:o.TemplateRef}]};var u=function(){function t(){this.disabled=!1,this.id="ngb-panel-"+a++}return t}();u.decorators=[{type:o.Directive,args:[{selector:"ngb-panel"}]}],u.ctorParameters=function(){return[]},u.propDecorators={disabled:[{type:o.Input}],id:[{type:o.Input}],title:[{type:o.Input}],type:[{type:o.Input}],contentTpl:[{type:o.ContentChild,args:[l]}],titleTpl:[{type:o.ContentChild,args:[s]}]};var c=function(){function t(t){this._states=new Map,this._panelRefs=new Map,this.activeIds=[],this.panelChange=new o.EventEmitter,this.type=t.type,this.closeOtherPanels=t.closeOthers}return t.prototype.toggle=function(t){var e=this._panelRefs.get(t);if(e&&!e.disabled){var n=!this._states.get(t),o=!1;this.panelChange.emit({panelId:t,nextState:n,preventDefault:function(){o=!0}}),o||(this._states.set(t,n),this.closeOtherPanels&&this._closeOthers(t),this._updateActiveIds())}},t.prototype.ngAfterContentChecked=function(){n.i(i.f)(this.activeIds)&&(this.activeIds=this.activeIds.split(/\s*,\s*/)),this._updateStates(),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0]),this._updateActiveIds())},t.prototype.isOpen=function(t){return this._states.get(t)},t.prototype._closeOthers=function(t){var e=this;this._states.forEach(function(n,o){o!==t&&e._states.set(o,!1)})},t.prototype._updateActiveIds=function(){var t=this;this.activeIds=this.panels.toArray().filter(function(e){return t.isOpen(e.id)&&!e.disabled}).map(function(t){return t.id})},t.prototype._updateStates=function(){var t=this;this._states.clear(),this._panelRefs.clear(),this.panels.toArray().forEach(function(e){t._states.set(e.id,t.activeIds.indexOf(e.id)>-1&&!e.disabled),t._panelRefs.set(e.id,e)})},t}();c.decorators=[{type:o.Component,args:[{selector:"ngb-accordion",exportAs:"ngbAccordion",host:{role:"tablist","[attr.aria-multiselectable]":"!closeOtherPanels"},template:'\n <div class="card">\n <ng-template ngFor let-panel [ngForOf]="panels">\n <div role="tab" id="{{panel.id}}-header"\n [class]="\'card-header \' + (panel.type ? \'card-\'+panel.type: type ? \'card-\'+type : \'\')" [class.active]="isOpen(panel.id)">\n <a href (click)="!!toggle(panel.id)" [class.text-muted]="panel.disabled" [attr.tabindex]="(panel.disabled ? \'-1\' : null)"\n [attr.aria-expanded]="isOpen(panel.id)" [attr.aria-controls]="(isOpen(panel.id) ? panel.id : null)"\n [attr.aria-disabled]="panel.disabled">\n {{panel.title}}<ng-template [ngTemplateOutlet]="panel.titleTpl?.templateRef"></ng-template>\n </a>\n </div>\n <div id="{{panel.id}}" role="tabpanel" [attr.aria-labelledby]="panel.id + \'-header\'" class="card-block" *ngIf="isOpen(panel.id)">\n <ng-template [ngTemplateOutlet]="panel.contentTpl.templateRef"></ng-template>\n </div>\n </ng-template>\n </div>\n'}]}],c.ctorParameters=function(){return[{type:r.a}]},c.propDecorators={panels:[{type:o.ContentChildren,args:[u]}],activeIds:[{type:o.Input}],closeOtherPanels:[{type:o.Input,args:["closeOthers"]}],type:[{type:o.Input}],panelChange:[{type:o.Output}]}},hUSH:function(t,e,n){"use strict";var o=n("2yGx");n.d(e,"a",function(){return i});var i=function(){function t(t,e,i){this.hour=n.i(o.b)(t),this.minute=n.i(o.b)(e),this.second=n.i(o.b)(i)}return t.prototype.changeHour=function(t){void 0===t&&(t=1),this.updateHour((isNaN(this.hour)?0:this.hour)+t)},t.prototype.updateHour=function(t){n.i(o.a)(t)?this.hour=(t<0?24+t:t)%24:this.hour=NaN},t.prototype.changeMinute=function(t){void 0===t&&(t=1),this.updateMinute((isNaN(this.minute)?0:this.minute)+t)},t.prototype.updateMinute=function(t){n.i(o.a)(t)?(this.minute=t%60<0?60+t%60:t%60,this.changeHour(Math.floor(t/60))):this.minute=NaN},t.prototype.changeSecond=function(t){void 0===t&&(t=1),this.updateSecond((isNaN(this.second)?0:this.second)+t)},t.prototype.updateSecond=function(t){n.i(o.a)(t)?(this.second=t<0?60+t%60:t%60,this.changeMinute(Math.floor(t/60))):this.second=NaN},t.prototype.isValid=function(t){return void 0===t&&(t=!0),n.i(o.a)(this.hour)&&n.i(o.a)(this.minute)&&(!t||n.i(o.a)(this.second))},t.prototype.toString=function(){return(this.hour||0)+":"+(this.minute||0)+":"+(this.second||0)},t}()},hY6I:function(t,e,n){"use strict";var o=n("3j3K"),i=n("NVOs"),r=n("hlt1"),a=n("/KGk"),s=n("7DGp"),l=n("jRSa"),u=n("lcaH"),c=n("fAHw");n.d(e,"a",function(){return h});var d={provide:i.NG_VALUE_ACCESSOR,useExisting:n.i(o.forwardRef)(function(){return h}),multi:!0},p={provide:i.NG_VALIDATORS,useExisting:n.i(o.forwardRef)(function(){return h}),multi:!0},h=function(){function t(t,e,i,r,a,s,u,c){var d=this;this._parserFormatter=t,this._elRef=e,this._vcRef=i,this._renderer=r,this._cfr=a,this._service=u,this._calendar=c,this._cRef=null,this.navigate=new o.EventEmitter,this._onChange=function(t){},this._onTouched=function(){},this._validatorChange=function(){},this._zoneSubscription=s.onStable.subscribe(function(){d._cRef&&n.i(l.a)(d._elRef.nativeElement,d._cRef.location.nativeElement,"bottom-left")})}return t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.registerOnValidatorChange=function(t){this._validatorChange=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elRef.nativeElement,"disabled",t),this.isOpen()&&this._cRef.instance.setDisabledState(t)},t.prototype.validate=function(t){var e=t.value;return null===e||void 0===e?null:this._calendar.isValid(e)?this.minDate&&r.a.from(e).before(r.a.from(this.minDate))?{ngbDate:{requiredBefore:this.minDate}}:this.maxDate&&r.a.from(e).after(r.a.from(this.maxDate))?{ngbDate:{requiredAfter:this.maxDate}}:void 0:{ngbDate:{invalid:t.value}}},t.prototype.writeValue=function(t){var e=t?new r.a(t.year,t.month,t.day):null;this._model=this._calendar.isValid(t)?e:null,this._writeModelValue(this._model)},t.prototype.manualDateChange=function(t){this._model=this._service.toValidDate(this._parserFormatter.parse(t),null),this._onChange(this._model?{year:this._model.year,month:this._model.month,day:this._model.day}:t),this._writeModelValue(this._model)},t.prototype.isOpen=function(){return!!this._cRef},t.prototype.open=function(){var t=this;if(!this.isOpen()){var e=this._cfr.resolveComponentFactory(a.a);this._cRef=this._vcRef.createComponent(e),this._applyPopupStyling(this._cRef.location.nativeElement),this._cRef.instance.writeValue(this._model),this._applyDatepickerInputs(this._cRef.instance),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.registerOnChange(function(e){t.writeValue(e),t._onChange(e),t.close()})}},t.prototype.close=function(){this.isOpen()&&(this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null)},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype.navigateTo=function(t){this.isOpen()&&this._cRef.instance.navigateTo(t)},t.prototype.onBlur=function(){this._onTouched()},t.prototype.ngOnChanges=function(t){(t.minDate||t.maxDate)&&this._validatorChange()},t.prototype.ngOnDestroy=function(){this.close(),this._zoneSubscription.unsubscribe()},t.prototype._applyDatepickerInputs=function(t){var e=this;["dayTemplate","displayMonths","firstDayOfWeek","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekdays","showWeekNumbers"].forEach(function(n){void 0!==e[n]&&(t[n]=e[n])}),t.startDate=this.startDate||this._model},t.prototype._applyPopupStyling=function(t){this._renderer.addClass(t,"dropdown-menu"),this._renderer.setStyle(t,"padding","0")},t.prototype._subscribeForDatepickerOutputs=function(t){var e=this;t.navigate.subscribe(function(t){return e.navigate.emit(t)})},t.prototype._writeModelValue=function(t){this._renderer.setProperty(this._elRef.nativeElement,"value",this._parserFormatter.format(t)),this.isOpen()&&(this._cRef.instance.writeValue(t),this._onTouched())},t}();h.decorators=[{type:o.Directive,args:[{selector:"input[ngbDatepicker]",exportAs:"ngbDatepicker",host:{"(change)":"manualDateChange($event.target.value)","(keyup.esc)":"close()","(blur)":"onBlur()"},providers:[d,p,c.a]}]}],h.ctorParameters=function(){return[{type:s.a},{type:o.ElementRef},{type:o.ViewContainerRef},{type:o.Renderer2},{type:o.ComponentFactoryResolver},{type:o.NgZone},{type:c.a},{type:u.a}]},h.propDecorators={dayTemplate:[{type:o.Input}],displayMonths:[{type:o.Input}],firstDayOfWeek:[{type:o.Input}],markDisabled:[{type:o.Input}],minDate:[{type:o.Input}],maxDate:[{type:o.Input}],navigation:[{type:o.Input}],outsideDays:[{type:o.Input}],showWeekdays:[{type:o.Input}],showWeekNumbers:[{type:o.Input}],startDate:[{type:o.Input}],navigate:[{type:o.Output}]}},hlt1:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var o=function(){function t(t,e,n){this.year=t,this.month=e,this.day=n}return t.from=function(e){return e?new t(e.year,e.month,e.day?e.day:1):null},t.prototype.equals=function(t){return t&&this.year===t.year&&this.month===t.month&&this.day===t.day},t.prototype.before=function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day<t.day:this.month<t.month:this.year<t.year)},t.prototype.after=function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day>t.day:this.month>t.month:this.year>t.year)},t.prototype.toString=function(){return this.year+"-"+this.month+"-"+this.day},t}()},hwnt:function(t,e,n){"use strict";var o=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekdays=!0,this.showWeekNumbers=!1}return t}();i.decorators=[{type:o.Injectable}],i.ctorParameters=function(){return[]}},jRSa:function(t,e,n){"use strict";function o(t,e,n,o){var i=r.positionElements(t,e,n,o);e.style.top=i.top+"px",e.style.left=i.left+"px"}e.a=o;var i=function(){function t(){}return t.prototype.getStyle=function(t,e){return window.getComputedStyle(t)[e]},t.prototype.isStaticPositioned=function(t){return"static"===(this.getStyle(t,"position")||"static")},t.prototype.offsetParent=function(t){for(var e=t.offsetParent||document.documentElement;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement},t.prototype.position=function(t,e){void 0===e&&(e=!0);var n,o={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(t,"position"))n=t.getBoundingClientRect();else{var i=this.offsetParent(t);n=this.offset(t,!1),i!==document.documentElement&&(o=this.offset(i,!1)),o.top+=i.clientTop,o.left+=i.clientLeft}return n.top-=o.top,n.bottom-=o.top,n.left-=o.left,n.right-=o.left,e&&(n.top=Math.round(n.top),n.bottom=Math.round(n.bottom),n.left=Math.round(n.left),n.right=Math.round(n.right)),n},t.prototype.offset=function(t,e){void 0===e&&(e=!0);var n=t.getBoundingClientRect(),o={top:window.pageYOffset-document.documentElement.clientTop,left:window.pageXOffset-document.documentElement.clientLeft},i={height:n.height||t.offsetHeight,width:n.width||t.offsetWidth,top:n.top+o.top,bottom:n.bottom+o.top,left:n.left+o.left,right:n.right+o.left};return e&&(i.height=Math.round(i.height),i.width=Math.round(i.width),i.top=Math.round(i.top),i.bottom=Math.round(i.bottom),i.left=Math.round(i.left),i.right=Math.round(i.right)),i},t.prototype.positionElements=function(t,e,n,o){var i=o?this.offset(t,!1):this.position(t,!1),r={left:i.left,center:i.left+i.width/2-e.offsetWidth/2,right:i.left+i.width},a={top:i.top,center:i.top+i.height/2-e.offsetHeight/2,bottom:i.top+i.height},s=e.getBoundingClientRect(),l=n.split("-")[0]||"top",u=n.split("-")[1]||"center",c={height:s.height||e.offsetHeight,width:s.width||e.offsetWidth,top:0,bottom:s.height||e.offsetHeight,left:0,right:s.width||e.offsetWidth};switch(l){case"top":c.top=i.top-e.offsetHeight,c.bottom+=i.top-e.offsetHeight,c.left=r[u],c.right+=r[u];break;case"bottom":c.top=a[l],c.bottom+=a[l],c.left=r[u],c.right+=r[u];break;case"left":c.top=a[u],c.bottom+=a[u],c.left=i.left-e.offsetWidth,c.right+=i.left-e.offsetWidth;break;case"right":c.top=a[u],c.bottom+=a[u],c.left=r[l],c.right+=r[l]}return c.top=Math.round(c.top),c.bottom=Math.round(c.bottom),c.left=Math.round(c.left),c.right=Math.round(c.right),c},t}(),r=new i},jtp5:function(t,e,n){"use strict";function o(t){return r["ɵvid"](2,[(t()(),r["ɵted"](null,["\n "])),(t()(),r["ɵeld"](0,null,null,1,"h3",[["class","popover-title"]],null,null,null,null,null)),(t()(),r["ɵted"](null,["",""])),(t()(),r["ɵeld"](0,null,null,1,"div",[["class","popover-content"]],null,null,null,null,null)),r["ɵncd"](null,0),(t()(),r["ɵted"](null,["\n "]))],null,function(t,e){t(e,2,0,e.component.title)})}function i(t){return r["ɵvid"](0,[(t()(),r["ɵeld"](0,null,null,1,"ngb-popover-window",[["role","tooltip"]],[[8,"className",0],[8,"id",0]],null,null,s.b,s.c)),r["ɵdid"](49152,null,0,a.b,[],null,null)],null,function(t,e){t(e,0,0,"popover show popover-"+r["ɵnov"](e,1).placement,r["ɵnov"](e,1).id)})}var r=n("3j3K"),a=n("WtNX"),s=n("jtp5");n.d(e,"c",function(){return u}),e.b=o,n.d(e,"a",function(){return c});var l=[],u=r["ɵcrt"]({encapsulation:2,styles:l,data:{}}),c=r["ɵccf"]("ngb-popover-window",a.b,i,{placement:"placement",title:"title",id:"id"},{},["*"])},kgIC:function(t,e,n){"use strict";var o=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.collapsed=!1}return t}();i.decorators=[{type:o.Directive,args:[{selector:"[ngbCollapse]",exportAs:"ngbCollapse",host:{"[class.collapse]":"true","[class.show]":"!collapsed"}}]}],i.ctorParameters=function(){return[]},i.propDecorators={collapsed:[{type:o.Input,args:["ngbCollapse"]}]}},kzcK:function(t,e,n){"use strict";var o=n("3j3K"),i=n("eCJc"),r=n("RX2M"),a=n("M0cT"),s=n("/I96"),l=n("vfkA"),u=n("qsK9"),c=n("MSQt"),d=n("UyZi"),p=n("Ep2y"),h=n("WKBe"),f=n("1Z2I"),g=n("A8b0"),m=n("as+d"),y=n("62nT"),v=n("yDyO"),b=n("K/oD");n.d(e,"a",function(){return w}),n.d(e,"b",function(){return C});var _=[i.a,r.a,a.a,s.a,l.a,u.a,c.a,d.a,p.a,h.a,f.a,g.a,m.a,y.a,v.a,b.a],w=function(){function t(){}return t}();w.decorators=[{type:o.NgModule,args:[{imports:[r.a.forRoot(),a.a.forRoot(),l.a.forRoot(),f.a.forRoot(),v.a.forRoot(),b.a.forRoot(),i.a.forRoot(),s.a.forRoot(),u.a.forRoot(),c.a.forRoot(),d.a.forRoot(),p.a.forRoot(),h.a.forRoot(),f.a.forRoot(),g.a.forRoot(),m.a.forRoot(),y.a.forRoot(),v.a.forRoot()],exports:_}]}],w.ctorParameters=function(){return[]};var C=function(){function t(){}return t.forRoot=function(){return{ngModule:w}},t}();C.decorators=[{type:o.NgModule,args:[{imports:_,exports:_}]}],C.ctorParameters=function(){return[]}},l5HU:function(t,e,n){"use strict";var o=n("3j3K"),i=n("DDfv");n.d(e,"a",function(){return l});var r=0,a=function(){function t(t){this.tplRef=t,this.id="ngb-slide-"+r++}return t}();a.decorators=[{type:o.Directive,args:[{selector:"ng-template[ngbSlide]"}]}],a.ctorParameters=function(){return[{type:o.TemplateRef}]},a.propDecorators={id:[{type:o.Input}]};var s=function(){function t(t){this.interval=t.interval,this.wrap=t.wrap,this.keyboard=t.keyboard}return t.prototype.ngAfterContentChecked=function(){var t=this._getSlideById(this.activeId);this.activeId=t?t.id:this.slides.length?this.slides.first.id:null},t.prototype.ngOnInit=function(){this._startTimer()},t.prototype.ngOnDestroy=function(){clearInterval(this._slideChangeInterval)},t.prototype.select=function(t){this.cycleToSelected(t),this._restartTimer()},t.prototype.prev=function(){this.cycleToPrev(),this._restartTimer()},t.prototype.next=function(){this.cycleToNext(),this._restartTimer()},t.prototype.pause=function(){this._stopTimer()},t.prototype.cycle=function(){this._startTimer()},t.prototype.cycleToNext=function(){this.cycleToSelected(this._getNextSlide(this.activeId))},t.prototype.cycleToPrev=function(){this.cycleToSelected(this._getPrevSlide(this.activeId))},t.prototype.cycleToSelected=function(t){var e=this._getSlideById(t);e&&(this.activeId=e.id)},t.prototype.keyPrev=function(){this.keyboard&&this.prev()},t.prototype.keyNext=function(){this.keyboard&&this.next()},t.prototype._restartTimer=function(){this._stopTimer(),this._startTimer()},t.prototype._startTimer=function(){var t=this;this.interval>0&&(this._slideChangeInterval=setInterval(function(){t.cycleToNext()},this.interval))},t.prototype._stopTimer=function(){clearInterval(this._slideChangeInterval)},t.prototype._getSlideById=function(t){var e=this.slides.filter(function(e){return e.id===t});return e.length?e[0]:null},t.prototype._getSlideIdxById=function(t){return this.slides.toArray().indexOf(this._getSlideById(t))},t.prototype._getNextSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return n===e.length-1?this.wrap?e[0].id:e[e.length-1].id:e[n+1].id},t.prototype._getPrevSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return 0===n?this.wrap?e[e.length-1].id:e[0].id:e[n-1].id},t}();s.decorators=[{type:o.Component,args:[{selector:"ngb-carousel",exportAs:"ngbCarousel",host:{class:"carousel slide","[style.display]":'"block"',tabIndex:"0","(mouseenter)":"pause()","(mouseleave)":"cycle()","(keydown.arrowLeft)":"keyPrev()","(keydown.arrowRight)":"keyNext()"},template:'\n <ol class="carousel-indicators">\n <li *ngFor="let slide of slides" [id]="slide.id" [class.active]="slide.id === activeId" (click)="cycleToSelected(slide.id)"></li>\n </ol>\n <div class="carousel-inner">\n <div *ngFor="let slide of slides" class="carousel-item" [class.active]="slide.id === activeId">\n <ng-template [ngTemplateOutlet]="slide.tplRef"></ng-template>\n </div>\n </div>\n <a class="left carousel-control-prev" role="button" (click)="cycleToPrev()">\n <span class="carousel-control-prev-icon" aria-hidden="true"></span>\n <span class="sr-only">Previous</span>\n </a>\n <a class="right carousel-control-next" role="button" (click)="cycleToNext()">\n <span class="carousel-control-next-icon" aria-hidden="true"></span>\n <span class="sr-only">Next</span>\n </a>\n '}]}],s.ctorParameters=function(){return[{type:i.a}]},s.propDecorators={slides:[{type:o.ContentChildren,args:[a]}],interval:[{type:o.Input}],wrap:[{type:o.Input}],keyboard:[{type:o.Input}],activeId:[{type:o.Input}]};var l=[s,a]},lcaH:function(t,e,n){"use strict";function o(t){return new r.a(t.getFullYear(),t.getMonth()+1,t.getDate())}function i(t){var e=new Date(t.year,t.month-1,t.day);return isNaN(e.getTime())||e.setFullYear(t.year),e}var r=n("hlt1"),a=n("3j3K"),s=n("2yGx");n.d(e,"a",function(){return u}),n.d(e,"b",function(){return c});var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(){function t(){}return t}();u.decorators=[{type:a.Injectable}],u.ctorParameters=function(){return[]};var c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.getDaysPerWeek=function(){return 7},e.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},e.prototype.getWeeksPerMonth=function(){return 6},e.prototype.getNext=function(t,e,n){void 0===e&&(e="d"),void 0===n&&(n=1);var a=i(t);switch(e){case"y":return new r.a(t.year+n,1,1);case"m":a=new Date(t.year,t.month+n-1,1);break;case"d":a.setDate(a.getDate()+n);break;default:return t}return o(a)},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e="d"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=i(t),n=e.getDay();return 0===n?7:n},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=(11-e)%7,o=t[n],r=i(o);r.setDate(r.getDate()+4-(r.getDay()||7));var a=r.getTime();return r.setMonth(0),r.setDate(1),Math.floor(Math.round((a-r.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return o(new Date)},e.prototype.isValid=function(t){if(!(t&&n.i(s.i)(t.year)&&n.i(s.i)(t.month)&&n.i(s.i)(t.day)))return!1;var e=i(t);return!isNaN(e.getTime())&&e.getFullYear()===t.year&&e.getMonth()+1===t.month&&e.getDate()===t.day},e}(u);c.decorators=[{type:a.Injectable}],c.ctorParameters=function(){return[]}},mwbX:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return i});var o=window.location.protocol+"//"+window.location.host,i="http:"==window.location.protocol?"ws://"+window.location.host+"/endpoint":"wss://"+window.location.host+"/endpoint"},nCuf:function(t,e,n){"use strict";var o=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.max=100,this.animated=!1,this.striped=!1,this.showValue=!1}return t}();i.decorators=[{type:o.Injectable}],i.ctorParameters=function(){return[]}},nxqe:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var o;!function(t){t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC"}(o||(o={}))},qBUJ:function(t,e,n){"use strict";var o=n("3j3K"),i=n("hlt1"),r=n("2yGx"),a=n("gEbu"),s=n("lcaH");n.d(e,"a",function(){return l});var l=function(){function t(t,e){this.i18n=t,this.calendar=e,this.years=[],this.select=new o.EventEmitter,this.months=e.getMonths()}return t.prototype.ngOnChanges=function(t){(t.maxDate||t.minDate||t.date)&&(this._generateYears(),this._generateMonths())},t.prototype.changeMonth=function(t){this.select.emit(new i.a(this.date.year,n.i(r.b)(t),1))},t.prototype.changeYear=function(t){this.select.emit(new i.a(n.i(r.b)(t),this.date.month,1))},t.prototype._generateMonths=function(){var t=this;if(this.months=this.calendar.getMonths(),this.date&&this.date.year===this.minDate.year){var e=this.months.findIndex(function(e){return e===t.minDate.month});this.months=this.months.slice(e)}if(this.date&&this.date.year===this.maxDate.year){var e=this.months.findIndex(function(e){return e===t.maxDate.month});this.months=this.months.slice(0,e+1)}},t.prototype._generateYears=function(){var t=this;this.years=Array.from({length:this.maxDate.year-this.minDate.year+1},function(e,n){return t.minDate.year+n})},t}();l.decorators=[{type:o.Component,args:[{selector:"ngb-datepicker-navigation-select",styles:["\n select {\n /* to align with btn-sm */\n padding: 0.25rem 0.5rem;\n font-size: 0.875rem; \n line-height: 1.25;\n /* to cancel the custom height set by custom-select */\n height: inherit;\n width: 50%;\n }\n "],template:'\n <select [disabled]="disabled" class="custom-select d-inline-block" [value]="date?.month" (change)="changeMonth($event.target.value)">\n <option *ngFor="let m of months" [value]="m">{{ i18n.getMonthShortName(m) }}</option>\n </select><select [disabled]="disabled" class="custom-select d-inline-block" [value]="date?.year" (change)="changeYear($event.target.value)">\n <option *ngFor="let y of years" [value]="y">{{ y }}</option>\n </select> \n '}]}],l.ctorParameters=function(){return[{type:a.a},{type:s.a}]},l.propDecorators={date:[{type:o.Input}],disabled:[{type:o.Input}],maxDate:[{type:o.Input}],minDate:[{type:o.Input}],select:[{type:o.Output}]}},qKow:function(t,e,n){"use strict";var o=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.placement="top",this.triggers="hover"}return t}();i.decorators=[{type:o.Injectable}],i.ctorParameters=function(){return[]}},"qQ/N":function(t,e,n){"use strict";var o=n("3j3K"),i=n("aKiW"),r=n("2yGx"),a=n("NVOs");n.d(e,"a",function(){return u});var s;!function(t){t[t.End=35]="End",t[t.Home=36]="Home",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowDown=40]="ArrowDown"}(s||(s={}));var l={provide:a.NG_VALUE_ACCESSOR,useExisting:n.i(o.forwardRef)(function(){return u}),multi:!0},u=function(){function t(t,e){this._changeDetectorRef=e,this.contexts=[],this.disabled=!1,this.hover=new o.EventEmitter,this.leave=new o.EventEmitter,this.rateChange=new o.EventEmitter(!0),this.onChange=function(t){},this.onTouched=function(){},this.max=t.max,this.readonly=t.readonly}return t.prototype.ariaValueText=function(){return this.nextRate+" out of "+this.max},t.prototype.enter=function(t){this.readonly||this.disabled||this._updateState(t),this.hover.emit(t)},t.prototype.handleBlur=function(){this.onTouched()},t.prototype.handleClick=function(t){this.update(this.resettable&&this.rate===t?0:t)},t.prototype.handleKeyDown=function(t){if(s[n.i(r.d)(t.which)])switch(t.preventDefault(),t.which){case s.ArrowDown:case s.ArrowLeft:this.update(this.rate-1);break;case s.ArrowUp:case s.ArrowRight:this.update(this.rate+1);break;case s.Home:this.update(0);break;case s.End:this.update(this.max)}},t.prototype.ngOnChanges=function(t){t.rate&&this.update(this.rate)},t.prototype.ngOnInit=function(){this.contexts=Array.from({length:this.max},function(){return{fill:0}}),this._updateState(this.rate)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.reset=function(){this.leave.emit(this.nextRate),this._updateState(this.rate)},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.update=function(t,e){void 0===e&&(e=!0);var o=n.i(r.e)(t,this.max,0);this.readonly||this.disabled||this.rate===o||(this.rate=o,this.rateChange.emit(this.rate)),e&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)},t.prototype.writeValue=function(t){this.update(t,!1),this._changeDetectorRef.markForCheck()},t.prototype._getFillValue=function(t){var e=this.nextRate-t;return e>=1?100:e<1&&e>0?Number.parseInt((100*e).toFixed(2)):0},t.prototype._updateState=function(t){var e=this;this.nextRate=t,this.contexts.forEach(function(t,n){return t.fill=e._getFillValue(n)})},t}();u.decorators=[{type:o.Component,args:[{selector:"ngb-rating",changeDetection:o.ChangeDetectionStrategy.OnPush,host:{class:"d-inline-flex",tabindex:"0",role:"slider","aria-valuemin":"0","[attr.aria-valuemax]":"max","[attr.aria-valuenow]":"nextRate","[attr.aria-valuetext]":"ariaValueText()","[attr.aria-disabled]":"readonly ? true : null","(blur)":"handleBlur()","(keydown)":"handleKeyDown($event)","(mouseleave)":"reset()"},template:'\n <ng-template #t let-fill="fill">{{ fill === 100 ? \'★\' : \'☆\' }}</ng-template>\n <ng-template ngFor [ngForOf]="contexts" let-index="index">\n <span class="sr-only">({{ index < nextRate ? \'*\' : \' \' }})</span>\n <span (mouseenter)="enter(index + 1)" (click)="handleClick(index + 1)" [style.cursor]="readonly || disabled ? \'default\' : \'pointer\'">\n <ng-template [ngTemplateOutlet]="starTemplate || t" [ngOutletContext]="contexts[index]"></ng-template>\n </span>\n </ng-template>\n ',providers:[l]}]}],u.ctorParameters=function(){return[{type:i.a},{type:o.ChangeDetectorRef}]},u.propDecorators={max:[{type:o.Input}],rate:[{type:o.Input}],readonly:[{type:o.Input}],resettable:[{type:o.Input}],starTemplate:[{type:o.Input},{type:o.ContentChild,args:[o.TemplateRef]}],hover:[{type:o.Output}],leave:[{type:o.Output}],rateChange:[{type:o.Output}]}},qoi6:function(t,e,n){"use strict";var o=n("3j3K"),i=n("NVOs"),r=n("sb+e"),a=(n.n(r),n("Rewd")),s=(n.n(a),n("TIy+")),l=(n.n(s),n("jRSa")),u=n("2BXm"),c=n("/PMa"),d=n("2yGx"),p=n("cG9e");n.d(e,"a",function(){return m});var h;!function(t){t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowDown=40]="ArrowDown"}(h||(h={}));var f={provide:i.NG_VALUE_ACCESSOR,useExisting:n.i(o.forwardRef)(function(){return m}),multi:!0},g=0,m=function(){function t(t,e,i,r,a,d,p){var h=this;this._elementRef=t,this._viewContainerRef=e,this._renderer=i,this._injector=r,this.selectItem=new o.EventEmitter,this.popupId="ngb-typeahead-"+g++,this._onTouched=function(){},this._onChange=function(t){},this.editable=d.editable,this.focusFirst=d.focusFirst,this.showHint=d.showHint,this._valueChanges=n.i(s.fromEvent)(t.nativeElement,"input",function(t){return t.target.value}),this._popupService=new c.a(u.a,r,e,i,a),this._zoneSubscription=p.onStable.subscribe(function(){h.isPopupOpen()&&n.i(l.a)(h._elementRef.nativeElement,h._windowRef.location.nativeElement,"bottom-left")})}return t.prototype.ngOnInit=function(){var t=this,e=a._do.call(this._valueChanges,function(e){t._userInput=e,t.editable&&t._onChange(e)}),n=r.letProto.call(e,this.ngbTypeahead),o=a._do.call(n,function(){t.editable||t._onChange(void 0)});this._subscription=this._subscribeToUserInput(o)},t.prototype.ngOnDestroy=function(){this._unsubscribeFromUserInput(),this._zoneSubscription.unsubscribe()},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.writeValue=function(t){this._writeInputValue(this._formatItemForInput(t))},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype.dismissPopup=function(){this.isPopupOpen()&&(this._closePopup(),this._writeInputValue(this._userInput))},t.prototype.isPopupOpen=function(){return null!=this._windowRef},t.prototype.handleBlur=function(){this._onTouched()},t.prototype.handleKeyDown=function(t){if(this.isPopupOpen()&&h[n.i(d.d)(t.which)])switch(t.which){case h.ArrowDown:t.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case h.ArrowUp:t.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case h.Enter:case h.Tab:var e=this._windowRef.instance.getActive();n.i(d.h)(e)&&(t.preventDefault(),t.stopPropagation(),this._selectResult(e)),this._closePopup();break;case h.Escape:t.preventDefault(),this.dismissPopup()}},t.prototype._openPopup=function(){var t=this;this.isPopupOpen()||(this._windowRef=this._popupService.open(),this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe(function(e){return t._selectResultClosePopup(e)}),this._windowRef.instance.activeChangeEvent.subscribe(function(e){return t.activeDescendant=e}))},t.prototype._closePopup=function(){this._popupService.close(),this._windowRef=null,this.activeDescendant=void 0},t.prototype._selectResult=function(t){var e=!1;this.selectItem.emit({item:t,preventDefault:function(){e=!0}}),e||(this.writeValue(t),this._onChange(t))},t.prototype._selectResultClosePopup=function(t){this._selectResult(t),this._closePopup()},t.prototype._showHint=function(){if(this.showHint){var t=this._userInput.toLowerCase(),e=this._formatItemForInput(this._windowRef.instance.getActive());t===e.substr(0,this._userInput.length).toLowerCase()?(this._writeInputValue(this._userInput+e.substr(this._userInput.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._userInput.length,e.length])):this.writeValue(this._windowRef.instance.getActive())}},t.prototype._formatItemForInput=function(t){return t&&this.inputFormatter?this.inputFormatter(t):n.i(d.d)(t)},t.prototype._writeInputValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",t)},t.prototype._subscribeToUserInput=function(t){var e=this;return t.subscribe(function(t){t&&0!==t.length?(e._openPopup(),e._windowRef.instance.focusFirst=e.focusFirst,e._windowRef.instance.results=t,e._windowRef.instance.term=e._elementRef.nativeElement.value,e.resultFormatter&&(e._windowRef.instance.formatter=e.resultFormatter),e.resultTemplate&&(e._windowRef.instance.resultTemplate=e.resultTemplate),e._showHint(),e._windowRef.changeDetectorRef.detectChanges()):e._closePopup()})},t.prototype._unsubscribeFromUserInput=function(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null},t}();m.decorators=[{type:o.Directive,args:[{selector:"input[ngbTypeahead]",host:{"(blur)":"handleBlur()","[class.open]":"isPopupOpen()","(document:click)":"dismissPopup()","(keydown)":"handleKeyDown($event)",autocomplete:"off",autocapitalize:"off",autocorrect:"off",role:"combobox","aria-multiline":"false","[attr.aria-autocomplete]":'showHint ? "both" : "list"',"[attr.aria-activedescendant]":"activeDescendant","[attr.aria-owns]":"isPopupOpen() ? popupId : null","[attr.aria-expanded]":"isPopupOpen()"},providers:[f]}]}],m.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ViewContainerRef},{type:o.Renderer2},{type:o.Injector},{type:o.ComponentFactoryResolver},{type:p.a},{type:o.NgZone}]},m.propDecorators={editable:[{type:o.Input}],focusFirst:[{type:o.Input}],inputFormatter:[{type:o.Input}],ngbTypeahead:[{type:o.Input}],resultFormatter:[{type:o.Input}],resultTemplate:[{type:o.Input}],showHint:[{type:o.Input}],selectItem:[{type:o.Output}]}},qsK9:function(t,e,n){"use strict";var o=n("3j3K"),i=n("2Je8"),r=n("/KGk"),a=n("5ZV5"),s=n("3fcS"),l=n("hY6I"),u=n("NVOs"),c=n("U6gI"),d=n("gEbu"),p=n("lcaH"),h=n("7DGp"),f=n("qBUJ"),g=n("hwnt");n("/FbB");n.d(e,"a",function(){return m});var m=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[{provide:p.a,useClass:p.b},{provide:d.a,useClass:d.b},{provide:h.a,useClass:h.b},g.a]}},t}();m.decorators=[{type:o.NgModule,args:[{declarations:[r.a,a.a,s.a,f.a,c.a,l.a],exports:[r.a,l.a],imports:[i.CommonModule,u.FormsModule],entryComponents:[r.a]}]}],m.ctorParameters=function(){return[]}},"sb+e":function(t,e,n){"use strict";function o(t){return t(this)}e.letProto=o},sgnN:function(t,e,n){"use strict";var o=n("3j3K"),i=n("aalB"),r=n("jRSa"),a=n("/PMa"),s=n("qKow");n.d(e,"b",function(){return u}),n.d(e,"a",function(){return c});var l=0,u=function(){function t(){this.placement="top"}return t}();u.decorators=[{type:o.Component,args:[{selector:"ngb-tooltip-window",changeDetection:o.ChangeDetectionStrategy.OnPush,host:{"[class]":'"tooltip show tooltip-" + placement',role:"tooltip","[id]":"id"},template:'\n <div class="tooltip-inner"><ng-content></ng-content></div>\n '}]}],u.ctorParameters=function(){return[]},u.propDecorators={placement:[{type:o.Input}],id:[{type:o.Input}]};var c=function(){function t(t,e,i,s,c,d,p){var h=this;this._elementRef=t,this._renderer=e,this.shown=new o.EventEmitter,this.hidden=new o.EventEmitter,this._ngbTooltipWindowId="ngb-tooltip-"+l++,this.placement=d.placement,this.triggers=d.triggers,this.container=d.container,this._popupService=new a.a(u,i,c,e,s),this._zoneSubscription=p.onStable.subscribe(function(){h._windowRef&&n.i(r.a)(h._elementRef.nativeElement,h._windowRef.location.nativeElement,h.placement,"body"===h.container)})}return Object.defineProperty(t.prototype,"ngbTooltip",{get:function(){return this._ngbTooltip},set:function(t){this._ngbTooltip=t,!t&&this._windowRef&&this.close()},enumerable:!0,configurable:!0}),t.prototype.open=function(t){!this._windowRef&&this._ngbTooltip&&(this._windowRef=this._popupService.open(this._ngbTooltip,t),this._windowRef.instance.placement=this.placement,this._windowRef.instance.id=this._ngbTooltipWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.markForCheck(),this.shown.emit())},t.prototype.close=function(){null!=this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=n.i(i.a)(this._renderer,this._elementRef.nativeElement,this.triggers,this.open.bind(this),this.close.bind(this),this.toggle.bind(this))},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t}();c.decorators=[{type:o.Directive,args:[{selector:"[ngbTooltip]",exportAs:"ngbTooltip"}]}],c.ctorParameters=function(){return[{type:o.ElementRef},{type:o.Renderer2},{type:o.Injector},{type:o.ComponentFactoryResolver},{type:o.ViewContainerRef},{type:s.a},{type:o.NgZone}]},c.propDecorators={placement:[{type:o.Input}],triggers:[{type:o.Input}],container:[{type:o.Input}],shown:[{type:o.Output}],hidden:[{type:o.Output}],ngbTooltip:[{type:o.Input}]}},"tyH+":function(t,e,n){"use strict";var o=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size="medium"}return t}();i.decorators=[{type:o.Injectable}],i.ctorParameters=function(){return[]}},v4DA:function(t,e,n){"use strict";var o=n("3j3K");n.d(e,"a",function(){return i});var i=function(){function t(){this.justify="start",this.type="tabs"}return t}();i.decorators=[{type:o.Injectable}],i.ctorParameters=function(){return[]}},vfkA:function(t,e,n){"use strict";var o=n("3j3K"),i=n("kgIC");n.d(e,"a",function(){return r});var r=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t}();r.decorators=[{type:o.NgModule,args:[{declarations:[i.a],exports:[i.a]}]}],r.ctorParameters=function(){return[]}},xOmt:function(t,e,n){"use strict";var o=n("3j3K"),i=n("nxqe");n.d(e,"a",function(){return r});var r=function(){function t(t,e){this._elRef=t,this._renderer=e,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new o.EventEmitter}return t.prototype.backdropClick=function(t){!0===this.backdrop&&this._elRef.nativeElement===t.target&&this.dismiss(i.a.BACKDROP_CLICK)},t.prototype.escKey=function(t){this.keyboard&&!t.defaultPrevented&&this.dismiss(i.a.ESC)},t.prototype.dismiss=function(t){this.dismissEvent.emit(t)},t.prototype.ngOnInit=function(){this._elWithFocus=document.activeElement,this._renderer.addClass(document.body,"modal-open")},t.prototype.ngAfterViewInit=function(){this._elRef.nativeElement.contains(document.activeElement)||this._elRef.nativeElement.focus.apply(this._elRef.nativeElement,[])},t.prototype.ngOnDestroy=function(){this._elWithFocus&&document.body.contains(this._elWithFocus)?this._elWithFocus.focus.apply(this._elWithFocus,[]):document.body.focus.apply(document.body,[]),this._elWithFocus=null,this._renderer.removeClass(document.body,"modal-open")},t}();r.decorators=[{type:o.Component,args:[{selector:"ngb-modal-window",host:{"[class]":'"modal fade show" + (windowClass ? " " + windowClass : "")',role:"dialog",tabindex:"-1",style:"display: block;","(keyup.esc)":"escKey($event)","(click)":"backdropClick($event)"},template:"\n <div [class]=\"'modal-dialog' + (size ? ' modal-' + size : '')\" role=\"document\">\n <div class=\"modal-content\"><ng-content></ng-content></div>\n </div>\n "}]}],r.ctorParameters=function(){return[{type:o.ElementRef},{type:o.Renderer2}]},r.propDecorators={backdrop:[{type:o.Input}],keyboard:[{type:o.Input}],size:[{type:o.Input}],windowClass:[{type:o.Input}],dismissEvent:[{type:o.Output,args:["dismiss"]}]}},xiEB:function(t,e,n){"use strict";function o(t){return r["ɵvid"](0,[],null,null)}function i(t){return r["ɵvid"](0,[(t()(),r["ɵeld"](0,null,null,1,"ngb-modal-backdrop",[["class","modal-backdrop fade show"]],null,null,null,a.b,a.c)),r["ɵdid"](49152,null,0,s.a,[],null,null)],null,null)}var r=n("3j3K"),a=n("xiEB"),s=n("9XFw");n.d(e,"c",function(){return u}),e.b=o,n.d(e,"a",function(){return c});var l=[],u=r["ɵcrt"]({encapsulation:2,styles:l,data:{}}),c=r["ɵccf"]("ngb-modal-backdrop",s.a,i,{},{},[])},yDyO:function(t,e,n){"use strict";var o=n("3j3K"),i=n("sgnN"),r=n("qKow");n.d(e,"a",function(){return a});var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}();a.decorators=[{type:o.NgModule,args:[{declarations:[i.a,i.b],exports:[i.a],entryComponents:[i.b]}]}],a.ctorParameters=function(){return[]}},zhGp:function(t,e,n){"use strict";var o=n("5oXY"),i=n("Zwpz"),r=n("R6W2");n.d(e,"a",function(){return a});var a=function(){function t(t,e,n,o){this.route=t,this.router=e,this.sessionService=n,this.authenticationService=o,this.model={},this.loading=!1,this.error=!1,this.errorText=""}return t.prototype.ngOnInit=function(){this.authenticationService.logout(),this.returnUrl=this.route.snapshot.queryParams.returnUrl||"/matefun"},t.prototype.login=function(){var t=this;this.loading=!0;var e=this;this.authenticationService.login(this.model.cedula,this.model.password).subscribe(function(n){t.router.navigate([t.returnUrl]),e.sessionService.reset()},function(e){t.loading=!1,t.error=!0,t.errorText=e.text()})},t.prototype.invitado=function(){var t=this;this.loading=!0,this.authenticationService.login("invitado","invitado").subscribe(function(e){t.router.navigate([t.returnUrl]),t.sessionService.reset()},function(e){t.loading=!1})},t.ctorParameters=function(){return[{type:o.a},{type:o.c},{type:i.a},{type:r.a}]},t}()}}); \ No newline at end of file diff --git a/Servidor JEE/WebContent/5.59cc434c85d03332d50a.chunk.js b/Servidor JEE/WebContent/5.59cc434c85d03332d50a.chunk.js new file mode 100644 index 0000000000000000000000000000000000000000..75400c6a6bf1340744c74ee3e95d1df7845c5f84 --- /dev/null +++ b/Servidor JEE/WebContent/5.59cc434c85d03332d50a.chunk.js @@ -0,0 +1 @@ +webpackJsonp([5],{"8B4z":function(n,l,t){"use strict";t.d(l,"a",function(){return e});var e=["[_nghost-%COMP%]{display:block}.welcome-page[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto;background:#222;text-align:center;color:#fff;padding:10em}.welcome-page[_ngcontent-%COMP%] .col-lg-8[_ngcontent-%COMP%]{padding:0}.welcome-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]{border-radius:50px;color:hsla(0,0%,100%,.8);background:#222;border:2px solid hsla(0,0%,100%,.8);font-size:18px;line-height:40px;padding:0 25px}.welcome-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:active, .welcome-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:focus, .welcome-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:hover, .welcome-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:visited{color:#fff;border:2px solid #fff;outline:none}.welcome-page[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-weight:300;margin-top:20px;margin-bottom:10px;font-size:36px}"]},"M+gY":function(n,l,t){"use strict";function e(n){return c["ɵvid"](0,[(n()(),c["ɵeld"](0,0,null,null,21,"div",[["class","welcome-page"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n "])),(n()(),c["ɵeld"](2,0,null,null,18,"div",[["class","row"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n "])),(n()(),c["ɵeld"](4,0,null,null,15,"div",[["class","col-md-10 push-md-1"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n "])),(n()(),c["ɵeld"](6,0,null,null,1,"h1",[],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["404 - Page Not Found"])),(n()(),c["ɵted"](-1,null,["\n "])),(n()(),c["ɵeld"](9,0,null,null,1,"p",[["class","lead"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["This page does not exist"])),(n()(),c["ɵted"](-1,null,["\n "])),(n()(),c["ɵeld"](12,0,null,null,6,"p",[["class","lead"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n "])),(n()(),c["ɵeld"](14,0,null,null,3,"a",[["class","btn rounded-btn"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(n,l,t){var e=!0;if("click"===l){e=!1!==c["ɵnov"](n,15).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&e}return e},null,null)),c["ɵdid"](15,671744,null,0,r.y,[r.c,r.a,d.LocationStrategy],{routerLink:[0,"routerLink"]},null),c["ɵpad"](16,1),(n()(),c["ɵted"](-1,null,["Restart"])),(n()(),c["ɵted"](-1,null,["\n "])),(n()(),c["ɵted"](-1,null,["\n "])),(n()(),c["ɵted"](-1,null,["\n "])),(n()(),c["ɵted"](-1,null,["\n"]))],function(n,l){n(l,15,0,n(l,16,0,"/login"))},function(n,l){n(l,14,0,c["ɵnov"](l,15).target,c["ɵnov"](l,15).href)})}function u(n){return c["ɵvid"](0,[(n()(),c["ɵeld"](0,0,null,null,1,"app-not-found",[],null,null,null,e,f)),c["ɵdid"](1,49152,null,0,a.a,[],null,null)],null,null)}var o=t("8B4z"),c=t("/oeL"),r=t("BkNc"),d=t("qbdv"),a=t("uAtf");t.d(l,"a",function(){return g});var i=[o.a],f=c["ɵcrt"]({encapsulation:0,styles:i,data:{}}),g=c["ɵccf"]("app-not-found",a.a,u,{},{},[])},Vg0N:function(n,l,t){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var e=t("/oeL"),u=t("ugLq"),o=t("M+gY"),c=t("BkNc"),r=t("xJME"),d=t("uAtf");t.d(l,"NotFoundModuleNgFactory",function(){return a});var a=e["ɵcmf"](u.a,[],function(n){return e["ɵmod"]([e["ɵmpd"](512,e.ComponentFactoryResolver,e["ɵCodegenComponentFactoryResolver"],[[8,[o.a]],[3,e.ComponentFactoryResolver],e.NgModuleRef]),e["ɵmpd"](512,c.x,c.x,[[2,c.k],[2,c.c]]),e["ɵmpd"](512,r.a,r.a,[]),e["ɵmpd"](512,u.a,u.a,[]),e["ɵmpd"](1024,c.t,function(){return[[{path:"",component:d.a}]]},[])])})},uAtf:function(n,l,t){"use strict";t.d(l,"a",function(){return e});var e=function(){function n(){}return n}()},ugLq:function(n,l,t){"use strict";t.d(l,"a",function(){return e});var e=function(){function n(){}return n}()},xJME:function(n,l,t){"use strict";var e=t("uAtf");t.d(l,"a",function(){return u});var u=(e.a,function(){function n(){}return n}())}}); \ No newline at end of file diff --git a/Servidor JEE/WebContent/5.cb397b371eb202b127b6.chunk.js b/Servidor JEE/WebContent/5.cb397b371eb202b127b6.chunk.js deleted file mode 100644 index 47ecbc8c20d1797be618efdd0a98444618ce4186..0000000000000000000000000000000000000000 --- a/Servidor JEE/WebContent/5.cb397b371eb202b127b6.chunk.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([5,11],{"+YJN":function(n,l,t){"use strict";t.d(l,"a",function(){return e});var e=function(){function n(){}return n}()},ALD8:function(n,l,t){"use strict";function e(n){return c["ɵvid"](0,[(n()(),c["ɵeld"](0,null,null,21,"div",[["class","welcome-page"]],null,null,null,null,null)),(n()(),c["ɵted"](null,["\n "])),(n()(),c["ɵeld"](0,null,null,18,"div",[["class","row"]],null,null,null,null,null)),(n()(),c["ɵted"](null,["\n "])),(n()(),c["ɵeld"](0,null,null,15,"div",[["class","col-md-10 push-md-1"]],null,null,null,null,null)),(n()(),c["ɵted"](null,["\n "])),(n()(),c["ɵeld"](0,null,null,1,"h1",[],null,null,null,null,null)),(n()(),c["ɵted"](null,["404 - Page Not Found"])),(n()(),c["ɵted"](null,["\n "])),(n()(),c["ɵeld"](0,null,null,1,"p",[["class","lead"]],null,null,null,null,null)),(n()(),c["ɵted"](null,["This page does not exist"])),(n()(),c["ɵted"](null,["\n "])),(n()(),c["ɵeld"](0,null,null,6,"p",[["class","lead"]],null,null,null,null,null)),(n()(),c["ɵted"](null,["\n "])),(n()(),c["ɵeld"](0,null,null,3,"a",[["class","btn rounded-btn"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(n,l,t){var e=!0;if("click"===l){e=!1!==c["ɵnov"](n,15).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&e}return e},null,null)),c["ɵdid"](671744,null,0,r.y,[r.c,r.a,d.LocationStrategy],{routerLink:[0,"routerLink"]},null),c["ɵpad"](1),(n()(),c["ɵted"](null,["Restart"])),(n()(),c["ɵted"](null,["\n "])),(n()(),c["ɵted"](null,["\n "])),(n()(),c["ɵted"](null,["\n "])),(n()(),c["ɵted"](null,["\n"]))],function(n,l){n(l,15,0,n(l,16,0,"/login"))},function(n,l){n(l,14,0,c["ɵnov"](l,15).target,c["ɵnov"](l,15).href)})}function u(n){return c["ɵvid"](0,[(n()(),c["ɵeld"](0,null,null,1,"app-not-found",[],null,null,null,e,s)),c["ɵdid"](49152,null,0,a.a,[],null,null)],null,null)}var o=t("JpYy"),c=t("3j3K"),r=t("5oXY"),d=t("2Je8"),a=t("+YJN");t.d(l,"a",function(){return f});var i=[o.a],s=c["ɵcrt"]({encapsulation:0,styles:i,data:{}}),f=c["ɵccf"]("app-not-found",a.a,u,{},{},[])},IAxl:function(n,l,t){"use strict";t.d(l,"a",function(){return e});var e=function(){function n(){}return n}()},JpYy:function(n,l,t){"use strict";t.d(l,"a",function(){return e});var e=["[_nghost-%COMP%]{display:block}.welcome-page[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto;background:#222;text-align:center;color:#fff;padding:10em}.welcome-page[_ngcontent-%COMP%] .col-lg-8[_ngcontent-%COMP%]{padding:0}.welcome-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]{border-radius:50px;color:hsla(0,0%,100%,.8);background:#222;border:2px solid hsla(0,0%,100%,.8);font-size:18px;line-height:40px;padding:0 25px}.welcome-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:active, .welcome-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:focus, .welcome-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:hover, .welcome-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:visited{color:#fff;border:2px solid #fff;outline:none}.welcome-page[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-weight:300;margin-top:20px;margin-bottom:10px;font-size:36px}"]},skyt:function(n,l,t){"use strict";var e=t("+YJN");t.d(l,"a",function(){return u});var u=(e.a,function(){function n(){}return n}())},twyU:function(n,l,t){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var e=t("3j3K"),u=t("IAxl"),o=t("ALD8"),c=t("5oXY"),r=t("skyt"),d=t("+YJN");t.d(l,"NotFoundModuleNgFactory",function(){return a});var a=e["ɵcmf"](u.a,[],function(n){return e["ɵmod"]([e["ɵmpd"](512,e.ComponentFactoryResolver,e["ɵCodegenComponentFactoryResolver"],[[8,[o.a]],[3,e.ComponentFactoryResolver],e.NgModuleRef]),e["ɵmpd"](512,c.x,c.x,[[2,c.k],[2,c.c]]),e["ɵmpd"](512,r.a,r.a,[]),e["ɵmpd"](512,u.a,u.a,[]),e["ɵmpd"](1024,c.t,function(){return[[{path:"",component:d.a}]]},[])])})}}); \ No newline at end of file diff --git a/Servidor JEE/WebContent/6.bb496a10043de2a02b50.chunk.js b/Servidor JEE/WebContent/6.bb496a10043de2a02b50.chunk.js new file mode 100644 index 0000000000000000000000000000000000000000..ea00a71ee60a7e0dc69934e5c5578413c1c08dd5 --- /dev/null +++ b/Servidor JEE/WebContent/6.bb496a10043de2a02b50.chunk.js @@ -0,0 +1 @@ +webpackJsonp([6],{"9+Rk":function(n,l,o){"use strict";o.d(l,"a",function(){return t});var t=function(){function n(){}return n}()},Gcjq:function(n,l,o){"use strict";function t(n){return r["ɵvid"](0,[(n()(),r["ɵeld"](0,0,null,null,7,"div",[["class","loading"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](2,0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](4,0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](6,0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "]))],null,null)}function e(n){return r["ɵvid"](0,[(n()(),r["ɵeld"](0,0,null,null,8,"div",[["class","login-error"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](2,0,null,null,5,"ngb-alert",[],null,null,null,d.b,d.c)),r["ɵdid"](3,49152,null,0,c.a,[g.a],{dismissible:[0,"dismissible"],type:[1,"type"]},null),(n()(),r["ɵted"](-1,0,["\n "])),(n()(),r["ɵeld"](5,0,null,0,1,"strong",[],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["Error!"])),(n()(),r["ɵted"](7,0,[" ",".\n "])),(n()(),r["ɵted"](-1,null,["\n "]))],function(n,l){n(l,3,0,!1,"danger")},function(n,l){n(l,7,0,l.component.errorText)})}function u(n){return r["ɵvid"](0,[(n()(),r["ɵeld"](0,0,null,null,52,"div",[["class","login-page"],["style","background: #004869;"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](2,0,null,null,49,"div",[["class","row"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](4,0,null,null,46,"div",[["class","col-md-4 push-md-4"],["style","padding: 55px 35px;background: rgba(255,255,255,0.15);border-radius: 8px;"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](6,0,null,null,1,"h1",[],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["MateFun"])),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](9,0,null,null,40,"form",[["novalidate",""],["role","form"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,l,o){var t=!0;if("submit"===l){t=!1!==r["ɵnov"](n,11).onSubmit(o)&&t}if("reset"===l){t=!1!==r["ɵnov"](n,11).onReset()&&t}return t},null,null)),r["ɵdid"](10,16384,null,0,s["ɵbf"],[],null,null),r["ɵdid"](11,16384,null,0,s.NgForm,[[8,null],[8,null]],null,null),r["ɵprd"](2048,null,s.ControlContainer,null,[s.NgForm]),r["ɵdid"](13,16384,null,0,s.NgControlStatusGroup,[s.ControlContainer],null,null),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](15,0,null,null,21,"div",[["class","form-content"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](17,0,null,null,8,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](19,0,null,null,5,"input",[["class","form-control input-underline input-lg"],["name","cedula"],["placeholder","Usuario"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,l,o){var t=!0,e=n.component;if("input"===l){t=!1!==r["ɵnov"](n,20)._handleInput(o.target.value)&&t}if("blur"===l){t=!1!==r["ɵnov"](n,20).onTouched()&&t}if("compositionstart"===l){t=!1!==r["ɵnov"](n,20)._compositionStart()&&t}if("compositionend"===l){t=!1!==r["ɵnov"](n,20)._compositionEnd(o.target.value)&&t}if("ngModelChange"===l){t=!1!==(e.model.cedula=o)&&t}return t},null,null)),r["ɵdid"](20,16384,null,0,s.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,s.COMPOSITION_BUFFER_MODE]],null,null),r["ɵprd"](1024,null,s.NG_VALUE_ACCESSOR,function(n){return[n]},[s.DefaultValueAccessor]),r["ɵdid"](22,671744,null,0,s.NgModel,[[2,s.ControlContainer],[8,null],[8,null],[2,s.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r["ɵprd"](2048,null,s.NgControl,null,[s.NgModel]),r["ɵdid"](24,16384,null,0,s.NgControlStatus,[s.NgControl],null,null),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵted"](-1,null,["\n\n "])),(n()(),r["ɵeld"](27,0,null,null,8,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](29,0,null,null,5,"input",[["class","form-control input-underline input-lg"],["name","password"],["placeholder","Contraseña"],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,l,o){var t=!0,e=n.component;if("input"===l){t=!1!==r["ɵnov"](n,30)._handleInput(o.target.value)&&t}if("blur"===l){t=!1!==r["ɵnov"](n,30).onTouched()&&t}if("compositionstart"===l){t=!1!==r["ɵnov"](n,30)._compositionStart()&&t}if("compositionend"===l){t=!1!==r["ɵnov"](n,30)._compositionEnd(o.target.value)&&t}if("ngModelChange"===l){t=!1!==(e.model.password=o)&&t}if("keyup.enter"===l){t=!1!==e.login()&&t}return t},null,null)),r["ɵdid"](30,16384,null,0,s.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,s.COMPOSITION_BUFFER_MODE]],null,null),r["ɵprd"](1024,null,s.NG_VALUE_ACCESSOR,function(n){return[n]},[s.DefaultValueAccessor]),r["ɵdid"](32,671744,null,0,s.NgModel,[[2,s.ControlContainer],[8,null],[8,null],[2,s.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r["ɵprd"](2048,null,s.NgControl,null,[s.NgModel]),r["ɵdid"](34,16384,null,0,s.NgControlStatus,[s.NgControl],null,null),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵted"](-1,null,["\n \n "])),(n()(),r["ɵted"](-1,null,["\n\n "])),(n()(),r["ɵeld"](38,0,null,null,1,"a",[["class","btn rounded-btn"],["style","background: transparent;color: white;cursor: pointer;width: 159px;margin-right: 3px;"]],null,[[null,"click"]],function(n,l,o){var t=!0,e=n.component;if("click"===l){t=!1!==e.login()&&t}return t},null,null)),(n()(),r["ɵted"](-1,null,[" Iniciar Sesión "])),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](41,0,null,null,1,"a",[["class","btn rounded-btn"],["style","background: transparent;color: white;cursor: pointer;width: 159px;margin-left: 3px;"]],null,[[null,"click"]],function(n,l,o){var t=!0,e=n.component;if("click"===l){t=!1!==e.invitado()&&t}return t},null,null)),(n()(),r["ɵted"](-1,null,[" Invitado "])),(n()(),r["ɵted"](-1,null,["\n  \n "])),(n()(),r["ɵand"](16777216,null,null,1,null,t)),r["ɵdid"](45,16384,null,0,m.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵand"](16777216,null,null,1,null,e)),r["ɵdid"](48,16384,null,0,m.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵted"](-1,null,["\n"])),(n()(),r["ɵted"](-1,null,["\n"]))],function(n,l){var o=l.component;n(l,22,0,"cedula",o.model.cedula);n(l,32,0,"password",o.model.password),n(l,45,0,o.loading),n(l,48,0,o.error&&!o.loading)},function(n,l){n(l,9,0,r["ɵnov"](l,13).ngClassUntouched,r["ɵnov"](l,13).ngClassTouched,r["ɵnov"](l,13).ngClassPristine,r["ɵnov"](l,13).ngClassDirty,r["ɵnov"](l,13).ngClassValid,r["ɵnov"](l,13).ngClassInvalid,r["ɵnov"](l,13).ngClassPending),n(l,19,0,r["ɵnov"](l,24).ngClassUntouched,r["ɵnov"](l,24).ngClassTouched,r["ɵnov"](l,24).ngClassPristine,r["ɵnov"](l,24).ngClassDirty,r["ɵnov"](l,24).ngClassValid,r["ɵnov"](l,24).ngClassInvalid,r["ɵnov"](l,24).ngClassPending),n(l,29,0,r["ɵnov"](l,34).ngClassUntouched,r["ɵnov"](l,34).ngClassTouched,r["ɵnov"](l,34).ngClassPristine,r["ɵnov"](l,34).ngClassDirty,r["ɵnov"](l,34).ngClassValid,r["ɵnov"](l,34).ngClassInvalid,r["ɵnov"](l,34).ngClassPending)})}function a(n){return r["ɵvid"](0,[(n()(),r["ɵeld"](0,0,null,null,1,"app-login",[],null,null,null,u,b)),r["ɵdid"](1,114688,null,0,p.a,[f.a,f.c,C.a,v.a],null,null)],function(n,l){n(l,1,0)},null)}var i=o("ajF7"),r=o("/oeL"),d=o("CVNG"),c=o("PVMJ"),g=o("nVXb"),s=o("bm2B"),p=o("K181"),m=o("qbdv"),f=o("BkNc"),C=o("h7Ol"),v=o("6akk");o.d(l,"a",function(){return M});var h=[i.a],b=r["ɵcrt"]({encapsulation:0,styles:h,data:{}}),M=r["ɵccf"]("app-login",p.a,a,{},{},[])},K181:function(n,l,o){"use strict";var t=o("BkNc"),e=o("h7Ol"),u=o("6akk");o.d(l,"a",function(){return a});var a=function(){function n(n,l,o,t){this.route=n,this.router=l,this.sessionService=o,this.authenticationService=t,this.model={},this.loading=!1,this.error=!1,this.errorText=""}return n.prototype.ngOnInit=function(){this.authenticationService.logout(),this.returnUrl=this.route.snapshot.queryParams.returnUrl||"/matefun"},n.prototype.login=function(){var n=this;this.loading=!0;var l=this;this.authenticationService.login(this.model.cedula,this.model.password).subscribe(function(o){n.router.navigate([n.returnUrl]),l.sessionService.reset()},function(l){n.loading=!1,n.error=!0,n.errorText=l.text()})},n.prototype.invitado=function(){var n=this;this.loading=!0,this.authenticationService.login("invitado","invitado").subscribe(function(l){n.router.navigate([n.returnUrl]),n.sessionService.reset()},function(l){n.loading=!1})},n.ctorParameters=function(){return[{type:t.a},{type:t.c},{type:e.a},{type:u.a}]},n}()},ajF7:function(n,l,o){"use strict";o.d(l,"a",function(){return t});var t=["[_nghost-%COMP%]{display:block}.login-page[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto;background:#222;text-align:center;color:#fff;padding:3em}.login-page[_ngcontent-%COMP%] .col-lg-4[_ngcontent-%COMP%]{padding:0}.login-page[_ngcontent-%COMP%] .input-lg[_ngcontent-%COMP%]{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:0}.login-page[_ngcontent-%COMP%] .input-underline[_ngcontent-%COMP%]{background:0 0;border:none;box-shadow:none;border-bottom:2px solid hsla(0,0%,100%,.5);color:#fff;border-radius:0}.login-page[_ngcontent-%COMP%] .input-underline[_ngcontent-%COMP%]:focus{border-bottom:2px solid #fff;box-shadow:none}.login-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]{border-radius:50px;color:hsla(0,0%,100%,.8);background:#222;border:2px solid hsla(0,0%,100%,.8);font-size:18px;line-height:40px;padding:0 25px;cursor:default}.login-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:active, .login-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:focus, .login-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:hover, .login-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:visited{color:#fff;border:2px solid #fff;outline:none}.login-page[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-weight:300;margin-top:20px;margin-bottom:10px;font-size:36px}.login-page[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{color:hsla(0,0%,100%,.7)}.login-page[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{padding:8px 0}.login-page[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:hsla(0,0%,100%,.6)!important}.login-page[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder, .login-page[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder{color:hsla(0,0%,100%,.6)!important}.login-page[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:hsla(0,0%,100%,.6)!important}.login-page[_ngcontent-%COMP%] .form-content[_ngcontent-%COMP%]{padding:40px 0}.login-page[_ngcontent-%COMP%] .user-avatar[_ngcontent-%COMP%]{border-radius:50%;border:2px solid #fff}.loading[_ngcontent-%COMP%]{position:relative;top:50px;left:49%}.loading[_ngcontent-%COMP%] .loading-bar[_ngcontent-%COMP%]{background-color:#fff}.login-error[_ngcontent-%COMP%]{position:relative;top:20px}"]},njmd:function(n,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=o("/oeL"),e=o("9+Rk"),u=o("Gcjq"),a=o("CVNG"),i=o("ClIn"),r=o("CU81"),d=o("IkMs"),c=o("DlWC"),g=o("m0eP"),s=o("MsHi"),p=o("bm2B"),m=o("qbdv"),f=o("KRwK"),C=o("dN2u"),v=o("nVXb"),h=o("Wv1e"),b=o("QGDq"),M=o("0H8/"),_=o("5FV4"),O=o("f1rf"),P=o("KSV9"),x=o("CuDZ"),y=o("lA7/"),N=o("HRzg"),k=o("Qyse"),S=o("NmeZ"),I=o("7zUS"),R=o("59zy"),w=o("+E40"),E=o("V6Dl"),V=o("6akk"),F=o("CPp0"),U=o("BkNc"),A=o("oJqz"),D=o("wnyu"),z=o("EoP3"),L=o("PY9B"),T=o("3rU7"),B=o("4HaF"),G=o("DaIH"),K=o("Zz+K"),j=o("2waW"),q=o("IBeK"),H=o("g5gQ"),W=o("xBEz"),J=o("PuIS"),Q=o("U0Tu"),Z=o("Cb36"),X=o("5h8W"),Y=o("6ade"),$=o("0WLp"),nn=o("K181");o.d(l,"LoginModuleNgFactory",function(){return ln});var ln=t["ɵcmf"](e.a,[],function(n){return t["ɵmod"]([t["ɵmpd"](512,t.ComponentFactoryResolver,t["ɵCodegenComponentFactoryResolver"],[[8,[u.a,a.a,i.a,r.a,d.a,c.a,g.a,s.a]],[3,t.ComponentFactoryResolver],t.NgModuleRef]),t["ɵmpd"](4608,p["ɵi"],p["ɵi"],[]),t["ɵmpd"](4608,m.NgLocalization,m.NgLocaleLocalization,[t.LOCALE_ID]),t["ɵmpd"](4608,f.a,f.a,[t.ApplicationRef,t.Injector,t.ComponentFactoryResolver]),t["ɵmpd"](4608,C.a,C.a,[t.ComponentFactoryResolver,t.Injector,f.a]),t["ɵmpd"](4608,v.a,v.a,[]),t["ɵmpd"](4608,h.a,h.a,[]),t["ɵmpd"](4608,b.a,b.a,[]),t["ɵmpd"](4608,M.a,M.a,[]),t["ɵmpd"](4608,_.a,_.a,[]),t["ɵmpd"](4608,O.a,O.a,[]),t["ɵmpd"](4608,P.a,P.b,[]),t["ɵmpd"](4608,x.a,x.b,[]),t["ɵmpd"](4608,y.a,y.b,[]),t["ɵmpd"](4608,N.a,N.a,[]),t["ɵmpd"](4608,k.a,k.a,[]),t["ɵmpd"](4608,S.a,S.a,[]),t["ɵmpd"](4608,I.a,I.a,[]),t["ɵmpd"](4608,R.a,R.a,[]),t["ɵmpd"](4608,w.a,w.a,[]),t["ɵmpd"](4608,E.a,E.a,[]),t["ɵmpd"](4608,V.a,V.a,[F.i]),t["ɵmpd"](512,p["ɵba"],p["ɵba"],[]),t["ɵmpd"](512,p.FormsModule,p.FormsModule,[]),t["ɵmpd"](512,m.CommonModule,m.CommonModule,[]),t["ɵmpd"](512,U.x,U.x,[[2,U.k],[2,U.c]]),t["ɵmpd"](512,A.a,A.a,[]),t["ɵmpd"](512,D.a,D.a,[]),t["ɵmpd"](512,z.a,z.a,[]),t["ɵmpd"](512,L.a,L.a,[]),t["ɵmpd"](512,T.a,T.a,[]),t["ɵmpd"](512,B.a,B.a,[]),t["ɵmpd"](512,G.a,G.a,[]),t["ɵmpd"](512,K.a,K.a,[]),t["ɵmpd"](512,j.a,j.a,[]),t["ɵmpd"](512,q.a,q.a,[]),t["ɵmpd"](512,H.a,H.a,[]),t["ɵmpd"](512,W.a,W.a,[]),t["ɵmpd"](512,J.a,J.a,[]),t["ɵmpd"](512,Q.a,Q.a,[]),t["ɵmpd"](512,Z.a,Z.a,[]),t["ɵmpd"](512,X.a,X.a,[]),t["ɵmpd"](512,Y.a,Y.a,[]),t["ɵmpd"](512,$.a,$.a,[]),t["ɵmpd"](512,e.a,e.a,[]),t["ɵmpd"](1024,U.t,function(){return[[{path:"",component:nn.a}]]},[])])})},oJqz:function(n,l,o){"use strict";var t=o("K181");o.d(l,"a",function(){return e});var e=(t.a,function(){function n(){}return n}())}}); \ No newline at end of file diff --git a/Servidor JEE/WebContent/index.html b/Servidor JEE/WebContent/index.html index 58dd31ae0ff35effc68733c774709c7cd5c83976..cdbd32ad713153dd94be4c597850d1b2644b9f00 100644 --- a/Servidor JEE/WebContent/index.html +++ b/Servidor JEE/WebContent/index.html @@ -1,28 +1 @@ -<!doctype html> -<html> -<head> - <meta charset="utf-8"> - <title>Proyecto MateFun</title> - <base href="/"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <link rel="icon" type="image/x-icon" href="favicon.ico"> - <!-- despues lo saco de aca --> - <!-- <link rel="stylesheet" type="text/css" href="node_modules/codemirror/addon/hint/show-hint.css"> --> - <script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script> -<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script> -<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script> - -<link href="styles.48c12e7a786677f044dc.bundle.css" rel="stylesheet"/></head> -<body> - <app-root> - <div class="loading"> - <div class="loading-bar"></div> - <div class="loading-bar"></div> - <div class="loading-bar"></div> - <div class="loading-bar"></div> - <div class="loading-bar"></div> - </div> - </app-root> -<script type="text/javascript" src="inline.c090ab38b6b424e6649f.bundle.js"></script><script type="text/javascript" src="polyfills.fea873d1973cf1b50182.bundle.js"></script><script type="text/javascript" src="scripts.32b570002eddbb8f9caa.bundle.js"></script><script type="text/javascript" src="vendor.d0fc90766e2861f3dcab.bundle.js"></script><script type="text/javascript" src="main.62e4789477e889acbf3c.bundle.js"></script></body> - -</html> +<!doctype html><html><head><meta charset="utf-8"><title>Proyecto MateFun</title><base href="/"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" type="image/x-icon" href="favicon.ico"><!-- despues lo saco de aca --><!-- <link rel="stylesheet" type="text/css" href="node_modules/codemirror/addon/hint/show-hint.css"> --><script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script><script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script><link href="styles.aedd881417e13b7e91de.bundle.css" rel="stylesheet"/></head><body><app-root><div class="loading"><div class="loading-bar"></div><div class="loading-bar"></div><div class="loading-bar"></div><div class="loading-bar"></div><div class="loading-bar"></div></div></app-root><script type="text/javascript" src="inline.913a63f4ac14aae85d5b.bundle.js"></script><script type="text/javascript" src="polyfills.0ae3b4f3e37e6249952f.bundle.js"></script><script type="text/javascript" src="scripts.efaaeb35620859890388.bundle.js"></script><script type="text/javascript" src="vendor.28df4c379f8c8b804b36.bundle.js"></script><script type="text/javascript" src="main.b97df27904c57669405d.bundle.js"></script></body></html> \ No newline at end of file diff --git a/Servidor JEE/WebContent/inline.913a63f4ac14aae85d5b.bundle.js b/Servidor JEE/WebContent/inline.913a63f4ac14aae85d5b.bundle.js new file mode 100644 index 0000000000000000000000000000000000000000..db6936d2af2663194099ee871623188d0c968021 --- /dev/null +++ b/Servidor JEE/WebContent/inline.913a63f4ac14aae85d5b.bundle.js @@ -0,0 +1 @@ +!function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(t,c,a){for(var f,u,i,d=0,l=[];d<t.length;d++)u=t[d],o[u]&&l.push(o[u][0]),o[u]=0;for(f in c)Object.prototype.hasOwnProperty.call(c,f)&&(e[f]=c[f]);for(n&&n(t,c,a);l.length;)l.shift()();if(a)for(d=0;d<a.length;d++)i=r(r.s=a[d]);return i};var t={},o={12:0};r.e=function(e){function n(){a.onerror=a.onload=null,clearTimeout(f);var r=o[e];0!==r&&(r&&r[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}if(0===o[e])return Promise.resolve();if(o[e])return o[e][2];var t=new Promise(function(r,n){o[e]=[r,n]});o[e][2]=t;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,r.nc&&a.setAttribute("nonce",r.nc),a.src=r.p+""+e+"."+{0:"1cf3c981b4810009465b",1:"41cb59b8f355e9241f05",2:"b856a7489ad17cab0edc",3:"cf1c44ac5f53ac78dbc0",4:"944819365f9d2d51724d",5:"59cc434c85d03332d50a",6:"bb496a10043de2a02b50",7:"0ae3b4f3e37e6249952f",8:"b97df27904c57669405d",9:"60839f966270b27d9f76",10:"efaaeb35620859890388"}[e]+".chunk.js";var f=setTimeout(n,12e4);return a.onerror=a.onload=n,c.appendChild(a),t},r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},r.p="",r.oe=function(e){throw console.error(e),e}}([]); \ No newline at end of file diff --git a/Servidor JEE/WebContent/inline.c090ab38b6b424e6649f.bundle.js b/Servidor JEE/WebContent/inline.c090ab38b6b424e6649f.bundle.js deleted file mode 100644 index 75ba9b27dad171e111ea8203d0d75afe25a44f4e..0000000000000000000000000000000000000000 --- a/Servidor JEE/WebContent/inline.c090ab38b6b424e6649f.bundle.js +++ /dev/null @@ -1 +0,0 @@ -!function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(t,c,a){for(var u,f,i,d=0,b=[];d<t.length;d++)f=t[d],o[f]&&b.push(o[f][0]),o[f]=0;for(u in c)Object.prototype.hasOwnProperty.call(c,u)&&(e[u]=c[u]);for(n&&n(t,c,a);b.length;)b.shift()();if(a)for(d=0;d<a.length;d++)i=r(r.s=a[d]);return i};var t={},o={11:0};r.e=function(e){function n(){c.onerror=c.onload=null,clearTimeout(a);var r=o[e];0!==r&&(r&&r[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}if(0===o[e])return Promise.resolve();if(o[e])return o[e][2];var t=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,r.nc&&c.setAttribute("nonce",r.nc),c.src=r.p+""+e+"."+{0:"dddfc681213dbab6ce18",1:"7ea0d46b0fe76a112ce3",2:"32fdccb32de98ae16ca7",3:"80867ddf12cea7698e2c",4:"d5e575db2c249cfd8253",5:"cb397b371eb202b127b6",6:"fea873d1973cf1b50182",7:"62e4789477e889acbf3c",8:"e974ab90bd7f8fb6b551",9:"32b570002eddbb8f9caa"}[e]+".chunk.js";var a=setTimeout(n,12e4);c.onerror=c.onload=n;var u=new Promise(function(r,n){o[e]=[r,n]});return o[e][2]=u,t.appendChild(c),u},r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},r.p="",r.oe=function(e){throw console.error(e),e}}([]); \ No newline at end of file diff --git a/Servidor JEE/WebContent/main.62e4789477e889acbf3c.bundle.js b/Servidor JEE/WebContent/main.62e4789477e889acbf3c.bundle.js deleted file mode 100644 index 11a3d113a9ea790e8d1d228eda76ad91f437e1f0..0000000000000000000000000000000000000000 --- a/Servidor JEE/WebContent/main.62e4789477e889acbf3c.bundle.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([7,11],{"/fcW":function(n,t,e){function o(n){var t=r[n];return t?e.e(t[1]).then(function(){return e(t[0])}):Promise.reject(new Error("Cannot find module '"+n+"'."))}var r={"./archivos/archivos.module.ngfactory":["g6h9",1],"./grupos/grupos.module.ngfactory":["ajMA",2],"./layout/layout.module.ngfactory":["lUPc",3],"./login/login.module.ngfactory":["7hdg",4],"./matefun/matefun.module.ngfactory":["8+J1",0],"./not-found/not-found.module.ngfactory":["twyU",5]};o.keys=function(){return Object.keys(r)},n.exports=o,o.id="/fcW"},1:function(n,t,e){n.exports=e("x35b")},"1A80":function(n,t,e){"use strict";function o(n){return u["ɵvid"](0,[(n()(),u["ɵeld"](16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),u["ɵdid"](212992,null,0,l.z,[l.q,u.ViewContainerRef,u.ComponentFactoryResolver,[8,null],u.ChangeDetectorRef],null,null),(n()(),u["ɵted"](null,["\n"]))],function(n,t){n(t,1,0)},null)}function r(n){return u["ɵvid"](0,[(n()(),u["ɵeld"](0,null,null,1,"app-root",[],null,null,null,o,d)),u["ɵdid"](114688,null,0,c.a,[l.c],null,null)],function(n,t){n(t,1,0)},null)}var i=e("l0Vc"),u=e("3j3K"),l=e("5oXY"),c=e("YWx4");e.d(t,"a",function(){return s});var a=[i.a],d=u["ɵcrt"]({encapsulation:0,styles:a,data:{}}),s=u["ɵccf"]("app-root",c.a,r,{},{},[])},"7ldD":function(n,t,e){"use strict";function o(n){return u["ɵvid"](0,[(n()(),u["ɵeld"](0,null,null,4,"button",[["aria-label","Close"],["class","close"],["type","button"]],null,[[null,"click"]],function(n,t,e){var o=!0,r=n.component;if("click"===t){o=!1!==r.closeHandler()&&o}return o},null,null)),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵeld"](0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(n()(),u["ɵted"](null,["×"])),(n()(),u["ɵted"](null,["\n "]))],null,null)}function r(n){return u["ɵvid"](2,[(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵeld"](0,null,null,6,"div",[["role","alert"]],[[8,"className",0]],null,null,null,null)),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵand"](16777216,null,null,1,null,o)),u["ɵdid"](16384,null,0,l.NgIf,[u.ViewContainerRef,u.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),u["ɵted"](null,["\n "])),u["ɵncd"](null,0),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵted"](null,["\n "]))],function(n,t){n(t,4,0,t.component.dismissible)},function(n,t){var e=t.component;n(t,1,0,"alert alert-"+e.type+(e.dismissible?" alert-dismissible":""))})}function i(n){return u["ɵvid"](0,[(n()(),u["ɵeld"](0,null,null,1,"ngb-alert",[],null,null,null,a.b,a.c)),u["ɵdid"](49152,null,0,c.a,[d.a],null,null)],null,null)}var u=e("3j3K"),l=e("2Je8"),c=e("s28n"),a=e("7ldD"),d=e("gFLb");e.d(t,"c",function(){return p}),t.b=r,e.d(t,"a",function(){return f});var s=[],p=u["ɵcrt"]({encapsulation:2,styles:s,data:{}}),f=u["ɵccf"]("ngb-alert",c.a,i,{dismissible:"dismissible",type:"type"},{close:"close"},["*"])},"8z9O":function(n,t,e){"use strict";var o=e("5oXY");e.d(t,"a",function(){return r});var r=function(){function n(n){this.router=n}return n.prototype.canActivate=function(n,t){return!!sessionStorage.getItem("currentUser")||(this.router.navigate(["/login"]),!1)},n.ctorParameters=function(){return[{type:o.c}]},n}()},Cd9f:function(n,t,e){"use strict";var o=e("8z9O");e.d(t,"a",function(){return r});var r=(o.a,function(){function n(){}return n}())},Iksp:function(n,t,e){"use strict";e.d(t,"a",function(){return o});var o=function(){function n(){}return n}()},YWx4:function(n,t,e){"use strict";var o=e("5oXY");e.d(t,"a",function(){return r});var r=function(){function n(n){this.router=n}return n.prototype.ngOnInit=function(){},n.ctorParameters=function(){return[{type:o.c}]},n}()},Zwpz:function(n,t,e){"use strict";var o=e("x+30");e.d(t,"a",function(){return r});var r=function(){function n(){this.archivo=new o.b}return n.prototype.setArchivo=function(n){this.archivo=n},n.prototype.getArchivo=function(){return this.archivo},n.prototype.setArchivosTree=function(n){this.archivos=n},n.prototype.getArchivos=function(n){return void 0!=this.archivos?this.archivos:void 0!==n?this.archivos:void 0},n.prototype.setGrupos=function(n){this.grupos=n},n.prototype.getGrupos=function(){return this.grupos},n.prototype.setArchivosList=function(n){this.archivosList=n},n.prototype.getArchivosList=function(){return this.archivosList},n.prototype.getDependencias=function(){return this.dependencias},n.prototype.setDependencias=function(n){this.dependencias=n},n.prototype.reset=function(){this.archivo=new o.b,this.archivos=[],this.dependencias=[],this.archivosList=[],this.grupos=void 0},n.prototype.setDirectorioActual=function(n){this.directorioActual=n},n.prototype.cargarDependencias=function(n){var t=this.buildDependenciesTree(n,[]);if("miss"===t.status)return t;var e=this.toList(t.dependencies);return this.setDependencias(e),t},n.prototype.buildDependenciesTree=function(n,t){var e=n.contenido,o=this.extractIncludes(e),r=[],i={},u={};i.id=n.id,i.nombre=n.nombre,i.contenido=n.contenido;for(var l in o)if(!t.includes(o[l])){try{var c=this.directorioActual.archivos.filter(function(n){return n.nombre===o[l]})[0];t.push(n.nombre)}catch(n){}if(!c)return u.status="miss",u.nombre=o[l],u;var a=this.buildDependenciesTree(c,t);if("ok"!==a.status)return a;r.push(a.dependencies)}return i.hijos=r,u.status="ok",u.dependencies=i,u},n.prototype.toList=function(n){var t=[];t.push(n);for(var e in n.hijos){var o=this.toList(n.hijos[e]);t=t.concat(o)}return t},n.prototype.extractIncludes=function(n){for(var t,e=/.*incluir\s*(\w*).*/gm,o=[];null!==(t=e.exec(n));)t.index===e.lastIndex&&e.lastIndex++,t.forEach(function(n,t){1===t&&o.push(n)});return o},n}()},dBGY:function(n,t,e){"use strict";var o=e("5oXY"),r=e("EEr4");e.n(r);e.d(t,"a",function(){return i});var i=function(){function n(n){var t=this;this.router=n,this.subject=new r.Subject,this.keepAfterNavigationChange=!1,n.events.subscribe(function(n){n instanceof o.B&&(t.keepAfterNavigationChange?t.keepAfterNavigationChange=!1:t.subject.next())})}return n.prototype.success=function(n,t){void 0===t&&(t=!1),this.keepAfterNavigationChange=t,this.subject.next({type:"success",text:n})},n.prototype.info=function(n,t){void 0===t&&(t=!1),this.keepAfterNavigationChange=t,this.subject.next({type:"info",text:n})},n.prototype.warning=function(n,t){void 0===t&&(t=!1),this.keepAfterNavigationChange=t,this.subject.next({type:"warning",text:n})},n.prototype.error=function(n,t){void 0===t&&(t=!1),this.keepAfterNavigationChange=t,this.subject.next({type:"danger",text:n})},n.prototype.getMessage=function(){return this.subject.asObservable()},n.prototype.getMessageSubject=function(){return this.subject},n.ctorParameters=function(){return[{type:o.c}]},n}()},kZql:function(n,t,e){"use strict";e.d(t,"a",function(){return o});var o={production:!0}},"kd+i":function(n,t,e){"use strict";e.d(t,"a",function(){return o});var o=function(){function n(){}return n}()},kke6:function(n,t,e){"use strict";var o=e("3j3K"),r=e("Iksp"),i=e("YWx4"),u=e("7ldD"),l=e("1A80"),c=e("2Je8"),a=e("Qbdm"),d=e("NVOs"),s=e("Fzro"),p=e("5oXY"),f=e("8z9O"),m=e("Zwpz"),h=e("dBGY"),v=e("RX2M"),g=e("kd+i"),y=e("Cd9f");e.d(t,"a",function(){return b});var b=o["ɵcmf"](r.a,[i.a],function(n){return o["ɵmod"]([o["ɵmpd"](512,o.ComponentFactoryResolver,o["ɵCodegenComponentFactoryResolver"],[[8,[u.a,l.a]],[3,o.ComponentFactoryResolver],o.NgModuleRef]),o["ɵmpd"](5120,o.LOCALE_ID,o["ɵm"],[[3,o.LOCALE_ID]]),o["ɵmpd"](4608,c.NgLocalization,c.NgLocaleLocalization,[o.LOCALE_ID]),o["ɵmpd"](5120,o.APP_ID,o["ɵf"],[]),o["ɵmpd"](5120,o.IterableDiffers,o["ɵk"],[]),o["ɵmpd"](5120,o.KeyValueDiffers,o["ɵl"],[]),o["ɵmpd"](4608,a.b,a.c,[a.d]),o["ɵmpd"](6144,o.Sanitizer,null,[a.b]),o["ɵmpd"](4608,a.e,a.f,[]),o["ɵmpd"](5120,a.g,function(n,t,e,o){return[new a.h(n),new a.i(t),new a.j(e,o)]},[a.d,a.d,a.d,a.e]),o["ɵmpd"](4608,a.k,a.k,[a.g,o.NgZone]),o["ɵmpd"](135680,a.l,a.l,[a.d]),o["ɵmpd"](4608,a.m,a.m,[a.k,a.l]),o["ɵmpd"](6144,o.RendererFactory2,null,[a.m]),o["ɵmpd"](6144,a.n,null,[a.l]),o["ɵmpd"](4608,o.Testability,o.Testability,[o.NgZone]),o["ɵmpd"](4608,a.o,a.o,[a.d]),o["ɵmpd"](4608,a.p,a.p,[a.d]),o["ɵmpd"](4608,d["ɵi"],d["ɵi"],[]),o["ɵmpd"](4608,s.a,s.a,[]),o["ɵmpd"](4608,s.b,s.c,[]),o["ɵmpd"](5120,s.d,s.e,[]),o["ɵmpd"](4608,s.f,s.f,[s.a,s.b,s.d]),o["ɵmpd"](4608,s.g,s.h,[]),o["ɵmpd"](5120,s.i,s.j,[s.f,s.g]),o["ɵmpd"](5120,p.a,p.b,[p.c]),o["ɵmpd"](4608,p.d,p.d,[]),o["ɵmpd"](6144,p.e,null,[p.d]),o["ɵmpd"](135680,p.f,p.f,[p.c,o.NgModuleFactoryLoader,o.Compiler,o.Injector,p.e]),o["ɵmpd"](4608,p.g,p.g,[]),o["ɵmpd"](5120,p.h,p.i,[p.j]),o["ɵmpd"](5120,o.APP_BOOTSTRAP_LISTENER,function(n){return[n]},[p.h]),o["ɵmpd"](4608,f.a,f.a,[p.c]),o["ɵmpd"](4608,m.a,m.a,[]),o["ɵmpd"](4608,h.a,h.a,[p.c]),o["ɵmpd"](512,c.CommonModule,c.CommonModule,[]),o["ɵmpd"](1024,p.k,p.l,[[3,p.c]]),o["ɵmpd"](1024,o.ErrorHandler,a.q,[]),o["ɵmpd"](1024,o.NgProbeToken,function(){return[p.m()]},[]),o["ɵmpd"](512,p.j,p.j,[o.Injector]),o["ɵmpd"](1024,o.APP_INITIALIZER,function(n,t,e){return[a.r(n,t),p.n(e)]},[[2,a.s],[2,o.NgProbeToken],p.j]),o["ɵmpd"](512,o.ApplicationInitStatus,o.ApplicationInitStatus,[[2,o.APP_INITIALIZER]]),o["ɵmpd"](131584,o["ɵe"],o["ɵe"],[o.NgZone,o["ɵConsole"],o.Injector,o.ErrorHandler,o.ComponentFactoryResolver,o.ApplicationInitStatus]),o["ɵmpd"](2048,o.ApplicationRef,null,[o["ɵe"]]),o["ɵmpd"](512,p.o,p.p,[]),o["ɵmpd"](512,p.q,p.q,[]),o["ɵmpd"](256,p.r,{useHash:!0},[]),o["ɵmpd"](1024,c.LocationStrategy,p.s,[c.PlatformLocation,[2,c.APP_BASE_HREF],p.r]),o["ɵmpd"](512,c.Location,c.Location,[c.LocationStrategy]),o["ɵmpd"](512,o.Compiler,o.Compiler,[]),o["ɵmpd"](512,o.NgModuleFactoryLoader,o.SystemJsNgModuleLoader,[o.Compiler,[2,o.SystemJsNgModuleLoaderConfig]]),o["ɵmpd"](1024,p.t,function(){return[[{path:"",loadChildren:"./layout/layout.module#LayoutModule",canActivate:[f.a]},{path:"login",loadChildren:"./login/login.module#LoginModule"},{path:"not-found",loadChildren:"./not-found/not-found.module#NotFoundModule"},{path:"**",redirectTo:"not-found"}]]},[]),o["ɵmpd"](1024,p.c,p.u,[o.ApplicationRef,p.o,p.q,c.Location,o.Injector,o.NgModuleFactoryLoader,o.Compiler,p.t,p.r,[2,p.v],[2,p.w]]),o["ɵmpd"](512,p.x,p.x,[[2,p.k],[2,p.c]]),o["ɵmpd"](512,v.a,v.a,[]),o["ɵmpd"](512,g.a,g.a,[]),o["ɵmpd"](512,o.ApplicationModule,o.ApplicationModule,[o.ApplicationRef]),o["ɵmpd"](512,a.t,a.t,[[3,a.t]]),o["ɵmpd"](512,d["ɵba"],d["ɵba"],[]),o["ɵmpd"](512,d.FormsModule,d.FormsModule,[]),o["ɵmpd"](512,s.k,s.k,[]),o["ɵmpd"](512,y.a,y.a,[]),o["ɵmpd"](512,r.a,r.a,[])])})},l0Vc:function(n,t,e){"use strict";e.d(t,"a",function(){return o});var o=[""]},"x+30":function(n,t,e){"use strict";e.d(t,"a",function(){return o}),e.d(t,"b",function(){return r});var o=function(){function n(){}return n}(),r=function(){function n(){}return n}()},x35b:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("3j3K"),r=e("kZql"),i=e("Qbdm"),u=e("kke6");r.a.production&&e.i(o.enableProdMode)(),e.i(i.a)().bootstrapModuleFactory(u.a)}},[1]); \ No newline at end of file diff --git a/Servidor JEE/WebContent/main.b97df27904c57669405d.bundle.js b/Servidor JEE/WebContent/main.b97df27904c57669405d.bundle.js new file mode 100644 index 0000000000000000000000000000000000000000..7e1514f3837435e31cc5133a465ab22d2184a799 --- /dev/null +++ b/Servidor JEE/WebContent/main.b97df27904c57669405d.bundle.js @@ -0,0 +1 @@ +webpackJsonp([8],{"+h1B":function(t,n,e){"use strict";var o=e("/oeL"),r=e("aR8+"),i=e("wQAS"),u=e("CVNG"),c=e("q4dy"),a=e("qbdv"),s=e("fc+i"),d=e("bm2B"),p=e("CPp0"),l=e("BkNc"),f=e("NHJA"),m=e("h7Ol"),h=e("uiTn"),v=e("wnyu"),g=e("DYHI"),y=e("vnfH");e.d(n,"a",function(){return b});var b=o["ɵcmf"](r.a,[i.a],function(t){return o["ɵmod"]([o["ɵmpd"](512,o.ComponentFactoryResolver,o["ɵCodegenComponentFactoryResolver"],[[8,[u.a,c.a]],[3,o.ComponentFactoryResolver],o.NgModuleRef]),o["ɵmpd"](5120,o.LOCALE_ID,o["ɵm"],[[3,o.LOCALE_ID]]),o["ɵmpd"](4608,a.NgLocalization,a.NgLocaleLocalization,[o.LOCALE_ID]),o["ɵmpd"](5120,o.APP_ID,o["ɵf"],[]),o["ɵmpd"](5120,o.IterableDiffers,o["ɵk"],[]),o["ɵmpd"](5120,o.KeyValueDiffers,o["ɵl"],[]),o["ɵmpd"](4608,s.b,s.c,[a.DOCUMENT]),o["ɵmpd"](6144,o.Sanitizer,null,[s.b]),o["ɵmpd"](4608,s.d,s.e,[]),o["ɵmpd"](5120,s.f,function(t,n,e,o){return[new s.g(t),new s.h(n),new s.i(e,o)]},[a.DOCUMENT,a.DOCUMENT,a.DOCUMENT,s.d]),o["ɵmpd"](4608,s.j,s.j,[s.f,o.NgZone]),o["ɵmpd"](135680,s.k,s.k,[a.DOCUMENT]),o["ɵmpd"](4608,s.l,s.l,[s.j,s.k]),o["ɵmpd"](6144,o.RendererFactory2,null,[s.l]),o["ɵmpd"](6144,s.m,null,[s.k]),o["ɵmpd"](4608,o.Testability,o.Testability,[o.NgZone]),o["ɵmpd"](4608,s.n,s.n,[a.DOCUMENT]),o["ɵmpd"](4608,s.o,s.o,[a.DOCUMENT]),o["ɵmpd"](4608,d["ɵi"],d["ɵi"],[]),o["ɵmpd"](4608,p.a,p.a,[]),o["ɵmpd"](4608,p.b,p.c,[]),o["ɵmpd"](5120,p.d,p.e,[]),o["ɵmpd"](4608,p.f,p.f,[p.a,p.b,p.d]),o["ɵmpd"](4608,p.g,p.h,[]),o["ɵmpd"](5120,p.i,p.j,[p.f,p.g]),o["ɵmpd"](5120,l.a,l.b,[l.c]),o["ɵmpd"](4608,l.d,l.d,[]),o["ɵmpd"](6144,l.e,null,[l.d]),o["ɵmpd"](135680,l.f,l.f,[l.c,o.NgModuleFactoryLoader,o.Compiler,o.Injector,l.e]),o["ɵmpd"](4608,l.g,l.g,[]),o["ɵmpd"](5120,l.h,l.i,[l.j]),o["ɵmpd"](5120,o.APP_BOOTSTRAP_LISTENER,function(t){return[t]},[l.h]),o["ɵmpd"](4608,f.a,f.a,[l.c]),o["ɵmpd"](4608,m.a,m.a,[]),o["ɵmpd"](4608,h.a,h.a,[l.c]),o["ɵmpd"](512,a.CommonModule,a.CommonModule,[]),o["ɵmpd"](1024,l.k,l.l,[[3,l.c]]),o["ɵmpd"](1024,o.ErrorHandler,s.p,[]),o["ɵmpd"](1024,o.NgProbeToken,function(){return[l.m()]},[]),o["ɵmpd"](512,l.j,l.j,[o.Injector]),o["ɵmpd"](1024,o.APP_INITIALIZER,function(t,n,e){return[s.q(t,n),l.n(e)]},[[2,s.r],[2,o.NgProbeToken],l.j]),o["ɵmpd"](512,o.ApplicationInitStatus,o.ApplicationInitStatus,[[2,o.APP_INITIALIZER]]),o["ɵmpd"](131584,o["ɵe"],o["ɵe"],[o.NgZone,o["ɵConsole"],o.Injector,o.ErrorHandler,o.ComponentFactoryResolver,o.ApplicationInitStatus]),o["ɵmpd"](2048,o.ApplicationRef,null,[o["ɵe"]]),o["ɵmpd"](512,l.o,l.p,[]),o["ɵmpd"](512,l.q,l.q,[]),o["ɵmpd"](256,l.r,{useHash:!0},[]),o["ɵmpd"](1024,a.LocationStrategy,l.s,[a.PlatformLocation,[2,a.APP_BASE_HREF],l.r]),o["ɵmpd"](512,a.Location,a.Location,[a.LocationStrategy]),o["ɵmpd"](512,o.Compiler,o.Compiler,[]),o["ɵmpd"](512,o.NgModuleFactoryLoader,o.SystemJsNgModuleLoader,[o.Compiler,[2,o.SystemJsNgModuleLoaderConfig]]),o["ɵmpd"](1024,l.t,function(){return[[{path:"",loadChildren:"./layout/layout.module#LayoutModule",canActivate:[f.a]},{path:"login",loadChildren:"./login/login.module#LoginModule"},{path:"not-found",loadChildren:"./not-found/not-found.module#NotFoundModule"},{path:"**",redirectTo:"not-found"}]]},[]),o["ɵmpd"](1024,l.c,l.u,[o.ApplicationRef,l.o,l.q,a.Location,o.Injector,o.NgModuleFactoryLoader,o.Compiler,l.t,l.r,[2,l.v],[2,l.w]]),o["ɵmpd"](512,l.x,l.x,[[2,l.k],[2,l.c]]),o["ɵmpd"](512,v.a,v.a,[]),o["ɵmpd"](512,g.a,g.a,[]),o["ɵmpd"](512,o.ApplicationModule,o.ApplicationModule,[o.ApplicationRef]),o["ɵmpd"](512,s.s,s.s,[[3,s.s]]),o["ɵmpd"](512,d["ɵba"],d["ɵba"],[]),o["ɵmpd"](512,d.FormsModule,d.FormsModule,[]),o["ɵmpd"](512,p.k,p.k,[]),o["ɵmpd"](512,y.a,y.a,[]),o["ɵmpd"](512,r.a,r.a,[])])})},1:function(t,n,e){t.exports=e("cDNt")},"78g9":function(t,n,e){"use strict";e.d(n,"a",function(){return o}),e.d(n,"b",function(){return r});var o=function(){function t(){}return t}(),r=function(){function t(){}return t}()},DYHI:function(t,n,e){"use strict";e.d(n,"a",function(){return o});var o=function(){function t(){}return t}()},NHJA:function(t,n,e){"use strict";var o=e("BkNc");e.d(n,"a",function(){return r});var r=function(){function t(t){this.router=t}return t.prototype.canActivate=function(t,n){return!!sessionStorage.getItem("currentUser")||(this.router.navigate(["/login"]),!1)},t.ctorParameters=function(){return[{type:o.c}]},t}()},"aR8+":function(t,n,e){"use strict";e.d(n,"a",function(){return o});var o=function(){function t(){}return t}()},cDNt:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e("/oeL"),r=e("p5Ee"),i=e("+h1B"),u=e("fc+i");r.a.production&&e.i(o.enableProdMode)(),e.i(u.a)().bootstrapModuleFactory(i.a)},h7Ol:function(t,n,e){"use strict";var o=e("78g9");e.d(n,"a",function(){return r});var r=function(){function t(){this.archivo=new o.b}return t.prototype.setArchivo=function(t){this.archivo=t},t.prototype.getArchivo=function(){return this.archivo},t.prototype.setArchivosTree=function(t){this.archivos=t},t.prototype.getArchivos=function(t){return void 0!=this.archivos?this.archivos:void 0!==t?this.archivos:void 0},t.prototype.setGrupos=function(t){this.grupos=t},t.prototype.getGrupos=function(){return this.grupos},t.prototype.setArchivosList=function(t){this.archivosList=t},t.prototype.getArchivosList=function(){return this.archivosList},t.prototype.getDependencias=function(){return this.dependencias},t.prototype.setDependencias=function(t){this.dependencias=t},t.prototype.reset=function(){this.archivo=new o.b,this.archivos=[],this.dependencias=[],this.archivosList=[],this.grupos=void 0},t.prototype.setDirectorioActual=function(t){this.directorioActual=t},t.prototype.cargarDependencias=function(t){var n=this.buildDependenciesTree(t,[]);if("miss"===n.status)return n;var e=this.toList(n.dependencies);return this.setDependencias(e),n},t.prototype.buildDependenciesTree=function(t,n){var e=t.contenido,o=this.extractIncludes(e),r=[],i={},u={};i.id=t.id,i.nombre=t.nombre,i.contenido=t.contenido;for(var c in o)if(!n.includes(o[c])){try{var a=this.directorioActual.archivos.filter(function(t){return t.nombre===o[c]})[0];n.push(t.nombre)}catch(t){}if(!a)return u.status="miss",u.nombre=o[c],u;var s=this.buildDependenciesTree(a,n);if("ok"!==s.status)return s;r.push(s.dependencies)}return i.hijos=r,u.status="ok",u.dependencies=i,u},t.prototype.toList=function(t){var n=[];n.push(t);for(var e in t.hijos){var o=this.toList(t.hijos[e]);n=n.concat(o)}return n},t.prototype.extractIncludes=function(t){for(var n,e=/.*incluir\s*(\w*).*/gm,o=[];null!==(n=e.exec(t));)n.index===e.lastIndex&&e.lastIndex++,n.forEach(function(t,n){1===n&&o.push(t)});return o},t}()},k7ea:function(t,n,e){"use strict";e.d(n,"a",function(){return o});var o=[""]},p5Ee:function(t,n,e){"use strict";e.d(n,"a",function(){return o});var o={production:!0}},q4dy:function(t,n,e){"use strict";function o(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),u["ɵdid"](1,212992,null,0,c.z,[c.q,u.ViewContainerRef,u.ComponentFactoryResolver,[8,null],u.ChangeDetectorRef],null,null),(t()(),u["ɵted"](-1,null,["\n"]))],function(t,n){t(n,1,0)},null)}function r(t){return u["ɵvid"](0,[(t()(),u["ɵeld"](0,0,null,null,1,"app-root",[],null,null,null,o,d)),u["ɵdid"](1,114688,null,0,a.a,[c.c],null,null)],function(t,n){t(n,1,0)},null)}var i=e("k7ea"),u=e("/oeL"),c=e("BkNc"),a=e("wQAS");e.d(n,"a",function(){return p});var s=[i.a],d=u["ɵcrt"]({encapsulation:0,styles:s,data:{}}),p=u["ɵccf"]("app-root",a.a,r,{},{},[])},qtrl:function(t,n,e){function o(t){var n=r[t];return n?Promise.all(n.slice(1).map(e.e)).then(function(){return e(n[0])}):Promise.reject(new Error("Cannot find module '"+t+"'."))}var r={"./archivos/archivos.module.ngfactory":["sBhe",0,2],"./grupos/grupos.module.ngfactory":["ydqn",0,4],"./layout/layout.module.ngfactory":["7fD3",0,3],"./login/login.module.ngfactory":["njmd",0,6],"./matefun/matefun.module.ngfactory":["SVb2",0,1],"./not-found/not-found.module.ngfactory":["Vg0N",5]};o.keys=function(){return Object.keys(r)},t.exports=o,o.id="qtrl"},uiTn:function(t,n,e){"use strict";var o=e("BkNc"),r=e("rlar");e.n(r);e.d(n,"a",function(){return i});var i=function(){function t(t){var n=this;this.router=t,this.subject=new r.Subject,this.keepAfterNavigationChange=!1,t.events.subscribe(function(t){t instanceof o.B&&(n.keepAfterNavigationChange?n.keepAfterNavigationChange=!1:n.subject.next())})}return t.prototype.success=function(t,n){void 0===n&&(n=!1),this.keepAfterNavigationChange=n,this.subject.next({type:"success",text:t})},t.prototype.info=function(t,n){void 0===n&&(n=!1),this.keepAfterNavigationChange=n,this.subject.next({type:"info",text:t})},t.prototype.warning=function(t,n){void 0===n&&(n=!1),this.keepAfterNavigationChange=n,this.subject.next({type:"warning",text:t})},t.prototype.error=function(t,n){void 0===n&&(n=!1),this.keepAfterNavigationChange=n,this.subject.next({type:"danger",text:t})},t.prototype.getMessage=function(){return this.subject.asObservable()},t.prototype.getMessageSubject=function(){return this.subject},t.ctorParameters=function(){return[{type:o.c}]},t}()},vnfH:function(t,n,e){"use strict";var o=e("NHJA");e.d(n,"a",function(){return r});var r=(o.a,function(){function t(){}return t}())},wQAS:function(t,n,e){"use strict";var o=e("BkNc");e.d(n,"a",function(){return r});var r=function(){function t(t){this.router=t}return t.prototype.ngOnInit=function(){},t.ctorParameters=function(){return[{type:o.c}]},t}()}},[1]); \ No newline at end of file diff --git a/Servidor JEE/WebContent/polyfills.0ae3b4f3e37e6249952f.bundle.js b/Servidor JEE/WebContent/polyfills.0ae3b4f3e37e6249952f.bundle.js new file mode 100644 index 0000000000000000000000000000000000000000..cb05603a4d24fd1e8bd954c956370fe90ba9a7f9 --- /dev/null +++ b/Servidor JEE/WebContent/polyfills.0ae3b4f3e37e6249952f.bundle.js @@ -0,0 +1 @@ +webpackJsonp([7],{"+GRi":function(e,t,n){var r=n("Wo2w"),o=n("Wy9r");e.exports=function(e){return r(o(e))}},"+Q6C":function(e,t,n){var r=n("CDXM"),o=n("6De9").f,i=n("+pQw");r(r.S,"Reflect",{deleteProperty:function(e,t){var n=o(i(e),t);return!(n&&!n.configurable)&&delete e[t]}})},"+iEx":function(e,t,n){n("fHxy"),n("5GJ3"),n("X0O/"),n("HCkn"),n("ncNB"),n("soMw"),n("8sYH"),n("IJ3P"),n("t6ta"),e.exports=n("b4gG").Reflect},"+pQw":function(e,t,n){var r=n("JXkd");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},"/XRd":function(e,t,n){var r=n("tose"),o=n("CDXM"),i=n("+pQw"),a=n("A1WY");o(o.S+o.F*n("umMR")(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){i(e),t=a(t,!0),i(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},"/wY1":function(e,t,n){n("rMMT"),n("dlwK"),n("/XRd"),n("+Q6C"),n("dBNB"),n("7Fno"),n("gZpL"),n("dSHT"),n("d+61"),n("V2Dj"),n("wJYt"),n("gdNQ"),n("VsLy"),n("wLW2"),e.exports=n("b4gG").Reflect},2:function(e,t,n){e.exports=n("TU+8")},"2Fuj":function(e,t,n){var r=n("R5c1"),o=n("a/Sk");e.exports=Object.keys||function(e){return r(e,o)}},"3LDD":function(e,t,n){"use strict";var r=n("tose").f,o=n("51pc"),i=n("pBmS"),a=n("pa70"),c=n("Lcie"),u=n("p/bR"),s=n("WsSm"),l=n("w/BM"),f=n("KpXt"),p=n("V+0c"),h=n("xI8H").fastKey,v=n("Y5fy"),d=p?"_s":"size",y=function(e,t){var n,r=h(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,s){var l=e(function(e,r){c(e,l,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[d]=0,void 0!=r&&u(r,n,e[s],e)});return i(l.prototype,{clear:function(){for(var e=v(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[d]=0},delete:function(e){var n=v(this,t),r=y(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[d]--}return!!r},forEach:function(e){v(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!y(v(this,t),e)}}),p&&r(l.prototype,"size",{get:function(){return v(this,t)[d]}}),l},def:function(e,t,n){var r,o,i=y(e,t);return i?i.v=n:(e._l=i={i:o=h(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[d]++,"F"!==o&&(e._i[o]=i)),e},getEntry:y,setStrong:function(e,t,n){s(e,t,function(e,n){this._t=v(e,t),this._k=n,this._l=void 0},function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?"keys"==t?l(0,n.k):"values"==t?l(0,n.v):l(0,[n.k,n.v]):(e._t=void 0,l(1))},n?"entries":"values",!n,!0),f(t)}}},"3r0D":function(e,t,n){var r=n("Iclu")("wks"),o=n("c09d"),i=n("ptrv").Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},"51pc":function(e,t,n){var r=n("+pQw"),o=n("ewdp"),i=n("a/Sk"),a=n("yIWP")("IE_PROTO"),c=function(){},u=function(){var e,t=n("BQSv")("iframe"),r=i.length;for(t.style.display="none",n("Ed9o").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;r--;)delete u.prototype[i[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(c.prototype=r(e),n=new c,c.prototype=null,n[a]=e):n=u(),void 0===t?n:o(n,t)}},"5GJ3":function(e,t,n){var r=n("gBtn"),o=n("+pQw"),i=r.key,a=r.map,c=r.store;r.exp({deleteMetadata:function(e,t){var n=arguments.length<3?void 0:i(arguments[2]),r=a(o(t),n,!1);if(void 0===r||!r.delete(e))return!1;if(r.size)return!0;var u=c.get(t);return u.delete(n),!!u.size||c.delete(t)}})},"5b+r":function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},"5oDA":function(e,t,n){var r=n("JXkd"),o=n("+pQw"),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n("pa70")(Function.call,n("6De9").f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},"6De9":function(e,t,n){var r=n("9e9+"),o=n("piOq"),i=n("+GRi"),a=n("A1WY"),c=n("rMsi"),u=n("gNkH"),s=Object.getOwnPropertyDescriptor;t.f=n("V+0c")?s:function(e,t){if(e=i(e),t=a(t,!0),u)try{return s(e,t)}catch(e){}if(c(e,t))return o(!r.f.call(e,t),e[t])}},"7Fno":function(e,t,n){function r(e,t){var n,c,l=arguments.length<3?e:arguments[2];return s(e)===l?e[t]:(n=o.f(e,t))?a(n,"value")?n.value:void 0!==n.get?n.get.call(l):void 0:u(c=i(e))?r(c,t,l):void 0}var o=n("6De9"),i=n("TJLg"),a=n("rMsi"),c=n("CDXM"),u=n("JXkd"),s=n("+pQw");c(c.S,"Reflect",{get:r})},"8sYH":function(e,t,n){var r=n("gBtn"),o=n("+pQw"),i=n("TJLg"),a=r.has,c=r.key,u=function(e,t,n){if(a(e,t,n))return!0;var r=i(t);return null!==r&&u(e,r,n)};r.exp({hasMetadata:function(e,t){return u(e,o(t),arguments.length<3?void 0:c(arguments[2]))}})},"9ScN":function(e,t,n){"use strict";var r=n("51pc"),o=n("piOq"),i=n("P6IN"),a={};n("gxdV")(a,n("3r0D")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},"9e9+":function(e,t){t.f={}.propertyIsEnumerable},"9wYb":function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},A1WY:function(e,t,n){var r=n("JXkd");e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},BCYq:function(e,t,n){var r=n("pa70"),o=n("Wo2w"),i=n("RT4T"),a=n("rppw"),c=n("UKZQ");e.exports=function(e,t){var n=1==e,u=2==e,s=3==e,l=4==e,f=6==e,p=5==e||f,h=t||c;return function(t,c,v){for(var d,y,g=i(t),k=o(g),m=r(c,v,3),_=a(k.length),b=0,w=n?h(t,_):u?h(t,0):void 0;_>b;b++)if((p||b in k)&&(d=k[b],y=m(d,b,g),e))if(n)w[b]=y;else if(y)switch(e){case 3:return!0;case 5:return d;case 6:return b;case 2:w.push(d)}else if(l)return!1;return f?-1:s||l?l:w}}},BQSv:function(e,t,n){var r=n("JXkd"),o=n("ptrv").document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},CDXM:function(e,t,n){var r=n("ptrv"),o=n("b4gG"),i=n("gxdV"),a=n("lfBE"),c=n("pa70"),u=function(e,t,n){var s,l,f,p,h=e&u.F,v=e&u.G,d=e&u.S,y=e&u.P,g=e&u.B,k=v?r:d?r[t]||(r[t]={}):(r[t]||{}).prototype,m=v?o:o[t]||(o[t]={}),_=m.prototype||(m.prototype={});v&&(n=t);for(s in n)l=!h&&k&&void 0!==k[s],f=(l?k:n)[s],p=g&&l?c(f,r):y&&"function"==typeof f?c(Function.call,f):f,k&&a(k,s,f,e&u.U),m[s]!=f&&i(m,s,p),y&&_[s]!=f&&(_[s]=f)};r.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},Ed9o:function(e,t,n){var r=n("ptrv").document;e.exports=r&&r.documentElement},HCkn:function(e,t,n){var r=n("Ps07"),o=n("WGJ/"),i=n("gBtn"),a=n("+pQw"),c=n("TJLg"),u=i.keys,s=i.key,l=function(e,t){var n=u(e,t),i=c(e);if(null===i)return n;var a=l(i,t);return a.length?n.length?o(new r(n.concat(a))):a:n};i.exp({getMetadataKeys:function(e){return l(a(e),arguments.length<2?void 0:s(arguments[1]))}})},IJ3P:function(e,t,n){var r=n("gBtn"),o=n("+pQw"),i=r.has,a=r.key;r.exp({hasOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:a(arguments[2]))}})},Iclu:function(e,t,n){var r=n("ptrv"),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return o[e]||(o[e]={})}},JXkd:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},KGrn:function(e,t){e.exports=!1},KM3d:function(e,t,n){var r=n("9wYb"),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},"KpI+":function(e,t,n){var r=n("lexG"),o=n("3r0D")("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},KpXt:function(e,t,n){"use strict";var r=n("ptrv"),o=n("tose"),i=n("V+0c"),a=n("3r0D")("species");e.exports=function(e){var t=r[e];i&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},Lcie:function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},NISB:function(e,t,n){var r=n("PNtC"),o=n("lzDK"),i=n("+pQw"),a=n("ptrv").Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},P6IN:function(e,t,n){var r=n("tose").f,o=n("rMsi"),i=n("3r0D")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},PNtC:function(e,t,n){var r=n("R5c1"),o=n("a/Sk").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},Ps07:function(e,t,n){"use strict";var r=n("3LDD"),o=n("Y5fy");e.exports=n("cpZ/")("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(o(this,"Set"),e=0===e?0:e,e)}},r)},QZhw:function(e,t,n){"use strict";var r,o=n("BCYq")(0),i=n("lfBE"),a=n("xI8H"),c=n("rIdM"),u=n("XRS9"),s=n("JXkd"),l=n("umMR"),f=n("Y5fy"),p=a.getWeak,h=Object.isExtensible,v=u.ufstore,d={},y=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},g={get:function(e){if(s(e)){var t=p(e);return!0===t?v(f(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(f(this,"WeakMap"),e,t)}},k=e.exports=n("cpZ/")("WeakMap",y,g,u,!0,!0);l(function(){return 7!=(new k).set((Object.freeze||Object)(d),7).get(d)})&&(r=u.getConstructor(y,"WeakMap"),c(r.prototype,g),a.NEED=!0,o(["delete","has","get","set"],function(e){var t=k.prototype,n=t[e];i(t,e,function(t,o){if(s(t)&&!h(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)})}))},R5c1:function(e,t,n){var r=n("rMsi"),o=n("+GRi"),i=n("vyV2")(!1),a=n("yIWP")("IE_PROTO");e.exports=function(e,t){var n,c=o(e),u=0,s=[];for(n in c)n!=a&&r(c,n)&&s.push(n);for(;t.length>u;)r(c,n=t[u++])&&(~i(s,n)||s.push(n));return s}},RT4T:function(e,t,n){var r=n("Wy9r");e.exports=function(e){return Object(r(e))}},TJLg:function(e,t,n){var r=n("rMsi"),o=n("RT4T"),i=n("yIWP")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},"TU+8":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("/wY1"),o=(n.n(r),n("+iEx")),i=(n.n(o),n("eFQL"));n.n(i)},UKZQ:function(e,t,n){var r=n("a7b8");e.exports=function(e,t){return new(r(e))(t)}},ULWX:function(e,t,n){var r=n("+pQw");e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},UlVq:function(e,t,n){var r=n("3r0D")("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},Ula3:function(e,t,n){var r=n("JXkd"),o=n("5oDA").set;e.exports=function(e,t,n){var i,a=t.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(e,i),e}},"V+0c":function(e,t,n){e.exports=!n("umMR")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},V2Dj:function(e,t,n){var r=n("CDXM"),o=n("+pQw"),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return o(e),!i||i(e)}})},VceJ:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},VsLy:function(e,t,n){function r(e,t,n){var u,p,h=arguments.length<4?e:arguments[3],v=i.f(l(e),t);if(!v){if(f(p=a(e)))return r(p,t,n,h);v=s(0)}return c(v,"value")?!(!1===v.writable||!f(h))&&(u=i.f(h,t)||s(0),u.value=n,o.f(h,t,u),!0):void 0!==v.set&&(v.set.call(h,n),!0)}var o=n("tose"),i=n("6De9"),a=n("TJLg"),c=n("rMsi"),u=n("CDXM"),s=n("piOq"),l=n("+pQw"),f=n("JXkd");u(u.S,"Reflect",{set:r})},"WGJ/":function(e,t,n){var r=n("p/bR");e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},Wo2w:function(e,t,n){var r=n("VceJ");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},WsSm:function(e,t,n){"use strict";var r=n("KGrn"),o=n("CDXM"),i=n("lfBE"),a=n("gxdV"),c=n("rMsi"),u=n("lexG"),s=n("9ScN"),l=n("P6IN"),f=n("TJLg"),p=n("3r0D")("iterator"),h=!([].keys&&"next"in[].keys()),v=function(){return this};e.exports=function(e,t,n,d,y,g,k){s(n,t,d);var m,_,b,w=function(e){if(!h&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},T=t+" Iterator",E="values"==y,O=!1,x=e.prototype,S=x[p]||x["@@iterator"]||y&&x[y],D=S||w(y),M=y?E?w("entries"):D:void 0,P="Array"==t?x.entries||S:S;if(P&&(b=f(P.call(new e)))!==Object.prototype&&b.next&&(l(b,T,!0),r||c(b,p)||a(b,p,v)),E&&S&&"values"!==S.name&&(O=!0,D=function(){return S.call(this)}),r&&!k||!h&&!O&&x[p]||a(x,p,D),u[t]=D,u[T]=v,y)if(m={values:E?D:w("values"),keys:g?D:w("keys"),entries:M},k)for(_ in m)_ in x||i(x,_,m[_]);else o(o.P+o.F*(h||O),t,m);return m}},Wy9r:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"X0O/":function(e,t,n){var r=n("gBtn"),o=n("+pQw"),i=n("TJLg"),a=r.has,c=r.get,u=r.key,s=function(e,t,n){if(a(e,t,n))return c(e,t,n);var r=i(t);return null!==r?s(e,r,n):void 0};r.exp({getMetadata:function(e,t){return s(e,o(t),arguments.length<3?void 0:u(arguments[2]))}})},XRS9:function(e,t,n){"use strict";var r=n("pBmS"),o=n("xI8H").getWeak,i=n("+pQw"),a=n("JXkd"),c=n("Lcie"),u=n("p/bR"),s=n("BCYq"),l=n("rMsi"),f=n("Y5fy"),p=s(5),h=s(6),v=0,d=function(e){return e._l||(e._l=new y)},y=function(){this.a=[]},g=function(e,t){return p(e.a,function(e){return e[0]===t})};y.prototype={get:function(e){var t=g(this,e);if(t)return t[1]},has:function(e){return!!g(this,e)},set:function(e,t){var n=g(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=h(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var s=e(function(e,r){c(e,s,t,"_i"),e._t=t,e._i=v++,e._l=void 0,void 0!=r&&u(r,n,e[i],e)});return r(s.prototype,{delete:function(e){if(!a(e))return!1;var n=o(e);return!0===n?d(f(this,t)).delete(e):n&&l(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=o(e);return!0===n?d(f(this,t)).has(e):n&&l(n,this._i)}}),s},def:function(e,t,n){var r=o(i(t),!0);return!0===r?d(e).set(t,n):r[e._i]=n,e},ufstore:d}},Y5fy:function(e,t,n){var r=n("JXkd");e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},ZI9W:function(e,t,n){"use strict";var r=n("3LDD"),o=n("Y5fy");e.exports=n("cpZ/")("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)},"a/Sk":function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},a7b8:function(e,t,n){var r=n("JXkd"),o=n("rKhO"),i=n("3r0D")("species");e.exports=function(e){var t;return o(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},b4gG:function(e,t){var n=e.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},c09d:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},"cpZ/":function(e,t,n){"use strict";var r=n("ptrv"),o=n("CDXM"),i=n("lfBE"),a=n("pBmS"),c=n("xI8H"),u=n("p/bR"),s=n("Lcie"),l=n("JXkd"),f=n("umMR"),p=n("UlVq"),h=n("P6IN"),v=n("Ula3");e.exports=function(e,t,n,d,y,g){var k=r[e],m=k,_=y?"set":"add",b=m&&m.prototype,w={},T=function(e){var t=b[e];i(b,e,"delete"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!l(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof m&&(g||b.forEach&&!f(function(){(new m).entries().next()}))){var E=new m,O=E[_](g?{}:-0,1)!=E,x=f(function(){E.has(1)}),S=p(function(e){new m(e)}),D=!g&&f(function(){for(var e=new m,t=5;t--;)e[_](t,t);return!e.has(-0)});S||(m=t(function(t,n){s(t,m,e);var r=v(new k,t,m);return void 0!=n&&u(n,y,r[_],r),r}),m.prototype=b,b.constructor=m),(x||D)&&(T("delete"),T("has"),y&&T("get")),(D||O)&&T(_),g&&b.clear&&delete b.clear}else m=d.getConstructor(t,e,y,_),a(m.prototype,n),c.NEED=!0;return h(m,e),w[e]=m,o(o.G+o.W+o.F*(m!=k),w),g||d.setStrong(m,e,y),m}},"d+61":function(e,t,n){var r=n("CDXM");r(r.S,"Reflect",{has:function(e,t){return t in e}})},dBNB:function(e,t,n){"use strict";var r=n("CDXM"),o=n("+pQw"),i=function(e){this._t=o(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n("9ScN")(i,"Object",function(){var e,t=this,n=t._k;do{if(t._i>=n.length)return{value:void 0,done:!0}}while(!((e=n[t._i++])in t._t));return{value:e,done:!1}}),r(r.S,"Reflect",{enumerate:function(e){return new i(e)}})},dSHT:function(e,t,n){var r=n("CDXM"),o=n("TJLg"),i=n("+pQw");r(r.S,"Reflect",{getPrototypeOf:function(e){return o(i(e))}})},"dXJ/":function(e,t,n){var r=n("VceJ"),o=n("3r0D")("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,c;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:i?r(t):"Object"==(c=r(t))&&"function"==typeof t.callee?"Arguments":c}},dlwK:function(e,t,n){var r=n("CDXM"),o=n("51pc"),i=n("uNkO"),a=n("+pQw"),c=n("JXkd"),u=n("umMR"),s=n("p9up"),l=(n("ptrv").Reflect||{}).construct,f=u(function(){function e(){}return!(l(function(){},[],e)instanceof e)}),p=!u(function(){l(function(){})});r(r.S+r.F*(f||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return l(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var u=n.prototype,h=o(c(u)?u:Object.prototype),v=Function.apply.call(e,h,t);return c(v)?v:h}})},eFQL:function(e,t,n){(function(e){!function(e,t){t()}(0,function(){"use strict";function t(e,t){for(var n=e.length-1;n>=0;n--)typeof e[n]===Z&&(e[n]=Zone.current.wrap(e[n],t+"_"+n));return e}function n(e,n){for(var o=e.constructor.name,i=0;i<n.length;i++)!function(i){var a=n[i],c=e[a];if(c){if(!r(Object.getOwnPropertyDescriptor(e,a)))return"continue";e[a]=function(e){var n=function(){return e.apply(this,t(arguments,o+"."+a))};return s(n,e),n}(c)}}(i)}function r(e){return!e||!1!==e.writable&&(typeof e.get!==Z||typeof e.set!==C)}function o(e,t,n){var r=Object.getOwnPropertyDescriptor(e,t);if(!r&&n){Object.getOwnPropertyDescriptor(n,t)&&(r={enumerable:!0,configurable:!0})}if(r&&r.configurable){delete r.writable,delete r.value;var o=r.get,i=t.substr(2),a=X[i];a||(a=X[i]=j("ON_PROPERTY"+i)),r.set=function(t){var n=this;if(n||e!==R||(n=R),n){n[a]&&n.removeEventListener(i,B),"function"==typeof t?(n[a]=t,n.addEventListener(i,B,!1)):n[a]=null}},r.get=function(){var n=this;if(n||e!==R||(n=R),!n)return null;var i=n[a];if(i)return i;if(o){var c=o&&o.apply(this);if(c)return r.set.apply(this,[c]),typeof n[z]===Z&&n.removeAttribute(t),c}return null},Object.defineProperty(e,t,r)}}function i(e,t,n){if(t)for(var r=0;r<t.length;r++)o(e,"on"+t[r],n);else{var i=[];for(var a in e)"on"==a.substr(0,2)&&i.push(a);for(var c=0;c<i.length;c++)o(e,i[c],n)}}function a(e){var n=R[e];if(n){R[j(e)]=n,R[e]=function(){var r=t(arguments,e);switch(r.length){case 0:this[N]=new n;break;case 1:this[N]=new n(r[0]);break;case 2:this[N]=new n(r[0],r[1]);break;case 3:this[N]=new n(r[0],r[1],r[2]);break;case 4:this[N]=new n(r[0],r[1],r[2],r[3]);break;default:throw new Error("Arg list too long.")}},s(R[e],n);var r,o=new n(function(){});for(r in o)"XMLHttpRequest"===e&&"responseBlob"===r||function(t){"function"==typeof o[t]?R[e].prototype[t]=function(){return this[N][t].apply(this[N],arguments)}:Object.defineProperty(R[e].prototype,t,{set:function(n){"function"==typeof n?(this[N][t]=Zone.current.wrap(n,e+"."+t),s(this[N][t],n)):this[N][t]=n},get:function(){return this[N][t]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&(R[e][r]=n[r])}}function c(e,t,n){for(var o=e;o&&!o.hasOwnProperty(t);)o=Object.getPrototypeOf(o);!o&&e[t]&&(o=e);var i,a=j(t);if(o&&!(i=o[a])){i=o[a]=o[t];if(r(o&&Object.getOwnPropertyDescriptor(o,t))){var c=n(i,a,t);o[t]=function(){return c(this,arguments)},s(o[t],i)}}return i}function u(e,t,n){function r(e){var t=e.data;return t.args[t.callbackIndex]=function(){e.invoke.apply(this,arguments)},o.apply(t.target,t.args),e}var o=null;o=c(e,t,function(e){return function(t,o){var i=n(t,o);if(i.callbackIndex>=0&&"function"==typeof o[i.callbackIndex]){return Zone.current.scheduleMacroTask(i.name,o[i.callbackIndex],i,r,null)}return e.apply(t,o)}})}function s(e,t){e[j("OriginalDelegate")]=t}function l(){if(W)return q;W=!0;try{var e=window.navigator.userAgent;e.indexOf("MSIE ");return-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(q=!0),q}catch(e){}}function f(e,t,n){for(var r=n&&n.addEventListenerFnName||"addEventListener",o=n&&n.removeEventListenerFnName||"removeEventListener",i=n&&n.listenersFnName||"eventListeners",a=n&&n.removeAllFnName||"removeAllListeners",c=j(r),u="."+r+":",l="prependListener",f="."+l+":",h=function(e,t,n){if(!e.isRemoved){var r=e.callback;typeof r===ee&&r.handleEvent&&(e.callback=function(e){return r.handleEvent(e)},e.originalDelegate=r),e.invoke(e,t,[n]);var i=e.options;if(i&&"object"==typeof i&&i.once){var a=e.originalDelegate?e.originalDelegate:e.callback;t[o].apply(t,[n.type,a,i])}}},v=function(t){if(t=t||e.event){var n=this||t.target||e,r=n[V[t.type][G]];if(r)if(1===r.length)h(r[0],n,t);else for(var o=r.slice(),i=0;i<o.length&&(!t||!0!==t[re]);i++)h(o[i],n,t)}},d=function(t){if(t=t||e.event){var n=this||t.target||e,r=n[V[t.type][J]];if(r)if(1===r.length)h(r[0],n,t);else for(var o=r.slice(),i=0;i<o.length&&(!t||!0!==t[re]);i++)h(o[i],n,t)}},y=[],g=0;g<t.length;g++)y[g]=function(t,n){if(!t)return!1;var h=!0;n&&void 0!==n.useGlobalCallback&&(h=n.useGlobalCallback);var y=n&&n.validateHandler,g=!0;n&&void 0!==n.checkDuplicate&&(g=n.checkDuplicate);var k=!1;n&&void 0!==n.returnTarget&&(k=n.returnTarget);for(var m=t;m&&!m.hasOwnProperty(r);)m=Object.getPrototypeOf(m);if(!m&&t[r]&&(m=t),!m)return!1;if(m[c])return!1;var _,b={},w=m[c]=m[r],T=m[j(o)]=m[o],E=m[j(i)]=m[i],O=m[j(a)]=m[a];n&&n.prependEventListenerFnName&&(_=m[j(n.prependEventListenerFnName)]=m[n.prependEventListenerFnName]);var x=function(e){if(!b.isExisting)return w.apply(b.target,[b.eventName,b.capture?d:v,b.options])},S=function(e){if(!e.isRemoved){var t=V[e.eventName],n=void 0;t&&(n=t[e.capture?J:G]);var r=n&&e.target[n];if(r)for(var o=0;o<r.length;o++){var i=r[o];if(i===e){r.splice(o,1),e.isRemoved=!0,0===r.length&&(e.allRemoved=!0,e.target[n]=null);break}}}if(e.allRemoved)return T.apply(e.target,[e.eventName,e.capture?d:v,e.options])},D=function(e){return w.apply(b.target,[b.eventName,e.invoke,b.options])},M=function(e){return _.apply(b.target,[b.eventName,e.invoke,b.options])},P=function(e){return T.apply(e.target,[e.eventName,e.invoke,e.options])},R=h?x:D,Z=h?S:P,C=function(e,t){var n=typeof t;return n===$&&e.callback===t||n===ee&&e.originalDelegate===t},z=n&&n.compareTaskCallbackVsDelegate?n.compareTaskCallbackVsDelegate:C,I=function(t,n,r,o,i,a){return void 0===i&&(i=!1),void 0===a&&(a=!1),function(){var c=this||e,u=(Zone.current,arguments[1]);if(!u)return t.apply(this,arguments);var s=!1;if(typeof u!==$){if(!u.handleEvent)return t.apply(this,arguments);s=!0}if(!y||y(t,u,c,arguments)){var l,f=arguments[0],p=arguments[2],v=!1;void 0===p?l=!1:!0===p?l=!0:!1===p?l=!1:(l=!!p&&!!p.capture,v=!!p&&!!p.once);var d,k=Zone.current,m=V[f];if(m)d=m[l?J:G];else{var _=f+G,w=f+J,T=te+_,E=te+w;V[f]={},V[f][G]=T,V[f][J]=E,d=l?E:T}var O=c[d],x=!1;if(O){if(x=!0,g)for(var S=0;S<O.length;S++)if(z(O[S],u))return}else O=c[d]=[];var D,M=c.constructor[Y],P=K[M];P&&(D=P[f]),D||(D=M+n+f),b.options=p,v&&(b.options.once=!1),b.target=c,b.capture=l,b.eventName=f,b.isExisting=x;var j=h?U:null,R=k.scheduleEventTask(D,u,j,r,o);return v&&(p.once=!0),R.options=p,R.target=c,R.capture=l,R.eventName=f,s&&(R.originalDelegate=u),a?O.unshift(R):O.push(R),i?c:void 0}}};return m[r]=I(w,u,R,Z,k),_&&(m[l]=I(_,f,M,Z,k,!0)),m[o]=function(){var t,n=this||e,r=arguments[0],o=arguments[2];t=void 0!==o&&(!0===o||!1!==o&&(!!o&&!!o.capture));var i=arguments[1];if(!i)return T.apply(this,arguments);if(!y||y(T,i,n,arguments)){var a,c=V[r];c&&(a=c[t?J:G]);var u=a&&n[a];if(u)for(var s=0;s<u.length;s++){var l=u[s];if(z(l,i))return u.splice(s,1),l.isRemoved=!0,0===u.length&&(l.allRemoved=!0,n[a]=null),void l.zone.cancelTask(l)}}},m[i]=function(){for(var t=this||e,n=arguments[0],r=[],o=p(t,n),i=0;i<o.length;i++){var a=o[i],c=a.originalDelegate?a.originalDelegate:a.callback;r.push(c)}return r},m[a]=function(){var t=this||e,n=arguments[0];if(n){var r=V[n];if(r){var i=r[G],c=r[J],u=t[i],s=t[c];if(u)for(var l=Q(u),f=0;f<l.length;f++){var p=l[f],h=p.originalDelegate?p.originalDelegate:p.callback;this[o].apply(this,[n,h,p.options])}if(s)for(var l=Q(s),f=0;f<l.length;f++){var p=l[f],h=p.originalDelegate?p.originalDelegate:p.callback;this[o].apply(this,[n,h,p.options])}}}else{for(var v=Object.keys(t),f=0;f<v.length;f++){var d=v[f],y=ne.exec(d),g=y&&y[1];g&&"removeListener"!==g&&this[a].apply(this,[g])}this[a].apply(this,["removeListener"])}},s(m[r],w),s(m[o],T),O&&s(m[a],O),E&&s(m[i],E),!0}(t[g],n);return y}function p(e,t){var n=[];for(var r in e){var o=ne.exec(r),i=o&&o[1];if(i&&(!t||i===t)){var a=e[r];if(a)for(var c=0;c<a.length;c++)n.push(a[c])}}return n}function h(e,t){var n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",function(e){return function(e,t){e[re]=!0}})}function v(e,t,n,r){function o(t){function n(){try{t.invoke.apply(this,arguments)}finally{typeof r.handleId===l?delete s[r.handleId]:r.handleId&&(r.handleId[oe]=null)}}var r=t.data;return r.args[0]=n,r.handleId=a.apply(e,r.args),t}function i(e){return u(e.data.handleId)}var a=null,u=null;t+=r,n+=r;var s={},l="number";a=c(e,t,function(n){return function(a,c){if("function"==typeof c[0]){var u=Zone.current,f={handleId:null,isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?c[1]||0:null,args:c},p=u.scheduleMacroTask(t,c[0],f,o,i);if(!p)return p;var h=p.data.handleId;return typeof h===l?s[h]=p:h&&(h[oe]=p),h&&h.ref&&h.unref&&"function"==typeof h.ref&&"function"==typeof h.unref&&(p.ref=h.ref.bind(h),p.unref=h.unref.bind(h)),typeof h===l||h?h:p}return n.apply(e,c)}}),u=c(e,n,function(t){return function(n,r){var o,i=r[0];typeof i===l?o=s[i]:(o=i&&i[oe])||(o=i),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&(typeof i===l?delete s[i]:i&&(i[oe]=null),o.zone.cancelTask(o)):t.apply(e,r)}})}function d(){Object.defineProperty=function(e,t,n){if(g(e,t))throw new TypeError("Cannot assign to read only property '"+t+"' of "+e);var r=n.configurable;return t!==se&&(n=k(e,t,n)),m(e,t,n,r)},Object.defineProperties=function(e,t){return Object.keys(t).forEach(function(n){Object.defineProperty(e,n,t[n])}),e},Object.create=function(e,t){return typeof t!==le||Object.isFrozen(t)||Object.keys(t).forEach(function(n){t[n]=k(e,n,t[n])}),ce(e,t)},Object.getOwnPropertyDescriptor=function(e,t){var n=ae(e,t);return g(e,t)&&(n.configurable=!1),n}}function y(e,t,n){var r=n.configurable;return n=k(e,t,n),m(e,t,n,r)}function g(e,t){return e&&e[ue]&&e[ue][t]}function k(e,t,n){return n.configurable=!0,n.configurable||(e[ue]||ie(e,ue,{writable:!0,value:{}}),e[ue][t]=!0),n}function m(e,t,n,r){try{return ie(e,t,n)}catch(i){if(!n.configurable)throw i;typeof r==fe?delete n.configurable:n.configurable=r;try{return ie(e,t,n)}catch(r){var o=null;try{o=JSON.stringify(n)}catch(e){o=o.toString()}console.log("Attempting to configure '"+t+"' with descriptor '"+o+"' on object '"+e+"' and got error, giving up: "+r)}}}function _(e,t){var n=t.WebSocket;t.EventTarget||f(t,[n.prototype]),t.WebSocket=function(e,t){var r,o,a=arguments.length>1?new n(e,t):new n(e),c=Object.getOwnPropertyDescriptor(a,"onmessage");return c&&!1===c.configurable?(r=Object.create(a),o=a,["addEventListener","removeEventListener","send","close"].forEach(function(e){r[e]=function(){var t=Array.prototype.slice.call(arguments);if("addEventListener"===e||"removeEventListener"===e){var n=t.length>0?t[0]:void 0;if(n){var o=Zone.__symbol__("ON_PROPERTY"+n);a[o]=r[o]}}return a[e].apply(a,t)}})):r=a,i(r,["close","error","message","open"],o),r};var r=t.WebSocket;for(var o in n)r[o]=n[o]}function b(e,t,n){if(!n)return t;var r=n.filter(function(t){return t.target===e});if(!r||0===r.length)return t;var o=r[0].ignoreProperties;return t.filter(function(e){return-1===o.indexOf(e)})}function w(e,t,n,r){i(e,b(e,t,n),r)}function T(e,t){if(!L||H){var n="undefined"!=typeof WebSocket;if(E()){var r=t.__Zone_ignore_on_properties;if(F){w(window,De.concat(["messageerror"]),r,Object.getPrototypeOf(window)),w(Document.prototype,De,r),void 0!==window.SVGElement&&w(window.SVGElement.prototype,De,r),w(Element.prototype,De,r),w(HTMLElement.prototype,De,r),w(HTMLMediaElement.prototype,ye,r),w(HTMLFrameSetElement.prototype,ve.concat(we),r),w(HTMLBodyElement.prototype,ve.concat(we),r),w(HTMLFrameElement.prototype,be,r),w(HTMLIFrameElement.prototype,be,r);var o=window.HTMLMarqueeElement;o&&w(o.prototype,Te,r);var i=window.Worker;i&&w(i.prototype,Se,r)}w(XMLHttpRequest.prototype,Ee,r);var c=t.XMLHttpRequestEventTarget;c&&w(c&&c.prototype,Ee,r),"undefined"!=typeof IDBIndex&&(w(IDBIndex.prototype,Oe,r),w(IDBRequest.prototype,Oe,r),w(IDBOpenDBRequest.prototype,Oe,r),w(IDBDatabase.prototype,Oe,r),w(IDBTransaction.prototype,Oe,r),w(IDBCursor.prototype,Oe,r)),n&&w(WebSocket.prototype,xe,r)}else O(),a("XMLHttpRequest"),n&&_(e,t)}}function E(){if((F||H)&&!Object.getOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var e=Object.getOwnPropertyDescriptor(Element.prototype,"onclick");if(e&&!e.configurable)return!1}var t=Object.getOwnPropertyDescriptor(XMLHttpRequest.prototype,"onreadystatechange");if(t){Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}});var n=new XMLHttpRequest,r=!!n.onreadystatechange;return Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",t||{}),r}var o=j("fakeonreadystatechange");Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[o]},set:function(e){this[o]=e}});var n=new XMLHttpRequest,i=function(){};n.onreadystatechange=i;var r=n[o]===i;return n.onreadystatechange=null,r}function O(){for(var e=0;e<De.length;e++)!function(e){var t=De[e],n="on"+t;self.addEventListener(t,function(e){var t,r,o=e.target;for(r=o?o.constructor.name+"."+n:"unknown."+n;o;)o[n]&&!o[n][Me]&&(t=Zone.current.wrap(o[n],r),t[Me]=o[n],o[n]=t),o=o.parentElement},!0)}(e)}function x(e,t){var n="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video",r="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket".split(","),o=[],i=e.wtf,a=n.split(",");i?o=a.map(function(e){return"HTML"+e+"Element"}).concat(r):e.EventTarget?o.push("EventTarget"):o=r;for(var c=e.__Zone_disable_IE_check||!1,u=e.__Zone_enable_cross_context_check||!1,s=l(),p="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",h=0;h<De.length;h++){var v=De[h],d=v+G,y=v+J,g=te+d,k=te+y;V[v]={},V[v][G]=g,V[v][J]=k}for(var h=0;h<n.length;h++)for(var m=a[h],_=K[m]={},b=0;b<De.length;b++){var v=De[b];_[v]=m+".addEventListener:"+v}for(var w=function(e,t,n,r){if(!c&&s)if(u)try{var o=t.toString();if("[object FunctionWrapper]"===o||o==p)return e.apply(n,r),!1}catch(t){return e.apply(n,r),!1}else{var o=t.toString();if("[object FunctionWrapper]"===o||o==p)return e.apply(n,r),!1}else if(u)try{t.toString()}catch(t){return e.apply(n,r),!1}return!0},T=[],h=0;h<o.length;h++){var E=e[o[h]];T.push(E&&E.prototype)}return f(e,T,{validateHandler:w}),t.patchEventTarget=f,!0}function S(e,t){h(e,t)}function D(e){if((F||H)&&"registerElement"in e.document){var t=document.registerElement,n=["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"];document.registerElement=function(e,r){return r&&r.prototype&&n.forEach(function(e){var t="Document.registerElement::"+e;if(r.prototype.hasOwnProperty(e)){var n=Object.getOwnPropertyDescriptor(r.prototype,e);n&&n.value?(n.value=Zone.current.wrap(n.value,t),y(r.prototype,e,n)):r.prototype[e]=Zone.current.wrap(r.prototype[e],t)}else r.prototype[e]&&(r.prototype[e]=Zone.current.wrap(r.prototype[e],t))}),t.apply(document,[e,r])},s(document.registerElement,t)}}var M=(function(e){function t(e){c&&c.mark&&c.mark(e)}function n(e,t){c&&c.measure&&c.measure(e,t)}function r(t){0===R&&0===y.length&&(s||e[v]&&(s=e[v].resolve(0)),s?s[d](o):e[h](o,0)),t&&y.push(t)}function o(){if(!g){for(g=!0;y.length;){var e=y;y=[];for(var t=0;t<e.length;t++){var n=e[t];try{n.zone.runTask(n,null,null)}catch(e){M.onUnhandledError(e)}}}u[a("ignoreConsoleErrorUncaughtError")];M.microtaskDrainDone(),g=!1}}function i(){}function a(e){return"__zone_symbol__"+e}var c=e.performance;if(t("Zone"),e.Zone)throw new Error("Zone already loaded.");var u=function(){function r(e,t){this._properties=null,this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,t)}return r.assertZonePatched=function(){if(e.Promise!==D.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(r,"root",{get:function(){for(var e=r.current;e.parent;)e=e.parent;return e},enumerable:!0,configurable:!0}),Object.defineProperty(r,"current",{get:function(){return P.zone},enumerable:!0,configurable:!0}),Object.defineProperty(r,"currentTask",{get:function(){return j},enumerable:!0,configurable:!0}),r.__load_patch=function(o,i){if(D.hasOwnProperty(o))throw Error("Already loaded patch: "+o);if(!e["__Zone_disable_"+o]){var a="Zone:"+o;t(a),D[o]=i(e,r,M),n(a,a)}},Object.defineProperty(r.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),r.prototype.get=function(e){var t=this.getZoneWith(e);if(t)return t._properties[e]},r.prototype.getZoneWith=function(e){for(var t=this;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null},r.prototype.fork=function(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)},r.prototype.wrap=function(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);var n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}},r.prototype.run=function(e,t,n,r){void 0===t&&(t=void 0),void 0===n&&(n=null),void 0===r&&(r=null),P={parent:P,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{P=P.parent}},r.prototype.runGuarded=function(e,t,n,r){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),P={parent:P,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(e){if(this._zoneDelegate.handleError(this,e))throw e}}finally{P=P.parent}},r.prototype.runTask=function(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||k).name+"; Execution: "+this.name+")");if(e.state!==m||e.type!==S){var r=e.state!=w;r&&e._transitionTo(w,b),e.runCount++;var o=j;j=e,P={parent:P,zone:this};try{e.type==x&&e.data&&!e.data.isPeriodic&&(e.cancelFn=null);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(e){if(this._zoneDelegate.handleError(this,e))throw e}}finally{e.state!==m&&e.state!==E&&(e.type==S||e.data&&e.data.isPeriodic?r&&e._transitionTo(b,w):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(m,w,m))),P=P.parent,j=o}}},r.prototype.scheduleTask=function(e){if(e.zone&&e.zone!==this)for(var t=this;t;){if(t===e.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+e.zone.name);t=t.parent}e._transitionTo(_,m);var n=[];e._zoneDelegates=n,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(t){throw e._transitionTo(E,_,m),this._zoneDelegate.handleError(this,t),t}return e._zoneDelegates===n&&this._updateTaskCount(e,1),e.state==_&&e._transitionTo(b,_),e},r.prototype.scheduleMicroTask=function(e,t,n,r){return this.scheduleTask(new p(O,e,t,n,r,null))},r.prototype.scheduleMacroTask=function(e,t,n,r,o){return this.scheduleTask(new p(x,e,t,n,r,o))},r.prototype.scheduleEventTask=function(e,t,n,r,o){return this.scheduleTask(new p(S,e,t,n,r,o))},r.prototype.cancelTask=function(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||k).name+"; Execution: "+this.name+")");e._transitionTo(T,b,w);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(E,T),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(m,T),e.runCount=0,e},r.prototype._updateTaskCount=function(e,t){var n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(var r=0;r<n.length;r++)n[r]._updateTaskCount(e.type,t)},r}();u.__symbol__=a;var s,l={name:"",onHasTask:function(e,t,n,r){return e.hasTask(n,r)},onScheduleTask:function(e,t,n,r){return e.scheduleTask(n,r)},onInvokeTask:function(e,t,n,r,o,i){return e.invokeTask(n,r,o,i)},onCancelTask:function(e,t,n,r){return e.cancelTask(n,r)}},f=function(){function e(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t.zone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t.zone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t.zone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t.zone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t.zone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t.zone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t.zone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var r=n&&n.onHasTask,o=t&&t._hasTaskZS;(r||o)&&(this._hasTaskZS=r?n:l,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=l,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=l,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=l,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}return e.prototype.fork=function(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new u(e,t)},e.prototype.intercept=function(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t},e.prototype.invoke=function(e,t,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,r,o):t.apply(n,r)},e.prototype.handleError=function(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)},e.prototype.scheduleTask=function(e,t){var n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t))||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=O)throw new Error("Task is missing scheduleFn.");r(t)}return n},e.prototype.invokeTask=function(e,t,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,r):t.callback.apply(n,r)},e.prototype.cancelTask=function(e,t){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n},e.prototype.hasTask=function(e,t){try{return this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(t){this.handleError(e,t)}},e.prototype._updateTaskCount=function(e,t){var n=this._taskCounts,r=n[e],o=n[e]=r+t;if(o<0)throw new Error("More tasks executed then were scheduled.");if(0==r||0==o){var i={microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e};this.hasTask(this.zone,i)}},e}(),p=function(){function t(n,r,o,i,a,c){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=i,this.scheduleFn=a,this.cancelFn=c,this.callback=o;var u=this;n===S&&i&&i.isUsingGlobalCallback?this.invoke=t.invokeTask:this.invoke=function(){return t.invokeTask.apply(e,[u,this,arguments])}}return t.invokeTask=function(e,t,n){e||(e=this),R++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==R&&o(),R--}},Object.defineProperty(t.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),t.prototype.cancelScheduleRequest=function(){this._transitionTo(m,_)},t.prototype._transitionTo=function(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+e+"', expecting state '"+t+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=e,e==m&&(this._zoneDelegates=null)},t.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId:Object.prototype.toString.call(this)},t.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,invoke:this.invoke,scheduleFn:this.scheduleFn,cancelFn:this.cancelFn,runCount:this.runCount,callback:this.callback}},t}(),h=a("setTimeout"),v=a("Promise"),d=a("then"),y=[],g=!1,k={name:"NO ZONE"},m="notScheduled",_="scheduling",b="scheduled",w="running",T="canceling",E="unknown",O="microTask",x="macroTask",S="eventTask",D={},M={symbol:a,currentZoneFrame:function(){return P},onUnhandledError:i,microtaskDrainDone:i,scheduleMicroTask:r,showUncaughtError:function(){return!u[a("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:i,patchMethod:function(){return i},setNativePromise:function(e){s=e.resolve(0)}},P={parent:null,zone:new u(null,null)},j=null,R=0;n("Zone","Zone"),e.Zone=u}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||e),function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}),P=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Zone.__load_patch("ZoneAwarePromise",function(e,t,n){function r(e){n.onUnhandledError(e);try{var r=t[y];r&&"function"==typeof r&&r.apply(this,[e])}catch(e){}}function o(e){return e&&e.then}function i(e){return e}function a(e){return R.reject(e)}function c(e,t){return function(n){try{u(e,t,n)}catch(t){u(e,!1,t)}}}function u(e,r,o){var i=E();if(e===o)throw new TypeError(O);if(e[g]===_){var a=null;try{typeof o!==x&&typeof o!==S||(a=o&&o.then)}catch(t){return i(function(){u(e,!1,t)})(),e}if(r!==w&&o instanceof R&&o.hasOwnProperty(g)&&o.hasOwnProperty(k)&&o[g]!==_)s(o),u(e,o[g],o[k]);else if(r!==w&&typeof a===S)try{a.apply(o,[i(c(e,r)),i(c(e,!1))])}catch(t){i(function(){u(e,!1,t)})()}else{e[g]=r;var f=e[k];e[k]=o,r===w&&o instanceof Error&&(o[D]=t.currentTask);for(var p=0;p<f.length;)l(e,f[p++],f[p++],f[p++],f[p++]);if(0==f.length&&r==w){e[g]=T;try{throw new Error("Uncaught (in promise): "+o+(o&&o.stack?"\n"+o.stack:""))}catch(r){var v=r;v.rejection=o,v.promise=e,v.zone=t.current,v.task=t.currentTask,h.push(v),n.scheduleMicroTask()}}}}return e}function s(e){if(e[g]===T){try{var n=t[j];n&&typeof n===S&&n.apply(this,[{rejection:e[k],promise:e}])}catch(e){}e[g]=w;for(var r=0;r<h.length;r++)e===h[r].promise&&h.splice(r,1)}}function l(e,t,n,r,o){s(e);var c=e[g]?typeof r===S?r:i:typeof o===S?o:a;t.scheduleMicroTask(m,function(){try{u(n,!0,t.run(c,void 0,[e[k]]))}catch(e){u(n,!1,e)}})}function f(e){var t=e.prototype,n=t.then;t[d]=n;var r=Object.getOwnPropertyDescriptor(e.prototype,"then");r&&!1===r.writable&&r.configurable&&Object.defineProperty(e.prototype,"then",{writable:!0}),e.prototype.then=function(e,t){var r=this;return new R(function(e,t){n.call(r,e,t)}).then(e,t)},e[I]=!0}var p=n.symbol,h=[],v=p("Promise"),d=p("then");n.onUnhandledError=function(e){if(n.showUncaughtError()){var t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=function(){for(;h.length;)for(;h.length;)!function(){var e=h.shift();try{e.zone.runGuarded(function(){throw e})}catch(e){r(e)}}()};var y=p("unhandledPromiseRejectionHandler"),g=p("state"),k=p("value"),m="Promise.then",_=null,b=!0,w=!1,T=0,E=function(){var e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}},O="Promise resolved with itself",x="object",S="function",D=p("currentTask"),j=p("rejectionHandledHandler"),R=function(){function e(t){var n=this;if(!(n instanceof e))throw new Error("Must be an instanceof Promise.");n[g]=_,n[k]=[];try{t&&t(c(n,b),c(n,w))}catch(e){u(n,!1,e)}}return e.toString=function(){return"function ZoneAwarePromise() { [native code] }"},e.resolve=function(e){return u(new this(null),b,e)},e.reject=function(e){return u(new this(null),w,e)},e.race=function(e){function t(e){a&&(a=r(e))}function n(e){a&&(a=i(e))}var r,i,a=new this(function(e,t){n=M([e,t],2),r=n[0],i=n[1];var n});try{for(var c=P(e),u=c.next();!u.done;u=c.next()){var s=u.value;o(s)||(s=this.resolve(s)),s.then(t,n)}}catch(e){l={error:e}}finally{try{u&&!u.done&&(f=c.return)&&f.call(c)}finally{if(l)throw l.error}}return a;var l,f},e.all=function(e){var t,n,r=new this(function(e,r){t=e,n=r}),i=0,a=[];try{for(var c=P(e),u=c.next();!u.done;u=c.next()){var s=u.value;o(s)||(s=this.resolve(s)),s.then(function(e){return function(n){a[e]=n,--i||t(a)}}(i),n),i++}}catch(e){l={error:e}}finally{try{u&&!u.done&&(f=c.return)&&f.call(c)}finally{if(l)throw l.error}}return i||t(a),r;var l,f},e.prototype.then=function(e,n){var r=new this.constructor(null),o=t.current;return this[g]==_?this[k].push(o,r,e,n):l(this,o,r,e,n),r},e.prototype.catch=function(e){return this.then(null,e)},e}();R.resolve=R.resolve,R.reject=R.reject,R.race=R.race,R.all=R.all;var Z=e[v]=e.Promise,C=t.__symbol__("ZoneAwarePromise"),z=Object.getOwnPropertyDescriptor(e,"Promise");z&&!z.configurable||(z&&delete z.writable,z&&delete z.value,z||(z={configurable:!0,enumerable:!0}),z.get=function(){return e[C]?e[C]:e[v]},z.set=function(t){t===R?e[C]=t:(e[v]=t,t.prototype[d]||f(t),n.setNativePromise(t))},Object.defineProperty(e,"Promise",z)),e.Promise=R;var I=p("thenPatched");if(Z){f(Z);var L=e.fetch;typeof L==S&&(e.fetch=function(e){return function(){var t=e.apply(this,arguments);if(t instanceof R)return t;var n=t.constructor;return n[I]||f(n),t}}(L))}return Promise[t.__symbol__("uncaughtPromiseErrors")]=h,R});var j=Zone.__symbol__,R="object"==typeof window&&window||"object"==typeof self&&self||e,Z="function",C="undefined",z="removeAttribute",I="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,L=!("nw"in R)&&void 0!==R.process&&"[object process]"==={}.toString.call(R.process),F=!L&&!I&&!("undefined"==typeof window||!window.HTMLElement),H=void 0!==R.process&&"[object process]"==={}.toString.call(R.process)&&!I&&!("undefined"==typeof window||!window.HTMLElement),X={},B=function(e){if(e=e||R.event){var t=X[e.type];t||(t=X[e.type]=j("ON_PROPERTY"+e.type));var n=this||e.target||R,r=n[t],o=r&&r.apply(this,arguments);return void 0==o||o||e.preventDefault(),o}},N=j("originalInstance"),W=!1,q=!1;Zone.__load_patch("toString",function(e,t,n){var r=t.__zone_symbol__originalToString=Function.prototype.toString,o=j("OriginalDelegate"),i=j("Promise"),a=j("Error");Function.prototype.toString=function(){if("function"==typeof this){var t=this[o];if(t)return"function"==typeof t?r.apply(this[o],arguments):Object.prototype.toString.call(t);if(this===Promise){var n=e[i];if(n)return r.apply(n,arguments)}if(this===Error){var c=e[a];if(c)return r.apply(c,arguments)}}return r.apply(this,arguments)};var c=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":c.apply(this,arguments)}});var A=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Q=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(A(arguments[t]));return e},J="true",G="false",U={isUsingGlobalCallback:!0},V={},K={},Y="name",$="function",ee="object",te="__zone_symbol__",ne=/^__zone_symbol__(\w+)(true|false)$/,re="__zone_symbol__propagationStopped",oe=j("zoneTask"),ie=Object[j("defineProperty")]=Object.defineProperty,ae=Object[j("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,ce=Object.create,ue=j("unconfigurables"),se="prototype",le="object",fe="undefined",pe=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"],he=["afterscriptexecute","beforescriptexecute","DOMContentLoaded","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange"],ve=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplyconnected","vrdisplaydisconnected","vrdisplaypresentchange"],de=["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],ye=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],ge=["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"],ke=["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],me=["autocomplete","autocompleteerror"],_e=["toggle"],be=["load"],we=["blur","error","focus","load","resize","scroll","messageerror"],Te=["bounce","finish","start"],Ee=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Oe=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],xe=["close","error","open","message"],Se=["error","message"],De=pe.concat(ke,me,_e,he,ve,de,ge),Me=j("unbound");Zone.__load_patch("util",function(e,t,n){n.patchOnProperties=i,n.patchMethod=c}),Zone.__load_patch("timers",function(e,t,n){v(e,"set","clear","Timeout"),v(e,"set","clear","Interval"),v(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",function(e,t,n){v(e,"request","cancel","AnimationFrame"),v(e,"mozRequest","mozCancel","AnimationFrame"),v(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(e,t,n){for(var r=["alert","prompt","confirm"],o=0;o<r.length;o++){c(e,r[o],function(n,r,o){return function(r,i){return t.current.run(n,e,i,o)}})}}),Zone.__load_patch("EventTarget",function(e,t,n){S(e,n),x(e,n);var r=e.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(e,[r.prototype]),a("MutationObserver"),a("WebKitMutationObserver"),a("IntersectionObserver"),a("FileReader")}),Zone.__load_patch("on_property",function(e,t,n){T(n,e),d(),D(e)}),Zone.__load_patch("canvas",function(e,t,n){var r=e.HTMLCanvasElement;void 0!==r&&r.prototype&&r.prototype.toBlob&&u(r.prototype,"toBlob",function(e,t){return{name:"HTMLCanvasElement.toBlob",target:e,callbackIndex:0,args:t}})}),Zone.__load_patch("XHR",function(e,t,n){!function(e){function n(e){return e[r]}function s(e){XMLHttpRequest[a]=!1;var t=e.data,n=t.target,o=n[i];v||(v=n[p],d=n[h]),o&&d.apply(n,[g,o]);var c=n[i]=function(){n.readyState===n.DONE&&!t.aborted&&XMLHttpRequest[a]&&e.state===k&&e.invoke()};return v.apply(n,[g,c]),n[r]||(n[r]=e),_.apply(n,t.args),XMLHttpRequest[a]=!0,e}function l(){}function f(e){var t=e.data;return t.aborted=!0,b.apply(t.target,t.args)}var p=j("addEventListener"),h=j("removeEventListener"),v=XMLHttpRequest.prototype[p],d=XMLHttpRequest.prototype[h];if(!v){var y=e.XMLHttpRequestEventTarget;y&&(v=y.prototype[p],d=y.prototype[h])}var g="readystatechange",k="scheduled",m=c(e.XMLHttpRequest.prototype,"open",function(){return function(e,t){return e[o]=0==t[2],e[u]=t[1],m.apply(e,t)}}),_=c(e.XMLHttpRequest.prototype,"send",function(){return function(e,n){var r=t.current;if(e[o])return _.apply(e,n);var i={target:e,url:e[u],isPeriodic:!1,delay:null,args:n,aborted:!1};return r.scheduleMacroTask("XMLHttpRequest.send",l,i,s,f)}}),b=c(e.XMLHttpRequest.prototype,"abort",function(e){return function(e,t){var r=n(e);if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}}})}(e);var r=j("xhrTask"),o=j("xhrSync"),i=j("xhrListener"),a=j("xhrScheduled"),u=j("xhrURL")}),Zone.__load_patch("geolocation",function(e,t,r){e.navigator&&e.navigator.geolocation&&n(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",function(e,t,n){function r(t){return function(n){p(e,t).forEach(function(r){var o=e.PromiseRejectionEvent;if(o){var i=new o(t,{promise:n.promise,reason:n.rejection});r.invoke(i)}})}}e.PromiseRejectionEvent&&(t[j("unhandledPromiseRejectionHandler")]=r("unhandledrejection"),t[j("rejectionHandledHandler")]=r("rejectionhandled"))})})}).call(t,n("fRUx"))},ewdp:function(e,t,n){var r=n("tose"),o=n("+pQw"),i=n("2Fuj");e.exports=n("V+0c")?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),c=a.length,u=0;c>u;)r.f(e,n=a[u++],t[n]);return e}},fC8q:function(e,t,n){var r=n("dXJ/"),o=n("3r0D")("iterator"),i=n("lexG");e.exports=n("b4gG").getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},fHxy:function(e,t,n){var r=n("gBtn"),o=n("+pQw"),i=r.key,a=r.set;r.exp({defineMetadata:function(e,t,n,r){a(e,t,o(n),i(r))}})},fRUx:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},gBtn:function(e,t,n){var r=n("ZI9W"),o=n("CDXM"),i=n("Iclu")("metadata"),a=i.store||(i.store=new(n("QZhw"))),c=function(e,t,n){var o=a.get(e);if(!o){if(!n)return;a.set(e,o=new r)}var i=o.get(t);if(!i){if(!n)return;o.set(t,i=new r)}return i},u=function(e,t,n){var r=c(t,n,!1);return void 0!==r&&r.has(e)},s=function(e,t,n){var r=c(t,n,!1);return void 0===r?void 0:r.get(e)},l=function(e,t,n,r){c(n,r,!0).set(e,t)},f=function(e,t){var n=c(e,t,!1),r=[];return n&&n.forEach(function(e,t){r.push(t)}),r},p=function(e){return void 0===e||"symbol"==typeof e?e:String(e)},h=function(e){o(o.S,"Reflect",e)};e.exports={store:a,map:c,has:u,get:s,set:l,keys:f,key:p,exp:h}},gNkH:function(e,t,n){e.exports=!n("V+0c")&&!n("umMR")(function(){return 7!=Object.defineProperty(n("BQSv")("div"),"a",{get:function(){return 7}}).a})},gZpL:function(e,t,n){var r=n("6De9"),o=n("CDXM"),i=n("+pQw");o(o.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(i(e),t)}})},gdNQ:function(e,t,n){var r=n("CDXM"),o=n("+pQw"),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){o(e);try{return i&&i(e),!0}catch(e){return!1}}})},gxdV:function(e,t,n){var r=n("tose"),o=n("piOq");e.exports=n("V+0c")?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},lexG:function(e,t){e.exports={}},lfBE:function(e,t,n){var r=n("ptrv"),o=n("gxdV"),i=n("rMsi"),a=n("c09d")("src"),c=Function.toString,u=(""+c).split("toString");n("b4gG").inspectSource=function(e){return c.call(e)},(e.exports=function(e,t,n,c){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(s&&(i(n,a)||o(n,a,e[t]?""+e[t]:u.join(String(t)))),e===r?e[t]=n:c?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||c.call(this)})},lzDK:function(e,t){t.f=Object.getOwnPropertySymbols},ncNB:function(e,t,n){var r=n("gBtn"),o=n("+pQw"),i=r.get,a=r.key;r.exp({getOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:a(arguments[2]))}})},"p/bR":function(e,t,n){var r=n("pa70"),o=n("ULWX"),i=n("KpI+"),a=n("+pQw"),c=n("rppw"),u=n("fC8q"),s={},l={},t=e.exports=function(e,t,n,f,p){var h,v,d,y,g=p?function(){return e}:u(e),k=r(n,f,t?2:1),m=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(i(g)){for(h=c(e.length);h>m;m++)if((y=t?k(a(v=e[m])[0],v[1]):k(e[m]))===s||y===l)return y}else for(d=g.call(e);!(v=d.next()).done;)if((y=o(d,k,v.value,t))===s||y===l)return y};t.BREAK=s,t.RETURN=l},p9up:function(e,t,n){"use strict";var r=n("uNkO"),o=n("JXkd"),i=n("5b+r"),a=[].slice,c={},u=function(e,t,n){if(!(t in c)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";c[t]=Function("F,a","return new F("+r.join(",")+")")}return c[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),c=function(){var r=n.concat(a.call(arguments));return this instanceof c?u(t,r.length,r):i(t,r,e)};return o(t.prototype)&&(c.prototype=t.prototype),c}},pBmS:function(e,t,n){var r=n("lfBE");e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},pa70:function(e,t,n){var r=n("uNkO");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},piOq:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},ptrv:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},rIdM:function(e,t,n){"use strict";var r=n("2Fuj"),o=n("lzDK"),i=n("9e9+"),a=n("RT4T"),c=n("Wo2w"),u=Object.assign;e.exports=!u||n("umMR")(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r})?function(e,t){for(var n=a(e),u=arguments.length,s=1,l=o.f,f=i.f;u>s;)for(var p,h=c(arguments[s++]),v=l?r(h).concat(l(h)):r(h),d=v.length,y=0;d>y;)f.call(h,p=v[y++])&&(n[p]=h[p]);return n}:u},rKhO:function(e,t,n){var r=n("VceJ");e.exports=Array.isArray||function(e){return"Array"==r(e)}},rMMT:function(e,t,n){var r=n("CDXM"),o=n("uNkO"),i=n("+pQw"),a=(n("ptrv").Reflect||{}).apply,c=Function.apply;r(r.S+r.F*!n("umMR")(function(){a(function(){})}),"Reflect",{apply:function(e,t,n){var r=o(e),u=i(n);return a?a(r,t,u):c.call(r,t,u)}})},rMsi:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},rppw:function(e,t,n){var r=n("9wYb"),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},soMw:function(e,t,n){var r=n("gBtn"),o=n("+pQw"),i=r.keys,a=r.key;r.exp({getOwnMetadataKeys:function(e){return i(o(e),arguments.length<2?void 0:a(arguments[1]))}})},t6ta:function(e,t,n){var r=n("gBtn"),o=n("+pQw"),i=n("uNkO"),a=r.key,c=r.set;r.exp({metadata:function(e,t){return function(n,r){c(e,t,(void 0!==r?o:i)(n),a(r))}}})},tose:function(e,t,n){var r=n("+pQw"),o=n("gNkH"),i=n("A1WY"),a=Object.defineProperty;t.f=n("V+0c")?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},uNkO:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},umMR:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},vyV2:function(e,t,n){var r=n("+GRi"),o=n("rppw"),i=n("KM3d");e.exports=function(e){return function(t,n,a){var c,u=r(t),s=o(u.length),l=i(a,s);if(e&&n!=n){for(;s>l;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},"w/BM":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},wJYt:function(e,t,n){var r=n("CDXM");r(r.S,"Reflect",{ownKeys:n("NISB")})},wLW2:function(e,t,n){var r=n("CDXM"),o=n("5oDA");o&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){o.check(e,t);try{return o.set(e,t),!0}catch(e){return!1}}})},xI8H:function(e,t,n){var r=n("c09d")("meta"),o=n("JXkd"),i=n("rMsi"),a=n("tose").f,c=0,u=Object.isExtensible||function(){return!0},s=!n("umMR")(function(){return u(Object.preventExtensions({}))}),l=function(e){a(e,r,{value:{i:"O"+ ++c,w:{}}})},f=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[r].i},p=function(e,t){if(!i(e,r)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[r].w},h=function(e){return s&&v.NEED&&u(e)&&!i(e,r)&&l(e),e},v=e.exports={KEY:r,NEED:!1,fastKey:f,getWeak:p,onFreeze:h}},yIWP:function(e,t,n){var r=n("Iclu")("keys"),o=n("c09d");e.exports=function(e){return r[e]||(r[e]=o(e))}}},[2]); \ No newline at end of file diff --git a/Servidor JEE/WebContent/polyfills.fea873d1973cf1b50182.bundle.js b/Servidor JEE/WebContent/polyfills.fea873d1973cf1b50182.bundle.js deleted file mode 100644 index 46ee74976eb27b353cfa0b6df960d76ead5ba207..0000000000000000000000000000000000000000 --- a/Servidor JEE/WebContent/polyfills.fea873d1973cf1b50182.bundle.js +++ /dev/null @@ -1,71 +0,0 @@ -webpackJsonp([6,11],{"/whu":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"0Rih":function(t,e,n){"use strict";var r=n("OzIq"),o=n("Ds5P"),i=n("R3AP"),a=n("A16L"),c=n("1aA0"),u=n("vmSO"),s=n("9GpA"),f=n("UKM+"),l=n("zgIt"),p=n("qkyc"),h=n("yYvK"),d=n("kic5");t.exports=function(t,e,n,v,y,g){var k=r[t],m=k,b=y?"set":"add",_=m&&m.prototype,w={},T=function(t){var e=_[t];i(_,t,"delete"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!f(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof m&&(g||_.forEach&&!l(function(){(new m).entries().next()}))){var O=new m,D=O[b](g?{}:-0,1)!=O,P=l(function(){O.has(1)}),E=p(function(t){new m(t)}),S=!g&&l(function(){for(var t=new m,e=5;e--;)t[b](e,e);return!t.has(-0)});E||(m=e(function(e,n){s(e,m,t);var r=d(new k,e,m);return void 0!=n&&u(n,y,r[b],r),r}),m.prototype=_,_.constructor=m),(P||S)&&(T("delete"),T("has"),y&&T("get")),(S||D)&&T(b),g&&_.clear&&delete _.clear}else m=v.getConstructor(e,t,y,b),a(m.prototype,n),c.NEED=!0;return h(m,t),w[t]=m,o(o.G+o.W+o.F*(m!=k),w),g||v.setStrong(m,t,y),m}},"1aA0":function(t,e,n){var r=n("ulTY")("meta"),o=n("UKM+"),i=n("WBcL"),a=n("lDLk").f,c=0,u=Object.isExtensible||function(){return!0},s=!n("zgIt")(function(){return u(Object.preventExtensions({}))}),f=function(t){a(t,r,{value:{i:"O"+ ++c,w:{}}})},l=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!u(t))return"F";if(!e)return"E";f(t)}return t[r].i},p=function(t,e){if(!i(t,r)){if(!u(t))return!0;if(!e)return!1;f(t)}return t[r].w},h=function(t){return s&&d.NEED&&u(t)&&!i(t,r)&&f(t),t},d=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:h}},2:function(t,e,n){t.exports=n("XS25")},"2p1q":function(t,e,n){var r=n("lDLk"),o=n("fU25");t.exports=n("bUqO")?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},"2tFN":function(t,e,n){n("CVR+"),n("vmSu"),n("4ZU1"),n("yx1U"),n("X7aK"),n("SPtU"),n("A52B"),n("PuTd"),n("dm+7"),n("JG34"),n("Rw4K"),n("9mGU"),n("bUY0"),n("mTp7"),t.exports=n("7gX0").Reflect},"3q4u":function(t,e,n){var r=n("wCso"),o=n("DIVP"),i=r.key,a=r.map,c=r.store;r.exp({deleteMetadata:function(t,e){var n=arguments.length<3?void 0:i(arguments[2]),r=a(o(e),n,!1);if(void 0===r||!r.delete(t))return!1;if(r.size)return!0;var u=c.get(e);return u.delete(n),!!u.size||c.delete(e)}})},"4ZU1":function(t,e,n){var r=n("lDLk"),o=n("Ds5P"),i=n("DIVP"),a=n("s4j0");o(o.S+o.F*n("zgIt")(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){i(t),e=a(e,!0),i(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},"7gX0":function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},"7ylX":function(t,e,n){var r=n("DIVP"),o=n("twxM"),i=n("QKXm"),a=n("mZON")("IE_PROTO"),c=function(){},u="prototype",s=function(){var t,e=n("jhxf")("iframe"),r=i.length,o="<",a=">";for(e.style.display="none",n("d075").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(o+"script"+a+"document.F=Object"+o+"/script"+a),t.close(),s=t.F;r--;)delete s[u][i[r]];return s()};t.exports=Object.create||function(t,e){var n;return null!==t?(c[u]=r(t),n=new c,c[u]=null,n[a]=t):n=s(),void 0===e?n:o(n,e)}},"8D8H":function(t,e,n){var r=n("oeih"),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},"8WbS":function(t,e,n){var r=n("wCso"),o=n("DIVP"),i=n("KOrd"),a=r.has,c=r.key,u=function(t,e,n){if(a(t,e,n))return!0;var r=i(e);return null!==r&&u(t,r,n)};r.exp({hasMetadata:function(t,e){return u(t,o(e),arguments.length<3?void 0:c(arguments[2]))}})},"9GpA":function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},"9mGU":function(t,e,n){var r=n("Ds5P"),o=n("DIVP"),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){o(t);try{return i&&i(t),!0}catch(t){return!1}}})},"9vb1":function(t,e,n){var r=n("bN1p"),o=n("kkCw")("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},A16L:function(t,e,n){var r=n("R3AP");t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},A52B:function(t,e,n){var r=n("x9zv"),o=n("Ds5P"),i=n("DIVP");o(o.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(i(t),e)}})},BbyF:function(t,e,n){var r=n("oeih"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},CEne:function(t,e,n){"use strict";var r=n("OzIq"),o=n("lDLk"),i=n("bUqO"),a=n("kkCw")("species");t.exports=function(t){var e=r[t];i&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},"CVR+":function(t,e,n){var r=n("Ds5P"),o=n("XSOZ"),i=n("DIVP"),a=(n("OzIq").Reflect||{}).apply,c=Function.apply;r(r.S+r.F*!n("zgIt")(function(){a(function(){})}),"Reflect",{apply:function(t,e,n){var r=o(t),u=i(n);return a?a(r,e,u):c.call(r,e,u)}})},ChGr:function(t,e,n){n("yJ2x"),n("3q4u"),n("NHaJ"),n("v3hU"),n("zZHq"),n("vsh6"),n("8WbS"),n("yOtE"),n("EZ+5"),t.exports=n("7gX0").Reflect},DIVP:function(t,e,n){var r=n("UKM+");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},Dgii:function(t,e,n){"use strict";var r=n("lDLk").f,o=n("7ylX"),i=n("A16L"),a=n("rFzY"),c=n("9GpA"),u=n("/whu"),s=n("vmSO"),f=n("uc2A"),l=n("KB1o"),p=n("CEne"),h=n("bUqO"),d=n("1aA0").fastKey,v=h?"_s":"size",y=function(t,e){var n,r=d(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,f){var l=t(function(t,r){c(t,l,e,"_i"),t._i=o(null),t._f=void 0,t._l=void 0,t[v]=0,void 0!=r&&s(r,n,t[f],t)});return i(l.prototype,{clear:function(){for(var t=this,e=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete e[n.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var e=this,n=y(e,t);if(n){var r=n.n,o=n.p;delete e._i[n.i],n.r=!0,o&&(o.n=r),r&&(r.p=o),e._f==n&&(e._f=r),e._l==n&&(e._l=o),e[v]--}return!!n},forEach:function(t){c(this,l,"forEach");for(var e,n=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(n(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!y(this,t)}}),h&&r(l.prototype,"size",{get:function(){return u(this[v])}}),l},def:function(t,e,n){var r,o,i=y(t,e);return i?i.v=n:(t._l=i={i:o=d(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[v]++,"F"!==o&&(t._i[o]=i)),t},getEntry:y,setStrong:function(t,e,n){f(t,e,function(t,e){this._t=t,this._k=e,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?"keys"==e?l(0,n.k):"values"==e?l(0,n.v):l(0,[n.k,n.v]):(t._t=void 0,l(1))},n?"entries":"values",!n,!0),p(e)}}},Ds5P:function(t,e,n){var r=n("OzIq"),o=n("7gX0"),i=n("2p1q"),a=n("R3AP"),c=n("rFzY"),u="prototype",s=function(t,e,n){var f,l,p,h,d=t&s.F,v=t&s.G,y=t&s.S,g=t&s.P,k=t&s.B,m=v?r:y?r[e]||(r[e]={}):(r[e]||{})[u],b=v?o:o[e]||(o[e]={}),_=b[u]||(b[u]={});v&&(n=e);for(f in n)l=!d&&m&&void 0!==m[f],p=(l?m:n)[f],h=k&&l?c(p,r):g&&"function"==typeof p?c(Function.call,p):p,m&&a(m,f,p,t&s.U),b[f]!=p&&i(b,f,h),g&&_[f]!=p&&(_[f]=p)};r.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},DuR2:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},"EZ+5":function(t,e,n){var r=n("wCso"),o=n("DIVP"),i=n("XSOZ"),a=r.key,c=r.set;r.exp({metadata:function(t,e){return function(n,r){c(t,e,(void 0!==r?o:i)(n),a(r))}}})},FryR:function(t,e,n){var r=n("/whu");t.exports=function(t){return Object(r(t))}},IRJ3:function(t,e,n){"use strict";var r=n("7ylX"),o=n("fU25"),i=n("yYvK"),a={};n("2p1q")(a,n("kkCw")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},JG34:function(t,e,n){var r=n("Ds5P"),o=n("DIVP"),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return o(t),!i||i(t)}})},KB1o:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},KOrd:function(t,e,n){var r=n("WBcL"),o=n("FryR"),i=n("mZON")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},LhTa:function(t,e,n){var r=n("rFzY"),o=n("Q6Nf"),i=n("FryR"),a=n("BbyF"),c=n("plSV");t.exports=function(t,e){var n=1==t,u=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l,h=e||c;return function(e,c,d){for(var v,y,g=i(e),k=o(g),m=r(c,d,3),b=a(k.length),_=0,w=n?h(e,b):u?h(e,0):void 0;b>_;_++)if((p||_ in k)&&(v=k[_],y=m(v,_,g),t))if(n)w[_]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return _;case 2:w.push(v)}else if(f)return!1;return l?-1:s||f?f:w}}},MsuQ:function(t,e,n){"use strict";var r=n("Dgii");t.exports=n("0Rih")("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(this,t);return e&&e.v},set:function(t,e){return r.def(this,0===t?0:t,e)}},r,!0)},NHaJ:function(t,e,n){var r=n("wCso"),o=n("DIVP"),i=n("KOrd"),a=r.has,c=r.get,u=r.key,s=function(t,e,n){if(a(t,e,n))return c(t,e,n);var r=i(e);return null!==r?s(t,r,n):void 0};r.exp({getMetadata:function(t,e){return s(t,o(e),arguments.length<3?void 0:u(arguments[2]))}})},OzIq:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},PHCx:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},PHqh:function(t,e,n){var r=n("Q6Nf"),o=n("/whu");t.exports=function(t){return r(o(t))}},PuTd:function(t,e,n){var r=n("Ds5P"),o=n("KOrd"),i=n("DIVP");r(r.S,"Reflect",{getPrototypeOf:function(t){return o(i(t))}})},Q6Nf:function(t,e,n){var r=n("ydD5");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},QG7u:function(t,e,n){var r=n("vmSO");t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},QKXm:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},Qh14:function(t,e,n){var r=n("ReGu"),o=n("QKXm");t.exports=Object.keys||function(t){return r(t,o)}},R3AP:function(t,e,n){var r=n("OzIq"),o=n("2p1q"),i=n("WBcL"),a=n("ulTY")("src"),c="toString",u=Function[c],s=(""+u).split(c);n("7gX0").inspectSource=function(t){return u.call(t)},(t.exports=function(t,e,n,c){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(u&&(i(n,a)||o(n,a,t[e]?""+t[e]:s.join(String(e)))),t===r?t[e]=n:c?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,c,function(){return"function"==typeof this&&this[a]||u.call(this)})},ReGu:function(t,e,n){var r=n("WBcL"),o=n("PHqh"),i=n("ot5s")(!1),a=n("mZON")("IE_PROTO");t.exports=function(t,e){var n,c=o(t),u=0,s=[];for(n in c)n!=a&&r(c,n)&&s.push(n);for(;e.length>u;)r(c,n=e[u++])&&(~i(s,n)||s.push(n));return s}},Rw4K:function(t,e,n){var r=n("Ds5P");r(r.S,"Reflect",{ownKeys:n("YUr7")})},SHe9:function(t,e,n){var r=n("wC1N"),o=n("kkCw")("iterator"),i=n("bN1p");t.exports=n("7gX0").getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},SPtU:function(t,e,n){function r(t,e){var n,c,f=arguments.length<3?t:arguments[2];return s(t)===f?t[e]:(n=o.f(t,e))?a(n,"value")?n.value:void 0!==n.get?n.get.call(f):void 0:u(c=i(t))?r(c,e,f):void 0}var o=n("x9zv"),i=n("KOrd"),a=n("WBcL"),c=n("Ds5P"),u=n("UKM+"),s=n("DIVP");c(c.S,"Reflect",{get:r})},"UKM+":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},"V3l/":function(t,e){t.exports=!1},VWgF:function(t,e,n){var r=n("OzIq"),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},WBcL:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},WcO1:function(t,e,n){var r=n("ReGu"),o=n("QKXm").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},X7aK:function(t,e,n){"use strict";var r=n("Ds5P"),o=n("DIVP"),i=function(t){this._t=o(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n("IRJ3")(i,"Object",function(){var t,e=this,n=e._k;do{if(e._i>=n.length)return{value:void 0,done:!0}}while(!((t=n[e._i++])in e._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new i(t)}})},XO1R:function(t,e,n){var r=n("ydD5");t.exports=Array.isArray||function(t){return"Array"==r(t)}},XS25:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("2tFN"),o=(n.n(r),n("ChGr")),i=(n.n(o),n("ZSR1"));n.n(i)},XSOZ:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},XvUs:function(t,e,n){var r=n("DIVP");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},Y1N3:function(t,e){e.f=Object.getOwnPropertySymbols},Y1aA:function(t,e){e.f={}.propertyIsEnumerable},YUr7:function(t,e,n){var r=n("WcO1"),o=n("Y1N3"),i=n("DIVP"),a=n("OzIq").Reflect;t.exports=a&&a.ownKeys||function(t){var e=r.f(i(t)),n=o.f;return n?e.concat(n(t)):e}},ZDXm:function(t,e,n){"use strict";var r,o=n("LhTa")(0),i=n("R3AP"),a=n("1aA0"),c=n("oYd7"),u=n("fJSx"),s=n("UKM+"),f=a.getWeak,l=Object.isExtensible,p=u.ufstore,h={},d=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},v={get:function(t){if(s(t)){var e=f(t);return!0===e?p(this).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(this,t,e)}},y=t.exports=n("0Rih")("WeakMap",d,v,u,!0,!0);7!=(new y).set((Object.freeze||Object)(h),7).get(h)&&(r=u.getConstructor(d),c(r.prototype,v),a.NEED=!0,o(["delete","has","get","set"],function(t){var e=y.prototype,n=e[t];i(e,t,function(e,o){if(s(e)&&!l(e)){this._f||(this._f=new r);var i=this._f[t](e,o);return"set"==t?this:i}return n.call(this,e,o)})}))},ZSR1:function(t,e,n){(function(t){/** -* @license -* Copyright Google Inc. All Rights Reserved. -* -* Use of this source code is governed by an MIT-style license that can be -* found in the LICENSE file at https://angular.io/license -*/ -!function(t,e){e()}(0,function(){"use strict";function e(t,e){for(var n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=Zone.current.wrap(t[n],e+"_"+n));return t}function n(t,n){for(var r=t.constructor.name,o=function(o){var i=n[o],a=t[i];a&&(t[i]=function(t){var n=function(){return t.apply(this,e(arguments,r+"."+i))};return v(n,t),n}(a))},i=0;i<n.length;i++)o(i)}function r(t,e,n){var r=Object.getOwnPropertyDescriptor(t,e);if(!r&&n){Object.getOwnPropertyDescriptor(n,e)&&(r={enumerable:!0,configurable:!0})}if(r&&r.configurable){delete r.writable,delete r.value;var o=r.get,i=e.substr(2),a=S("_"+e);r.set=function(e){var n=this;if(n||t!==x||(n=x),n){var r=n[a];if(r&&n.removeEventListener(i,r),"function"==typeof e){var o=function(t){var n=e.apply(this,arguments);return void 0==n||n||t.preventDefault(),n};n[a]=o,n.addEventListener(i,o,!1)}else n[a]=null}},r.get=function(){var n=this;if(n||t!==x||(n=x),!n)return null;if(n.hasOwnProperty(a))return n[a];if(o){var i=o&&o.apply(this);if(i)return r.set.apply(this,[i]),"function"==typeof n.removeAttribute&&n.removeAttribute(e),i}return null},Object.defineProperty(t,e,r)}}function o(t,e,n){if(e)for(var o=0;o<e.length;o++)r(t,"on"+e[o],n);else{var i=[];for(var a in t)"on"==a.substr(0,2)&&i.push(a);for(var c=0;c<i.length;c++)r(t,i[c],n)}}function i(t,e){return!!("boolean"==typeof t?t:"object"==typeof t&&(t&&t.capture))==!!("boolean"==typeof e?e:"object"==typeof e&&e&&e.capture)}function a(t,e,n,r,o){var a=t[C];if(a)for(var c=0;c<a.length;c++){var u=a[c],s=u.data,f=s.handler;if((s.handler===e||f.listener===e)&&i(s.options,r)&&s.eventName===n)return o&&a.splice(c,1),u}return null}function c(t,e,n){var r=t[C];r||(r=t[C]=[]),n?r.unshift(e):r.push(e)}function u(t,e,n,r,o,i){function u(t){var e=t.data;return c(e.target,t,o),e.invokeAddFunc(f,t)}function s(t){var e=t.data;return a(e.target,t.invoke,e.eventName,e.options,!0),e.invokeRemoveFunc(l,t)}void 0===n&&(n=!0),void 0===r&&(r=!1),void 0===o&&(o=!1),void 0===i&&(i=F);var f=S(t),l=S(e),p=!n&&void 0;return function(e,n){var o=i(e,n);o.options=o.options||p;var c=null;"function"==typeof o.handler?c=o.handler:o.handler&&o.handler.handleEvent&&(c=function(t){return o.handler.handleEvent(t)});var l=!1;try{l=o.handler&&"[object FunctionWrapper]"===o.handler.toString()}catch(t){return o.crossContext=!0,o.invokeAddFunc(f,o.handler)}if(!c||l)return o.invokeAddFunc(f,o.handler);if(!r){var h=a(o.target,o.handler,o.eventName,o.options,!1);if(h)return o.invokeAddFunc(f,h)}var d=Zone.current,v=o.target.constructor.name+"."+t+":"+o.eventName;d.scheduleEventTask(v,c,o,u,s)}}function s(t,e,n){void 0===e&&(e=!0),void 0===n&&(n=F);var r=S(t),o=!e&&void 0;return function(t,e){var i=n(t,e);i.options=i.options||o;var c=null;"function"==typeof i.handler?c=i.handler:i.handler&&i.handler.handleEvent&&(c=function(t){return i.handler.handleEvent(t)});var u=!1;try{u=i.handler&&"[object FunctionWrapper]"===i.handler.toString()}catch(t){return i.crossContext=!0,i.invokeRemoveFunc(r,i.handler)}if(!c||u)return i.invokeRemoveFunc(r,i.handler);var s=a(i.target,i.handler,i.eventName,i.options,!0);s?s.zone.cancelTask(s):i.invokeRemoveFunc(r,i.handler)}}function f(t,e,n,r){return void 0===e&&(e=M),void 0===n&&(n=R),void 0===r&&(r=F),!(!t||!t[e])&&(p(t,e,function(){return u(e,n,!0,!1,!1,r)}),p(t,n,function(){return s(n,!0,r)}),!0)}function l(t){var n=x[t];if(n){x[S(t)]=n,x[t]=function(){var r=e(arguments,t);switch(r.length){case 0:this[L]=new n;break;case 1:this[L]=new n(r[0]);break;case 2:this[L]=new n(r[0],r[1]);break;case 3:this[L]=new n(r[0],r[1],r[2]);break;case 4:this[L]=new n(r[0],r[1],r[2],r[3]);break;default:throw new Error("Arg list too long.")}},v(x[t],n);var r,o=new n(function(){});for(r in o)"XMLHttpRequest"===t&&"responseBlob"===r||function(e){"function"==typeof o[e]?x[t].prototype[e]=function(){return this[L][e].apply(this[L],arguments)}:Object.defineProperty(x[t].prototype,e,{set:function(n){"function"==typeof n?(this[L][e]=Zone.current.wrap(n,t+"."+e),v(this[L][e],n)):this[L][e]=n},get:function(){return this[L][e]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&(x[t][r]=n[r])}}function p(t,e,n){for(var r=t;r&&!r.hasOwnProperty(e);)r=Object.getPrototypeOf(r);!r&&t[e]&&(r=t);var o,i=S(e);if(r&&!(o=r[i])){o=r[i]=r[e];var a=n(o,i,e);r[e]=function(){return a(this,arguments)},v(r[e],o)}return o}function h(t,e,n){function r(t){var e=t.data;return e.args[e.callbackIndex]=function(){t.invoke.apply(this,arguments)},o.apply(e.target,e.args),t}var o=null;o=p(t,e,function(t){return function(e,o){var i=n(e,o);if(i.callbackIndex>=0&&"function"==typeof o[i.callbackIndex]){return Zone.current.scheduleMacroTask(i.name,o[i.callbackIndex],i,r,null)}return t.apply(e,o)}})}function d(t,e){var n=t[S("eventTasks")],r=[];if(n)for(var o=0;o<n.length;o++){var i=n[o],a=i.data,c=a&&a.eventName;c===e&&r.push(i)}return r}function v(t,e){t[S("OriginalDelegate")]=e}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function y(t,e,n,r){function o(e){function n(){try{e.invoke.apply(this,arguments)}finally{"number"==typeof r.handleId&&delete u[r.handleId]}}var r=e.data;return r.args[0]=n,r.handleId=a.apply(t,r.args),"number"==typeof r.handleId&&(u[r.handleId]=e),e}function i(t){return"number"==typeof t.data.handleId&&delete u[t.data.handleId],c(t.data.handleId)}var a=null,c=null;e+=r,n+=r;var u={};a=p(t,e,function(n){return function(a,c){if("function"==typeof c[0]){var u=Zone.current,s={handleId:null,isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?c[1]||0:null,args:c},f=u.scheduleMacroTask(e,c[0],s,o,i);if(!f)return f;var l=f.data.handleId;return l&&l.ref&&l.unref&&"function"==typeof l.ref&&"function"==typeof l.unref&&(f.ref=l.ref.bind(l),f.unref=l.unref.bind(l)),f}return n.apply(t,c)}}),c=p(t,n,function(e){return function(n,r){var o="number"==typeof r[0]?u[r[0]]:r[0];o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&o.zone.cancelTask(o):e.apply(t,r)}})}function g(){Object.defineProperty=function(t,e,n){if(m(t,e))throw new TypeError("Cannot assign to read only property '"+e+"' of "+t);var r=n.configurable;return"prototype"!==e&&(n=b(t,e,n)),_(t,e,n,r)},Object.defineProperties=function(t,e){return Object.keys(e).forEach(function(n){Object.defineProperty(t,n,e[n])}),t},Object.create=function(t,e){return"object"!=typeof e||Object.isFrozen(e)||Object.keys(e).forEach(function(n){e[n]=b(t,n,e[n])}),A(t,e)},Object.getOwnPropertyDescriptor=function(t,e){var n=H(t,e);return m(t,e)&&(n.configurable=!1),n}}function k(t,e,n){var r=n.configurable;return n=b(t,e,n),_(t,e,n,r)}function m(t,e){return t&&t[U]&&t[U][e]}function b(t,e,n){return n.configurable=!0,n.configurable||(t[U]||q(t,U,{writable:!0,value:{}}),t[U][e]=!0),n}function _(t,e,n,r){try{return q(t,e,n)}catch(i){if(!n.configurable)throw i;void 0===r?delete n.configurable:n.configurable=r;try{return q(t,e,n)}catch(r){var o=null;try{o=JSON.stringify(n)}catch(t){o=o.toString()}console.log("Attempting to configure '"+e+"' with descriptor '"+o+"' on object '"+t+"' and got error, giving up: "+r)}}}function w(t){var e=[];t.wtf?e=X.split(",").map(function(t){return"HTML"+t+"Element"}).concat(N):t[K]?e.push(K):e=N;for(var n=0;n<e.length;n++){var r=t[e[n]];f(r&&r.prototype)}}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function T(t){var e=t.WebSocket;t.EventTarget||f(e.prototype),t.WebSocket=function(t,n){var r,i=arguments.length>1?new e(t,n):new e(t),a=Object.getOwnPropertyDescriptor(i,"onmessage");return a&&!1===a.configurable?(r=Object.create(i),["addEventListener","removeEventListener","send","close"].forEach(function(t){r[t]=function(){return i[t].apply(i,arguments)}})):r=i,o(r,["close","error","message","open"]),r};for(var n in e)t.WebSocket[n]=e[n]}function O(t){if(!j||I){var e="undefined"!=typeof WebSocket;if(D()){if(Z){o(window,ct,Object.getPrototypeOf(window)),o(Document.prototype,ct),void 0!==window.SVGElement&&o(window.SVGElement.prototype,ct),o(Element.prototype,ct),o(HTMLElement.prototype,ct),o(HTMLMediaElement.prototype,Y),o(HTMLFrameSetElement.prototype,W.concat(nt)),o(HTMLBodyElement.prototype,W.concat(nt)),o(HTMLFrameElement.prototype,et),o(HTMLIFrameElement.prototype,et);var n=window.HTMLMarqueeElement;n&&o(n.prototype,rt)}o(XMLHttpRequest.prototype,ot);var r=t.XMLHttpRequestEventTarget;r&&o(r&&r.prototype,ot),"undefined"!=typeof IDBIndex&&(o(IDBIndex.prototype,it),o(IDBRequest.prototype,it),o(IDBOpenDBRequest.prototype,it),o(IDBDatabase.prototype,it),o(IDBTransaction.prototype,it),o(IDBCursor.prototype,it)),e&&o(WebSocket.prototype,at)}else P(),l("XMLHttpRequest"),e&&T(t)}}function D(){if((Z||I)&&!Object.getOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var t=Object.getOwnPropertyDescriptor(Element.prototype,"onclick");if(t&&!t.configurable)return!1}var e=Object.getOwnPropertyDescriptor(XMLHttpRequest.prototype,"onreadystatechange");if(e){Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}});var n=new XMLHttpRequest,r=!!n.onreadystatechange;return Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",e||{}),r}Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[S("fakeonreadystatechange")]},set:function(t){this[S("fakeonreadystatechange")]=t}});var n=new XMLHttpRequest,o=function(){};n.onreadystatechange=o;var r=n[S("fakeonreadystatechange")]===o;return n.onreadystatechange=null,r}function P(){for(var t=function(t){var e=ct[t],n="on"+e;self.addEventListener(e,function(t){var e,r,o=t.target;for(r=o?o.constructor.name+"."+n:"unknown."+n;o;)o[n]&&!o[n][ut]&&(e=Zone.current.wrap(o[n],r),e[ut]=o[n],o[n]=e),o=o.parentElement},!0)},e=0;e<ct.length;e++)t(e)}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function E(t){if((Z||I)&&"registerElement"in t.document){var e=document.registerElement,n=["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"];document.registerElement=function(t,r){return r&&r.prototype&&n.forEach(function(t){var e="Document.registerElement::"+t;if(r.prototype.hasOwnProperty(t)){var n=Object.getOwnPropertyDescriptor(r.prototype,t);n&&n.value?(n.value=Zone.current.wrap(n.value,e),k(r.prototype,t,n)):r.prototype[t]=Zone.current.wrap(r.prototype[t],e)}else r.prototype[t]&&(r.prototype[t]=Zone.current.wrap(r.prototype[t],e))}),e.apply(document,[t,r])},v(document.registerElement,e)}}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -!function(t){function e(t){c&&c.mark&&c.mark(t)}function n(t,e){c&&c.measure&&c.measure(t,e)}function r(e){0===j&&0===v.length&&(t[h]?t[h].resolve(0)[d](o):t[p](o,0)),e&&v.push(e)}function o(){if(!y){for(y=!0;v.length;){var t=v;v=[];for(var e=0;e<t.length;e++){var n=t[e];try{n.zone.runTask(n,null,null)}catch(t){S.onUnhandledError(t)}}}u[a("ignoreConsoleErrorUncaughtError")];S.microtaskDrainDone(),y=!1}}function i(){}function a(t){return"__zone_symbol__"+t}var c=t.performance;if(e("Zone"),t.Zone)throw new Error("Zone already loaded.");var u=function(){function r(t,e){this._properties=null,this._parent=t,this._name=e?e.name||"unnamed":"<root>",this._properties=e&&e.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,e)}return r.assertZonePatched=function(){if(t.Promise!==E.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(r,"root",{get:function(){for(var t=r.current;t.parent;)t=t.parent;return t},enumerable:!0,configurable:!0}),Object.defineProperty(r,"current",{get:function(){return x.zone},enumerable:!0,configurable:!0}),Object.defineProperty(r,"currentTask",{get:function(){return z},enumerable:!0,configurable:!0}),r.__load_patch=function(o,i){if(E.hasOwnProperty(o))throw Error("Already loaded patch: "+o);if(!t["__Zone_disable_"+o]){var a="Zone:"+o;e(a),E[o]=i(t,r,S),n(a,a)}},Object.defineProperty(r.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),r.prototype.get=function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]},r.prototype.getZoneWith=function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null},r.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},r.prototype.wrap=function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}},r.prototype.run=function(t,e,n,r){void 0===e&&(e=void 0),void 0===n&&(n=null),void 0===r&&(r=null),x={parent:x,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{x=x.parent}},r.prototype.runGuarded=function(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),x={parent:x,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{x=x.parent}},r.prototype.runTask=function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||g).name+"; Execution: "+this.name+")");if(t.state!==k||t.type!==P){var r=t.state!=_;r&&t._transitionTo(_,b),t.runCount++;var o=z;z=t,x={parent:x,zone:this};try{t.type==D&&t.data&&!t.data.isPeriodic&&(t.cancelFn=null);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{t.state!==k&&t.state!==T&&(t.type==P||t.data&&t.data.isPeriodic?r&&t._transitionTo(b,_):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(k,_,k))),x=x.parent,z=o}}},r.prototype.scheduleTask=function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+t.zone.name);e=e.parent}t._transitionTo(m,k);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(e){throw t._transitionTo(T,m,k),this._zoneDelegate.handleError(this,e),e}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==m&&t._transitionTo(b,m),t},r.prototype.scheduleMicroTask=function(t,e,n,r){return this.scheduleTask(new l(O,t,e,n,r,null))},r.prototype.scheduleMacroTask=function(t,e,n,r,o){return this.scheduleTask(new l(D,t,e,n,r,o))},r.prototype.scheduleEventTask=function(t,e,n,r,o){return this.scheduleTask(new l(P,t,e,n,r,o))},r.prototype.cancelTask=function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||g).name+"; Execution: "+this.name+")");t._transitionTo(w,b,_);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(T,w),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(k,w),t.runCount=0,t},r.prototype._updateTaskCount=function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r<n.length;r++)n[r]._updateTaskCount(t.type,e)},r}();u.__symbol__=a;var s={name:"",onHasTask:function(t,e,n,r){return t.hasTask(n,r)},onScheduleTask:function(t,e,n,r){return t.scheduleTask(n,r)},onInvokeTask:function(t,e,n,r,o,i){return t.invokeTask(n,r,o,i)},onCancelTask:function(t,e,n,r){return t.cancelTask(n,r)}},f=function(){function t(t,e,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=e,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:e.zone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:e.zone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:e.zone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:e.zone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:e.zone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:e.zone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:e.zone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var r=n&&n.onHasTask,o=e&&e._hasTaskZS;(r||o)&&(this._hasTaskZS=r?n:s,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,n.onScheduleTask||(this._scheduleTaskZS=s,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=s,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=s,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}return t.prototype.fork=function(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new u(t,e)},t.prototype.intercept=function(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e},t.prototype.invoke=function(t,e,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,r,o):e.apply(n,r)},t.prototype.handleError=function(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)},t.prototype.scheduleTask=function(t,e){var n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e))||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=O)throw new Error("Task is missing scheduleFn.");r(e)}return n},t.prototype.invokeTask=function(t,e,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,r):e.callback.apply(n,r)},t.prototype.cancelTask=function(t,e){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n},t.prototype.hasTask=function(t,e){try{return this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(e){this.handleError(t,e)}},t.prototype._updateTaskCount=function(t,e){var n=this._taskCounts,r=n[t],o=n[t]=r+e;if(o<0)throw new Error("More tasks executed then were scheduled.");if(0==r||0==o){var i={microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t};this.hasTask(this.zone,i)}},t}(),l=function(){function t(t,e,n,r,i,a){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=e,this.data=r,this.scheduleFn=i,this.cancelFn=a,this.callback=n;var c=this;this.invoke=function(){j++;try{return c.runCount++,c.zone.runTask(c,this,arguments)}finally{1==j&&o(),j--}}}return Object.defineProperty(t.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),t.prototype.cancelScheduleRequest=function(){this._transitionTo(k,m)},t.prototype._transitionTo=function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+t+"', expecting state '"+e+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=t,t==k&&(this._zoneDelegates=null)},t.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId:Object.prototype.toString.call(this)},t.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,invoke:this.invoke,scheduleFn:this.scheduleFn,cancelFn:this.cancelFn,runCount:this.runCount,callback:this.callback}},t}(),p=a("setTimeout"),h=a("Promise"),d=a("then"),v=[],y=!1,g={name:"NO ZONE"},k="notScheduled",m="scheduling",b="scheduled",_="running",w="canceling",T="unknown",O="microTask",D="macroTask",P="eventTask",E={},S={symbol:a,currentZoneFrame:function(){return x},onUnhandledError:i,microtaskDrainDone:i,scheduleMicroTask:r,showUncaughtError:function(){return!u[a("ignoreConsoleErrorUncaughtError")]},patchEventTargetMethods:function(){return!1},patchOnProperties:i,patchMethod:function(){return i}},x={parent:null,zone:new u(null,null)},z=null,j=0;n("Zone","Zone"),t.Zone=u}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||t);/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -Zone.__load_patch("ZoneAwarePromise",function(t,e,n){function r(t){n.onUnhandledError(t);try{var r=e[h("unhandledPromiseRejectionHandler")];r&&"function"==typeof r&&r.apply(this,[t])}catch(t){}}function o(t){return t&&t.then}function i(t){return t}function a(t){return D.reject(t)}function c(t,e){return function(n){try{u(t,e,n)}catch(e){u(t,!1,e)}}}function u(t,r,o){var i=O();if(t===o)throw new TypeError("Promise resolved with itself");if(t[g]===b){var a=null;try{"object"!=typeof o&&"function"!=typeof o||(a=o&&o.then)}catch(e){return i(function(){u(t,!1,e)})(),t}if(r!==w&&o instanceof D&&o.hasOwnProperty(g)&&o.hasOwnProperty(k)&&o[g]!==b)s(o),u(t,o[g],o[k]);else if(r!==w&&"function"==typeof a)try{a.apply(o,[i(c(t,r)),i(c(t,!1))])}catch(e){i(function(){u(t,!1,e)})()}else{t[g]=r;var l=t[k];t[k]=o,r===w&&o instanceof Error&&(o[h("currentTask")]=e.currentTask);for(var p=0;p<l.length;)f(t,l[p++],l[p++],l[p++],l[p++]);if(0==l.length&&r==w){t[g]=T;try{throw new Error("Uncaught (in promise): "+o+(o&&o.stack?"\n"+o.stack:""))}catch(r){var v=r;v.rejection=o,v.promise=t,v.zone=e.current,v.task=e.currentTask,d.push(v),n.scheduleMicroTask()}}}}return t}function s(t){if(t[g]===T){try{var n=e[h("rejectionHandledHandler")];n&&"function"==typeof n&&n.apply(this,[{rejection:t[k],promise:t}])}catch(t){}t[g]=w;for(var r=0;r<d.length;r++)t===d[r].promise&&d.splice(r,1)}}function f(t,e,n,r,o){s(t);var c=t[g]?"function"==typeof r?r:i:"function"==typeof o?o:a;e.scheduleMicroTask(m,function(){try{u(n,!0,e.run(c,void 0,[t[k]]))}catch(t){u(n,!1,t)}})}function l(t){var e=t.prototype,n=e.then;e[y]=n,t.prototype.then=function(t,e){var r=this;return new D(function(t,e){n.call(r,t,e)}).then(t,e)},t[E]=!0}function p(t){return function(){var e=t.apply(this,arguments);if(e instanceof D)return e;var n=e.constructor;return n[E]||l(n),e}}var h=n.symbol,d=[],v=h("Promise"),y=h("then");n.onUnhandledError=function(t){if(n.showUncaughtError()){var e=t&&t.rejection;e&&console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0),console.error(t)}},n.microtaskDrainDone=function(){for(;d.length;)for(var t=function(){var t=d.shift();try{t.zone.runGuarded(function(){throw t})}catch(t){r(t)}};d.length;)t()};var g=h("state"),k=h("value"),m="Promise.then",b=null,_=!0,w=!1,T=0,O=function(){var t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}},D=function(){function t(e){var n=this;if(!(n instanceof t))throw new Error("Must be an instanceof Promise.");n[g]=b,n[k]=[];try{e&&e(c(n,_),c(n,w))}catch(t){u(n,!1,t)}}return t.toString=function(){return"function ZoneAwarePromise() { [native code] }"},t.resolve=function(t){return u(new this(null),_,t)},t.reject=function(t){return u(new this(null),w,t)},t.race=function(t){function e(t){a&&(a=r(t))}function n(t){a&&(a=i(t))}for(var r,i,a=new this(function(t,e){n=[t,e],r=n[0],i=n[1];var n}),c=0,u=t;c<u.length;c++){var s=u[c];o(s)||(s=this.resolve(s)),s.then(e,n)}return a},t.all=function(t){for(var e,n,r=new this(function(t,r){e=t,n=r}),i=0,a=[],c=0,u=t;c<u.length;c++){var s=u[c];o(s)||(s=this.resolve(s)),s.then(function(t){return function(n){a[t]=n,--i||e(a)}}(i),n),i++}return i||e(a),r},t.prototype.then=function(t,n){var r=new this.constructor(null),o=e.current;return this[g]==b?this[k].push(o,r,t,n):f(this,o,r,t,n),r},t.prototype.catch=function(t){return this.then(null,t)},t}();D.resolve=D.resolve,D.reject=D.reject,D.race=D.race,D.all=D.all;var P=t[v]=t.Promise;t.Promise=D;var E=h("thenPatched");if(P){l(P);var S=t.fetch;"function"==typeof S&&(t.fetch=p(S))}return Promise[e.__symbol__("uncaughtPromiseErrors")]=d,D});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var S=function(t){return"__zone_symbol__"+t},x="object"==typeof window&&window||"object"==typeof self&&self||t,z="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,j=!("nw"in x)&&void 0!==x.process&&"[object process]"==={}.toString.call(x.process),Z=!j&&!z&&!("undefined"==typeof window||!window.HTMLElement),I=void 0!==x.process&&"[object process]"==={}.toString.call(x.process)&&!z&&!("undefined"==typeof window||!window.HTMLElement),C=S("eventTasks"),M="addEventListener",R="removeEventListener",F=function(t,e){return{options:e[2],eventName:e[0],handler:e[1],target:t||x,name:e[0],crossContext:!1,invokeAddFunc:function(t,e){if(!this.crossContext)return e&&e.invoke?this.target[t](this.eventName,e.invoke,this.options):this.target[t](this.eventName,e,this.options);try{return this.target[t](this.eventName,e,this.options)}catch(t){}},invokeRemoveFunc:function(t,e){if(!this.crossContext)return e&&e.invoke?this.target[t](this.eventName,e.invoke,this.options):this.target[t](this.eventName,e,this.options);try{return this.target[t](this.eventName,e,this.options)}catch(t){}}}},L=S("originalInstance");/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -Zone.__load_patch("toString",function(t,e,n){var r=Function.prototype.toString;Function.prototype.toString=function(){if("function"==typeof this){var e=this[S("OriginalDelegate")];if(e)return"function"==typeof e?r.apply(this[S("OriginalDelegate")],arguments):Object.prototype.toString.call(e);if(this===Promise){var n=t[S("Promise")];if(n)return r.apply(n,arguments)}if(this===Error){var o=t[S("Error")];if(o)return r.apply(o,arguments)}}return r.apply(this,arguments)};var o=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":o.apply(this,arguments)}});/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var q=Object[S("defineProperty")]=Object.defineProperty,H=Object[S("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,A=Object.create,U=S("unconfigurables"),X="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video",N="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket".split(","),K="EventTarget",B=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","transitioncancel","transitionend","waiting","wheel"],V=["afterscriptexecute","beforescriptexecute","DOMContentLoaded","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange"],W=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplyconnected","vrdisplaydisconnected","vrdisplaypresentchange"],G=["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],Y=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],Q=["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"],J=["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],$=["autocomplete","autocompleteerror"],tt=["toggle"],et=["load"],nt=["blur","error","focus","load","resize","scroll"],rt=["bounce","finish","start"],ot=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],it=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],at=["close","error","open","message"],ct=B.concat(J,$,tt,V,W,G,Q),ut=S("unbound");/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -Zone.__load_patch("timers",function(t,e,n){var r="set",o="clear";y(t,r,o,"Timeout"),y(t,r,o,"Interval"),y(t,r,o,"Immediate"),y(t,"request","cancel","AnimationFrame"),y(t,"mozRequest","mozCancel","AnimationFrame"),y(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(t,e,n){for(var r=["alert","prompt","confirm"],o=0;o<r.length;o++){var i=r[o];p(t,i,function(n,r,o){return function(r,i){return e.current.run(n,t,i,o)}})}}),Zone.__load_patch("EventTarget",function(t,e,n){w(t);var r=t.XMLHttpRequestEventTarget;r&&r.prototype&&f(r.prototype),l("MutationObserver"),l("WebKitMutationObserver"),l("FileReader")}),Zone.__load_patch("on_property",function(t,e,n){O(t),g(),E(t)}),Zone.__load_patch("canvas",function(t,e,n){var r=t.HTMLCanvasElement;void 0!==r&&r.prototype&&r.prototype.toBlob&&h(r.prototype,"toBlob",function(t,e){return{name:"HTMLCanvasElement.toBlob",target:t,callbackIndex:0,args:e}})}),Zone.__load_patch("XHR",function(t,e,n){function r(t){function n(t){return t[o]}function r(t){XMLHttpRequest[c]=!1;var e=t.data,n=e.target[a],r=e.target[S("addEventListener")],i=e.target[S("removeEventListener")];n&&i.apply(e.target,["readystatechange",n]);var u=e.target[a]=function(){e.target.readyState===e.target.DONE&&!e.aborted&&XMLHttpRequest[c]&&"scheduled"===t.state&&t.invoke()};return r.apply(e.target,["readystatechange",u]),e.target[o]||(e.target[o]=t),l.apply(e.target,e.args),XMLHttpRequest[c]=!0,t}function u(){}function s(t){var e=t.data;return e.aborted=!0,h.apply(e.target,e.args)}var f=p(t.XMLHttpRequest.prototype,"open",function(){return function(t,e){return t[i]=0==e[2],f.apply(t,e)}}),l=p(t.XMLHttpRequest.prototype,"send",function(){return function(t,n){var o=e.current;if(t[i])return l.apply(t,n);var a={target:t,isPeriodic:!1,delay:null,args:n,aborted:!1};return o.scheduleMacroTask("XMLHttpRequest.send",u,a,r,s)}}),h=p(t.XMLHttpRequest.prototype,"abort",function(t){return function(t,e){var r=n(t);if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}}})}r(t);var o=S("xhrTask"),i=S("xhrSync"),a=S("xhrListener"),c=S("xhrScheduled")}),Zone.__load_patch("geolocation",function(t,e,r){t.navigator&&t.navigator.geolocation&&n(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",function(t,e,n){function r(e){return function(n){d(t,e).forEach(function(r){var o=t.PromiseRejectionEvent;if(o){var i=new o(e,{promise:n.promise,reason:n.rejection});r.invoke(i)}})}}t.PromiseRejectionEvent&&(e[S("unhandledPromiseRejectionHandler")]=r("unhandledrejection"),e[S("rejectionHandledHandler")]=r("rejectionhandled"))}),Zone.__load_patch("util",function(t,e,n){n.patchEventTargetMethods=f,n.patchOnProperties=o,n.patchMethod=p})})}).call(e,n("DuR2"))},ZtwE:function(t,e,n){"use strict";var r=n("XSOZ"),o=n("UKM+"),i=n("PHCx"),a=[].slice,c={},u=function(t,e,n){if(!(e in c)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";c[e]=Function("F,a","return new F("+r.join(",")+")")}return c[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=a.call(arguments,1),c=function(){var r=n.concat(a.call(arguments));return this instanceof c?u(e,r.length,r):i(e,r,t)};return o(e.prototype)&&(c.prototype=e.prototype),c}},bN1p:function(t,e){t.exports={}},bUY0:function(t,e,n){function r(t,e,n){var u,p,h=arguments.length<4?t:arguments[3],d=i.f(f(t),e);if(!d){if(l(p=a(t)))return r(p,e,n,h);d=s(0)}return c(d,"value")?!(!1===d.writable||!l(h))&&(u=i.f(h,e)||s(0),u.value=n,o.f(h,e,u),!0):void 0!==d.set&&(d.set.call(h,n),!0)}var o=n("lDLk"),i=n("x9zv"),a=n("KOrd"),c=n("WBcL"),u=n("Ds5P"),s=n("fU25"),f=n("DIVP"),l=n("UKM+");u(u.S,"Reflect",{set:r})},bUqO:function(t,e,n){t.exports=!n("zgIt")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},boo2:function(t,e,n){var r=n("UKM+"),o=n("XO1R"),i=n("kkCw")("species");t.exports=function(t){var e;return o(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},d075:function(t,e,n){t.exports=n("OzIq").document&&document.documentElement},dSUw:function(t,e,n){"use strict";var r=n("Dgii");t.exports=n("0Rih")("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(this,t=0===t?0:t,t)}},r)},"dm+7":function(t,e,n){var r=n("Ds5P");r(r.S,"Reflect",{has:function(t,e){return e in t}})},fJSx:function(t,e,n){"use strict";var r=n("A16L"),o=n("1aA0").getWeak,i=n("DIVP"),a=n("UKM+"),c=n("9GpA"),u=n("vmSO"),s=n("LhTa"),f=n("WBcL"),l=s(5),p=s(6),h=0,d=function(t){return t._l||(t._l=new v)},v=function(){this.a=[]},y=function(t,e){return l(t.a,function(t){return t[0]===e})};v.prototype={get:function(t){var e=y(this,t);if(e)return e[1]},has:function(t){return!!y(this,t)},set:function(t,e){var n=y(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=p(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,i){var s=t(function(t,r){c(t,s,e,"_i"),t._i=h++,t._l=void 0,void 0!=r&&u(r,n,t[i],t)});return r(s.prototype,{delete:function(t){if(!a(t))return!1;var e=o(t);return!0===e?d(this).delete(t):e&&f(e,this._i)&&delete e[this._i]},has:function(t){if(!a(t))return!1;var e=o(t);return!0===e?d(this).has(t):e&&f(e,this._i)}}),s},def:function(t,e,n){var r=o(i(e),!0);return!0===r?d(t).set(e,n):r[t._i]=n,t},ufstore:d}},fU25:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},gvDt:function(t,e,n){var r=n("UKM+"),o=n("DIVP"),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("rFzY")(Function.call,n("x9zv").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},jhxf:function(t,e,n){var r=n("UKM+"),o=n("OzIq").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},kic5:function(t,e,n){var r=n("UKM+"),o=n("gvDt").set;t.exports=function(t,e,n){var i,a=e.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},kkCw:function(t,e,n){var r=n("VWgF")("wks"),o=n("ulTY"),i=n("OzIq").Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},lDLk:function(t,e,n){var r=n("DIVP"),o=n("xZa+"),i=n("s4j0"),a=Object.defineProperty;e.f=n("bUqO")?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},mTp7:function(t,e,n){var r=n("Ds5P"),o=n("gvDt");o&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){o.check(t,e);try{return o.set(t,e),!0}catch(t){return!1}}})},mZON:function(t,e,n){var r=n("VWgF")("keys"),o=n("ulTY");t.exports=function(t){return r[t]||(r[t]=o(t))}},oYd7:function(t,e,n){"use strict";var r=n("Qh14"),o=n("Y1N3"),i=n("Y1aA"),a=n("FryR"),c=n("Q6Nf"),u=Object.assign;t.exports=!u||n("zgIt")(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,s=1,f=o.f,l=i.f;u>s;)for(var p,h=c(arguments[s++]),d=f?r(h).concat(f(h)):r(h),v=d.length,y=0;v>y;)l.call(h,p=d[y++])&&(n[p]=h[p]);return n}:u},oeih:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},ot5s:function(t,e,n){var r=n("PHqh"),o=n("BbyF"),i=n("8D8H");t.exports=function(t){return function(e,n,a){var c,u=r(e),s=o(u.length),f=i(a,s);if(t&&n!=n){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},plSV:function(t,e,n){var r=n("boo2");t.exports=function(t,e){return new(r(t))(e)}},qkyc:function(t,e,n){var r=n("kkCw")("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},rFzY:function(t,e,n){var r=n("XSOZ");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},s4j0:function(t,e,n){var r=n("UKM+");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},twxM:function(t,e,n){var r=n("lDLk"),o=n("DIVP"),i=n("Qh14");t.exports=n("bUqO")?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),c=a.length,u=0;c>u;)r.f(t,n=a[u++],e[n]);return t}},uc2A:function(t,e,n){"use strict";var r=n("V3l/"),o=n("Ds5P"),i=n("R3AP"),a=n("2p1q"),c=n("WBcL"),u=n("bN1p"),s=n("IRJ3"),f=n("yYvK"),l=n("KOrd"),p=n("kkCw")("iterator"),h=!([].keys&&"next"in[].keys()),d="keys",v="values",y=function(){return this};t.exports=function(t,e,n,g,k,m,b){s(n,e,g);var _,w,T,O=function(t){if(!h&&t in S)return S[t];switch(t){case d:case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},D=e+" Iterator",P=k==v,E=!1,S=t.prototype,x=S[p]||S["@@iterator"]||k&&S[k],z=x||O(k),j=k?P?O("entries"):z:void 0,Z="Array"==e?S.entries||x:x;if(Z&&(T=l(Z.call(new t)))!==Object.prototype&&(f(T,D,!0),r||c(T,p)||a(T,p,y)),P&&x&&x.name!==v&&(E=!0,z=function(){return x.call(this)}),r&&!b||!h&&!E&&S[p]||a(S,p,z),u[e]=z,u[D]=y,k)if(_={values:P?z:O(v),keys:m?z:O(d),entries:j},b)for(w in _)w in S||i(S,w,_[w]);else o(o.P+o.F*(h||E),e,_);return _}},ulTY:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},v3hU:function(t,e,n){var r=n("dSUw"),o=n("QG7u"),i=n("wCso"),a=n("DIVP"),c=n("KOrd"),u=i.keys,s=i.key,f=function(t,e){var n=u(t,e),i=c(t);if(null===i)return n;var a=f(i,e);return a.length?n.length?o(new r(n.concat(a))):a:n};i.exp({getMetadataKeys:function(t){return f(a(t),arguments.length<2?void 0:s(arguments[1]))}})},vmSO:function(t,e,n){var r=n("rFzY"),o=n("XvUs"),i=n("9vb1"),a=n("DIVP"),c=n("BbyF"),u=n("SHe9"),s={},f={},e=t.exports=function(t,e,n,l,p){var h,d,v,y,g=p?function(){return t}:u(t),k=r(n,l,e?2:1),m=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(h=c(t.length);h>m;m++)if((y=e?k(a(d=t[m])[0],d[1]):k(t[m]))===s||y===f)return y}else for(v=g.call(t);!(d=v.next()).done;)if((y=o(v,k,d.value,e))===s||y===f)return y};e.BREAK=s,e.RETURN=f},vmSu:function(t,e,n){var r=n("Ds5P"),o=n("7ylX"),i=n("XSOZ"),a=n("DIVP"),c=n("UKM+"),u=n("zgIt"),s=n("ZtwE"),f=(n("OzIq").Reflect||{}).construct,l=u(function(){function t(){}return!(f(function(){},[],t)instanceof t)}),p=!u(function(){f(function(){})});r(r.S+r.F*(l||p),"Reflect",{construct:function(t,e){i(t),a(e);var n=arguments.length<3?t:i(arguments[2]);if(p&&!l)return f(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(s.apply(t,r))}var u=n.prototype,h=o(c(u)?u:Object.prototype),d=Function.apply.call(t,h,e);return c(d)?d:h}})},vsh6:function(t,e,n){var r=n("wCso"),o=n("DIVP"),i=r.keys,a=r.key;r.exp({getOwnMetadataKeys:function(t){return i(o(t),arguments.length<2?void 0:a(arguments[1]))}})},wC1N:function(t,e,n){var r=n("ydD5"),o=n("kkCw")("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),o))?n:i?r(e):"Object"==(c=r(e))&&"function"==typeof e.callee?"Arguments":c}},wCso:function(t,e,n){var r=n("MsuQ"),o=n("Ds5P"),i=n("VWgF")("metadata"),a=i.store||(i.store=new(n("ZDXm"))),c=function(t,e,n){var o=a.get(t);if(!o){if(!n)return;a.set(t,o=new r)}var i=o.get(e);if(!i){if(!n)return;o.set(e,i=new r)}return i},u=function(t,e,n){var r=c(e,n,!1);return void 0!==r&&r.has(t)},s=function(t,e,n){var r=c(e,n,!1);return void 0===r?void 0:r.get(t)},f=function(t,e,n,r){c(n,r,!0).set(t,e)},l=function(t,e){var n=c(t,e,!1),r=[];return n&&n.forEach(function(t,e){r.push(e)}),r},p=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},h=function(t){o(o.S,"Reflect",t)};t.exports={store:a,map:c,has:u,get:s,set:f,keys:l,key:p,exp:h}},x9zv:function(t,e,n){var r=n("Y1aA"),o=n("fU25"),i=n("PHqh"),a=n("s4j0"),c=n("WBcL"),u=n("xZa+"),s=Object.getOwnPropertyDescriptor;e.f=n("bUqO")?s:function(t,e){if(t=i(t),e=a(e,!0),u)try{return s(t,e)}catch(t){}if(c(t,e))return o(!r.f.call(t,e),t[e])}},"xZa+":function(t,e,n){t.exports=!n("bUqO")&&!n("zgIt")(function(){return 7!=Object.defineProperty(n("jhxf")("div"),"a",{get:function(){return 7}}).a})},yJ2x:function(t,e,n){var r=n("wCso"),o=n("DIVP"),i=r.key,a=r.set;r.exp({defineMetadata:function(t,e,n,r){a(t,e,o(n),i(r))}})},yOtE:function(t,e,n){var r=n("wCso"),o=n("DIVP"),i=r.has,a=r.key;r.exp({hasOwnMetadata:function(t,e){return i(t,o(e),arguments.length<3?void 0:a(arguments[2]))}})},yYvK:function(t,e,n){var r=n("lDLk").f,o=n("WBcL"),i=n("kkCw")("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},ydD5:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},yx1U:function(t,e,n){var r=n("Ds5P"),o=n("x9zv").f,i=n("DIVP");r(r.S,"Reflect",{deleteProperty:function(t,e){var n=o(i(t),e);return!(n&&!n.configurable)&&delete t[e]}})},zZHq:function(t,e,n){var r=n("wCso"),o=n("DIVP"),i=r.get,a=r.key;r.exp({getOwnMetadata:function(t,e){return i(t,o(e),arguments.length<3?void 0:a(arguments[2]))}})},zgIt:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}}},[2]); \ No newline at end of file diff --git a/Servidor JEE/WebContent/scripts.32b570002eddbb8f9caa.bundle.js b/Servidor JEE/WebContent/scripts.32b570002eddbb8f9caa.bundle.js deleted file mode 100644 index 5865ef97c295e620381faaa934ee572572044eff..0000000000000000000000000000000000000000 --- a/Servidor JEE/WebContent/scripts.32b570002eddbb8f9caa.bundle.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([9,11],{3:function(e,t,n){n("MR0U"),e.exports=n("gn53")},FMKH:function(e,t){e.exports="// Generated by CoffeeScript 1.9.1\n\n/*\nCopyrights 2011, the repl.it project.\nLicensed under the MIT license\n */\n\n(function() {\n var $, Ansi, CLASS_ANSI, CLASS_BLURRED, CLASS_CURSOR, CLASS_HEADER, CLASS_INPUT, CLASS_OLD_INPUT, CLASS_OLD_PROMPT, CLASS_PREFIX, CLASS_PROMPT, CLASS_PROMPT_TEXT, DEFAULT_INDENT_WIDTH, DEFAULT_PROMPT_CONINUE_LABEL, DEFAULT_PROMPT_LABEL, EMPTY_DIV, EMPTY_SELECTOR, EMPTY_SPAN, ESCAPE_CHAR, ESCAPE_SYNTAX, E_KEYPRESS, JQConsole, KEY_BACKSPACE, KEY_DELETE, KEY_DOWN, KEY_END, KEY_ENTER, KEY_HOME, KEY_LEFT, KEY_PAGE_DOWN, KEY_PAGE_UP, KEY_RIGHT, KEY_TAB, KEY_UP, NEWLINE, STATE_INPUT, STATE_OUTPUT, STATE_PROMPT, spanHtml,\n bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n slice = [].slice;\n\n $ = jQuery;\n\n STATE_INPUT = 0;\n\n STATE_OUTPUT = 1;\n\n STATE_PROMPT = 2;\n\n KEY_ENTER = 13;\n\n KEY_TAB = 9;\n\n KEY_DELETE = 46;\n\n KEY_BACKSPACE = 8;\n\n KEY_LEFT = 37;\n\n KEY_RIGHT = 39;\n\n KEY_UP = 38;\n\n KEY_DOWN = 40;\n\n KEY_HOME = 36;\n\n KEY_END = 35;\n\n KEY_PAGE_UP = 33;\n\n KEY_PAGE_DOWN = 34;\n\n CLASS_PREFIX = 'jqconsole-';\n\n CLASS_CURSOR = CLASS_PREFIX + \"cursor\";\n\n CLASS_HEADER = CLASS_PREFIX + \"header\";\n\n CLASS_PROMPT = CLASS_PREFIX + \"prompt\";\n\n CLASS_PROMPT_TEXT = CLASS_PROMPT + \"-text\";\n\n CLASS_OLD_PROMPT = CLASS_PREFIX + \"old-prompt\";\n\n CLASS_INPUT = CLASS_PREFIX + \"input\";\n\n CLASS_OLD_INPUT = CLASS_PREFIX + \"old-input\";\n\n CLASS_BLURRED = CLASS_PREFIX + \"blurred\";\n\n E_KEYPRESS = 'keypress';\n\n EMPTY_SPAN = '<span/>';\n\n EMPTY_DIV = '<div/>';\n\n EMPTY_SELECTOR = ':empty';\n\n NEWLINE = '\\n';\n\n DEFAULT_PROMPT_LABEL = '>>> ';\n\n DEFAULT_PROMPT_CONINUE_LABEL = '... ';\n\n DEFAULT_INDENT_WIDTH = 2;\n\n CLASS_ANSI = CLASS_PREFIX + \"ansi-\";\n\n ESCAPE_CHAR = '\\x1B';\n\n ESCAPE_SYNTAX = /\\[(\\d*)(?:;(\\d*))*m/;\n\n Ansi = (function() {\n Ansi.prototype.COLORS = ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white'];\n\n function Ansi() {\n this.stylize = bind(this.stylize, this);\n this._closeSpan = bind(this._closeSpan, this);\n this._openSpan = bind(this._openSpan, this);\n this.getClasses = bind(this.getClasses, this);\n this._style = bind(this._style, this);\n this._color = bind(this._color, this);\n this._remove = bind(this._remove, this);\n this._append = bind(this._append, this);\n this.klasses = [];\n }\n\n Ansi.prototype._append = function(klass) {\n klass = \"\" + CLASS_ANSI + klass;\n if (this.klasses.indexOf(klass) === -1) {\n return this.klasses.push(klass);\n }\n };\n\n Ansi.prototype._remove = function() {\n var cls, j, klass, klasses, len1, results;\n klasses = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n results = [];\n for (j = 0, len1 = klasses.length; j < len1; j++) {\n klass = klasses[j];\n if (klass === 'fonts' || klass === 'color' || klass === 'background-color') {\n results.push(this.klasses = (function() {\n var k, len2, ref, results1;\n ref = this.klasses;\n results1 = [];\n for (k = 0, len2 = ref.length; k < len2; k++) {\n cls = ref[k];\n if (cls.indexOf(klass) !== CLASS_ANSI.length) {\n results1.push(cls);\n }\n }\n return results1;\n }).call(this));\n } else {\n klass = \"\" + CLASS_ANSI + klass;\n results.push(this.klasses = (function() {\n var k, len2, ref, results1;\n ref = this.klasses;\n results1 = [];\n for (k = 0, len2 = ref.length; k < len2; k++) {\n cls = ref[k];\n if (cls !== klass) {\n results1.push(cls);\n }\n }\n return results1;\n }).call(this));\n }\n }\n return results;\n };\n\n Ansi.prototype._color = function(i) {\n return this.COLORS[i];\n };\n\n Ansi.prototype._style = function(code) {\n if (code === '') {\n code = 0;\n }\n code = parseInt(code);\n if (isNaN(code)) {\n return;\n }\n switch (code) {\n case 0:\n return this.klasses = [];\n case 1:\n return this._append('bold');\n case 2:\n return this._append('lighter');\n case 3:\n return this._append('italic');\n case 4:\n return this._append('underline');\n case 5:\n return this._append('blink');\n case 6:\n return this._append('blink-rapid');\n case 8:\n return this._append('hidden');\n case 9:\n return this._append('line-through');\n case 10:\n return this._remove('fonts');\n case 11:\n case 12:\n case 13:\n case 14:\n case 15:\n case 16:\n case 17:\n case 18:\n case 19:\n this._remove('fonts');\n return this._append(\"fonts-\" + (code - 10));\n case 20:\n return this._append('fraktur');\n case 21:\n return this._remove('bold', 'lighter');\n case 22:\n return this._remove('bold', 'lighter');\n case 23:\n return this._remove('italic', 'fraktur');\n case 24:\n return this._remove('underline');\n case 25:\n return this._remove('blink', 'blink-rapid');\n case 28:\n return this._remove('hidden');\n case 29:\n return this._remove('line-through');\n case 30:\n case 31:\n case 32:\n case 33:\n case 34:\n case 35:\n case 36:\n case 37:\n this._remove('color');\n return this._append('color-' + this._color(code - 30));\n case 39:\n return this._remove('color');\n case 40:\n case 41:\n case 42:\n case 43:\n case 44:\n case 45:\n case 46:\n case 47:\n this._remove('background-color');\n return this._append('background-color-' + this._color(code - 40));\n case 49:\n return this._remove('background-color');\n case 51:\n return this._append('framed');\n case 53:\n return this._append('overline');\n case 54:\n return this._remove('framed');\n case 55:\n return this._remove('overline');\n }\n };\n\n Ansi.prototype.getClasses = function() {\n return this.klasses.join(' ');\n };\n\n Ansi.prototype._openSpan = function(text) {\n return \"<span class=\\\"\" + (this.getClasses()) + \"\\\">\" + text;\n };\n\n Ansi.prototype._closeSpan = function(text) {\n return text + \"</span>\";\n };\n\n Ansi.prototype.stylize = function(text) {\n var code, d, i, j, len1, ref;\n text = this._openSpan(text);\n i = 0;\n while ((i = text.indexOf(ESCAPE_CHAR, i)) && i !== -1) {\n if (d = text.slice(i).match(ESCAPE_SYNTAX)) {\n ref = d.slice(1);\n for (j = 0, len1 = ref.length; j < len1; j++) {\n code = ref[j];\n this._style(code);\n }\n text = this._closeSpan(text.slice(0, i)) + this._openSpan(text.slice(i + 1 + d[0].length));\n } else {\n i++;\n }\n }\n return this._closeSpan(text);\n };\n\n return Ansi;\n\n })();\n\n spanHtml = function(klass, content) {\n return \"<span class=\\\"\" + klass + \"\\\">\" + (content || '') + \"</span>\";\n };\n\n JQConsole = (function() {\n function JQConsole(outer_container, header, prompt_label, prompt_continue_label, disable_auto_focus) {\n if (disable_auto_focus == null) {\n disable_auto_focus = false;\n }\n this._HideComposition = bind(this._HideComposition, this);\n this._ShowComposition = bind(this._ShowComposition, this);\n this._UpdateComposition = bind(this._UpdateComposition, this);\n this._EndComposition = bind(this._EndComposition, this);\n this._StartComposition = bind(this._StartComposition, this);\n this._CheckComposition = bind(this._CheckComposition, this);\n this._ProcessMatch = bind(this._ProcessMatch, this);\n this._HandleKey = bind(this._HandleKey, this);\n this._HandleChar = bind(this._HandleChar, this);\n this.isMobile = !!navigator.userAgent.match(/iPhone|iPad|iPod|Android/i);\n this.isIos = !!navigator.userAgent.match(/iPhone|iPad|iPod/i);\n this.isAndroid = !!navigator.userAgent.match(/Android/i);\n this.auto_focus = !disable_auto_focus;\n this.$window = $(window);\n this.header = header || '';\n this.prompt_label_main = typeof prompt_label === 'string' ? prompt_label : DEFAULT_PROMPT_LABEL;\n this.prompt_label_continue = prompt_continue_label || DEFAULT_PROMPT_CONINUE_LABEL;\n this.indent_width = DEFAULT_INDENT_WIDTH;\n this.state = STATE_OUTPUT;\n this.input_queue = [];\n this.input_callback = null;\n this.multiline_callback = null;\n this.history = [];\n this.history_index = 0;\n this.history_new = '';\n this.history_active = false;\n this.shortcuts = {};\n this.$container = $('<div/>').appendTo(outer_container);\n this.$container.css({\n 'top': 0,\n 'left': 0,\n 'right': 0,\n 'bottom': 0,\n 'position': 'absolute',\n 'overflow': 'auto'\n });\n this.$console = $('<pre class=\"jqconsole\"/>').appendTo(this.$container);\n this.$console.css({\n 'margin': 0,\n 'position': 'relative',\n 'min-height': '100%',\n 'box-sizing': 'border-box',\n '-moz-box-sizing': 'border-box',\n '-webkit-box-sizing': 'border-box'\n });\n this.$console_focused = true;\n this.$input_container = $(EMPTY_DIV).appendTo(this.$container);\n this.$input_container.css({\n position: 'absolute',\n width: 1,\n height: 0,\n overflow: 'hidden'\n });\n this.$input_source = this.isAndroid ? $('<input/>') : $('<textarea/>');\n this.$input_source.attr({\n wrap: 'off',\n autocapitalize: 'off',\n autocorrect: 'off',\n spellcheck: 'false',\n autocomplete: 'off'\n });\n this.$input_source.css({\n position: 'absolute',\n width: 2\n });\n this.$input_source.appendTo(this.$input_container);\n this.$composition = $(EMPTY_DIV);\n this.$composition.addClass(CLASS_PREFIX + \"composition\");\n this.$composition.css({\n display: 'inline',\n position: 'relative'\n });\n this.matchings = {\n openings: {},\n closings: {},\n clss: []\n };\n this.ansi = new Ansi();\n this._InitPrompt();\n this._SetupEvents();\n this.Write(this.header, CLASS_HEADER);\n $(outer_container).data('jqconsole', this);\n }\n\n JQConsole.prototype.ResetHistory = function() {\n return this.SetHistory([]);\n };\n\n JQConsole.prototype.ResetShortcuts = function() {\n return this.shortcuts = {};\n };\n\n JQConsole.prototype.ResetMatchings = function() {\n return this.matchings = {\n openings: {},\n closings: {},\n clss: []\n };\n };\n\n JQConsole.prototype.Reset = function() {\n if (this.state !== STATE_OUTPUT) {\n this.ClearPromptText(true);\n }\n this.state = STATE_OUTPUT;\n this.input_queue = [];\n this.input_callback = null;\n this.multiline_callback = null;\n this.custom_control_key_handler = null;\n this.custom_keypress_handler = null;\n this.ResetHistory();\n this.ResetShortcuts();\n this.ResetMatchings();\n this.$prompt.detach();\n this.$input_container.detach();\n this.$console.html('');\n this.$prompt.appendTo(this.$console);\n this.$input_container.appendTo(this.$container);\n this.Write(this.header, CLASS_HEADER);\n return void 0;\n };\n\n JQConsole.prototype.GetHistory = function() {\n return this.history;\n };\n\n JQConsole.prototype.SetHistory = function(history) {\n this.history = history.slice();\n return this.history_index = this.history.length;\n };\n\n\n /*------------------------ Shortcut Methods ----------------------------- */\n\n JQConsole.prototype._CheckKeyCode = function(key_code) {\n if (isNaN(key_code)) {\n key_code = key_code.charCodeAt(0);\n } else {\n key_code = parseInt(key_code, 10);\n }\n if (!((0 < key_code && key_code < 256)) || isNaN(key_code)) {\n throw new Error('Key code must be a number between 0 and 256 exclusive.');\n }\n return key_code;\n };\n\n JQConsole.prototype._LetterCaseHelper = function(key_code, callback) {\n callback(key_code);\n if ((65 <= key_code && key_code <= 90)) {\n callback(key_code + 32);\n }\n if ((97 <= key_code && key_code <= 122)) {\n return callback(key_code - 32);\n }\n };\n\n JQConsole.prototype.RegisterShortcut = function(key_code, callback) {\n var addShortcut;\n key_code = this._CheckKeyCode(key_code);\n if (typeof callback !== 'function') {\n throw new Error('Callback must be a function, not ' + callback + '.');\n }\n addShortcut = (function(_this) {\n return function(key) {\n if (!(key in _this.shortcuts)) {\n _this.shortcuts[key] = [];\n }\n return _this.shortcuts[key].push(callback);\n };\n })(this);\n this._LetterCaseHelper(key_code, addShortcut);\n return void 0;\n };\n\n JQConsole.prototype.UnRegisterShortcut = function(key_code, handler) {\n var removeShortcut;\n key_code = this._CheckKeyCode(key_code);\n removeShortcut = (function(_this) {\n return function(key) {\n if (key in _this.shortcuts) {\n if (handler) {\n return _this.shortcuts[key].splice(_this.shortcuts[key].indexOf(handler), 1);\n } else {\n return delete _this.shortcuts[key];\n }\n }\n };\n })(this);\n this._LetterCaseHelper(key_code, removeShortcut);\n return void 0;\n };\n\n\n /*---------------------- END Shortcut Methods --------------------------- */\n\n JQConsole.prototype.GetColumn = function() {\n var lines;\n this.$prompt_right.detach();\n this.$prompt_cursor.text('');\n lines = this.$console.text().split(NEWLINE);\n this.$prompt_cursor.html(' ');\n this.$prompt_cursor.after(this.$prompt_right);\n return lines[lines.length - 1].length;\n };\n\n JQConsole.prototype.GetLine = function() {\n return this.$console.text().split(NEWLINE).length - 1;\n };\n\n JQConsole.prototype.ClearPromptText = function(clear_label) {\n if (this.state === STATE_OUTPUT) {\n throw new Error('ClearPromptText() is not allowed in output state.');\n }\n this.$prompt_before.html('');\n this.$prompt_after.html('');\n this.$prompt_label.text(clear_label ? '' : this._SelectPromptLabel(false));\n this.$prompt_left.text('');\n this.$prompt_right.text('');\n return void 0;\n };\n\n JQConsole.prototype.GetPromptText = function(full) {\n var after, before, current, getPromptLines, text;\n if (this.state === STATE_OUTPUT) {\n throw new Error('GetPromptText() is not allowed in output state.');\n }\n if (full) {\n this.$prompt_cursor.text('');\n text = this.$prompt.text();\n this.$prompt_cursor.html(' ');\n return text;\n } else {\n getPromptLines = function(node) {\n var buffer;\n buffer = [];\n node.children().each(function() {\n return buffer.push($(this).children().last().text());\n });\n return buffer.join(NEWLINE);\n };\n before = getPromptLines(this.$prompt_before);\n if (before) {\n before += NEWLINE;\n }\n current = this.$prompt_left.text() + this.$prompt_right.text();\n after = getPromptLines(this.$prompt_after);\n if (after) {\n after = NEWLINE + after;\n }\n return before + current + after;\n }\n };\n\n JQConsole.prototype.SetPromptText = function(text) {\n if (this.state === STATE_OUTPUT) {\n throw new Error('SetPromptText() is not allowed in output state.');\n }\n this.ClearPromptText(false);\n this._AppendPromptText(text);\n this._ScrollToEnd();\n return void 0;\n };\n\n JQConsole.prototype.SetPromptLabel = function(main_label, continue_label) {\n this.prompt_label_main = main_label;\n if (continue_label != null) {\n this.prompt_label_continue = continue_label;\n }\n return void 0;\n };\n\n JQConsole.prototype.UpdatePromptLabel = function() {\n var full_selector, prompt_selector;\n prompt_selector = '>span+span>span:first-child';\n full_selector = '.' + CLASS_PROMPT + prompt_selector;\n return this.$console.find(full_selector).text(this.prompt_label_main);\n };\n\n JQConsole.prototype.Write = function(text, cls, escape) {\n var span;\n if (escape == null) {\n escape = true;\n }\n if (escape) {\n text = this.ansi.stylize($(EMPTY_SPAN).text(text).html());\n }\n span = $(EMPTY_SPAN).html(text);\n if (cls != null) {\n span.addClass(cls);\n }\n return this.Append(span);\n };\n\n JQConsole.prototype.Append = function(node) {\n var $node;\n $node = $(node).insertBefore(this.$prompt);\n this._ScrollToEnd();\n this.$prompt_cursor.detach().insertAfter(this.$prompt_left);\n return $node;\n };\n\n JQConsole.prototype.Input = function(input_callback) {\n var current_async_multiline, current_history_active, current_input_callback, current_multiline_callback;\n if (this.state === STATE_PROMPT) {\n current_input_callback = this.input_callback;\n current_multiline_callback = this.multiline_callback;\n current_history_active = this.history_active;\n current_async_multiline = this.async_multiline;\n this.AbortPrompt();\n this.input_queue.unshift((function(_this) {\n return function() {\n return _this.Prompt(current_history_active, current_input_callback, current_multiline_callback, current_async_multiline);\n };\n })(this));\n } else if (this.state !== STATE_OUTPUT) {\n this.input_queue.push((function(_this) {\n return function() {\n return _this.Input(input_callback);\n };\n })(this));\n return;\n }\n this.history_active = false;\n this.input_callback = input_callback;\n this.multiline_callback = null;\n this.state = STATE_INPUT;\n this.$prompt.attr('class', CLASS_INPUT);\n this.$prompt_label.text(this._SelectPromptLabel(false));\n this.Focus();\n this._ScrollToEnd();\n return void 0;\n };\n\n JQConsole.prototype.Prompt = function(history_enabled, result_callback, multiline_callback, async_multiline) {\n if (this.state !== STATE_OUTPUT) {\n this.input_queue.push((function(_this) {\n return function() {\n return _this.Prompt(history_enabled, result_callback, multiline_callback, async_multiline);\n };\n })(this));\n return;\n }\n this.history_active = history_enabled;\n this.input_callback = result_callback;\n this.multiline_callback = multiline_callback;\n this.async_multiline = async_multiline;\n this.state = STATE_PROMPT;\n this.$prompt.attr('class', CLASS_PROMPT + ' ' + this.ansi.getClasses());\n this.$prompt_label.text(this._SelectPromptLabel(false));\n if (this.auto_focus) {\n this.Focus();\n }\n this._ScrollToEnd();\n return void 0;\n };\n\n JQConsole.prototype.AbortPrompt = function() {\n var text;\n if (this.state === STATE_OUTPUT) {\n throw new Error('Cannot abort prompt when not in prompt or input state.');\n }\n text = this.GetPromptText(true);\n if (this.state === STATE_INPUT) {\n if (text.trim().length !== 0) {\n this.Write(text + NEWLINE, CLASS_OLD_INPUT);\n }\n } else {\n this.Write(text + NEWLINE, CLASS_OLD_PROMPT);\n }\n this.ClearPromptText(true);\n this.state = STATE_OUTPUT;\n this.input_callback = this.multiline_callback = null;\n this._CheckInputQueue();\n return void 0;\n };\n\n JQConsole.prototype.Focus = function() {\n if (!this.IsDisabled()) {\n this.$input_source.focus();\n }\n return void 0;\n };\n\n JQConsole.prototype.SetIndentWidth = function(width) {\n return this.indent_width = width;\n };\n\n JQConsole.prototype.GetIndentWidth = function() {\n return this.indent_width;\n };\n\n JQConsole.prototype.RegisterMatching = function(open, close, cls) {\n var match_config;\n match_config = {\n opening_char: open,\n closing_char: close,\n cls: cls\n };\n this.matchings.clss.push(cls);\n this.matchings.openings[open] = match_config;\n return this.matchings.closings[close] = match_config;\n };\n\n JQConsole.prototype.UnRegisterMatching = function(open, close) {\n var cls;\n cls = this.matchings.openings[open].cls;\n delete this.matchings.openings[open];\n delete this.matchings.closings[close];\n return this.matchings.clss.splice(this.matchings.clss.indexOf(cls), 1);\n };\n\n JQConsole.prototype.Dump = function() {\n var $elems, elem;\n $elems = this.$console.find(\".\" + CLASS_HEADER).nextUntil(\".\" + CLASS_PROMPT).addBack();\n return ((function() {\n var j, len1, results;\n results = [];\n for (j = 0, len1 = $elems.length; j < len1; j++) {\n elem = $elems[j];\n if ($(elem).is(\".\" + CLASS_OLD_PROMPT)) {\n results.push($(elem).text().replace(/^\\s+/, '>>> '));\n } else {\n results.push($(elem).text());\n }\n }\n return results;\n })()).join('');\n };\n\n JQConsole.prototype.GetState = function() {\n if (this.state === STATE_INPUT) {\n return 'input';\n } else if (this.state === STATE_OUTPUT) {\n return 'output';\n } else {\n return 'prompt';\n }\n };\n\n JQConsole.prototype.Disable = function() {\n this.$input_source.attr('disabled', true);\n return this.$input_source.blur();\n };\n\n JQConsole.prototype.Enable = function() {\n return this.$input_source.attr('disabled', false);\n };\n\n JQConsole.prototype.IsDisabled = function() {\n return Boolean(this.$input_source.attr('disabled'));\n };\n\n JQConsole.prototype.MoveToStart = function(all_lines) {\n this._MoveTo(all_lines, true);\n return void 0;\n };\n\n JQConsole.prototype.MoveToEnd = function(all_lines) {\n this._MoveTo(all_lines, false);\n return void 0;\n };\n\n JQConsole.prototype.Clear = function() {\n var prompt_class;\n prompt_class = this.state === STATE_INPUT ? CLASS_INPUT : CLASS_PROMPT;\n this.$console.find(\".\" + CLASS_HEADER).nextUntil(\".\" + prompt_class).addBack().text('');\n this.$prompt_cursor.detach();\n return this.$prompt_right.before(this.$prompt_cursor);\n };\n\n\n /*------------------------ Private Methods ------------------------------- */\n\n JQConsole.prototype._CheckInputQueue = function() {\n if (this.input_queue.length) {\n return this.input_queue.shift()();\n }\n };\n\n JQConsole.prototype._InitPrompt = function() {\n this.$prompt = $(spanHtml(CLASS_INPUT)).appendTo(this.$console);\n this.$prompt_before = $(EMPTY_SPAN).appendTo(this.$prompt);\n this.$prompt_current = $(EMPTY_SPAN).appendTo(this.$prompt);\n this.$prompt_after = $(EMPTY_SPAN).appendTo(this.$prompt);\n this.$prompt_label = $(EMPTY_SPAN).appendTo(this.$prompt_current);\n this.$prompt_left = $(EMPTY_SPAN).appendTo(this.$prompt_current);\n this.$prompt_right = $(EMPTY_SPAN).appendTo(this.$prompt_current);\n this.$prompt_right.css({\n position: 'relative'\n });\n this.$prompt_left.addClass(CLASS_PROMPT_TEXT);\n this.$prompt_cursor = $(spanHtml(CLASS_CURSOR, ' '));\n this.$prompt_cursor.insertBefore(this.$prompt_right);\n this.$prompt_cursor.css({\n color: 'transparent',\n display: 'inline',\n zIndex: 0\n });\n if (!this.isMobile) {\n return this.$prompt_cursor.css('position', 'absolute');\n }\n };\n\n JQConsole.prototype._SetupEvents = function() {\n if (this.isMobile) {\n this.$console.click((function(_this) {\n return function(e) {\n e.preventDefault();\n return _this.Focus();\n };\n })(this));\n } else {\n this.$console.mouseup((function(_this) {\n return function(e) {\n var fn;\n if (e.which === 2) {\n return _this.Focus();\n } else {\n fn = function() {\n if (!window.getSelection().toString()) {\n e.preventDefault();\n return _this.Focus();\n }\n };\n return setTimeout(fn, 0);\n }\n };\n })(this));\n }\n this.$input_source.focus((function(_this) {\n return function() {\n var hideTextInput, removeClass;\n _this._ScrollToEnd();\n _this.$console_focused = true;\n _this.$console.removeClass(CLASS_BLURRED);\n removeClass = function() {\n if (_this.$console_focused) {\n return _this.$console.removeClass(CLASS_BLURRED);\n }\n };\n setTimeout(removeClass, 100);\n hideTextInput = function() {\n if (_this.isIos && _this.$console_focused) {\n return _this.$input_source.hide();\n }\n };\n return setTimeout(hideTextInput, 500);\n };\n })(this));\n this.$input_source.blur((function(_this) {\n return function() {\n var addClass;\n _this.$console_focused = false;\n if (_this.isIos) {\n _this.$input_source.show();\n }\n addClass = function() {\n if (!_this.$console_focused) {\n return _this.$console.addClass(CLASS_BLURRED);\n }\n };\n return setTimeout(addClass, 100);\n };\n })(this));\n this.$input_source.bind('paste', (function(_this) {\n return function() {\n var handlePaste;\n handlePaste = function() {\n if (_this.in_composition) {\n return;\n }\n _this._AppendPromptText(_this.$input_source.val());\n _this.$input_source.val('');\n return _this.Focus();\n };\n return setTimeout(handlePaste, 0);\n };\n })(this));\n this.$input_source.keypress(this._HandleChar);\n this.$input_source.keydown(this._HandleKey);\n this.$input_source.keydown(this._CheckComposition);\n this.$input_source.bind('compositionstart', this._StartComposition);\n this.$input_source.bind('compositionend', (function(_this) {\n return function(e) {\n return setTimeout((function() {\n return _this._EndComposition(e);\n }), 0);\n };\n })(this));\n if (this.isAndroid) {\n this.$input_source.bind('input', this._StartComposition);\n return this.$input_source.bind('input', this._UpdateComposition);\n } else {\n return this.$input_source.bind('text', this._UpdateComposition);\n }\n };\n\n JQConsole.prototype.SetKeyPressHandler = function(handler) {\n return this.custom_keypress_handler = handler;\n };\n\n JQConsole.prototype.SetControlKeyHandler = function(handler) {\n return this.custom_control_key_handler = handler;\n };\n\n JQConsole.prototype._HandleChar = function(event) {\n var char_code;\n if (this.state === STATE_OUTPUT || event.metaKey || event.ctrlKey) {\n return true;\n }\n char_code = event.which;\n if (char_code === 8 || char_code === 9 || char_code === 13) {\n return false;\n }\n if (this.custom_keypress_handler != null) {\n if (this.custom_keypress_handler.call(this, event) === false) {\n return false;\n }\n }\n this.$prompt_left.text(this.$prompt_left.text() + String.fromCharCode(char_code));\n this._ScrollToEnd();\n return false;\n };\n\n JQConsole.prototype._HandleKey = function(event) {\n var key;\n if (this.state === STATE_OUTPUT) {\n return true;\n }\n key = event.keyCode || event.which;\n setTimeout($.proxy(this._CheckMatchings, this), 0);\n if (this.custom_control_key_handler != null) {\n if (this.custom_control_key_handler.call(this, event) === false) {\n return false;\n }\n }\n if (event.altKey) {\n return true;\n } else if (event.ctrlKey || event.metaKey) {\n return this._HandleCtrlShortcut(key);\n } else if (event.shiftKey) {\n switch (key) {\n case KEY_ENTER:\n this._HandleEnter(true);\n break;\n case KEY_TAB:\n this._Unindent();\n break;\n case KEY_UP:\n this._MoveUp();\n break;\n case KEY_DOWN:\n this._MoveDown();\n break;\n case KEY_PAGE_UP:\n this._ScrollPage('up');\n break;\n case KEY_PAGE_DOWN:\n this._ScrollPage('down');\n break;\n default:\n return true;\n }\n return false;\n } else {\n switch (key) {\n case KEY_ENTER:\n this._HandleEnter(false);\n break;\n case KEY_TAB:\n this._Indent();\n break;\n case KEY_DELETE:\n this._Delete(false);\n break;\n case KEY_BACKSPACE:\n this._Backspace(false);\n break;\n case KEY_LEFT:\n this._MoveLeft(false);\n break;\n case KEY_RIGHT:\n this._MoveRight(false);\n break;\n case KEY_UP:\n this._HistoryPrevious();\n break;\n case KEY_DOWN:\n this._HistoryNext();\n break;\n case KEY_HOME:\n this.MoveToStart(false);\n break;\n case KEY_END:\n this.MoveToEnd(false);\n break;\n case KEY_PAGE_UP:\n this._ScrollPage('up');\n break;\n case KEY_PAGE_DOWN:\n this._ScrollPage('down');\n break;\n default:\n return true;\n }\n return false;\n }\n };\n\n JQConsole.prototype._HandleCtrlShortcut = function(key) {\n var handler, j, len1, ref;\n switch (key) {\n case KEY_DELETE:\n this._Delete(true);\n break;\n case KEY_BACKSPACE:\n this._Backspace(true);\n break;\n case KEY_LEFT:\n this._MoveLeft(true);\n break;\n case KEY_RIGHT:\n this._MoveRight(true);\n break;\n case KEY_UP:\n this._MoveUp();\n break;\n case KEY_DOWN:\n this._MoveDown();\n break;\n case KEY_END:\n this.MoveToEnd(true);\n break;\n case KEY_HOME:\n this.MoveToStart(true);\n break;\n default:\n if (key in this.shortcuts) {\n ref = this.shortcuts[key];\n for (j = 0, len1 = ref.length; j < len1; j++) {\n handler = ref[j];\n handler.call(this);\n }\n return false;\n } else {\n return true;\n }\n }\n return false;\n };\n\n JQConsole.prototype._HandleEnter = function(shift) {\n var continuation, text;\n this._EndComposition();\n if (shift) {\n return this._InsertNewLine(true);\n } else {\n text = this.GetPromptText();\n continuation = (function(_this) {\n return function(indent) {\n var _, callback, cls_suffix, j, ref, results;\n if (indent !== false) {\n _this.MoveToEnd(true);\n _this._InsertNewLine(true);\n results = [];\n for (_ = j = 0, ref = Math.abs(indent); 0 <= ref ? j < ref : j > ref; _ = 0 <= ref ? ++j : --j) {\n if (indent > 0) {\n results.push(_this._Indent());\n } else {\n results.push(_this._Unindent());\n }\n }\n return results;\n } else {\n cls_suffix = _this.state === STATE_INPUT ? 'input' : 'prompt';\n _this.Write(_this.GetPromptText(true) + NEWLINE, (CLASS_PREFIX + \"old-\") + cls_suffix);\n _this.ClearPromptText(true);\n if (_this.history_active) {\n if (!_this.history.length || _this.history[_this.history.length - 1] !== text) {\n _this.history.push(text);\n }\n _this.history_index = _this.history.length;\n }\n _this.state = STATE_OUTPUT;\n callback = _this.input_callback;\n _this.input_callback = null;\n if (callback) {\n callback(text);\n }\n return _this._CheckInputQueue();\n }\n };\n })(this);\n if (this.multiline_callback) {\n if (this.async_multiline) {\n return this.multiline_callback(text, continuation);\n } else {\n return continuation(this.multiline_callback(text));\n }\n } else {\n return continuation(false);\n }\n }\n };\n\n JQConsole.prototype._GetDirectionals = function(back) {\n var $prompt_opposite, $prompt_rel_opposite, $prompt_relative, $prompt_which, MoveDirection, MoveToLimit, where_append, which_end;\n $prompt_which = back ? this.$prompt_left : this.$prompt_right;\n $prompt_opposite = back ? this.$prompt_right : this.$prompt_left;\n $prompt_relative = back ? this.$prompt_before : this.$prompt_after;\n $prompt_rel_opposite = back ? this.$prompt_after : this.$prompt_before;\n MoveToLimit = back ? $.proxy(this.MoveToStart, this) : $.proxy(this.MoveToEnd, this);\n MoveDirection = back ? $.proxy(this._MoveLeft, this) : $.proxy(this._MoveRight, this);\n which_end = back ? 'last' : 'first';\n where_append = back ? 'prependTo' : 'appendTo';\n return {\n $prompt_which: $prompt_which,\n $prompt_opposite: $prompt_opposite,\n $prompt_relative: $prompt_relative,\n $prompt_rel_opposite: $prompt_rel_opposite,\n MoveToLimit: MoveToLimit,\n MoveDirection: MoveDirection,\n which_end: which_end,\n where_append: where_append\n };\n };\n\n JQConsole.prototype._VerticalMove = function(up) {\n var $prompt_opposite, $prompt_relative, $prompt_which, MoveDirection, MoveToLimit, pos, ref, text;\n ref = this._GetDirectionals(up), $prompt_which = ref.$prompt_which, $prompt_opposite = ref.$prompt_opposite, $prompt_relative = ref.$prompt_relative, MoveToLimit = ref.MoveToLimit, MoveDirection = ref.MoveDirection;\n if ($prompt_relative.is(EMPTY_SELECTOR)) {\n return;\n }\n pos = this.$prompt_left.text().length;\n MoveToLimit();\n MoveDirection();\n text = $prompt_which.text();\n $prompt_opposite.text(up ? text.slice(pos) : text.slice(0, pos));\n return $prompt_which.text(up ? text.slice(0, pos) : text.slice(pos));\n };\n\n JQConsole.prototype._MoveUp = function() {\n return this._VerticalMove(true);\n };\n\n JQConsole.prototype._MoveDown = function() {\n return this._VerticalMove();\n };\n\n JQConsole.prototype._HorizontalMove = function(whole_word, back) {\n var $opposite_line, $prompt_opposite, $prompt_rel_opposite, $prompt_relative, $prompt_which, $which_line, len, ref, regexp, text, tmp, where_append, which_end, word;\n ref = this._GetDirectionals(back), $prompt_which = ref.$prompt_which, $prompt_opposite = ref.$prompt_opposite, $prompt_relative = ref.$prompt_relative, $prompt_rel_opposite = ref.$prompt_rel_opposite, which_end = ref.which_end, where_append = ref.where_append;\n regexp = back ? /\\w*\\W*$/ : /^\\w*\\W*/;\n text = $prompt_which.text();\n if (text) {\n if (whole_word) {\n word = text.match(regexp);\n if (!word) {\n return;\n }\n word = word[0];\n tmp = $prompt_opposite.text();\n $prompt_opposite.text(back ? word + tmp : tmp + word);\n len = word.length;\n return $prompt_which.text(back ? text.slice(0, -len) : text.slice(len));\n } else {\n tmp = $prompt_opposite.text();\n $prompt_opposite.text(back ? text.slice(-1) + tmp : tmp + text[0]);\n return $prompt_which.text(back ? text.slice(0, -1) : text.slice(1));\n }\n } else if (!$prompt_relative.is(EMPTY_SELECTOR)) {\n $which_line = $(EMPTY_SPAN)[where_append]($prompt_rel_opposite);\n $which_line.append($(EMPTY_SPAN).text(this.$prompt_label.text()));\n $which_line.append($(EMPTY_SPAN).text($prompt_opposite.text()));\n $opposite_line = $prompt_relative.children()[which_end]().detach();\n this.$prompt_label.text($opposite_line.children().first().text());\n $prompt_which.text($opposite_line.children().last().text());\n return $prompt_opposite.text('');\n }\n };\n\n JQConsole.prototype._MoveLeft = function(whole_word) {\n return this._HorizontalMove(whole_word, true);\n };\n\n JQConsole.prototype._MoveRight = function(whole_word) {\n return this._HorizontalMove(whole_word);\n };\n\n JQConsole.prototype._MoveTo = function(all_lines, back) {\n var $prompt_opposite, $prompt_relative, $prompt_which, MoveDirection, MoveToLimit, ref, results;\n ref = this._GetDirectionals(back), $prompt_which = ref.$prompt_which, $prompt_opposite = ref.$prompt_opposite, $prompt_relative = ref.$prompt_relative, MoveToLimit = ref.MoveToLimit, MoveDirection = ref.MoveDirection;\n if (all_lines) {\n results = [];\n while (!($prompt_relative.is(EMPTY_SELECTOR) && $prompt_which.text() === '')) {\n MoveToLimit(false);\n results.push(MoveDirection(false));\n }\n return results;\n } else {\n $prompt_opposite.text(this.$prompt_left.text() + this.$prompt_right.text());\n return $prompt_which.text('');\n }\n };\n\n JQConsole.prototype._Delete = function(whole_word) {\n var $lower_line, text, word;\n text = this.$prompt_right.text();\n if (text) {\n if (whole_word) {\n word = text.match(/^\\w*\\W*/);\n if (!word) {\n return;\n }\n word = word[0];\n return this.$prompt_right.text(text.slice(word.length));\n } else {\n return this.$prompt_right.text(text.slice(1));\n }\n } else if (!this.$prompt_after.is(EMPTY_SELECTOR)) {\n $lower_line = this.$prompt_after.children().first().detach();\n return this.$prompt_right.text($lower_line.children().last().text());\n }\n };\n\n JQConsole.prototype._Backspace = function(whole_word) {\n var $upper_line, text, word;\n setTimeout($.proxy(this._ScrollToEnd, this), 0);\n text = this.$prompt_left.text();\n if (text) {\n if (whole_word) {\n word = text.match(/\\w*\\W*$/);\n if (!word) {\n return;\n }\n word = word[0];\n return this.$prompt_left.text(text.slice(0, -word.length));\n } else {\n return this.$prompt_left.text(text.slice(0, -1));\n }\n } else if (!this.$prompt_before.is(EMPTY_SELECTOR)) {\n $upper_line = this.$prompt_before.children().last().detach();\n this.$prompt_label.text($upper_line.children().first().text());\n return this.$prompt_left.text($upper_line.children().last().text());\n }\n };\n\n JQConsole.prototype._Indent = function() {\n var _;\n return this.$prompt_left.prepend(((function() {\n var j, ref, results;\n results = [];\n for (_ = j = 1, ref = this.indent_width; 1 <= ref ? j <= ref : j >= ref; _ = 1 <= ref ? ++j : --j) {\n results.push(' ');\n }\n return results;\n }).call(this)).join(''));\n };\n\n JQConsole.prototype._Unindent = function() {\n var _, j, line_text, ref, results;\n line_text = this.$prompt_left.text() + this.$prompt_right.text();\n results = [];\n for (_ = j = 1, ref = this.indent_width; 1 <= ref ? j <= ref : j >= ref; _ = 1 <= ref ? ++j : --j) {\n if (!/^ /.test(line_text)) {\n break;\n }\n if (this.$prompt_left.text()) {\n this.$prompt_left.text(this.$prompt_left.text().slice(1));\n } else {\n this.$prompt_right.text(this.$prompt_right.text().slice(1));\n }\n results.push(line_text = line_text.slice(1));\n }\n return results;\n };\n\n JQConsole.prototype._InsertNewLine = function(indent) {\n var $old_line, match, old_prompt;\n if (indent == null) {\n indent = false;\n }\n old_prompt = this._SelectPromptLabel(!this.$prompt_before.is(EMPTY_SELECTOR));\n $old_line = $(EMPTY_SPAN).appendTo(this.$prompt_before);\n $old_line.append($(EMPTY_SPAN).text(old_prompt));\n $old_line.append($(EMPTY_SPAN).addClass(CLASS_PROMPT_TEXT).text(this.$prompt_left.text()));\n this.$prompt_label.text(this._SelectPromptLabel(true));\n if (indent && (match = this.$prompt_left.text().match(/^\\s+/))) {\n this.$prompt_left.text(match[0]);\n } else {\n this.$prompt_left.text('');\n }\n return this._ScrollToEnd();\n };\n\n JQConsole.prototype._AppendPromptText = function(text) {\n var j, len1, line, lines, ref, results;\n lines = text.split(NEWLINE);\n this.$prompt_left.text(this.$prompt_left.text() + lines[0]);\n ref = lines.slice(1);\n results = [];\n for (j = 0, len1 = ref.length; j < len1; j++) {\n line = ref[j];\n this._InsertNewLine();\n results.push(this.$prompt_left.text(line));\n }\n return results;\n };\n\n JQConsole.prototype._ScrollPage = function(dir) {\n var target;\n target = this.$container[0].scrollTop;\n if (dir === 'up') {\n target -= this.$container.height();\n } else {\n target += this.$container.height();\n }\n return this.$container.stop().animate({\n scrollTop: target\n }, 'fast');\n };\n\n JQConsole.prototype._ScrollToEnd = function() {\n var pos;\n this.$container.scrollTop(this.$container[0].scrollHeight);\n pos = this.$prompt_cursor.position();\n this.$input_container.css({\n left: pos.left,\n top: pos.top\n });\n if (this.auto_focus) {\n return setTimeout(this.ScrollWindowToPrompt.bind(this), 50);\n }\n };\n\n JQConsole.prototype.ScrollWindowToPrompt = function() {\n var doc_height, line_height, optimal_pos, pos, screen_left, screen_top;\n line_height = this.$prompt_cursor.height();\n screen_top = this.$window.scrollTop();\n screen_left = this.$window.scrollLeft();\n doc_height = document.documentElement.clientHeight;\n pos = this.$prompt_cursor.offset();\n optimal_pos = pos.top - (2 * line_height);\n if (this.isMobile && (typeof orientation !== \"undefined\" && orientation !== null)) {\n if (screen_top < pos.top || screen_top > pos.top) {\n return this.$window.scrollTop(optimal_pos);\n }\n } else {\n if (screen_top + doc_height < pos.top) {\n return this.$window.scrollTop(pos.top - doc_height + line_height);\n } else if (screen_top > optimal_pos) {\n return this.$window.scrollTop(pos.top);\n }\n }\n };\n\n JQConsole.prototype._SelectPromptLabel = function(continuation) {\n if (this.state === STATE_PROMPT) {\n if (continuation) {\n return ' \\n' + this.prompt_label_continue;\n } else {\n return this.prompt_label_main;\n }\n } else {\n if (continuation) {\n return '\\n ';\n } else {\n return ' ';\n }\n }\n };\n\n JQConsole.prototype._Wrap = function($elem, index, cls) {\n var html, text;\n text = $elem.html();\n html = text.slice(0, index) + spanHtml(cls, text[index]) + text.slice(index + 1);\n return $elem.html(html);\n };\n\n JQConsole.prototype._WalkCharacters = function(text, char, opposing_char, current_count, back) {\n var ch, index, read_char;\n index = back ? text.length : 0;\n text = text.split('');\n read_char = function() {\n var j, ref, ref1, ret;\n if (back) {\n ref = text, text = 2 <= ref.length ? slice.call(ref, 0, j = ref.length - 1) : (j = 0, []), ret = ref[j++];\n } else {\n ref1 = text, ret = ref1[0], text = 2 <= ref1.length ? slice.call(ref1, 1) : [];\n }\n if (ret) {\n index = index + (back ? -1 : +1);\n }\n return ret;\n };\n while (ch = read_char()) {\n if (ch === char) {\n current_count++;\n } else if (ch === opposing_char) {\n current_count--;\n }\n if (current_count === 0) {\n return {\n index: index,\n current_count: current_count\n };\n }\n }\n return {\n index: -1,\n current_count: current_count\n };\n };\n\n JQConsole.prototype._ProcessMatch = function(config, back, before_char) {\n var $collection, $prompt_relative, $prompt_which, char, current_count, found, index, opposing_char, ref, ref1, ref2, text;\n ref = back ? [config['closing_char'], config['opening_char']] : [config['opening_char'], config['closing_char']], char = ref[0], opposing_char = ref[1];\n ref1 = this._GetDirectionals(back), $prompt_which = ref1.$prompt_which, $prompt_relative = ref1.$prompt_relative;\n current_count = 1;\n found = false;\n text = $prompt_which.html();\n if (!back) {\n text = text.slice(1);\n }\n if (before_char && back) {\n text = text.slice(0, -1);\n }\n ref2 = this._WalkCharacters(text, char, opposing_char, current_count, back), index = ref2.index, current_count = ref2.current_count;\n if (index > -1) {\n this._Wrap($prompt_which, index, config.cls);\n found = true;\n } else {\n $collection = $prompt_relative.children();\n $collection = back ? Array.prototype.reverse.call($collection) : $collection;\n $collection.each((function(_this) {\n return function(i, elem) {\n var $elem, ref3;\n $elem = $(elem).children().last();\n text = $elem.html();\n ref3 = _this._WalkCharacters(text, char, opposing_char, current_count, back), index = ref3.index, current_count = ref3.current_count;\n if (index > -1) {\n if (!back) {\n index--;\n }\n _this._Wrap($elem, index, config.cls);\n found = true;\n return false;\n }\n };\n })(this));\n }\n return found;\n };\n\n JQConsole.prototype._CheckMatchings = function(before_char) {\n var cls, config, current_char, found, j, len1, ref;\n current_char = before_char ? this.$prompt_left.text().slice(this.$prompt_left.text().length - 1) : this.$prompt_right.text()[0];\n ref = this.matchings.clss;\n for (j = 0, len1 = ref.length; j < len1; j++) {\n cls = ref[j];\n $('.' + cls, this.$console).contents().unwrap();\n }\n if (config = this.matchings.closings[current_char]) {\n found = this._ProcessMatch(config, true, before_char);\n } else if (config = this.matchings.openings[current_char]) {\n found = this._ProcessMatch(config, false, before_char);\n } else if (!before_char) {\n this._CheckMatchings(true);\n }\n if (before_char) {\n if (found) {\n return this._Wrap(this.$prompt_left, this.$prompt_left.html().length - 1, config.cls);\n }\n } else {\n if (found) {\n return this._Wrap(this.$prompt_right, 0, config.cls);\n }\n }\n };\n\n JQConsole.prototype._HistoryPrevious = function() {\n if (!this.history_active) {\n return;\n }\n if (this.history_index <= 0) {\n return;\n }\n if (this.history_index === this.history.length) {\n this.history_new = this.GetPromptText();\n }\n return this.SetPromptText(this.history[--this.history_index]);\n };\n\n JQConsole.prototype._HistoryNext = function() {\n if (!this.history_active) {\n return;\n }\n if (this.history_index >= this.history.length) {\n return;\n }\n if (this.history_index === this.history.length - 1) {\n this.history_index++;\n return this.SetPromptText(this.history_new);\n } else {\n return this.SetPromptText(this.history[++this.history_index]);\n }\n };\n\n JQConsole.prototype._CheckComposition = function(e) {\n var key;\n key = e.keyCode || e.which;\n if (key === 229) {\n if (this.in_composition) {\n return this._UpdateComposition();\n } else {\n return this._StartComposition();\n }\n }\n };\n\n JQConsole.prototype._StartComposition = function() {\n if (this.in_composition) {\n return;\n }\n this.in_composition = true;\n this._ShowComposition();\n return setTimeout(this._UpdateComposition, 0);\n };\n\n JQConsole.prototype._EndComposition = function() {\n if (!this.in_composition) {\n return;\n }\n this._HideComposition();\n this.$prompt_left.text(this.$prompt_left.text() + this.$composition.text());\n this.$composition.text('');\n this.$input_source.val('');\n return this.in_composition = false;\n };\n\n JQConsole.prototype._UpdateComposition = function(e) {\n var cb;\n cb = (function(_this) {\n return function() {\n if (!_this.in_composition) {\n return;\n }\n return _this.$composition.text(_this.$input_source.val());\n };\n })(this);\n return setTimeout(cb, 0);\n };\n\n JQConsole.prototype._ShowComposition = function() {\n this.$composition.css('height', this.$prompt_cursor.height());\n this.$composition.empty();\n return this.$composition.appendTo(this.$prompt_left);\n };\n\n JQConsole.prototype._HideComposition = function() {\n return this.$composition.detach();\n };\n\n return JQConsole;\n\n })();\n\n $.fn.jqconsole = function(header, prompt_main, prompt_continue, disable_auto_focus) {\n return new JQConsole(this, header, prompt_main, prompt_continue, disable_auto_focus);\n };\n\n $.fn.jqconsole.JQConsole = JQConsole;\n\n $.fn.jqconsole.Ansi = Ansi;\n\n}).call(this);\n"},MR0U:function(e,t,n){n("P+fo")(n("lzUo"))},"P+fo":function(e,t){e.exports=function(e){"undefined"!=typeof execScript?execScript(e):eval.call(null,e)}},gn53:function(e,t,n){n("P+fo")(n("FMKH"))},lzUo:function(e,t){e.exports='/*! jQuery v3.2.1 | (c) JS Foundation and other contributors | jquery.org/license */\n!function(a,b){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){"use strict";var c=[],d=a.document,e=Object.getPrototypeOf,f=c.slice,g=c.concat,h=c.push,i=c.indexOf,j={},k=j.toString,l=j.hasOwnProperty,m=l.toString,n=m.call(Object),o={};function p(a,b){b=b||d;var c=b.createElement("script");c.text=a,b.head.appendChild(c).parentNode.removeChild(c)}var q="3.2.1",r=function(a,b){return new r.fn.init(a,b)},s=/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g,t=/^-ms-/,u=/-([a-z])/g,v=function(a,b){return b.toUpperCase()};r.fn=r.prototype={jquery:q,constructor:r,length:0,toArray:function(){return f.call(this)},get:function(a){return null==a?f.call(this):a<0?this[a+this.length]:this[a]},pushStack:function(a){var b=r.merge(this.constructor(),a);return b.prevObject=this,b},each:function(a){return r.each(this,a)},map:function(a){return this.pushStack(r.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(f.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c<b?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:h,sort:c.sort,splice:c.splice},r.extend=r.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||r.isFunction(g)||(g={}),h===i&&(g=this,h--);h<i;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(r.isPlainObject(d)||(e=Array.isArray(d)))?(e?(e=!1,f=c&&Array.isArray(c)?c:[]):f=c&&r.isPlainObject(c)?c:{},g[b]=r.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},r.extend({expando:"jQuery"+(q+Math.random()).replace(/\\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===r.type(a)},isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){var b=r.type(a);return("number"===b||"string"===b)&&!isNaN(a-parseFloat(a))},isPlainObject:function(a){var b,c;return!(!a||"[object Object]"!==k.call(a))&&(!(b=e(a))||(c=l.call(b,"constructor")&&b.constructor,"function"==typeof c&&m.call(c)===n))},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?j[k.call(a)]||"object":typeof a},globalEval:function(a){p(a)},camelCase:function(a){return a.replace(t,"ms-").replace(u,v)},each:function(a,b){var c,d=0;if(w(a)){for(c=a.length;d<c;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(s,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(w(Object(a))?r.merge(c,"string"==typeof a?[a]:a):h.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:i.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;d<c;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;f<g;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,f=0,h=[];if(w(a))for(d=a.length;f<d;f++)e=b(a[f],f,c),null!=e&&h.push(e);else for(f in a)e=b(a[f],f,c),null!=e&&h.push(e);return g.apply([],h)},guid:1,proxy:function(a,b){var c,d,e;if("string"==typeof b&&(c=a[b],b=a,a=c),r.isFunction(a))return d=f.call(arguments,2),e=function(){return a.apply(b||this,d.concat(f.call(arguments)))},e.guid=a.guid=a.guid||r.guid++,e},now:Date.now,support:o}),"function"==typeof Symbol&&(r.fn[Symbol.iterator]=c[Symbol.iterator]),r.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){j["[object "+b+"]"]=b.toLowerCase()});function w(a){var b=!!a&&"length"in a&&a.length,c=r.type(a);return"function"!==c&&!r.isWindow(a)&&("array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a)}var x=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1},J="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",K="[\\\\x20\\\\t\\\\r\\\\n\\\\f]",L="(?:\\\\\\\\.|[\\\\w-]|[^\\0-\\\\xa0])+",M="\\\\["+K+"*("+L+")(?:"+K+"*([*^$|!~]?=)"+K+"*(?:\'((?:\\\\\\\\.|[^\\\\\\\\\'])*)\'|\\"((?:\\\\\\\\.|[^\\\\\\\\\\"])*)\\"|("+L+"))|)"+K+"*\\\\]",N=":("+L+")(?:\\\\(((\'((?:\\\\\\\\.|[^\\\\\\\\\'])*)\'|\\"((?:\\\\\\\\.|[^\\\\\\\\\\"])*)\\")|((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|"+M+")*)|.*)\\\\)|)",O=new RegExp(K+"+","g"),P=new RegExp("^"+K+"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)"+K+"+$","g"),Q=new RegExp("^"+K+"*,"+K+"*"),R=new RegExp("^"+K+"*([>+~]|"+K+")"+K+"*"),S=new RegExp("="+K+"*([^\\\\]\'\\"]*?)"+K+"*\\\\]","g"),T=new RegExp(N),U=new RegExp("^"+L+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\("+K+"*(even|odd|(([+-]|)(\\\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\\\d+)|))"+K+"*\\\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\("+K+"*((?:-\\\\d)?\\\\d*)"+K+"*\\\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\\d$/i,Y=/^[^{]+\\{\\s*\\[native \\w/,Z=/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,$=/[+~]/,_=new RegExp("\\\\\\\\([\\\\da-f]{1,6}"+K+"?|("+K+")|.)","ig"),aa=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ba=/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,ca=function(a,b){return b?"\\0"===a?"\\ufffd":a.slice(0,-1)+"\\\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\\\"+a},da=function(){m()},ea=ta(function(a){return a.disabled===!0&&("form"in a||"label"in a)},{dir:"parentNode",next:"legend"});try{G.apply(D=H.call(v.childNodes),v.childNodes),D[v.childNodes.length].nodeType}catch(fa){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==w&&9!==w&&11!==w)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==w&&(l=Z.exec(a)))if(f=l[1]){if(9===w){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(s&&(j=s.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(l[2])return G.apply(d,b.getElementsByTagName(a)),d;if((f=l[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==w)s=b,r=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(ba,ca):b.setAttribute("id",k=u),o=g(a),h=o.length;while(h--)o[h]="#"+k+" "+sa(o[h]);r=o.join(","),s=$.test(a)&&qa(b.parentNode)||b}if(r)try{return G.apply(d,s.querySelectorAll(r)),d}catch(x){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(P,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("fieldset");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return function(b){return"form"in b?b.parentNode&&b.disabled===!1?"label"in b?"label"in b.parentNode?b.parentNode.disabled===a:b.disabled===a:b.isDisabled===a||b.isDisabled!==!a&&ea(b)===a:b.disabled===a:"label"in b&&b.disabled===a}}function pa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function qa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),v!==n&&(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Y.test(n.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){return a.getAttribute("id")===b}},d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}}):(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}},d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c,d,e,f=b.getElementById(a);if(f){if(c=f.getAttributeNode("id"),c&&c.value===a)return[f];e=b.getElementsByName(a),d=0;while(f=e[d++])if(c=f.getAttributeNode("id"),c&&c.value===a)return[f]}return[]}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if("undefined"!=typeof b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Y.test(n.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="<a id=\'"+u+"\'></a><select id=\'"+u+"-\\r\\\\\' msallowcapture=\'\'><option selected=\'\'></option></select>",a.querySelectorAll("[msallowcapture^=\'\']").length&&q.push("[*^$]="+K+"*(?:\'\'|\\"\\")"),a.querySelectorAll("[selected]").length||q.push("\\\\["+K+"*(?:value|"+J+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){a.innerHTML="<a href=\'\' disabled=\'disabled\'></a><select disabled=\'disabled\'><option/></select>";var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+K+"*[*^$|!~]?="),2!==a.querySelectorAll(":enabled").length&&q.push(":enabled",":disabled"),o.appendChild(a).disabled=!0,2!==a.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Y.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"*"),s.call(a,"[s!=\'\']:x"),r.push("!=",N)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Y.test(o.compareDocumentPosition),t=b||Y.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?I(k,a)-I(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?I(k,a)-I(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?la(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(S,"=\'$1\']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.escape=function(a){return(a+"").replace(ba,ca)},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(_,aa),a[3]=(a[3]||a[4]||a[5]||"").replace(_,aa),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return V.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&T.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(_,aa).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+K+")"+a+"("+K+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:!b||(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(O," ")+" ").indexOf(c)>-1:"|="===b&&(e===c||e.slice(0,c.length+1)===c+"-"))}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(P,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(_,aa),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return U.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(_,aa).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:oa(!1),disabled:oa(!0),checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:pa(function(){return[0]}),last:pa(function(a,b){return[b-1]}),eq:pa(function(a,b,c){return[c<0?c+b:c]}),even:pa(function(a,b){for(var c=0;c<b;c+=2)a.push(c);return a}),odd:pa(function(a,b){for(var c=1;c<b;c+=2)a.push(c);return a}),lt:pa(function(a,b,c){for(var d=c<0?c+b:c;--d>=0;)a.push(d);return a}),gt:pa(function(a,b,c){for(var d=c<0?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=ma(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=na(b);function ra(){}ra.prototype=d.filters=d.pseudos,d.setFilters=new ra,g=ga.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){c&&!(e=Q.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=R.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(P," ")}),h=h.slice(c.length));for(g in d.filter)!(e=V[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?ga.error(a):z(a,i).slice(0)};function sa(a){for(var b=0,c=a.length,d="";b<c;b++)d+=a[b].value;return d}function ta(a,b,c){var d=b.dir,e=b.next,f=e||d,g=c&&"parentNode"===f,h=x++;return b.first?function(b,c,e){while(b=b[d])if(1===b.nodeType||g)return a(b,c,e);return!1}:function(b,c,i){var j,k,l,m=[w,h];if(i){while(b=b[d])if((1===b.nodeType||g)&&a(b,c,i))return!0}else while(b=b[d])if(1===b.nodeType||g)if(l=b[u]||(b[u]={}),k=l[b.uniqueID]||(l[b.uniqueID]={}),e&&e===b.nodeName.toLowerCase())b=b[d]||b;else{if((j=k[f])&&j[0]===w&&j[1]===h)return m[2]=j[2];if(k[f]=m,m[2]=a(b,c,i))return!0}return!1}}function ua(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function va(a,b,c){for(var d=0,e=b.length;d<e;d++)ga(a,b[d],c);return c}function wa(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;h<i;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function xa(a,b,c,d,e,f){return d&&!d[u]&&(d=xa(d)),e&&!e[u]&&(e=xa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||va(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:wa(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=wa(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?I(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=wa(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ya(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ta(function(a){return a===b},h,!0),l=ta(function(a){return I(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i<f;i++)if(c=d.relative[a[i].type])m=[ta(ua(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;e<f;e++)if(d.relative[a[e].type])break;return xa(i>1&&ua(m),i>1&&sa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(P,"$1"),c,i<e&&ya(a.slice(i,e)),e<f&&ya(a=a.slice(e)),e<f&&sa(a))}m.push(c)}return ua(m)}function za(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=E.call(i));u=wa(u)}G.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ga.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=ya(b[c]),f[u]?d.push(f):e.push(f);f=A(a,za(e,d)),f.selector=a}return f},i=ga.select=function(a,b,c,e){var f,i,j,k,l,m="function"==typeof a&&a,n=!e&&g(a=m.selector||a);if(c=c||[],1===n.length){if(i=n[0]=n[0].slice(0),i.length>2&&"ID"===(j=i[0]).type&&9===b.nodeType&&p&&d.relative[i[1].type]){if(b=(d.find.ID(j.matches[0].replace(_,aa),b)||[])[0],!b)return c;m&&(b=b.parentNode),a=a.slice(i.shift().value.length)}f=V.needsContext.test(a)?0:i.length;while(f--){if(j=i[f],d.relative[k=j.type])break;if((l=d.find[k])&&(e=l(j.matches[0].replace(_,aa),$.test(i[0].type)&&qa(b.parentNode)||b))){if(i.splice(f,1),a=e.length&&sa(i),!a)return G.apply(c,e),c;break}}}return(m||h(a,n))(e,b,!p,c,!b||$.test(a)&&qa(b.parentNode)||b),c},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("fieldset"))}),ja(function(a){return a.innerHTML="<a href=\'#\'></a>","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(J,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);r.find=x,r.expr=x.selectors,r.expr[":"]=r.expr.pseudos,r.uniqueSort=r.unique=x.uniqueSort,r.text=x.getText,r.isXMLDoc=x.isXML,r.contains=x.contains,r.escapeSelector=x.escape;var y=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&r(a).is(c))break;d.push(a)}return d},z=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},A=r.expr.match.needsContext;function B(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()}var C=/^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i,D=/^.[^:#\\[\\.,]*$/;function E(a,b,c){return r.isFunction(b)?r.grep(a,function(a,d){return!!b.call(a,d,a)!==c}):b.nodeType?r.grep(a,function(a){return a===b!==c}):"string"!=typeof b?r.grep(a,function(a){return i.call(b,a)>-1!==c}):D.test(b)?r.filter(b,a,c):(b=r.filter(b,a),r.grep(a,function(a){return i.call(b,a)>-1!==c&&1===a.nodeType}))}r.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?r.find.matchesSelector(d,a)?[d]:[]:r.find.matches(a,r.grep(b,function(a){return 1===a.nodeType}))},r.fn.extend({find:function(a){var b,c,d=this.length,e=this;if("string"!=typeof a)return this.pushStack(r(a).filter(function(){for(b=0;b<d;b++)if(r.contains(e[b],this))return!0}));for(c=this.pushStack([]),b=0;b<d;b++)r.find(a,e[b],c);return d>1?r.uniqueSort(c):c},filter:function(a){return this.pushStack(E(this,a||[],!1))},not:function(a){return this.pushStack(E(this,a||[],!0))},is:function(a){return!!E(this,"string"==typeof a&&A.test(a)?r(a):a||[],!1).length}});var F,G=/^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/,H=r.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||F,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:G.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof r?b[0]:b,r.merge(this,r.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),C.test(e[1])&&r.isPlainObject(b))for(e in b)r.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&(this[0]=f,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):r.isFunction(a)?void 0!==c.ready?c.ready(a):a(r):r.makeArray(a,this)};H.prototype=r.fn,F=r(d);var I=/^(?:parents|prev(?:Until|All))/,J={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(a){var b=r(a,this),c=b.length;return this.filter(function(){for(var a=0;a<c;a++)if(r.contains(this,b[a]))return!0})},closest:function(a,b){var c,d=0,e=this.length,f=[],g="string"!=typeof a&&r(a);if(!A.test(a))for(;d<e;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&r.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?r.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?i.call(r(a),this[0]):i.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function K(a,b){while((a=a[b])&&1!==a.nodeType);return a}r.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return y(a,"parentNode")},parentsUntil:function(a,b,c){return y(a,"parentNode",c)},next:function(a){return K(a,"nextSibling")},prev:function(a){return K(a,"previousSibling")},nextAll:function(a){return y(a,"nextSibling")},prevAll:function(a){return y(a,"previousSibling")},nextUntil:function(a,b,c){return y(a,"nextSibling",c)},prevUntil:function(a,b,c){return y(a,"previousSibling",c)},siblings:function(a){return z((a.parentNode||{}).firstChild,a)},children:function(a){return z(a.firstChild)},contents:function(a){return B(a,"iframe")?a.contentDocument:(B(a,"template")&&(a=a.content||a),r.merge([],a.childNodes))}},function(a,b){r.fn[a]=function(c,d){var e=r.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=r.filter(d,e)),this.length>1&&(J[a]||r.uniqueSort(e),I.test(a)&&e.reverse()),this.pushStack(e)}});var L=/[^\\x20\\t\\r\\n\\f]+/g;function M(a){var b={};return r.each(a.match(L)||[],function(a,c){b[c]=!0}),b}r.Callbacks=function(a){a="string"==typeof a?M(a):r.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=e||a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h<f.length)f[h].apply(c[0],c[1])===!1&&a.stopOnFalse&&(h=f.length,c=!1)}a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},j={add:function(){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function d(b){r.each(b,function(b,c){r.isFunction(c)?a.unique&&j.has(c)||f.push(c):c&&c.length&&"string"!==r.type(c)&&d(c)})}(arguments),c&&!b&&i()),this},remove:function(){return r.each(arguments,function(a,b){var c;while((c=r.inArray(b,f,c))>-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?r.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||b||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j};function N(a){return a}function O(a){throw a}function P(a,b,c,d){var e;try{a&&r.isFunction(e=a.promise)?e.call(a).done(b).fail(c):a&&r.isFunction(e=a.then)?e.call(a,b,c):b.apply(void 0,[a].slice(d))}catch(a){c.apply(void 0,[a])}}r.extend({Deferred:function(b){var c=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],d="pending",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},"catch":function(a){return e.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(b){r.each(c,function(c,d){var e=r.isFunction(a[d[4]])&&a[d[4]];f[d[1]](function(){var a=e&&e.apply(this,arguments);a&&r.isFunction(a.promise)?a.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[d[0]+"With"](this,e?[a]:arguments)})}),a=null}).promise()},then:function(b,d,e){var f=0;function g(b,c,d,e){return function(){var h=this,i=arguments,j=function(){var a,j;if(!(b<f)){if(a=d.apply(h,i),a===c.promise())throw new TypeError("Thenable self-resolution");j=a&&("object"==typeof a||"function"==typeof a)&&a.then,r.isFunction(j)?e?j.call(a,g(f,c,N,e),g(f,c,O,e)):(f++,j.call(a,g(f,c,N,e),g(f,c,O,e),g(f,c,N,c.notifyWith))):(d!==N&&(h=void 0,i=[a]),(e||c.resolveWith)(h,i))}},k=e?j:function(){try{j()}catch(a){r.Deferred.exceptionHook&&r.Deferred.exceptionHook(a,k.stackTrace),b+1>=f&&(d!==O&&(h=void 0,i=[a]),c.rejectWith(h,i))}};b?k():(r.Deferred.getStackHook&&(k.stackTrace=r.Deferred.getStackHook()),a.setTimeout(k))}}return r.Deferred(function(a){c[0][3].add(g(0,a,r.isFunction(e)?e:N,a.notifyWith)),c[1][3].add(g(0,a,r.isFunction(b)?b:N)),c[2][3].add(g(0,a,r.isFunction(d)?d:O))}).promise()},promise:function(a){return null!=a?r.extend(a,e):e}},f={};return r.each(c,function(a,b){var g=b[2],h=b[5];e[b[1]]=g.add,h&&g.add(function(){d=h},c[3-a][2].disable,c[0][2].lock),g.add(b[3].fire),f[b[0]]=function(){return f[b[0]+"With"](this===f?void 0:this,arguments),this},f[b[0]+"With"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=f.call(arguments),g=r.Deferred(),h=function(a){return function(c){d[a]=this,e[a]=arguments.length>1?f.call(arguments):c,--b||g.resolveWith(d,e)}};if(b<=1&&(P(a,g.done(h(c)).resolve,g.reject,!b),"pending"===g.state()||r.isFunction(e[c]&&e[c].then)))return g.then();while(c--)P(e[c],h(c),g.reject);return g.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(b,c){a.console&&a.console.warn&&b&&Q.test(b.name)&&a.console.warn("jQuery.Deferred exception: "+b.message,b.stack,c)},r.readyException=function(b){a.setTimeout(function(){throw b})};var R=r.Deferred();r.fn.ready=function(a){return R.then(a)["catch"](function(a){r.readyException(a)}),this},r.extend({isReady:!1,readyWait:1,ready:function(a){(a===!0?--r.readyWait:r.isReady)||(r.isReady=!0,a!==!0&&--r.readyWait>0||R.resolveWith(d,[r]))}}),r.ready.then=R.then;function S(){d.removeEventListener("DOMContentLoaded",S),\na.removeEventListener("load",S),r.ready()}"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(r.ready):(d.addEventListener("DOMContentLoaded",S),a.addEventListener("load",S));var T=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===r.type(c)){e=!0;for(h in c)T(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,r.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(r(a),c)})),b))for(;h<i;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},U=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function V(){this.expando=r.expando+V.uid++}V.uid=1,V.prototype={cache:function(a){var b=a[this.expando];return b||(b={},U(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this.expando,{value:b,configurable:!0}))),b},set:function(a,b,c){var d,e=this.cache(a);if("string"==typeof b)e[r.camelCase(b)]=c;else for(d in b)e[r.camelCase(d)]=b[d];return e},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][r.camelCase(b)]},access:function(a,b,c){return void 0===b||b&&"string"==typeof b&&void 0===c?this.get(a,b):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d=a[this.expando];if(void 0!==d){if(void 0!==b){Array.isArray(b)?b=b.map(r.camelCase):(b=r.camelCase(b),b=b in d?[b]:b.match(L)||[]),c=b.length;while(c--)delete d[b[c]]}(void 0===b||r.isEmptyObject(d))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var b=a[this.expando];return void 0!==b&&!r.isEmptyObject(b)}};var W=new V,X=new V,Y=/^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,Z=/[A-Z]/g;function $(a){return"true"===a||"false"!==a&&("null"===a?null:a===+a+""?+a:Y.test(a)?JSON.parse(a):a)}function _(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(Z,"-$&").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c=$(c)}catch(e){}X.set(a,b,c)}else c=void 0;return c}r.extend({hasData:function(a){return X.hasData(a)||W.hasData(a)},data:function(a,b,c){return X.access(a,b,c)},removeData:function(a,b){X.remove(a,b)},_data:function(a,b,c){return W.access(a,b,c)},_removeData:function(a,b){W.remove(a,b)}}),r.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=X.get(f),1===f.nodeType&&!W.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=r.camelCase(d.slice(5)),_(f,d,e[d])));W.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){X.set(this,a)}):T(this,function(b){var c;if(f&&void 0===b){if(c=X.get(f,a),void 0!==c)return c;if(c=_(f,a),void 0!==c)return c}else this.each(function(){X.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){X.remove(this,a)})}}),r.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=W.get(a,b),c&&(!d||Array.isArray(c)?d=W.access(a,b,r.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=r.queue(a,b),d=c.length,e=c.shift(),f=r._queueHooks(a,b),g=function(){r.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return W.get(a,c)||W.access(a,c,{empty:r.Callbacks("once memory").add(function(){W.remove(a,[b+"queue",c])})})}}),r.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?r.queue(this[0],a):void 0===b?this:this.each(function(){var c=r.queue(this,a,b);r._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&r.dequeue(this,a)})},dequeue:function(a){return this.each(function(){r.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=r.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=W.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var aa=/[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/.source,ba=new RegExp("^(?:([+-])=|)("+aa+")([a-z%]*)$","i"),ca=["Top","Right","Bottom","Left"],da=function(a,b){return a=b||a,"none"===a.style.display||""===a.style.display&&r.contains(a.ownerDocument,a)&&"none"===r.css(a,"display")},ea=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};function fa(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return r.css(a,b,"")},i=h(),j=c&&c[3]||(r.cssNumber[b]?"":"px"),k=(r.cssNumber[b]||"px"!==j&&+i)&&ba.exec(r.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do f=f||".5",k/=f,r.style(a,b,k+j);while(f!==(f=h()/i)&&1!==f&&--g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}var ga={};function ha(a){var b,c=a.ownerDocument,d=a.nodeName,e=ga[d];return e?e:(b=c.body.appendChild(c.createElement(d)),e=r.css(b,"display"),b.parentNode.removeChild(b),"none"===e&&(e="block"),ga[d]=e,e)}function ia(a,b){for(var c,d,e=[],f=0,g=a.length;f<g;f++)d=a[f],d.style&&(c=d.style.display,b?("none"===c&&(e[f]=W.get(d,"display")||null,e[f]||(d.style.display="")),""===d.style.display&&da(d)&&(e[f]=ha(d))):"none"!==c&&(e[f]="none",W.set(d,"display",c)));for(f=0;f<g;f++)null!=e[f]&&(a[f].style.display=e[f]);return a}r.fn.extend({show:function(){return ia(this,!0)},hide:function(){return ia(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){da(this)?r(this).show():r(this).hide()})}});var ja=/^(?:checkbox|radio)$/i,ka=/<([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]+)/i,la=/^$|\\/(?:java|ecma)script/i,ma={option:[1,"<select multiple=\'multiple\'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ma.optgroup=ma.option,ma.tbody=ma.tfoot=ma.colgroup=ma.caption=ma.thead,ma.th=ma.td;function na(a,b){var c;return c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[],void 0===b||b&&B(a,b)?r.merge([a],c):c}function oa(a,b){for(var c=0,d=a.length;c<d;c++)W.set(a[c],"globalEval",!b||W.get(b[c],"globalEval"))}var pa=/<|&#?\\w+;/;function qa(a,b,c,d,e){for(var f,g,h,i,j,k,l=b.createDocumentFragment(),m=[],n=0,o=a.length;n<o;n++)if(f=a[n],f||0===f)if("object"===r.type(f))r.merge(m,f.nodeType?[f]:f);else if(pa.test(f)){g=g||l.appendChild(b.createElement("div")),h=(ka.exec(f)||["",""])[1].toLowerCase(),i=ma[h]||ma._default,g.innerHTML=i[1]+r.htmlPrefilter(f)+i[2],k=i[0];while(k--)g=g.lastChild;r.merge(m,g.childNodes),g=l.firstChild,g.textContent=""}else m.push(b.createTextNode(f));l.textContent="",n=0;while(f=m[n++])if(d&&r.inArray(f,d)>-1)e&&e.push(f);else if(j=r.contains(f.ownerDocument,f),g=na(l.appendChild(f),"script"),j&&oa(g),c){k=0;while(f=g[k++])la.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),o.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",o.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var ra=d.documentElement,sa=/^key/,ta=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ua=/^([^.]*)(?:\\.(.+)|)/;function va(){return!0}function wa(){return!1}function xa(){try{return d.activeElement}catch(a){}}function ya(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)ya(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=wa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return r().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=r.guid++)),a.each(function(){r.event.add(this,b,e,d,c)})}r.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=W.get(a);if(q){c.handler&&(f=c,c=f.handler,e=f.selector),e&&r.find.matchesSelector(ra,e),c.guid||(c.guid=r.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return"undefined"!=typeof r&&r.event.triggered!==b.type?r.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(L)||[""],j=b.length;while(j--)h=ua.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n&&(l=r.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=r.event.special[n]||{},k=r.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&r.expr.match.needsContext.test(e),namespace:o.join(".")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,o,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),r.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=W.hasData(a)&&W.get(a);if(q&&(i=q.events)){b=(b||"").match(L)||[""],j=b.length;while(j--)if(h=ua.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n){l=r.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp("(^|\\\\.)"+o.join("\\\\.(?:.*\\\\.|)")+"(\\\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||r.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)r.event.remove(a,n+b[j],c,d,!0);r.isEmptyObject(i)&&W.remove(a,"handle events")}},dispatch:function(a){var b=r.event.fix(a),c,d,e,f,g,h,i=new Array(arguments.length),j=(W.get(this,"events")||{})[b.type]||[],k=r.event.special[b.type]||{};for(i[0]=b,c=1;c<arguments.length;c++)i[c]=arguments[c];if(b.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,b)!==!1){h=r.event.handlers.call(this,b,j),c=0;while((f=h[c++])&&!b.isPropagationStopped()){b.currentTarget=f.elem,d=0;while((g=f.handlers[d++])&&!b.isImmediatePropagationStopped())b.rnamespace&&!b.rnamespace.test(g.namespace)||(b.handleObj=g,b.data=g.data,e=((r.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(b.result=e)===!1&&(b.preventDefault(),b.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,b),b.result}},handlers:function(a,b){var c,d,e,f,g,h=[],i=b.delegateCount,j=a.target;if(i&&j.nodeType&&!("click"===a.type&&a.button>=1))for(;j!==this;j=j.parentNode||this)if(1===j.nodeType&&("click"!==a.type||j.disabled!==!0)){for(f=[],g={},c=0;c<i;c++)d=b[c],e=d.selector+" ",void 0===g[e]&&(g[e]=d.needsContext?r(e,this).index(j)>-1:r.find(e,this,null,[j]).length),g[e]&&f.push(d);f.length&&h.push({elem:j,handlers:f})}return j=this,i<b.length&&h.push({elem:j,handlers:b.slice(i)}),h},addProp:function(a,b){Object.defineProperty(r.Event.prototype,a,{enumerable:!0,configurable:!0,get:r.isFunction(b)?function(){if(this.originalEvent)return b(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[a]},set:function(b){Object.defineProperty(this,a,{enumerable:!0,configurable:!0,writable:!0,value:b})}})},fix:function(a){return a[r.expando]?a:new r.Event(a)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==xa()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===xa()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&B(this,"input"))return this.click(),!1},_default:function(a){return B(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}},r.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)},r.Event=function(a,b){return this instanceof r.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?va:wa,this.target=a.target&&3===a.target.nodeType?a.target.parentNode:a.target,this.currentTarget=a.currentTarget,this.relatedTarget=a.relatedTarget):this.type=a,b&&r.extend(this,b),this.timeStamp=a&&a.timeStamp||r.now(),void(this[r.expando]=!0)):new r.Event(a,b)},r.Event.prototype={constructor:r.Event,isDefaultPrevented:wa,isPropagationStopped:wa,isImmediatePropagationStopped:wa,isSimulated:!1,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=va,a&&!this.isSimulated&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=va,a&&!this.isSimulated&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=va,a&&!this.isSimulated&&a.stopImmediatePropagation(),this.stopPropagation()}},r.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(a){var b=a.button;return null==a.which&&sa.test(a.type)?null!=a.charCode?a.charCode:a.keyCode:!a.which&&void 0!==b&&ta.test(a.type)?1&b?1:2&b?3:4&b?2:0:a.which}},r.event.addProp),r.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){r.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return e&&(e===d||r.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),r.fn.extend({on:function(a,b,c,d){return ya(this,a,b,c,d)},one:function(a,b,c,d){return ya(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,r(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return b!==!1&&"function"!=typeof b||(c=b,b=void 0),c===!1&&(c=wa),this.each(function(){r.event.remove(this,a,c,b)})}});var za=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]*)[^>]*)\\/>/gi,Aa=/<script|<style|<link/i,Ba=/checked\\s*(?:[^=]|=\\s*.checked.)/i,Ca=/^true\\/(.*)/,Da=/^\\s*<!(?:\\[CDATA\\[|--)|(?:\\]\\]|--)>\\s*$/g;function Ea(a,b){return B(a,"table")&&B(11!==b.nodeType?b:b.firstChild,"tr")?r(">tbody",a)[0]||a:a}function Fa(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function Ga(a){var b=Ca.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Ha(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(W.hasData(a)&&(f=W.access(a),g=W.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;c<d;c++)r.event.add(b,e,j[e][c])}X.hasData(a)&&(h=X.access(a),i=r.extend({},h),X.set(b,i))}}function Ia(a,b){var c=b.nodeName.toLowerCase();"input"===c&&ja.test(a.type)?b.checked=a.checked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}function Ja(a,b,c,d){b=g.apply([],b);var e,f,h,i,j,k,l=0,m=a.length,n=m-1,q=b[0],s=r.isFunction(q);if(s||m>1&&"string"==typeof q&&!o.checkClone&&Ba.test(q))return a.each(function(e){var f=a.eq(e);s&&(b[0]=q.call(this,e,f.html())),Ja(f,b,c,d)});if(m&&(e=qa(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(h=r.map(na(e,"script"),Fa),i=h.length;l<m;l++)j=e,l!==n&&(j=r.clone(j,!0,!0),i&&r.merge(h,na(j,"script"))),c.call(a[l],j,l);if(i)for(k=h[h.length-1].ownerDocument,r.map(h,Ga),l=0;l<i;l++)j=h[l],la.test(j.type||"")&&!W.access(j,"globalEval")&&r.contains(k,j)&&(j.src?r._evalUrl&&r._evalUrl(j.src):p(j.textContent.replace(Da,""),k))}return a}function Ka(a,b,c){for(var d,e=b?r.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||r.cleanData(na(d)),d.parentNode&&(c&&r.contains(d.ownerDocument,d)&&oa(na(d,"script")),d.parentNode.removeChild(d));return a}r.extend({htmlPrefilter:function(a){return a.replace(za,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=r.contains(a.ownerDocument,a);if(!(o.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||r.isXMLDoc(a)))for(g=na(h),f=na(a),d=0,e=f.length;d<e;d++)Ia(f[d],g[d]);if(b)if(c)for(f=f||na(a),g=g||na(h),d=0,e=f.length;d<e;d++)Ha(f[d],g[d]);else Ha(a,h);return g=na(h,"script"),g.length>0&&oa(g,!i&&na(a,"script")),h},cleanData:function(a){for(var b,c,d,e=r.event.special,f=0;void 0!==(c=a[f]);f++)if(U(c)){if(b=c[W.expando]){if(b.events)for(d in b.events)e[d]?r.event.remove(c,d):r.removeEvent(c,d,b.handle);c[W.expando]=void 0}c[X.expando]&&(c[X.expando]=void 0)}}}),r.fn.extend({detach:function(a){return Ka(this,a,!0)},remove:function(a){return Ka(this,a)},text:function(a){return T(this,function(a){return void 0===a?r.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return Ja(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ea(this,a);b.appendChild(a)}})},prepend:function(){return Ja(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ea(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ja(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ja(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(r.cleanData(na(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return r.clone(this,a,b)})},html:function(a){return T(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!Aa.test(a)&&!ma[(ka.exec(a)||["",""])[1].toLowerCase()]){a=r.htmlPrefilter(a);try{for(;c<d;c++)b=this[c]||{},1===b.nodeType&&(r.cleanData(na(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ja(this,arguments,function(b){var c=this.parentNode;r.inArray(this,a)<0&&(r.cleanData(na(this)),c&&c.replaceChild(b,this))},a)}}),r.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){r.fn[a]=function(a){for(var c,d=[],e=r(a),f=e.length-1,g=0;g<=f;g++)c=g===f?this:this.clone(!0),r(e[g])[b](c),h.apply(d,c.get());return this.pushStack(d)}});var La=/^margin/,Ma=new RegExp("^("+aa+")(?!px)[a-z%]+$","i"),Na=function(b){var c=b.ownerDocument.defaultView;return c&&c.opener||(c=a),c.getComputedStyle(b)};!function(){function b(){if(i){i.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",i.innerHTML="",ra.appendChild(h);var b=a.getComputedStyle(i);c="1%"!==b.top,g="2px"===b.marginLeft,e="4px"===b.width,i.style.marginRight="50%",f="4px"===b.marginRight,ra.removeChild(h),i=null}}var c,e,f,g,h=d.createElement("div"),i=d.createElement("div");i.style&&(i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===i.style.backgroundClip,h.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",h.appendChild(i),r.extend(o,{pixelPosition:function(){return b(),c},boxSizingReliable:function(){return b(),e},pixelMarginRight:function(){return b(),f},reliableMarginLeft:function(){return b(),g}}))}();function Oa(a,b,c){var d,e,f,g,h=a.style;return c=c||Na(a),c&&(g=c.getPropertyValue(b)||c[b],""!==g||r.contains(a.ownerDocument,a)||(g=r.style(a,b)),!o.pixelMarginRight()&&Ma.test(g)&&La.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function Pa(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}var Qa=/^(none|table(?!-c[ea]).+)/,Ra=/^--/,Sa={position:"absolute",visibility:"hidden",display:"block"},Ta={letterSpacing:"0",fontWeight:"400"},Ua=["Webkit","Moz","ms"],Va=d.createElement("div").style;function Wa(a){if(a in Va)return a;var b=a[0].toUpperCase()+a.slice(1),c=Ua.length;while(c--)if(a=Ua[c]+b,a in Va)return a}function Xa(a){var b=r.cssProps[a];return b||(b=r.cssProps[a]=Wa(a)||a),b}function Ya(a,b,c){var d=ba.exec(b);return d?Math.max(0,d[2]-(c||0))+(d[3]||"px"):b}function Za(a,b,c,d,e){var f,g=0;for(f=c===(d?"border":"content")?4:"width"===b?1:0;f<4;f+=2)"margin"===c&&(g+=r.css(a,c+ca[f],!0,e)),d?("content"===c&&(g-=r.css(a,"padding"+ca[f],!0,e)),"margin"!==c&&(g-=r.css(a,"border"+ca[f]+"Width",!0,e))):(g+=r.css(a,"padding"+ca[f],!0,e),"padding"!==c&&(g+=r.css(a,"border"+ca[f]+"Width",!0,e)));return g}function $a(a,b,c){var d,e=Na(a),f=Oa(a,b,e),g="border-box"===r.css(a,"boxSizing",!1,e);return Ma.test(f)?f:(d=g&&(o.boxSizingReliable()||f===a.style[b]),"auto"===f&&(f=a["offset"+b[0].toUpperCase()+b.slice(1)]),f=parseFloat(f)||0,f+Za(a,b,c||(g?"border":"content"),d,e)+"px")}r.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Oa(a,"opacity");return""===c?"1":c}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=r.camelCase(b),i=Ra.test(b),j=a.style;return i||(b=Xa(h)),g=r.cssHooks[b]||r.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:j[b]:(f=typeof c,"string"===f&&(e=ba.exec(c))&&e[1]&&(c=fa(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(r.cssNumber[h]?"":"px")),o.clearCloneStyle||""!==c||0!==b.indexOf("background")||(j[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i?j.setProperty(b,c):j[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=r.camelCase(b),i=Ra.test(b);return i||(b=Xa(h)),g=r.cssHooks[b]||r.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=Oa(a,b,d)),"normal"===e&&b in Ta&&(e=Ta[b]),""===c||c?(f=parseFloat(e),c===!0||isFinite(f)?f||0:e):e}}),r.each(["height","width"],function(a,b){r.cssHooks[b]={get:function(a,c,d){if(c)return!Qa.test(r.css(a,"display"))||a.getClientRects().length&&a.getBoundingClientRect().width?$a(a,b,d):ea(a,Sa,function(){return $a(a,b,d)})},set:function(a,c,d){var e,f=d&&Na(a),g=d&&Za(a,b,d,"border-box"===r.css(a,"boxSizing",!1,f),f);return g&&(e=ba.exec(c))&&"px"!==(e[3]||"px")&&(a.style[b]=c,c=r.css(a,b)),Ya(a,c,g)}}}),r.cssHooks.marginLeft=Pa(o.reliableMarginLeft,function(a,b){if(b)return(parseFloat(Oa(a,"marginLeft"))||a.getBoundingClientRect().left-ea(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"}),r.each({margin:"",padding:"",border:"Width"},function(a,b){r.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];d<4;d++)e[a+ca[d]+b]=f[d]||f[d-2]||f[0];return e}},La.test(a)||(r.cssHooks[a+b].set=Ya)}),r.fn.extend({css:function(a,b){return T(this,function(a,b,c){var d,e,f={},g=0;if(Array.isArray(b)){for(d=Na(a),e=b.length;g<e;g++)f[b[g]]=r.css(a,b[g],!1,d);return f}return void 0!==c?r.style(a,b,c):r.css(a,b)},a,b,arguments.length>1)}});function _a(a,b,c,d,e){return new _a.prototype.init(a,b,c,d,e)}r.Tween=_a,_a.prototype={constructor:_a,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||r.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(r.cssNumber[c]?"":"px")},cur:function(){var a=_a.propHooks[this.prop];return a&&a.get?a.get(this):_a.propHooks._default.get(this)},run:function(a){var b,c=_a.propHooks[this.prop];return this.options.duration?this.pos=b=r.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):_a.propHooks._default.set(this),this}},_a.prototype.init.prototype=_a.prototype,_a.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=r.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){r.fx.step[a.prop]?r.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[r.cssProps[a.prop]]&&!r.cssHooks[a.prop]?a.elem[a.prop]=a.now:r.style(a.elem,a.prop,a.now+a.unit)}}},_a.propHooks.scrollTop=_a.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},r.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},r.fx=_a.prototype.init,r.fx.step={};var ab,bb,cb=/^(?:toggle|show|hide)$/,db=/queueHooks$/;function eb(){bb&&(d.hidden===!1&&a.requestAnimationFrame?a.requestAnimationFrame(eb):a.setTimeout(eb,r.fx.interval),r.fx.tick())}function fb(){return a.setTimeout(function(){ab=void 0}),ab=r.now()}function gb(a,b){var c,d=0,e={height:a};for(b=b?1:0;d<4;d+=2-b)c=ca[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function hb(a,b,c){for(var d,e=(kb.tweeners[b]||[]).concat(kb.tweeners["*"]),f=0,g=e.length;f<g;f++)if(d=e[f].call(c,b,a))return d}function ib(a,b,c){var d,e,f,g,h,i,j,k,l="width"in b||"height"in b,m=this,n={},o=a.style,p=a.nodeType&&da(a),q=W.get(a,"fxshow");c.queue||(g=r._queueHooks(a,"fx"),null==g.unqueued&&(g.unqueued=0,h=g.empty.fire,g.empty.fire=function(){g.unqueued||h()}),g.unqueued++,m.always(function(){m.always(function(){g.unqueued--,r.queue(a,"fx").length||g.empty.fire()})}));for(d in b)if(e=b[d],cb.test(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}n[d]=q&&q[d]||r.style(a,d)}if(i=!r.isEmptyObject(b),i||!r.isEmptyObject(n)){l&&1===a.nodeType&&(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=q&&q.display,null==j&&(j=W.get(a,"display")),k=r.css(a,"display"),"none"===k&&(j?k=j:(ia([a],!0),j=a.style.display||j,k=r.css(a,"display"),ia([a]))),("inline"===k||"inline-block"===k&&null!=j)&&"none"===r.css(a,"float")&&(i||(m.done(function(){o.display=j}),null==j&&(k=o.display,j="none"===k?"":k)),o.display="inline-block")),c.overflow&&(o.overflow="hidden",m.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]})),i=!1;for(d in n)i||(q?"hidden"in q&&(p=q.hidden):q=W.access(a,"fxshow",{display:j}),f&&(q.hidden=!p),p&&ia([a],!0),m.done(function(){p||ia([a]),W.remove(a,"fxshow");for(d in n)r.style(a,d,n[d])})),i=hb(p?q[d]:0,d,m),d in q||(q[d]=i.start,p&&(i.end=i.start,i.start=0))}}function jb(a,b){var c,d,e,f,g;for(c in a)if(d=r.camelCase(c),e=b[d],f=a[c],Array.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=r.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function kb(a,b,c){var d,e,f=0,g=kb.prefilters.length,h=r.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=ab||fb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;g<i;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),f<1&&i?c:(i||h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:r.extend({},b),opts:r.extend(!0,{specialEasing:{},easing:r.easing._default},c),originalProperties:b,originalOptions:c,startTime:ab||fb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=r.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;c<d;c++)j.tweens[c].run(1);return b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k=j.props;for(jb(k,j.opts.specialEasing);f<g;f++)if(d=kb.prefilters[f].call(j,a,k,j.opts))return r.isFunction(d.stop)&&(r._queueHooks(j.elem,j.opts.queue).stop=r.proxy(d.stop,d)),d;return r.map(k,hb,j),r.isFunction(j.opts.start)&&j.opts.start.call(a,j),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always),r.fx.timer(r.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j}r.Animation=r.extend(kb,{tweeners:{"*":[function(a,b){var c=this.createTween(a,b);return fa(c.elem,a,ba.exec(b),c),c}]},tweener:function(a,b){r.isFunction(a)?(b=a,a=["*"]):a=a.match(L);for(var c,d=0,e=a.length;d<e;d++)c=a[d],kb.tweeners[c]=kb.tweeners[c]||[],kb.tweeners[c].unshift(b)},prefilters:[ib],prefilter:function(a,b){b?kb.prefilters.unshift(a):kb.prefilters.push(a)}}),r.speed=function(a,b,c){var d=a&&"object"==typeof a?r.extend({},a):{complete:c||!c&&b||r.isFunction(a)&&a,duration:a,easing:c&&b||b&&!r.isFunction(b)&&b};return r.fx.off?d.duration=0:"number"!=typeof d.duration&&(d.duration in r.fx.speeds?d.duration=r.fx.speeds[d.duration]:d.duration=r.fx.speeds._default),null!=d.queue&&d.queue!==!0||(d.queue="fx"),d.old=d.complete,d.complete=function(){r.isFunction(d.old)&&d.old.call(this),d.queue&&r.dequeue(this,d.queue)},d},r.fn.extend({fadeTo:function(a,b,c,d){return this.filter(da).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=r.isEmptyObject(a),f=r.speed(b,c,d),g=function(){var b=kb(this,r.extend({},a),f);(e||W.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=r.timers,g=W.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&db.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||r.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=W.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=r.timers,g=d?d.length:0;for(c.finish=!0,r.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;b<g;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),r.each(["toggle","show","hide"],function(a,b){var c=r.fn[b];r.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(gb(b,!0),a,d,e)}}),r.each({slideDown:gb("show"),slideUp:gb("hide"),slideToggle:gb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){r.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),r.timers=[],r.fx.tick=function(){var a,b=0,c=r.timers;for(ab=r.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||r.fx.stop(),ab=void 0},r.fx.timer=function(a){r.timers.push(a),r.fx.start()},r.fx.interval=13,r.fx.start=function(){bb||(bb=!0,eb())},r.fx.stop=function(){bb=null},r.fx.speeds={slow:600,fast:200,_default:400},r.fn.delay=function(b,c){return b=r.fx?r.fx.speeds[b]||b:b,c=c||"fx",this.queue(c,function(c,d){var e=a.setTimeout(c,b);d.stop=function(){a.clearTimeout(e)}})},function(){var a=d.createElement("input"),b=d.createElement("select"),c=b.appendChild(d.createElement("option"));a.type="checkbox",o.checkOn=""!==a.value,o.optSelected=c.selected,a=d.createElement("input"),a.value="t",a.type="radio",o.radioValue="t"===a.value}();var lb,mb=r.expr.attrHandle;r.fn.extend({attr:function(a,b){return T(this,r.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){r.removeAttr(this,a)})}}),r.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?r.prop(a,b,c):(1===f&&r.isXMLDoc(a)||(e=r.attrHooks[b.toLowerCase()]||(r.expr.match.bool.test(b)?lb:void 0)),void 0!==c?null===c?void r.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=r.find.attr(a,b),\nnull==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"===b&&B(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d=0,e=b&&b.match(L);if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),lb={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.setAttribute(c,c),c}},r.each(r.expr.match.bool.source.match(/\\w+/g),function(a,b){var c=mb[b]||r.find.attr;mb[b]=function(a,b,d){var e,f,g=b.toLowerCase();return d||(f=mb[g],mb[g]=e,e=null!=c(a,b,d)?g:null,mb[g]=f),e}});var nb=/^(?:input|select|textarea|button)$/i,ob=/^(?:a|area)$/i;r.fn.extend({prop:function(a,b){return T(this,r.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[r.propFix[a]||a]})}}),r.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&r.isXMLDoc(a)||(b=r.propFix[b]||b,e=r.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=r.find.attr(a,"tabindex");return b?parseInt(b,10):nb.test(a.nodeName)||ob.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),o.optSelected||(r.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),r.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){r.propFix[this.toLowerCase()]=this});function pb(a){var b=a.match(L)||[];return b.join(" ")}function qb(a){return a.getAttribute&&a.getAttribute("class")||""}r.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).addClass(a.call(this,b,qb(this)))});if("string"==typeof a&&a){b=a.match(L)||[];while(c=this[i++])if(e=qb(c),d=1===c.nodeType&&" "+pb(e)+" "){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=pb(d),e!==h&&c.setAttribute("class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).removeClass(a.call(this,b,qb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(L)||[];while(c=this[i++])if(e=qb(c),d=1===c.nodeType&&" "+pb(e)+" "){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=pb(d),e!==h&&c.setAttribute("class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):r.isFunction(a)?this.each(function(c){r(this).toggleClass(a.call(this,c,qb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=r(this),f=a.match(L)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=qb(this),b&&W.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":W.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+pb(qb(c))+" ").indexOf(b)>-1)return!0;return!1}});var rb=/\\r/g;r.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=r.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,r(this).val()):a,null==e?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=r.map(e,function(a){return null==a?"":a+""})),b=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=r.valHooks[e.type]||r.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(rb,""):null==c?"":c)}}}),r.extend({valHooks:{option:{get:function(a){var b=r.find.attr(a,"value");return null!=b?b:pb(r.text(a))}},select:{get:function(a){var b,c,d,e=a.options,f=a.selectedIndex,g="select-one"===a.type,h=g?null:[],i=g?f+1:e.length;for(d=f<0?i:g?f:0;d<i;d++)if(c=e[d],(c.selected||d===f)&&!c.disabled&&(!c.parentNode.disabled||!B(c.parentNode,"optgroup"))){if(b=r(c).val(),g)return b;h.push(b)}return h},set:function(a,b){var c,d,e=a.options,f=r.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=r.inArray(r.valHooks.option.get(d),f)>-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),r.each(["radio","checkbox"],function(){r.valHooks[this]={set:function(a,b){if(Array.isArray(b))return a.checked=r.inArray(r(a).val(),b)>-1}},o.checkOn||(r.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var sb=/^(?:focusinfocus|focusoutblur)$/;r.extend(r.event,{trigger:function(b,c,e,f){var g,h,i,j,k,m,n,o=[e||d],p=l.call(b,"type")?b.type:b,q=l.call(b,"namespace")?b.namespace.split("."):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!sb.test(p+r.event.triggered)&&(p.indexOf(".")>-1&&(q=p.split("."),p=q.shift(),q.sort()),k=p.indexOf(":")<0&&"on"+p,b=b[r.expando]?b:new r.Event(p,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=q.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\\\.)"+q.join("\\\\.(?:.*\\\\.|)")+"(\\\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:r.makeArray(c,[b]),n=r.event.special[p]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!r.isWindow(e)){for(j=n.delegateType||p,sb.test(j+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(e.ownerDocument||d)&&o.push(i.defaultView||i.parentWindow||a)}g=0;while((h=o[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||p,m=(W.get(h,"events")||{})[b.type]&&W.get(h,"handle"),m&&m.apply(h,c),m=k&&h[k],m&&m.apply&&U(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=p,f||b.isDefaultPrevented()||n._default&&n._default.apply(o.pop(),c)!==!1||!U(e)||k&&r.isFunction(e[p])&&!r.isWindow(e)&&(i=e[k],i&&(e[k]=null),r.event.triggered=p,e[p](),r.event.triggered=void 0,i&&(e[k]=i)),b.result}},simulate:function(a,b,c){var d=r.extend(new r.Event,c,{type:a,isSimulated:!0});r.event.trigger(d,null,b)}}),r.fn.extend({trigger:function(a,b){return this.each(function(){r.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return r.event.trigger(a,b,c,!0)}}),r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(a,b){r.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),r.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),o.focusin="onfocusin"in a,o.focusin||r.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){r.event.simulate(b,a.target,r.event.fix(a))};r.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=W.access(d,b);e||d.addEventListener(a,c,!0),W.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=W.access(d,b)-1;e?W.access(d,b,e):(d.removeEventListener(a,c,!0),W.remove(d,b))}}});var tb=a.location,ub=r.now(),vb=/\\?/;r.parseXML=function(b){var c;if(!b||"string"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,"text/xml")}catch(d){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||r.error("Invalid XML: "+b),c};var wb=/\\[\\]$/,xb=/\\r?\\n/g,yb=/^(?:submit|button|image|reset|file)$/i,zb=/^(?:input|select|textarea|keygen)/i;function Ab(a,b,c,d){var e;if(Array.isArray(b))r.each(b,function(b,e){c||wb.test(a)?d(a,e):Ab(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==r.type(b))d(a,b);else for(e in b)Ab(a+"["+e+"]",b[e],c,d)}r.param=function(a,b){var c,d=[],e=function(a,b){var c=r.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==c?"":c)};if(Array.isArray(a)||a.jquery&&!r.isPlainObject(a))r.each(a,function(){e(this.name,this.value)});else for(c in a)Ab(c,a[c],b,e);return d.join("&")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=r.prop(this,"elements");return a?r.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!r(this).is(":disabled")&&zb.test(this.nodeName)&&!yb.test(a)&&(this.checked||!ja.test(a))}).map(function(a,b){var c=r(this).val();return null==c?null:Array.isArray(c)?r.map(c,function(a){return{name:b.name,value:a.replace(xb,"\\r\\n")}}):{name:b.name,value:c.replace(xb,"\\r\\n")}}).get()}});var Bb=/%20/g,Cb=/#.*$/,Db=/([?&])_=[^&]*/,Eb=/^(.*?):[ \\t]*([^\\r\\n]*)$/gm,Fb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Gb=/^(?:GET|HEAD)$/,Hb=/^\\/\\//,Ib={},Jb={},Kb="*/".concat("*"),Lb=d.createElement("a");Lb.href=tb.href;function Mb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(L)||[];if(r.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Nb(a,b,c,d){var e={},f=a===Jb;function g(h){var i;return e[h]=!0,r.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Ob(a,b){var c,d,e=r.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&r.extend(!0,a,d),a}function Pb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Qb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:tb.href,type:"GET",isLocal:Fb.test(tb.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Kb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\\bxml\\b/,html:/\\bhtml/,json:/\\bjson\\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Ob(Ob(a,r.ajaxSettings),b):Ob(r.ajaxSettings,a)},ajaxPrefilter:Mb(Ib),ajaxTransport:Mb(Jb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m,n,o=r.ajaxSetup({},c),p=o.context||o,q=o.context&&(p.nodeType||p.jquery)?r(p):r.event,s=r.Deferred(),t=r.Callbacks("once memory"),u=o.statusCode||{},v={},w={},x="canceled",y={readyState:0,getResponseHeader:function(a){var b;if(k){if(!h){h={};while(b=Eb.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return k?g:null},setRequestHeader:function(a,b){return null==k&&(a=w[a.toLowerCase()]=w[a.toLowerCase()]||a,v[a]=b),this},overrideMimeType:function(a){return null==k&&(o.mimeType=a),this},statusCode:function(a){var b;if(a)if(k)y.always(a[y.status]);else for(b in a)u[b]=[u[b],a[b]];return this},abort:function(a){var b=a||x;return e&&e.abort(b),A(0,b),this}};if(s.promise(y),o.url=((b||o.url||tb.href)+"").replace(Hb,tb.protocol+"//"),o.type=c.method||c.type||o.method||o.type,o.dataTypes=(o.dataType||"*").toLowerCase().match(L)||[""],null==o.crossDomain){j=d.createElement("a");try{j.href=o.url,j.href=j.href,o.crossDomain=Lb.protocol+"//"+Lb.host!=j.protocol+"//"+j.host}catch(z){o.crossDomain=!0}}if(o.data&&o.processData&&"string"!=typeof o.data&&(o.data=r.param(o.data,o.traditional)),Nb(Ib,o,c,y),k)return y;l=r.event&&o.global,l&&0===r.active++&&r.event.trigger("ajaxStart"),o.type=o.type.toUpperCase(),o.hasContent=!Gb.test(o.type),f=o.url.replace(Cb,""),o.hasContent?o.data&&o.processData&&0===(o.contentType||"").indexOf("application/x-www-form-urlencoded")&&(o.data=o.data.replace(Bb,"+")):(n=o.url.slice(f.length),o.data&&(f+=(vb.test(f)?"&":"?")+o.data,delete o.data),o.cache===!1&&(f=f.replace(Db,"$1"),n=(vb.test(f)?"&":"?")+"_="+ub++ +n),o.url=f+n),o.ifModified&&(r.lastModified[f]&&y.setRequestHeader("If-Modified-Since",r.lastModified[f]),r.etag[f]&&y.setRequestHeader("If-None-Match",r.etag[f])),(o.data&&o.hasContent&&o.contentType!==!1||c.contentType)&&y.setRequestHeader("Content-Type",o.contentType),y.setRequestHeader("Accept",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+("*"!==o.dataTypes[0]?", "+Kb+"; q=0.01":""):o.accepts["*"]);for(m in o.headers)y.setRequestHeader(m,o.headers[m]);if(o.beforeSend&&(o.beforeSend.call(p,y,o)===!1||k))return y.abort();if(x="abort",t.add(o.complete),y.done(o.success),y.fail(o.error),e=Nb(Jb,o,c,y)){if(y.readyState=1,l&&q.trigger("ajaxSend",[y,o]),k)return y;o.async&&o.timeout>0&&(i=a.setTimeout(function(){y.abort("timeout")},o.timeout));try{k=!1,e.send(v,A)}catch(z){if(k)throw z;A(-1,z)}}else A(-1,"No Transport");function A(b,c,d,h){var j,m,n,v,w,x=c;k||(k=!0,i&&a.clearTimeout(i),e=void 0,g=h||"",y.readyState=b>0?4:0,j=b>=200&&b<300||304===b,d&&(v=Pb(o,y,d)),v=Qb(o,v,y,j),j?(o.ifModified&&(w=y.getResponseHeader("Last-Modified"),w&&(r.lastModified[f]=w),w=y.getResponseHeader("etag"),w&&(r.etag[f]=w)),204===b||"HEAD"===o.type?x="nocontent":304===b?x="notmodified":(x=v.state,m=v.data,n=v.error,j=!n)):(n=x,!b&&x||(x="error",b<0&&(b=0))),y.status=b,y.statusText=(c||x)+"",j?s.resolveWith(p,[m,x,y]):s.rejectWith(p,[y,x,n]),y.statusCode(u),u=void 0,l&&q.trigger(j?"ajaxSuccess":"ajaxError",[y,o,j?m:n]),t.fireWith(p,[y,x]),l&&(q.trigger("ajaxComplete",[y,o]),--r.active||r.event.trigger("ajaxStop")))}return y},getJSON:function(a,b,c){return r.get(a,b,c,"json")},getScript:function(a,b){return r.get(a,void 0,b,"script")}}),r.each(["get","post"],function(a,b){r[b]=function(a,c,d,e){return r.isFunction(c)&&(e=e||d,d=c,c=void 0),r.ajax(r.extend({url:a,type:b,dataType:e,data:c,success:d},r.isPlainObject(a)&&a))}}),r._evalUrl=function(a){return r.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},r.fn.extend({wrapAll:function(a){var b;return this[0]&&(r.isFunction(a)&&(a=a.call(this[0])),b=r(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(a){return r.isFunction(a)?this.each(function(b){r(this).wrapInner(a.call(this,b))}):this.each(function(){var b=r(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=r.isFunction(a);return this.each(function(c){r(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(a){return!r.expr.pseudos.visible(a)},r.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Rb={0:200,1223:204},Sb=r.ajaxSettings.xhr();o.cors=!!Sb&&"withCredentials"in Sb,o.ajax=Sb=!!Sb,r.ajaxTransport(function(b){var c,d;if(o.cors||Sb&&!b.crossDomain)return{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,"abort"===a?h.abort():"error"===a?"number"!=typeof h.status?f(0,"error"):f(h.status,h.statusText):f(Rb[h.status]||h.status,h.statusText,"text"!==(h.responseType||"text")||"string"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c("error"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),r.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),r.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\\b(?:java|ecma)script\\b/},converters:{"text script":function(a){return r.globalEval(a),a}}}),r.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),r.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=r("<script>").prop({charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&f("error"===a.type?404:200,a.type)}),d.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Tb=[],Ub=/(=)\\?(?=&|$)|\\?\\?/;r.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Tb.pop()||r.expando+"_"+ub++;return this[a]=!0,a}}),r.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Ub.test(b.url)?"url":"string"==typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ub.test(b.data)&&"data");if(h||"jsonp"===b.dataTypes[0])return e=b.jsonpCallback=r.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Ub,"$1"+e):b.jsonp!==!1&&(b.url+=(vb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||r.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){void 0===f?r(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Tb.push(e)),g&&r.isFunction(f)&&f(g[0]),g=f=void 0}),"script"}),o.createHTMLDocument=function(){var a=d.implementation.createHTMLDocument("").body;return a.innerHTML="<form></form><form></form>",2===a.childNodes.length}(),r.parseHTML=function(a,b,c){if("string"!=typeof a)return[];"boolean"==typeof b&&(c=b,b=!1);var e,f,g;return b||(o.createHTMLDocument?(b=d.implementation.createHTMLDocument(""),e=b.createElement("base"),e.href=d.location.href,b.head.appendChild(e)):b=d),f=C.exec(a),g=!c&&[],f?[b.createElement(f[1])]:(f=qa([a],b,g),g&&g.length&&r(g).remove(),r.merge([],f.childNodes))},r.fn.load=function(a,b,c){var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=pb(a.slice(h)),a=a.slice(0,h)),r.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&r.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?r("<div>").append(r.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},r.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){r.fn[b]=function(a){return this.on(b,a)}}),r.expr.pseudos.animated=function(a){return r.grep(r.timers,function(b){return a===b.elem}).length},r.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=r.css(a,"position"),l=r(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=r.css(a,"top"),i=r.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),r.isFunction(b)&&(b=b.call(a,c,r.extend({},h))),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},r.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){r.offset.setOffset(this,a,b)});var b,c,d,e,f=this[0];if(f)return f.getClientRects().length?(d=f.getBoundingClientRect(),b=f.ownerDocument,c=b.documentElement,e=b.defaultView,{top:d.top+e.pageYOffset-c.clientTop,left:d.left+e.pageXOffset-c.clientLeft}):{top:0,left:0}},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===r.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),B(a[0],"html")||(d=a.offset()),d={top:d.top+r.css(a[0],"borderTopWidth",!0),left:d.left+r.css(a[0],"borderLeftWidth",!0)}),{top:b.top-d.top-r.css(c,"marginTop",!0),left:b.left-d.left-r.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent;while(a&&"static"===r.css(a,"position"))a=a.offsetParent;return a||ra})}}),r.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c="pageYOffset"===b;r.fn[a]=function(d){return T(this,function(a,d,e){var f;return r.isWindow(a)?f=a:9===a.nodeType&&(f=a.defaultView),void 0===e?f?f[b]:a[d]:void(f?f.scrollTo(c?f.pageXOffset:e,c?e:f.pageYOffset):a[d]=e)},a,d,arguments.length)}}),r.each(["top","left"],function(a,b){r.cssHooks[b]=Pa(o.pixelPosition,function(a,c){if(c)return c=Oa(a,b),Ma.test(c)?r(a).position()[b]+"px":c})}),r.each({Height:"height",Width:"width"},function(a,b){r.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){r.fn[d]=function(e,f){var g=arguments.length&&(c||"boolean"!=typeof e),h=c||(e===!0||f===!0?"margin":"border");return T(this,function(b,c,e){var f;return r.isWindow(b)?0===d.indexOf("outer")?b["inner"+a]:b.document.documentElement["client"+a]:9===b.nodeType?(f=b.documentElement,Math.max(b.body["scroll"+a],f["scroll"+a],b.body["offset"+a],f["offset"+a],f["client"+a])):void 0===e?r.css(b,c,h):r.style(b,c,e,h)},b,g?e:void 0,g)}})}),r.fn.extend({bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}}),r.holdReady=function(a){a?r.readyWait++:r.ready(!0)},r.isArray=Array.isArray,r.parseJSON=JSON.parse,r.nodeName=B,"function"==typeof define&&define.amd&&define("jquery",[],function(){return r});var Vb=a.jQuery,Wb=a.$;return r.noConflict=function(b){return a.$===r&&(a.$=Wb),b&&a.jQuery===r&&(a.jQuery=Vb),r},b||(a.jQuery=a.$=r),r});\n'}},[3]); \ No newline at end of file diff --git a/Servidor JEE/WebContent/scripts.efaaeb35620859890388.bundle.js b/Servidor JEE/WebContent/scripts.efaaeb35620859890388.bundle.js new file mode 100644 index 0000000000000000000000000000000000000000..353cad421c835bec08f368d17bb7cca966f4669b --- /dev/null +++ b/Servidor JEE/WebContent/scripts.efaaeb35620859890388.bundle.js @@ -0,0 +1 @@ +webpackJsonp([10],{"/Fcp":function(e,t){e.exports='/*! jQuery v3.2.1 | (c) JS Foundation and other contributors | jquery.org/license */\n!function(a,b){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){"use strict";var c=[],d=a.document,e=Object.getPrototypeOf,f=c.slice,g=c.concat,h=c.push,i=c.indexOf,j={},k=j.toString,l=j.hasOwnProperty,m=l.toString,n=m.call(Object),o={};function p(a,b){b=b||d;var c=b.createElement("script");c.text=a,b.head.appendChild(c).parentNode.removeChild(c)}var q="3.2.1",r=function(a,b){return new r.fn.init(a,b)},s=/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g,t=/^-ms-/,u=/-([a-z])/g,v=function(a,b){return b.toUpperCase()};r.fn=r.prototype={jquery:q,constructor:r,length:0,toArray:function(){return f.call(this)},get:function(a){return null==a?f.call(this):a<0?this[a+this.length]:this[a]},pushStack:function(a){var b=r.merge(this.constructor(),a);return b.prevObject=this,b},each:function(a){return r.each(this,a)},map:function(a){return this.pushStack(r.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(f.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c<b?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:h,sort:c.sort,splice:c.splice},r.extend=r.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||r.isFunction(g)||(g={}),h===i&&(g=this,h--);h<i;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(r.isPlainObject(d)||(e=Array.isArray(d)))?(e?(e=!1,f=c&&Array.isArray(c)?c:[]):f=c&&r.isPlainObject(c)?c:{},g[b]=r.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},r.extend({expando:"jQuery"+(q+Math.random()).replace(/\\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===r.type(a)},isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){var b=r.type(a);return("number"===b||"string"===b)&&!isNaN(a-parseFloat(a))},isPlainObject:function(a){var b,c;return!(!a||"[object Object]"!==k.call(a))&&(!(b=e(a))||(c=l.call(b,"constructor")&&b.constructor,"function"==typeof c&&m.call(c)===n))},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?j[k.call(a)]||"object":typeof a},globalEval:function(a){p(a)},camelCase:function(a){return a.replace(t,"ms-").replace(u,v)},each:function(a,b){var c,d=0;if(w(a)){for(c=a.length;d<c;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(s,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(w(Object(a))?r.merge(c,"string"==typeof a?[a]:a):h.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:i.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;d<c;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;f<g;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,f=0,h=[];if(w(a))for(d=a.length;f<d;f++)e=b(a[f],f,c),null!=e&&h.push(e);else for(f in a)e=b(a[f],f,c),null!=e&&h.push(e);return g.apply([],h)},guid:1,proxy:function(a,b){var c,d,e;if("string"==typeof b&&(c=a[b],b=a,a=c),r.isFunction(a))return d=f.call(arguments,2),e=function(){return a.apply(b||this,d.concat(f.call(arguments)))},e.guid=a.guid=a.guid||r.guid++,e},now:Date.now,support:o}),"function"==typeof Symbol&&(r.fn[Symbol.iterator]=c[Symbol.iterator]),r.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){j["[object "+b+"]"]=b.toLowerCase()});function w(a){var b=!!a&&"length"in a&&a.length,c=r.type(a);return"function"!==c&&!r.isWindow(a)&&("array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a)}var x=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1},J="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",K="[\\\\x20\\\\t\\\\r\\\\n\\\\f]",L="(?:\\\\\\\\.|[\\\\w-]|[^\\0-\\\\xa0])+",M="\\\\["+K+"*("+L+")(?:"+K+"*([*^$|!~]?=)"+K+"*(?:\'((?:\\\\\\\\.|[^\\\\\\\\\'])*)\'|\\"((?:\\\\\\\\.|[^\\\\\\\\\\"])*)\\"|("+L+"))|)"+K+"*\\\\]",N=":("+L+")(?:\\\\(((\'((?:\\\\\\\\.|[^\\\\\\\\\'])*)\'|\\"((?:\\\\\\\\.|[^\\\\\\\\\\"])*)\\")|((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|"+M+")*)|.*)\\\\)|)",O=new RegExp(K+"+","g"),P=new RegExp("^"+K+"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)"+K+"+$","g"),Q=new RegExp("^"+K+"*,"+K+"*"),R=new RegExp("^"+K+"*([>+~]|"+K+")"+K+"*"),S=new RegExp("="+K+"*([^\\\\]\'\\"]*?)"+K+"*\\\\]","g"),T=new RegExp(N),U=new RegExp("^"+L+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\("+K+"*(even|odd|(([+-]|)(\\\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\\\d+)|))"+K+"*\\\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\("+K+"*((?:-\\\\d)?\\\\d*)"+K+"*\\\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\\d$/i,Y=/^[^{]+\\{\\s*\\[native \\w/,Z=/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,$=/[+~]/,_=new RegExp("\\\\\\\\([\\\\da-f]{1,6}"+K+"?|("+K+")|.)","ig"),aa=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ba=/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,ca=function(a,b){return b?"\\0"===a?"\\ufffd":a.slice(0,-1)+"\\\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\\\"+a},da=function(){m()},ea=ta(function(a){return a.disabled===!0&&("form"in a||"label"in a)},{dir:"parentNode",next:"legend"});try{G.apply(D=H.call(v.childNodes),v.childNodes),D[v.childNodes.length].nodeType}catch(fa){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==w&&9!==w&&11!==w)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==w&&(l=Z.exec(a)))if(f=l[1]){if(9===w){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(s&&(j=s.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(l[2])return G.apply(d,b.getElementsByTagName(a)),d;if((f=l[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==w)s=b,r=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(ba,ca):b.setAttribute("id",k=u),o=g(a),h=o.length;while(h--)o[h]="#"+k+" "+sa(o[h]);r=o.join(","),s=$.test(a)&&qa(b.parentNode)||b}if(r)try{return G.apply(d,s.querySelectorAll(r)),d}catch(x){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(P,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("fieldset");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return function(b){return"form"in b?b.parentNode&&b.disabled===!1?"label"in b?"label"in b.parentNode?b.parentNode.disabled===a:b.disabled===a:b.isDisabled===a||b.isDisabled!==!a&&ea(b)===a:b.disabled===a:"label"in b&&b.disabled===a}}function pa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function qa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),v!==n&&(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Y.test(n.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){return a.getAttribute("id")===b}},d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}}):(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}},d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c,d,e,f=b.getElementById(a);if(f){if(c=f.getAttributeNode("id"),c&&c.value===a)return[f];e=b.getElementsByName(a),d=0;while(f=e[d++])if(c=f.getAttributeNode("id"),c&&c.value===a)return[f]}return[]}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if("undefined"!=typeof b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Y.test(n.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="<a id=\'"+u+"\'></a><select id=\'"+u+"-\\r\\\\\' msallowcapture=\'\'><option selected=\'\'></option></select>",a.querySelectorAll("[msallowcapture^=\'\']").length&&q.push("[*^$]="+K+"*(?:\'\'|\\"\\")"),a.querySelectorAll("[selected]").length||q.push("\\\\["+K+"*(?:value|"+J+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){a.innerHTML="<a href=\'\' disabled=\'disabled\'></a><select disabled=\'disabled\'><option/></select>";var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+K+"*[*^$|!~]?="),2!==a.querySelectorAll(":enabled").length&&q.push(":enabled",":disabled"),o.appendChild(a).disabled=!0,2!==a.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Y.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"*"),s.call(a,"[s!=\'\']:x"),r.push("!=",N)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Y.test(o.compareDocumentPosition),t=b||Y.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?I(k,a)-I(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?I(k,a)-I(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?la(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(S,"=\'$1\']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.escape=function(a){return(a+"").replace(ba,ca)},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(_,aa),a[3]=(a[3]||a[4]||a[5]||"").replace(_,aa),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return V.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&T.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(_,aa).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+K+")"+a+"("+K+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:!b||(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(O," ")+" ").indexOf(c)>-1:"|="===b&&(e===c||e.slice(0,c.length+1)===c+"-"))}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(P,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(_,aa),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return U.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(_,aa).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:oa(!1),disabled:oa(!0),checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:pa(function(){return[0]}),last:pa(function(a,b){return[b-1]}),eq:pa(function(a,b,c){return[c<0?c+b:c]}),even:pa(function(a,b){for(var c=0;c<b;c+=2)a.push(c);return a}),odd:pa(function(a,b){for(var c=1;c<b;c+=2)a.push(c);return a}),lt:pa(function(a,b,c){for(var d=c<0?c+b:c;--d>=0;)a.push(d);return a}),gt:pa(function(a,b,c){for(var d=c<0?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=ma(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=na(b);function ra(){}ra.prototype=d.filters=d.pseudos,d.setFilters=new ra,g=ga.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){c&&!(e=Q.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=R.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(P," ")}),h=h.slice(c.length));for(g in d.filter)!(e=V[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?ga.error(a):z(a,i).slice(0)};function sa(a){for(var b=0,c=a.length,d="";b<c;b++)d+=a[b].value;return d}function ta(a,b,c){var d=b.dir,e=b.next,f=e||d,g=c&&"parentNode"===f,h=x++;return b.first?function(b,c,e){while(b=b[d])if(1===b.nodeType||g)return a(b,c,e);return!1}:function(b,c,i){var j,k,l,m=[w,h];if(i){while(b=b[d])if((1===b.nodeType||g)&&a(b,c,i))return!0}else while(b=b[d])if(1===b.nodeType||g)if(l=b[u]||(b[u]={}),k=l[b.uniqueID]||(l[b.uniqueID]={}),e&&e===b.nodeName.toLowerCase())b=b[d]||b;else{if((j=k[f])&&j[0]===w&&j[1]===h)return m[2]=j[2];if(k[f]=m,m[2]=a(b,c,i))return!0}return!1}}function ua(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function va(a,b,c){for(var d=0,e=b.length;d<e;d++)ga(a,b[d],c);return c}function wa(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;h<i;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function xa(a,b,c,d,e,f){return d&&!d[u]&&(d=xa(d)),e&&!e[u]&&(e=xa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||va(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:wa(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=wa(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?I(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=wa(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ya(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ta(function(a){return a===b},h,!0),l=ta(function(a){return I(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i<f;i++)if(c=d.relative[a[i].type])m=[ta(ua(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;e<f;e++)if(d.relative[a[e].type])break;return xa(i>1&&ua(m),i>1&&sa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(P,"$1"),c,i<e&&ya(a.slice(i,e)),e<f&&ya(a=a.slice(e)),e<f&&sa(a))}m.push(c)}return ua(m)}function za(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=E.call(i));u=wa(u)}G.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ga.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=ya(b[c]),f[u]?d.push(f):e.push(f);f=A(a,za(e,d)),f.selector=a}return f},i=ga.select=function(a,b,c,e){var f,i,j,k,l,m="function"==typeof a&&a,n=!e&&g(a=m.selector||a);if(c=c||[],1===n.length){if(i=n[0]=n[0].slice(0),i.length>2&&"ID"===(j=i[0]).type&&9===b.nodeType&&p&&d.relative[i[1].type]){if(b=(d.find.ID(j.matches[0].replace(_,aa),b)||[])[0],!b)return c;m&&(b=b.parentNode),a=a.slice(i.shift().value.length)}f=V.needsContext.test(a)?0:i.length;while(f--){if(j=i[f],d.relative[k=j.type])break;if((l=d.find[k])&&(e=l(j.matches[0].replace(_,aa),$.test(i[0].type)&&qa(b.parentNode)||b))){if(i.splice(f,1),a=e.length&&sa(i),!a)return G.apply(c,e),c;break}}}return(m||h(a,n))(e,b,!p,c,!b||$.test(a)&&qa(b.parentNode)||b),c},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("fieldset"))}),ja(function(a){return a.innerHTML="<a href=\'#\'></a>","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(J,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);r.find=x,r.expr=x.selectors,r.expr[":"]=r.expr.pseudos,r.uniqueSort=r.unique=x.uniqueSort,r.text=x.getText,r.isXMLDoc=x.isXML,r.contains=x.contains,r.escapeSelector=x.escape;var y=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&r(a).is(c))break;d.push(a)}return d},z=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},A=r.expr.match.needsContext;function B(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()}var C=/^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i,D=/^.[^:#\\[\\.,]*$/;function E(a,b,c){return r.isFunction(b)?r.grep(a,function(a,d){return!!b.call(a,d,a)!==c}):b.nodeType?r.grep(a,function(a){return a===b!==c}):"string"!=typeof b?r.grep(a,function(a){return i.call(b,a)>-1!==c}):D.test(b)?r.filter(b,a,c):(b=r.filter(b,a),r.grep(a,function(a){return i.call(b,a)>-1!==c&&1===a.nodeType}))}r.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?r.find.matchesSelector(d,a)?[d]:[]:r.find.matches(a,r.grep(b,function(a){return 1===a.nodeType}))},r.fn.extend({find:function(a){var b,c,d=this.length,e=this;if("string"!=typeof a)return this.pushStack(r(a).filter(function(){for(b=0;b<d;b++)if(r.contains(e[b],this))return!0}));for(c=this.pushStack([]),b=0;b<d;b++)r.find(a,e[b],c);return d>1?r.uniqueSort(c):c},filter:function(a){return this.pushStack(E(this,a||[],!1))},not:function(a){return this.pushStack(E(this,a||[],!0))},is:function(a){return!!E(this,"string"==typeof a&&A.test(a)?r(a):a||[],!1).length}});var F,G=/^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/,H=r.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||F,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:G.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof r?b[0]:b,r.merge(this,r.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),C.test(e[1])&&r.isPlainObject(b))for(e in b)r.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&(this[0]=f,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):r.isFunction(a)?void 0!==c.ready?c.ready(a):a(r):r.makeArray(a,this)};H.prototype=r.fn,F=r(d);var I=/^(?:parents|prev(?:Until|All))/,J={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(a){var b=r(a,this),c=b.length;return this.filter(function(){for(var a=0;a<c;a++)if(r.contains(this,b[a]))return!0})},closest:function(a,b){var c,d=0,e=this.length,f=[],g="string"!=typeof a&&r(a);if(!A.test(a))for(;d<e;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&r.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?r.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?i.call(r(a),this[0]):i.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function K(a,b){while((a=a[b])&&1!==a.nodeType);return a}r.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return y(a,"parentNode")},parentsUntil:function(a,b,c){return y(a,"parentNode",c)},next:function(a){return K(a,"nextSibling")},prev:function(a){return K(a,"previousSibling")},nextAll:function(a){return y(a,"nextSibling")},prevAll:function(a){return y(a,"previousSibling")},nextUntil:function(a,b,c){return y(a,"nextSibling",c)},prevUntil:function(a,b,c){return y(a,"previousSibling",c)},siblings:function(a){return z((a.parentNode||{}).firstChild,a)},children:function(a){return z(a.firstChild)},contents:function(a){return B(a,"iframe")?a.contentDocument:(B(a,"template")&&(a=a.content||a),r.merge([],a.childNodes))}},function(a,b){r.fn[a]=function(c,d){var e=r.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=r.filter(d,e)),this.length>1&&(J[a]||r.uniqueSort(e),I.test(a)&&e.reverse()),this.pushStack(e)}});var L=/[^\\x20\\t\\r\\n\\f]+/g;function M(a){var b={};return r.each(a.match(L)||[],function(a,c){b[c]=!0}),b}r.Callbacks=function(a){a="string"==typeof a?M(a):r.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=e||a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h<f.length)f[h].apply(c[0],c[1])===!1&&a.stopOnFalse&&(h=f.length,c=!1)}a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},j={add:function(){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function d(b){r.each(b,function(b,c){r.isFunction(c)?a.unique&&j.has(c)||f.push(c):c&&c.length&&"string"!==r.type(c)&&d(c)})}(arguments),c&&!b&&i()),this},remove:function(){return r.each(arguments,function(a,b){var c;while((c=r.inArray(b,f,c))>-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?r.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||b||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j};function N(a){return a}function O(a){throw a}function P(a,b,c,d){var e;try{a&&r.isFunction(e=a.promise)?e.call(a).done(b).fail(c):a&&r.isFunction(e=a.then)?e.call(a,b,c):b.apply(void 0,[a].slice(d))}catch(a){c.apply(void 0,[a])}}r.extend({Deferred:function(b){var c=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],d="pending",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},"catch":function(a){return e.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(b){r.each(c,function(c,d){var e=r.isFunction(a[d[4]])&&a[d[4]];f[d[1]](function(){var a=e&&e.apply(this,arguments);a&&r.isFunction(a.promise)?a.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[d[0]+"With"](this,e?[a]:arguments)})}),a=null}).promise()},then:function(b,d,e){var f=0;function g(b,c,d,e){return function(){var h=this,i=arguments,j=function(){var a,j;if(!(b<f)){if(a=d.apply(h,i),a===c.promise())throw new TypeError("Thenable self-resolution");j=a&&("object"==typeof a||"function"==typeof a)&&a.then,r.isFunction(j)?e?j.call(a,g(f,c,N,e),g(f,c,O,e)):(f++,j.call(a,g(f,c,N,e),g(f,c,O,e),g(f,c,N,c.notifyWith))):(d!==N&&(h=void 0,i=[a]),(e||c.resolveWith)(h,i))}},k=e?j:function(){try{j()}catch(a){r.Deferred.exceptionHook&&r.Deferred.exceptionHook(a,k.stackTrace),b+1>=f&&(d!==O&&(h=void 0,i=[a]),c.rejectWith(h,i))}};b?k():(r.Deferred.getStackHook&&(k.stackTrace=r.Deferred.getStackHook()),a.setTimeout(k))}}return r.Deferred(function(a){c[0][3].add(g(0,a,r.isFunction(e)?e:N,a.notifyWith)),c[1][3].add(g(0,a,r.isFunction(b)?b:N)),c[2][3].add(g(0,a,r.isFunction(d)?d:O))}).promise()},promise:function(a){return null!=a?r.extend(a,e):e}},f={};return r.each(c,function(a,b){var g=b[2],h=b[5];e[b[1]]=g.add,h&&g.add(function(){d=h},c[3-a][2].disable,c[0][2].lock),g.add(b[3].fire),f[b[0]]=function(){return f[b[0]+"With"](this===f?void 0:this,arguments),this},f[b[0]+"With"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=f.call(arguments),g=r.Deferred(),h=function(a){return function(c){d[a]=this,e[a]=arguments.length>1?f.call(arguments):c,--b||g.resolveWith(d,e)}};if(b<=1&&(P(a,g.done(h(c)).resolve,g.reject,!b),"pending"===g.state()||r.isFunction(e[c]&&e[c].then)))return g.then();while(c--)P(e[c],h(c),g.reject);return g.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(b,c){a.console&&a.console.warn&&b&&Q.test(b.name)&&a.console.warn("jQuery.Deferred exception: "+b.message,b.stack,c)},r.readyException=function(b){a.setTimeout(function(){throw b})};var R=r.Deferred();r.fn.ready=function(a){return R.then(a)["catch"](function(a){r.readyException(a)}),this},r.extend({isReady:!1,readyWait:1,ready:function(a){(a===!0?--r.readyWait:r.isReady)||(r.isReady=!0,a!==!0&&--r.readyWait>0||R.resolveWith(d,[r]))}}),r.ready.then=R.then;function S(){d.removeEventListener("DOMContentLoaded",S),\na.removeEventListener("load",S),r.ready()}"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(r.ready):(d.addEventListener("DOMContentLoaded",S),a.addEventListener("load",S));var T=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===r.type(c)){e=!0;for(h in c)T(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,r.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(r(a),c)})),b))for(;h<i;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},U=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function V(){this.expando=r.expando+V.uid++}V.uid=1,V.prototype={cache:function(a){var b=a[this.expando];return b||(b={},U(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this.expando,{value:b,configurable:!0}))),b},set:function(a,b,c){var d,e=this.cache(a);if("string"==typeof b)e[r.camelCase(b)]=c;else for(d in b)e[r.camelCase(d)]=b[d];return e},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][r.camelCase(b)]},access:function(a,b,c){return void 0===b||b&&"string"==typeof b&&void 0===c?this.get(a,b):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d=a[this.expando];if(void 0!==d){if(void 0!==b){Array.isArray(b)?b=b.map(r.camelCase):(b=r.camelCase(b),b=b in d?[b]:b.match(L)||[]),c=b.length;while(c--)delete d[b[c]]}(void 0===b||r.isEmptyObject(d))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var b=a[this.expando];return void 0!==b&&!r.isEmptyObject(b)}};var W=new V,X=new V,Y=/^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,Z=/[A-Z]/g;function $(a){return"true"===a||"false"!==a&&("null"===a?null:a===+a+""?+a:Y.test(a)?JSON.parse(a):a)}function _(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(Z,"-$&").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c=$(c)}catch(e){}X.set(a,b,c)}else c=void 0;return c}r.extend({hasData:function(a){return X.hasData(a)||W.hasData(a)},data:function(a,b,c){return X.access(a,b,c)},removeData:function(a,b){X.remove(a,b)},_data:function(a,b,c){return W.access(a,b,c)},_removeData:function(a,b){W.remove(a,b)}}),r.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=X.get(f),1===f.nodeType&&!W.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=r.camelCase(d.slice(5)),_(f,d,e[d])));W.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){X.set(this,a)}):T(this,function(b){var c;if(f&&void 0===b){if(c=X.get(f,a),void 0!==c)return c;if(c=_(f,a),void 0!==c)return c}else this.each(function(){X.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){X.remove(this,a)})}}),r.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=W.get(a,b),c&&(!d||Array.isArray(c)?d=W.access(a,b,r.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=r.queue(a,b),d=c.length,e=c.shift(),f=r._queueHooks(a,b),g=function(){r.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return W.get(a,c)||W.access(a,c,{empty:r.Callbacks("once memory").add(function(){W.remove(a,[b+"queue",c])})})}}),r.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?r.queue(this[0],a):void 0===b?this:this.each(function(){var c=r.queue(this,a,b);r._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&r.dequeue(this,a)})},dequeue:function(a){return this.each(function(){r.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=r.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=W.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var aa=/[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/.source,ba=new RegExp("^(?:([+-])=|)("+aa+")([a-z%]*)$","i"),ca=["Top","Right","Bottom","Left"],da=function(a,b){return a=b||a,"none"===a.style.display||""===a.style.display&&r.contains(a.ownerDocument,a)&&"none"===r.css(a,"display")},ea=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};function fa(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return r.css(a,b,"")},i=h(),j=c&&c[3]||(r.cssNumber[b]?"":"px"),k=(r.cssNumber[b]||"px"!==j&&+i)&&ba.exec(r.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do f=f||".5",k/=f,r.style(a,b,k+j);while(f!==(f=h()/i)&&1!==f&&--g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}var ga={};function ha(a){var b,c=a.ownerDocument,d=a.nodeName,e=ga[d];return e?e:(b=c.body.appendChild(c.createElement(d)),e=r.css(b,"display"),b.parentNode.removeChild(b),"none"===e&&(e="block"),ga[d]=e,e)}function ia(a,b){for(var c,d,e=[],f=0,g=a.length;f<g;f++)d=a[f],d.style&&(c=d.style.display,b?("none"===c&&(e[f]=W.get(d,"display")||null,e[f]||(d.style.display="")),""===d.style.display&&da(d)&&(e[f]=ha(d))):"none"!==c&&(e[f]="none",W.set(d,"display",c)));for(f=0;f<g;f++)null!=e[f]&&(a[f].style.display=e[f]);return a}r.fn.extend({show:function(){return ia(this,!0)},hide:function(){return ia(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){da(this)?r(this).show():r(this).hide()})}});var ja=/^(?:checkbox|radio)$/i,ka=/<([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]+)/i,la=/^$|\\/(?:java|ecma)script/i,ma={option:[1,"<select multiple=\'multiple\'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ma.optgroup=ma.option,ma.tbody=ma.tfoot=ma.colgroup=ma.caption=ma.thead,ma.th=ma.td;function na(a,b){var c;return c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[],void 0===b||b&&B(a,b)?r.merge([a],c):c}function oa(a,b){for(var c=0,d=a.length;c<d;c++)W.set(a[c],"globalEval",!b||W.get(b[c],"globalEval"))}var pa=/<|&#?\\w+;/;function qa(a,b,c,d,e){for(var f,g,h,i,j,k,l=b.createDocumentFragment(),m=[],n=0,o=a.length;n<o;n++)if(f=a[n],f||0===f)if("object"===r.type(f))r.merge(m,f.nodeType?[f]:f);else if(pa.test(f)){g=g||l.appendChild(b.createElement("div")),h=(ka.exec(f)||["",""])[1].toLowerCase(),i=ma[h]||ma._default,g.innerHTML=i[1]+r.htmlPrefilter(f)+i[2],k=i[0];while(k--)g=g.lastChild;r.merge(m,g.childNodes),g=l.firstChild,g.textContent=""}else m.push(b.createTextNode(f));l.textContent="",n=0;while(f=m[n++])if(d&&r.inArray(f,d)>-1)e&&e.push(f);else if(j=r.contains(f.ownerDocument,f),g=na(l.appendChild(f),"script"),j&&oa(g),c){k=0;while(f=g[k++])la.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),o.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",o.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var ra=d.documentElement,sa=/^key/,ta=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ua=/^([^.]*)(?:\\.(.+)|)/;function va(){return!0}function wa(){return!1}function xa(){try{return d.activeElement}catch(a){}}function ya(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)ya(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=wa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return r().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=r.guid++)),a.each(function(){r.event.add(this,b,e,d,c)})}r.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=W.get(a);if(q){c.handler&&(f=c,c=f.handler,e=f.selector),e&&r.find.matchesSelector(ra,e),c.guid||(c.guid=r.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return"undefined"!=typeof r&&r.event.triggered!==b.type?r.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(L)||[""],j=b.length;while(j--)h=ua.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n&&(l=r.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=r.event.special[n]||{},k=r.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&r.expr.match.needsContext.test(e),namespace:o.join(".")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,o,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),r.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=W.hasData(a)&&W.get(a);if(q&&(i=q.events)){b=(b||"").match(L)||[""],j=b.length;while(j--)if(h=ua.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n){l=r.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp("(^|\\\\.)"+o.join("\\\\.(?:.*\\\\.|)")+"(\\\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||r.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)r.event.remove(a,n+b[j],c,d,!0);r.isEmptyObject(i)&&W.remove(a,"handle events")}},dispatch:function(a){var b=r.event.fix(a),c,d,e,f,g,h,i=new Array(arguments.length),j=(W.get(this,"events")||{})[b.type]||[],k=r.event.special[b.type]||{};for(i[0]=b,c=1;c<arguments.length;c++)i[c]=arguments[c];if(b.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,b)!==!1){h=r.event.handlers.call(this,b,j),c=0;while((f=h[c++])&&!b.isPropagationStopped()){b.currentTarget=f.elem,d=0;while((g=f.handlers[d++])&&!b.isImmediatePropagationStopped())b.rnamespace&&!b.rnamespace.test(g.namespace)||(b.handleObj=g,b.data=g.data,e=((r.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(b.result=e)===!1&&(b.preventDefault(),b.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,b),b.result}},handlers:function(a,b){var c,d,e,f,g,h=[],i=b.delegateCount,j=a.target;if(i&&j.nodeType&&!("click"===a.type&&a.button>=1))for(;j!==this;j=j.parentNode||this)if(1===j.nodeType&&("click"!==a.type||j.disabled!==!0)){for(f=[],g={},c=0;c<i;c++)d=b[c],e=d.selector+" ",void 0===g[e]&&(g[e]=d.needsContext?r(e,this).index(j)>-1:r.find(e,this,null,[j]).length),g[e]&&f.push(d);f.length&&h.push({elem:j,handlers:f})}return j=this,i<b.length&&h.push({elem:j,handlers:b.slice(i)}),h},addProp:function(a,b){Object.defineProperty(r.Event.prototype,a,{enumerable:!0,configurable:!0,get:r.isFunction(b)?function(){if(this.originalEvent)return b(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[a]},set:function(b){Object.defineProperty(this,a,{enumerable:!0,configurable:!0,writable:!0,value:b})}})},fix:function(a){return a[r.expando]?a:new r.Event(a)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==xa()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===xa()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&B(this,"input"))return this.click(),!1},_default:function(a){return B(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}},r.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)},r.Event=function(a,b){return this instanceof r.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?va:wa,this.target=a.target&&3===a.target.nodeType?a.target.parentNode:a.target,this.currentTarget=a.currentTarget,this.relatedTarget=a.relatedTarget):this.type=a,b&&r.extend(this,b),this.timeStamp=a&&a.timeStamp||r.now(),void(this[r.expando]=!0)):new r.Event(a,b)},r.Event.prototype={constructor:r.Event,isDefaultPrevented:wa,isPropagationStopped:wa,isImmediatePropagationStopped:wa,isSimulated:!1,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=va,a&&!this.isSimulated&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=va,a&&!this.isSimulated&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=va,a&&!this.isSimulated&&a.stopImmediatePropagation(),this.stopPropagation()}},r.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(a){var b=a.button;return null==a.which&&sa.test(a.type)?null!=a.charCode?a.charCode:a.keyCode:!a.which&&void 0!==b&&ta.test(a.type)?1&b?1:2&b?3:4&b?2:0:a.which}},r.event.addProp),r.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){r.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return e&&(e===d||r.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),r.fn.extend({on:function(a,b,c,d){return ya(this,a,b,c,d)},one:function(a,b,c,d){return ya(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,r(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return b!==!1&&"function"!=typeof b||(c=b,b=void 0),c===!1&&(c=wa),this.each(function(){r.event.remove(this,a,c,b)})}});var za=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]*)[^>]*)\\/>/gi,Aa=/<script|<style|<link/i,Ba=/checked\\s*(?:[^=]|=\\s*.checked.)/i,Ca=/^true\\/(.*)/,Da=/^\\s*<!(?:\\[CDATA\\[|--)|(?:\\]\\]|--)>\\s*$/g;function Ea(a,b){return B(a,"table")&&B(11!==b.nodeType?b:b.firstChild,"tr")?r(">tbody",a)[0]||a:a}function Fa(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function Ga(a){var b=Ca.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Ha(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(W.hasData(a)&&(f=W.access(a),g=W.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;c<d;c++)r.event.add(b,e,j[e][c])}X.hasData(a)&&(h=X.access(a),i=r.extend({},h),X.set(b,i))}}function Ia(a,b){var c=b.nodeName.toLowerCase();"input"===c&&ja.test(a.type)?b.checked=a.checked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}function Ja(a,b,c,d){b=g.apply([],b);var e,f,h,i,j,k,l=0,m=a.length,n=m-1,q=b[0],s=r.isFunction(q);if(s||m>1&&"string"==typeof q&&!o.checkClone&&Ba.test(q))return a.each(function(e){var f=a.eq(e);s&&(b[0]=q.call(this,e,f.html())),Ja(f,b,c,d)});if(m&&(e=qa(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(h=r.map(na(e,"script"),Fa),i=h.length;l<m;l++)j=e,l!==n&&(j=r.clone(j,!0,!0),i&&r.merge(h,na(j,"script"))),c.call(a[l],j,l);if(i)for(k=h[h.length-1].ownerDocument,r.map(h,Ga),l=0;l<i;l++)j=h[l],la.test(j.type||"")&&!W.access(j,"globalEval")&&r.contains(k,j)&&(j.src?r._evalUrl&&r._evalUrl(j.src):p(j.textContent.replace(Da,""),k))}return a}function Ka(a,b,c){for(var d,e=b?r.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||r.cleanData(na(d)),d.parentNode&&(c&&r.contains(d.ownerDocument,d)&&oa(na(d,"script")),d.parentNode.removeChild(d));return a}r.extend({htmlPrefilter:function(a){return a.replace(za,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=r.contains(a.ownerDocument,a);if(!(o.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||r.isXMLDoc(a)))for(g=na(h),f=na(a),d=0,e=f.length;d<e;d++)Ia(f[d],g[d]);if(b)if(c)for(f=f||na(a),g=g||na(h),d=0,e=f.length;d<e;d++)Ha(f[d],g[d]);else Ha(a,h);return g=na(h,"script"),g.length>0&&oa(g,!i&&na(a,"script")),h},cleanData:function(a){for(var b,c,d,e=r.event.special,f=0;void 0!==(c=a[f]);f++)if(U(c)){if(b=c[W.expando]){if(b.events)for(d in b.events)e[d]?r.event.remove(c,d):r.removeEvent(c,d,b.handle);c[W.expando]=void 0}c[X.expando]&&(c[X.expando]=void 0)}}}),r.fn.extend({detach:function(a){return Ka(this,a,!0)},remove:function(a){return Ka(this,a)},text:function(a){return T(this,function(a){return void 0===a?r.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return Ja(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ea(this,a);b.appendChild(a)}})},prepend:function(){return Ja(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ea(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ja(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ja(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(r.cleanData(na(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return r.clone(this,a,b)})},html:function(a){return T(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!Aa.test(a)&&!ma[(ka.exec(a)||["",""])[1].toLowerCase()]){a=r.htmlPrefilter(a);try{for(;c<d;c++)b=this[c]||{},1===b.nodeType&&(r.cleanData(na(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ja(this,arguments,function(b){var c=this.parentNode;r.inArray(this,a)<0&&(r.cleanData(na(this)),c&&c.replaceChild(b,this))},a)}}),r.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){r.fn[a]=function(a){for(var c,d=[],e=r(a),f=e.length-1,g=0;g<=f;g++)c=g===f?this:this.clone(!0),r(e[g])[b](c),h.apply(d,c.get());return this.pushStack(d)}});var La=/^margin/,Ma=new RegExp("^("+aa+")(?!px)[a-z%]+$","i"),Na=function(b){var c=b.ownerDocument.defaultView;return c&&c.opener||(c=a),c.getComputedStyle(b)};!function(){function b(){if(i){i.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",i.innerHTML="",ra.appendChild(h);var b=a.getComputedStyle(i);c="1%"!==b.top,g="2px"===b.marginLeft,e="4px"===b.width,i.style.marginRight="50%",f="4px"===b.marginRight,ra.removeChild(h),i=null}}var c,e,f,g,h=d.createElement("div"),i=d.createElement("div");i.style&&(i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===i.style.backgroundClip,h.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",h.appendChild(i),r.extend(o,{pixelPosition:function(){return b(),c},boxSizingReliable:function(){return b(),e},pixelMarginRight:function(){return b(),f},reliableMarginLeft:function(){return b(),g}}))}();function Oa(a,b,c){var d,e,f,g,h=a.style;return c=c||Na(a),c&&(g=c.getPropertyValue(b)||c[b],""!==g||r.contains(a.ownerDocument,a)||(g=r.style(a,b)),!o.pixelMarginRight()&&Ma.test(g)&&La.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function Pa(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}var Qa=/^(none|table(?!-c[ea]).+)/,Ra=/^--/,Sa={position:"absolute",visibility:"hidden",display:"block"},Ta={letterSpacing:"0",fontWeight:"400"},Ua=["Webkit","Moz","ms"],Va=d.createElement("div").style;function Wa(a){if(a in Va)return a;var b=a[0].toUpperCase()+a.slice(1),c=Ua.length;while(c--)if(a=Ua[c]+b,a in Va)return a}function Xa(a){var b=r.cssProps[a];return b||(b=r.cssProps[a]=Wa(a)||a),b}function Ya(a,b,c){var d=ba.exec(b);return d?Math.max(0,d[2]-(c||0))+(d[3]||"px"):b}function Za(a,b,c,d,e){var f,g=0;for(f=c===(d?"border":"content")?4:"width"===b?1:0;f<4;f+=2)"margin"===c&&(g+=r.css(a,c+ca[f],!0,e)),d?("content"===c&&(g-=r.css(a,"padding"+ca[f],!0,e)),"margin"!==c&&(g-=r.css(a,"border"+ca[f]+"Width",!0,e))):(g+=r.css(a,"padding"+ca[f],!0,e),"padding"!==c&&(g+=r.css(a,"border"+ca[f]+"Width",!0,e)));return g}function $a(a,b,c){var d,e=Na(a),f=Oa(a,b,e),g="border-box"===r.css(a,"boxSizing",!1,e);return Ma.test(f)?f:(d=g&&(o.boxSizingReliable()||f===a.style[b]),"auto"===f&&(f=a["offset"+b[0].toUpperCase()+b.slice(1)]),f=parseFloat(f)||0,f+Za(a,b,c||(g?"border":"content"),d,e)+"px")}r.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Oa(a,"opacity");return""===c?"1":c}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=r.camelCase(b),i=Ra.test(b),j=a.style;return i||(b=Xa(h)),g=r.cssHooks[b]||r.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:j[b]:(f=typeof c,"string"===f&&(e=ba.exec(c))&&e[1]&&(c=fa(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(r.cssNumber[h]?"":"px")),o.clearCloneStyle||""!==c||0!==b.indexOf("background")||(j[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i?j.setProperty(b,c):j[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=r.camelCase(b),i=Ra.test(b);return i||(b=Xa(h)),g=r.cssHooks[b]||r.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=Oa(a,b,d)),"normal"===e&&b in Ta&&(e=Ta[b]),""===c||c?(f=parseFloat(e),c===!0||isFinite(f)?f||0:e):e}}),r.each(["height","width"],function(a,b){r.cssHooks[b]={get:function(a,c,d){if(c)return!Qa.test(r.css(a,"display"))||a.getClientRects().length&&a.getBoundingClientRect().width?$a(a,b,d):ea(a,Sa,function(){return $a(a,b,d)})},set:function(a,c,d){var e,f=d&&Na(a),g=d&&Za(a,b,d,"border-box"===r.css(a,"boxSizing",!1,f),f);return g&&(e=ba.exec(c))&&"px"!==(e[3]||"px")&&(a.style[b]=c,c=r.css(a,b)),Ya(a,c,g)}}}),r.cssHooks.marginLeft=Pa(o.reliableMarginLeft,function(a,b){if(b)return(parseFloat(Oa(a,"marginLeft"))||a.getBoundingClientRect().left-ea(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"}),r.each({margin:"",padding:"",border:"Width"},function(a,b){r.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];d<4;d++)e[a+ca[d]+b]=f[d]||f[d-2]||f[0];return e}},La.test(a)||(r.cssHooks[a+b].set=Ya)}),r.fn.extend({css:function(a,b){return T(this,function(a,b,c){var d,e,f={},g=0;if(Array.isArray(b)){for(d=Na(a),e=b.length;g<e;g++)f[b[g]]=r.css(a,b[g],!1,d);return f}return void 0!==c?r.style(a,b,c):r.css(a,b)},a,b,arguments.length>1)}});function _a(a,b,c,d,e){return new _a.prototype.init(a,b,c,d,e)}r.Tween=_a,_a.prototype={constructor:_a,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||r.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(r.cssNumber[c]?"":"px")},cur:function(){var a=_a.propHooks[this.prop];return a&&a.get?a.get(this):_a.propHooks._default.get(this)},run:function(a){var b,c=_a.propHooks[this.prop];return this.options.duration?this.pos=b=r.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):_a.propHooks._default.set(this),this}},_a.prototype.init.prototype=_a.prototype,_a.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=r.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){r.fx.step[a.prop]?r.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[r.cssProps[a.prop]]&&!r.cssHooks[a.prop]?a.elem[a.prop]=a.now:r.style(a.elem,a.prop,a.now+a.unit)}}},_a.propHooks.scrollTop=_a.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},r.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},r.fx=_a.prototype.init,r.fx.step={};var ab,bb,cb=/^(?:toggle|show|hide)$/,db=/queueHooks$/;function eb(){bb&&(d.hidden===!1&&a.requestAnimationFrame?a.requestAnimationFrame(eb):a.setTimeout(eb,r.fx.interval),r.fx.tick())}function fb(){return a.setTimeout(function(){ab=void 0}),ab=r.now()}function gb(a,b){var c,d=0,e={height:a};for(b=b?1:0;d<4;d+=2-b)c=ca[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function hb(a,b,c){for(var d,e=(kb.tweeners[b]||[]).concat(kb.tweeners["*"]),f=0,g=e.length;f<g;f++)if(d=e[f].call(c,b,a))return d}function ib(a,b,c){var d,e,f,g,h,i,j,k,l="width"in b||"height"in b,m=this,n={},o=a.style,p=a.nodeType&&da(a),q=W.get(a,"fxshow");c.queue||(g=r._queueHooks(a,"fx"),null==g.unqueued&&(g.unqueued=0,h=g.empty.fire,g.empty.fire=function(){g.unqueued||h()}),g.unqueued++,m.always(function(){m.always(function(){g.unqueued--,r.queue(a,"fx").length||g.empty.fire()})}));for(d in b)if(e=b[d],cb.test(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}n[d]=q&&q[d]||r.style(a,d)}if(i=!r.isEmptyObject(b),i||!r.isEmptyObject(n)){l&&1===a.nodeType&&(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=q&&q.display,null==j&&(j=W.get(a,"display")),k=r.css(a,"display"),"none"===k&&(j?k=j:(ia([a],!0),j=a.style.display||j,k=r.css(a,"display"),ia([a]))),("inline"===k||"inline-block"===k&&null!=j)&&"none"===r.css(a,"float")&&(i||(m.done(function(){o.display=j}),null==j&&(k=o.display,j="none"===k?"":k)),o.display="inline-block")),c.overflow&&(o.overflow="hidden",m.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]})),i=!1;for(d in n)i||(q?"hidden"in q&&(p=q.hidden):q=W.access(a,"fxshow",{display:j}),f&&(q.hidden=!p),p&&ia([a],!0),m.done(function(){p||ia([a]),W.remove(a,"fxshow");for(d in n)r.style(a,d,n[d])})),i=hb(p?q[d]:0,d,m),d in q||(q[d]=i.start,p&&(i.end=i.start,i.start=0))}}function jb(a,b){var c,d,e,f,g;for(c in a)if(d=r.camelCase(c),e=b[d],f=a[c],Array.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=r.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function kb(a,b,c){var d,e,f=0,g=kb.prefilters.length,h=r.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=ab||fb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;g<i;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),f<1&&i?c:(i||h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:r.extend({},b),opts:r.extend(!0,{specialEasing:{},easing:r.easing._default},c),originalProperties:b,originalOptions:c,startTime:ab||fb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=r.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;c<d;c++)j.tweens[c].run(1);return b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k=j.props;for(jb(k,j.opts.specialEasing);f<g;f++)if(d=kb.prefilters[f].call(j,a,k,j.opts))return r.isFunction(d.stop)&&(r._queueHooks(j.elem,j.opts.queue).stop=r.proxy(d.stop,d)),d;return r.map(k,hb,j),r.isFunction(j.opts.start)&&j.opts.start.call(a,j),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always),r.fx.timer(r.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j}r.Animation=r.extend(kb,{tweeners:{"*":[function(a,b){var c=this.createTween(a,b);return fa(c.elem,a,ba.exec(b),c),c}]},tweener:function(a,b){r.isFunction(a)?(b=a,a=["*"]):a=a.match(L);for(var c,d=0,e=a.length;d<e;d++)c=a[d],kb.tweeners[c]=kb.tweeners[c]||[],kb.tweeners[c].unshift(b)},prefilters:[ib],prefilter:function(a,b){b?kb.prefilters.unshift(a):kb.prefilters.push(a)}}),r.speed=function(a,b,c){var d=a&&"object"==typeof a?r.extend({},a):{complete:c||!c&&b||r.isFunction(a)&&a,duration:a,easing:c&&b||b&&!r.isFunction(b)&&b};return r.fx.off?d.duration=0:"number"!=typeof d.duration&&(d.duration in r.fx.speeds?d.duration=r.fx.speeds[d.duration]:d.duration=r.fx.speeds._default),null!=d.queue&&d.queue!==!0||(d.queue="fx"),d.old=d.complete,d.complete=function(){r.isFunction(d.old)&&d.old.call(this),d.queue&&r.dequeue(this,d.queue)},d},r.fn.extend({fadeTo:function(a,b,c,d){return this.filter(da).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=r.isEmptyObject(a),f=r.speed(b,c,d),g=function(){var b=kb(this,r.extend({},a),f);(e||W.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=r.timers,g=W.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&db.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||r.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=W.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=r.timers,g=d?d.length:0;for(c.finish=!0,r.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;b<g;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),r.each(["toggle","show","hide"],function(a,b){var c=r.fn[b];r.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(gb(b,!0),a,d,e)}}),r.each({slideDown:gb("show"),slideUp:gb("hide"),slideToggle:gb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){r.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),r.timers=[],r.fx.tick=function(){var a,b=0,c=r.timers;for(ab=r.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||r.fx.stop(),ab=void 0},r.fx.timer=function(a){r.timers.push(a),r.fx.start()},r.fx.interval=13,r.fx.start=function(){bb||(bb=!0,eb())},r.fx.stop=function(){bb=null},r.fx.speeds={slow:600,fast:200,_default:400},r.fn.delay=function(b,c){return b=r.fx?r.fx.speeds[b]||b:b,c=c||"fx",this.queue(c,function(c,d){var e=a.setTimeout(c,b);d.stop=function(){a.clearTimeout(e)}})},function(){var a=d.createElement("input"),b=d.createElement("select"),c=b.appendChild(d.createElement("option"));a.type="checkbox",o.checkOn=""!==a.value,o.optSelected=c.selected,a=d.createElement("input"),a.value="t",a.type="radio",o.radioValue="t"===a.value}();var lb,mb=r.expr.attrHandle;r.fn.extend({attr:function(a,b){return T(this,r.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){r.removeAttr(this,a)})}}),r.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?r.prop(a,b,c):(1===f&&r.isXMLDoc(a)||(e=r.attrHooks[b.toLowerCase()]||(r.expr.match.bool.test(b)?lb:void 0)),void 0!==c?null===c?void r.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=r.find.attr(a,b),\nnull==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"===b&&B(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d=0,e=b&&b.match(L);if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),lb={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.setAttribute(c,c),c}},r.each(r.expr.match.bool.source.match(/\\w+/g),function(a,b){var c=mb[b]||r.find.attr;mb[b]=function(a,b,d){var e,f,g=b.toLowerCase();return d||(f=mb[g],mb[g]=e,e=null!=c(a,b,d)?g:null,mb[g]=f),e}});var nb=/^(?:input|select|textarea|button)$/i,ob=/^(?:a|area)$/i;r.fn.extend({prop:function(a,b){return T(this,r.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[r.propFix[a]||a]})}}),r.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&r.isXMLDoc(a)||(b=r.propFix[b]||b,e=r.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=r.find.attr(a,"tabindex");return b?parseInt(b,10):nb.test(a.nodeName)||ob.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),o.optSelected||(r.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),r.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){r.propFix[this.toLowerCase()]=this});function pb(a){var b=a.match(L)||[];return b.join(" ")}function qb(a){return a.getAttribute&&a.getAttribute("class")||""}r.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).addClass(a.call(this,b,qb(this)))});if("string"==typeof a&&a){b=a.match(L)||[];while(c=this[i++])if(e=qb(c),d=1===c.nodeType&&" "+pb(e)+" "){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=pb(d),e!==h&&c.setAttribute("class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).removeClass(a.call(this,b,qb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(L)||[];while(c=this[i++])if(e=qb(c),d=1===c.nodeType&&" "+pb(e)+" "){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=pb(d),e!==h&&c.setAttribute("class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):r.isFunction(a)?this.each(function(c){r(this).toggleClass(a.call(this,c,qb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=r(this),f=a.match(L)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=qb(this),b&&W.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":W.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+pb(qb(c))+" ").indexOf(b)>-1)return!0;return!1}});var rb=/\\r/g;r.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=r.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,r(this).val()):a,null==e?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=r.map(e,function(a){return null==a?"":a+""})),b=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=r.valHooks[e.type]||r.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(rb,""):null==c?"":c)}}}),r.extend({valHooks:{option:{get:function(a){var b=r.find.attr(a,"value");return null!=b?b:pb(r.text(a))}},select:{get:function(a){var b,c,d,e=a.options,f=a.selectedIndex,g="select-one"===a.type,h=g?null:[],i=g?f+1:e.length;for(d=f<0?i:g?f:0;d<i;d++)if(c=e[d],(c.selected||d===f)&&!c.disabled&&(!c.parentNode.disabled||!B(c.parentNode,"optgroup"))){if(b=r(c).val(),g)return b;h.push(b)}return h},set:function(a,b){var c,d,e=a.options,f=r.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=r.inArray(r.valHooks.option.get(d),f)>-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),r.each(["radio","checkbox"],function(){r.valHooks[this]={set:function(a,b){if(Array.isArray(b))return a.checked=r.inArray(r(a).val(),b)>-1}},o.checkOn||(r.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var sb=/^(?:focusinfocus|focusoutblur)$/;r.extend(r.event,{trigger:function(b,c,e,f){var g,h,i,j,k,m,n,o=[e||d],p=l.call(b,"type")?b.type:b,q=l.call(b,"namespace")?b.namespace.split("."):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!sb.test(p+r.event.triggered)&&(p.indexOf(".")>-1&&(q=p.split("."),p=q.shift(),q.sort()),k=p.indexOf(":")<0&&"on"+p,b=b[r.expando]?b:new r.Event(p,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=q.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\\\.)"+q.join("\\\\.(?:.*\\\\.|)")+"(\\\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:r.makeArray(c,[b]),n=r.event.special[p]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!r.isWindow(e)){for(j=n.delegateType||p,sb.test(j+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(e.ownerDocument||d)&&o.push(i.defaultView||i.parentWindow||a)}g=0;while((h=o[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||p,m=(W.get(h,"events")||{})[b.type]&&W.get(h,"handle"),m&&m.apply(h,c),m=k&&h[k],m&&m.apply&&U(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=p,f||b.isDefaultPrevented()||n._default&&n._default.apply(o.pop(),c)!==!1||!U(e)||k&&r.isFunction(e[p])&&!r.isWindow(e)&&(i=e[k],i&&(e[k]=null),r.event.triggered=p,e[p](),r.event.triggered=void 0,i&&(e[k]=i)),b.result}},simulate:function(a,b,c){var d=r.extend(new r.Event,c,{type:a,isSimulated:!0});r.event.trigger(d,null,b)}}),r.fn.extend({trigger:function(a,b){return this.each(function(){r.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return r.event.trigger(a,b,c,!0)}}),r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(a,b){r.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),r.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),o.focusin="onfocusin"in a,o.focusin||r.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){r.event.simulate(b,a.target,r.event.fix(a))};r.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=W.access(d,b);e||d.addEventListener(a,c,!0),W.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=W.access(d,b)-1;e?W.access(d,b,e):(d.removeEventListener(a,c,!0),W.remove(d,b))}}});var tb=a.location,ub=r.now(),vb=/\\?/;r.parseXML=function(b){var c;if(!b||"string"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,"text/xml")}catch(d){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||r.error("Invalid XML: "+b),c};var wb=/\\[\\]$/,xb=/\\r?\\n/g,yb=/^(?:submit|button|image|reset|file)$/i,zb=/^(?:input|select|textarea|keygen)/i;function Ab(a,b,c,d){var e;if(Array.isArray(b))r.each(b,function(b,e){c||wb.test(a)?d(a,e):Ab(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==r.type(b))d(a,b);else for(e in b)Ab(a+"["+e+"]",b[e],c,d)}r.param=function(a,b){var c,d=[],e=function(a,b){var c=r.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==c?"":c)};if(Array.isArray(a)||a.jquery&&!r.isPlainObject(a))r.each(a,function(){e(this.name,this.value)});else for(c in a)Ab(c,a[c],b,e);return d.join("&")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=r.prop(this,"elements");return a?r.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!r(this).is(":disabled")&&zb.test(this.nodeName)&&!yb.test(a)&&(this.checked||!ja.test(a))}).map(function(a,b){var c=r(this).val();return null==c?null:Array.isArray(c)?r.map(c,function(a){return{name:b.name,value:a.replace(xb,"\\r\\n")}}):{name:b.name,value:c.replace(xb,"\\r\\n")}}).get()}});var Bb=/%20/g,Cb=/#.*$/,Db=/([?&])_=[^&]*/,Eb=/^(.*?):[ \\t]*([^\\r\\n]*)$/gm,Fb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Gb=/^(?:GET|HEAD)$/,Hb=/^\\/\\//,Ib={},Jb={},Kb="*/".concat("*"),Lb=d.createElement("a");Lb.href=tb.href;function Mb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(L)||[];if(r.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Nb(a,b,c,d){var e={},f=a===Jb;function g(h){var i;return e[h]=!0,r.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Ob(a,b){var c,d,e=r.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&r.extend(!0,a,d),a}function Pb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Qb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:tb.href,type:"GET",isLocal:Fb.test(tb.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Kb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\\bxml\\b/,html:/\\bhtml/,json:/\\bjson\\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Ob(Ob(a,r.ajaxSettings),b):Ob(r.ajaxSettings,a)},ajaxPrefilter:Mb(Ib),ajaxTransport:Mb(Jb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m,n,o=r.ajaxSetup({},c),p=o.context||o,q=o.context&&(p.nodeType||p.jquery)?r(p):r.event,s=r.Deferred(),t=r.Callbacks("once memory"),u=o.statusCode||{},v={},w={},x="canceled",y={readyState:0,getResponseHeader:function(a){var b;if(k){if(!h){h={};while(b=Eb.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return k?g:null},setRequestHeader:function(a,b){return null==k&&(a=w[a.toLowerCase()]=w[a.toLowerCase()]||a,v[a]=b),this},overrideMimeType:function(a){return null==k&&(o.mimeType=a),this},statusCode:function(a){var b;if(a)if(k)y.always(a[y.status]);else for(b in a)u[b]=[u[b],a[b]];return this},abort:function(a){var b=a||x;return e&&e.abort(b),A(0,b),this}};if(s.promise(y),o.url=((b||o.url||tb.href)+"").replace(Hb,tb.protocol+"//"),o.type=c.method||c.type||o.method||o.type,o.dataTypes=(o.dataType||"*").toLowerCase().match(L)||[""],null==o.crossDomain){j=d.createElement("a");try{j.href=o.url,j.href=j.href,o.crossDomain=Lb.protocol+"//"+Lb.host!=j.protocol+"//"+j.host}catch(z){o.crossDomain=!0}}if(o.data&&o.processData&&"string"!=typeof o.data&&(o.data=r.param(o.data,o.traditional)),Nb(Ib,o,c,y),k)return y;l=r.event&&o.global,l&&0===r.active++&&r.event.trigger("ajaxStart"),o.type=o.type.toUpperCase(),o.hasContent=!Gb.test(o.type),f=o.url.replace(Cb,""),o.hasContent?o.data&&o.processData&&0===(o.contentType||"").indexOf("application/x-www-form-urlencoded")&&(o.data=o.data.replace(Bb,"+")):(n=o.url.slice(f.length),o.data&&(f+=(vb.test(f)?"&":"?")+o.data,delete o.data),o.cache===!1&&(f=f.replace(Db,"$1"),n=(vb.test(f)?"&":"?")+"_="+ub++ +n),o.url=f+n),o.ifModified&&(r.lastModified[f]&&y.setRequestHeader("If-Modified-Since",r.lastModified[f]),r.etag[f]&&y.setRequestHeader("If-None-Match",r.etag[f])),(o.data&&o.hasContent&&o.contentType!==!1||c.contentType)&&y.setRequestHeader("Content-Type",o.contentType),y.setRequestHeader("Accept",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+("*"!==o.dataTypes[0]?", "+Kb+"; q=0.01":""):o.accepts["*"]);for(m in o.headers)y.setRequestHeader(m,o.headers[m]);if(o.beforeSend&&(o.beforeSend.call(p,y,o)===!1||k))return y.abort();if(x="abort",t.add(o.complete),y.done(o.success),y.fail(o.error),e=Nb(Jb,o,c,y)){if(y.readyState=1,l&&q.trigger("ajaxSend",[y,o]),k)return y;o.async&&o.timeout>0&&(i=a.setTimeout(function(){y.abort("timeout")},o.timeout));try{k=!1,e.send(v,A)}catch(z){if(k)throw z;A(-1,z)}}else A(-1,"No Transport");function A(b,c,d,h){var j,m,n,v,w,x=c;k||(k=!0,i&&a.clearTimeout(i),e=void 0,g=h||"",y.readyState=b>0?4:0,j=b>=200&&b<300||304===b,d&&(v=Pb(o,y,d)),v=Qb(o,v,y,j),j?(o.ifModified&&(w=y.getResponseHeader("Last-Modified"),w&&(r.lastModified[f]=w),w=y.getResponseHeader("etag"),w&&(r.etag[f]=w)),204===b||"HEAD"===o.type?x="nocontent":304===b?x="notmodified":(x=v.state,m=v.data,n=v.error,j=!n)):(n=x,!b&&x||(x="error",b<0&&(b=0))),y.status=b,y.statusText=(c||x)+"",j?s.resolveWith(p,[m,x,y]):s.rejectWith(p,[y,x,n]),y.statusCode(u),u=void 0,l&&q.trigger(j?"ajaxSuccess":"ajaxError",[y,o,j?m:n]),t.fireWith(p,[y,x]),l&&(q.trigger("ajaxComplete",[y,o]),--r.active||r.event.trigger("ajaxStop")))}return y},getJSON:function(a,b,c){return r.get(a,b,c,"json")},getScript:function(a,b){return r.get(a,void 0,b,"script")}}),r.each(["get","post"],function(a,b){r[b]=function(a,c,d,e){return r.isFunction(c)&&(e=e||d,d=c,c=void 0),r.ajax(r.extend({url:a,type:b,dataType:e,data:c,success:d},r.isPlainObject(a)&&a))}}),r._evalUrl=function(a){return r.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},r.fn.extend({wrapAll:function(a){var b;return this[0]&&(r.isFunction(a)&&(a=a.call(this[0])),b=r(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(a){return r.isFunction(a)?this.each(function(b){r(this).wrapInner(a.call(this,b))}):this.each(function(){var b=r(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=r.isFunction(a);return this.each(function(c){r(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(a){return!r.expr.pseudos.visible(a)},r.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Rb={0:200,1223:204},Sb=r.ajaxSettings.xhr();o.cors=!!Sb&&"withCredentials"in Sb,o.ajax=Sb=!!Sb,r.ajaxTransport(function(b){var c,d;if(o.cors||Sb&&!b.crossDomain)return{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,"abort"===a?h.abort():"error"===a?"number"!=typeof h.status?f(0,"error"):f(h.status,h.statusText):f(Rb[h.status]||h.status,h.statusText,"text"!==(h.responseType||"text")||"string"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c("error"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),r.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),r.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\\b(?:java|ecma)script\\b/},converters:{"text script":function(a){return r.globalEval(a),a}}}),r.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),r.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=r("<script>").prop({charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&f("error"===a.type?404:200,a.type)}),d.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Tb=[],Ub=/(=)\\?(?=&|$)|\\?\\?/;r.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Tb.pop()||r.expando+"_"+ub++;return this[a]=!0,a}}),r.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Ub.test(b.url)?"url":"string"==typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ub.test(b.data)&&"data");if(h||"jsonp"===b.dataTypes[0])return e=b.jsonpCallback=r.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Ub,"$1"+e):b.jsonp!==!1&&(b.url+=(vb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||r.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){void 0===f?r(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Tb.push(e)),g&&r.isFunction(f)&&f(g[0]),g=f=void 0}),"script"}),o.createHTMLDocument=function(){var a=d.implementation.createHTMLDocument("").body;return a.innerHTML="<form></form><form></form>",2===a.childNodes.length}(),r.parseHTML=function(a,b,c){if("string"!=typeof a)return[];"boolean"==typeof b&&(c=b,b=!1);var e,f,g;return b||(o.createHTMLDocument?(b=d.implementation.createHTMLDocument(""),e=b.createElement("base"),e.href=d.location.href,b.head.appendChild(e)):b=d),f=C.exec(a),g=!c&&[],f?[b.createElement(f[1])]:(f=qa([a],b,g),g&&g.length&&r(g).remove(),r.merge([],f.childNodes))},r.fn.load=function(a,b,c){var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=pb(a.slice(h)),a=a.slice(0,h)),r.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&r.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?r("<div>").append(r.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},r.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){r.fn[b]=function(a){return this.on(b,a)}}),r.expr.pseudos.animated=function(a){return r.grep(r.timers,function(b){return a===b.elem}).length},r.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=r.css(a,"position"),l=r(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=r.css(a,"top"),i=r.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),r.isFunction(b)&&(b=b.call(a,c,r.extend({},h))),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},r.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){r.offset.setOffset(this,a,b)});var b,c,d,e,f=this[0];if(f)return f.getClientRects().length?(d=f.getBoundingClientRect(),b=f.ownerDocument,c=b.documentElement,e=b.defaultView,{top:d.top+e.pageYOffset-c.clientTop,left:d.left+e.pageXOffset-c.clientLeft}):{top:0,left:0}},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===r.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),B(a[0],"html")||(d=a.offset()),d={top:d.top+r.css(a[0],"borderTopWidth",!0),left:d.left+r.css(a[0],"borderLeftWidth",!0)}),{top:b.top-d.top-r.css(c,"marginTop",!0),left:b.left-d.left-r.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent;while(a&&"static"===r.css(a,"position"))a=a.offsetParent;return a||ra})}}),r.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c="pageYOffset"===b;r.fn[a]=function(d){return T(this,function(a,d,e){var f;return r.isWindow(a)?f=a:9===a.nodeType&&(f=a.defaultView),void 0===e?f?f[b]:a[d]:void(f?f.scrollTo(c?f.pageXOffset:e,c?e:f.pageYOffset):a[d]=e)},a,d,arguments.length)}}),r.each(["top","left"],function(a,b){r.cssHooks[b]=Pa(o.pixelPosition,function(a,c){if(c)return c=Oa(a,b),Ma.test(c)?r(a).position()[b]+"px":c})}),r.each({Height:"height",Width:"width"},function(a,b){r.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){r.fn[d]=function(e,f){var g=arguments.length&&(c||"boolean"!=typeof e),h=c||(e===!0||f===!0?"margin":"border");return T(this,function(b,c,e){var f;return r.isWindow(b)?0===d.indexOf("outer")?b["inner"+a]:b.document.documentElement["client"+a]:9===b.nodeType?(f=b.documentElement,Math.max(b.body["scroll"+a],f["scroll"+a],b.body["offset"+a],f["offset"+a],f["client"+a])):void 0===e?r.css(b,c,h):r.style(b,c,e,h)},b,g?e:void 0,g)}})}),r.fn.extend({bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}}),r.holdReady=function(a){a?r.readyWait++:r.ready(!0)},r.isArray=Array.isArray,r.parseJSON=JSON.parse,r.nodeName=B,"function"==typeof define&&define.amd&&define("jquery",[],function(){return r});var Vb=a.jQuery,Wb=a.$;return r.noConflict=function(b){return a.$===r&&(a.$=Wb),b&&a.jQuery===r&&(a.jQuery=Vb),r},b||(a.jQuery=a.$=r),r});\n'},3:function(e,t,n){n("A94l"),e.exports=n("D+cN")},"58g1":function(e,t){e.exports="// Generated by CoffeeScript 1.9.1\n\n/*\nCopyrights 2011, the repl.it project.\nLicensed under the MIT license\n */\n\n(function() {\n var $, Ansi, CLASS_ANSI, CLASS_BLURRED, CLASS_CURSOR, CLASS_HEADER, CLASS_INPUT, CLASS_OLD_INPUT, CLASS_OLD_PROMPT, CLASS_PREFIX, CLASS_PROMPT, CLASS_PROMPT_TEXT, DEFAULT_INDENT_WIDTH, DEFAULT_PROMPT_CONINUE_LABEL, DEFAULT_PROMPT_LABEL, EMPTY_DIV, EMPTY_SELECTOR, EMPTY_SPAN, ESCAPE_CHAR, ESCAPE_SYNTAX, E_KEYPRESS, JQConsole, KEY_BACKSPACE, KEY_DELETE, KEY_DOWN, KEY_END, KEY_ENTER, KEY_HOME, KEY_LEFT, KEY_PAGE_DOWN, KEY_PAGE_UP, KEY_RIGHT, KEY_TAB, KEY_UP, NEWLINE, STATE_INPUT, STATE_OUTPUT, STATE_PROMPT, spanHtml,\n bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n slice = [].slice;\n\n $ = jQuery;\n\n STATE_INPUT = 0;\n\n STATE_OUTPUT = 1;\n\n STATE_PROMPT = 2;\n\n KEY_ENTER = 13;\n\n KEY_TAB = 9;\n\n KEY_DELETE = 46;\n\n KEY_BACKSPACE = 8;\n\n KEY_LEFT = 37;\n\n KEY_RIGHT = 39;\n\n KEY_UP = 38;\n\n KEY_DOWN = 40;\n\n KEY_HOME = 36;\n\n KEY_END = 35;\n\n KEY_PAGE_UP = 33;\n\n KEY_PAGE_DOWN = 34;\n\n CLASS_PREFIX = 'jqconsole-';\n\n CLASS_CURSOR = CLASS_PREFIX + \"cursor\";\n\n CLASS_HEADER = CLASS_PREFIX + \"header\";\n\n CLASS_PROMPT = CLASS_PREFIX + \"prompt\";\n\n CLASS_PROMPT_TEXT = CLASS_PROMPT + \"-text\";\n\n CLASS_OLD_PROMPT = CLASS_PREFIX + \"old-prompt\";\n\n CLASS_INPUT = CLASS_PREFIX + \"input\";\n\n CLASS_OLD_INPUT = CLASS_PREFIX + \"old-input\";\n\n CLASS_BLURRED = CLASS_PREFIX + \"blurred\";\n\n E_KEYPRESS = 'keypress';\n\n EMPTY_SPAN = '<span/>';\n\n EMPTY_DIV = '<div/>';\n\n EMPTY_SELECTOR = ':empty';\n\n NEWLINE = '\\n';\n\n DEFAULT_PROMPT_LABEL = '>>> ';\n\n DEFAULT_PROMPT_CONINUE_LABEL = '... ';\n\n DEFAULT_INDENT_WIDTH = 2;\n\n CLASS_ANSI = CLASS_PREFIX + \"ansi-\";\n\n ESCAPE_CHAR = '\\x1B';\n\n ESCAPE_SYNTAX = /\\[(\\d*)(?:;(\\d*))*m/;\n\n Ansi = (function() {\n Ansi.prototype.COLORS = ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white'];\n\n function Ansi() {\n this.stylize = bind(this.stylize, this);\n this._closeSpan = bind(this._closeSpan, this);\n this._openSpan = bind(this._openSpan, this);\n this.getClasses = bind(this.getClasses, this);\n this._style = bind(this._style, this);\n this._color = bind(this._color, this);\n this._remove = bind(this._remove, this);\n this._append = bind(this._append, this);\n this.klasses = [];\n }\n\n Ansi.prototype._append = function(klass) {\n klass = \"\" + CLASS_ANSI + klass;\n if (this.klasses.indexOf(klass) === -1) {\n return this.klasses.push(klass);\n }\n };\n\n Ansi.prototype._remove = function() {\n var cls, j, klass, klasses, len1, results;\n klasses = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n results = [];\n for (j = 0, len1 = klasses.length; j < len1; j++) {\n klass = klasses[j];\n if (klass === 'fonts' || klass === 'color' || klass === 'background-color') {\n results.push(this.klasses = (function() {\n var k, len2, ref, results1;\n ref = this.klasses;\n results1 = [];\n for (k = 0, len2 = ref.length; k < len2; k++) {\n cls = ref[k];\n if (cls.indexOf(klass) !== CLASS_ANSI.length) {\n results1.push(cls);\n }\n }\n return results1;\n }).call(this));\n } else {\n klass = \"\" + CLASS_ANSI + klass;\n results.push(this.klasses = (function() {\n var k, len2, ref, results1;\n ref = this.klasses;\n results1 = [];\n for (k = 0, len2 = ref.length; k < len2; k++) {\n cls = ref[k];\n if (cls !== klass) {\n results1.push(cls);\n }\n }\n return results1;\n }).call(this));\n }\n }\n return results;\n };\n\n Ansi.prototype._color = function(i) {\n return this.COLORS[i];\n };\n\n Ansi.prototype._style = function(code) {\n if (code === '') {\n code = 0;\n }\n code = parseInt(code);\n if (isNaN(code)) {\n return;\n }\n switch (code) {\n case 0:\n return this.klasses = [];\n case 1:\n return this._append('bold');\n case 2:\n return this._append('lighter');\n case 3:\n return this._append('italic');\n case 4:\n return this._append('underline');\n case 5:\n return this._append('blink');\n case 6:\n return this._append('blink-rapid');\n case 8:\n return this._append('hidden');\n case 9:\n return this._append('line-through');\n case 10:\n return this._remove('fonts');\n case 11:\n case 12:\n case 13:\n case 14:\n case 15:\n case 16:\n case 17:\n case 18:\n case 19:\n this._remove('fonts');\n return this._append(\"fonts-\" + (code - 10));\n case 20:\n return this._append('fraktur');\n case 21:\n return this._remove('bold', 'lighter');\n case 22:\n return this._remove('bold', 'lighter');\n case 23:\n return this._remove('italic', 'fraktur');\n case 24:\n return this._remove('underline');\n case 25:\n return this._remove('blink', 'blink-rapid');\n case 28:\n return this._remove('hidden');\n case 29:\n return this._remove('line-through');\n case 30:\n case 31:\n case 32:\n case 33:\n case 34:\n case 35:\n case 36:\n case 37:\n this._remove('color');\n return this._append('color-' + this._color(code - 30));\n case 39:\n return this._remove('color');\n case 40:\n case 41:\n case 42:\n case 43:\n case 44:\n case 45:\n case 46:\n case 47:\n this._remove('background-color');\n return this._append('background-color-' + this._color(code - 40));\n case 49:\n return this._remove('background-color');\n case 51:\n return this._append('framed');\n case 53:\n return this._append('overline');\n case 54:\n return this._remove('framed');\n case 55:\n return this._remove('overline');\n }\n };\n\n Ansi.prototype.getClasses = function() {\n return this.klasses.join(' ');\n };\n\n Ansi.prototype._openSpan = function(text) {\n return \"<span class=\\\"\" + (this.getClasses()) + \"\\\">\" + text;\n };\n\n Ansi.prototype._closeSpan = function(text) {\n return text + \"</span>\";\n };\n\n Ansi.prototype.stylize = function(text) {\n var code, d, i, j, len1, ref;\n text = this._openSpan(text);\n i = 0;\n while ((i = text.indexOf(ESCAPE_CHAR, i)) && i !== -1) {\n if (d = text.slice(i).match(ESCAPE_SYNTAX)) {\n ref = d.slice(1);\n for (j = 0, len1 = ref.length; j < len1; j++) {\n code = ref[j];\n this._style(code);\n }\n text = this._closeSpan(text.slice(0, i)) + this._openSpan(text.slice(i + 1 + d[0].length));\n } else {\n i++;\n }\n }\n return this._closeSpan(text);\n };\n\n return Ansi;\n\n })();\n\n spanHtml = function(klass, content) {\n return \"<span class=\\\"\" + klass + \"\\\">\" + (content || '') + \"</span>\";\n };\n\n JQConsole = (function() {\n function JQConsole(outer_container, header, prompt_label, prompt_continue_label, disable_auto_focus) {\n if (disable_auto_focus == null) {\n disable_auto_focus = false;\n }\n this._HideComposition = bind(this._HideComposition, this);\n this._ShowComposition = bind(this._ShowComposition, this);\n this._UpdateComposition = bind(this._UpdateComposition, this);\n this._EndComposition = bind(this._EndComposition, this);\n this._StartComposition = bind(this._StartComposition, this);\n this._CheckComposition = bind(this._CheckComposition, this);\n this._ProcessMatch = bind(this._ProcessMatch, this);\n this._HandleKey = bind(this._HandleKey, this);\n this._HandleChar = bind(this._HandleChar, this);\n this.isMobile = !!navigator.userAgent.match(/iPhone|iPad|iPod|Android/i);\n this.isIos = !!navigator.userAgent.match(/iPhone|iPad|iPod/i);\n this.isAndroid = !!navigator.userAgent.match(/Android/i);\n this.auto_focus = !disable_auto_focus;\n this.$window = $(window);\n this.header = header || '';\n this.prompt_label_main = typeof prompt_label === 'string' ? prompt_label : DEFAULT_PROMPT_LABEL;\n this.prompt_label_continue = prompt_continue_label || DEFAULT_PROMPT_CONINUE_LABEL;\n this.indent_width = DEFAULT_INDENT_WIDTH;\n this.state = STATE_OUTPUT;\n this.input_queue = [];\n this.input_callback = null;\n this.multiline_callback = null;\n this.history = [];\n this.history_index = 0;\n this.history_new = '';\n this.history_active = false;\n this.shortcuts = {};\n this.$container = $('<div/>').appendTo(outer_container);\n this.$container.css({\n 'top': 0,\n 'left': 0,\n 'right': 0,\n 'bottom': 0,\n 'position': 'absolute',\n 'overflow': 'auto'\n });\n this.$console = $('<pre class=\"jqconsole\"/>').appendTo(this.$container);\n this.$console.css({\n 'margin': 0,\n 'position': 'relative',\n 'min-height': '100%',\n 'box-sizing': 'border-box',\n '-moz-box-sizing': 'border-box',\n '-webkit-box-sizing': 'border-box'\n });\n this.$console_focused = true;\n this.$input_container = $(EMPTY_DIV).appendTo(this.$container);\n this.$input_container.css({\n position: 'absolute',\n width: 1,\n height: 0,\n overflow: 'hidden'\n });\n this.$input_source = this.isAndroid ? $('<input/>') : $('<textarea/>');\n this.$input_source.attr({\n wrap: 'off',\n autocapitalize: 'off',\n autocorrect: 'off',\n spellcheck: 'false',\n autocomplete: 'off'\n });\n this.$input_source.css({\n position: 'absolute',\n width: 2\n });\n this.$input_source.appendTo(this.$input_container);\n this.$composition = $(EMPTY_DIV);\n this.$composition.addClass(CLASS_PREFIX + \"composition\");\n this.$composition.css({\n display: 'inline',\n position: 'relative'\n });\n this.matchings = {\n openings: {},\n closings: {},\n clss: []\n };\n this.ansi = new Ansi();\n this._InitPrompt();\n this._SetupEvents();\n this.Write(this.header, CLASS_HEADER);\n $(outer_container).data('jqconsole', this);\n }\n\n JQConsole.prototype.ResetHistory = function() {\n return this.SetHistory([]);\n };\n\n JQConsole.prototype.ResetShortcuts = function() {\n return this.shortcuts = {};\n };\n\n JQConsole.prototype.ResetMatchings = function() {\n return this.matchings = {\n openings: {},\n closings: {},\n clss: []\n };\n };\n\n JQConsole.prototype.Reset = function() {\n if (this.state !== STATE_OUTPUT) {\n this.ClearPromptText(true);\n }\n this.state = STATE_OUTPUT;\n this.input_queue = [];\n this.input_callback = null;\n this.multiline_callback = null;\n this.custom_control_key_handler = null;\n this.custom_keypress_handler = null;\n this.ResetHistory();\n this.ResetShortcuts();\n this.ResetMatchings();\n this.$prompt.detach();\n this.$input_container.detach();\n this.$console.html('');\n this.$prompt.appendTo(this.$console);\n this.$input_container.appendTo(this.$container);\n this.Write(this.header, CLASS_HEADER);\n return void 0;\n };\n\n JQConsole.prototype.GetHistory = function() {\n return this.history;\n };\n\n JQConsole.prototype.SetHistory = function(history) {\n this.history = history.slice();\n return this.history_index = this.history.length;\n };\n\n\n /*------------------------ Shortcut Methods ----------------------------- */\n\n JQConsole.prototype._CheckKeyCode = function(key_code) {\n if (isNaN(key_code)) {\n key_code = key_code.charCodeAt(0);\n } else {\n key_code = parseInt(key_code, 10);\n }\n if (!((0 < key_code && key_code < 256)) || isNaN(key_code)) {\n throw new Error('Key code must be a number between 0 and 256 exclusive.');\n }\n return key_code;\n };\n\n JQConsole.prototype._LetterCaseHelper = function(key_code, callback) {\n callback(key_code);\n if ((65 <= key_code && key_code <= 90)) {\n callback(key_code + 32);\n }\n if ((97 <= key_code && key_code <= 122)) {\n return callback(key_code - 32);\n }\n };\n\n JQConsole.prototype.RegisterShortcut = function(key_code, callback) {\n var addShortcut;\n key_code = this._CheckKeyCode(key_code);\n if (typeof callback !== 'function') {\n throw new Error('Callback must be a function, not ' + callback + '.');\n }\n addShortcut = (function(_this) {\n return function(key) {\n if (!(key in _this.shortcuts)) {\n _this.shortcuts[key] = [];\n }\n return _this.shortcuts[key].push(callback);\n };\n })(this);\n this._LetterCaseHelper(key_code, addShortcut);\n return void 0;\n };\n\n JQConsole.prototype.UnRegisterShortcut = function(key_code, handler) {\n var removeShortcut;\n key_code = this._CheckKeyCode(key_code);\n removeShortcut = (function(_this) {\n return function(key) {\n if (key in _this.shortcuts) {\n if (handler) {\n return _this.shortcuts[key].splice(_this.shortcuts[key].indexOf(handler), 1);\n } else {\n return delete _this.shortcuts[key];\n }\n }\n };\n })(this);\n this._LetterCaseHelper(key_code, removeShortcut);\n return void 0;\n };\n\n\n /*---------------------- END Shortcut Methods --------------------------- */\n\n JQConsole.prototype.GetColumn = function() {\n var lines;\n this.$prompt_right.detach();\n this.$prompt_cursor.text('');\n lines = this.$console.text().split(NEWLINE);\n this.$prompt_cursor.html(' ');\n this.$prompt_cursor.after(this.$prompt_right);\n return lines[lines.length - 1].length;\n };\n\n JQConsole.prototype.GetLine = function() {\n return this.$console.text().split(NEWLINE).length - 1;\n };\n\n JQConsole.prototype.ClearPromptText = function(clear_label) {\n if (this.state === STATE_OUTPUT) {\n throw new Error('ClearPromptText() is not allowed in output state.');\n }\n this.$prompt_before.html('');\n this.$prompt_after.html('');\n this.$prompt_label.text(clear_label ? '' : this._SelectPromptLabel(false));\n this.$prompt_left.text('');\n this.$prompt_right.text('');\n return void 0;\n };\n\n JQConsole.prototype.GetPromptText = function(full) {\n var after, before, current, getPromptLines, text;\n if (this.state === STATE_OUTPUT) {\n throw new Error('GetPromptText() is not allowed in output state.');\n }\n if (full) {\n this.$prompt_cursor.text('');\n text = this.$prompt.text();\n this.$prompt_cursor.html(' ');\n return text;\n } else {\n getPromptLines = function(node) {\n var buffer;\n buffer = [];\n node.children().each(function() {\n return buffer.push($(this).children().last().text());\n });\n return buffer.join(NEWLINE);\n };\n before = getPromptLines(this.$prompt_before);\n if (before) {\n before += NEWLINE;\n }\n current = this.$prompt_left.text() + this.$prompt_right.text();\n after = getPromptLines(this.$prompt_after);\n if (after) {\n after = NEWLINE + after;\n }\n return before + current + after;\n }\n };\n\n JQConsole.prototype.SetPromptText = function(text) {\n if (this.state === STATE_OUTPUT) {\n throw new Error('SetPromptText() is not allowed in output state.');\n }\n this.ClearPromptText(false);\n this._AppendPromptText(text);\n this._ScrollToEnd();\n return void 0;\n };\n\n JQConsole.prototype.SetPromptLabel = function(main_label, continue_label) {\n this.prompt_label_main = main_label;\n if (continue_label != null) {\n this.prompt_label_continue = continue_label;\n }\n return void 0;\n };\n\n JQConsole.prototype.UpdatePromptLabel = function() {\n var full_selector, prompt_selector;\n prompt_selector = '>span+span>span:first-child';\n full_selector = '.' + CLASS_PROMPT + prompt_selector;\n return this.$console.find(full_selector).text(this.prompt_label_main);\n };\n\n JQConsole.prototype.Write = function(text, cls, escape) {\n var span;\n if (escape == null) {\n escape = true;\n }\n if (escape) {\n text = this.ansi.stylize($(EMPTY_SPAN).text(text).html());\n }\n span = $(EMPTY_SPAN).html(text);\n if (cls != null) {\n span.addClass(cls);\n }\n return this.Append(span);\n };\n\n JQConsole.prototype.Append = function(node) {\n var $node;\n $node = $(node).insertBefore(this.$prompt);\n this._ScrollToEnd();\n this.$prompt_cursor.detach().insertAfter(this.$prompt_left);\n return $node;\n };\n\n JQConsole.prototype.Input = function(input_callback) {\n var current_async_multiline, current_history_active, current_input_callback, current_multiline_callback;\n if (this.state === STATE_PROMPT) {\n current_input_callback = this.input_callback;\n current_multiline_callback = this.multiline_callback;\n current_history_active = this.history_active;\n current_async_multiline = this.async_multiline;\n this.AbortPrompt();\n this.input_queue.unshift((function(_this) {\n return function() {\n return _this.Prompt(current_history_active, current_input_callback, current_multiline_callback, current_async_multiline);\n };\n })(this));\n } else if (this.state !== STATE_OUTPUT) {\n this.input_queue.push((function(_this) {\n return function() {\n return _this.Input(input_callback);\n };\n })(this));\n return;\n }\n this.history_active = false;\n this.input_callback = input_callback;\n this.multiline_callback = null;\n this.state = STATE_INPUT;\n this.$prompt.attr('class', CLASS_INPUT);\n this.$prompt_label.text(this._SelectPromptLabel(false));\n this.Focus();\n this._ScrollToEnd();\n return void 0;\n };\n\n JQConsole.prototype.Prompt = function(history_enabled, result_callback, multiline_callback, async_multiline) {\n if (this.state !== STATE_OUTPUT) {\n this.input_queue.push((function(_this) {\n return function() {\n return _this.Prompt(history_enabled, result_callback, multiline_callback, async_multiline);\n };\n })(this));\n return;\n }\n this.history_active = history_enabled;\n this.input_callback = result_callback;\n this.multiline_callback = multiline_callback;\n this.async_multiline = async_multiline;\n this.state = STATE_PROMPT;\n this.$prompt.attr('class', CLASS_PROMPT + ' ' + this.ansi.getClasses());\n this.$prompt_label.text(this._SelectPromptLabel(false));\n if (this.auto_focus) {\n this.Focus();\n }\n this._ScrollToEnd();\n return void 0;\n };\n\n JQConsole.prototype.AbortPrompt = function() {\n var text;\n if (this.state === STATE_OUTPUT) {\n throw new Error('Cannot abort prompt when not in prompt or input state.');\n }\n text = this.GetPromptText(true);\n if (this.state === STATE_INPUT) {\n if (text.trim().length !== 0) {\n this.Write(text + NEWLINE, CLASS_OLD_INPUT);\n }\n } else {\n this.Write(text + NEWLINE, CLASS_OLD_PROMPT);\n }\n this.ClearPromptText(true);\n this.state = STATE_OUTPUT;\n this.input_callback = this.multiline_callback = null;\n this._CheckInputQueue();\n return void 0;\n };\n\n JQConsole.prototype.Focus = function() {\n if (!this.IsDisabled()) {\n this.$input_source.focus();\n }\n return void 0;\n };\n\n JQConsole.prototype.SetIndentWidth = function(width) {\n return this.indent_width = width;\n };\n\n JQConsole.prototype.GetIndentWidth = function() {\n return this.indent_width;\n };\n\n JQConsole.prototype.RegisterMatching = function(open, close, cls) {\n var match_config;\n match_config = {\n opening_char: open,\n closing_char: close,\n cls: cls\n };\n this.matchings.clss.push(cls);\n this.matchings.openings[open] = match_config;\n return this.matchings.closings[close] = match_config;\n };\n\n JQConsole.prototype.UnRegisterMatching = function(open, close) {\n var cls;\n cls = this.matchings.openings[open].cls;\n delete this.matchings.openings[open];\n delete this.matchings.closings[close];\n return this.matchings.clss.splice(this.matchings.clss.indexOf(cls), 1);\n };\n\n JQConsole.prototype.Dump = function() {\n var $elems, elem;\n $elems = this.$console.find(\".\" + CLASS_HEADER).nextUntil(\".\" + CLASS_PROMPT).addBack();\n return ((function() {\n var j, len1, results;\n results = [];\n for (j = 0, len1 = $elems.length; j < len1; j++) {\n elem = $elems[j];\n if ($(elem).is(\".\" + CLASS_OLD_PROMPT)) {\n results.push($(elem).text().replace(/^\\s+/, '>>> '));\n } else {\n results.push($(elem).text());\n }\n }\n return results;\n })()).join('');\n };\n\n JQConsole.prototype.GetState = function() {\n if (this.state === STATE_INPUT) {\n return 'input';\n } else if (this.state === STATE_OUTPUT) {\n return 'output';\n } else {\n return 'prompt';\n }\n };\n\n JQConsole.prototype.Disable = function() {\n this.$input_source.attr('disabled', true);\n return this.$input_source.blur();\n };\n\n JQConsole.prototype.Enable = function() {\n return this.$input_source.attr('disabled', false);\n };\n\n JQConsole.prototype.IsDisabled = function() {\n return Boolean(this.$input_source.attr('disabled'));\n };\n\n JQConsole.prototype.MoveToStart = function(all_lines) {\n this._MoveTo(all_lines, true);\n return void 0;\n };\n\n JQConsole.prototype.MoveToEnd = function(all_lines) {\n this._MoveTo(all_lines, false);\n return void 0;\n };\n\n JQConsole.prototype.Clear = function() {\n var prompt_class;\n prompt_class = this.state === STATE_INPUT ? CLASS_INPUT : CLASS_PROMPT;\n this.$console.find(\".\" + CLASS_HEADER).nextUntil(\".\" + prompt_class).addBack().text('');\n this.$prompt_cursor.detach();\n return this.$prompt_right.before(this.$prompt_cursor);\n };\n\n\n /*------------------------ Private Methods ------------------------------- */\n\n JQConsole.prototype._CheckInputQueue = function() {\n if (this.input_queue.length) {\n return this.input_queue.shift()();\n }\n };\n\n JQConsole.prototype._InitPrompt = function() {\n this.$prompt = $(spanHtml(CLASS_INPUT)).appendTo(this.$console);\n this.$prompt_before = $(EMPTY_SPAN).appendTo(this.$prompt);\n this.$prompt_current = $(EMPTY_SPAN).appendTo(this.$prompt);\n this.$prompt_after = $(EMPTY_SPAN).appendTo(this.$prompt);\n this.$prompt_label = $(EMPTY_SPAN).appendTo(this.$prompt_current);\n this.$prompt_left = $(EMPTY_SPAN).appendTo(this.$prompt_current);\n this.$prompt_right = $(EMPTY_SPAN).appendTo(this.$prompt_current);\n this.$prompt_right.css({\n position: 'relative'\n });\n this.$prompt_left.addClass(CLASS_PROMPT_TEXT);\n this.$prompt_cursor = $(spanHtml(CLASS_CURSOR, ' '));\n this.$prompt_cursor.insertBefore(this.$prompt_right);\n this.$prompt_cursor.css({\n color: 'transparent',\n display: 'inline',\n zIndex: 0\n });\n if (!this.isMobile) {\n return this.$prompt_cursor.css('position', 'absolute');\n }\n };\n\n JQConsole.prototype._SetupEvents = function() {\n if (this.isMobile) {\n this.$console.click((function(_this) {\n return function(e) {\n e.preventDefault();\n return _this.Focus();\n };\n })(this));\n } else {\n this.$console.mouseup((function(_this) {\n return function(e) {\n var fn;\n if (e.which === 2) {\n return _this.Focus();\n } else {\n fn = function() {\n if (!window.getSelection().toString()) {\n e.preventDefault();\n return _this.Focus();\n }\n };\n return setTimeout(fn, 0);\n }\n };\n })(this));\n }\n this.$input_source.focus((function(_this) {\n return function() {\n var hideTextInput, removeClass;\n _this._ScrollToEnd();\n _this.$console_focused = true;\n _this.$console.removeClass(CLASS_BLURRED);\n removeClass = function() {\n if (_this.$console_focused) {\n return _this.$console.removeClass(CLASS_BLURRED);\n }\n };\n setTimeout(removeClass, 100);\n hideTextInput = function() {\n if (_this.isIos && _this.$console_focused) {\n return _this.$input_source.hide();\n }\n };\n return setTimeout(hideTextInput, 500);\n };\n })(this));\n this.$input_source.blur((function(_this) {\n return function() {\n var addClass;\n _this.$console_focused = false;\n if (_this.isIos) {\n _this.$input_source.show();\n }\n addClass = function() {\n if (!_this.$console_focused) {\n return _this.$console.addClass(CLASS_BLURRED);\n }\n };\n return setTimeout(addClass, 100);\n };\n })(this));\n this.$input_source.bind('paste', (function(_this) {\n return function() {\n var handlePaste;\n handlePaste = function() {\n if (_this.in_composition) {\n return;\n }\n _this._AppendPromptText(_this.$input_source.val());\n _this.$input_source.val('');\n return _this.Focus();\n };\n return setTimeout(handlePaste, 0);\n };\n })(this));\n this.$input_source.keypress(this._HandleChar);\n this.$input_source.keydown(this._HandleKey);\n this.$input_source.keydown(this._CheckComposition);\n this.$input_source.bind('compositionstart', this._StartComposition);\n this.$input_source.bind('compositionend', (function(_this) {\n return function(e) {\n return setTimeout((function() {\n return _this._EndComposition(e);\n }), 0);\n };\n })(this));\n if (this.isAndroid) {\n this.$input_source.bind('input', this._StartComposition);\n return this.$input_source.bind('input', this._UpdateComposition);\n } else {\n return this.$input_source.bind('text', this._UpdateComposition);\n }\n };\n\n JQConsole.prototype.SetKeyPressHandler = function(handler) {\n return this.custom_keypress_handler = handler;\n };\n\n JQConsole.prototype.SetControlKeyHandler = function(handler) {\n return this.custom_control_key_handler = handler;\n };\n\n JQConsole.prototype._HandleChar = function(event) {\n var char_code;\n if (this.state === STATE_OUTPUT || event.metaKey || event.ctrlKey) {\n return true;\n }\n char_code = event.which;\n if (char_code === 8 || char_code === 9 || char_code === 13) {\n return false;\n }\n if (this.custom_keypress_handler != null) {\n if (this.custom_keypress_handler.call(this, event) === false) {\n return false;\n }\n }\n this.$prompt_left.text(this.$prompt_left.text() + String.fromCharCode(char_code));\n this._ScrollToEnd();\n return false;\n };\n\n JQConsole.prototype._HandleKey = function(event) {\n var key;\n if (this.state === STATE_OUTPUT) {\n return true;\n }\n key = event.keyCode || event.which;\n setTimeout($.proxy(this._CheckMatchings, this), 0);\n if (this.custom_control_key_handler != null) {\n if (this.custom_control_key_handler.call(this, event) === false) {\n return false;\n }\n }\n if (event.altKey) {\n return true;\n } else if (event.ctrlKey || event.metaKey) {\n return this._HandleCtrlShortcut(key);\n } else if (event.shiftKey) {\n switch (key) {\n case KEY_ENTER:\n this._HandleEnter(true);\n break;\n case KEY_TAB:\n this._Unindent();\n break;\n case KEY_UP:\n this._MoveUp();\n break;\n case KEY_DOWN:\n this._MoveDown();\n break;\n case KEY_PAGE_UP:\n this._ScrollPage('up');\n break;\n case KEY_PAGE_DOWN:\n this._ScrollPage('down');\n break;\n default:\n return true;\n }\n return false;\n } else {\n switch (key) {\n case KEY_ENTER:\n this._HandleEnter(false);\n break;\n case KEY_TAB:\n this._Indent();\n break;\n case KEY_DELETE:\n this._Delete(false);\n break;\n case KEY_BACKSPACE:\n this._Backspace(false);\n break;\n case KEY_LEFT:\n this._MoveLeft(false);\n break;\n case KEY_RIGHT:\n this._MoveRight(false);\n break;\n case KEY_UP:\n this._HistoryPrevious();\n break;\n case KEY_DOWN:\n this._HistoryNext();\n break;\n case KEY_HOME:\n this.MoveToStart(false);\n break;\n case KEY_END:\n this.MoveToEnd(false);\n break;\n case KEY_PAGE_UP:\n this._ScrollPage('up');\n break;\n case KEY_PAGE_DOWN:\n this._ScrollPage('down');\n break;\n default:\n return true;\n }\n return false;\n }\n };\n\n JQConsole.prototype._HandleCtrlShortcut = function(key) {\n var handler, j, len1, ref;\n switch (key) {\n case KEY_DELETE:\n this._Delete(true);\n break;\n case KEY_BACKSPACE:\n this._Backspace(true);\n break;\n case KEY_LEFT:\n this._MoveLeft(true);\n break;\n case KEY_RIGHT:\n this._MoveRight(true);\n break;\n case KEY_UP:\n this._MoveUp();\n break;\n case KEY_DOWN:\n this._MoveDown();\n break;\n case KEY_END:\n this.MoveToEnd(true);\n break;\n case KEY_HOME:\n this.MoveToStart(true);\n break;\n default:\n if (key in this.shortcuts) {\n ref = this.shortcuts[key];\n for (j = 0, len1 = ref.length; j < len1; j++) {\n handler = ref[j];\n handler.call(this);\n }\n return false;\n } else {\n return true;\n }\n }\n return false;\n };\n\n JQConsole.prototype._HandleEnter = function(shift) {\n var continuation, text;\n this._EndComposition();\n if (shift) {\n return this._InsertNewLine(true);\n } else {\n text = this.GetPromptText();\n continuation = (function(_this) {\n return function(indent) {\n var _, callback, cls_suffix, j, ref, results;\n if (indent !== false) {\n _this.MoveToEnd(true);\n _this._InsertNewLine(true);\n results = [];\n for (_ = j = 0, ref = Math.abs(indent); 0 <= ref ? j < ref : j > ref; _ = 0 <= ref ? ++j : --j) {\n if (indent > 0) {\n results.push(_this._Indent());\n } else {\n results.push(_this._Unindent());\n }\n }\n return results;\n } else {\n cls_suffix = _this.state === STATE_INPUT ? 'input' : 'prompt';\n _this.Write(_this.GetPromptText(true) + NEWLINE, (CLASS_PREFIX + \"old-\") + cls_suffix);\n _this.ClearPromptText(true);\n if (_this.history_active) {\n if (!_this.history.length || _this.history[_this.history.length - 1] !== text) {\n _this.history.push(text);\n }\n _this.history_index = _this.history.length;\n }\n _this.state = STATE_OUTPUT;\n callback = _this.input_callback;\n _this.input_callback = null;\n if (callback) {\n callback(text);\n }\n return _this._CheckInputQueue();\n }\n };\n })(this);\n if (this.multiline_callback) {\n if (this.async_multiline) {\n return this.multiline_callback(text, continuation);\n } else {\n return continuation(this.multiline_callback(text));\n }\n } else {\n return continuation(false);\n }\n }\n };\n\n JQConsole.prototype._GetDirectionals = function(back) {\n var $prompt_opposite, $prompt_rel_opposite, $prompt_relative, $prompt_which, MoveDirection, MoveToLimit, where_append, which_end;\n $prompt_which = back ? this.$prompt_left : this.$prompt_right;\n $prompt_opposite = back ? this.$prompt_right : this.$prompt_left;\n $prompt_relative = back ? this.$prompt_before : this.$prompt_after;\n $prompt_rel_opposite = back ? this.$prompt_after : this.$prompt_before;\n MoveToLimit = back ? $.proxy(this.MoveToStart, this) : $.proxy(this.MoveToEnd, this);\n MoveDirection = back ? $.proxy(this._MoveLeft, this) : $.proxy(this._MoveRight, this);\n which_end = back ? 'last' : 'first';\n where_append = back ? 'prependTo' : 'appendTo';\n return {\n $prompt_which: $prompt_which,\n $prompt_opposite: $prompt_opposite,\n $prompt_relative: $prompt_relative,\n $prompt_rel_opposite: $prompt_rel_opposite,\n MoveToLimit: MoveToLimit,\n MoveDirection: MoveDirection,\n which_end: which_end,\n where_append: where_append\n };\n };\n\n JQConsole.prototype._VerticalMove = function(up) {\n var $prompt_opposite, $prompt_relative, $prompt_which, MoveDirection, MoveToLimit, pos, ref, text;\n ref = this._GetDirectionals(up), $prompt_which = ref.$prompt_which, $prompt_opposite = ref.$prompt_opposite, $prompt_relative = ref.$prompt_relative, MoveToLimit = ref.MoveToLimit, MoveDirection = ref.MoveDirection;\n if ($prompt_relative.is(EMPTY_SELECTOR)) {\n return;\n }\n pos = this.$prompt_left.text().length;\n MoveToLimit();\n MoveDirection();\n text = $prompt_which.text();\n $prompt_opposite.text(up ? text.slice(pos) : text.slice(0, pos));\n return $prompt_which.text(up ? text.slice(0, pos) : text.slice(pos));\n };\n\n JQConsole.prototype._MoveUp = function() {\n return this._VerticalMove(true);\n };\n\n JQConsole.prototype._MoveDown = function() {\n return this._VerticalMove();\n };\n\n JQConsole.prototype._HorizontalMove = function(whole_word, back) {\n var $opposite_line, $prompt_opposite, $prompt_rel_opposite, $prompt_relative, $prompt_which, $which_line, len, ref, regexp, text, tmp, where_append, which_end, word;\n ref = this._GetDirectionals(back), $prompt_which = ref.$prompt_which, $prompt_opposite = ref.$prompt_opposite, $prompt_relative = ref.$prompt_relative, $prompt_rel_opposite = ref.$prompt_rel_opposite, which_end = ref.which_end, where_append = ref.where_append;\n regexp = back ? /\\w*\\W*$/ : /^\\w*\\W*/;\n text = $prompt_which.text();\n if (text) {\n if (whole_word) {\n word = text.match(regexp);\n if (!word) {\n return;\n }\n word = word[0];\n tmp = $prompt_opposite.text();\n $prompt_opposite.text(back ? word + tmp : tmp + word);\n len = word.length;\n return $prompt_which.text(back ? text.slice(0, -len) : text.slice(len));\n } else {\n tmp = $prompt_opposite.text();\n $prompt_opposite.text(back ? text.slice(-1) + tmp : tmp + text[0]);\n return $prompt_which.text(back ? text.slice(0, -1) : text.slice(1));\n }\n } else if (!$prompt_relative.is(EMPTY_SELECTOR)) {\n $which_line = $(EMPTY_SPAN)[where_append]($prompt_rel_opposite);\n $which_line.append($(EMPTY_SPAN).text(this.$prompt_label.text()));\n $which_line.append($(EMPTY_SPAN).text($prompt_opposite.text()));\n $opposite_line = $prompt_relative.children()[which_end]().detach();\n this.$prompt_label.text($opposite_line.children().first().text());\n $prompt_which.text($opposite_line.children().last().text());\n return $prompt_opposite.text('');\n }\n };\n\n JQConsole.prototype._MoveLeft = function(whole_word) {\n return this._HorizontalMove(whole_word, true);\n };\n\n JQConsole.prototype._MoveRight = function(whole_word) {\n return this._HorizontalMove(whole_word);\n };\n\n JQConsole.prototype._MoveTo = function(all_lines, back) {\n var $prompt_opposite, $prompt_relative, $prompt_which, MoveDirection, MoveToLimit, ref, results;\n ref = this._GetDirectionals(back), $prompt_which = ref.$prompt_which, $prompt_opposite = ref.$prompt_opposite, $prompt_relative = ref.$prompt_relative, MoveToLimit = ref.MoveToLimit, MoveDirection = ref.MoveDirection;\n if (all_lines) {\n results = [];\n while (!($prompt_relative.is(EMPTY_SELECTOR) && $prompt_which.text() === '')) {\n MoveToLimit(false);\n results.push(MoveDirection(false));\n }\n return results;\n } else {\n $prompt_opposite.text(this.$prompt_left.text() + this.$prompt_right.text());\n return $prompt_which.text('');\n }\n };\n\n JQConsole.prototype._Delete = function(whole_word) {\n var $lower_line, text, word;\n text = this.$prompt_right.text();\n if (text) {\n if (whole_word) {\n word = text.match(/^\\w*\\W*/);\n if (!word) {\n return;\n }\n word = word[0];\n return this.$prompt_right.text(text.slice(word.length));\n } else {\n return this.$prompt_right.text(text.slice(1));\n }\n } else if (!this.$prompt_after.is(EMPTY_SELECTOR)) {\n $lower_line = this.$prompt_after.children().first().detach();\n return this.$prompt_right.text($lower_line.children().last().text());\n }\n };\n\n JQConsole.prototype._Backspace = function(whole_word) {\n var $upper_line, text, word;\n setTimeout($.proxy(this._ScrollToEnd, this), 0);\n text = this.$prompt_left.text();\n if (text) {\n if (whole_word) {\n word = text.match(/\\w*\\W*$/);\n if (!word) {\n return;\n }\n word = word[0];\n return this.$prompt_left.text(text.slice(0, -word.length));\n } else {\n return this.$prompt_left.text(text.slice(0, -1));\n }\n } else if (!this.$prompt_before.is(EMPTY_SELECTOR)) {\n $upper_line = this.$prompt_before.children().last().detach();\n this.$prompt_label.text($upper_line.children().first().text());\n return this.$prompt_left.text($upper_line.children().last().text());\n }\n };\n\n JQConsole.prototype._Indent = function() {\n var _;\n return this.$prompt_left.prepend(((function() {\n var j, ref, results;\n results = [];\n for (_ = j = 1, ref = this.indent_width; 1 <= ref ? j <= ref : j >= ref; _ = 1 <= ref ? ++j : --j) {\n results.push(' ');\n }\n return results;\n }).call(this)).join(''));\n };\n\n JQConsole.prototype._Unindent = function() {\n var _, j, line_text, ref, results;\n line_text = this.$prompt_left.text() + this.$prompt_right.text();\n results = [];\n for (_ = j = 1, ref = this.indent_width; 1 <= ref ? j <= ref : j >= ref; _ = 1 <= ref ? ++j : --j) {\n if (!/^ /.test(line_text)) {\n break;\n }\n if (this.$prompt_left.text()) {\n this.$prompt_left.text(this.$prompt_left.text().slice(1));\n } else {\n this.$prompt_right.text(this.$prompt_right.text().slice(1));\n }\n results.push(line_text = line_text.slice(1));\n }\n return results;\n };\n\n JQConsole.prototype._InsertNewLine = function(indent) {\n var $old_line, match, old_prompt;\n if (indent == null) {\n indent = false;\n }\n old_prompt = this._SelectPromptLabel(!this.$prompt_before.is(EMPTY_SELECTOR));\n $old_line = $(EMPTY_SPAN).appendTo(this.$prompt_before);\n $old_line.append($(EMPTY_SPAN).text(old_prompt));\n $old_line.append($(EMPTY_SPAN).addClass(CLASS_PROMPT_TEXT).text(this.$prompt_left.text()));\n this.$prompt_label.text(this._SelectPromptLabel(true));\n if (indent && (match = this.$prompt_left.text().match(/^\\s+/))) {\n this.$prompt_left.text(match[0]);\n } else {\n this.$prompt_left.text('');\n }\n return this._ScrollToEnd();\n };\n\n JQConsole.prototype._AppendPromptText = function(text) {\n var j, len1, line, lines, ref, results;\n lines = text.split(NEWLINE);\n this.$prompt_left.text(this.$prompt_left.text() + lines[0]);\n ref = lines.slice(1);\n results = [];\n for (j = 0, len1 = ref.length; j < len1; j++) {\n line = ref[j];\n this._InsertNewLine();\n results.push(this.$prompt_left.text(line));\n }\n return results;\n };\n\n JQConsole.prototype._ScrollPage = function(dir) {\n var target;\n target = this.$container[0].scrollTop;\n if (dir === 'up') {\n target -= this.$container.height();\n } else {\n target += this.$container.height();\n }\n return this.$container.stop().animate({\n scrollTop: target\n }, 'fast');\n };\n\n JQConsole.prototype._ScrollToEnd = function() {\n var pos;\n this.$container.scrollTop(this.$container[0].scrollHeight);\n pos = this.$prompt_cursor.position();\n this.$input_container.css({\n left: pos.left,\n top: pos.top\n });\n if (this.auto_focus) {\n return setTimeout(this.ScrollWindowToPrompt.bind(this), 50);\n }\n };\n\n JQConsole.prototype.ScrollWindowToPrompt = function() {\n var doc_height, line_height, optimal_pos, pos, screen_left, screen_top;\n line_height = this.$prompt_cursor.height();\n screen_top = this.$window.scrollTop();\n screen_left = this.$window.scrollLeft();\n doc_height = document.documentElement.clientHeight;\n pos = this.$prompt_cursor.offset();\n optimal_pos = pos.top - (2 * line_height);\n if (this.isMobile && (typeof orientation !== \"undefined\" && orientation !== null)) {\n if (screen_top < pos.top || screen_top > pos.top) {\n return this.$window.scrollTop(optimal_pos);\n }\n } else {\n if (screen_top + doc_height < pos.top) {\n return this.$window.scrollTop(pos.top - doc_height + line_height);\n } else if (screen_top > optimal_pos) {\n return this.$window.scrollTop(pos.top);\n }\n }\n };\n\n JQConsole.prototype._SelectPromptLabel = function(continuation) {\n if (this.state === STATE_PROMPT) {\n if (continuation) {\n return ' \\n' + this.prompt_label_continue;\n } else {\n return this.prompt_label_main;\n }\n } else {\n if (continuation) {\n return '\\n ';\n } else {\n return ' ';\n }\n }\n };\n\n JQConsole.prototype._Wrap = function($elem, index, cls) {\n var html, text;\n text = $elem.html();\n html = text.slice(0, index) + spanHtml(cls, text[index]) + text.slice(index + 1);\n return $elem.html(html);\n };\n\n JQConsole.prototype._WalkCharacters = function(text, char, opposing_char, current_count, back) {\n var ch, index, read_char;\n index = back ? text.length : 0;\n text = text.split('');\n read_char = function() {\n var j, ref, ref1, ret;\n if (back) {\n ref = text, text = 2 <= ref.length ? slice.call(ref, 0, j = ref.length - 1) : (j = 0, []), ret = ref[j++];\n } else {\n ref1 = text, ret = ref1[0], text = 2 <= ref1.length ? slice.call(ref1, 1) : [];\n }\n if (ret) {\n index = index + (back ? -1 : +1);\n }\n return ret;\n };\n while (ch = read_char()) {\n if (ch === char) {\n current_count++;\n } else if (ch === opposing_char) {\n current_count--;\n }\n if (current_count === 0) {\n return {\n index: index,\n current_count: current_count\n };\n }\n }\n return {\n index: -1,\n current_count: current_count\n };\n };\n\n JQConsole.prototype._ProcessMatch = function(config, back, before_char) {\n var $collection, $prompt_relative, $prompt_which, char, current_count, found, index, opposing_char, ref, ref1, ref2, text;\n ref = back ? [config['closing_char'], config['opening_char']] : [config['opening_char'], config['closing_char']], char = ref[0], opposing_char = ref[1];\n ref1 = this._GetDirectionals(back), $prompt_which = ref1.$prompt_which, $prompt_relative = ref1.$prompt_relative;\n current_count = 1;\n found = false;\n text = $prompt_which.html();\n if (!back) {\n text = text.slice(1);\n }\n if (before_char && back) {\n text = text.slice(0, -1);\n }\n ref2 = this._WalkCharacters(text, char, opposing_char, current_count, back), index = ref2.index, current_count = ref2.current_count;\n if (index > -1) {\n this._Wrap($prompt_which, index, config.cls);\n found = true;\n } else {\n $collection = $prompt_relative.children();\n $collection = back ? Array.prototype.reverse.call($collection) : $collection;\n $collection.each((function(_this) {\n return function(i, elem) {\n var $elem, ref3;\n $elem = $(elem).children().last();\n text = $elem.html();\n ref3 = _this._WalkCharacters(text, char, opposing_char, current_count, back), index = ref3.index, current_count = ref3.current_count;\n if (index > -1) {\n if (!back) {\n index--;\n }\n _this._Wrap($elem, index, config.cls);\n found = true;\n return false;\n }\n };\n })(this));\n }\n return found;\n };\n\n JQConsole.prototype._CheckMatchings = function(before_char) {\n var cls, config, current_char, found, j, len1, ref;\n current_char = before_char ? this.$prompt_left.text().slice(this.$prompt_left.text().length - 1) : this.$prompt_right.text()[0];\n ref = this.matchings.clss;\n for (j = 0, len1 = ref.length; j < len1; j++) {\n cls = ref[j];\n $('.' + cls, this.$console).contents().unwrap();\n }\n if (config = this.matchings.closings[current_char]) {\n found = this._ProcessMatch(config, true, before_char);\n } else if (config = this.matchings.openings[current_char]) {\n found = this._ProcessMatch(config, false, before_char);\n } else if (!before_char) {\n this._CheckMatchings(true);\n }\n if (before_char) {\n if (found) {\n return this._Wrap(this.$prompt_left, this.$prompt_left.html().length - 1, config.cls);\n }\n } else {\n if (found) {\n return this._Wrap(this.$prompt_right, 0, config.cls);\n }\n }\n };\n\n JQConsole.prototype._HistoryPrevious = function() {\n if (!this.history_active) {\n return;\n }\n if (this.history_index <= 0) {\n return;\n }\n if (this.history_index === this.history.length) {\n this.history_new = this.GetPromptText();\n }\n return this.SetPromptText(this.history[--this.history_index]);\n };\n\n JQConsole.prototype._HistoryNext = function() {\n if (!this.history_active) {\n return;\n }\n if (this.history_index >= this.history.length) {\n return;\n }\n if (this.history_index === this.history.length - 1) {\n this.history_index++;\n return this.SetPromptText(this.history_new);\n } else {\n return this.SetPromptText(this.history[++this.history_index]);\n }\n };\n\n JQConsole.prototype._CheckComposition = function(e) {\n var key;\n key = e.keyCode || e.which;\n if (key === 229) {\n if (this.in_composition) {\n return this._UpdateComposition();\n } else {\n return this._StartComposition();\n }\n }\n };\n\n JQConsole.prototype._StartComposition = function() {\n if (this.in_composition) {\n return;\n }\n this.in_composition = true;\n this._ShowComposition();\n return setTimeout(this._UpdateComposition, 0);\n };\n\n JQConsole.prototype._EndComposition = function() {\n if (!this.in_composition) {\n return;\n }\n this._HideComposition();\n this.$prompt_left.text(this.$prompt_left.text() + this.$composition.text());\n this.$composition.text('');\n this.$input_source.val('');\n return this.in_composition = false;\n };\n\n JQConsole.prototype._UpdateComposition = function(e) {\n var cb;\n cb = (function(_this) {\n return function() {\n if (!_this.in_composition) {\n return;\n }\n return _this.$composition.text(_this.$input_source.val());\n };\n })(this);\n return setTimeout(cb, 0);\n };\n\n JQConsole.prototype._ShowComposition = function() {\n this.$composition.css('height', this.$prompt_cursor.height());\n this.$composition.empty();\n return this.$composition.appendTo(this.$prompt_left);\n };\n\n JQConsole.prototype._HideComposition = function() {\n return this.$composition.detach();\n };\n\n return JQConsole;\n\n })();\n\n $.fn.jqconsole = function(header, prompt_main, prompt_continue, disable_auto_focus) {\n return new JQConsole(this, header, prompt_main, prompt_continue, disable_auto_focus);\n };\n\n $.fn.jqconsole.JQConsole = JQConsole;\n\n $.fn.jqconsole.Ansi = Ansi;\n\n}).call(this);\n"},A94l:function(e,t,n){n("KF6U")(n("/Fcp"))},"D+cN":function(e,t,n){n("KF6U")(n("58g1"))},KF6U:function(e,t){e.exports=function(e){function t(e){"undefined"!=typeof console&&(console.error||console.log)("[Script Loader]",e)}try{"undefined"!=typeof execScript&&function(){return"undefined"!=typeof attachEvent&&"undefined"==typeof addEventListener}()?execScript(e):"undefined"!=typeof eval?eval.call(null,e):t("EvalError: No eval function available")}catch(e){t(e)}}}},[3]); \ No newline at end of file diff --git a/Servidor JEE/WebContent/styles.48c12e7a786677f044dc.bundle.css b/Servidor JEE/WebContent/styles.48c12e7a786677f044dc.bundle.css deleted file mode 100644 index e48d3b34bcfc7fbcc4da08fc1e59e2bf644f37b1..0000000000000000000000000000000000000000 --- a/Servidor JEE/WebContent/styles.48c12e7a786677f044dc.bundle.css +++ /dev/null @@ -1,10 +0,0 @@ -@import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,300,600);/*! - * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome - * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) - */@font-face{font-family:FontAwesome;src:url(fontawesome-webfont.674f50d287a8c48dc19b.eot);src:url(fontawesome-webfont.674f50d287a8c48dc19b.eot?#iefix&v=4.7.0) format("embedded-opentype"),url(fontawesome-webfont.af7ae505a9eed503f8b8.woff2) format("woff2"),url(fontawesome-webfont.fee66e712a8a08eef580.woff) format("woff"),url(fontawesome-webfont.b06871f281fee6b241d6.ttf) format("truetype"),url(fontawesome-webfont.912ec66d7572ff821749.svg#fontawesomeregular) format("svg");font-weight:400;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:.08em solid #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scaleY(-1);transform:scaleY(-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\F000"}.fa-music:before{content:"\F001"}.fa-search:before{content:"\F002"}.fa-envelope-o:before{content:"\F003"}.fa-heart:before{content:"\F004"}.fa-star:before{content:"\F005"}.fa-star-o:before{content:"\F006"}.fa-user:before{content:"\F007"}.fa-film:before{content:"\F008"}.fa-th-large:before{content:"\F009"}.fa-th:before{content:"\F00A"}.fa-th-list:before{content:"\F00B"}.fa-check:before{content:"\F00C"}.fa-close:before,.fa-remove:before,.fa-times:before{content:"\F00D"}.fa-search-plus:before{content:"\F00E"}.fa-search-minus:before{content:"\F010"}.fa-power-off:before{content:"\F011"}.fa-signal:before{content:"\F012"}.fa-cog:before,.fa-gear:before{content:"\F013"}.fa-trash-o:before{content:"\F014"}.fa-home:before{content:"\F015"}.fa-file-o:before{content:"\F016"}.fa-clock-o:before{content:"\F017"}.fa-road:before{content:"\F018"}.fa-download:before{content:"\F019"}.fa-arrow-circle-o-down:before{content:"\F01A"}.fa-arrow-circle-o-up:before{content:"\F01B"}.fa-inbox:before{content:"\F01C"}.fa-play-circle-o:before{content:"\F01D"}.fa-repeat:before,.fa-rotate-right:before{content:"\F01E"}.fa-refresh:before{content:"\F021"}.fa-list-alt:before{content:"\F022"}.fa-lock:before{content:"\F023"}.fa-flag:before{content:"\F024"}.fa-headphones:before{content:"\F025"}.fa-volume-off:before{content:"\F026"}.fa-volume-down:before{content:"\F027"}.fa-volume-up:before{content:"\F028"}.fa-qrcode:before{content:"\F029"}.fa-barcode:before{content:"\F02A"}.fa-tag:before{content:"\F02B"}.fa-tags:before{content:"\F02C"}.fa-book:before{content:"\F02D"}.fa-bookmark:before{content:"\F02E"}.fa-print:before{content:"\F02F"}.fa-camera:before{content:"\F030"}.fa-font:before{content:"\F031"}.fa-bold:before{content:"\F032"}.fa-italic:before{content:"\F033"}.fa-text-height:before{content:"\F034"}.fa-text-width:before{content:"\F035"}.fa-align-left:before{content:"\F036"}.fa-align-center:before{content:"\F037"}.fa-align-right:before{content:"\F038"}.fa-align-justify:before{content:"\F039"}.fa-list:before{content:"\F03A"}.fa-dedent:before,.fa-outdent:before{content:"\F03B"}.fa-indent:before{content:"\F03C"}.fa-video-camera:before{content:"\F03D"}.fa-image:before,.fa-photo:before,.fa-picture-o:before{content:"\F03E"}.fa-pencil:before{content:"\F040"}.fa-map-marker:before{content:"\F041"}.fa-adjust:before{content:"\F042"}.fa-tint:before{content:"\F043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\F044"}.fa-share-square-o:before{content:"\F045"}.fa-check-square-o:before{content:"\F046"}.fa-arrows:before{content:"\F047"}.fa-step-backward:before{content:"\F048"}.fa-fast-backward:before{content:"\F049"}.fa-backward:before{content:"\F04A"}.fa-play:before{content:"\F04B"}.fa-pause:before{content:"\F04C"}.fa-stop:before{content:"\F04D"}.fa-forward:before{content:"\F04E"}.fa-fast-forward:before{content:"\F050"}.fa-step-forward:before{content:"\F051"}.fa-eject:before{content:"\F052"}.fa-chevron-left:before{content:"\F053"}.fa-chevron-right:before{content:"\F054"}.fa-plus-circle:before{content:"\F055"}.fa-minus-circle:before{content:"\F056"}.fa-times-circle:before{content:"\F057"}.fa-check-circle:before{content:"\F058"}.fa-question-circle:before{content:"\F059"}.fa-info-circle:before{content:"\F05A"}.fa-crosshairs:before{content:"\F05B"}.fa-times-circle-o:before{content:"\F05C"}.fa-check-circle-o:before{content:"\F05D"}.fa-ban:before{content:"\F05E"}.fa-arrow-left:before{content:"\F060"}.fa-arrow-right:before{content:"\F061"}.fa-arrow-up:before{content:"\F062"}.fa-arrow-down:before{content:"\F063"}.fa-mail-forward:before,.fa-share:before{content:"\F064"}.fa-expand:before{content:"\F065"}.fa-compress:before{content:"\F066"}.fa-plus:before{content:"\F067"}.fa-minus:before{content:"\F068"}.fa-asterisk:before{content:"\F069"}.fa-exclamation-circle:before{content:"\F06A"}.fa-gift:before{content:"\F06B"}.fa-leaf:before{content:"\F06C"}.fa-fire:before{content:"\F06D"}.fa-eye:before{content:"\F06E"}.fa-eye-slash:before{content:"\F070"}.fa-exclamation-triangle:before,.fa-warning:before{content:"\F071"}.fa-plane:before{content:"\F072"}.fa-calendar:before{content:"\F073"}.fa-random:before{content:"\F074"}.fa-comment:before{content:"\F075"}.fa-magnet:before{content:"\F076"}.fa-chevron-up:before{content:"\F077"}.fa-chevron-down:before{content:"\F078"}.fa-retweet:before{content:"\F079"}.fa-shopping-cart:before{content:"\F07A"}.fa-folder:before{content:"\F07B"}.fa-folder-open:before{content:"\F07C"}.fa-arrows-v:before{content:"\F07D"}.fa-arrows-h:before{content:"\F07E"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\F080"}.fa-twitter-square:before{content:"\F081"}.fa-facebook-square:before{content:"\F082"}.fa-camera-retro:before{content:"\F083"}.fa-key:before{content:"\F084"}.fa-cogs:before,.fa-gears:before{content:"\F085"}.fa-comments:before{content:"\F086"}.fa-thumbs-o-up:before{content:"\F087"}.fa-thumbs-o-down:before{content:"\F088"}.fa-star-half:before{content:"\F089"}.fa-heart-o:before{content:"\F08A"}.fa-sign-out:before{content:"\F08B"}.fa-linkedin-square:before{content:"\F08C"}.fa-thumb-tack:before{content:"\F08D"}.fa-external-link:before{content:"\F08E"}.fa-sign-in:before{content:"\F090"}.fa-trophy:before{content:"\F091"}.fa-github-square:before{content:"\F092"}.fa-upload:before{content:"\F093"}.fa-lemon-o:before{content:"\F094"}.fa-phone:before{content:"\F095"}.fa-square-o:before{content:"\F096"}.fa-bookmark-o:before{content:"\F097"}.fa-phone-square:before{content:"\F098"}.fa-twitter:before{content:"\F099"}.fa-facebook-f:before,.fa-facebook:before{content:"\F09A"}.fa-github:before{content:"\F09B"}.fa-unlock:before{content:"\F09C"}.fa-credit-card:before{content:"\F09D"}.fa-feed:before,.fa-rss:before{content:"\F09E"}.fa-hdd-o:before{content:"\F0A0"}.fa-bullhorn:before{content:"\F0A1"}.fa-bell:before{content:"\F0F3"}.fa-certificate:before{content:"\F0A3"}.fa-hand-o-right:before{content:"\F0A4"}.fa-hand-o-left:before{content:"\F0A5"}.fa-hand-o-up:before{content:"\F0A6"}.fa-hand-o-down:before{content:"\F0A7"}.fa-arrow-circle-left:before{content:"\F0A8"}.fa-arrow-circle-right:before{content:"\F0A9"}.fa-arrow-circle-up:before{content:"\F0AA"}.fa-arrow-circle-down:before{content:"\F0AB"}.fa-globe:before{content:"\F0AC"}.fa-wrench:before{content:"\F0AD"}.fa-tasks:before{content:"\F0AE"}.fa-filter:before{content:"\F0B0"}.fa-briefcase:before{content:"\F0B1"}.fa-arrows-alt:before{content:"\F0B2"}.fa-group:before,.fa-users:before{content:"\F0C0"}.fa-chain:before,.fa-link:before{content:"\F0C1"}.fa-cloud:before{content:"\F0C2"}.fa-flask:before{content:"\F0C3"}.fa-cut:before,.fa-scissors:before{content:"\F0C4"}.fa-copy:before,.fa-files-o:before{content:"\F0C5"}.fa-paperclip:before{content:"\F0C6"}.fa-floppy-o:before,.fa-save:before{content:"\F0C7"}.fa-square:before{content:"\F0C8"}.fa-bars:before,.fa-navicon:before,.fa-reorder:before{content:"\F0C9"}.fa-list-ul:before{content:"\F0CA"}.fa-list-ol:before{content:"\F0CB"}.fa-strikethrough:before{content:"\F0CC"}.fa-underline:before{content:"\F0CD"}.fa-table:before{content:"\F0CE"}.fa-magic:before{content:"\F0D0"}.fa-truck:before{content:"\F0D1"}.fa-pinterest:before{content:"\F0D2"}.fa-pinterest-square:before{content:"\F0D3"}.fa-google-plus-square:before{content:"\F0D4"}.fa-google-plus:before{content:"\F0D5"}.fa-money:before{content:"\F0D6"}.fa-caret-down:before{content:"\F0D7"}.fa-caret-up:before{content:"\F0D8"}.fa-caret-left:before{content:"\F0D9"}.fa-caret-right:before{content:"\F0DA"}.fa-columns:before{content:"\F0DB"}.fa-sort:before,.fa-unsorted:before{content:"\F0DC"}.fa-sort-desc:before,.fa-sort-down:before{content:"\F0DD"}.fa-sort-asc:before,.fa-sort-up:before{content:"\F0DE"}.fa-envelope:before{content:"\F0E0"}.fa-linkedin:before{content:"\F0E1"}.fa-rotate-left:before,.fa-undo:before{content:"\F0E2"}.fa-gavel:before,.fa-legal:before{content:"\F0E3"}.fa-dashboard:before,.fa-tachometer:before{content:"\F0E4"}.fa-comment-o:before{content:"\F0E5"}.fa-comments-o:before{content:"\F0E6"}.fa-bolt:before,.fa-flash:before{content:"\F0E7"}.fa-sitemap:before{content:"\F0E8"}.fa-umbrella:before{content:"\F0E9"}.fa-clipboard:before,.fa-paste:before{content:"\F0EA"}.fa-lightbulb-o:before{content:"\F0EB"}.fa-exchange:before{content:"\F0EC"}.fa-cloud-download:before{content:"\F0ED"}.fa-cloud-upload:before{content:"\F0EE"}.fa-user-md:before{content:"\F0F0"}.fa-stethoscope:before{content:"\F0F1"}.fa-suitcase:before{content:"\F0F2"}.fa-bell-o:before{content:"\F0A2"}.fa-coffee:before{content:"\F0F4"}.fa-cutlery:before{content:"\F0F5"}.fa-file-text-o:before{content:"\F0F6"}.fa-building-o:before{content:"\F0F7"}.fa-hospital-o:before{content:"\F0F8"}.fa-ambulance:before{content:"\F0F9"}.fa-medkit:before{content:"\F0FA"}.fa-fighter-jet:before{content:"\F0FB"}.fa-beer:before{content:"\F0FC"}.fa-h-square:before{content:"\F0FD"}.fa-plus-square:before{content:"\F0FE"}.fa-angle-double-left:before{content:"\F100"}.fa-angle-double-right:before{content:"\F101"}.fa-angle-double-up:before{content:"\F102"}.fa-angle-double-down:before{content:"\F103"}.fa-angle-left:before{content:"\F104"}.fa-angle-right:before{content:"\F105"}.fa-angle-up:before{content:"\F106"}.fa-angle-down:before{content:"\F107"}.fa-desktop:before{content:"\F108"}.fa-laptop:before{content:"\F109"}.fa-tablet:before{content:"\F10A"}.fa-mobile-phone:before,.fa-mobile:before{content:"\F10B"}.fa-circle-o:before{content:"\F10C"}.fa-quote-left:before{content:"\F10D"}.fa-quote-right:before{content:"\F10E"}.fa-spinner:before{content:"\F110"}.fa-circle:before{content:"\F111"}.fa-mail-reply:before,.fa-reply:before{content:"\F112"}.fa-github-alt:before{content:"\F113"}.fa-folder-o:before{content:"\F114"}.fa-folder-open-o:before{content:"\F115"}.fa-smile-o:before{content:"\F118"}.fa-frown-o:before{content:"\F119"}.fa-meh-o:before{content:"\F11A"}.fa-gamepad:before{content:"\F11B"}.fa-keyboard-o:before{content:"\F11C"}.fa-flag-o:before{content:"\F11D"}.fa-flag-checkered:before{content:"\F11E"}.fa-terminal:before{content:"\F120"}.fa-code:before{content:"\F121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\F122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\F123"}.fa-location-arrow:before{content:"\F124"}.fa-crop:before{content:"\F125"}.fa-code-fork:before{content:"\F126"}.fa-chain-broken:before,.fa-unlink:before{content:"\F127"}.fa-question:before{content:"\F128"}.fa-info:before{content:"\F129"}.fa-exclamation:before{content:"\F12A"}.fa-superscript:before{content:"\F12B"}.fa-subscript:before{content:"\F12C"}.fa-eraser:before{content:"\F12D"}.fa-puzzle-piece:before{content:"\F12E"}.fa-microphone:before{content:"\F130"}.fa-microphone-slash:before{content:"\F131"}.fa-shield:before{content:"\F132"}.fa-calendar-o:before{content:"\F133"}.fa-fire-extinguisher:before{content:"\F134"}.fa-rocket:before{content:"\F135"}.fa-maxcdn:before{content:"\F136"}.fa-chevron-circle-left:before{content:"\F137"}.fa-chevron-circle-right:before{content:"\F138"}.fa-chevron-circle-up:before{content:"\F139"}.fa-chevron-circle-down:before{content:"\F13A"}.fa-html5:before{content:"\F13B"}.fa-css3:before{content:"\F13C"}.fa-anchor:before{content:"\F13D"}.fa-unlock-alt:before{content:"\F13E"}.fa-bullseye:before{content:"\F140"}.fa-ellipsis-h:before{content:"\F141"}.fa-ellipsis-v:before{content:"\F142"}.fa-rss-square:before{content:"\F143"}.fa-play-circle:before{content:"\F144"}.fa-ticket:before{content:"\F145"}.fa-minus-square:before{content:"\F146"}.fa-minus-square-o:before{content:"\F147"}.fa-level-up:before{content:"\F148"}.fa-level-down:before{content:"\F149"}.fa-check-square:before{content:"\F14A"}.fa-pencil-square:before{content:"\F14B"}.fa-external-link-square:before{content:"\F14C"}.fa-share-square:before{content:"\F14D"}.fa-compass:before{content:"\F14E"}.fa-caret-square-o-down:before,.fa-toggle-down:before{content:"\F150"}.fa-caret-square-o-up:before,.fa-toggle-up:before{content:"\F151"}.fa-caret-square-o-right:before,.fa-toggle-right:before{content:"\F152"}.fa-eur:before,.fa-euro:before{content:"\F153"}.fa-gbp:before{content:"\F154"}.fa-dollar:before,.fa-usd:before{content:"\F155"}.fa-inr:before,.fa-rupee:before{content:"\F156"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen:before{content:"\F157"}.fa-rouble:before,.fa-rub:before,.fa-ruble:before{content:"\F158"}.fa-krw:before,.fa-won:before{content:"\F159"}.fa-bitcoin:before,.fa-btc:before{content:"\F15A"}.fa-file:before{content:"\F15B"}.fa-file-text:before{content:"\F15C"}.fa-sort-alpha-asc:before{content:"\F15D"}.fa-sort-alpha-desc:before{content:"\F15E"}.fa-sort-amount-asc:before{content:"\F160"}.fa-sort-amount-desc:before{content:"\F161"}.fa-sort-numeric-asc:before{content:"\F162"}.fa-sort-numeric-desc:before{content:"\F163"}.fa-thumbs-up:before{content:"\F164"}.fa-thumbs-down:before{content:"\F165"}.fa-youtube-square:before{content:"\F166"}.fa-youtube:before{content:"\F167"}.fa-xing:before{content:"\F168"}.fa-xing-square:before{content:"\F169"}.fa-youtube-play:before{content:"\F16A"}.fa-dropbox:before{content:"\F16B"}.fa-stack-overflow:before{content:"\F16C"}.fa-instagram:before{content:"\F16D"}.fa-flickr:before{content:"\F16E"}.fa-adn:before{content:"\F170"}.fa-bitbucket:before{content:"\F171"}.fa-bitbucket-square:before{content:"\F172"}.fa-tumblr:before{content:"\F173"}.fa-tumblr-square:before{content:"\F174"}.fa-long-arrow-down:before{content:"\F175"}.fa-long-arrow-up:before{content:"\F176"}.fa-long-arrow-left:before{content:"\F177"}.fa-long-arrow-right:before{content:"\F178"}.fa-apple:before{content:"\F179"}.fa-windows:before{content:"\F17A"}.fa-android:before{content:"\F17B"}.fa-linux:before{content:"\F17C"}.fa-dribbble:before{content:"\F17D"}.fa-skype:before{content:"\F17E"}.fa-foursquare:before{content:"\F180"}.fa-trello:before{content:"\F181"}.fa-female:before{content:"\F182"}.fa-male:before{content:"\F183"}.fa-gittip:before,.fa-gratipay:before{content:"\F184"}.fa-sun-o:before{content:"\F185"}.fa-moon-o:before{content:"\F186"}.fa-archive:before{content:"\F187"}.fa-bug:before{content:"\F188"}.fa-vk:before{content:"\F189"}.fa-weibo:before{content:"\F18A"}.fa-renren:before{content:"\F18B"}.fa-pagelines:before{content:"\F18C"}.fa-stack-exchange:before{content:"\F18D"}.fa-arrow-circle-o-right:before{content:"\F18E"}.fa-arrow-circle-o-left:before{content:"\F190"}.fa-caret-square-o-left:before,.fa-toggle-left:before{content:"\F191"}.fa-dot-circle-o:before{content:"\F192"}.fa-wheelchair:before{content:"\F193"}.fa-vimeo-square:before{content:"\F194"}.fa-try:before,.fa-turkish-lira:before{content:"\F195"}.fa-plus-square-o:before{content:"\F196"}.fa-space-shuttle:before{content:"\F197"}.fa-slack:before{content:"\F198"}.fa-envelope-square:before{content:"\F199"}.fa-wordpress:before{content:"\F19A"}.fa-openid:before{content:"\F19B"}.fa-bank:before,.fa-institution:before,.fa-university:before{content:"\F19C"}.fa-graduation-cap:before,.fa-mortar-board:before{content:"\F19D"}.fa-yahoo:before{content:"\F19E"}.fa-google:before{content:"\F1A0"}.fa-reddit:before{content:"\F1A1"}.fa-reddit-square:before{content:"\F1A2"}.fa-stumbleupon-circle:before{content:"\F1A3"}.fa-stumbleupon:before{content:"\F1A4"}.fa-delicious:before{content:"\F1A5"}.fa-digg:before{content:"\F1A6"}.fa-pied-piper-pp:before{content:"\F1A7"}.fa-pied-piper-alt:before{content:"\F1A8"}.fa-drupal:before{content:"\F1A9"}.fa-joomla:before{content:"\F1AA"}.fa-language:before{content:"\F1AB"}.fa-fax:before{content:"\F1AC"}.fa-building:before{content:"\F1AD"}.fa-child:before{content:"\F1AE"}.fa-paw:before{content:"\F1B0"}.fa-spoon:before{content:"\F1B1"}.fa-cube:before{content:"\F1B2"}.fa-cubes:before{content:"\F1B3"}.fa-behance:before{content:"\F1B4"}.fa-behance-square:before{content:"\F1B5"}.fa-steam:before{content:"\F1B6"}.fa-steam-square:before{content:"\F1B7"}.fa-recycle:before{content:"\F1B8"}.fa-automobile:before,.fa-car:before{content:"\F1B9"}.fa-cab:before,.fa-taxi:before{content:"\F1BA"}.fa-tree:before{content:"\F1BB"}.fa-spotify:before{content:"\F1BC"}.fa-deviantart:before{content:"\F1BD"}.fa-soundcloud:before{content:"\F1BE"}.fa-database:before{content:"\F1C0"}.fa-file-pdf-o:before{content:"\F1C1"}.fa-file-word-o:before{content:"\F1C2"}.fa-file-excel-o:before{content:"\F1C3"}.fa-file-powerpoint-o:before{content:"\F1C4"}.fa-file-image-o:before,.fa-file-photo-o:before,.fa-file-picture-o:before{content:"\F1C5"}.fa-file-archive-o:before,.fa-file-zip-o:before{content:"\F1C6"}.fa-file-audio-o:before,.fa-file-sound-o:before{content:"\F1C7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\F1C8"}.fa-file-code-o:before{content:"\F1C9"}.fa-vine:before{content:"\F1CA"}.fa-codepen:before{content:"\F1CB"}.fa-jsfiddle:before{content:"\F1CC"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-ring:before,.fa-life-saver:before,.fa-support:before{content:"\F1CD"}.fa-circle-o-notch:before{content:"\F1CE"}.fa-ra:before,.fa-rebel:before,.fa-resistance:before{content:"\F1D0"}.fa-empire:before,.fa-ge:before{content:"\F1D1"}.fa-git-square:before{content:"\F1D2"}.fa-git:before{content:"\F1D3"}.fa-hacker-news:before,.fa-y-combinator-square:before,.fa-yc-square:before{content:"\F1D4"}.fa-tencent-weibo:before{content:"\F1D5"}.fa-qq:before{content:"\F1D6"}.fa-wechat:before,.fa-weixin:before{content:"\F1D7"}.fa-paper-plane:before,.fa-send:before{content:"\F1D8"}.fa-paper-plane-o:before,.fa-send-o:before{content:"\F1D9"}.fa-history:before{content:"\F1DA"}.fa-circle-thin:before{content:"\F1DB"}.fa-header:before{content:"\F1DC"}.fa-paragraph:before{content:"\F1DD"}.fa-sliders:before{content:"\F1DE"}.fa-share-alt:before{content:"\F1E0"}.fa-share-alt-square:before{content:"\F1E1"}.fa-bomb:before{content:"\F1E2"}.fa-futbol-o:before,.fa-soccer-ball-o:before{content:"\F1E3"}.fa-tty:before{content:"\F1E4"}.fa-binoculars:before{content:"\F1E5"}.fa-plug:before{content:"\F1E6"}.fa-slideshare:before{content:"\F1E7"}.fa-twitch:before{content:"\F1E8"}.fa-yelp:before{content:"\F1E9"}.fa-newspaper-o:before{content:"\F1EA"}.fa-wifi:before{content:"\F1EB"}.fa-calculator:before{content:"\F1EC"}.fa-paypal:before{content:"\F1ED"}.fa-google-wallet:before{content:"\F1EE"}.fa-cc-visa:before{content:"\F1F0"}.fa-cc-mastercard:before{content:"\F1F1"}.fa-cc-discover:before{content:"\F1F2"}.fa-cc-amex:before{content:"\F1F3"}.fa-cc-paypal:before{content:"\F1F4"}.fa-cc-stripe:before{content:"\F1F5"}.fa-bell-slash:before{content:"\F1F6"}.fa-bell-slash-o:before{content:"\F1F7"}.fa-trash:before{content:"\F1F8"}.fa-copyright:before{content:"\F1F9"}.fa-at:before{content:"\F1FA"}.fa-eyedropper:before{content:"\F1FB"}.fa-paint-brush:before{content:"\F1FC"}.fa-birthday-cake:before{content:"\F1FD"}.fa-area-chart:before{content:"\F1FE"}.fa-pie-chart:before{content:"\F200"}.fa-line-chart:before{content:"\F201"}.fa-lastfm:before{content:"\F202"}.fa-lastfm-square:before{content:"\F203"}.fa-toggle-off:before{content:"\F204"}.fa-toggle-on:before{content:"\F205"}.fa-bicycle:before{content:"\F206"}.fa-bus:before{content:"\F207"}.fa-ioxhost:before{content:"\F208"}.fa-angellist:before{content:"\F209"}.fa-cc:before{content:"\F20A"}.fa-ils:before,.fa-shekel:before,.fa-sheqel:before{content:"\F20B"}.fa-meanpath:before{content:"\F20C"}.fa-buysellads:before{content:"\F20D"}.fa-connectdevelop:before{content:"\F20E"}.fa-dashcube:before{content:"\F210"}.fa-forumbee:before{content:"\F211"}.fa-leanpub:before{content:"\F212"}.fa-sellsy:before{content:"\F213"}.fa-shirtsinbulk:before{content:"\F214"}.fa-simplybuilt:before{content:"\F215"}.fa-skyatlas:before{content:"\F216"}.fa-cart-plus:before{content:"\F217"}.fa-cart-arrow-down:before{content:"\F218"}.fa-diamond:before{content:"\F219"}.fa-ship:before{content:"\F21A"}.fa-user-secret:before{content:"\F21B"}.fa-motorcycle:before{content:"\F21C"}.fa-street-view:before{content:"\F21D"}.fa-heartbeat:before{content:"\F21E"}.fa-venus:before{content:"\F221"}.fa-mars:before{content:"\F222"}.fa-mercury:before{content:"\F223"}.fa-intersex:before,.fa-transgender:before{content:"\F224"}.fa-transgender-alt:before{content:"\F225"}.fa-venus-double:before{content:"\F226"}.fa-mars-double:before{content:"\F227"}.fa-venus-mars:before{content:"\F228"}.fa-mars-stroke:before{content:"\F229"}.fa-mars-stroke-v:before{content:"\F22A"}.fa-mars-stroke-h:before{content:"\F22B"}.fa-neuter:before{content:"\F22C"}.fa-genderless:before{content:"\F22D"}.fa-facebook-official:before{content:"\F230"}.fa-pinterest-p:before{content:"\F231"}.fa-whatsapp:before{content:"\F232"}.fa-server:before{content:"\F233"}.fa-user-plus:before{content:"\F234"}.fa-user-times:before{content:"\F235"}.fa-bed:before,.fa-hotel:before{content:"\F236"}.fa-viacoin:before{content:"\F237"}.fa-train:before{content:"\F238"}.fa-subway:before{content:"\F239"}.fa-medium:before{content:"\F23A"}.fa-y-combinator:before,.fa-yc:before{content:"\F23B"}.fa-optin-monster:before{content:"\F23C"}.fa-opencart:before{content:"\F23D"}.fa-expeditedssl:before{content:"\F23E"}.fa-battery-4:before,.fa-battery-full:before,.fa-battery:before{content:"\F240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\F241"}.fa-battery-2:before,.fa-battery-half:before{content:"\F242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\F243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\F244"}.fa-mouse-pointer:before{content:"\F245"}.fa-i-cursor:before{content:"\F246"}.fa-object-group:before{content:"\F247"}.fa-object-ungroup:before{content:"\F248"}.fa-sticky-note:before{content:"\F249"}.fa-sticky-note-o:before{content:"\F24A"}.fa-cc-jcb:before{content:"\F24B"}.fa-cc-diners-club:before{content:"\F24C"}.fa-clone:before{content:"\F24D"}.fa-balance-scale:before{content:"\F24E"}.fa-hourglass-o:before{content:"\F250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\F251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\F252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\F253"}.fa-hourglass:before{content:"\F254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\F255"}.fa-hand-paper-o:before,.fa-hand-stop-o:before{content:"\F256"}.fa-hand-scissors-o:before{content:"\F257"}.fa-hand-lizard-o:before{content:"\F258"}.fa-hand-spock-o:before{content:"\F259"}.fa-hand-pointer-o:before{content:"\F25A"}.fa-hand-peace-o:before{content:"\F25B"}.fa-trademark:before{content:"\F25C"}.fa-registered:before{content:"\F25D"}.fa-creative-commons:before{content:"\F25E"}.fa-gg:before{content:"\F260"}.fa-gg-circle:before{content:"\F261"}.fa-tripadvisor:before{content:"\F262"}.fa-odnoklassniki:before{content:"\F263"}.fa-odnoklassniki-square:before{content:"\F264"}.fa-get-pocket:before{content:"\F265"}.fa-wikipedia-w:before{content:"\F266"}.fa-safari:before{content:"\F267"}.fa-chrome:before{content:"\F268"}.fa-firefox:before{content:"\F269"}.fa-opera:before{content:"\F26A"}.fa-internet-explorer:before{content:"\F26B"}.fa-television:before,.fa-tv:before{content:"\F26C"}.fa-contao:before{content:"\F26D"}.fa-500px:before{content:"\F26E"}.fa-amazon:before{content:"\F270"}.fa-calendar-plus-o:before{content:"\F271"}.fa-calendar-minus-o:before{content:"\F272"}.fa-calendar-times-o:before{content:"\F273"}.fa-calendar-check-o:before{content:"\F274"}.fa-industry:before{content:"\F275"}.fa-map-pin:before{content:"\F276"}.fa-map-signs:before{content:"\F277"}.fa-map-o:before{content:"\F278"}.fa-map:before{content:"\F279"}.fa-commenting:before{content:"\F27A"}.fa-commenting-o:before{content:"\F27B"}.fa-houzz:before{content:"\F27C"}.fa-vimeo:before{content:"\F27D"}.fa-black-tie:before{content:"\F27E"}.fa-fonticons:before{content:"\F280"}.fa-reddit-alien:before{content:"\F281"}.fa-edge:before{content:"\F282"}.fa-credit-card-alt:before{content:"\F283"}.fa-codiepie:before{content:"\F284"}.fa-modx:before{content:"\F285"}.fa-fort-awesome:before{content:"\F286"}.fa-usb:before{content:"\F287"}.fa-product-hunt:before{content:"\F288"}.fa-mixcloud:before{content:"\F289"}.fa-scribd:before{content:"\F28A"}.fa-pause-circle:before{content:"\F28B"}.fa-pause-circle-o:before{content:"\F28C"}.fa-stop-circle:before{content:"\F28D"}.fa-stop-circle-o:before{content:"\F28E"}.fa-shopping-bag:before{content:"\F290"}.fa-shopping-basket:before{content:"\F291"}.fa-hashtag:before{content:"\F292"}.fa-bluetooth:before{content:"\F293"}.fa-bluetooth-b:before{content:"\F294"}.fa-percent:before{content:"\F295"}.fa-gitlab:before{content:"\F296"}.fa-wpbeginner:before{content:"\F297"}.fa-wpforms:before{content:"\F298"}.fa-envira:before{content:"\F299"}.fa-universal-access:before{content:"\F29A"}.fa-wheelchair-alt:before{content:"\F29B"}.fa-question-circle-o:before{content:"\F29C"}.fa-blind:before{content:"\F29D"}.fa-audio-description:before{content:"\F29E"}.fa-volume-control-phone:before{content:"\F2A0"}.fa-braille:before{content:"\F2A1"}.fa-assistive-listening-systems:before{content:"\F2A2"}.fa-american-sign-language-interpreting:before,.fa-asl-interpreting:before{content:"\F2A3"}.fa-deaf:before,.fa-deafness:before,.fa-hard-of-hearing:before{content:"\F2A4"}.fa-glide:before{content:"\F2A5"}.fa-glide-g:before{content:"\F2A6"}.fa-sign-language:before,.fa-signing:before{content:"\F2A7"}.fa-low-vision:before{content:"\F2A8"}.fa-viadeo:before{content:"\F2A9"}.fa-viadeo-square:before{content:"\F2AA"}.fa-snapchat:before{content:"\F2AB"}.fa-snapchat-ghost:before{content:"\F2AC"}.fa-snapchat-square:before{content:"\F2AD"}.fa-pied-piper:before{content:"\F2AE"}.fa-first-order:before{content:"\F2B0"}.fa-yoast:before{content:"\F2B1"}.fa-themeisle:before{content:"\F2B2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\F2B3"}.fa-fa:before,.fa-font-awesome:before{content:"\F2B4"}.fa-handshake-o:before{content:"\F2B5"}.fa-envelope-open:before{content:"\F2B6"}.fa-envelope-open-o:before{content:"\F2B7"}.fa-linode:before{content:"\F2B8"}.fa-address-book:before{content:"\F2B9"}.fa-address-book-o:before{content:"\F2BA"}.fa-address-card:before,.fa-vcard:before{content:"\F2BB"}.fa-address-card-o:before,.fa-vcard-o:before{content:"\F2BC"}.fa-user-circle:before{content:"\F2BD"}.fa-user-circle-o:before{content:"\F2BE"}.fa-user-o:before{content:"\F2C0"}.fa-id-badge:before{content:"\F2C1"}.fa-drivers-license:before,.fa-id-card:before{content:"\F2C2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\F2C3"}.fa-quora:before{content:"\F2C4"}.fa-free-code-camp:before{content:"\F2C5"}.fa-telegram:before{content:"\F2C6"}.fa-thermometer-4:before,.fa-thermometer-full:before,.fa-thermometer:before{content:"\F2C7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\F2C8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\F2C9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\F2CA"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\F2CB"}.fa-shower:before{content:"\F2CC"}.fa-bath:before,.fa-bathtub:before,.fa-s15:before{content:"\F2CD"}.fa-podcast:before{content:"\F2CE"}.fa-window-maximize:before{content:"\F2D0"}.fa-window-minimize:before{content:"\F2D1"}.fa-window-restore:before{content:"\F2D2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\F2D3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\F2D4"}.fa-bandcamp:before{content:"\F2D5"}.fa-grav:before{content:"\F2D6"}.fa-etsy:before{content:"\F2D7"}.fa-imdb:before{content:"\F2D8"}.fa-ravelry:before{content:"\F2D9"}.fa-eercast:before{content:"\F2DA"}.fa-microchip:before{content:"\F2DB"}.fa-snowflake-o:before{content:"\F2DC"}.fa-superpowers:before{content:"\F2DD"}.fa-wpexplorer:before{content:"\F2DE"}.fa-meetup:before{content:"\F2E0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.cm-s-3024-day.CodeMirror{background:#f7f7f7;color:#3a3432}.cm-s-3024-day div.CodeMirror-selected{background:#d6d5d4}.cm-s-3024-day .CodeMirror-line::-moz-selection,.cm-s-3024-day .CodeMirror-line>span::-moz-selection,.cm-s-3024-day .CodeMirror-line>span>span::-moz-selection{background:#d6d5d4}.cm-s-3024-day .CodeMirror-line::selection,.cm-s-3024-day .CodeMirror-line>span::selection,.cm-s-3024-day .CodeMirror-line>span>span::selection{background:#d6d5d4}.cm-s-3024-day .CodeMirror-line::-moz-selection,.cm-s-3024-day .CodeMirror-line>span::-moz-selection,.cm-s-3024-day .CodeMirror-line>span>span::-moz-selection{background:#d9d9d9}.cm-s-3024-day .CodeMirror-line::-moz-selection,.cm-s-3024-day .CodeMirror-line>span::-moz-selection,.cm-s-3024-day .CodeMirror-line>span>span::selection{background:#d9d9d9}.cm-s-3024-day .CodeMirror-gutters{background:#f7f7f7;border-right:0}.cm-s-3024-day .CodeMirror-guttermarker{color:#db2d20}.cm-s-3024-day .CodeMirror-guttermarker-subtle,.cm-s-3024-day .CodeMirror-linenumber{color:#807d7c}.cm-s-3024-day .CodeMirror-cursor{border-left:1px solid #5c5855}.cm-s-3024-day span.cm-comment{color:#cdab53}.cm-s-3024-day span.cm-atom,.cm-s-3024-day span.cm-number{color:#a16a94}.cm-s-3024-day span.cm-attribute,.cm-s-3024-day span.cm-property{color:#01a252}.cm-s-3024-day span.cm-keyword{color:#db2d20}.cm-s-3024-day span.cm-string{color:#fded02}.cm-s-3024-day span.cm-variable{color:#01a252}.cm-s-3024-day span.cm-variable-2{color:#01a0e4}.cm-s-3024-day span.cm-def{color:#e8bbd0}.cm-s-3024-day span.cm-bracket{color:#3a3432}.cm-s-3024-day span.cm-tag{color:#db2d20}.cm-s-3024-day span.cm-link{color:#a16a94}.cm-s-3024-day span.cm-error{background:#db2d20;color:#5c5855}.cm-s-3024-day .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-3024-day .CodeMirror-matchingbracket{text-decoration:underline;color:#a16a94!important}.cm-s-3024-night.CodeMirror{background:#090300;color:#d6d5d4}.cm-s-3024-night div.CodeMirror-selected{background:#3a3432}.cm-s-3024-night .CodeMirror-line::selection,.cm-s-3024-night .CodeMirror-line>span::selection,.cm-s-3024-night .CodeMirror-line>span>span::selection{background:rgba(58,52,50,.99)}.cm-s-3024-night .CodeMirror-line::-moz-selection,.cm-s-3024-night .CodeMirror-line>span::-moz-selection,.cm-s-3024-night .CodeMirror-line>span>span::-moz-selection{background:rgba(58,52,50,.99)}.cm-s-3024-night .CodeMirror-gutters{background:#090300;border-right:0}.cm-s-3024-night .CodeMirror-guttermarker{color:#db2d20}.cm-s-3024-night .CodeMirror-guttermarker-subtle,.cm-s-3024-night .CodeMirror-linenumber{color:#5c5855}.cm-s-3024-night .CodeMirror-cursor{border-left:1px solid #807d7c}.cm-s-3024-night span.cm-comment{color:#cdab53}.cm-s-3024-night span.cm-atom,.cm-s-3024-night span.cm-number{color:#a16a94}.cm-s-3024-night span.cm-attribute,.cm-s-3024-night span.cm-property{color:#01a252}.cm-s-3024-night span.cm-keyword{color:#db2d20}.cm-s-3024-night span.cm-string{color:#fded02}.cm-s-3024-night span.cm-variable{color:#01a252}.cm-s-3024-night span.cm-variable-2{color:#01a0e4}.cm-s-3024-night span.cm-def{color:#e8bbd0}.cm-s-3024-night span.cm-bracket{color:#d6d5d4}.cm-s-3024-night span.cm-tag{color:#db2d20}.cm-s-3024-night span.cm-link{color:#a16a94}.cm-s-3024-night span.cm-error{background:#db2d20;color:#807d7c}.cm-s-3024-night .CodeMirror-activeline-background{background:#2f2f2f}.cm-s-3024-night .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-abcdef.CodeMirror{background:#0f0f0f;color:#defdef}.cm-s-abcdef div.CodeMirror-selected{background:#515151}.cm-s-abcdef .CodeMirror-line::selection,.cm-s-abcdef .CodeMirror-line>span::selection,.cm-s-abcdef .CodeMirror-line>span>span::selection{background:rgba(56,56,56,.99)}.cm-s-abcdef .CodeMirror-line::-moz-selection,.cm-s-abcdef .CodeMirror-line>span::-moz-selection,.cm-s-abcdef .CodeMirror-line>span>span::-moz-selection{background:rgba(56,56,56,.99)}.cm-s-abcdef .CodeMirror-gutters{background:#555;border-right:2px solid #314151}.cm-s-abcdef .CodeMirror-guttermarker{color:#222}.cm-s-abcdef .CodeMirror-guttermarker-subtle{color:azure}.cm-s-abcdef .CodeMirror-linenumber{color:#fff}.cm-s-abcdef .CodeMirror-cursor{border-left:1px solid #0f0}.cm-s-abcdef span.cm-keyword{color:#b8860b;font-weight:700}.cm-s-abcdef span.cm-atom{color:#77f}.cm-s-abcdef span.cm-number{color:violet}.cm-s-abcdef span.cm-def{color:#fffabc}.cm-s-abcdef span.cm-variable{color:#abcdef}.cm-s-abcdef span.cm-variable-2{color:#cacbcc}.cm-s-abcdef span.cm-variable-3{color:#def}.cm-s-abcdef span.cm-property{color:#fedcba}.cm-s-abcdef span.cm-operator{color:#ff0}.cm-s-abcdef span.cm-comment{color:#7a7b7c;font-style:italic}.cm-s-abcdef span.cm-string{color:#2b4}.cm-s-abcdef span.cm-meta{color:#c9f}.cm-s-abcdef span.cm-qualifier{color:#fff700}.cm-s-abcdef span.cm-builtin{color:#30aabc}.cm-s-abcdef span.cm-bracket{color:#8a8a8a}.cm-s-abcdef span.cm-tag{color:#fd4}.cm-s-abcdef span.cm-attribute{color:#df0}.cm-s-abcdef span.cm-error{color:red}.cm-s-abcdef span.cm-header{color:#7fffd4;font-weight:700}.cm-s-abcdef span.cm-link{color:#8a2be2}.cm-s-abcdef .CodeMirror-activeline-background{background:#314151}.cm-s-ambiance.CodeMirror{box-shadow:none}.cm-s-ambiance .cm-header{color:blue}.cm-s-ambiance .cm-quote{color:#24c2c7}.cm-s-ambiance .cm-keyword{color:#cda869}.cm-s-ambiance .cm-atom{color:#cf7ea9}.cm-s-ambiance .cm-number{color:#78cf8a}.cm-s-ambiance .cm-def{color:#aac6e3}.cm-s-ambiance .cm-variable{color:#ffb795}.cm-s-ambiance .cm-variable-2{color:#eed1b3}.cm-s-ambiance .cm-variable-3{color:#faded3}.cm-s-ambiance .cm-property{color:#eed1b3}.cm-s-ambiance .cm-operator{color:#fa8d6a}.cm-s-ambiance .cm-comment{color:#555;font-style:italic}.cm-s-ambiance .cm-string{color:#8f9d6a}.cm-s-ambiance .cm-string-2{color:#9d937c}.cm-s-ambiance .cm-meta{color:#d2a8a1}.cm-s-ambiance .cm-qualifier{color:#ff0}.cm-s-ambiance .cm-builtin{color:#99c}.cm-s-ambiance .cm-bracket{color:#24c2c7}.cm-s-ambiance .cm-tag{color:#fee4ff}.cm-s-ambiance .cm-attribute{color:#9b859d}.cm-s-ambiance .cm-hr{color:pink}.cm-s-ambiance .cm-link{color:#f4c20b}.cm-s-ambiance .cm-special{color:#ff9d00}.cm-s-ambiance .cm-error{color:#af2018}.cm-s-ambiance .CodeMirror-matchingbracket{color:#0f0}.cm-s-ambiance .CodeMirror-nonmatchingbracket{color:#f22}.cm-s-ambiance div.CodeMirror-selected{background:hsla(0,0%,100%,.15)}.cm-s-ambiance.CodeMirror-focused div.CodeMirror-selected{background:hsla(0,0%,100%,.1)}.cm-s-ambiance .CodeMirror-line::selection,.cm-s-ambiance .CodeMirror-line>span::selection,.cm-s-ambiance .CodeMirror-line>span>span::selection{background:hsla(0,0%,100%,.1)}.cm-s-ambiance .CodeMirror-line::-moz-selection,.cm-s-ambiance .CodeMirror-line>span::-moz-selection,.cm-s-ambiance .CodeMirror-line>span>span::-moz-selection{background:hsla(0,0%,100%,.1)}.cm-s-ambiance.CodeMirror{line-height:1.4em;color:#e6e1dc;background-color:#202020;box-shadow:inset 0 0 10px #000}.cm-s-ambiance .CodeMirror-gutters{background:#3d3d3d;border-right:1px solid #4d4d4d;box-shadow:0 10px 20px #000}.cm-s-ambiance .CodeMirror-linenumber{text-shadow:0 1px 1px #4d4d4d;color:#111;padding:0 5px}.cm-s-ambiance .CodeMirror-guttermarker{color:#aaa}.cm-s-ambiance .CodeMirror-guttermarker-subtle{color:#111}.cm-s-ambiance .CodeMirror-cursor{border-left:1px solid #7991e8}.cm-s-ambiance .CodeMirror-activeline-background{background:none repeat scroll 0 0 hsla(0,0%,100%,.031)}.cm-s-ambiance.CodeMirror,.cm-s-ambiance .CodeMirror-gutters{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAQAAAAHUWYVAABFFUlEQVQYGbzBCeDVU/74/6fj9HIcx/FRHx9JCFmzMyGRURhLZIkUsoeRfUjS2FNDtr6WkMhO9sm+S8maJfu+Jcsg+/o/c+Z4z/t97/vezy3z+z8ekGlnYICG/o7gdk+wmSHZ1z4pJItqapjoKXWahm8NmV6eOTbWUOp6/6a/XIg6GQqmenJ2lDHyvCFZ2cBDbmtHA043VFhHwXxClWmeYAdLhV00Bd85go8VmaFCkbVkzlQENzfBDZ5gtN7HwF0KDrTwJ0dypSOzpaKCMwQHKTIreYIxlmhXTzTWkVm+LTynZhiSBT3RZQ7aGfjGEd3qyXQ1FDymqbKxpspERQN2MiRjNZlFFQXfCNFm9nM1zpAsoYjmtRTc5ajwuaXc5xrWskT97RaKzAGe5ARHhVUsDbjKklziiX5WROcJwSNCNI+9w1Jwv4Zb2r7lCMZ4oq5C0EdTx+2GzNuKpJ+iFf38JEWkHJn9DNF7mmBDITrWEg0VWL3pHU20tSZnuqWu+R3BtYa8XxV1HO7GyD32UkOpL/yDloINFTmvtId+nmAjxRw40VMwVKiwrKLE4bK5UOVntYwhOcSSXKrJHKPJedocpGjVz/ZMIbnYUPB10/eKCrs5apqpgVmWzBYWpmtKHecJPjaUuEgRDDaU0oZghCJ6zNMQ5ZhDYx05r5v2muQdM0EILtXUsaKiQX9WMEUotagQzFbUNN6NUPC2nm5pxEWGCjMc3GdJHjSU2kORLK/JGSrkfGEIjncU/CYUnOipoYemwj8tST9NsJmB7TUVXtbUtXATJVZXBMvYeTXJfobgJUPmGMP/yFaWonaa6BcFO3nqcIqCozSZoZoSr1g4zJOzuyGnxTEX3lUEJ7WcZgme8ddaWvWJo2AJR9DZU3CUIbhCSG6ybSwN6qtJVnCU2svDTP2ZInOw2cBTrqtQahtNZn9NcJ4l2NaSmSkkP1noZWnVwkLmdUPOwLZEwy2Z3S3R+4rIG9hcbpPXHFVWcQdZkn2FOta3cKWQnNRC5g1LsJah4GCzSVsKnCOY5OAFRTBekyyryeyilhFKva75r4Mc0aWanGEaThcy31s439KKxTzJYY5WTHPU1FtIHjQU3Oip4xlNzj/lBw23dYZVliQa7WAXf4shetcQfatI+jWRDBPmyNeW6A1P5kdDgyYJlba0BIM8BZu1JfrFwItyjcAMR3K0BWOIrtMEXyhyrlVEx3ui5dUBjmB/Q3CXW85R4mBD0s7B+4q5tKUjOlb9qqmhi5AZ6GFIC5HXtOobdYGlVdMVbNJ8toNTFcHxnoL+muBagcctjWnbNMuR00uI7nQESwg5q2qqrKWIfrNUmeQocY6HuyxJV02wj36w00yhpmUFenv4p6fUkZYqLyuinx2RGOjhCXYyJF84oiU00YMOOhhquNdfbOB7gU88pY4xJO8LVdp6/q2voeB4R04vIdhSE40xZObx1HGGJ/ja0LBthFInKaLPPFzuCaYaoj8JjPME8yoyxo6zlBqkiUZYgq00OYMswbWO5NGmq+xhipxHLRW29ARjNKXO0wRnear8XSg4XFPLKEPUS1GqvyLwiuBUoa7zpZ0l5xxFwWmWZC1H5h5FwU8eQ7K+g8UcVY6TMQreVQT/8uQ8Z+ALIXnSEa2pYZQneE9RZbSBNYXfWYJzW/h/4j4Dp1tYVcFIC5019Vyi4ThPqSFCzjGWaHQTBU8q6vrVwgxP9Lkm840imWKpcLCjYTtrKuwvsKSnrvHCXGkSMk9p6lhckfRpIeis+N2PiszT+mFLspyGleUhDwcLrZqmyeylxwjBcKHEapqkmyangyLZRVOijwOtCY5SsG5zL0OwlCJ4y5KznF3EUNDDrinwiyLZRzOXtlBbK5ITHFGLp8Q0R6ab6mS7enI2cFrxOyHvOCFaT1HThS1krjCwqWeurCkk+willhCC+RSZnRXBiZaC5RXRIZYKp2lyfrHwiKPKR0JDzrdU2EFgpidawlFDR6FgXUMNa+g1FY3bUQh2cLCwosRdnuQTS/S+JVrGLeWIvtQUvONJxlqSQYYKpwoN2kaocLjdVsis4Mk80ESF2YpSkzwldjHkjFCUutI/r+EHDU8oCs6yzL3PhWiEooZdFMkymlas4AcI3KmoMMNSQ3tHzjGWCrcJJdYyZC7QFGwjRL9p+MrRkAGWzIaWCn9W0F3TsK01c2ZvQw0byvxuQU0r1lM0qJO7wW0kRIMdDTtXEdzi4VIh+EoIHm0mWtAtpCixlabgn83fKTI7anJe9ST7WIK1DMGpQmYeA58ImV6ezOGOzK2Kgq01pd60cKWiUi9Lievb/0vIDPHQ05Kzt4ddPckQBQtoaurjyHnek/nKzpQLrVgKPjIkh2v4uyezpv+Xoo7fPFXaGFp1vaLKxQ4uUpQQS5VuQs7BCq4xRJv7fwpVvvFEB3j+620haOuocqMhWd6TTPAEx+mdFNGHdranFe95WrWmIvlY4F1Dle2ECgc6cto7SryuqGGGha0tFQ5V53migUKmg6XKAo4qS3mik+0OZpAhOLeZKicacgaYcyx5hypYQE02ZA4xi/pNhOQxR4klNKyqacj+mpxnLTnnGSo85++3ZCZq6lrZkXlGEX3o+C9FieccJbZWVFjC0Yo1FZnJhoYMFoI1hEZ9r6hwg75HwzBNhbZCdJEfJwTPGzJvaKImw1yYX1HDAmpXR+ZJQ/SmgqMNVQb5vgamGwLtt7VwvP7Qk1xpiM5x5Cyv93E06MZmgs0Nya2azIKOYKCGBQQW97RmhKNKF02JZqHEJ4o58qp7X5EcZmc56trXEqzjCBZ1MFGR87Ql2tSTs6CGxS05PTzRQorkbw7aKoKXFDXsYW42VJih/q+FP2BdTzDTwVqOYB13liM50vG7wy28qagyuIXMeQI/Oqq8bcn5wJI50xH00CRntyfpL1T4hydYpoXgNiFzoIUTDZnLNRzh4TBHwbYGDvZkxmlyJloyr6tRihpeUG94GnKtIznREF0tzJG/OOr73JBcrSh1k6WuTprgLU+mnSGnv6Zge0NNz+kTDdH8nuAuTdJDCNb21LCiIuqlYbqGzT3RAoZofQfjFazkqeNWdYaGvYTM001EW2oKPvVk1ldUGSgUtHFwjKM1h9jnFcmy5lChoLNaQMGGDsYbKixlaMBmmsx1QjCfflwTfO/gckW0ruZ3jugKR3R5W9hGUWqCgxuFgsuaCHorotGKzGaeZB9DMsaTnKCpMtwTvOzhYk0rdrArKCqcaWmVk1+F372ur1YkKxgatI8Qfe1gIX9wE9FgS8ESmuABIXnRUbCapcKe+nO7slClSZFzpV/LkLncEb1qiO42fS3R855Su2mCLh62t1SYZZYVmKwIHjREF2uihTzB20JOkz7dkxzYQnK0UOU494wh+VWRc6Un2kpTaVgLDFEkJ/uhzRcI0YKGgpGWOlocBU/a4fKoJ/pEaNV6jip3+Es9VXY078rGnmAdf7t9ylPXS34RBSuYPs1UecZTU78WanhBCHpZ5sAoTz0LGZKjPf9TRypqWEiTvOFglL1fCEY3wY/++rbk7C8bWebA6p6om6PgOL2kp44TFJlVNBXae2rqqdZztOJpT87GQsE9jqCPIe9VReZuQ/CIgacsyZdCpIScSYqcZk8r+nsyCzhyfhOqHGOIvrLknC8wTpFcaYiGC/RU1NRbUeUpocQOnkRpGOrIOcNRx+1uA0UrzhSSt+VyS3SJpnFWkzNDqOFGIWcfR86DnmARTQ1HKIL33ExPiemeOhYSSjzlSUZZuE4TveoJLnBUOFof6KiysCbnAEcZgcUNTDOwkqWu3RWtmGpZwlHhJENdZ3miGz0lJlsKnjbwqSHQjpxnFDlTLLwqJPMZMjd7KrzkSG7VsxXBZE+F8YZkb01Oe00yyRK9psh5SYh29ySPKBo2ylNht7ZkZnsKenjKNJu9PNEyZpaCHv4Kt6RQsLvAVp7M9kIimmCUwGeWqLMmGuIotYMmWNpSahkhZw9FqZsVnKJhsjAHvtHMsTM9fCI06Dx/u3vfUXCqfsKRc4oFY2jMsoo/7DJDwZ1CsIKnJu+J9ldkpmiCxQx1rWjI+T9FwcWWzOuaYH0Hj7klNRVWEQpmaqosakiGNTFHdjS/qnUdmf0NJW5xsL0HhimCCZZSRzmSPTXJQ4aaztAwtZnoabebJ+htCaZ7Cm535ByoqXKbX1WRc4Eh2MkRXWzImVc96Cj4VdOKVxR84VdQsIUM8Psoou2byVHyZFuq7O8otbSQ2UAoeEWTudATLGSpZzVLlXVkPU2Jc+27lsw2jmg5T5VhbeE3BT083K9WsTTkFU/Osi0rC5lRlpwRHUiesNS0sOvmqGML1aRbPAxTJD9ZKtxuob+hhl8cwYGWpJ8nub7t5p6coYbMovZ1BTdaKn1jYD6h4GFDNFyT/Kqe1XCXphXHOKLZmuRSRdBPEfVUXQzJm5YGPGGJdvAEr7hHNdGZnuBvrpciGmopOLf5N0uVMy0FfYToJk90uUCbJupaVpO53UJXR2bVpoU00V2KOo4zMFrBd0Jtz2pa0clT5Q5L8IpQ177mWQejPMEJhuQjS10ref6HHjdEhy1P1EYR7GtO0uSsKJQYLiTnG1rVScj5lyazpqWGl5uBbRWl7m6ixGOOnEsMJR7z8J0n6KMnCdxhiNYQCoZ6CmYLnO8omC3MkW3bktlPmEt/VQQHejL3+dOE5FlPdK/Mq8hZxxJtLyRrepLThYKbLZxkSb5W52vYxNOaOxUF0yxMUPwBTYqCzy01XayYK0sJyWBLqX0MwU5CzoymRzV0EjjeUeLgDpTo6ij42ZAzvD01dHUUTPLU96MdLbBME8nFBn7zJCMtJcZokn8YoqU0FS5WFKyniHobguMcmW8N0XkWZjkyN3hqOMtS08r+/xTBwpZSZ3qiVRX8SzMHHjfUNFjgHEPmY9PL3ykEzxkSre/1ZD6z/NuznuB0RcE1TWTm9zRgfUWVJiG6yrzgmWPXC8EAR4Wxhlad0ZbgQyEz3pG5RVEwwDJH2mgKpjcTiCOzn1lfUWANFbZ2BA8balnEweJC9J0iuaeZoI+ippFCztEKVvckR2iice1JvhVytrQwUAZpgsubCPaU7xUe9vWnaOpaSBEspalykhC9bUlOMpT42ZHca6hyrqKmw/wMR8H5ZmdFoBVJb03O4UL0tSNnvIeRmkrLWqrs78gcrEn2tpcboh0UPOW3UUR9PMk4T4nnNKWmCjlrefhCwxRNztfmIQVdDElvS4m1/WuOujoZCs5XVOjtKPGokJzsYCtFYoWonSPT21DheU/wWhM19FcElwqNGOsp9Q8N/cwXaiND1MmeL1Q5XROtYYgGeFq1aTMsoMmcrKjQrOFQTQ1fmBYhmW6o8Jkjc7iDJRTBIo5kgJD5yMEYA3srCg7VFKwiVJkmRCc5ohGOKhsYMn/XBLdo5taZjlb9YAlGWRimqbCsoY7HFAXLa5I1HPRxMMsQDHFkWtRNniqT9UEeNjcE7RUlrCJ4R2CSJuqlKHWvJXjAUNcITYkenuBRB84TbeepcqTj3zZyFJzgYQdHnqfgI0ddUwS6GqWpsKWhjq9cV0vBAEMN2znq+EBfIWT+pClYw5xsTlJU6GeIBsjGmmANTzJZiIYpgrM0Oa8ZMjd7NP87jxhqGOhJlnQtjuQpB+8aEE00wZFznSJPyHxgH3HkPOsJFvYk8zqCHzTs1BYOa4J3PFU+UVRZxlHDM4YavlNUuMoRveiZA2d7grMNc2g+RbSCEKzmgYsUmWmazFJyoiOZ4KnyhKOGRzWJa0+moyV4TVHDzn51Awtqaphfk/lRQ08FX1iiqxTB/kLwd0VynKfEvI6cd4XMV5bMhZ7gZUWVzYQ6Nm2BYzxJbw3bGthEUUMfgbGeorae6DxHtJoZ6alhZ0+ytiVoK1R4z5PTrOECT/SugseEOlb1MMNR4VRNcJy+V1Hg9ONClSZFZjdHlc6W6FBLdJja2MC5hhpu0DBYEY1TFGwiFAxRRCsYkiM9JRb0JNMVkW6CZYT/2EiTGWmo8k+h4FhDNE7BvppoTSFnmCV5xZKzvcCdDo7VVPnIU+I+Rc68juApC90MwcFCsJ5hDqxgScYKreruyQwTqrzoqDCmhWi4IbhB0Yrt3RGa6GfDv52rKXWhh28dyZaWUvcZeMTBaZoSGyiCtRU5J8iviioHaErs7Jkj61syVzTTgOcUOQ8buFBTYWdL5g3T4qlpe0+wvD63heAXRfCCIed9RbCsp2CiI7raUOYOTU13N8PNHvpaGvayo4a3LLT1lDrVEPT2zLUlheB1R+ZTRfKWJ+dcocLJfi11vyJ51lLqJ0WD7tRwryezjiV5W28uJO9qykzX8JDe2lHl/9oyBwa2UMfOngpXCixvKdXTk3wrsKmiVYdZIqsoWEERjbcUNDuiaQomGoIbFdEHmsyWnuR+IeriKDVLnlawlyNHKwKlSU631PKep8J4Q+ayjkSLKYLhalNHlYvttb6fHm0p6OApsZ4l2VfdqZkjuysy6ysKLlckf1KUutCTs39bmCgEyyoasIWlVaMF7mgmWtBT8Kol5xpH9IGllo8cJdopcvZ2sImlDmMIbtDk3KIpeNiS08lQw11NFPTwVFlPP6pJ2gvRfI7gQUfmNAtf6Gs0wQxDsKGlVBdF8rCa3jzdwMaGHOsItrZk7hAyOzpK9VS06j5F49b0VNGOOfKs3lDToMsMBe9ZWtHFEgxTJLs7qrygKZjUnmCYoeAqeU6jqWuLJup4WghOdvCYJnrSkSzoyRkm5M2StQwVltPkfCAk58tET/CSg+8MUecmotMEnhBKfWBIZsg2ihruMJQaoIm+tkTLKEqspMh00w95gvFCQRtDwTT1gVDDSEVdlwqZfxoQRbK0g+tbiBZxzKlpnpypejdDwTaeOvorMk/IJE10h9CqRe28hhLbe0pMsdSwv4ZbhKivo2BjDWfL8UKJgeavwlwb5KlwhyE4u4XkGE2ytZCznKLCDZZq42VzT8HLCrpruFbIfOIINmh/qCdZ1ZBc65kLHR1Bkyf5zn6pN3SvGKIlFNGplhrO9QSXanLOMQTLCa0YJCRrCZm/CZmrLTm7WzCK4GJDiWUdFeYx1LCFg3NMd0XmCuF3Y5rITLDUsYS9zoHVzwnJoYpSTQoObyEzr4cFBNqYTopoaU/wkyLZ2lPhX/5Y95ulxGTV7KjhWrOZgl8MyUUafjYraNjNU1N3IWcjT5WzWqjwtoarHSUObGYO3GCJZpsBlnJGPd6ZYLyl1GdCA2625IwwJDP8GUKymbzuyPlZlvTUsaUh5zFDhRWFzPKKZLAlWdcQbObgF9tOqOsmB1dqcqYJmWstFbZRRI9poolmqiLnU0POvxScpah2iSL5UJNzgScY5+AuIbpO0YD3NCW+dLMszFSdFCWGqG6eVq2uYVNDdICGD6W7EPRWZEY5gpsE9rUkS3mijzzJnm6UpUFXG1hCUeVoS5WfNcFpblELL2qqrCvMvRfd45oalvKU2tiQ6ePJOVMRXase9iTtLJztPxJKLWpo2CRDcJwn2sWSLKIO1WQWNTCvpVUvOZhgSC40JD0dOctaSqzkCRbXsKlb11Oip6PCJ0IwSJM31j3akRxlP7Rwn6aGaUL0qiLnJkvB3xWZ2+Q1TfCwpQH3G0o92UzmX4o/oJNQMMSQc547wVHhdk+VCw01DFYEnTxzZKAm74QmeNNR1w6WzEhNK15VJzuCdxQ53dRUDws5KvwgBMOEgpcVNe0hZI6RXT1Jd0cyj5nsaEAHgVmGaJIlWdsc5Ui2ElrRR6jrRAttNMEAIWrTDFubkZaok7/AkzfIwfuWVq0jHzuCK4QabtLUMVPB3kJ0oyHTSVFlqMALilJf2Rf8k5aaHtMfayocLBS8L89oKoxpJvnAkDPa0qp5DAUTHKWmCcnthlou8iCKaFFLHWcINd1nyIwXqrSxMNmSs6KmoL2QrKuWtlQ5V0120xQ5vRyZS1rgFkWwhiOwiuQbR0OOVhQM9iS3tiXp4RawRPMp5tDletOOBL95MpM01dZTBM9pkn5qF010rIeHFcFZhmSGpYpTsI6nwhqe5C9ynhlpp5ophuRb6WcJFldkVnVEwwxVfrVkvnWUuNLCg5bgboFHPDlDPDmnK7hUrWiIbjadDclujlZcaokOFup4Ri1kacV6jmrrK1hN9bGwpKEBQ4Q6DvIUXOmo6U5LqQM6EPyiKNjVkPnJkDPNEaxhiFay5ExW1NXVUGqcpYYdPcGiCq7z/TSlbhL4pplWXKd7NZO5QQFrefhRQW/NHOsqcIglc4UhWklR8K0QzbAw08CBDnpbgqXdeD/QUsM4RZXDFBW6WJKe/mFPdH0LtBgiq57wFLzlyQzz82qYx5D5WJP5yVJDW01BfyHnS6HKO/reZqId1WGa4Hkh2kWodJ8i6KoIPlAj2hPt76CzXsVR6koPRzWTfKqIentatYpQw2me4AA3y1Kind3SwoOKZDcFXTwl9tWU6mfgRk9d71sKtlNwrjnYw5tC5n5LdKiGry3JKNlHEd3oaMCFHrazBPMp/uNJ+V7IudcSbeOIdjUEdwl0VHCOZo5t6YluEuaC9mQeMgSfOyKnYGFHcIeQ84yQWbuJYJpZw5CzglDH7gKnWqqM9ZTaXcN0TeYhR84eQtJT76JJ1lREe7WnnvsMmRc9FQ7SBBM9mV3lCUdmHk/S2RAMt0QjFNFqQpWjDPQ01DXWUdDBkXziKPjGEP3VP+zIWU2t7im41FOloyWzn/L6dkUy3VLDaZ6appgDLHPjJEsyvJngWEPUyVBiAaHCTEXwrLvSEbV1e1gKJniicWorC1MUrVjB3uDhJE/wgSOzk1DXpk0k73qCM8xw2UvD5kJmDUfOomqMpWCkJRlvKXGmoeBm18USjVIk04SClxTB6YrgLAPLWYK9HLUt5cmc0vYES8GnTeRc6skZbQkWdxRsIcyBRzx1DbTk9FbU0caTPOgJHhJKnOGIVhQqvKmo0llRw9sabrZkDtdg3PqaKi9oatjY8B+G371paMg6+mZFNNtQ04mWBq3rYLOmtWWQp8KJnpy9DdFensyjdqZ+yY40VJlH8wcdLzC8PZnvHMFUTZUrDTkLyQaGus5X5LzpYAf3i+e/ZlhqGqWhh6Ou6xTR9Z6oi5AZZtp7Mj2EEm8oSpxiYZCHU/1fbGdNNNRRoZMhmilEb2gqHOEJDtXkHK/JnG6IrvbPCwV3NhONVdS1thBMs1T4QOBcTWa2IzhMk2nW5Kyn9tXUtpv9RsG2msxk+ZsQzRQacJncpgke0+T8y5Fzj8BiGo7XlJjaTIlpQs7KFjpqGnKuoyEPeIKnFMkZHvopgh81ySxNFWvJWcKRs70j2FOT012IllEEO1n4pD1513Yg2ssQPOThOkvyrqHUdEXOSEsihmBbTbKX1kLBPWqWkLOqJbjB3GBIZmoa8qWl4CG/iZ7oiA72ZL7TJNeZUY7kFQftDcHHluBzRbCegzMtrRjVQpX2lgoPKKLJAkcbMl01XK2p7yhL8pCBbQ3BN2avJgKvttcrWDK3CiUOVxQ8ZP+pqXKyIxnmBymCg5vJjNfkPK4+c8cIfK8ocVt7kmfd/I5SR1hKvCzUtb+lhgc00ZaO6CyhIQP1Uv4yIZjload72PXX0OIJvnFU+0Zf6MhsJwTfW0r0UwQfW4LNLZl5HK261JCZ4qnBaAreVAS3WrjV0LBnNDUNNDToCEeFfwgcb4gOEqLRhirWkexrCEYKVV711DLYEE1XBEsp5tpTGjorkomKYF9FDXv7fR3BGwbettSxnyL53MBPjsxDZjMh+VUW9NRxq1DhVk+FSxQcaGjV9Pawv6eGByw5qzoy7xk4RsOShqjJwWKe/1pEEfzkobeD/dQJmpqedcyBTy2sr4nGNRH0c0SPWTLrqAc0OQcb/gemKgqucQT7ySWKCn2EUotoCvpZct7RO2sy/QW0IWcXd7pQRQyZVwT2USRO87uhjioTLKV2brpMUcMQRbKH/N2T+UlTpaMls6cmc6CCNy3JdYYSUzzJQ4oSD3oKLncULOiJvjBEC2oqnCJkJluCYy2ZQ5so9YYlZ1VLlQU1mXEW1jZERwj/MUSRc24TdexlqLKfQBtDTScJUV8FszXBEY5ktpD5Ur9hYB4Nb1iikw3JoYpkKX+RodRKFt53MMuRnKSpY31PwYaGaILh3wxJGz9TkTPEETxoCWZrgvOlmyMzxFEwVJE5xZKzvyJ4WxEc16Gd4Xe3Weq4XH2jKRikqOkGQ87hQnC7wBmGYLAnesX3M+S87eFATauuN+Qcrh7xIxXJbUIdMw3JGE3ylCWzrieaqCn4zhGM19TQ3z1oH1AX+pWEqIc7wNGAkULBo/ZxRaV9NNyh4Br3rCHZzbzmSfawBL0dNRwpW1kK9mxPXR9povcdrGSZK9c2k0xwFGzjuniCtRSZCZ6ccZ7gaktmgAOtKbG/JnOkJrjcQTdFMsxRQ2cLY3WTIrlCw1eWKn8R6pvt4GFDso3QoL4a3nLk3G6JrtME3dSenpx7PNFTmga0EaJTLQ061sEeQoWXhSo9LTXsaSjoJQRXeZLtDclbCrYzfzHHeaKjHCVOUkQHO3JeEepr56mhiyaYYKjjNU+Fed1wS5VlhWSqI/hYUdDOkaxiKehoyOnrCV5yBHtbWFqTHCCwtpDcYolesVR5yUzTZBb3RNMd0d6WP+SvhuBmRcGxnuQzT95IC285cr41cLGQ6aJJhmi4TMGempxeimBRQw1tFKV+8jd6KuzoSTqqDxzRtpZkurvKEHxlqXKRIjjfUNNXQsNOsRScoWFLT+YeRZVD3GRN0MdQcKqQjHDMrdGGVu3iYJpQx3WGUvfbmxwFfR20WBq0oYY7LMFhhgYtr8jpaEnaOzjawWWaTP8mMr0t/EPDPoqcnxTBI5o58L7uoWnMrpoqPwgVrlAUWE+V+TQl9rawoyP6QGAlQw2TPRX+YSkxyBC8Z6jhHkXBgQL7WII3DVFnRfCrBfxewv9D6xsyjys4VkhWb9pUU627JllV0YDNHMku/ldNMMXDEo4aFnAkk4U6frNEU4XgZUPmEKHUl44KrzmYamjAbh0JFvGnaTLPu1s9jPCwjFpYiN7z1DTOk/nc07CfDFzmCf7i+bfNHXhDtLeBXzTBT5rkMvWOIxpl4EMh2LGJBu2syDnAEx2naEhHDWMMzPZEhygyS1mS5RTJr5ZkoKbEUoYqr2kqdDUE8ztK7OaIntJkFrIECwv8LJTaVx5XJE86go8dFeZ3FN3rjabCAYpoYEeC9zzJVULBbmZhDyd7ko09ydpNZ3nm2Kee4FPPXHnYEF1nqOFEC08LUVcDvYXkJHW8gTaKCk9YGOeIJhqiE4ToPEepdp7IWFjdwnWaufGMwJJCMtUTTBBK9BGCOy2tGGrJTHIwyEOzp6aPzNMOtlZkDvcEWpP5SVNhfkvDxhmSazTJXYrM9U1E0xwFVwqZQwzJxw6+kGGGUj2FglGGmnb1/G51udRSMNlTw6GGnCcUwVcOpmsqTHa06o72sw1RL02p9z0VbnMLOaIX3QKaYKSCFQzBKEUNHTSc48k53RH9wxGMtpQa5KjjW0W0n6XCCCG4yxNNdhQ4R4l1Ff+2sSd6UFHiIEOyqqFgT01mEUMD+joy75jPhOA+oVVLm309FR4yVOlp4RhLiScNmSmaYF5Pw0STrOIoWMSR2UkRXOMp+M4SHW8o8Zoi6OZgjKOaFar8zZDzkWzvKOjkKBjmCXby8JahhjXULY4KlzgKLvAwxVGhvyd4zxB1d9T0piazmKLCVZY5sKiD0y2ZSYrkUEPUbIk+dlQ4SJHTR50k1DPaUWIdTZW9NJwnJMOECgd7ou/MnppMJ02O1VT4Wsh85MnZzcFTngpXGKo84qmwgKbCL/orR/SzJ2crA+t6Mp94KvxJUeIbT3CQu1uIdlQEOzlKfS3UMcrTiFmOuroocrZrT2AcmamOKg8YomeEKm/rlT2sociMaybaUlFhuqHCM2qIJ+rg4EcDFymiDSxzaHdPcpE62pD5kyM5SBMoA1PaUtfIthS85ig1VPiPPYXgYEMNk4Qq7TXBgo7oT57gPUdwgCHzhIVFPFU6OYJzHAX9m5oNrVjeE61miDrqQ4VSa1oiURTsKHC0IfjNwU2WzK6eqK8jWln4g15TVBnqmDteCJ501PGAocJhhqjZdtBEB6lnhLreFJKxmlKbeGrqLiSThVIbCdGzloasa6lpMQXHCME2boLpJgT7yWaemu6wBONbqGNVRS0PKIL7LckbjmQtR7K8I5qtqel+T/ChJTNIKLjdUMNIRyvOEko9YYl2cwQveBikCNawJKcLBbc7+JM92mysNvd/Fqp8a0k6CNEe7cnZrxlW0wQXaXjaktnRwNOGZKYiONwS7a1JVheq3WgJHlQUGKHKmp4KAxXR/ULURcNgoa4zhKSLpZR3kxRRb0NmD0OFn+UCS7CzI1nbP6+o4x47QZE5xRCt3ZagnYcvmpYQktXdk5YKXTzBC57kKEe0VVuiSYqapssMS3C9p2CKkHOg8B8Pa8p5atrIw3qezIWanMGa5HRDNF6RM9wcacl0N+Q8Z8hsIkSnaIIdHRUOEebAPy1zbCkhM062FCJtif7PU+UtoVXzWKqM1PxXO8cfdruhFQ/a6x3JKYagvVDhQEtNiyiiSQ7OsuRsZUku0CRNDs4Sog6KKjsZgk2bYJqijgsEenoKeniinRXBn/U3lgpPdyDZynQx8IiioMnCep5Ky8mjGs6Wty0l1hUQTcNWswS3WRp2kCNZwJG8omG8JphPUaFbC8lEfabwP7VtM9yoaNCAjpR41VNhrD9LkbN722v0CoZMByFzhaW+MyzRYEWFDQwN2M4/JiT76PuljT3VU/A36eaIThb+R9oZGOAJ9tewkgGvqOMNRWYjT/Cwu99Q8LqDE4TgbLWxJ1jaDDAERsFOFrobgjUsBScaguXU8kKm2RL19tRypSHnHNlHiIZqgufs4opgQdVdwxBNNFBR6kVFqb8ogimOzB6a6HTzrlDHEpYaxjiiA4TMQobkDg2vejjfwJGWmnbVFAw3H3hq2NyQfG7hz4aC+w3BbwbesG0swYayvpAs6++Ri1Vfzx93mFChvyN5xVHTS+0p9aqCAxyZ6ZacZyw5+7uuQkFPR9DDk9NOiE7X1PCYJVjVUqq7JlrHwWALF5nfHNGjApdpqgzx5OwilDhCiDYTgnc9waGW4BdLNNUQvOtpzDOWHDH8D7TR/A/85KljEQu3NREc4Pl/6B1Hhc8Umb5CsKMmGC9EPcxoT2amwHNCmeOEnOPbklnMkbOgIvO5UMOpQrS9UGVdt6iH/fURjhI/WOpaW9OKLYRod6HCUEdOX000wpDZQ6hwg6LgZfOqo1RfT/CrJzjekXOGhpc1VW71ZLbXyyp+93ILbC1kPtIEYx0FIx1VDrLoVzXRKRYWk809yYlC9ImcrinxtabKnzRJk3lAU1OLEN1j2zrYzr2myHRXJFf4h4QKT1qSTzTB5+ZNTzTRkAxX8FcLV2uS8eoQQ2aAkFzvCM72sJIcJET3WPjRk5wi32uSS9rfZajpWEvj9hW42F4o5NytSXYy8IKHay10VYdrcl4SkqscrXpMwyGOgtkajheSxdQqmpxP1L3t4R5PqasFnrQEjytq6qgp9Y09Qx9o4S1FzhUCn1kyHSzBWLemoSGvOqLNhZyBjmCaAUYpMgt4Ck7wBBMMwWKWgjsUwTaGVsxWC1mYoKiyqqeGKYqonSIRQ3KIkHO0pmAxTdBHkbOvfllfr+AA+7gnc50huVKYK393FOyg7rbPO/izI7hE4CnHHHnJ0ogNPRUGeUpsrZZTBJcrovUcJe51BPsr6GkJdhCCsZ6aTtMEb2pqWkqeVtDXE/QVggsU/Nl86d9RMF3DxvZTA58agu810RWawCiSzzXBeU3MMW9oyJUedvNEvQyNu1f10BSMddR1vaLCYpYa/mGocLSiYDcLbQz8aMn5iyF4xBNMs1P0QEOV7o5gaWGuzSeLue4tt3ro7y4Tgm4G/mopdZgl6q0o6KzJWE3mMksNr3r+a6CbT8g5wZNzT9O7fi/zpaOmnz3BRoqos+tv9zMbdpxsqDBOEewtJLt7cg5wtKKbvldpSzRRCD43VFheCI7yZLppggMVBS/KMAdHODJvOwq2NQSbKKKPLdFWQs7Fqo+mpl01JXYRgq8dnGLhTiFzqmWsUMdpllZdbKlyvSdYxhI9YghOtxR8LgSLWHK62mGGVoxzBE8LNWzqH9CUesQzFy5RQzTc56mhi6fgXEWwpKfE5Z7M05ZgZUPmo6auiv8YKzDYwWBLMErIbKHJvOwIrvEdhOBcQ9JdU1NHQ7CXn2XIDFBKU2WAgcX9UAUzDXWd5alwuyJ41Z9rjKLCL4aCp4WarhPm2rH+SaHUYE001JDZ2ZAzXPjdMpZWvC9wmqIB2lLhQ01D5jO06hghWMndbM7yRJMsoCj1vYbnFQVrW9jak3OlEJ3s/96+p33dEPRV5GxiqaGjIthUU6FFEZyqCa5qJrpBdzSw95IUnOPIrCUUjRZQFrbw5PR0R1qiYx3cb6nrWUMrBmmiBQxVHtTew5ICP/ip6g4hed/Akob/32wvBHsIOX83cI8hGeNeNPCIkPmXe8fPKx84OMSRM1MTdXSwjCZ4S30jVGhvqTRak/OVhgGazHuOCud5onEO1lJr6ecVyaOK6H7zqlBlIaHE0oroCgfvGJIdPcmfLNGLjpz7hZwZQpUbFME0A1cIJa7VNORkgfsMBatbKgwwJM9bSvQXeNOvbIjelg6WWvo5kvbKaJJNHexkKNHL9xRyFlH8Ti2riB5wVPhUk7nGkJnoCe428LR/wRGdYIlmWebCyxou1rCk4g/ShugBDX0V0ZQWkh0dOVsagkM0yV6OoLd5ye+pRlsCr0n+KiQrGuq5yJDzrTAXHtLUMduTDBVKrSm3eHL+6ijxhFDX9Z5gVU/wliHYTMiMFpKLNMEywu80wd3meoFmt6VbRMPenhrOc6DVe4pgXU8DnnHakLOIIrlF4FZPIw6R+zxBP0dyq6OOZ4Q5sLKCcz084ok+VsMMyQhNZmmBgX5xIXOEJTmi7VsGTvMTNdHHhpzdbE8Du2oKxgvBqQKdDDnTFOylCFaxR1syz2iqrOI/FEpNc3C6f11/7+ASS6l2inq2ciTrCCzgyemrCL5SVPjQkdPZUmGy2c9Sw9FtR1sS30RmsKPCS4rkIC/2U0MduwucYolGaPjKEyhzmiPYXagyWbYz8LWBDdzRimAXzxx4z8K9hpzlhLq+NiQ97HuKorMUfK/OVvC2JfiHUPCQI/q7J2gjK+tTDNxkCc4TMssqCs4TGtLVwQihyoAWgj9bosU80XGW6Ac9TJGziaUh5+hnFcHOnlaM1iRn29NaqGENTTTSUHCH2tWTeV0osUhH6psuVLjRUmGWhm6OZEshGeNowABHcJ2Bpy2ZszRcKkRXd2QuKVEeXnbfaEq825FguqfgfE2whlChSRMdron+LATTPQ2Z369t4B9C5gs/ylzv+CMmepIDPclFQl13W0rspPd1JOcbghGOEutqCv5qacURQl3dDKyvyJlqKXGPgcM9FfawJAMVmdcspcYKOZc4GjDYkFlK05olNMHyHn4zFNykyOxt99RkHlfwmiHo60l2EKI+mhreEKp080Tbug08BVPcgoqC5zWt+NLDTZ7oNSF51N1qie7Va3uCCwyZbkINf/NED6jzOsBdZjFN8oqG3wxVunqCSYYKf3EdhJyf9YWGf7tRU2oH3VHgPr1fe5J9hOgHd7xQ0y7qBwXr23aGErP0cm64JVjZwsOGqL+mhNgZmhJLW2oY4UhedsyBgzrCKrq7BmcpNVhR6jBPq64Vgi+kn6XE68pp8J5/+0wRHGOpsKenQn9DZntPzjRLZpDAdD2fnSgkG9tmIXnUwQ6WVighs7Yi2MxQ0N3CqYaCXkJ0oyOztMDJjmSSpcpvlrk0RMMOjmArQ04PRV1DO1FwhCVaUVPpKUM03JK5SxPsIWRu8/CGHi8UHChiqGFDTbSRJWeYUDDcH6vJWUxR4k1FXbMUwV6e4AJFXS8oMqsZKqzvYQ9DDQdZckY4aGsIhtlubbd2r3j4QBMoTamdPZk7O/Bf62lacZwneNjQoGcdVU7zJOd7ghsUHOkosagic6cnWc8+4gg285R6zZP5s1/LUbCKIznTwK36PkdwlOrl4U1LwfdCCa+IrvFkmgw1PCAUXKWo0sURXWcI2muKJlgyFzhynCY4RBOsqCjoI1R5zREco0n2Vt09BQtYSizgKNHfUmUrQ5UOCh51BFcLmY7umhYqXKQomOop8bUnWNNQcIiBcYaC6xzMNOS8JQQfeqKBmmglB+97ok/lfk3ygaHSyZaCRTzRxQo6GzLfa2jWBPepw+UmT7SQEJyiyRkhBLMVOfcoMjcK0eZChfUNzFAUzCsEN5vP/X1uP/n/aoMX+K+nw/Hjr/9xOo7j7Pju61tLcgvJpTWXNbfN5jLpi6VfCOviTktKlFusQixdEKWmEBUKNaIpjZRSSOXSgzaaKLdabrm1/9nZ+/f+vd/vz/v9+Xy+zZ7PRorYoZqyLrCwQdEAixxVOEXNNnjX2nUSRlkqGmWowk8lxR50JPy9Bo6qJXaXwNvREBvnThPEPrewryLhcAnj5WE15Fqi8W7R1sAuEu86S4ENikItFN4xkv9Af4nXSnUVcLiA9xzesFpivRRVeFKtsMRaKBhuSbjOELnAUtlSQUpXgdfB4Z1oSbnFEetbQ0IrAe+Y+pqnDcEJFj6S8LDZzZHwY4e3XONNlARraomNEt2bkvGsosA3ioyHm+6jCMbI59wqt4eeara28IzEmyPgoRaUOEDhTVdEJhmCoTWfC0p8aNkCp0oYqih2iqGi4yXeMkOsn4LdLLnmKfh/YogjNsPebeFGR4m9BJHLzB61XQ3BtpISfS2FugsK9FAtLWX1dCRcrCnUp44CNzuCowUZmxSRgYaE6Za0W2u/E7CVXCiI/UOR8aAm1+OSyE3mOUcwyc1zBBeoX1kiKy0Zfxck1Gsyulti11i83QTBF5Kg3pDQThFMVHiPSlK+0cSedng/VaS8bOZbtsBcTcZAR8JP5KeqQ1OYKAi20njdNNRpgnsU//K+JnaXJaGTomr7aYIphoRn9aeShJWKEq9LcozSF7QleEfDI5LYm5bgVkFkRwVDBCVu0DDIkGupo8TZBq+/pMQURYErJQmPKGKjNDkWOLx7Jd5QizdUweIaKrlP7SwJDhZvONjLkOsBBX9UpGxnydhXkfBLQ8IxgojQbLFnJf81JytSljclYYyEFyx0kVBvKWOFJmONpshGAcsduQY5giVNCV51eOdJYo/pLhbvM0uDHSevNKRcrKZIqnCtJeEsO95RoqcgGK4ocZcho1tTYtcZvH41pNQ7vA0WrhIfOSraIIntIAi+NXWCErdbkvrWwjRLrt0NKUdL6KSOscTOdMSOUtBHwL6OLA0vNSdynaWQEnCpIvKaIrJJEbvHkmuNhn6OjM8VkSGSqn1uYJCGHnq9I3aLhNME3t6GjIkO7xrNFumpyTNX/NrwX7CrIRiqqWijI9JO4d1iieykyfiposQIQ8YjjsjlBh6oHWbwRjgYJQn2NgSnNycmJAk3NiXhx44Sxykihxm8ybUwT1OVKySc7vi3OXVkdBJ4AyXBeksDXG0IhgtYY0lY5ahCD0ehborIk5aUWRJviMA7Xt5kyRjonrXENkm8yYqgs8VzgrJmClK20uMM3jRJ0FiQICQF9hdETlLQWRIb5ki6WDfWRPobvO6a4GP5mcOrNzDFELtTkONLh9dXE8xypEg7z8A9jkhrQ6Fhjlg/QVktJXxt4WXzT/03Q8IaQWSqIuEvloQ2mqC9Jfi7wRul4RX3pSPlzpoVlmCtI2jvKHCFhjcM3sN6lqF6HxnKelLjXWbwrpR4xzuCrTUZx2qq9oAh8p6ixCUGr78g8oyjRAtB5CZFwi80VerVpI0h+IeBxa6Zg6kWvpDHaioYYuEsRbDC3eOmC2JvGYLeioxGknL2UATNJN6hmtj1DlpLvDVmocYbrGCVJKOrg4X6DgddLA203BKMFngdJJFtFd7vJLm6KEpc5yjQrkk7M80SGe34X24nSex1Ra5Omgb71JKyg8SrU3i/kARKwWpH0kOGhKkObyfd0ZGjvyXlAkVZ4xRbYJ2irFMkFY1SwyWxr2oo4zlNiV+7zmaweFpT4kR3kaDAFW6xpSqzJay05FtYR4HmZhc9UxKbbfF2V8RG1MBmSaE+kmC6JnaRXK9gsiXhJHl/U0qM0WTcbyhwkYIvFGwjSbjfwhiJt8ZSQU+Bd5+marPMOkVkD0muxYLIfEuhh60x/J92itguihJSEMySVPQnTewnEm+620rTQEMsOfo4/kP/0ARvWjitlpSX7GxBgcMEsd3EEeYWvdytd+Saawi6aCIj1CkGb6Aj9rwhx16Cf3vAwFy5pyLhVonXzy51FDpdEblbkdJbUcEPDEFzQ8qNmhzzLTmmKWKbFCXeEuRabp6rxbvAtLF442QjQ+wEA9eL1xSR7Q0JXzlSHjJ4exq89yR0laScJ/FW6z4a73pFMEfDiRZvuvijIt86RaSFOl01riV2mD1UEvxGk/Geg5aWwGki1zgKPG9J2U8PEg8qYvMsZeytiTRXBMslCU8JSlxi8EabjwUldlDNLfzTUmCgxWsjqWCOHavYAqsknKFIO0yQ61VL5AVFxk6WhEaCAkdJgt9aSkzXlKNX2jEa79waYuc7gq0N3GDJGCBhoiTXUEPsdknCUE1CK0fwsiaylSF2uiDyO4XX3pFhNd7R4itFGc0k/ElBZwWvq+GC6szVeEoS/MZ+qylwpKNKv9Z469UOjqCjwlusicyTxG6VpNxcQ8IncoR4RhLbR+NdpGGmJWOcIzJGUuKPGpQg8rrG21dOMqQssJQ4RxH5jaUqnZuQ0F4Q+cjxLwPtpZbIAk3QTJHQWBE5S1BokoVtDd6lhqr9UpHSUxMcIYl9pojsb8h4SBOsMQcqvOWC2E8EVehqiJ1hrrAEbQxeK0NGZ0Gkq+guSRgniM23bIHVkqwx4hiHd7smaOyglyIyQuM978j4VS08J/A2G1KeMBRo4fBaSNhKUEZfQewVQ/C1I+MgfbEleEzCUw7mKXI0M3hd1EESVji8x5uQ41nxs1q4RMJCCXs7Iq9acpxn22oSDnQ/sJTxsCbHIYZiLyhY05TY0ZLIOQrGaSJDDN4t8pVaIrsqqFdEegtizc1iTew5Q4ayBDMUsQMkXocaYkc0hZua412siZ1rSXlR460zRJ5SlHGe5j801RLMlJTxtaOM3Q1pvxJ45zUlWFD7rsAbpfEm1JHxG0eh8w2R7QQVzBUw28FhFp5QZzq8t2rx2joqulYTWSuJdTYfWwqMFMcovFmSyJPNyLhE4E10pHzYjOC3huArRa571ZsGajQpQx38SBP5pyZB6lMU3khDnp0MBV51BE9o2E+TY5Ml2E8S7C0o6w1xvCZjf0HkVEHCzFoyNmqC+9wdcqN+Tp7jSDheE9ws8Y5V0NJCn2bk2tqSY4okdrEhx1iDN8cSudwepWmAGXKcJXK65H9to8jYQRH7SBF01ESUJdd0TayVInaWhLkOjlXE5irKGOnI6GSWGCJa482zBI9rCr0jyTVcEuzriC1vcr6mwFGSiqy5zMwxBH/TJHwjSPhL8+01kaaSUuMFKTcLEvaUePcrSmwn8DZrgikWb7CGPxkSjhQwrRk57tctmxLsb9sZvL9LSlyuSLlWkqOjwduo8b6Uv1DkmudIeFF2dHCgxVtk8dpIvHpBxhEOdhKk7OLIUSdJ+cSRY57B+0DgGUUlNfpthTfGkauzxrvTsUUaCVhlKeteTXCoJDCa2NOKhOmC4G1H8JBd4OBZReSRGkqcb/CO1PyLJTLB4j1q8JYaIutEjSLX8YKM+a6phdMsdLFUoV5RTm9JSkuDN8WcIon0NZMNZWh1q8C7SJEwV5HxrmnnTrf3KoJBlmCYI2ilSLlfEvlE4011NNgjgthzEua0oKK7JLE7HZHlEl60BLMVFewg4EWNt0ThrVNEVkkiTwpKXSWJzdRENgvKGq4IhjsiezgSFtsfCUq8qki5S1LRQeYQQ4nemmCkImWMw3tFUoUBZk4NOeZYEp4XRKTGa6wJjrWNHBVJR4m3FCnbuD6aak2WsMTh3SZImGCIPKNgsDpVwnsa70K31lCFJZYcwwSMFcQulGTsZuEaSdBXkPGZhu0FsdUO73RHjq8MPGGIfaGIbVTk6iuI3GFgucHrIQkmWSJdBd7BBu+uOryWAhY7+Lki9rK5wtEQzWwvtbqGhIMFwWRJsElsY4m9IIg9L6lCX0VklaPAYkfkZEGDnOWowlBJjtMUkcGK4Lg6EtoZInMUBVYLgn0UsdmCyCz7gIGHFfk+k1QwTh5We7A9x+IdJ6CvIkEagms0hR50eH9UnTQJ+2oiKyVlLFUE+8gBGu8MQ3CppUHesnjTHN4QB/UGPhCTHLFPHMFrCqa73gqObUJGa03wgbhHkrCfpEpzNLE7JDS25FMKhlhKKWKfCgqstLCPu1zBXy0J2ztwjtixBu8UTRn9LVtkmCN2iyFhtME70JHRQ1KVZXqKI/KNIKYMCYs1GUMEKbM1bKOI9LDXC7zbHS+bt+1MTWS9odA9DtrYtpbImQJ2VHh/lisEwaHqUk1kjKTAKknkBEXkbkdMGwq0dnhzLJF3NJH3JVwrqOB4Sca2hti75nmJN0WzxS6UxDYoEpxpa4htVlRjkYE7DZGzJVU72uC9IyhQL4i8YfGWSYLLNcHXloyz7QhNifmKSE9JgfGmuyLhc403Xm9vqcp6gXe3xuuv8F6VJNxkyTHEkHG2g0aKXL0MsXc1bGfgas2//dCONXiNLCX+5mB7eZIl1kHh7ajwpikyzlUUWOVOsjSQlsS+M0R+pPje/dzBXRZGO0rMtgQrLLG9VSu9n6CMXS3BhwYmSoIBhsjNBmZbgusE9BCPCP5triU4VhNbJfE+swSP27aayE8tuTpYYjtrYjMVGZdp2NpS1s6aBnKSHDsbKuplKbHM4a0wMFd/5/DmGyKrJSUaW4IBrqUhx0vyfzTBBLPIUcnZdrAkNsKR0sWRspumSns6Ch0v/qqIbBYUWKvPU/CFoyrDJGwSNFhbA/MlzKqjrO80hRbpKx0Jewsi/STftwGSlKc1JZyAzx05dhLEdnfQvhZOqiHWWEAHC7+30FuRcZUgaO5gpaIK+xsiHRUsqaPElTV40xQZQ107Q9BZE1nryDVGU9ZSQ47bmhBpLcYpUt7S+xuK/FiT8qKjwXYw5ypS2iuCv7q1gtgjhuBuB8LCFY5cUuCNtsQOFcT+4Ih9JX+k8Ea6v0iCIRZOtCT0Et00JW5UeC85Cg0ScK0k411HcG1zKtre3SeITBRk7WfwDhEvaYLTHP9le0m8By0JDwn4TlLW/aJOvGHxdjYUes+ScZigCkYQdNdEOhkiezgShqkx8ueKjI8lDfK2oNiOFvrZH1hS+tk7NV7nOmLHicGWEgubkXKdwdtZknCLJXaCpkrjZBtLZFsDP9CdxWsSr05Sxl6CMmoFbCOgryX40uDtamB7SVmXW4Ihlgpmq+00tBKUUa83WbjLUNkzDmY7cow1JDygyPGlhgGKYKz4vcV7QBNbJIgM11TUqZaMdwTeSguH6rOaw1JRKzaaGyxVm2EJ/uCIrVWUcZUkcp2grMsEjK+DMwS59jQk3Kd6SEq1d0S6uVmO4Bc1lDXTUcHjluCXEq+1OlBDj1pi9zgiXxnKuE0SqTXwhqbETW6RggMEnGl/q49UT2iCzgJvRwVXS2K/d6+ZkyUl7jawSVLit46EwxVljDZwoSQ20sDBihztHfk2yA8NVZghiXwrYHQdfKAOtzsayjhY9bY0yE2CWEeJ9xfzO423xhL5syS2TFJofO2pboHob0nY4GiAgRrvGQEDa/FWSsoaaYl0syRsEt3kWoH3B01shCXhTUWe9w3Bt44SC9QCh3eShQctwbaK2ApLroGCMlZrYqvlY3qYhM0aXpFkPOuoqJ3Dm6fxXrGwVF9gCWZagjPqznfkuMKQ8DPTQRO8ZqG1hPGKEm9IgpGW4DZDgTNriTxvFiq+Lz+0cKfp4wj6OCK9JSnzNSn9LFU7UhKZZMnYwcJ8s8yRsECScK4j5UOB95HFO0CzhY4xJxuCix0lDlEUeMdS6EZBkTsUkZ4K74dugyTXS7aNgL8aqjDfkCE0ZbwkCXpaWCKhl8P7VD5jxykivSyxyZrYERbe168LYu9ZYh86IkscgVLE7tWPKmJv11CgoyJltMEbrohtVAQfO4ImltiHEroYEs7RxAarVpY8AwXMcMReFOTYWe5iiLRQxJ5Q8DtJ8LQhWOhIeFESPGsILhbNDRljNbHzNRlTFbk2S3L0NOS6V1KFJYKUbSTcIIhM0wQ/s2TM0SRMNcQmSap3jCH4yhJZKSkwyRHpYYgsFeQ4U7xoCB7VVOExhXepo9ABBsYbvGWKXPME3lyH95YioZ0gssQRWWbI+FaSMkXijZXwgiTlYdPdkNLaETxlyDVIwqeaEus0aTcYcg0RVOkpR3CSJqIddK+90JCxzsDVloyrFd5ZAr4TBKfaWa6boEA7C7s6EpYaeFPjveooY72mjIccLHJ9HUwVlDhKkmutJDJBwnp1rvulJZggKDRfbXAkvC/4l3ozQOG9a8lxjx0i7nV4jSXc7vhe3OwIxjgSHjdEhhsif9YkPGlus3iLFDnWOFhtCZbJg0UbQcIaR67JjthoCyMEZRwhiXWyxO5QxI6w5NhT4U1WsJvDO60J34fW9hwzwlKij6ZAW9ne4L0s8C6XeBMEkd/LQy1VucBRot6QMlbivaBhoBgjqGiCJNhsqVp/S2SsG6DIONCR0dXhvWbJ+MRRZJkkuEjgDXJjFQW6SSL7GXK8Z2CZg7cVsbWGoKmEpzQ5elpiy8Ryg7dMkLLUEauzeO86CuwlSOlgYLojZWeJ9xM3S1PWfEfKl5ISLQ0MEKR8YOB2QfCxJBjrKPCN4f9MkaSsqoVXJBmP7EpFZ9UQfOoOFwSzBN4MQ8LsGrymlipcJQhmy0GaQjPqCHaXRwuCZwRbqK2Fg9wlClZqYicrIgMdZfxTQ0c7TBIbrChxmuzoKG8XRaSrIhhiyNFJkrC7oIAWMEOQa5aBekPCRknCo4IKPrYkvCDI8aYmY7WFtprgekcJZ3oLIqssCSMtFbQTJKwXYy3BY5oCh2iKPCpJOE+zRdpYgi6O2KmOAgvVCYaU4ySRek1sgyFhJ403QFHiVEmJHwtybO1gs8Hr5+BETQX3War0qZngYGgtVZtoqd6vFSk/UwdZElYqyjrF4HXUeFspIi9IGKf4j92pKGAdCYMVsbcV3kRF0N+R8LUd5PCsIGWoxDtBkCI0nKofdJQxT+LtZflvuc8Q3CjwWkq8KwUpHzkK/NmSsclCL0nseQdj5FRH5CNHSgtLiW80Of5HU9Hhlsga9bnBq3fEVltKfO5IaSTmGjjc4J0otcP7QsJUSQM8pEj5/wCuUuC2DWz8AAAAAElFTkSuQmCC")}.cm-s-base16-dark.CodeMirror{background:#151515;color:#e0e0e0}.cm-s-base16-dark div.CodeMirror-selected{background:#303030}.cm-s-base16-dark .CodeMirror-line::selection,.cm-s-base16-dark .CodeMirror-line>span::selection,.cm-s-base16-dark .CodeMirror-line>span>span::selection{background:rgba(48,48,48,.99)}.cm-s-base16-dark .CodeMirror-line::-moz-selection,.cm-s-base16-dark .CodeMirror-line>span::-moz-selection,.cm-s-base16-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(48,48,48,.99)}.cm-s-base16-dark .CodeMirror-gutters{background:#151515;border-right:0}.cm-s-base16-dark .CodeMirror-guttermarker{color:#ac4142}.cm-s-base16-dark .CodeMirror-guttermarker-subtle,.cm-s-base16-dark .CodeMirror-linenumber{color:#505050}.cm-s-base16-dark .CodeMirror-cursor{border-left:1px solid #b0b0b0}.cm-s-base16-dark span.cm-comment{color:#8f5536}.cm-s-base16-dark span.cm-atom,.cm-s-base16-dark span.cm-number{color:#aa759f}.cm-s-base16-dark span.cm-attribute,.cm-s-base16-dark span.cm-property{color:#90a959}.cm-s-base16-dark span.cm-keyword{color:#ac4142}.cm-s-base16-dark span.cm-string{color:#f4bf75}.cm-s-base16-dark span.cm-variable{color:#90a959}.cm-s-base16-dark span.cm-variable-2{color:#6a9fb5}.cm-s-base16-dark span.cm-def{color:#d28445}.cm-s-base16-dark span.cm-bracket{color:#e0e0e0}.cm-s-base16-dark span.cm-tag{color:#ac4142}.cm-s-base16-dark span.cm-link{color:#aa759f}.cm-s-base16-dark span.cm-error{background:#ac4142;color:#b0b0b0}.cm-s-base16-dark .CodeMirror-activeline-background{background:#202020}.cm-s-base16-dark .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-base16-light.CodeMirror{background:#f5f5f5;color:#202020}.cm-s-base16-light div.CodeMirror-selected{background:#e0e0e0}.cm-s-base16-light .CodeMirror-line::selection,.cm-s-base16-light .CodeMirror-line>span::selection,.cm-s-base16-light .CodeMirror-line>span>span::selection{background:#e0e0e0}.cm-s-base16-light .CodeMirror-line::-moz-selection,.cm-s-base16-light .CodeMirror-line>span::-moz-selection,.cm-s-base16-light .CodeMirror-line>span>span::-moz-selection{background:#e0e0e0}.cm-s-base16-light .CodeMirror-gutters{background:#f5f5f5;border-right:0}.cm-s-base16-light .CodeMirror-guttermarker{color:#ac4142}.cm-s-base16-light .CodeMirror-guttermarker-subtle,.cm-s-base16-light .CodeMirror-linenumber{color:#b0b0b0}.cm-s-base16-light .CodeMirror-cursor{border-left:1px solid #505050}.cm-s-base16-light span.cm-comment{color:#8f5536}.cm-s-base16-light span.cm-atom,.cm-s-base16-light span.cm-number{color:#aa759f}.cm-s-base16-light span.cm-attribute,.cm-s-base16-light span.cm-property{color:#90a959}.cm-s-base16-light span.cm-keyword{color:#ac4142}.cm-s-base16-light span.cm-string{color:#f4bf75}.cm-s-base16-light span.cm-variable{color:#90a959}.cm-s-base16-light span.cm-variable-2{color:#6a9fb5}.cm-s-base16-light span.cm-def{color:#d28445}.cm-s-base16-light span.cm-bracket{color:#202020}.cm-s-base16-light span.cm-tag{color:#ac4142}.cm-s-base16-light span.cm-link{color:#aa759f}.cm-s-base16-light span.cm-error{background:#ac4142;color:#505050}.cm-s-base16-light .CodeMirror-activeline-background{background:#dddcdc}.cm-s-base16-light .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-bespin.CodeMirror{background:#28211c;color:#9d9b97}.cm-s-bespin div.CodeMirror-selected{background:#36312e!important}.cm-s-bespin .CodeMirror-gutters{background:#28211c;border-right:0}.cm-s-bespin .CodeMirror-linenumber{color:#666}.cm-s-bespin .CodeMirror-cursor{border-left:1px solid #797977!important}.cm-s-bespin span.cm-comment{color:#937121}.cm-s-bespin span.cm-atom,.cm-s-bespin span.cm-number{color:#9b859d}.cm-s-bespin span.cm-attribute,.cm-s-bespin span.cm-property{color:#54be0d}.cm-s-bespin span.cm-keyword{color:#cf6a4c}.cm-s-bespin span.cm-string{color:#f9ee98}.cm-s-bespin span.cm-variable{color:#54be0d}.cm-s-bespin span.cm-variable-2{color:#5ea6ea}.cm-s-bespin span.cm-def{color:#cf7d34}.cm-s-bespin span.cm-error{background:#cf6a4c;color:#797977}.cm-s-bespin span.cm-bracket{color:#9d9b97}.cm-s-bespin span.cm-tag{color:#cf6a4c}.cm-s-bespin span.cm-link{color:#9b859d}.cm-s-bespin .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-bespin .CodeMirror-activeline-background{background:#404040}.cm-s-blackboard.CodeMirror{background:#0c1021;color:#f8f8f8}.cm-s-blackboard div.CodeMirror-selected{background:#253b76}.cm-s-blackboard .CodeMirror-line::selection,.cm-s-blackboard .CodeMirror-line>span::selection,.cm-s-blackboard .CodeMirror-line>span>span::selection{background:rgba(37,59,118,.99)}.cm-s-blackboard .CodeMirror-line::-moz-selection,.cm-s-blackboard .CodeMirror-line>span::-moz-selection,.cm-s-blackboard .CodeMirror-line>span>span::-moz-selection{background:rgba(37,59,118,.99)}.cm-s-blackboard .CodeMirror-gutters{background:#0c1021;border-right:0}.cm-s-blackboard .CodeMirror-guttermarker{color:#fbde2d}.cm-s-blackboard .CodeMirror-guttermarker-subtle,.cm-s-blackboard .CodeMirror-linenumber{color:#888}.cm-s-blackboard .CodeMirror-cursor{border-left:1px solid #a7a7a7}.cm-s-blackboard .cm-keyword{color:#fbde2d}.cm-s-blackboard .cm-atom,.cm-s-blackboard .cm-number{color:#d8fa3c}.cm-s-blackboard .cm-def{color:#8da6ce}.cm-s-blackboard .cm-variable{color:#ff6400}.cm-s-blackboard .cm-operator{color:#fbde2d}.cm-s-blackboard .cm-comment{color:#aeaeae}.cm-s-blackboard .cm-string,.cm-s-blackboard .cm-string-2{color:#61ce3c}.cm-s-blackboard .cm-meta{color:#d8fa3c}.cm-s-blackboard .cm-attribute,.cm-s-blackboard .cm-builtin,.cm-s-blackboard .cm-tag{color:#8da6ce}.cm-s-blackboard .cm-header{color:#ff6400}.cm-s-blackboard .cm-hr{color:#aeaeae}.cm-s-blackboard .cm-link{color:#8da6ce}.cm-s-blackboard .cm-error{background:#9d1e15;color:#f8f8f8}.cm-s-blackboard .CodeMirror-activeline-background{background:#3c3636}.cm-s-blackboard .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.cm-s-cobalt.CodeMirror{background:#002240;color:#fff}.cm-s-cobalt div.CodeMirror-selected{background:#b36539}.cm-s-cobalt .CodeMirror-line::selection,.cm-s-cobalt .CodeMirror-line>span::selection,.cm-s-cobalt .CodeMirror-line>span>span::selection{background:rgba(179,101,57,.99)}.cm-s-cobalt .CodeMirror-line::-moz-selection,.cm-s-cobalt .CodeMirror-line>span::-moz-selection,.cm-s-cobalt .CodeMirror-line>span>span::-moz-selection{background:rgba(179,101,57,.99)}.cm-s-cobalt .CodeMirror-gutters{background:#002240;border-right:1px solid #aaa}.cm-s-cobalt .CodeMirror-guttermarker{color:#ffee80}.cm-s-cobalt .CodeMirror-guttermarker-subtle,.cm-s-cobalt .CodeMirror-linenumber{color:#d0d0d0}.cm-s-cobalt .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-cobalt span.cm-comment{color:#08f}.cm-s-cobalt span.cm-atom{color:#845dc4}.cm-s-cobalt span.cm-attribute,.cm-s-cobalt span.cm-number{color:#ff80e1}.cm-s-cobalt span.cm-keyword{color:#ffee80}.cm-s-cobalt span.cm-string{color:#3ad900}.cm-s-cobalt span.cm-meta{color:#ff9d00}.cm-s-cobalt span.cm-tag,.cm-s-cobalt span.cm-variable-2{color:#9effff}.cm-s-cobalt span.cm-def,.cm-s-cobalt span.cm-variable-3{color:#fff}.cm-s-cobalt span.cm-bracket{color:#d8d8d8}.cm-s-cobalt span.cm-builtin,.cm-s-cobalt span.cm-special{color:#ff9e59}.cm-s-cobalt span.cm-link{color:#845dc4}.cm-s-cobalt span.cm-error{color:#9d1e15}.cm-s-cobalt .CodeMirror-activeline-background{background:#002d57}.cm-s-cobalt .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.cm-s-colorforth.CodeMirror{background:#000;color:#f8f8f8}.cm-s-colorforth .CodeMirror-gutters{background:#0a001f;border-right:1px solid #aaa}.cm-s-colorforth .CodeMirror-guttermarker{color:#ffbd40}.cm-s-colorforth .CodeMirror-guttermarker-subtle{color:#78846f}.cm-s-colorforth .CodeMirror-linenumber{color:#bababa}.cm-s-colorforth .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-colorforth span.cm-comment{color:#ededed}.cm-s-colorforth span.cm-def{color:#ff1c1c;font-weight:700}.cm-s-colorforth span.cm-keyword{color:#ffd900}.cm-s-colorforth span.cm-builtin{color:#00d95a}.cm-s-colorforth span.cm-variable{color:#73ff00}.cm-s-colorforth span.cm-string{color:#007bff}.cm-s-colorforth span.cm-number{color:#00c4ff}.cm-s-colorforth span.cm-atom{color:#606060}.cm-s-colorforth span.cm-variable-2{color:#eee}.cm-s-colorforth span.cm-variable-3{color:#ddd}.cm-s-colorforth span.cm-meta{color:#ff0}.cm-s-colorforth span.cm-qualifier{color:#fff700}.cm-s-colorforth span.cm-bracket{color:#cc7}.cm-s-colorforth span.cm-tag{color:#ffbd40}.cm-s-colorforth span.cm-attribute{color:#fff700}.cm-s-colorforth span.cm-error{color:red}.cm-s-colorforth div.CodeMirror-selected{background:#333d53}.cm-s-colorforth span.cm-compilation{background:hsla(0,0%,100%,.12)}.cm-s-colorforth .CodeMirror-activeline-background{background:#253540}.cm-s-dracula.CodeMirror,.cm-s-dracula .CodeMirror-gutters{background-color:#282a36!important;color:#f8f8f2!important;border:none}.cm-s-dracula .CodeMirror-gutters{color:#282a36}.cm-s-dracula .CodeMirror-cursor{border-left:thin solid #f8f8f0}.cm-s-dracula .CodeMirror-linenumber{color:#6d8a88}.cm-s-dracula .CodeMirror-selected{background:hsla(0,0%,100%,.1)}.cm-s-dracula .CodeMirror-line::selection,.cm-s-dracula .CodeMirror-line>span::selection,.cm-s-dracula .CodeMirror-line>span>span::selection{background:hsla(0,0%,100%,.1)}.cm-s-dracula .CodeMirror-line::-moz-selection,.cm-s-dracula .CodeMirror-line>span::-moz-selection,.cm-s-dracula .CodeMirror-line>span>span::-moz-selection{background:hsla(0,0%,100%,.1)}.cm-s-dracula span.cm-comment{color:#6272a4}.cm-s-dracula span.cm-string,.cm-s-dracula span.cm-string-2{color:#f1fa8c}.cm-s-dracula span.cm-number{color:#bd93f9}.cm-s-dracula span.cm-variable{color:#50fa7b}.cm-s-dracula span.cm-variable-2{color:#fff}.cm-s-dracula span.cm-def{color:#50fa7b}.cm-s-dracula span.cm-keyword,.cm-s-dracula span.cm-operator{color:#ff79c6}.cm-s-dracula span.cm-atom{color:#bd93f9}.cm-s-dracula span.cm-meta{color:#f8f8f2}.cm-s-dracula span.cm-tag{color:#ff79c6}.cm-s-dracula span.cm-attribute,.cm-s-dracula span.cm-qualifier{color:#50fa7b}.cm-s-dracula span.cm-property{color:#66d9ef}.cm-s-dracula span.cm-builtin{color:#50fa7b}.cm-s-dracula span.cm-variable-3{color:#ffb86c}.cm-s-dracula .CodeMirror-activeline-background{background:hsla(0,0%,100%,.1)}.cm-s-dracula .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-duotone-dark.CodeMirror{background:#2a2734;color:#6c6783}.cm-s-duotone-dark div.CodeMirror-selected{background:#545167!important}.cm-s-duotone-dark .CodeMirror-gutters{background:#2a2734;border-right:0}.cm-s-duotone-dark .CodeMirror-linenumber{color:#545167}.cm-s-duotone-dark .CodeMirror-cursor{border-left:1px solid #ffad5c;border-right:.5em solid #ffad5c;opacity:.5}.cm-s-duotone-dark .CodeMirror-activeline-background{background:#363342;opacity:.5}.cm-s-duotone-dark .cm-fat-cursor .CodeMirror-cursor{background:#ffad5c;opacity:.5}.cm-s-duotone-dark span.cm-atom,.cm-s-duotone-dark span.cm-attribute,.cm-s-duotone-dark span.cm-hr,.cm-s-duotone-dark span.cm-keyword,.cm-s-duotone-dark span.cm-link,.cm-s-duotone-dark span.cm-number,.cm-s-duotone-dark span.cm-quote,.cm-s-duotone-dark span.cm-variable{color:#fc9}.cm-s-duotone-dark span.cm-property{color:#9a86fd}.cm-s-duotone-dark span.cm-negative,.cm-s-duotone-dark span.cm-punctuation,.cm-s-duotone-dark span.cm-unit{color:#e09142}.cm-s-duotone-dark span.cm-string{color:#ffb870}.cm-s-duotone-dark span.cm-operator{color:#ffad5c}.cm-s-duotone-dark span.cm-positive{color:#6a51e6}.cm-s-duotone-dark span.cm-string-2,.cm-s-duotone-dark span.cm-url,.cm-s-duotone-dark span.cm-variable-2,.cm-s-duotone-dark span.cm-variable-3{color:#7a63ee}.cm-s-duotone-dark span.cm-builtin,.cm-s-duotone-dark span.cm-def,.cm-s-duotone-dark span.cm-em,.cm-s-duotone-dark span.cm-header,.cm-s-duotone-dark span.cm-qualifier,.cm-s-duotone-dark span.cm-tag{color:#eeebff}.cm-s-duotone-dark span.cm-bracket,.cm-s-duotone-dark span.cm-comment{color:#6c6783}.cm-s-duotone-dark span.cm-error,.cm-s-duotone-dark span.cm-invalidchar{color:red}.cm-s-duotone-dark span.cm-header{font-weight:400}.cm-s-duotone-dark .CodeMirror-matchingbracket{text-decoration:underline;color:#eeebff!important}.cm-s-duotone-light.CodeMirror{background:#faf8f5;color:#b29762}.cm-s-duotone-light div.CodeMirror-selected{background:#e3dcce!important}.cm-s-duotone-light .CodeMirror-gutters{background:#faf8f5;border-right:0}.cm-s-duotone-light .CodeMirror-linenumber{color:#cdc4b1}.cm-s-duotone-light .CodeMirror-cursor{border-left:1px solid #93abdc;border-right:.5em solid #93abdc;opacity:.5}.cm-s-duotone-light .CodeMirror-activeline-background{background:#e3dcce;opacity:.5}.cm-s-duotone-light .cm-fat-cursor .CodeMirror-cursor{background:#93abdc;opacity:.5}.cm-s-duotone-light-light span.cm-hr,.cm-s-duotone-light-light span.cm-link,.cm-s-duotone-light span.cm-atom,.cm-s-duotone-light span.cm-attribute,.cm-s-duotone-light span.cm-keyword,.cm-s-duotone-light span.cm-number,.cm-s-duotone-light span.cm-quote,.cm-s-duotone-light span.cm-variable{color:#063289}.cm-s-duotone-light span.cm-property{color:#b29762}.cm-s-duotone-light span.cm-negative,.cm-s-duotone-light span.cm-punctuation,.cm-s-duotone-light span.cm-unit{color:#063289}.cm-s-duotone-light span.cm-operator,.cm-s-duotone-light span.cm-string{color:#1659df}.cm-s-duotone-light span.cm-positive,.cm-s-duotone-light span.cm-string-2,.cm-s-duotone-light span.cm-url,.cm-s-duotone-light span.cm-variable-2,.cm-s-duotone-light span.cm-variable-3{color:#896724}.cm-s-duotone-light span.cm-builtin,.cm-s-duotone-light span.cm-def,.cm-s-duotone-light span.cm-em,.cm-s-duotone-light span.cm-header,.cm-s-duotone-light span.cm-qualifier,.cm-s-duotone-light span.cm-tag{color:#2d2006}.cm-s-duotone-light span.cm-bracket,.cm-s-duotone-light span.cm-comment{color:#b6ad9a}.cm-s-duotone-light span.cm-error,.cm-s-duotone-light span.cm-invalidchar{color:red}.cm-s-duotone-light span.cm-header{font-weight:400}.cm-s-duotone-light .CodeMirror-matchingbracket{text-decoration:underline;color:#faf8f5!important}.cm-s-eclipse span.cm-meta{color:#ff1717}.cm-s-eclipse span.cm-keyword{line-height:1em;font-weight:700;color:#7f0055}.cm-s-eclipse span.cm-atom{color:#219}.cm-s-eclipse span.cm-number{color:#164}.cm-s-eclipse span.cm-def{color:#00f}.cm-s-eclipse span.cm-variable{color:#000}.cm-s-eclipse span.cm-variable-2,.cm-s-eclipse span.cm-variable-3{color:#0000c0}.cm-s-eclipse span.cm-operator,.cm-s-eclipse span.cm-property{color:#000}.cm-s-eclipse span.cm-comment{color:#3f7f5f}.cm-s-eclipse span.cm-string{color:#2a00ff}.cm-s-eclipse span.cm-string-2{color:#f50}.cm-s-eclipse span.cm-qualifier{color:#555}.cm-s-eclipse span.cm-builtin{color:#30a}.cm-s-eclipse span.cm-bracket{color:#cc7}.cm-s-eclipse span.cm-tag{color:#170}.cm-s-eclipse span.cm-attribute{color:#00c}.cm-s-eclipse span.cm-link{color:#219}.cm-s-eclipse span.cm-error{color:red}.cm-s-eclipse .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-eclipse .CodeMirror-matchingbracket{outline:1px solid grey;color:#000!important}.cm-s-elegant span.cm-atom,.cm-s-elegant span.cm-number,.cm-s-elegant span.cm-string{color:#762}.cm-s-elegant span.cm-comment{color:#262;font-style:italic;line-height:1em}.cm-s-elegant span.cm-meta{color:#555;font-style:italic;line-height:1em}.cm-s-elegant span.cm-variable{color:#000}.cm-s-elegant span.cm-variable-2{color:#b11}.cm-s-elegant span.cm-qualifier{color:#555}.cm-s-elegant span.cm-keyword{color:#730}.cm-s-elegant span.cm-builtin{color:#30a}.cm-s-elegant span.cm-link{color:#762}.cm-s-elegant span.cm-error{background-color:#fdd}.cm-s-elegant .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-elegant .CodeMirror-matchingbracket{outline:1px solid grey;color:#000!important}.cm-s-erlang-dark.CodeMirror{background:#002240;color:#fff}.cm-s-erlang-dark div.CodeMirror-selected{background:#b36539}.cm-s-erlang-dark .CodeMirror-line::selection,.cm-s-erlang-dark .CodeMirror-line>span::selection,.cm-s-erlang-dark .CodeMirror-line>span>span::selection{background:rgba(179,101,57,.99)}.cm-s-erlang-dark .CodeMirror-line::-moz-selection,.cm-s-erlang-dark .CodeMirror-line>span::-moz-selection,.cm-s-erlang-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(179,101,57,.99)}.cm-s-erlang-dark .CodeMirror-gutters{background:#002240;border-right:1px solid #aaa}.cm-s-erlang-dark .CodeMirror-guttermarker{color:#fff}.cm-s-erlang-dark .CodeMirror-guttermarker-subtle,.cm-s-erlang-dark .CodeMirror-linenumber{color:#d0d0d0}.cm-s-erlang-dark .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-erlang-dark span.cm-quote{color:#ccc}.cm-s-erlang-dark span.cm-atom{color:#f133f1}.cm-s-erlang-dark span.cm-attribute{color:#ff80e1}.cm-s-erlang-dark span.cm-bracket{color:#ff9d00}.cm-s-erlang-dark span.cm-builtin{color:#eaa}.cm-s-erlang-dark span.cm-comment{color:#77f}.cm-s-erlang-dark span.cm-def{color:#e7a}.cm-s-erlang-dark span.cm-keyword{color:#ffee80}.cm-s-erlang-dark span.cm-meta{color:#50fefe}.cm-s-erlang-dark span.cm-number{color:#ffd0d0}.cm-s-erlang-dark span.cm-operator{color:#d55}.cm-s-erlang-dark span.cm-property,.cm-s-erlang-dark span.cm-qualifier{color:#ccc}.cm-s-erlang-dark span.cm-special{color:#fbb}.cm-s-erlang-dark span.cm-string{color:#3ad900}.cm-s-erlang-dark span.cm-string-2{color:#ccc}.cm-s-erlang-dark span.cm-tag{color:#9effff}.cm-s-erlang-dark span.cm-variable{color:#50fe50}.cm-s-erlang-dark span.cm-variable-2{color:#e0e}.cm-s-erlang-dark span.cm-variable-3{color:#ccc}.cm-s-erlang-dark span.cm-error{color:#9d1e15}.cm-s-erlang-dark .CodeMirror-activeline-background{background:#013461}.cm-s-erlang-dark .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.cm-s-hopscotch.CodeMirror{background:#322931;color:#d5d3d5}.cm-s-hopscotch div.CodeMirror-selected{background:#433b42!important}.cm-s-hopscotch .CodeMirror-gutters{background:#322931;border-right:0}.cm-s-hopscotch .CodeMirror-linenumber{color:#797379}.cm-s-hopscotch .CodeMirror-cursor{border-left:1px solid #989498!important}.cm-s-hopscotch span.cm-comment{color:#b33508}.cm-s-hopscotch span.cm-atom,.cm-s-hopscotch span.cm-number{color:#c85e7c}.cm-s-hopscotch span.cm-attribute,.cm-s-hopscotch span.cm-property{color:#8fc13e}.cm-s-hopscotch span.cm-keyword{color:#dd464c}.cm-s-hopscotch span.cm-string{color:#fdcc59}.cm-s-hopscotch span.cm-variable{color:#8fc13e}.cm-s-hopscotch span.cm-variable-2{color:#1290bf}.cm-s-hopscotch span.cm-def{color:#fd8b19}.cm-s-hopscotch span.cm-error{background:#dd464c;color:#989498}.cm-s-hopscotch span.cm-bracket{color:#d5d3d5}.cm-s-hopscotch span.cm-tag{color:#dd464c}.cm-s-hopscotch span.cm-link{color:#c85e7c}.cm-s-hopscotch .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-hopscotch .CodeMirror-activeline-background{background:#302020}.cm-s-icecoder{color:#666;background:#1d1d1b}.cm-s-icecoder span.cm-keyword{color:#eee;font-weight:700}.cm-s-icecoder span.cm-atom{color:#e1c76e}.cm-s-icecoder span.cm-number{color:#6cb5d9}.cm-s-icecoder span.cm-def{color:#b9ca4a}.cm-s-icecoder span.cm-variable{color:#6cb5d9}.cm-s-icecoder span.cm-variable-2{color:#cc1e5c}.cm-s-icecoder span.cm-variable-3{color:#f9602c}.cm-s-icecoder span.cm-property{color:#eee}.cm-s-icecoder span.cm-operator{color:#9179bb}.cm-s-icecoder span.cm-comment{color:#97a3aa}.cm-s-icecoder span.cm-string{color:#b9ca4a}.cm-s-icecoder span.cm-string-2{color:#6cb5d9}.cm-s-icecoder span.cm-meta,.cm-s-icecoder span.cm-qualifier{color:#555}.cm-s-icecoder span.cm-builtin{color:#214e7b}.cm-s-icecoder span.cm-bracket{color:#cc7}.cm-s-icecoder span.cm-tag{color:#e8e8e8}.cm-s-icecoder span.cm-attribute{color:#099}.cm-s-icecoder span.cm-header{color:#6a0d6a}.cm-s-icecoder span.cm-quote{color:#186718}.cm-s-icecoder span.cm-hr{color:#888}.cm-s-icecoder span.cm-link{color:#e1c76e}.cm-s-icecoder span.cm-error{color:#d00}.cm-s-icecoder .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-icecoder div.CodeMirror-selected{color:#fff;background:#037}.cm-s-icecoder .CodeMirror-gutters{background:#1d1d1b;min-width:41px;border-right:0}.cm-s-icecoder .CodeMirror-linenumber{color:#555;cursor:default}.cm-s-icecoder .CodeMirror-matchingbracket{color:#fff!important;background:#555!important}.cm-s-icecoder .CodeMirror-activeline-background{background:#000}.cm-s-isotope.CodeMirror{background:#000;color:#e0e0e0}.cm-s-isotope div.CodeMirror-selected{background:#404040!important}.cm-s-isotope .CodeMirror-gutters{background:#000;border-right:0}.cm-s-isotope .CodeMirror-linenumber{color:gray}.cm-s-isotope .CodeMirror-cursor{border-left:1px solid silver!important}.cm-s-isotope span.cm-comment{color:#30f}.cm-s-isotope span.cm-atom,.cm-s-isotope span.cm-number{color:#c0f}.cm-s-isotope span.cm-attribute,.cm-s-isotope span.cm-property{color:#3f0}.cm-s-isotope span.cm-keyword{color:red}.cm-s-isotope span.cm-string{color:#f09}.cm-s-isotope span.cm-variable{color:#3f0}.cm-s-isotope span.cm-variable-2{color:#06f}.cm-s-isotope span.cm-def{color:#f90}.cm-s-isotope span.cm-error{background:red;color:silver}.cm-s-isotope span.cm-bracket{color:#e0e0e0}.cm-s-isotope span.cm-tag{color:red}.cm-s-isotope span.cm-link{color:#c0f}.cm-s-isotope .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-isotope .CodeMirror-activeline-background{background:#202020}.cm-s-lesser-dark{line-height:1.3em}.cm-s-lesser-dark.CodeMirror{background:#262626;color:#ebefe7;text-shadow:0 -1px 1px #262626}.cm-s-lesser-dark div.CodeMirror-selected{background:#45443b}.cm-s-lesser-dark .CodeMirror-line::selection,.cm-s-lesser-dark .CodeMirror-line>span::selection,.cm-s-lesser-dark .CodeMirror-line>span>span::selection{background:rgba(69,68,59,.99)}.cm-s-lesser-dark .CodeMirror-line::-moz-selection,.cm-s-lesser-dark .CodeMirror-line>span::-moz-selection,.cm-s-lesser-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(69,68,59,.99)}.cm-s-lesser-dark .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-lesser-dark pre{padding:0 8px}.cm-s-lesser-dark.CodeMirror span.CodeMirror-matchingbracket{color:#7efc7e}.cm-s-lesser-dark .CodeMirror-gutters{background:#262626;border-right:1px solid #aaa}.cm-s-lesser-dark .CodeMirror-guttermarker{color:#599eff}.cm-s-lesser-dark .CodeMirror-guttermarker-subtle,.cm-s-lesser-dark .CodeMirror-linenumber{color:#777}.cm-s-lesser-dark span.cm-header{color:#a0a}.cm-s-lesser-dark span.cm-quote{color:#090}.cm-s-lesser-dark span.cm-keyword{color:#599eff}.cm-s-lesser-dark span.cm-atom{color:#c2b470}.cm-s-lesser-dark span.cm-number{color:#b35e4d}.cm-s-lesser-dark span.cm-def{color:#fff}.cm-s-lesser-dark span.cm-variable{color:#d9bf8c}.cm-s-lesser-dark span.cm-variable-2{color:#669199}.cm-s-lesser-dark span.cm-variable-3{color:#fff}.cm-s-lesser-dark span.cm-operator,.cm-s-lesser-dark span.cm-property{color:#92a75c}.cm-s-lesser-dark span.cm-comment{color:#666}.cm-s-lesser-dark span.cm-string{color:#bcd279}.cm-s-lesser-dark span.cm-string-2{color:#f50}.cm-s-lesser-dark span.cm-meta{color:#738c73}.cm-s-lesser-dark span.cm-qualifier{color:#555}.cm-s-lesser-dark span.cm-builtin{color:#ff9e59}.cm-s-lesser-dark span.cm-bracket{color:#ebefe7}.cm-s-lesser-dark span.cm-tag{color:#669199}.cm-s-lesser-dark span.cm-attribute{color:#00c}.cm-s-lesser-dark span.cm-hr{color:#999}.cm-s-lesser-dark span.cm-link{color:#00c}.cm-s-lesser-dark span.cm-error{color:#9d1e15}.cm-s-lesser-dark .CodeMirror-activeline-background{background:#3c3a3a}.cm-s-lesser-dark .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.cm-s-liquibyte.CodeMirror{background-color:#000;color:#fff;line-height:1.2em;font-size:1em}.cm-s-liquibyte .CodeMirror-focused .cm-matchhighlight{text-decoration:underline;-webkit-text-decoration-color:#0f0;text-decoration-color:#0f0;-webkit-text-decoration-style:wavy;text-decoration-style:wavy}.cm-s-liquibyte .cm-trailingspace{text-decoration:line-through;-webkit-text-decoration-color:red;text-decoration-color:red;-webkit-text-decoration-style:dotted;text-decoration-style:dotted}.cm-s-liquibyte .cm-tab{text-decoration:line-through;-webkit-text-decoration-color:#404040;text-decoration-color:#404040;-webkit-text-decoration-style:dotted;text-decoration-style:dotted}.cm-s-liquibyte .CodeMirror-gutters{background-color:#262626;border-right:1px solid #505050;padding-right:.8em}.cm-s-liquibyte .CodeMirror-gutter-elt div{font-size:1.2em}.cm-s-liquibyte .CodeMirror-linenumber{color:#606060;padding-left:0}.cm-s-liquibyte .CodeMirror-cursor{border-left:1px solid #eee}.cm-s-liquibyte span.cm-comment{color:green}.cm-s-liquibyte span.cm-def{color:#ffaf40;font-weight:700}.cm-s-liquibyte span.cm-keyword{color:#c080ff;font-weight:700}.cm-s-liquibyte span.cm-builtin{color:#ffaf40;font-weight:700}.cm-s-liquibyte span.cm-variable{color:#5967ff;font-weight:700}.cm-s-liquibyte span.cm-string{color:#ff8000}.cm-s-liquibyte span.cm-number{color:#0f0;font-weight:700}.cm-s-liquibyte span.cm-atom{color:#bf3030;font-weight:700}.cm-s-liquibyte span.cm-variable-2{color:#007f7f;font-weight:700}.cm-s-liquibyte span.cm-variable-3{color:#c080ff;font-weight:700}.cm-s-liquibyte span.cm-property{color:#999;font-weight:700}.cm-s-liquibyte span.cm-operator{color:#fff}.cm-s-liquibyte span.cm-meta{color:#0f0}.cm-s-liquibyte span.cm-qualifier{color:#fff700;font-weight:700}.cm-s-liquibyte span.cm-bracket{color:#cc7}.cm-s-liquibyte span.cm-tag{color:#ff0;font-weight:700}.cm-s-liquibyte span.cm-attribute{color:#c080ff;font-weight:700}.cm-s-liquibyte span.cm-error{color:red}.cm-s-liquibyte div.CodeMirror-selected{background-color:rgba(255,0,0,.25)}.cm-s-liquibyte span.cm-compilation{background-color:hsla(0,0%,100%,.12)}.cm-s-liquibyte .CodeMirror-activeline-background{background-color:rgba(0,255,0,.15)}.cm-s-liquibyte .CodeMirror span.CodeMirror-matchingbracket{color:#0f0;font-weight:700}.cm-s-liquibyte .CodeMirror span.CodeMirror-nonmatchingbracket{color:red;font-weight:700}.CodeMirror-matchingtag{background-color:rgba(150,255,0,.3)}.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal div:hover,.cm-s-liquibyte div.CodeMirror-simplescroll-vertical div:hover{background-color:rgba(80,80,80,.7)}.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal div,.cm-s-liquibyte div.CodeMirror-simplescroll-vertical div{background-color:rgba(80,80,80,.3);border:1px solid #404040;border-radius:5px}.cm-s-liquibyte div.CodeMirror-simplescroll-vertical div{border-top:1px solid #404040;border-bottom:1px solid #404040}.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal div{border-left:1px solid #404040;border-right:1px solid #404040}.cm-s-liquibyte div.CodeMirror-simplescroll-vertical{background-color:#262626}.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal{background-color:#262626;border-top:1px solid #404040}.cm-s-liquibyte div.CodeMirror-overlayscroll-horizontal div,div.CodeMirror-overlayscroll-vertical div{background-color:#404040;border-radius:5px}.cm-s-liquibyte div.CodeMirror-overlayscroll-horizontal div,.cm-s-liquibyte div.CodeMirror-overlayscroll-vertical div{border:1px solid #404040}.cm-s-material.CodeMirror{background-color:#263238;color:#e9eded}.cm-s-material .CodeMirror-gutters{background:#263238;color:#537f7e;border:none}.cm-s-material .CodeMirror-guttermarker,.cm-s-material .CodeMirror-guttermarker-subtle,.cm-s-material .CodeMirror-linenumber{color:#537f7e}.cm-s-material .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-material div.CodeMirror-selected{background:hsla(0,0%,100%,.15)}.cm-s-material.CodeMirror-focused div.CodeMirror-selected{background:hsla(0,0%,100%,.1)}.cm-s-material .CodeMirror-line::selection,.cm-s-material .CodeMirror-line>span::selection,.cm-s-material .CodeMirror-line>span>span::selection{background:hsla(0,0%,100%,.1)}.cm-s-material .CodeMirror-line::-moz-selection,.cm-s-material .CodeMirror-line>span::-moz-selection,.cm-s-material .CodeMirror-line>span>span::-moz-selection{background:hsla(0,0%,100%,.1)}.cm-s-material .CodeMirror-activeline-background{background:transparent}.cm-s-material .cm-keyword{color:#c792ea}.cm-s-material .cm-operator{color:#e9eded}.cm-s-material .cm-variable-2{color:#80cbc4}.cm-s-material .cm-variable-3{color:#82b1ff}.cm-s-material .cm-builtin{color:#decb6b}.cm-s-material .cm-atom,.cm-s-material .cm-number{color:#f77669}.cm-s-material .cm-def{color:#e9eded}.cm-s-material .cm-string{color:#c3e88d}.cm-s-material .cm-string-2{color:#80cbc4}.cm-s-material .cm-comment{color:#546e7a}.cm-s-material .cm-variable{color:#82b1ff}.cm-s-material .cm-meta,.cm-s-material .cm-tag{color:#80cbc4}.cm-s-material .cm-attribute{color:#ffcb6b}.cm-s-material .cm-property{color:#80cbae}.cm-s-material .cm-qualifier,.cm-s-material .cm-variable-3{color:#decb6b}.cm-s-material .cm-tag{color:#ff5370}.cm-s-material .cm-error{color:#fff;background-color:#ec5f67}.cm-s-material .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-mbo.CodeMirror{background:#2c2c2c;color:#ffffec}.cm-s-mbo div.CodeMirror-selected{background:#716c62}.cm-s-mbo .CodeMirror-line::selection,.cm-s-mbo .CodeMirror-line>span::selection,.cm-s-mbo .CodeMirror-line>span>span::selection{background:hsla(40,7%,41%,.99)}.cm-s-mbo .CodeMirror-line::-moz-selection,.cm-s-mbo .CodeMirror-line>span::-moz-selection,.cm-s-mbo .CodeMirror-line>span>span::-moz-selection{background:hsla(40,7%,41%,.99)}.cm-s-mbo .CodeMirror-gutters{background:#4e4e4e;border-right:0}.cm-s-mbo .CodeMirror-guttermarker{color:#fff}.cm-s-mbo .CodeMirror-guttermarker-subtle{color:grey}.cm-s-mbo .CodeMirror-linenumber{color:#dadada}.cm-s-mbo .CodeMirror-cursor{border-left:1px solid #ffffec}.cm-s-mbo span.cm-comment{color:#95958a}.cm-s-mbo span.cm-atom,.cm-s-mbo span.cm-number{color:#00a8c6}.cm-s-mbo span.cm-attribute,.cm-s-mbo span.cm-property{color:#9ddfe9}.cm-s-mbo span.cm-keyword{color:#ffb928}.cm-s-mbo span.cm-string{color:#ffcf6c}.cm-s-mbo span.cm-string.cm-property,.cm-s-mbo span.cm-variable{color:#ffffec}.cm-s-mbo span.cm-variable-2{color:#00a8c6}.cm-s-mbo span.cm-def{color:#ffffec}.cm-s-mbo span.cm-bracket{color:#fffffc;font-weight:700}.cm-s-mbo span.cm-tag{color:#9ddfe9}.cm-s-mbo span.cm-link{color:#f54b07}.cm-s-mbo span.cm-error{border-bottom:#636363;color:#ffffec}.cm-s-mbo span.cm-qualifier{color:#ffffec}.cm-s-mbo .CodeMirror-activeline-background{background:#494b41}.cm-s-mbo .CodeMirror-matchingbracket{color:#ffb928!important}.cm-s-mbo .CodeMirror-matchingtag{background:hsla(0,0%,100%,.37)}.cm-s-mdn-like.CodeMirror{color:#999;background-color:#fff}.cm-s-mdn-like div.CodeMirror-selected{background:#cfc}.cm-s-mdn-like .CodeMirror-line::selection,.cm-s-mdn-like .CodeMirror-line>span::selection,.cm-s-mdn-like .CodeMirror-line>span>span::selection{background:#cfc}.cm-s-mdn-like .CodeMirror-line::-moz-selection,.cm-s-mdn-like .CodeMirror-line>span::-moz-selection,.cm-s-mdn-like .CodeMirror-line>span>span::-moz-selection{background:#cfc}.cm-s-mdn-like .CodeMirror-gutters{background:#f8f8f8;border-left:6px solid rgba(0,83,159,.65);color:#333}.cm-s-mdn-like .CodeMirror-linenumber{color:#aaa;padding-left:8px}.cm-s-mdn-like .CodeMirror-cursor{border-left:2px solid #222}.cm-s-mdn-like .cm-keyword{color:#6262ff}.cm-s-mdn-like .cm-atom{color:#f90}.cm-s-mdn-like .cm-number{color:#ca7841}.cm-s-mdn-like .cm-def{color:#8da6ce}.cm-s-mdn-like span.cm-tag,.cm-s-mdn-like span.cm-variable-2{color:#690}.cm-s-mdn-like .cm-variable,.cm-s-mdn-like span.cm-def,.cm-s-mdn-like span.cm-variable-3{color:#07a}.cm-s-mdn-like .cm-property{color:#905}.cm-s-mdn-like .cm-qualifier{color:#690}.cm-s-mdn-like .cm-operator{color:#cda869}.cm-s-mdn-like .cm-comment{color:#777;font-weight:400}.cm-s-mdn-like .cm-string{color:#07a;font-style:italic}.cm-s-mdn-like .cm-string-2{color:#bd6b18}.cm-s-mdn-like .cm-meta{color:#000}.cm-s-mdn-like .cm-builtin{color:#9b7536}.cm-s-mdn-like .cm-tag{color:#997643}.cm-s-mdn-like .cm-attribute{color:#d6bb6d}.cm-s-mdn-like .cm-header{color:#ff6400}.cm-s-mdn-like .cm-hr{color:#aeaeae}.cm-s-mdn-like .cm-link{color:#ad9361;font-style:italic;text-decoration:none}.cm-s-mdn-like .cm-error{border-bottom:1px solid red}div.cm-s-mdn-like .CodeMirror-activeline-background{background:#efefff}div.cm-s-mdn-like span.CodeMirror-matchingbracket{outline:1px solid grey;color:inherit}.cm-s-mdn-like.CodeMirror{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFcAAAAyCAYAAAAp8UeFAAAHvklEQVR42s2b63bcNgyEQZCSHCdt2vd/0tWF7I+Q6XgMXiTtuvU5Pl57ZQKkKHzEAOtF5KeIJBGJ8uvL599FRFREZhFx8DeXv8trn68RuGaC8TRfo3SNp9dlDDHedyLyTUTeRWStXKPZrjtpZxaRw5hPqozRs1N8/enzIiQRWcCgy4MUA0f+XWliDhyL8Lfyvx7ei/Ae3iQFHyw7U/59pQVIMEEPEz0G7XiwdRjzSfC3UTtz9vchIntxvry5iMgfIhJoEflOz2CQr3F5h/HfeFe+GTdLaKcu9L8LTeQb/R/7GgbsfKedyNdoHsN31uRPWrfZ5wsj/NzzRQHuToIdU3ahwnsKPxXCjJITuOsi7XLc7SG/v5GdALs7wf8JjTFiB5+QvTEfRyGOfX3Lrx8wxyQi3sNq46O7QahQiCsRFgqddjBouVEHOKDgXAQHD9gJCr5sMKkEdjwsarG/ww3BMHBU7OBjXnzdyY7SfCxf5/z6ATccrwlKuwC/jhznnPF4CgVzhhVf4xp2EixcBActO75iZ8/fM9zAs2OMzKdslgXWJ9XG8PQoOAMA5fGcsvORgv0doBXyHrCwfLJAOwo71QLNkb8n2Pl6EWiR7OCibtkPaz4Kc/0NNAze2gju3zOwekALDaCFPI5vjPFmgGY5AZqyGEvH1x7QfIb8YtxMnA/b+QQ0aQDAwc6JMFg8CbQZ4qoYEEHbRwNojuK3EHwd7VALSgq+MNDKzfT58T8qdpADrgW0GmgcAS1lhzztJmkAzcPNOQbsWEALBDSlMKUG0Eq4CLAQWvEVQ9WU57gZJwZtgPO3r9oBTQ9WO8TjqXINx8R0EYpiZEUWOF3FxkbJkgU9B2f41YBrIj5ZfsQa0M5kTgiAAqM3ShXLgu8XMqcrQBvJ0CL5pnTsfMB13oB8athpAq2XOQmcGmoACCLydx7nToa23ATaSIY2ichfOdPTGxlasXMLaL0MLZAOwAKIM+y8CmicobGdCcbbK9DzN+yYGVoNNI5iUKTMyYOjPse4A8SM1MmcXgU0toOq1yO/v8FOxlASyc7TgeYaAMBJHcY1CcCwGI/TK4AmDbDyKYBBtFUkRwto8gygiQEaByFgJ00BH2M8JWwQS1nafDXQCidWyOI8AcjDCSjCLk8ngObuAm3JAHAdubAmOaK06V8MNEsKPJOhobSprwQa6gD7DclRQdqcwL4zxqgBrQcabUiBLclRDKAlWp+etPkBaNMA0AKlrHwTdEByZAA4GM+SNluSY6wAzcMNewxmgig5Ks0nkrSpBvSaQHMdKTBAnLojOdYyGpQ254602ZILPdTD1hdlggdIm74jbTp8vDwF5ZYUeLWGJpWsh6XNyXgcYwVoJQTEhhTYkxzZjiU5npU2TaB979TQehlaAVq4kaGpiPwwwLkYUuBbQwocyQTv1tA0+1UFWoJF3iv1oq+qoSk8EQdJmwHkziIF7oOZk14EGitibAdjLYYK78H5vZOhtWpoI0ATGHs0Q8OMb4Ey+2bU2UYztCtA0wFAs7TplGLRVQCcqaFdGSPCeTI1QNIC52iWNzof6Uib7xjEp07mNNoUYmVosVItHrHzRlLgBn9LFyRHaQCtVUMbtTNhoXWiTOO9k/V8BdAc1Oq0ArSQs6/5SU0hckNy9NnXqQY0PGYo5dWJ7nINaN6o958FWin27aBaWRka1r5myvLOAm0j30eBJqCxHLReVclxhxOEN2JfDWjxBtAC7MIH1fVaGdoOp4qJYDgKtKPSFNID2gSnGldrCqkFZ+5UeQXQBIRrSwocbdZYQT/2LwRahBPBXoHrB8nxaGROST62DKUbQOMMzZIC9abkuELfQzQALWTnDNAm8KHWFOJgJ5+SHIvTPcmx1xQyZRhNL5Qci689aXMEaN/uNIWkEwDAvFpOZmgsBaaGnbs1NPa1Jm32gBZAIh1pCtG7TSH4aE0y1uVY4uqoFPisGlpP2rSA5qTecWn5agK6BzSpgAyD+wFaqhnYoSZ1Vwr8CmlTQbrcO3ZaX0NAEyMbYaAlyquFoLKK3SPby9CeVUPThrSJmkCAE0CrKUQadi4DrdSlWhmah0YL9z9vClH59YGbHx1J8VZTyAjQepJjmXwAKTDQI3omc3p1U4gDUf6RfcdYfrUp5ClAi2J3Ba6UOXGo+K+bQrjjssitG2SJzshaLwMtXgRagUNpYYoVkMSBLM+9GGiJZMvduG6DRZ4qc04DMPtQQxOjEtACmhO7K1AbNbQDEggZyJwscFpAGwENhoBeUwh3bWolhe8BTYVKxQEWrSUn/uhcM5KhvUu/+eQu0Lzhi+VrK0PrZZNDQKs9cpYUuFYgMVpD4/NxenJTiMCNqdUEUf1qZWjppLT5qSkkUZbCwkbZMSuVnu80hfSkzRbQeqCZSAh6huR4VtoM2gHAlLf72smuWgE+VV7XpE25Ab2WFDgyhnSuKbs4GuGzCjR+tIoUuMFg3kgcWKLTwRqanJQ2W00hAsenfaApRC42hbCvK1SlE0HtE9BGgneJO+ELamitD1YjjOYnNYVcraGhtKkW0EqVVeDx733I2NH581k1NNxNLG0i0IJ8/NjVaOZ0tYZ2Vtr0Xv7tPV3hkWp9EFkgS/J0vosngTaSoaG06WHi+xObQkaAdlbanP8B2+2l0f90LmUAAAAASUVORK5CYII=)}.cm-s-midnight span.CodeMirror-matchhighlight{background:#494949}.cm-s-midnight.CodeMirror-focused span.CodeMirror-matchhighlight{background:#314d67!important}.cm-s-midnight .CodeMirror-activeline-background{background:#253540}.cm-s-midnight.CodeMirror{background:#0f192a;color:#d1edff;border-top:1px solid #000;border-bottom:1px solid #000}.cm-s-midnight div.CodeMirror-selected{background:#314d67}.cm-s-midnight .CodeMirror-line::selection,.cm-s-midnight .CodeMirror-line>span::selection,.cm-s-midnight .CodeMirror-line>span>span::selection{background:rgba(49,77,103,.99)}.cm-s-midnight .CodeMirror-line::-moz-selection,.cm-s-midnight .CodeMirror-line>span::-moz-selection,.cm-s-midnight .CodeMirror-line>span>span::-moz-selection{background:rgba(49,77,103,.99)}.cm-s-midnight .CodeMirror-gutters{background:#0f192a;border-right:1px solid}.cm-s-midnight .CodeMirror-guttermarker{color:#fff}.cm-s-midnight .CodeMirror-guttermarker-subtle,.cm-s-midnight .CodeMirror-linenumber{color:#d0d0d0}.cm-s-midnight .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-midnight span.cm-comment{color:#428bdd}.cm-s-midnight span.cm-atom{color:#ae81ff}.cm-s-midnight span.cm-number{color:#d1edff}.cm-s-midnight span.cm-attribute,.cm-s-midnight span.cm-property{color:#a6e22e}.cm-s-midnight span.cm-keyword{color:#e83737}.cm-s-midnight span.cm-string{color:#1dc116}.cm-s-midnight span.cm-variable,.cm-s-midnight span.cm-variable-2{color:#ffaa3e}.cm-s-midnight span.cm-def{color:#4dd}.cm-s-midnight span.cm-bracket{color:#d1edff}.cm-s-midnight span.cm-tag{color:#449}.cm-s-midnight span.cm-link{color:#ae81ff}.cm-s-midnight span.cm-error{background:#f92672;color:#f8f8f0}.cm-s-midnight .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-monokai.CodeMirror{background:#272822;color:#f8f8f2}.cm-s-monokai div.CodeMirror-selected{background:#49483e}.cm-s-monokai .CodeMirror-line::selection,.cm-s-monokai .CodeMirror-line>span::selection,.cm-s-monokai .CodeMirror-line>span>span::selection{background:rgba(73,72,62,.99)}.cm-s-monokai .CodeMirror-line::-moz-selection,.cm-s-monokai .CodeMirror-line>span::-moz-selection,.cm-s-monokai .CodeMirror-line>span>span::-moz-selection{background:rgba(73,72,62,.99)}.cm-s-monokai .CodeMirror-gutters{background:#272822;border-right:0}.cm-s-monokai .CodeMirror-guttermarker{color:#fff}.cm-s-monokai .CodeMirror-guttermarker-subtle,.cm-s-monokai .CodeMirror-linenumber{color:#d0d0d0}.cm-s-monokai .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-monokai span.cm-comment{color:#75715e}.cm-s-monokai span.cm-atom,.cm-s-monokai span.cm-number{color:#ae81ff}.cm-s-monokai span.cm-attribute,.cm-s-monokai span.cm-property{color:#a6e22e}.cm-s-monokai span.cm-keyword{color:#f92672}.cm-s-monokai span.cm-builtin{color:#66d9ef}.cm-s-monokai span.cm-string{color:#e6db74}.cm-s-monokai span.cm-variable{color:#f8f8f2}.cm-s-monokai span.cm-variable-2{color:#9effff}.cm-s-monokai span.cm-variable-3{color:#66d9ef}.cm-s-monokai span.cm-def{color:#fd971f}.cm-s-monokai span.cm-bracket{color:#f8f8f2}.cm-s-monokai span.cm-tag{color:#f92672}.cm-s-monokai span.cm-header,.cm-s-monokai span.cm-link{color:#ae81ff}.cm-s-monokai span.cm-error{background:#f92672;color:#f8f8f0}.cm-s-monokai .CodeMirror-activeline-background{background:#373831}.cm-s-monokai .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-neat span.cm-comment{color:#a86}.cm-s-neat span.cm-keyword{line-height:1em;font-weight:700;color:blue}.cm-s-neat span.cm-string{color:#a22}.cm-s-neat span.cm-builtin{line-height:1em;font-weight:700;color:#077}.cm-s-neat span.cm-special{line-height:1em;font-weight:700;color:#0aa}.cm-s-neat span.cm-variable{color:#000}.cm-s-neat span.cm-atom,.cm-s-neat span.cm-number{color:#3a3}.cm-s-neat span.cm-meta{color:#555}.cm-s-neat span.cm-link{color:#3a3}.cm-s-neat .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-neat .CodeMirror-matchingbracket{outline:1px solid grey;color:#000!important}.cm-s-neo.CodeMirror{background-color:#fff;color:#2e383c;line-height:1.4375}.cm-s-neo .cm-comment{color:#75787b}.cm-s-neo .cm-keyword,.cm-s-neo .cm-property{color:#1d75b3}.cm-s-neo .cm-atom,.cm-s-neo .cm-number{color:#75438a}.cm-s-neo .cm-node,.cm-s-neo .cm-tag{color:#9c3328}.cm-s-neo .cm-string{color:#b35e14}.cm-s-neo .cm-qualifier,.cm-s-neo .cm-variable{color:#047d65}.cm-s-neo pre{padding:0}.cm-s-neo .CodeMirror-gutters{border:none;border-right:10px solid transparent;background-color:transparent}.cm-s-neo .CodeMirror-linenumber{padding:0;color:#e0e2e5}.cm-s-neo .CodeMirror-guttermarker{color:#1d75b3}.cm-s-neo .CodeMirror-guttermarker-subtle{color:#e0e2e5}.cm-s-neo .CodeMirror-cursor{width:auto;border:0;background:hsla(223,4%,62%,.37);z-index:1}.cm-s-night.CodeMirror{background:#0a001f;color:#f8f8f8}.cm-s-night div.CodeMirror-selected{background:#447}.cm-s-night .CodeMirror-line::selection,.cm-s-night .CodeMirror-line>span::selection,.cm-s-night .CodeMirror-line>span>span::selection{background:rgba(68,68,119,.99)}.cm-s-night .CodeMirror-line::-moz-selection,.cm-s-night .CodeMirror-line>span::-moz-selection,.cm-s-night .CodeMirror-line>span>span::-moz-selection{background:rgba(68,68,119,.99)}.cm-s-night .CodeMirror-gutters{background:#0a001f;border-right:1px solid #aaa}.cm-s-night .CodeMirror-guttermarker{color:#fff}.cm-s-night .CodeMirror-guttermarker-subtle{color:#bbb}.cm-s-night .CodeMirror-linenumber{color:#f8f8f8}.cm-s-night .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-night span.cm-comment{color:#8900d1}.cm-s-night span.cm-atom{color:#845dc4}.cm-s-night span.cm-attribute,.cm-s-night span.cm-number{color:#ffd500}.cm-s-night span.cm-keyword{color:#599eff}.cm-s-night span.cm-string{color:#37f14a}.cm-s-night span.cm-meta{color:#7678e2}.cm-s-night span.cm-tag,.cm-s-night span.cm-variable-2{color:#99b2ff}.cm-s-night span.cm-def,.cm-s-night span.cm-variable-3{color:#fff}.cm-s-night span.cm-bracket{color:#8da6ce}.cm-s-night span.cm-builtin,.cm-s-night span.cm-special{color:#ff9e59}.cm-s-night span.cm-link{color:#845dc4}.cm-s-night span.cm-error{color:#9d1e15}.cm-s-night .CodeMirror-activeline-background{background:#1c005a}.cm-s-night .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.cm-s-panda-syntax{background:#292a2b;color:#e6e6e6;line-height:1.5;font-family:Operator Mono,Source Sans Pro,Menlo,Monaco,Consolas,Courier New,monospace}.cm-s-panda-syntax .CodeMirror-cursor{border-color:#ff2c6d}.cm-s-panda-syntax .CodeMirror-activeline-background{background:rgba(99,123,156,.1)}.cm-s-panda-syntax .CodeMirror-selected{background:#fff}.cm-s-panda-syntax .cm-comment{font-style:italic;color:#676b79}.cm-s-panda-syntax .cm-operator{color:#f3f3f3}.cm-s-panda-syntax .cm-string{color:#19f9d8}.cm-s-panda-syntax .cm-string-2{color:#ffb86c}.cm-s-panda-syntax .cm-tag{color:#ff2c6d}.cm-s-panda-syntax .cm-meta{color:#b084eb}.cm-s-panda-syntax .cm-number{color:#ffb86c}.cm-s-panda-syntax .cm-atom{color:#ff2c6d}.cm-s-panda-syntax .cm-keyword{color:#ff75b5}.cm-s-panda-syntax .cm-variable{color:#ffb86c}.cm-s-panda-syntax .cm-variable-2,.cm-s-panda-syntax .cm-variable-3{color:#ff9ac1}.cm-s-panda-syntax .cm-def{color:#e6e6e6}.cm-s-panda-syntax .cm-property{color:#f3f3f3}.cm-s-panda-syntax .cm-attribute,.cm-s-panda-syntax .cm-unit{color:#ffb86c}.cm-s-panda-syntax .CodeMirror-matchingbracket{border-bottom:1px dotted #19f9d8;padding-bottom:2px;color:#e6e6e6}.cm-s-panda-syntax .CodeMirror-gutters{background:#292a2b;border-right-color:hsla(0,0%,100%,.1)}.cm-s-panda-syntax .CodeMirror-linenumber{color:#e6e6e6;opacity:.6}.cm-s-paraiso-dark.CodeMirror{background:#2f1e2e;color:#b9b6b0}.cm-s-paraiso-dark div.CodeMirror-selected{background:#41323f}.cm-s-paraiso-dark .CodeMirror-line::selection,.cm-s-paraiso-dark .CodeMirror-line>span::selection,.cm-s-paraiso-dark .CodeMirror-line>span>span::selection{background:rgba(65,50,63,.99)}.cm-s-paraiso-dark .CodeMirror-line::-moz-selection,.cm-s-paraiso-dark .CodeMirror-line>span::-moz-selection,.cm-s-paraiso-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(65,50,63,.99)}.cm-s-paraiso-dark .CodeMirror-gutters{background:#2f1e2e;border-right:0}.cm-s-paraiso-dark .CodeMirror-guttermarker{color:#ef6155}.cm-s-paraiso-dark .CodeMirror-guttermarker-subtle,.cm-s-paraiso-dark .CodeMirror-linenumber{color:#776e71}.cm-s-paraiso-dark .CodeMirror-cursor{border-left:1px solid #8d8687}.cm-s-paraiso-dark span.cm-comment{color:#e96ba8}.cm-s-paraiso-dark span.cm-atom,.cm-s-paraiso-dark span.cm-number{color:#815ba4}.cm-s-paraiso-dark span.cm-attribute,.cm-s-paraiso-dark span.cm-property{color:#48b685}.cm-s-paraiso-dark span.cm-keyword{color:#ef6155}.cm-s-paraiso-dark span.cm-string{color:#fec418}.cm-s-paraiso-dark span.cm-variable{color:#48b685}.cm-s-paraiso-dark span.cm-variable-2{color:#06b6ef}.cm-s-paraiso-dark span.cm-def{color:#f99b15}.cm-s-paraiso-dark span.cm-bracket{color:#b9b6b0}.cm-s-paraiso-dark span.cm-tag{color:#ef6155}.cm-s-paraiso-dark span.cm-link{color:#815ba4}.cm-s-paraiso-dark span.cm-error{background:#ef6155;color:#8d8687}.cm-s-paraiso-dark .CodeMirror-activeline-background{background:#4d344a}.cm-s-paraiso-dark .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-paraiso-light.CodeMirror{background:#e7e9db;color:#41323f}.cm-s-paraiso-light div.CodeMirror-selected{background:#b9b6b0}.cm-s-paraiso-light .CodeMirror-line::selection,.cm-s-paraiso-light .CodeMirror-line>span::selection,.cm-s-paraiso-light .CodeMirror-line>span>span::selection{background:#b9b6b0}.cm-s-paraiso-light .CodeMirror-line::-moz-selection,.cm-s-paraiso-light .CodeMirror-line>span::-moz-selection,.cm-s-paraiso-light .CodeMirror-line>span>span::-moz-selection{background:#b9b6b0}.cm-s-paraiso-light .CodeMirror-gutters{background:#e7e9db;border-right:0}.cm-s-paraiso-light .CodeMirror-guttermarker{color:#000}.cm-s-paraiso-light .CodeMirror-guttermarker-subtle,.cm-s-paraiso-light .CodeMirror-linenumber{color:#8d8687}.cm-s-paraiso-light .CodeMirror-cursor{border-left:1px solid #776e71}.cm-s-paraiso-light span.cm-comment{color:#e96ba8}.cm-s-paraiso-light span.cm-atom,.cm-s-paraiso-light span.cm-number{color:#815ba4}.cm-s-paraiso-light span.cm-attribute,.cm-s-paraiso-light span.cm-property{color:#48b685}.cm-s-paraiso-light span.cm-keyword{color:#ef6155}.cm-s-paraiso-light span.cm-string{color:#fec418}.cm-s-paraiso-light span.cm-variable{color:#48b685}.cm-s-paraiso-light span.cm-variable-2{color:#06b6ef}.cm-s-paraiso-light span.cm-def{color:#f99b15}.cm-s-paraiso-light span.cm-bracket{color:#41323f}.cm-s-paraiso-light span.cm-tag{color:#ef6155}.cm-s-paraiso-light span.cm-link{color:#815ba4}.cm-s-paraiso-light span.cm-error{background:#ef6155;color:#776e71}.cm-s-paraiso-light .CodeMirror-activeline-background{background:#cfd1c4}.cm-s-paraiso-light .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-pastel-on-dark.CodeMirror{background:#2c2827;color:#8f938f;line-height:1.5}.cm-s-pastel-on-dark div.CodeMirror-selected{background:rgba(221,240,255,.2)}.cm-s-pastel-on-dark .CodeMirror-line::selection,.cm-s-pastel-on-dark .CodeMirror-line>span::selection,.cm-s-pastel-on-dark .CodeMirror-line>span>span::selection{background:rgba(221,240,255,.2)}.cm-s-pastel-on-dark .CodeMirror-line::-moz-selection,.cm-s-pastel-on-dark .CodeMirror-line>span::-moz-selection,.cm-s-pastel-on-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(221,240,255,.2)}.cm-s-pastel-on-dark .CodeMirror-gutters{background:#34302f;border-right:0;padding:0 3px}.cm-s-pastel-on-dark .CodeMirror-guttermarker{color:#fff}.cm-s-pastel-on-dark .CodeMirror-guttermarker-subtle,.cm-s-pastel-on-dark .CodeMirror-linenumber{color:#8f938f}.cm-s-pastel-on-dark .CodeMirror-cursor{border-left:1px solid #a7a7a7}.cm-s-pastel-on-dark span.cm-comment{color:#a6c6ff}.cm-s-pastel-on-dark span.cm-atom{color:#de8e30}.cm-s-pastel-on-dark span.cm-number{color:#ccc}.cm-s-pastel-on-dark span.cm-property{color:#8f938f}.cm-s-pastel-on-dark span.cm-attribute{color:#a6e22e}.cm-s-pastel-on-dark span.cm-keyword{color:#aeb2f8}.cm-s-pastel-on-dark span.cm-string{color:#66a968}.cm-s-pastel-on-dark span.cm-variable{color:#aeb2f8}.cm-s-pastel-on-dark span.cm-variable-2{color:#bebf55}.cm-s-pastel-on-dark span.cm-variable-3{color:#de8e30}.cm-s-pastel-on-dark span.cm-def{color:#757ad8}.cm-s-pastel-on-dark span.cm-bracket{color:#f8f8f2}.cm-s-pastel-on-dark span.cm-tag{color:#c1c144}.cm-s-pastel-on-dark span.cm-link{color:#ae81ff}.cm-s-pastel-on-dark span.cm-builtin,.cm-s-pastel-on-dark span.cm-qualifier{color:#c1c144}.cm-s-pastel-on-dark span.cm-error{background:#757ad8;color:#f8f8f0}.cm-s-pastel-on-dark .CodeMirror-activeline-background{background:hsla(0,0%,100%,.031)}.cm-s-pastel-on-dark .CodeMirror-matchingbracket{border:1px solid hsla(0,0%,100%,.25);color:#8f938f!important;margin:-1px -1px 0}.cm-s-railscasts.CodeMirror{background:#2b2b2b;color:#f4f1ed}.cm-s-railscasts div.CodeMirror-selected{background:#272935!important}.cm-s-railscasts .CodeMirror-gutters{background:#2b2b2b;border-right:0}.cm-s-railscasts .CodeMirror-linenumber{color:#5a647e}.cm-s-railscasts .CodeMirror-cursor{border-left:1px solid #d4cfc9!important}.cm-s-railscasts span.cm-comment{color:#bc9458}.cm-s-railscasts span.cm-atom,.cm-s-railscasts span.cm-number{color:#b6b3eb}.cm-s-railscasts span.cm-attribute,.cm-s-railscasts span.cm-property{color:#a5c261}.cm-s-railscasts span.cm-keyword{color:#da4939}.cm-s-railscasts span.cm-string{color:#ffc66d}.cm-s-railscasts span.cm-variable{color:#a5c261}.cm-s-railscasts span.cm-variable-2{color:#6d9cbe}.cm-s-railscasts span.cm-def{color:#cc7833}.cm-s-railscasts span.cm-error{background:#da4939;color:#d4cfc9}.cm-s-railscasts span.cm-bracket{color:#f4f1ed}.cm-s-railscasts span.cm-tag{color:#da4939}.cm-s-railscasts span.cm-link{color:#b6b3eb}.cm-s-railscasts .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-railscasts .CodeMirror-activeline-background{background:#303040}.cm-s-rubyblue.CodeMirror{background:#112435;color:#fff}.cm-s-rubyblue div.CodeMirror-selected{background:#38566f}.cm-s-rubyblue .CodeMirror-line::selection,.cm-s-rubyblue .CodeMirror-line>span::selection,.cm-s-rubyblue .CodeMirror-line>span>span::selection{background:rgba(56,86,111,.99)}.cm-s-rubyblue .CodeMirror-line::-moz-selection,.cm-s-rubyblue .CodeMirror-line>span::-moz-selection,.cm-s-rubyblue .CodeMirror-line>span>span::-moz-selection{background:rgba(56,86,111,.99)}.cm-s-rubyblue .CodeMirror-gutters{background:#1f4661;border-right:7px solid #3e7087}.cm-s-rubyblue .CodeMirror-guttermarker{color:#fff}.cm-s-rubyblue .CodeMirror-guttermarker-subtle{color:#3e7087}.cm-s-rubyblue .CodeMirror-linenumber{color:#fff}.cm-s-rubyblue .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-rubyblue span.cm-comment{color:#999;font-style:italic;line-height:1em}.cm-s-rubyblue span.cm-atom{color:#f4c20b}.cm-s-rubyblue span.cm-attribute,.cm-s-rubyblue span.cm-number{color:#82c6e0}.cm-s-rubyblue span.cm-keyword{color:#f0f}.cm-s-rubyblue span.cm-string{color:#f08047}.cm-s-rubyblue span.cm-meta{color:#f0f}.cm-s-rubyblue span.cm-tag,.cm-s-rubyblue span.cm-variable-2{color:#7bd827}.cm-s-rubyblue span.cm-def,.cm-s-rubyblue span.cm-variable-3{color:#fff}.cm-s-rubyblue span.cm-bracket{color:#f0f}.cm-s-rubyblue span.cm-link{color:#f4c20b}.cm-s-rubyblue span.CodeMirror-matchingbracket{color:#f0f!important}.cm-s-rubyblue span.cm-builtin,.cm-s-rubyblue span.cm-special{color:#ff9d00}.cm-s-rubyblue span.cm-error{color:#af2018}.cm-s-rubyblue .CodeMirror-activeline-background{background:#173047}.cm-s-seti.CodeMirror{background-color:#151718!important;color:#cfd2d1!important;border:none}.cm-s-seti .CodeMirror-gutters{color:#404b53;background-color:#0e1112;border:none}.cm-s-seti .CodeMirror-cursor{border-left:thin solid #f8f8f0}.cm-s-seti .CodeMirror-linenumber{color:#6d8a88}.cm-s-seti.CodeMirror-focused div.CodeMirror-selected{background:hsla(0,0%,100%,.1)}.cm-s-seti .CodeMirror-line::selection,.cm-s-seti .CodeMirror-line>span::selection,.cm-s-seti .CodeMirror-line>span>span::selection{background:hsla(0,0%,100%,.1)}.cm-s-seti .CodeMirror-line::-moz-selection,.cm-s-seti .CodeMirror-line>span::-moz-selection,.cm-s-seti .CodeMirror-line>span>span::-moz-selection{background:hsla(0,0%,100%,.1)}.cm-s-seti span.cm-comment{color:#41535b}.cm-s-seti span.cm-string,.cm-s-seti span.cm-string-2{color:#55b5db}.cm-s-seti span.cm-number{color:#cd3f45}.cm-s-seti span.cm-variable{color:#55b5db}.cm-s-seti span.cm-variable-2{color:#a074c4}.cm-s-seti span.cm-def{color:#55b5db}.cm-s-seti span.cm-keyword{color:#ff79c6}.cm-s-seti span.cm-operator{color:#9fca56}.cm-s-seti span.cm-keyword{color:#e6cd69}.cm-s-seti span.cm-atom{color:#cd3f45}.cm-s-seti span.cm-meta,.cm-s-seti span.cm-tag{color:#55b5db}.cm-s-seti span.cm-attribute,.cm-s-seti span.cm-qualifier{color:#9fca56}.cm-s-seti span.cm-property{color:#a074c4}.cm-s-seti span.cm-builtin,.cm-s-seti span.cm-variable-3{color:#9fca56}.cm-s-seti .CodeMirror-activeline-background{background:#101213}.cm-s-seti .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.solarized.base03{color:#002b36}.solarized.base02{color:#073642}.solarized.base01{color:#586e75}.solarized.base00{color:#657b83}.solarized.base0{color:#839496}.solarized.base1{color:#93a1a1}.solarized.base2{color:#eee8d5}.solarized.base3{color:#fdf6e3}.solarized.solar-yellow{color:#b58900}.solarized.solar-orange{color:#cb4b16}.solarized.solar-red{color:#dc322f}.solarized.solar-magenta{color:#d33682}.solarized.solar-violet{color:#6c71c4}.solarized.solar-blue{color:#268bd2}.solarized.solar-cyan{color:#2aa198}.solarized.solar-green{color:#859900}.cm-s-solarized{line-height:1.45em;color-profile:sRGB;rendering-intent:auto}.cm-s-solarized.cm-s-dark{color:#839496;background-color:#002b36;text-shadow:#002b36 0 1px}.cm-s-solarized.cm-s-light{background-color:#fdf6e3;color:#657b83;text-shadow:#eee8d5 0 1px}.cm-s-solarized .CodeMirror-widget{text-shadow:none}.cm-s-solarized .cm-header{color:#586e75}.cm-s-solarized .cm-quote{color:#93a1a1}.cm-s-solarized .cm-keyword{color:#cb4b16}.cm-s-solarized .cm-atom,.cm-s-solarized .cm-number{color:#d33682}.cm-s-solarized .cm-def{color:#2aa198}.cm-s-solarized .cm-variable{color:#839496}.cm-s-solarized .cm-variable-2{color:#b58900}.cm-s-solarized .cm-variable-3{color:#6c71c4}.cm-s-solarized .cm-property{color:#2aa198}.cm-s-solarized .cm-operator{color:#6c71c4}.cm-s-solarized .cm-comment{color:#586e75;font-style:italic}.cm-s-solarized .cm-string{color:#859900}.cm-s-solarized .cm-string-2{color:#b58900}.cm-s-solarized .cm-meta{color:#859900}.cm-s-solarized .cm-qualifier{color:#b58900}.cm-s-solarized .cm-builtin{color:#d33682}.cm-s-solarized .cm-bracket{color:#cb4b16}.cm-s-solarized .CodeMirror-matchingbracket{color:#859900}.cm-s-solarized .CodeMirror-nonmatchingbracket{color:#dc322f}.cm-s-solarized .cm-tag{color:#93a1a1}.cm-s-solarized .cm-attribute{color:#2aa198}.cm-s-solarized .cm-hr{color:transparent;border-top:1px solid #586e75;display:block}.cm-s-solarized .cm-link{color:#93a1a1;cursor:pointer}.cm-s-solarized .cm-special{color:#6c71c4}.cm-s-solarized .cm-em{color:#999;text-decoration:underline;-webkit-text-decoration-style:dotted;text-decoration-style:dotted}.cm-s-solarized .cm-strong{color:#eee}.cm-s-solarized .cm-error,.cm-s-solarized .cm-invalidchar{color:#586e75;border-bottom:1px dotted #dc322f}.cm-s-solarized.cm-s-dark div.CodeMirror-selected{background:#073642}.cm-s-solarized.cm-s-dark.CodeMirror ::-moz-selection{background:rgba(7,54,66,.99)}.cm-s-solarized.cm-s-dark.CodeMirror ::selection{background:rgba(7,54,66,.99)}.cm-s-dark .CodeMirror-line>span::-moz-selection,.cm-s-dark .CodeMirror-line>span>span::-moz-selection,.cm-s-solarized.cm-s-dark .CodeMirror-line::-moz-selection{background:rgba(7,54,66,.99)}.cm-s-solarized.cm-s-light div.CodeMirror-selected{background:#eee8d5}.cm-s-light .CodeMirror-line>span::-moz-selection,.cm-s-light .CodeMirror-line>span>span::-moz-selection,.cm-s-solarized.cm-s-light .CodeMirror-line::-moz-selection{background:#eee8d5}.cm-s-light .CodeMirror-line>span::selection,.cm-s-light .CodeMirror-line>span>span::selection,.cm-s-solarized.cm-s-light .CodeMirror-line::selection{background:#eee8d5}.cm-s-ligh .CodeMirror-line>span::-moz-selection,.cm-s-ligh .CodeMirror-line>span>span::-moz-selection,.cm-s-solarized.cm-s-light .CodeMirror-line::-moz-selection{background:#eee8d5}.cm-s-solarized.CodeMirror{box-shadow:inset 7px 0 12px -6px #000}.cm-s-solarized .CodeMirror-gutters{border-right:0}.cm-s-solarized.cm-s-dark .CodeMirror-gutters{background-color:#073642}.cm-s-solarized.cm-s-dark .CodeMirror-linenumber{color:#586e75;text-shadow:#021014 0 -1px}.cm-s-solarized.cm-s-light .CodeMirror-gutters{background-color:#eee8d5}.cm-s-solarized.cm-s-light .CodeMirror-linenumber{color:#839496}.cm-s-solarized .CodeMirror-linenumber{padding:0 5px}.cm-s-solarized .CodeMirror-guttermarker-subtle{color:#586e75}.cm-s-solarized.cm-s-dark .CodeMirror-guttermarker{color:#ddd}.cm-s-solarized.cm-s-light .CodeMirror-guttermarker{color:#cb4b16}.cm-s-solarized .CodeMirror-gutter .CodeMirror-gutter-text{color:#586e75}.cm-s-solarized .CodeMirror-cursor{border-left:1px solid #819090}.cm-s-solarized.cm-s-light.cm-fat-cursor .CodeMirror-cursor{background:#7e7}.cm-s-solarized.cm-s-light .cm-animate-fat-cursor{background-color:#7e7}.cm-s-solarized.cm-s-dark.cm-fat-cursor .CodeMirror-cursor{background:#586e75}.cm-s-solarized.cm-s-dark .cm-animate-fat-cursor{background-color:#586e75}.cm-s-solarized.cm-s-dark .CodeMirror-activeline-background{background:hsla(0,0%,100%,.06)}.cm-s-solarized.cm-s-light .CodeMirror-activeline-background{background:rgba(0,0,0,.06)}.cm-s-the-matrix.CodeMirror{background:#000;color:#0f0}.cm-s-the-matrix div.CodeMirror-selected{background:#2d2d2d}.cm-s-the-matrix .CodeMirror-line::selection,.cm-s-the-matrix .CodeMirror-line>span::selection,.cm-s-the-matrix .CodeMirror-line>span>span::selection{background:rgba(45,45,45,.99)}.cm-s-the-matrix .CodeMirror-line::-moz-selection,.cm-s-the-matrix .CodeMirror-line>span::-moz-selection,.cm-s-the-matrix .CodeMirror-line>span>span::-moz-selection{background:rgba(45,45,45,.99)}.cm-s-the-matrix .CodeMirror-gutters{background:#060;border-right:2px solid #0f0}.cm-s-the-matrix .CodeMirror-guttermarker{color:#0f0}.cm-s-the-matrix .CodeMirror-guttermarker-subtle,.cm-s-the-matrix .CodeMirror-linenumber{color:#fff}.cm-s-the-matrix .CodeMirror-cursor{border-left:1px solid #0f0}.cm-s-the-matrix span.cm-keyword{color:#008803;font-weight:700}.cm-s-the-matrix span.cm-atom{color:#3ff}.cm-s-the-matrix span.cm-number{color:#ffb94f}.cm-s-the-matrix span.cm-def{color:#99c}.cm-s-the-matrix span.cm-variable{color:#f6c}.cm-s-the-matrix span.cm-variable-2{color:#c6f}.cm-s-the-matrix span.cm-variable-3{color:#96f}.cm-s-the-matrix span.cm-property{color:#62ffa0}.cm-s-the-matrix span.cm-operator{color:#999}.cm-s-the-matrix span.cm-comment{color:#ccc}.cm-s-the-matrix span.cm-string{color:#39c}.cm-s-the-matrix span.cm-meta{color:#c9f}.cm-s-the-matrix span.cm-qualifier{color:#fff700}.cm-s-the-matrix span.cm-builtin{color:#30a}.cm-s-the-matrix span.cm-bracket{color:#cc7}.cm-s-the-matrix span.cm-tag{color:#ffbd40}.cm-s-the-matrix span.cm-attribute{color:#fff700}.cm-s-the-matrix span.cm-error{color:red}.cm-s-the-matrix .CodeMirror-activeline-background{background:#040}.cm-s-tomorrow-night-bright.CodeMirror{background:#000;color:#eaeaea}.cm-s-tomorrow-night-bright div.CodeMirror-selected{background:#424242}.cm-s-tomorrow-night-bright .CodeMirror-gutters{background:#000;border-right:0}.cm-s-tomorrow-night-bright .CodeMirror-guttermarker{color:#e78c45}.cm-s-tomorrow-night-bright .CodeMirror-guttermarker-subtle{color:#777}.cm-s-tomorrow-night-bright .CodeMirror-linenumber{color:#424242}.cm-s-tomorrow-night-bright .CodeMirror-cursor{border-left:1px solid #6a6a6a}.cm-s-tomorrow-night-bright span.cm-comment{color:#d27b53}.cm-s-tomorrow-night-bright span.cm-atom,.cm-s-tomorrow-night-bright span.cm-number{color:#a16a94}.cm-s-tomorrow-night-bright span.cm-attribute,.cm-s-tomorrow-night-bright span.cm-property{color:#9c9}.cm-s-tomorrow-night-bright span.cm-keyword{color:#d54e53}.cm-s-tomorrow-night-bright span.cm-string{color:#e7c547}.cm-s-tomorrow-night-bright span.cm-variable{color:#b9ca4a}.cm-s-tomorrow-night-bright span.cm-variable-2{color:#7aa6da}.cm-s-tomorrow-night-bright span.cm-def{color:#e78c45}.cm-s-tomorrow-night-bright span.cm-bracket{color:#eaeaea}.cm-s-tomorrow-night-bright span.cm-tag{color:#d54e53}.cm-s-tomorrow-night-bright span.cm-link{color:#a16a94}.cm-s-tomorrow-night-bright span.cm-error{background:#d54e53;color:#6a6a6a}.cm-s-tomorrow-night-bright .CodeMirror-activeline-background{background:#2a2a2a}.cm-s-tomorrow-night-bright .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-tomorrow-night-eighties.CodeMirror{background:#000;color:#ccc}.cm-s-tomorrow-night-eighties div.CodeMirror-selected{background:#2d2d2d}.cm-s-tomorrow-night-eighties .CodeMirror-line::selection,.cm-s-tomorrow-night-eighties .CodeMirror-line>span::selection,.cm-s-tomorrow-night-eighties .CodeMirror-line>span>span::selection{background:rgba(45,45,45,.99)}.cm-s-tomorrow-night-eighties .CodeMirror-line::-moz-selection,.cm-s-tomorrow-night-eighties .CodeMirror-line>span::-moz-selection,.cm-s-tomorrow-night-eighties .CodeMirror-line>span>span::-moz-selection{background:rgba(45,45,45,.99)}.cm-s-tomorrow-night-eighties .CodeMirror-gutters{background:#000;border-right:0}.cm-s-tomorrow-night-eighties .CodeMirror-guttermarker{color:#f2777a}.cm-s-tomorrow-night-eighties .CodeMirror-guttermarker-subtle{color:#777}.cm-s-tomorrow-night-eighties .CodeMirror-linenumber{color:#515151}.cm-s-tomorrow-night-eighties .CodeMirror-cursor{border-left:1px solid #6a6a6a}.cm-s-tomorrow-night-eighties span.cm-comment{color:#d27b53}.cm-s-tomorrow-night-eighties span.cm-atom,.cm-s-tomorrow-night-eighties span.cm-number{color:#a16a94}.cm-s-tomorrow-night-eighties span.cm-attribute,.cm-s-tomorrow-night-eighties span.cm-property{color:#9c9}.cm-s-tomorrow-night-eighties span.cm-keyword{color:#f2777a}.cm-s-tomorrow-night-eighties span.cm-string{color:#fc6}.cm-s-tomorrow-night-eighties span.cm-variable{color:#9c9}.cm-s-tomorrow-night-eighties span.cm-variable-2{color:#69c}.cm-s-tomorrow-night-eighties span.cm-def{color:#f99157}.cm-s-tomorrow-night-eighties span.cm-bracket{color:#ccc}.cm-s-tomorrow-night-eighties span.cm-tag{color:#f2777a}.cm-s-tomorrow-night-eighties span.cm-link{color:#a16a94}.cm-s-tomorrow-night-eighties span.cm-error{background:#f2777a;color:#6a6a6a}.cm-s-tomorrow-night-eighties .CodeMirror-activeline-background{background:#343600}.cm-s-tomorrow-night-eighties .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-ttcn .cm-quote{color:#090}.cm-s-ttcn .cm-header,.cm-strong{font-weight:700}.cm-s-ttcn .cm-header{color:#00f;font-weight:700}.cm-s-ttcn .cm-atom{color:#219}.cm-s-ttcn .cm-attribute{color:#00c}.cm-s-ttcn .cm-bracket{color:#997}.cm-s-ttcn .cm-comment{color:#333}.cm-s-ttcn .cm-def{color:#00f}.cm-s-ttcn .cm-em{font-style:italic}.cm-s-ttcn .cm-error{color:red}.cm-s-ttcn .cm-hr{color:#999}.cm-s-ttcn .cm-keyword{font-weight:700}.cm-s-ttcn .cm-link{color:#00c;text-decoration:underline}.cm-s-ttcn .cm-meta{color:#555}.cm-s-ttcn .cm-negative{color:#d44}.cm-s-ttcn .cm-positive{color:#292}.cm-s-ttcn .cm-qualifier{color:#555}.cm-s-ttcn .cm-strikethrough{text-decoration:line-through}.cm-s-ttcn .cm-string{color:#006400}.cm-s-ttcn .cm-string-2{color:#f50}.cm-s-ttcn .cm-strong{font-weight:700}.cm-s-ttcn .cm-tag{color:#170}.cm-s-ttcn .cm-variable{color:#8b2252}.cm-s-ttcn .cm-variable-2{color:#05a}.cm-s-ttcn .cm-variable-3{color:#085}.cm-s-ttcn .cm-invalidchar{color:red}.cm-s-ttcn .cm-accessTypes,.cm-s-ttcn .cm-compareTypes{color:#27408b}.cm-s-ttcn .cm-cmipVerbs{color:#8b2252}.cm-s-ttcn .cm-modifier{color:#d2691e}.cm-s-ttcn .cm-status{color:#8b4545}.cm-s-ttcn .cm-storage{color:#a020f0}.cm-s-ttcn .cm-tags{color:#006400}.cm-s-ttcn .cm-externalCommands{color:#8b4545;font-weight:700}.cm-s-ttcn .cm-fileNCtrlMaskOptions,.cm-s-ttcn .cm-sectionTitle{color:#2e8b57;font-weight:700}.cm-s-ttcn .cm-booleanConsts,.cm-s-ttcn .cm-otherConsts,.cm-s-ttcn .cm-verdictConsts{color:#006400}.cm-s-ttcn .cm-configOps,.cm-s-ttcn .cm-functionOps,.cm-s-ttcn .cm-portOps,.cm-s-ttcn .cm-sutOps,.cm-s-ttcn .cm-timerOps,.cm-s-ttcn .cm-verdictOps{color:#00f}.cm-s-ttcn .cm-preprocessor,.cm-s-ttcn .cm-templateMatch,.cm-s-ttcn .cm-ttcn3Macros{color:#27408b}.cm-s-ttcn .cm-types{color:brown;font-weight:700}.cm-s-ttcn .cm-visibilityModifiers{font-weight:700}.cm-s-twilight.CodeMirror{background:#141414;color:#f7f7f7}.cm-s-twilight div.CodeMirror-selected{background:#323232}.cm-s-twilight .CodeMirror-line::selection,.cm-s-twilight .CodeMirror-line>span::selection,.cm-s-twilight .CodeMirror-line>span>span::selection{background:rgba(50,50,50,.99)}.cm-s-twilight .CodeMirror-line::-moz-selection,.cm-s-twilight .CodeMirror-line>span::-moz-selection,.cm-s-twilight .CodeMirror-line>span>span::-moz-selection{background:rgba(50,50,50,.99)}.cm-s-twilight .CodeMirror-gutters{background:#222;border-right:1px solid #aaa}.cm-s-twilight .CodeMirror-guttermarker{color:#fff}.cm-s-twilight .CodeMirror-guttermarker-subtle,.cm-s-twilight .CodeMirror-linenumber{color:#aaa}.cm-s-twilight .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-twilight .cm-keyword{color:#f9ee98}.cm-s-twilight .cm-atom{color:#fc0}.cm-s-twilight .cm-number{color:#ca7841}.cm-s-twilight .cm-def{color:#8da6ce}.cm-s-twilight span.cm-def,.cm-s-twilight span.cm-tag,.cm-s-twilight span.cm-variable-2,.cm-s-twilight span.cm-variable-3{color:#607392}.cm-s-twilight .cm-operator{color:#cda869}.cm-s-twilight .cm-comment{color:#777;font-style:italic;font-weight:400}.cm-s-twilight .cm-string{color:#8f9d6a;font-style:italic}.cm-s-twilight .cm-string-2{color:#bd6b18}.cm-s-twilight .cm-meta{background-color:#141414;color:#f7f7f7}.cm-s-twilight .cm-builtin{color:#cda869}.cm-s-twilight .cm-tag{color:#997643}.cm-s-twilight .cm-attribute{color:#d6bb6d}.cm-s-twilight .cm-header{color:#ff6400}.cm-s-twilight .cm-hr{color:#aeaeae}.cm-s-twilight .cm-link{color:#ad9361;font-style:italic;text-decoration:none}.cm-s-twilight .cm-error{border-bottom:1px solid red}.cm-s-twilight .CodeMirror-activeline-background{background:#27282e}.cm-s-twilight .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.cm-s-vibrant-ink.CodeMirror{background:#000;color:#fff}.cm-s-vibrant-ink div.CodeMirror-selected{background:#35493c}.cm-s-vibrant-ink .CodeMirror-line::selection,.cm-s-vibrant-ink .CodeMirror-line>span::selection,.cm-s-vibrant-ink .CodeMirror-line>span>span::selection{background:rgba(53,73,60,.99)}.cm-s-vibrant-ink .CodeMirror-line::-moz-selection,.cm-s-vibrant-ink .CodeMirror-line>span::-moz-selection,.cm-s-vibrant-ink .CodeMirror-line>span>span::-moz-selection{background:rgba(53,73,60,.99)}.cm-s-vibrant-ink .CodeMirror-gutters{background:#002240;border-right:1px solid #aaa}.cm-s-vibrant-ink .CodeMirror-guttermarker{color:#fff}.cm-s-vibrant-ink .CodeMirror-guttermarker-subtle,.cm-s-vibrant-ink .CodeMirror-linenumber{color:#d0d0d0}.cm-s-vibrant-ink .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-vibrant-ink .cm-keyword{color:#cc7832}.cm-s-vibrant-ink .cm-atom{color:#fc0}.cm-s-vibrant-ink .cm-number{color:#ffee98}.cm-s-vibrant-ink .cm-def{color:#8da6ce}.cm-s-vibrant-ink span.cm-variable-2,.cm-s-vibrant-ink span.cm-variable-3,.cm-s-vibrant span.cm-def,.cm-s-vibrant span.cm-tag{color:#ffc66d}.cm-s-vibrant-ink .cm-operator{color:#888}.cm-s-vibrant-ink .cm-comment{color:gray;font-weight:700}.cm-s-vibrant-ink .cm-string{color:#a5c25c}.cm-s-vibrant-ink .cm-string-2{color:red}.cm-s-vibrant-ink .cm-meta{color:#d8fa3c}.cm-s-vibrant-ink .cm-attribute,.cm-s-vibrant-ink .cm-builtin,.cm-s-vibrant-ink .cm-tag{color:#8da6ce}.cm-s-vibrant-ink .cm-header{color:#ff6400}.cm-s-vibrant-ink .cm-hr{color:#aeaeae}.cm-s-vibrant-ink .cm-link{color:blue}.cm-s-vibrant-ink .cm-error{border-bottom:1px solid red}.cm-s-vibrant-ink .CodeMirror-activeline-background{background:#27282e}.cm-s-vibrant-ink .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.cm-s-xq-dark.CodeMirror{background:#0a001f;color:#f8f8f8}.cm-s-xq-dark div.CodeMirror-selected{background:#27007a}.cm-s-xq-dark .CodeMirror-line::selection,.cm-s-xq-dark .CodeMirror-line>span::selection,.cm-s-xq-dark .CodeMirror-line>span>span::selection{background:rgba(39,0,122,.99)}.cm-s-xq-dark .CodeMirror-line::-moz-selection,.cm-s-xq-dark .CodeMirror-line>span::-moz-selection,.cm-s-xq-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(39,0,122,.99)}.cm-s-xq-dark .CodeMirror-gutters{background:#0a001f;border-right:1px solid #aaa}.cm-s-xq-dark .CodeMirror-guttermarker{color:#ffbd40}.cm-s-xq-dark .CodeMirror-guttermarker-subtle,.cm-s-xq-dark .CodeMirror-linenumber{color:#f8f8f8}.cm-s-xq-dark .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-xq-dark span.cm-keyword{color:#ffbd40}.cm-s-xq-dark span.cm-atom{color:#6c8cd5}.cm-s-xq-dark span.cm-number{color:#164}.cm-s-xq-dark span.cm-def{color:#fff;text-decoration:underline}.cm-s-xq-dark span.cm-variable{color:#fff}.cm-s-xq-dark span.cm-variable-2{color:#eee}.cm-s-xq-dark span.cm-variable-3{color:#ddd}.cm-s-xq-dark span.cm-comment{color:gray}.cm-s-xq-dark span.cm-string{color:#9fee00}.cm-s-xq-dark span.cm-meta{color:#ff0}.cm-s-xq-dark span.cm-qualifier{color:#fff700}.cm-s-xq-dark span.cm-builtin{color:#30a}.cm-s-xq-dark span.cm-bracket{color:#cc7}.cm-s-xq-dark span.cm-tag{color:#ffbd40}.cm-s-xq-dark span.cm-attribute{color:#fff700}.cm-s-xq-dark span.cm-error{color:red}.cm-s-xq-dark .CodeMirror-activeline-background{background:#27282e}.cm-s-xq-dark .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.cm-s-xq-light span.cm-keyword{line-height:1em;font-weight:700;color:#5a5cad}.cm-s-xq-light span.cm-atom{color:#6c8cd5}.cm-s-xq-light span.cm-number{color:#164}.cm-s-xq-light span.cm-def{text-decoration:underline}.cm-s-xq-light span.cm-variable,.cm-s-xq-light span.cm-variable-2,.cm-s-xq-light span.cm-variable-3{color:#000}.cm-s-xq-light span.cm-comment{color:#0080ff;font-style:italic}.cm-s-xq-light span.cm-string{color:red}.cm-s-xq-light span.cm-meta{color:#ff0}.cm-s-xq-light span.cm-qualifier{color:grey}.cm-s-xq-light span.cm-builtin{color:#7ea656}.cm-s-xq-light span.cm-bracket{color:#cc7}.cm-s-xq-light span.cm-tag{color:#3f7f7f}.cm-s-xq-light span.cm-attribute{color:#7f007f}.cm-s-xq-light span.cm-error{color:red}.cm-s-xq-light .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-xq-light .CodeMirror-matchingbracket{outline:1px solid grey;color:#000!important;background:#ff0}.cm-s-yeti.CodeMirror{background-color:#eceae8!important;color:#d1c9c0!important;border:none}.cm-s-yeti .CodeMirror-gutters{color:#adaba6;background-color:#e5e1db;border:none}.cm-s-yeti .CodeMirror-cursor{border-left:thin solid #d1c9c0}.cm-s-yeti .CodeMirror-linenumber{color:#adaba6}.cm-s-yeti.CodeMirror-focused div.CodeMirror-selected{background:#dcd8d2}.cm-s-yeti .CodeMirror-line::selection,.cm-s-yeti .CodeMirror-line>span::selection,.cm-s-yeti .CodeMirror-line>span>span::selection{background:#dcd8d2}.cm-s-yeti .CodeMirror-line::-moz-selection,.cm-s-yeti .CodeMirror-line>span::-moz-selection,.cm-s-yeti .CodeMirror-line>span>span::-moz-selection{background:#dcd8d2}.cm-s-yeti span.cm-comment{color:#d4c8be}.cm-s-yeti span.cm-string,.cm-s-yeti span.cm-string-2{color:#96c0d8}.cm-s-yeti span.cm-number{color:#a074c4}.cm-s-yeti span.cm-variable{color:#55b5db}.cm-s-yeti span.cm-variable-2{color:#a074c4}.cm-s-yeti span.cm-def{color:#55b5db}.cm-s-yeti span.cm-keyword,.cm-s-yeti span.cm-operator{color:#9fb96e}.cm-s-yeti span.cm-atom{color:#a074c4}.cm-s-yeti span.cm-meta,.cm-s-yeti span.cm-tag{color:#96c0d8}.cm-s-yeti span.cm-attribute{color:#9fb96e}.cm-s-yeti span.cm-qualifier{color:#96c0d8}.cm-s-yeti span.cm-builtin,.cm-s-yeti span.cm-property{color:#a074c4}.cm-s-yeti span.cm-variable-3{color:#96c0d8}.cm-s-yeti .CodeMirror-activeline-background{background:#e7e4e0}.cm-s-yeti .CodeMirror-matchingbracket{text-decoration:underline}.cm-s-zenburn .CodeMirror-gutters{background:#3f3f3f!important}.cm-s-zenburn .CodeMirror-foldgutter-open,.CodeMirror-foldgutter-folded{color:#999}.cm-s-zenburn .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-zenburn{background-color:#3f3f3f;color:#dcdccc}.cm-s-zenburn span.cm-builtin{color:#dcdccc;font-weight:700}.cm-s-zenburn span.cm-comment{color:#7f9f7f}.cm-s-zenburn span.cm-keyword{color:#f0dfaf;font-weight:700}.cm-s-zenburn span.cm-atom{color:#bfebbf}.cm-s-zenburn span.cm-def{color:#dcdccc}.cm-s-zenburn span.cm-variable{color:#dfaf8f}.cm-s-zenburn span.cm-variable-2{color:#dcdccc}.cm-s-zenburn span.cm-string,.cm-s-zenburn span.cm-string-2{color:#cc9393}.cm-s-zenburn span.cm-number{color:#dcdccc}.cm-s-zenburn span.cm-tag{color:#93e0e3}.cm-s-zenburn span.cm-attribute,.cm-s-zenburn span.cm-property{color:#dfaf8f}.cm-s-zenburn span.cm-qualifier{color:#7cb8bb}.cm-s-zenburn span.cm-meta{color:#f0dfaf}.cm-s-zenburn span.cm-header,.cm-s-zenburn span.cm-operator{color:#f0efd0}.cm-s-zenburn span.CodeMirror-matchingbracket{box-sizing:border-box;background:transparent;border-bottom:1px solid}.cm-s-zenburn span.CodeMirror-nonmatchingbracket{border-bottom:1px solid;background:none}.cm-s-zenburn .CodeMirror-activeline,.cm-s-zenburn .CodeMirror-activeline-background{background:#000}.cm-s-zenburn div.CodeMirror-selected{background:#545454}.cm-s-zenburn .CodeMirror-focused div.CodeMirror-selected{background:#4f4f4f}/*! - * Bootstrap v4.0.0-alpha.6 (https://getbootstrap.com) - * Copyright 2011-2017 The Bootstrap Authors - * Copyright 2011-2017 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */ -/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}[hidden],template{display:none}@media print{*,:after,:before,blockquote:first-letter,blockquote:first-line,div:first-letter,div:first-line,li:first-letter,li:first-line,p:first-letter,p:first-line{text-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}abbr[title]:after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}@-ms-viewport{width:device-width}html{-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}body{font-family:Open Sans,-apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:1rem;font-weight:400;line-height:1.5;color:#292b2c;background-color:#fff}[tabindex="-1"]:focus{outline:none!important}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{cursor:help}address{font-style:normal;line-height:inherit}address,dl,ol,ul{margin-bottom:1rem}dl,ol,ul{margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}a{color:#0275d8;text-decoration:none}a:focus,a:hover{color:#014c8c;text-decoration:underline}a:not([href]):not([tabindex]),a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}pre{overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle}[role=button]{cursor:pointer}[role=button],a,area,button,input,label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}table{border-collapse:collapse;background-color:transparent}caption{padding-top:.75rem;padding-bottom:.75rem;color:#636c72;caption-side:bottom}caption,th{text-align:left}label{display:inline-block;margin-bottom:.5rem}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,select,textarea{line-height:inherit}input[type=checkbox]:disabled,input[type=radio]:disabled{cursor:not-allowed}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit}input[type=search]{-webkit-appearance:none}output{display:inline-block}[hidden]{display:none!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1,h1{font-size:2.5rem}.h2,h2{font-size:2rem}.h3,h3{font-size:1.75rem}.h4,h4{font-size:1.5rem}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:6rem}.display-1,.display-2{font-weight:300;line-height:1.1}.display-2{font-size:5.5rem}.display-3{font-size:4.5rem}.display-3,.display-4{font-weight:300;line-height:1.1}.display-4{font-size:3.5rem}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid rgba(0,0,0,.1)}.small,small{font-size:80%;font-weight:400}.mark,mark{padding:.2em;background-color:#f0ad4e}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:5px}.initialism{font-size:90%;text-transform:uppercase}.blockquote{padding:.5rem 1rem;margin-bottom:1rem;font-size:1.25rem;border-left:.25rem solid #eceeef}.blockquote-footer{display:block;font-size:80%;color:#636c72}.blockquote-footer:before{content:"\2014 \A0"}.blockquote-reverse{padding-right:1rem;padding-left:0;text-align:right;border-right:.25rem solid #eceeef;border-left:0}.blockquote-reverse .blockquote-footer:before{content:""}.blockquote-reverse .blockquote-footer:after{content:"\A0 \2014"}.img-fluid,.img-thumbnail{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #ddd;border-radius:.25rem;transition:all .2s ease-in-out}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:90%;color:#636c72}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}code{padding:.2rem .4rem;font-size:90%;color:#bd4147;background-color:#f7f7f9;border-radius:.25rem}a>code{padding:0;color:inherit;background-color:inherit}kbd{padding:.2rem .4rem;font-size:90%;color:#fff;background-color:#292b2c;border-radius:.2rem}kbd kbd{padding:0;font-size:100%;font-weight:700}pre{display:block;margin-top:0;margin-bottom:1rem;font-size:90%;color:#292b2c}pre code{padding:0;font-size:inherit;color:inherit;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{position:relative;margin-left:auto;margin-right:auto;padding-right:7.5px;padding-left:7.5px}@media (min-width:576px){.container{padding-right:7.5px;padding-left:7.5px}}@media (min-width:768px){.container{padding-right:7.5px;padding-left:7.5px}}@media (min-width:992px){.container{padding-right:7.5px;padding-left:7.5px}}@media (min-width:1200px){.container{padding-right:7.5px;padding-left:7.5px}}@media (min-width:576px){.container{width:540px;max-width:100%}}@media (min-width:768px){.container{width:720px;max-width:100%}}@media (min-width:992px){.container{width:960px;max-width:100%}}@media (min-width:1200px){.container{width:1140px;max-width:100%}}.container-fluid{position:relative;margin-left:auto;margin-right:auto;padding-right:7.5px;padding-left:7.5px}@media (min-width:576px){.container-fluid{padding-right:7.5px;padding-left:7.5px}}@media (min-width:768px){.container-fluid{padding-right:7.5px;padding-left:7.5px}}@media (min-width:992px){.container-fluid{padding-right:7.5px;padding-left:7.5px}}@media (min-width:1200px){.container-fluid{padding-right:7.5px;padding-left:7.5px}}.row{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-7.5px;margin-left:-7.5px}@media (min-width:576px){.row{margin-right:-7.5px;margin-left:-7.5px}}@media (min-width:768px){.row{margin-right:-7.5px;margin-left:-7.5px}}@media (min-width:992px){.row{margin-right:-7.5px;margin-left:-7.5px}}@media (min-width:1200px){.row{margin-right:-7.5px;margin-left:-7.5px}}.no-gutters{margin-right:0;margin-left:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-right:0;padding-left:0}.col,.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col-lg,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xl,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12{position:relative;width:100%;min-height:1px;padding-right:7.5px;padding-left:7.5px}@media (min-width:576px){.col,.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col-lg,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xl,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12{padding-right:7.5px;padding-left:7.5px}}@media (min-width:768px){.col,.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col-lg,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xl,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12{padding-right:7.5px;padding-left:7.5px}}@media (min-width:992px){.col,.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col-lg,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xl,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12{padding-right:7.5px;padding-left:7.5px}}@media (min-width:1200px){.col,.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col-lg,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xl,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12{padding-right:7.5px;padding-left:7.5px}}.col{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-1,.col-auto{-webkit-box-flex:0}.col-1{-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;max-width:8.33333%}.col-2{-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;max-width:16.66667%}.col-2,.col-3{-webkit-box-flex:0}.col-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-4{-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;max-width:33.33333%}.col-4,.col-5{-webkit-box-flex:0}.col-5{-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;max-width:41.66667%}.col-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-6,.col-7{-webkit-box-flex:0}.col-7{-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;max-width:58.33333%}.col-8{-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;max-width:66.66667%}.col-8,.col-9{-webkit-box-flex:0}.col-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-10{-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;max-width:83.33333%}.col-10,.col-11{-webkit-box-flex:0}.col-11{-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;max-width:91.66667%}.col-12{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.pull-0{right:auto}.pull-1{right:8.33333%}.pull-2{right:16.66667%}.pull-3{right:25%}.pull-4{right:33.33333%}.pull-5{right:41.66667%}.pull-6{right:50%}.pull-7{right:58.33333%}.pull-8{right:66.66667%}.pull-9{right:75%}.pull-10{right:83.33333%}.pull-11{right:91.66667%}.pull-12{right:100%}.push-0{left:auto}.push-1{left:8.33333%}.push-2{left:16.66667%}.push-3{left:25%}.push-4{left:33.33333%}.push-5{left:41.66667%}.push-6{left:50%}.push-7{left:58.33333%}.push-8{left:66.66667%}.push-9{left:75%}.push-10{left:83.33333%}.push-11{left:91.66667%}.push-12{left:100%}.offset-1{margin-left:8.33333%}.offset-2{margin-left:16.66667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333%}.offset-5{margin-left:41.66667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333%}.offset-8{margin-left:66.66667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333%}.offset-11{margin-left:91.66667%}@media (min-width:576px){.col-sm{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-sm-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-sm-1{-webkit-box-flex:0;-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;max-width:8.33333%}.col-sm-2{-webkit-box-flex:0;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;max-width:16.66667%}.col-sm-3{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-sm-4{-webkit-box-flex:0;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;max-width:33.33333%}.col-sm-5{-webkit-box-flex:0;-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;max-width:41.66667%}.col-sm-6{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-sm-7{-webkit-box-flex:0;-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;max-width:58.33333%}.col-sm-8{-webkit-box-flex:0;-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;max-width:66.66667%}.col-sm-9{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-sm-10{-webkit-box-flex:0;-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;max-width:83.33333%}.col-sm-11{-webkit-box-flex:0;-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;max-width:91.66667%}.col-sm-12{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.pull-sm-0{right:auto}.pull-sm-1{right:8.33333%}.pull-sm-2{right:16.66667%}.pull-sm-3{right:25%}.pull-sm-4{right:33.33333%}.pull-sm-5{right:41.66667%}.pull-sm-6{right:50%}.pull-sm-7{right:58.33333%}.pull-sm-8{right:66.66667%}.pull-sm-9{right:75%}.pull-sm-10{right:83.33333%}.pull-sm-11{right:91.66667%}.pull-sm-12{right:100%}.push-sm-0{left:auto}.push-sm-1{left:8.33333%}.push-sm-2{left:16.66667%}.push-sm-3{left:25%}.push-sm-4{left:33.33333%}.push-sm-5{left:41.66667%}.push-sm-6{left:50%}.push-sm-7{left:58.33333%}.push-sm-8{left:66.66667%}.push-sm-9{left:75%}.push-sm-10{left:83.33333%}.push-sm-11{left:91.66667%}.push-sm-12{left:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333%}.offset-sm-2{margin-left:16.66667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333%}.offset-sm-5{margin-left:41.66667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333%}.offset-sm-8{margin-left:66.66667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333%}.offset-sm-11{margin-left:91.66667%}}@media (min-width:768px){.col-md{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-md-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-md-1{-webkit-box-flex:0;-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;max-width:8.33333%}.col-md-2{-webkit-box-flex:0;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;max-width:16.66667%}.col-md-3{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-md-4{-webkit-box-flex:0;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;max-width:33.33333%}.col-md-5{-webkit-box-flex:0;-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;max-width:41.66667%}.col-md-6{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-md-7{-webkit-box-flex:0;-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;max-width:58.33333%}.col-md-8{-webkit-box-flex:0;-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;max-width:66.66667%}.col-md-9{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-md-10{-webkit-box-flex:0;-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;max-width:83.33333%}.col-md-11{-webkit-box-flex:0;-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;max-width:91.66667%}.col-md-12{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.pull-md-0{right:auto}.pull-md-1{right:8.33333%}.pull-md-2{right:16.66667%}.pull-md-3{right:25%}.pull-md-4{right:33.33333%}.pull-md-5{right:41.66667%}.pull-md-6{right:50%}.pull-md-7{right:58.33333%}.pull-md-8{right:66.66667%}.pull-md-9{right:75%}.pull-md-10{right:83.33333%}.pull-md-11{right:91.66667%}.pull-md-12{right:100%}.push-md-0{left:auto}.push-md-1{left:8.33333%}.push-md-2{left:16.66667%}.push-md-3{left:25%}.push-md-4{left:33.33333%}.push-md-5{left:41.66667%}.push-md-6{left:50%}.push-md-7{left:58.33333%}.push-md-8{left:66.66667%}.push-md-9{left:75%}.push-md-10{left:83.33333%}.push-md-11{left:91.66667%}.push-md-12{left:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333%}.offset-md-2{margin-left:16.66667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333%}.offset-md-5{margin-left:41.66667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333%}.offset-md-8{margin-left:66.66667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333%}.offset-md-11{margin-left:91.66667%}}@media (min-width:992px){.col-lg{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-lg-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-lg-1{-webkit-box-flex:0;-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;max-width:8.33333%}.col-lg-2{-webkit-box-flex:0;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;max-width:16.66667%}.col-lg-3{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-lg-4{-webkit-box-flex:0;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;max-width:33.33333%}.col-lg-5{-webkit-box-flex:0;-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;max-width:41.66667%}.col-lg-6{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-lg-7{-webkit-box-flex:0;-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;max-width:58.33333%}.col-lg-8{-webkit-box-flex:0;-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;max-width:66.66667%}.col-lg-9{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-lg-10{-webkit-box-flex:0;-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;max-width:83.33333%}.col-lg-11{-webkit-box-flex:0;-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;max-width:91.66667%}.col-lg-12{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.pull-lg-0{right:auto}.pull-lg-1{right:8.33333%}.pull-lg-2{right:16.66667%}.pull-lg-3{right:25%}.pull-lg-4{right:33.33333%}.pull-lg-5{right:41.66667%}.pull-lg-6{right:50%}.pull-lg-7{right:58.33333%}.pull-lg-8{right:66.66667%}.pull-lg-9{right:75%}.pull-lg-10{right:83.33333%}.pull-lg-11{right:91.66667%}.pull-lg-12{right:100%}.push-lg-0{left:auto}.push-lg-1{left:8.33333%}.push-lg-2{left:16.66667%}.push-lg-3{left:25%}.push-lg-4{left:33.33333%}.push-lg-5{left:41.66667%}.push-lg-6{left:50%}.push-lg-7{left:58.33333%}.push-lg-8{left:66.66667%}.push-lg-9{left:75%}.push-lg-10{left:83.33333%}.push-lg-11{left:91.66667%}.push-lg-12{left:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333%}.offset-lg-2{margin-left:16.66667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333%}.offset-lg-5{margin-left:41.66667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333%}.offset-lg-8{margin-left:66.66667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333%}.offset-lg-11{margin-left:91.66667%}}@media (min-width:1200px){.col-xl{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-xl-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-xl-1{-webkit-box-flex:0;-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;max-width:8.33333%}.col-xl-2{-webkit-box-flex:0;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;max-width:16.66667%}.col-xl-3{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-xl-4{-webkit-box-flex:0;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;max-width:33.33333%}.col-xl-5{-webkit-box-flex:0;-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;max-width:41.66667%}.col-xl-6{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-xl-7{-webkit-box-flex:0;-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;max-width:58.33333%}.col-xl-8{-webkit-box-flex:0;-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;max-width:66.66667%}.col-xl-9{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-xl-10{-webkit-box-flex:0;-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;max-width:83.33333%}.col-xl-11{-webkit-box-flex:0;-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;max-width:91.66667%}.col-xl-12{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.pull-xl-0{right:auto}.pull-xl-1{right:8.33333%}.pull-xl-2{right:16.66667%}.pull-xl-3{right:25%}.pull-xl-4{right:33.33333%}.pull-xl-5{right:41.66667%}.pull-xl-6{right:50%}.pull-xl-7{right:58.33333%}.pull-xl-8{right:66.66667%}.pull-xl-9{right:75%}.pull-xl-10{right:83.33333%}.pull-xl-11{right:91.66667%}.pull-xl-12{right:100%}.push-xl-0{left:auto}.push-xl-1{left:8.33333%}.push-xl-2{left:16.66667%}.push-xl-3{left:25%}.push-xl-4{left:33.33333%}.push-xl-5{left:41.66667%}.push-xl-6{left:50%}.push-xl-7{left:58.33333%}.push-xl-8{left:66.66667%}.push-xl-9{left:75%}.push-xl-10{left:83.33333%}.push-xl-11{left:91.66667%}.push-xl-12{left:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333%}.offset-xl-2{margin-left:16.66667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333%}.offset-xl-5{margin-left:41.66667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333%}.offset-xl-8{margin-left:66.66667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333%}.offset-xl-11{margin-left:91.66667%}}.table{width:100%;max-width:100%;margin-bottom:1rem}.table td,.table th{padding:.75rem;vertical-align:top;border-top:1px solid #eceeef}.table thead th{vertical-align:bottom;border-bottom:2px solid #eceeef}.table tbody+tbody{border-top:2px solid #eceeef}.table .table{background-color:#fff}.table-sm td,.table-sm th{padding:.3rem}.table-bordered,.table-bordered td,.table-bordered th{border:1px solid #eceeef}.table-bordered thead td,.table-bordered thead th{border-bottom-width:2px}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.05)}.table-active,.table-active>td,.table-active>th,.table-hover .table-active:hover,.table-hover .table-active:hover>td,.table-hover .table-active:hover>th,.table-hover tbody tr:hover{background-color:rgba(0,0,0,.075)}.table-success,.table-success>td,.table-success>th{background-color:#5cb85c}.table-hover .table-success:hover,.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#4cae4c}.table-info,.table-info>td,.table-info>th{background-color:#5bc0de}.table-hover .table-info:hover,.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#46b8da}.table-warning,.table-warning>td,.table-warning>th{background-color:#f0ad4e}.table-hover .table-warning:hover,.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#eea236}.table-danger,.table-danger>td,.table-danger>th{background-color:#d9534f}.table-hover .table-danger:hover,.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#d43f3a}.thead-inverse th{color:#fff;background-color:#292b2c}.thead-default th{color:#464a4c;background-color:#eceeef}.table-inverse{color:#fff;background-color:#292b2c}.table-inverse td,.table-inverse th,.table-inverse thead th{border-color:#fff}.table-inverse.table-bordered{border:0}.table-responsive{display:block;width:100%;overflow-x:auto;-ms-overflow-style:-ms-autohiding-scrollbar}.table-responsive.table-bordered{border:0}.form-control{display:block;width:100%;padding:.5rem .75rem;font-size:1rem;line-height:1.25;color:#464a4c;background-color:#fff;background-image:none;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::-ms-expand{background-color:transparent;border:0}.form-control:focus{color:#464a4c;background-color:#fff;border-color:#5cb3fd;outline:none}.form-control::-webkit-input-placeholder{color:#636c72;opacity:1}.form-control:-ms-input-placeholder{color:#636c72;opacity:1}.form-control::placeholder{color:#636c72;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#eceeef;opacity:1}.form-control:disabled{cursor:not-allowed}select.form-control:not([size]):not([multiple]){height:calc(2.25rem + 2px)}select.form-control:focus::-ms-value{color:#464a4c;background-color:#fff}.form-control-file,.form-control-range{display:block}.col-form-label{padding-top:calc(.5rem - 1px * 2);padding-bottom:calc(.5rem - 1px * 2);margin-bottom:0}.col-form-label-lg{padding-top:calc(.75rem - 1px * 2);padding-bottom:calc(.75rem - 1px * 2);font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem - 1px * 2);padding-bottom:calc(.25rem - 1px * 2);font-size:.875rem}.col-form-legend{font-size:1rem}.col-form-legend,.form-control-static{padding-top:.5rem;padding-bottom:.5rem;margin-bottom:0}.form-control-static{line-height:1.25;border:solid transparent;border-width:1px 0}.form-control-static.form-control-lg,.form-control-static.form-control-sm,.input-group-lg>.form-control-static.form-control,.input-group-lg>.form-control-static.input-group-addon,.input-group-lg>.input-group-btn>.form-control-static.btn,.input-group-sm>.form-control-static.form-control,.input-group-sm>.form-control-static.input-group-addon,.input-group-sm>.input-group-btn>.form-control-static.btn{padding-right:0;padding-left:0}.form-control-sm,.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.input-group-sm>.input-group-btn>select.btn:not([size]):not([multiple]),.input-group-sm>select.form-control:not([size]):not([multiple]),.input-group-sm>select.input-group-addon:not([size]):not([multiple]),select.form-control-sm:not([size]):not([multiple]){height:1.8125rem}.form-control-lg,.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{padding:.75rem 1.5rem;font-size:1.25rem;border-radius:.3rem}.input-group-lg>.input-group-btn>select.btn:not([size]):not([multiple]),.input-group-lg>select.form-control:not([size]):not([multiple]),.input-group-lg>select.input-group-addon:not([size]):not([multiple]),select.form-control-lg:not([size]):not([multiple]){height:3.16667rem}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-check{position:relative;display:block;margin-bottom:.5rem}.form-check.disabled .form-check-label{color:#636c72;cursor:not-allowed}.form-check-label{padding-left:1.25rem;margin-bottom:0;cursor:pointer}.form-check-input{position:absolute;margin-top:.25rem;margin-left:-1.25rem}.form-check-input:only-child{position:static}.form-check-inline{display:inline-block}.form-check-inline .form-check-label{vertical-align:middle}.form-check-inline+.form-check-inline{margin-left:.75rem}.form-control-feedback{margin-top:.25rem}.form-control-danger,.form-control-success,.form-control-warning{padding-right:2.25rem;background-repeat:no-repeat;background-position:center right .5625rem;background-size:1.125rem 1.125rem}.has-success .col-form-label,.has-success .custom-control,.has-success .form-check-label,.has-success .form-control-feedback,.has-success .form-control-label{color:#5cb85c}.has-success .form-control{border-color:#5cb85c}.has-success .input-group-addon{color:#5cb85c;border-color:#5cb85c;background-color:#eaf6ea}.has-success .form-control-success{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%235cb85c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E")}.has-warning .col-form-label,.has-warning .custom-control,.has-warning .form-check-label,.has-warning .form-control-feedback,.has-warning .form-control-label{color:#f0ad4e}.has-warning .form-control{border-color:#f0ad4e}.has-warning .input-group-addon{color:#f0ad4e;border-color:#f0ad4e;background-color:#fff}.has-warning .form-control-warning{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23f0ad4e' d='M4.4 5.324h-.8v-2.46h.8zm0 1.42h-.8V5.89h.8zM3.76.63L.04 7.075c-.115.2.016.425.26.426h7.397c.242 0 .372-.226.258-.426C6.726 4.924 5.47 2.79 4.253.63c-.113-.174-.39-.174-.494 0z'/%3E%3C/svg%3E")}.has-danger .col-form-label,.has-danger .custom-control,.has-danger .form-check-label,.has-danger .form-control-feedback,.has-danger .form-control-label{color:#d9534f}.has-danger .form-control{border-color:#d9534f}.has-danger .input-group-addon{color:#d9534f;border-color:#d9534f;background-color:#fdf7f7}.has-danger .form-control-danger{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23d9534f' viewBox='-2 -2 7 7'%3E%3Cpath stroke='%23d9534f' d='M0 0l3 3m0-3L0 3'/%3E%3Ccircle r='.5'/%3E%3Ccircle cx='3' r='.5'/%3E%3Ccircle cy='3' r='.5'/%3E%3Ccircle cx='3' cy='3' r='.5'/%3E%3C/svg%3E")}.form-inline{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.form-inline .form-check{width:100%}@media (min-width:576px){.form-inline label{-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.form-inline .form-group,.form-inline label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;align-items:center;margin-bottom:0}.form-inline .form-group{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-align:center}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{width:auto}.form-inline .form-control-label{margin-bottom:0;vertical-align:middle}.form-inline .form-check{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:auto;margin-top:0;margin-bottom:0}.form-inline .form-check-label{padding-left:0}.form-inline .form-check-input{position:relative;margin-top:0;margin-right:.25rem;margin-left:0}.form-inline .custom-control{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-left:0}.form-inline .custom-control-indicator{position:static;display:inline-block;margin-right:.25rem;vertical-align:text-bottom}.form-inline .has-feedback .form-control-feedback{top:0}}.btn{display:inline-block;font-weight:400;line-height:1.25;text-align:center;white-space:nowrap;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid transparent;padding:.5rem 1rem;font-size:1rem;border-radius:.25rem;transition:all .2s ease-in-out}.btn:focus,.btn:hover{text-decoration:none}.btn.focus,.btn:focus{outline:0;box-shadow:0 0 0 2px rgba(2,117,216,.25)}.btn.disabled,.btn:disabled{cursor:not-allowed;opacity:.65}.btn.active,.btn:active{background-image:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-primary{color:#fff;background-color:#0275d8;border-color:#0275d8}.btn-primary:hover{color:#fff;background-color:#025aa5;border-color:#01549b}.btn-primary.focus,.btn-primary:focus{box-shadow:0 0 0 2px rgba(2,117,216,.5)}.btn-primary.disabled,.btn-primary:disabled{background-color:#0275d8;border-color:#0275d8}.btn-primary.active,.btn-primary:active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#025aa5;background-image:none;border-color:#01549b}.btn-secondary{color:#292b2c;background-color:#fff;border-color:#ccc}.btn-secondary:hover{color:#292b2c;background-color:#e6e6e6;border-color:#adadad}.btn-secondary.focus,.btn-secondary:focus{box-shadow:0 0 0 2px hsla(0,0%,80%,.5)}.btn-secondary.disabled,.btn-secondary:disabled{background-color:#fff;border-color:#ccc}.btn-secondary.active,.btn-secondary:active,.show>.btn-secondary.dropdown-toggle{color:#292b2c;background-color:#e6e6e6;background-image:none;border-color:#adadad}.btn-info{color:#fff;background-color:#5bc0de;border-color:#5bc0de}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#2aabd2}.btn-info.focus,.btn-info:focus{box-shadow:0 0 0 2px rgba(91,192,222,.5)}.btn-info.disabled,.btn-info:disabled{background-color:#5bc0de;border-color:#5bc0de}.btn-info.active,.btn-info:active,.show>.btn-info.dropdown-toggle{color:#fff;background-color:#31b0d5;background-image:none;border-color:#2aabd2}.btn-success{color:#fff;background-color:#5cb85c;border-color:#5cb85c}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#419641}.btn-success.focus,.btn-success:focus{box-shadow:0 0 0 2px rgba(92,184,92,.5)}.btn-success.disabled,.btn-success:disabled{background-color:#5cb85c;border-color:#5cb85c}.btn-success.active,.btn-success:active,.show>.btn-success.dropdown-toggle{color:#fff;background-color:#449d44;background-image:none;border-color:#419641}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#f0ad4e}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#eb9316}.btn-warning.focus,.btn-warning:focus{box-shadow:0 0 0 2px rgba(240,173,78,.5)}.btn-warning.disabled,.btn-warning:disabled{background-color:#f0ad4e;border-color:#f0ad4e}.btn-warning.active,.btn-warning:active,.show>.btn-warning.dropdown-toggle{color:#fff;background-color:#ec971f;background-image:none;border-color:#eb9316}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d9534f}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#c12e2a}.btn-danger.focus,.btn-danger:focus{box-shadow:0 0 0 2px rgba(217,83,79,.5)}.btn-danger.disabled,.btn-danger:disabled{background-color:#d9534f;border-color:#d9534f}.btn-danger.active,.btn-danger:active,.show>.btn-danger.dropdown-toggle{color:#fff;background-color:#c9302c;background-image:none;border-color:#c12e2a}.btn-outline-primary{color:#0275d8;background-image:none;background-color:transparent;border-color:#0275d8}.btn-outline-primary:hover{color:#fff;background-color:#0275d8;border-color:#0275d8}.btn-outline-primary.focus,.btn-outline-primary:focus{box-shadow:0 0 0 2px rgba(2,117,216,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#0275d8;background-color:transparent}.btn-outline-primary.active,.btn-outline-primary:active,.show>.btn-outline-primary.dropdown-toggle{color:#fff;background-color:#0275d8;border-color:#0275d8}.btn-outline-secondary{color:#ccc;background-image:none;background-color:transparent;border-color:#ccc}.btn-outline-secondary:hover{color:#fff;background-color:#ccc;border-color:#ccc}.btn-outline-secondary.focus,.btn-outline-secondary:focus{box-shadow:0 0 0 2px hsla(0,0%,80%,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#ccc;background-color:transparent}.btn-outline-secondary.active,.btn-outline-secondary:active,.show>.btn-outline-secondary.dropdown-toggle{color:#fff;background-color:#ccc;border-color:#ccc}.btn-outline-info{color:#5bc0de;background-image:none;background-color:transparent;border-color:#5bc0de}.btn-outline-info:hover{color:#fff;background-color:#5bc0de;border-color:#5bc0de}.btn-outline-info.focus,.btn-outline-info:focus{box-shadow:0 0 0 2px rgba(91,192,222,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#5bc0de;background-color:transparent}.btn-outline-info.active,.btn-outline-info:active,.show>.btn-outline-info.dropdown-toggle{color:#fff;background-color:#5bc0de;border-color:#5bc0de}.btn-outline-success{color:#5cb85c;background-image:none;background-color:transparent;border-color:#5cb85c}.btn-outline-success:hover{color:#fff;background-color:#5cb85c;border-color:#5cb85c}.btn-outline-success.focus,.btn-outline-success:focus{box-shadow:0 0 0 2px rgba(92,184,92,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#5cb85c;background-color:transparent}.btn-outline-success.active,.btn-outline-success:active,.show>.btn-outline-success.dropdown-toggle{color:#fff;background-color:#5cb85c;border-color:#5cb85c}.btn-outline-warning{color:#f0ad4e;background-image:none;background-color:transparent;border-color:#f0ad4e}.btn-outline-warning:hover{color:#fff;background-color:#f0ad4e;border-color:#f0ad4e}.btn-outline-warning.focus,.btn-outline-warning:focus{box-shadow:0 0 0 2px rgba(240,173,78,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#f0ad4e;background-color:transparent}.btn-outline-warning.active,.btn-outline-warning:active,.show>.btn-outline-warning.dropdown-toggle{color:#fff;background-color:#f0ad4e;border-color:#f0ad4e}.btn-outline-danger{color:#d9534f;background-image:none;background-color:transparent;border-color:#d9534f}.btn-outline-danger:hover{color:#fff;background-color:#d9534f;border-color:#d9534f}.btn-outline-danger.focus,.btn-outline-danger:focus{box-shadow:0 0 0 2px rgba(217,83,79,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#d9534f;background-color:transparent}.btn-outline-danger.active,.btn-outline-danger:active,.show>.btn-outline-danger.dropdown-toggle{color:#fff;background-color:#d9534f;border-color:#d9534f}.btn-link{font-weight:400;color:#0275d8;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link:disabled{background-color:transparent}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#014c8c;text-decoration:underline;background-color:transparent}.btn-link:disabled{color:#636c72}.btn-link:disabled:focus,.btn-link:disabled:hover{text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:.75rem 1.5rem;font-size:1.25rem;border-radius:.3rem}.btn-group-sm>.btn,.btn-sm{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;transition:opacity .15s linear}.fade.show{opacity:1}.collapse{display:none}.collapse.show{display:block}tr.collapse.show{display:table-row}tbody.collapse.show{display:table-row-group}.collapsing{height:0;overflow:hidden;transition:height .35s ease}.collapsing,.dropdown,.dropup{position:relative}.dropdown-toggle:after{display:inline-block;width:0;height:0;margin-left:.3em;vertical-align:middle;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-left:.3em solid transparent}.dropdown-toggle:focus{outline:0}.dropup .dropdown-toggle:after{border-top:0;border-bottom:.3em solid}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:10rem;padding:.5rem 0;margin:.125rem 0 0;font-size:1rem;color:#292b2c;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropdown-divider{height:1px;margin:.5rem 0;overflow:hidden;background-color:#eceeef}.dropdown-item{display:block;width:100%;padding:3px 1.5rem;clear:both;font-weight:400;color:#292b2c;text-align:inherit;white-space:nowrap;background:none;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#1d1e1f;text-decoration:none;background-color:#f7f7f9}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#0275d8}.dropdown-item.disabled,.dropdown-item:disabled{color:#636c72;cursor:not-allowed;background-color:transparent}.show>.dropdown-menu{display:block}.show>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:.5rem 1.5rem;margin-bottom:0;font-size:.875rem;color:#636c72;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.dropup .dropdown-menu{top:auto;bottom:100%;margin-bottom:.125rem}.btn-group,.btn-group-vertical{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group-vertical .btn+.btn,.btn-group-vertical .btn+.btn-group,.btn-group-vertical .btn-group+.btn,.btn-group-vertical .btn-group+.btn-group,.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn+.dropdown-toggle-split:after{margin-left:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:1.125rem;padding-left:1.125rem}.btn-group-vertical{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.btn-group-vertical .btn,.btn-group-vertical .btn-group{width:100%}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio],[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.input-group .form-control{position:relative;z-index:2;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:1%;margin-bottom:0}.input-group .form-control:active,.input-group .form-control:focus,.input-group .form-control:hover{z-index:3}.input-group-addon,.input-group-btn,.input-group .form-control{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{white-space:nowrap;vertical-align:middle}.input-group-addon{padding:.5rem .75rem;margin-bottom:0;font-size:1rem;font-weight:400;line-height:1.25;color:#464a4c;text-align:center;background-color:#eceeef;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.input-group-addon.form-control-sm,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.input-group-addon.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.input-group-addon.form-control-lg,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.input-group-addon.btn{padding:.75rem 1.5rem;font-size:1.25rem;border-radius:.3rem}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group-addon:not(:last-child),.input-group-btn:not(:first-child)>.btn-group:not(:last-child)>.btn,.input-group-btn:not(:first-child)>.btn:not(:last-child):not(.dropdown-toggle),.input-group-btn:not(:last-child)>.btn,.input-group-btn:not(:last-child)>.btn-group>.btn,.input-group-btn:not(:last-child)>.dropdown-toggle,.input-group .form-control:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:not(:last-child){border-right:0}.input-group-addon:not(:first-child),.input-group-btn:not(:first-child)>.btn,.input-group-btn:not(:first-child)>.btn-group>.btn,.input-group-btn:not(:first-child)>.dropdown-toggle,.input-group-btn:not(:last-child)>.btn-group:not(:first-child)>.btn,.input-group-btn:not(:last-child)>.btn:not(:first-child),.input-group .form-control:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.form-control+.input-group-addon:not(:first-child){border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative;-webkit-box-flex:1;-ms-flex:1;flex:1}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:3}.input-group-btn:not(:last-child)>.btn,.input-group-btn:not(:last-child)>.btn-group{margin-right:-1px}.input-group-btn:not(:first-child)>.btn,.input-group-btn:not(:first-child)>.btn-group{z-index:2;margin-left:-1px}.input-group-btn:not(:first-child)>.btn-group:active,.input-group-btn:not(:first-child)>.btn-group:focus,.input-group-btn:not(:first-child)>.btn-group:hover,.input-group-btn:not(:first-child)>.btn:active,.input-group-btn:not(:first-child)>.btn:focus,.input-group-btn:not(:first-child)>.btn:hover{z-index:3}.custom-control{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;min-height:1.5rem;padding-left:1.5rem;margin-right:1rem;cursor:pointer}.custom-control-input{position:absolute;z-index:-1;opacity:0}.custom-control-input:checked~.custom-control-indicator{color:#fff;background-color:#0275d8}.custom-control-input:focus~.custom-control-indicator{box-shadow:0 0 0 1px #fff,0 0 0 3px #0275d8}.custom-control-input:active~.custom-control-indicator{color:#fff;background-color:#8fcafe}.custom-control-input:disabled~.custom-control-indicator{cursor:not-allowed;background-color:#eceeef}.custom-control-input:disabled~.custom-control-description{color:#636c72;cursor:not-allowed}.custom-control-indicator{position:absolute;top:.25rem;left:0;display:block;width:1rem;height:1rem;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#ddd;background-repeat:no-repeat;background-position:50%;background-size:50% 50%}.custom-checkbox .custom-control-indicator{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-indicator{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E")}.custom-checkbox .custom-control-input:indeterminate~.custom-control-indicator{background-color:#0275d8;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='%23fff' d='M0 2h4'/%3E%3C/svg%3E")}.custom-radio .custom-control-indicator{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-indicator{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E")}.custom-controls-stacked{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.custom-controls-stacked .custom-control{margin-bottom:.25rem}.custom-controls-stacked .custom-control+.custom-control{margin-left:0}.custom-select{display:inline-block;max-width:100%;height:calc(2.25rem + 2px);padding:.375rem 1.75rem .375rem .75rem;line-height:1.25;color:#464a4c;vertical-align:middle;background:#fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right .75rem center;background-size:8px 10px;border:1px solid rgba(0,0,0,.15);border-radius:.25rem;-moz-appearance:none;-webkit-appearance:none}.custom-select:focus{border-color:#5cb3fd;outline:none}.custom-select:focus::-ms-value{color:#464a4c;background-color:#fff}.custom-select:disabled{color:#636c72;cursor:not-allowed;background-color:#eceeef}.custom-select::-ms-expand{opacity:0}.custom-select-sm{padding-top:.375rem;padding-bottom:.375rem;font-size:75%}.custom-file{position:relative;display:inline-block;max-width:100%;height:2.5rem;margin-bottom:0;cursor:pointer}.custom-file-input{min-width:14rem;max-width:100%;height:2.5rem;margin:0;filter:alpha(opacity=0);opacity:0}.custom-file-control{position:absolute;top:0;right:0;left:0;z-index:5;height:2.5rem;padding:.5rem 1rem;line-height:1.5;color:#464a4c;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fff;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.custom-file-control:lang(en):after{content:"Choose file..."}.custom-file-control:before{position:absolute;top:-1px;right:-1px;bottom:-1px;z-index:6;display:block;height:2.5rem;padding:.5rem 1rem;line-height:1.5;color:#464a4c;background-color:#eceeef;border:1px solid rgba(0,0,0,.15);border-radius:0 .25rem .25rem 0}.custom-file-control:lang(en):before{content:"Browse"}.nav{display:-webkit-box;display:-ms-flexbox;display:flex;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5em 1em}.nav-link:focus,.nav-link:hover{text-decoration:none}.nav-link.disabled{color:#636c72;cursor:not-allowed}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs .nav-item{margin-bottom:-1px}.nav-tabs .nav-link{border:1px solid transparent;border-top-right-radius:.25rem;border-top-left-radius:.25rem}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#eceeef #eceeef #ddd}.nav-tabs .nav-link.disabled{color:#636c72;background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#464a4c;background-color:#fff;border-color:#ddd #ddd #fff}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.nav-pills .nav-link{border-radius:.25rem}.nav-pills .nav-item.show .nav-link,.nav-pills .nav-link.active{color:#fff;cursor:default;background-color:#0275d8}.nav-fill .nav-item{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:center}.nav-justified .nav-item{-webkit-box-flex:1;-ms-flex:1 1 100%;flex:1 1 100%;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:.5rem 1rem}.navbar-brand{display:inline-block;padding-top:.25rem;padding-bottom:.25rem;margin-right:1rem;font-size:1.25rem;line-height:inherit;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-nav{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-text{display:inline-block;padding-top:.425rem;padding-bottom:.425rem}.navbar-toggler{-ms-flex-item-align:start;align-self:flex-start;padding:.25rem .75rem;font-size:1.25rem;line-height:1;background:transparent;border:1px solid transparent;border-radius:.25rem}.navbar-toggler:focus,.navbar-toggler:hover{text-decoration:none}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;content:"";background:no-repeat 50%;background-size:100% 100%}.navbar-toggler-left{position:absolute;left:1rem}.navbar-toggler-right{position:absolute;right:1rem}@media (max-width:575px){.navbar-toggleable .navbar-nav .dropdown-menu{position:static;float:none}.navbar-toggleable>.container{padding-right:0;padding-left:0}}@media (min-width:576px){.navbar-toggleable{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggleable,.navbar-toggleable .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-toggleable .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-toggleable>.container{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggleable .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;width:100%}.navbar-toggleable .navbar-toggler{display:none}}@media (max-width:767px){.navbar-toggleable-sm .navbar-nav .dropdown-menu{position:static;float:none}.navbar-toggleable-sm>.container{padding-right:0;padding-left:0}}@media (min-width:768px){.navbar-toggleable-sm{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggleable-sm,.navbar-toggleable-sm .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-toggleable-sm .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-toggleable-sm>.container{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggleable-sm .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;width:100%}.navbar-toggleable-sm .navbar-toggler{display:none}}@media (max-width:991px){.navbar-toggleable-md .navbar-nav .dropdown-menu{position:static;float:none}.navbar-toggleable-md>.container{padding-right:0;padding-left:0}}@media (min-width:992px){.navbar-toggleable-md{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggleable-md,.navbar-toggleable-md .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-toggleable-md .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-toggleable-md>.container{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggleable-md .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;width:100%}.navbar-toggleable-md .navbar-toggler{display:none}}@media (max-width:1199px){.navbar-toggleable-lg .navbar-nav .dropdown-menu{position:static;float:none}.navbar-toggleable-lg>.container{padding-right:0;padding-left:0}}@media (min-width:1200px){.navbar-toggleable-lg{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggleable-lg,.navbar-toggleable-lg .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-toggleable-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-toggleable-lg>.container{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggleable-lg .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;width:100%}.navbar-toggleable-lg .navbar-toggler{display:none}}.navbar-toggleable-xl{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggleable-xl .navbar-nav .dropdown-menu{position:static;float:none}.navbar-toggleable-xl>.container{padding-right:0;padding-left:0}.navbar-toggleable-xl .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-toggleable-xl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-toggleable-xl>.container{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggleable-xl .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;width:100%}.navbar-toggleable-xl .navbar-toggler{display:none}.navbar-light .navbar-brand,.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover,.navbar-light .navbar-toggler,.navbar-light .navbar-toggler:focus,.navbar-light .navbar-toggler:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.5)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .nav-link.open,.navbar-light .navbar-nav .open>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{border-color:rgba(0,0,0,.1)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E")}.navbar-light .navbar-text{color:rgba(0,0,0,.5)}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-toggler,.navbar-inverse .navbar-toggler:focus,.navbar-inverse .navbar-toggler:hover{color:#fff}.navbar-inverse .navbar-nav .nav-link{color:hsla(0,0%,100%,.5)}.navbar-inverse .navbar-nav .nav-link:focus,.navbar-inverse .navbar-nav .nav-link:hover{color:hsla(0,0%,100%,.75)}.navbar-inverse .navbar-nav .nav-link.disabled{color:hsla(0,0%,100%,.25)}.navbar-inverse .navbar-nav .active>.nav-link,.navbar-inverse .navbar-nav .nav-link.active,.navbar-inverse .navbar-nav .nav-link.open,.navbar-inverse .navbar-nav .open>.nav-link{color:#fff}.navbar-inverse .navbar-toggler{border-color:hsla(0,0%,100%,.1)}.navbar-inverse .navbar-toggler-icon{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E")}.navbar-inverse .navbar-text{color:hsla(0,0%,100%,.5)}.card{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#fff;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card-block{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:1.25rem}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem}.card-subtitle,.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card>.list-group:first-child .list-group-item:first-child{border-top-right-radius:.25rem;border-top-left-radius:.25rem}.card>.list-group:last-child .list-group-item:last-child{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.card-header{padding:.75rem 1.25rem;margin-bottom:0;background-color:#f7f7f9;border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{padding:.75rem 1.25rem;background-color:#f7f7f9;border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-bottom:-.75rem;border-bottom:0}.card-header-pills,.card-header-tabs{margin-right:-.625rem;margin-left:-.625rem}.card-primary{background-color:#0275d8;border-color:#0275d8}.card-primary .card-footer,.card-primary .card-header{background-color:transparent}.card-success{background-color:#5cb85c;border-color:#5cb85c}.card-success .card-footer,.card-success .card-header{background-color:transparent}.card-info{background-color:#5bc0de;border-color:#5bc0de}.card-info .card-footer,.card-info .card-header{background-color:transparent}.card-warning{background-color:#f0ad4e;border-color:#f0ad4e}.card-warning .card-footer,.card-warning .card-header{background-color:transparent}.card-danger{background-color:#d9534f;border-color:#d9534f}.card-danger .card-footer,.card-danger .card-header,.card-outline-primary{background-color:transparent}.card-outline-primary{border-color:#0275d8}.card-outline-secondary{background-color:transparent;border-color:#ccc}.card-outline-info{background-color:transparent;border-color:#5bc0de}.card-outline-success{background-color:transparent;border-color:#5cb85c}.card-outline-warning{background-color:transparent;border-color:#f0ad4e}.card-outline-danger{background-color:transparent;border-color:#d9534f}.card-inverse{color:hsla(0,0%,100%,.65)}.card-inverse .card-footer,.card-inverse .card-header{background-color:transparent;border-color:hsla(0,0%,100%,.2)}.card-inverse .card-blockquote,.card-inverse .card-footer,.card-inverse .card-header,.card-inverse .card-title{color:#fff}.card-inverse .card-blockquote .blockquote-footer,.card-inverse .card-link,.card-inverse .card-subtitle,.card-inverse .card-text{color:hsla(0,0%,100%,.65)}.card-inverse .card-link:focus,.card-inverse .card-link:hover{color:#fff}.card-blockquote{padding:0;margin-bottom:0;border-left:0}.card-img{border-radius:calc(.25rem - 1px)}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1.25rem}.card-img-top{border-top-right-radius:calc(.25rem - 1px);border-top-left-radius:calc(.25rem - 1px)}.card-img-bottom{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}@media (min-width:576px){.card-deck{-webkit-box-orient:horizontal;-ms-flex-flow:row wrap;flex-flow:row wrap}.card-deck,.card-deck .card{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.card-deck .card{-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.card-deck .card:not(:first-child){margin-left:7.5px}.card-deck .card:not(:last-child){margin-right:7.5px}}@media (min-width:576px){.card-group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}.card-group .card{-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0}.card-group .card+.card{margin-left:0;border-left:0}.card-group .card:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.card-group .card:first-child .card-img-top{border-top-right-radius:0}.card-group .card:first-child .card-img-bottom{border-bottom-right-radius:0}.card-group .card:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.card-group .card:last-child .card-img-top{border-top-left-radius:0}.card-group .card:last-child .card-img-bottom{border-bottom-left-radius:0}.card-group .card:not(:first-child):not(:last-child),.card-group .card:not(:first-child):not(:last-child) .card-img-bottom,.card-group .card:not(:first-child):not(:last-child) .card-img-top{border-radius:0}}@media (min-width:576px){.card-columns{-webkit-column-count:3;column-count:3;-webkit-column-gap:1.25rem;column-gap:1.25rem}.card-columns .card{display:inline-block;width:100%;margin-bottom:.75rem}}.breadcrumb{padding:.75rem 1rem;margin-bottom:1rem;list-style:none;background-color:#eceeef;border-radius:.25rem}.breadcrumb:after{display:block;content:"";clear:both}.breadcrumb-item{float:left}.breadcrumb-item+.breadcrumb-item:before{display:inline-block;padding-right:.5rem;padding-left:.5rem;color:#636c72;content:"/"}.breadcrumb-item+.breadcrumb-item:hover:before{text-decoration:underline;text-decoration:none}.breadcrumb-item.active{color:#636c72}.pagination{display:-webkit-box;display:-ms-flexbox;display:flex;padding-left:0;list-style:none;border-radius:.25rem}.page-item:first-child .page-link{margin-left:0;border-bottom-left-radius:.25rem;border-top-left-radius:.25rem}.page-item:last-child .page-link{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.page-item.active .page-link{z-index:2;color:#fff;background-color:#0275d8;border-color:#0275d8}.page-item.disabled .page-link{color:#636c72;pointer-events:none;cursor:not-allowed;background-color:#fff;border-color:#ddd}.page-link{position:relative;display:block;padding:.5rem .75rem;margin-left:-1px;line-height:1.25;color:#0275d8;background-color:#fff;border:1px solid #ddd}.page-link:focus,.page-link:hover{color:#014c8c;text-decoration:none;background-color:#eceeef;border-color:#ddd}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem}.pagination-lg .page-item:first-child .page-link{border-bottom-left-radius:.3rem;border-top-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-bottom-right-radius:.3rem;border-top-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem}.pagination-sm .page-item:first-child .page-link{border-bottom-left-radius:.2rem;border-top-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-bottom-right-radius:.2rem;border-top-right-radius:.2rem}.badge{display:inline-block;padding:.25em .4em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.badge-pill{padding-right:.6em;padding-left:.6em;border-radius:10rem}.badge-default{background-color:#636c72}.badge-default[href]:focus,.badge-default[href]:hover{background-color:#4b5257}.badge-primary{background-color:#0275d8}.badge-primary[href]:focus,.badge-primary[href]:hover{background-color:#025aa5}.badge-success{background-color:#5cb85c}.badge-success[href]:focus,.badge-success[href]:hover{background-color:#449d44}.badge-info{background-color:#5bc0de}.badge-info[href]:focus,.badge-info[href]:hover{background-color:#31b0d5}.badge-warning{background-color:#f0ad4e}.badge-warning[href]:focus,.badge-warning[href]:hover{background-color:#ec971f}.badge-danger{background-color:#d9534f}.badge-danger[href]:focus,.badge-danger[href]:hover{background-color:#c9302c}.jumbotron{padding:2rem 1rem;margin-bottom:2rem;background-color:#eceeef;border-radius:.3rem}@media (min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-hr{border-top-color:#d0d5d8}.jumbotron-fluid{padding-right:0;padding-left:0;border-radius:0}.alert{padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible .close{position:relative;top:-.75rem;right:-1.25rem;padding:.75rem 1.25rem;color:inherit}.alert-success{background-color:#5cb85c;border-color:#4cae4c;color:#fff}.alert-success hr{border-top-color:#449d44}.alert-success .alert-link{color:#e6e6e6}.alert-info{background-color:#5bc0de;border-color:#3db5d8;color:#fff}.alert-info hr{border-top-color:#2aabd2}.alert-info .alert-link{color:#e6e6e6}.alert-warning{background-color:#f0ad4e;border-color:#eea236;color:#fff}.alert-warning hr{border-top-color:#ec971f}.alert-warning .alert-link{color:#e6e6e6}.alert-danger{background-color:#d9534f;border-color:#d43f3a;color:#fff}.alert-danger hr{border-top-color:#c9302c}.alert-danger .alert-link{color:#e6e6e6}@-webkit-keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}@keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}.progress{display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden;font-size:.75rem;line-height:1rem;text-align:center;background-color:#eceeef;border-radius:.25rem}.progress-bar{height:1rem;color:#fff;background-color:#0275d8}.progress-bar-striped{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:progress-bar-stripes 1s linear infinite;animation:progress-bar-stripes 1s linear infinite}.media{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.media-body{-webkit-box-flex:1;-ms-flex:1;flex:1}.list-group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0}.list-group-item-action{width:100%;color:#464a4c;text-align:inherit}.list-group-item-action .list-group-item-heading{color:#292b2c}.list-group-item-action:focus,.list-group-item-action:hover{color:#464a4c;text-decoration:none;background-color:#f7f7f9}.list-group-item-action:active{color:#292b2c;background-color:#eceeef}.list-group-item{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.75rem 1.25rem;margin-bottom:-1px;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-right-radius:.25rem;border-top-left-radius:.25rem}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.list-group-item:focus,.list-group-item:hover{text-decoration:none}.list-group-item.disabled,.list-group-item:disabled{color:#636c72;cursor:not-allowed;background-color:#fff}.list-group-item.disabled .list-group-item-heading,.list-group-item:disabled .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item:disabled .list-group-item-text{color:#636c72}.list-group-item.active{z-index:2;color:#fff;background-color:#0275d8;border-color:#0275d8}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text{color:#daeeff}.list-group-flush .list-group-item{border-right:0;border-left:0;border-radius:0}.list-group-flush:first-child .list-group-item:first-child{border-top:0}.list-group-flush:last-child .list-group-item:last-child{border-bottom:0}.list-group-item-success{color:#fff;background-color:#5cb85c}a.list-group-item-success,button.list-group-item-success{color:#fff}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#fff;background-color:#4cae4c}a.list-group-item-success.active,button.list-group-item-success.active{color:#fff;background-color:#fff;border-color:#fff}.list-group-item-info{color:#fff;background-color:#5bc0de}a.list-group-item-info,button.list-group-item-info{color:#fff}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#fff;background-color:#46b8da}a.list-group-item-info.active,button.list-group-item-info.active{color:#fff;background-color:#fff;border-color:#fff}.list-group-item-warning{color:#fff;background-color:#f0ad4e}a.list-group-item-warning,button.list-group-item-warning{color:#fff}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#fff;background-color:#eea236}a.list-group-item-warning.active,button.list-group-item-warning.active{color:#fff;background-color:#fff;border-color:#fff}.list-group-item-danger{color:#fff;background-color:#d9534f}a.list-group-item-danger,button.list-group-item-danger{color:#fff}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#fff;background-color:#d43f3a}a.list-group-item-danger.active,button.list-group-item-danger.active{color:#fff;background-color:#fff;border-color:#fff}.embed-responsive{position:relative;display:block;width:100%;padding:0;overflow:hidden}.embed-responsive:before{display:block;content:""}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-21by9:before{padding-top:42.85714%}.embed-responsive-16by9:before{padding-top:56.25%}.embed-responsive-4by3:before{padding-top:75%}.embed-responsive-1by1:before{padding-top:100%}.close{float:right;font-size:1.5rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.5}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.75}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal,.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;outline:0}.modal.fade .modal-dialog{transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out;-webkit-transform:translateY(-25%);transform:translateY(-25%)}.modal.show .modal-dialog{-webkit-transform:translate(0);transform:translate(0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:15px;border-bottom:1px solid #eceeef}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:15px}.modal-footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding:15px;border-top:1px solid #eceeef}.modal-footer>:not(:first-child){margin-left:.25rem}.modal-footer>:not(:last-child){margin-right:.25rem}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:576px){.modal-dialog{max-width:500px;margin:30px auto}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg{max-width:800px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:Open Sans,-apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip.bs-tether-element-attached-bottom,.tooltip.tooltip-top{padding:5px 0;margin-top:-3px}.tooltip.bs-tether-element-attached-bottom .tooltip-inner:before,.tooltip.tooltip-top .tooltip-inner:before{bottom:0;left:50%;margin-left:-5px;content:"";border-width:5px 5px 0;border-top-color:#000}.tooltip.bs-tether-element-attached-left,.tooltip.tooltip-right{padding:0 5px;margin-left:3px}.tooltip.bs-tether-element-attached-left .tooltip-inner:before,.tooltip.tooltip-right .tooltip-inner:before{top:50%;left:0;margin-top:-5px;content:"";border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.bs-tether-element-attached-top,.tooltip.tooltip-bottom{padding:5px 0;margin-top:3px}.tooltip.bs-tether-element-attached-top .tooltip-inner:before,.tooltip.tooltip-bottom .tooltip-inner:before{top:0;left:50%;margin-left:-5px;content:"";border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bs-tether-element-attached-right,.tooltip.tooltip-left{padding:0 5px;margin-left:-3px}.tooltip.bs-tether-element-attached-right .tooltip-inner:before,.tooltip.tooltip-left .tooltip-inner:before{top:50%;right:0;margin-top:-5px;content:"";border-width:5px 0 5px 5px;border-left-color:#000}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.tooltip-inner:before{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.popover{position:absolute;top:0;left:0;z-index:1060;display:block;max-width:276px;padding:1px;font-family:Open Sans,-apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover.bs-tether-element-attached-bottom,.popover.popover-top{margin-top:-10px}.popover.bs-tether-element-attached-bottom:after,.popover.bs-tether-element-attached-bottom:before,.popover.popover-top:after,.popover.popover-top:before{left:50%;border-bottom-width:0}.popover.bs-tether-element-attached-bottom:before,.popover.popover-top:before{bottom:-11px;margin-left:-11px;border-top-color:rgba(0,0,0,.25)}.popover.bs-tether-element-attached-bottom:after,.popover.popover-top:after{bottom:-10px;margin-left:-10px;border-top-color:#fff}.popover.bs-tether-element-attached-left,.popover.popover-right{margin-left:10px}.popover.bs-tether-element-attached-left:after,.popover.bs-tether-element-attached-left:before,.popover.popover-right:after,.popover.popover-right:before{top:50%;border-left-width:0}.popover.bs-tether-element-attached-left:before,.popover.popover-right:before{left:-11px;margin-top:-11px;border-right-color:rgba(0,0,0,.25)}.popover.bs-tether-element-attached-left:after,.popover.popover-right:after{left:-10px;margin-top:-10px;border-right-color:#fff}.popover.bs-tether-element-attached-top,.popover.popover-bottom{margin-top:10px}.popover.bs-tether-element-attached-top:after,.popover.bs-tether-element-attached-top:before,.popover.popover-bottom:after,.popover.popover-bottom:before{left:50%;border-top-width:0}.popover.bs-tether-element-attached-top:before,.popover.popover-bottom:before{top:-11px;margin-left:-11px;border-bottom-color:rgba(0,0,0,.25)}.popover.bs-tether-element-attached-top:after,.popover.popover-bottom:after{top:-10px;margin-left:-10px;border-bottom-color:#f7f7f7}.popover.bs-tether-element-attached-top .popover-title:before,.popover.popover-bottom .popover-title:before{position:absolute;top:0;left:50%;display:block;width:20px;margin-left:-10px;content:"";border-bottom:1px solid #f7f7f7}.popover.bs-tether-element-attached-right,.popover.popover-left{margin-left:-10px}.popover.bs-tether-element-attached-right:after,.popover.bs-tether-element-attached-right:before,.popover.popover-left:after,.popover.popover-left:before{top:50%;border-right-width:0}.popover.bs-tether-element-attached-right:before,.popover.popover-left:before{right:-11px;margin-top:-11px;border-left-color:rgba(0,0,0,.25)}.popover.bs-tether-element-attached-right:after,.popover.popover-left:after{right:-10px;margin-top:-10px;border-left-color:#fff}.popover-title{padding:8px 14px;margin-bottom:0;font-size:1rem;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-top-right-radius:calc(.3rem - 1px);border-top-left-radius:calc(.3rem - 1px)}.popover-title:empty{display:none}.popover-content{padding:9px 14px}.popover:after,.popover:before{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover:before{content:"";border-width:11px}.popover:after{content:"";border-width:10px}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-item{position:relative;display:none;width:100%}@media (-webkit-transform-3d){.carousel-item{transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}}@supports ((-webkit-transform:translate3d(0,0,0)) or (transform:translate3d(0,0,0))){.carousel-item{transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:-webkit-box;display:-ms-flexbox;display:flex}.carousel-item-next,.carousel-item-prev{position:absolute;top:0}@media (-webkit-transform-3d){.carousel-item-next.carousel-item-left,.carousel-item-prev.carousel-item-right{-webkit-transform:translateZ(0);transform:translateZ(0)}.active.carousel-item-right,.carousel-item-next{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.active.carousel-item-left,.carousel-item-prev{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@supports ((-webkit-transform:translate3d(0,0,0)) or (transform:translate3d(0,0,0))){.carousel-item-next.carousel-item-left,.carousel-item-prev.carousel-item-right{-webkit-transform:translateZ(0);transform:translateZ(0)}.active.carousel-item-right,.carousel-item-next{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.active.carousel-item-left,.carousel-item-prev{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:15%;color:#fff;text-align:center;opacity:.5}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:20px;height:20px;background:transparent no-repeat 50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E")}.carousel-control-next-icon{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E")}.carousel-indicators{position:absolute;right:0;bottom:10px;left:0;z-index:15;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-left:0;margin-right:15%;margin-left:15%;list-style:none}.carousel-indicators li{position:relative;-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;max-width:30px;height:3px;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:hsla(0,0%,100%,.5)}.carousel-indicators li:before{top:-10px}.carousel-indicators li:after,.carousel-indicators li:before{position:absolute;left:0;display:inline-block;width:100%;height:10px;content:""}.carousel-indicators li:after{bottom:-10px}.carousel-indicators .active{background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-faded{background-color:#f7f7f7}.bg-primary{background-color:#0275d8!important}a.bg-primary:focus,a.bg-primary:hover{background-color:#025aa5!important}.bg-success{background-color:#5cb85c!important}a.bg-success:focus,a.bg-success:hover{background-color:#449d44!important}.bg-info{background-color:#5bc0de!important}a.bg-info:focus,a.bg-info:hover{background-color:#31b0d5!important}.bg-warning{background-color:#f0ad4e!important}a.bg-warning:focus,a.bg-warning:hover{background-color:#ec971f!important}.bg-danger{background-color:#d9534f!important}a.bg-danger:focus,a.bg-danger:hover{background-color:#c9302c!important}.bg-inverse{background-color:#292b2c!important}a.bg-inverse:focus,a.bg-inverse:hover{background-color:#101112!important}.border-0{border:0!important}.border-top-0{border-top:0!important}.border-right-0{border-right:0!important}.border-bottom-0{border-bottom:0!important}.border-left-0{border-left:0!important}.rounded{border-radius:.25rem}.rounded-top{border-top-left-radius:.25rem}.rounded-right,.rounded-top{border-top-right-radius:.25rem}.rounded-bottom,.rounded-right{border-bottom-right-radius:.25rem}.rounded-bottom,.rounded-left{border-bottom-left-radius:.25rem}.rounded-left{border-top-left-radius:.25rem}.rounded-circle{border-radius:50%}.rounded-0{border-radius:0}.clearfix:after{display:block;content:"";clear:both}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-cell{display:table-cell!important}.d-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}@media (min-width:576px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-sm-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:768px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-md-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:992px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-lg-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:1200px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-xl-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}}.flex-first{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.flex-last{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.flex-unordered{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.flex-row{-webkit-box-orient:horizontal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-column,.flex-row{-webkit-box-direction:normal!important}.flex-column{-webkit-box-orient:vertical!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-row-reverse{-webkit-box-orient:horizontal!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-column-reverse,.flex-row-reverse{-webkit-box-direction:reverse!important}.flex-column-reverse{-webkit-box-orient:vertical!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-auto{-ms-flex-item-align:auto!important;-ms-grid-row-align:auto!important;align-self:auto!important}.align-self-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-center{-ms-flex-item-align:center!important;-ms-grid-row-align:center!important;align-self:center!important}.align-self-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-stretch{-ms-flex-item-align:stretch!important;-ms-grid-row-align:stretch!important;align-self:stretch!important}@media (min-width:576px){.flex-sm-first{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.flex-sm-last{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.flex-sm-unordered{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.flex-sm-row{-webkit-box-orient:horizontal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-sm-column,.flex-sm-row{-webkit-box-direction:normal!important}.flex-sm-column{-webkit-box-orient:vertical!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-sm-row-reverse{-webkit-box-orient:horizontal!important;-webkit-box-direction:reverse!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-sm-column-reverse{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-sm-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-sm-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-sm-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-sm-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-sm-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-sm-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-sm-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-sm-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-sm-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-sm-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-sm-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-sm-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-sm-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-sm-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-sm-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-sm-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-sm-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-sm-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-sm-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-sm-auto{-ms-flex-item-align:auto!important;-ms-grid-row-align:auto!important;align-self:auto!important}.align-self-sm-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-sm-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-sm-center{-ms-flex-item-align:center!important;-ms-grid-row-align:center!important;align-self:center!important}.align-self-sm-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-sm-stretch{-ms-flex-item-align:stretch!important;-ms-grid-row-align:stretch!important;align-self:stretch!important}}@media (min-width:768px){.flex-md-first{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.flex-md-last{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.flex-md-unordered{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.flex-md-row{-webkit-box-orient:horizontal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-md-column,.flex-md-row{-webkit-box-direction:normal!important}.flex-md-column{-webkit-box-orient:vertical!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-md-row-reverse{-webkit-box-orient:horizontal!important;-webkit-box-direction:reverse!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-md-column-reverse{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-md-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-md-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-md-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-md-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-md-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-md-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-md-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-md-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-md-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-md-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-md-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-md-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-md-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-md-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-md-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-md-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-md-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-md-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-md-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-md-auto{-ms-flex-item-align:auto!important;-ms-grid-row-align:auto!important;align-self:auto!important}.align-self-md-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-md-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-md-center{-ms-flex-item-align:center!important;-ms-grid-row-align:center!important;align-self:center!important}.align-self-md-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-md-stretch{-ms-flex-item-align:stretch!important;-ms-grid-row-align:stretch!important;align-self:stretch!important}}@media (min-width:992px){.flex-lg-first{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.flex-lg-last{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.flex-lg-unordered{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.flex-lg-row{-webkit-box-orient:horizontal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-lg-column,.flex-lg-row{-webkit-box-direction:normal!important}.flex-lg-column{-webkit-box-orient:vertical!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-lg-row-reverse{-webkit-box-orient:horizontal!important;-webkit-box-direction:reverse!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-lg-column-reverse{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-lg-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-lg-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-lg-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-lg-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-lg-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-lg-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-lg-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-lg-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-lg-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-lg-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-lg-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-lg-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-lg-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-lg-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-lg-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-lg-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-lg-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-lg-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-lg-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-lg-auto{-ms-flex-item-align:auto!important;-ms-grid-row-align:auto!important;align-self:auto!important}.align-self-lg-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-lg-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-lg-center{-ms-flex-item-align:center!important;-ms-grid-row-align:center!important;align-self:center!important}.align-self-lg-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-lg-stretch{-ms-flex-item-align:stretch!important;-ms-grid-row-align:stretch!important;align-self:stretch!important}}@media (min-width:1200px){.flex-xl-first{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.flex-xl-last{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.flex-xl-unordered{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.flex-xl-row{-webkit-box-orient:horizontal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-xl-column,.flex-xl-row{-webkit-box-direction:normal!important}.flex-xl-column{-webkit-box-orient:vertical!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-xl-row-reverse{-webkit-box-orient:horizontal!important;-webkit-box-direction:reverse!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-xl-column-reverse{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-xl-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-xl-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-xl-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-xl-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-xl-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-xl-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-xl-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-xl-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-xl-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-xl-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-xl-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-xl-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-xl-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-xl-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-xl-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-xl-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-xl-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-xl-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-xl-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-xl-auto{-ms-flex-item-align:auto!important;-ms-grid-row-align:auto!important;align-self:auto!important}.align-self-xl-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-xl-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-xl-center{-ms-flex-item-align:center!important;-ms-grid-row-align:center!important;align-self:center!important}.align-self-xl-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-xl-stretch{-ms-flex-item-align:stretch!important;-ms-grid-row-align:stretch!important;align-self:stretch!important}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media (min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media (min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media (min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media (min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.fixed-top{top:0}.fixed-bottom,.fixed-top{position:fixed;right:0;left:0;z-index:1030}.fixed-bottom{bottom:0}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1030}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.mw-100{max-width:100%!important}.mh-100{max-height:100%!important}.m-0{margin:0!important}.mt-0{margin-top:0!important}.mr-0{margin-right:0!important}.mb-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.mx-0{margin-right:0!important}.my-0{margin-top:0!important;margin-bottom:0!important}.m-1{margin:.25rem!important}.mt-1{margin-top:.25rem!important}.mr-1{margin-right:.25rem!important}.mb-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.mx-1{margin-right:.25rem!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.m-2{margin:.5rem!important}.mt-2{margin-top:.5rem!important}.mr-2{margin-right:.5rem!important}.mb-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.mx-2{margin-right:.5rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.m-3{margin:1rem!important}.mt-3{margin-top:1rem!important}.mr-3{margin-right:1rem!important}.mb-3{margin-bottom:1rem!important}.ml-3,.mx-3{margin-left:1rem!important}.mx-3{margin-right:1rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.m-4{margin:1.5rem!important}.mt-4{margin-top:1.5rem!important}.mr-4{margin-right:1.5rem!important}.mb-4{margin-bottom:1.5rem!important}.ml-4,.mx-4{margin-left:1.5rem!important}.mx-4{margin-right:1.5rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.m-5{margin:3rem!important}.mt-5{margin-top:3rem!important}.mr-5{margin-right:3rem!important}.mb-5{margin-bottom:3rem!important}.ml-5,.mx-5{margin-left:3rem!important}.mx-5{margin-right:3rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.p-0{padding:0!important}.pt-0{padding-top:0!important}.pr-0{padding-right:0!important}.pb-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.px-0{padding-right:0!important}.py-0{padding-top:0!important;padding-bottom:0!important}.p-1{padding:.25rem!important}.pt-1{padding-top:.25rem!important}.pr-1{padding-right:.25rem!important}.pb-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.px-1{padding-right:.25rem!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.p-2{padding:.5rem!important}.pt-2{padding-top:.5rem!important}.pr-2{padding-right:.5rem!important}.pb-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.px-2{padding-right:.5rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.p-3{padding:1rem!important}.pt-3{padding-top:1rem!important}.pr-3{padding-right:1rem!important}.pb-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.px-3{padding-right:1rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.p-4{padding:1.5rem!important}.pt-4{padding-top:1.5rem!important}.pr-4{padding-right:1.5rem!important}.pb-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5rem!important}.px-4{padding-right:1.5rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.p-5{padding:3rem!important}.pt-5{padding-top:3rem!important}.pr-5{padding-right:3rem!important}.pb-5{padding-bottom:3rem!important}.pl-5,.px-5{padding-left:3rem!important}.px-5{padding-right:3rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.m-auto{margin:auto!important}.mt-auto{margin-top:auto!important}.mr-auto{margin-right:auto!important}.mb-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}.mx-auto{margin-right:auto!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}@media (min-width:576px){.m-sm-0{margin:0!important}.mt-sm-0{margin-top:0!important}.mr-sm-0{margin-right:0!important}.mb-sm-0{margin-bottom:0!important}.ml-sm-0,.mx-sm-0{margin-left:0!important}.mx-sm-0{margin-right:0!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.m-sm-1{margin:.25rem!important}.mt-sm-1{margin-top:.25rem!important}.mr-sm-1{margin-right:.25rem!important}.mb-sm-1{margin-bottom:.25rem!important}.ml-sm-1,.mx-sm-1{margin-left:.25rem!important}.mx-sm-1{margin-right:.25rem!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.m-sm-2{margin:.5rem!important}.mt-sm-2{margin-top:.5rem!important}.mr-sm-2{margin-right:.5rem!important}.mb-sm-2{margin-bottom:.5rem!important}.ml-sm-2,.mx-sm-2{margin-left:.5rem!important}.mx-sm-2{margin-right:.5rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.m-sm-3{margin:1rem!important}.mt-sm-3{margin-top:1rem!important}.mr-sm-3{margin-right:1rem!important}.mb-sm-3{margin-bottom:1rem!important}.ml-sm-3,.mx-sm-3{margin-left:1rem!important}.mx-sm-3{margin-right:1rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.m-sm-4{margin:1.5rem!important}.mt-sm-4{margin-top:1.5rem!important}.mr-sm-4{margin-right:1.5rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.ml-sm-4,.mx-sm-4{margin-left:1.5rem!important}.mx-sm-4{margin-right:1.5rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.m-sm-5{margin:3rem!important}.mt-sm-5{margin-top:3rem!important}.mr-sm-5{margin-right:3rem!important}.mb-sm-5{margin-bottom:3rem!important}.ml-sm-5,.mx-sm-5{margin-left:3rem!important}.mx-sm-5{margin-right:3rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.p-sm-0{padding:0!important}.pt-sm-0{padding-top:0!important}.pr-sm-0{padding-right:0!important}.pb-sm-0{padding-bottom:0!important}.pl-sm-0,.px-sm-0{padding-left:0!important}.px-sm-0{padding-right:0!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.p-sm-1{padding:.25rem!important}.pt-sm-1{padding-top:.25rem!important}.pr-sm-1{padding-right:.25rem!important}.pb-sm-1{padding-bottom:.25rem!important}.pl-sm-1,.px-sm-1{padding-left:.25rem!important}.px-sm-1{padding-right:.25rem!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.p-sm-2{padding:.5rem!important}.pt-sm-2{padding-top:.5rem!important}.pr-sm-2{padding-right:.5rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pl-sm-2,.px-sm-2{padding-left:.5rem!important}.px-sm-2{padding-right:.5rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.p-sm-3{padding:1rem!important}.pt-sm-3{padding-top:1rem!important}.pr-sm-3{padding-right:1rem!important}.pb-sm-3{padding-bottom:1rem!important}.pl-sm-3,.px-sm-3{padding-left:1rem!important}.px-sm-3{padding-right:1rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.p-sm-4{padding:1.5rem!important}.pt-sm-4{padding-top:1.5rem!important}.pr-sm-4{padding-right:1.5rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pl-sm-4,.px-sm-4{padding-left:1.5rem!important}.px-sm-4{padding-right:1.5rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.p-sm-5{padding:3rem!important}.pt-sm-5{padding-top:3rem!important}.pr-sm-5{padding-right:3rem!important}.pb-sm-5{padding-bottom:3rem!important}.pl-sm-5,.px-sm-5{padding-left:3rem!important}.px-sm-5{padding-right:3rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.m-sm-auto{margin:auto!important}.mt-sm-auto{margin-top:auto!important}.mr-sm-auto{margin-right:auto!important}.mb-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}.mx-sm-auto{margin-right:auto!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}}@media (min-width:768px){.m-md-0{margin:0!important}.mt-md-0{margin-top:0!important}.mr-md-0{margin-right:0!important}.mb-md-0{margin-bottom:0!important}.ml-md-0,.mx-md-0{margin-left:0!important}.mx-md-0{margin-right:0!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.m-md-1{margin:.25rem!important}.mt-md-1{margin-top:.25rem!important}.mr-md-1{margin-right:.25rem!important}.mb-md-1{margin-bottom:.25rem!important}.ml-md-1,.mx-md-1{margin-left:.25rem!important}.mx-md-1{margin-right:.25rem!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.m-md-2{margin:.5rem!important}.mt-md-2{margin-top:.5rem!important}.mr-md-2{margin-right:.5rem!important}.mb-md-2{margin-bottom:.5rem!important}.ml-md-2,.mx-md-2{margin-left:.5rem!important}.mx-md-2{margin-right:.5rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.m-md-3{margin:1rem!important}.mt-md-3{margin-top:1rem!important}.mr-md-3{margin-right:1rem!important}.mb-md-3{margin-bottom:1rem!important}.ml-md-3,.mx-md-3{margin-left:1rem!important}.mx-md-3{margin-right:1rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.m-md-4{margin:1.5rem!important}.mt-md-4{margin-top:1.5rem!important}.mr-md-4{margin-right:1.5rem!important}.mb-md-4{margin-bottom:1.5rem!important}.ml-md-4,.mx-md-4{margin-left:1.5rem!important}.mx-md-4{margin-right:1.5rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.m-md-5{margin:3rem!important}.mt-md-5{margin-top:3rem!important}.mr-md-5{margin-right:3rem!important}.mb-md-5{margin-bottom:3rem!important}.ml-md-5,.mx-md-5{margin-left:3rem!important}.mx-md-5{margin-right:3rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.p-md-0{padding:0!important}.pt-md-0{padding-top:0!important}.pr-md-0{padding-right:0!important}.pb-md-0{padding-bottom:0!important}.pl-md-0,.px-md-0{padding-left:0!important}.px-md-0{padding-right:0!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.p-md-1{padding:.25rem!important}.pt-md-1{padding-top:.25rem!important}.pr-md-1{padding-right:.25rem!important}.pb-md-1{padding-bottom:.25rem!important}.pl-md-1,.px-md-1{padding-left:.25rem!important}.px-md-1{padding-right:.25rem!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.p-md-2{padding:.5rem!important}.pt-md-2{padding-top:.5rem!important}.pr-md-2{padding-right:.5rem!important}.pb-md-2{padding-bottom:.5rem!important}.pl-md-2,.px-md-2{padding-left:.5rem!important}.px-md-2{padding-right:.5rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.p-md-3{padding:1rem!important}.pt-md-3{padding-top:1rem!important}.pr-md-3{padding-right:1rem!important}.pb-md-3{padding-bottom:1rem!important}.pl-md-3,.px-md-3{padding-left:1rem!important}.px-md-3{padding-right:1rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.p-md-4{padding:1.5rem!important}.pt-md-4{padding-top:1.5rem!important}.pr-md-4{padding-right:1.5rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pl-md-4,.px-md-4{padding-left:1.5rem!important}.px-md-4{padding-right:1.5rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.p-md-5{padding:3rem!important}.pt-md-5{padding-top:3rem!important}.pr-md-5{padding-right:3rem!important}.pb-md-5{padding-bottom:3rem!important}.pl-md-5,.px-md-5{padding-left:3rem!important}.px-md-5{padding-right:3rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.m-md-auto{margin:auto!important}.mt-md-auto{margin-top:auto!important}.mr-md-auto{margin-right:auto!important}.mb-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}.mx-md-auto{margin-right:auto!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}}@media (min-width:992px){.m-lg-0{margin:0!important}.mt-lg-0{margin-top:0!important}.mr-lg-0{margin-right:0!important}.mb-lg-0{margin-bottom:0!important}.ml-lg-0,.mx-lg-0{margin-left:0!important}.mx-lg-0{margin-right:0!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.m-lg-1{margin:.25rem!important}.mt-lg-1{margin-top:.25rem!important}.mr-lg-1{margin-right:.25rem!important}.mb-lg-1{margin-bottom:.25rem!important}.ml-lg-1,.mx-lg-1{margin-left:.25rem!important}.mx-lg-1{margin-right:.25rem!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.m-lg-2{margin:.5rem!important}.mt-lg-2{margin-top:.5rem!important}.mr-lg-2{margin-right:.5rem!important}.mb-lg-2{margin-bottom:.5rem!important}.ml-lg-2,.mx-lg-2{margin-left:.5rem!important}.mx-lg-2{margin-right:.5rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.m-lg-3{margin:1rem!important}.mt-lg-3{margin-top:1rem!important}.mr-lg-3{margin-right:1rem!important}.mb-lg-3{margin-bottom:1rem!important}.ml-lg-3,.mx-lg-3{margin-left:1rem!important}.mx-lg-3{margin-right:1rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.m-lg-4{margin:1.5rem!important}.mt-lg-4{margin-top:1.5rem!important}.mr-lg-4{margin-right:1.5rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.ml-lg-4,.mx-lg-4{margin-left:1.5rem!important}.mx-lg-4{margin-right:1.5rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.m-lg-5{margin:3rem!important}.mt-lg-5{margin-top:3rem!important}.mr-lg-5{margin-right:3rem!important}.mb-lg-5{margin-bottom:3rem!important}.ml-lg-5,.mx-lg-5{margin-left:3rem!important}.mx-lg-5{margin-right:3rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.p-lg-0{padding:0!important}.pt-lg-0{padding-top:0!important}.pr-lg-0{padding-right:0!important}.pb-lg-0{padding-bottom:0!important}.pl-lg-0,.px-lg-0{padding-left:0!important}.px-lg-0{padding-right:0!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.p-lg-1{padding:.25rem!important}.pt-lg-1{padding-top:.25rem!important}.pr-lg-1{padding-right:.25rem!important}.pb-lg-1{padding-bottom:.25rem!important}.pl-lg-1,.px-lg-1{padding-left:.25rem!important}.px-lg-1{padding-right:.25rem!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.p-lg-2{padding:.5rem!important}.pt-lg-2{padding-top:.5rem!important}.pr-lg-2{padding-right:.5rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pl-lg-2,.px-lg-2{padding-left:.5rem!important}.px-lg-2{padding-right:.5rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.p-lg-3{padding:1rem!important}.pt-lg-3{padding-top:1rem!important}.pr-lg-3{padding-right:1rem!important}.pb-lg-3{padding-bottom:1rem!important}.pl-lg-3,.px-lg-3{padding-left:1rem!important}.px-lg-3{padding-right:1rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.p-lg-4{padding:1.5rem!important}.pt-lg-4{padding-top:1.5rem!important}.pr-lg-4{padding-right:1.5rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pl-lg-4,.px-lg-4{padding-left:1.5rem!important}.px-lg-4{padding-right:1.5rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.p-lg-5{padding:3rem!important}.pt-lg-5{padding-top:3rem!important}.pr-lg-5{padding-right:3rem!important}.pb-lg-5{padding-bottom:3rem!important}.pl-lg-5,.px-lg-5{padding-left:3rem!important}.px-lg-5{padding-right:3rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.m-lg-auto{margin:auto!important}.mt-lg-auto{margin-top:auto!important}.mr-lg-auto{margin-right:auto!important}.mb-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}.mx-lg-auto{margin-right:auto!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}}@media (min-width:1200px){.m-xl-0{margin:0!important}.mt-xl-0{margin-top:0!important}.mr-xl-0{margin-right:0!important}.mb-xl-0{margin-bottom:0!important}.ml-xl-0,.mx-xl-0{margin-left:0!important}.mx-xl-0{margin-right:0!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.m-xl-1{margin:.25rem!important}.mt-xl-1{margin-top:.25rem!important}.mr-xl-1{margin-right:.25rem!important}.mb-xl-1{margin-bottom:.25rem!important}.ml-xl-1,.mx-xl-1{margin-left:.25rem!important}.mx-xl-1{margin-right:.25rem!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.m-xl-2{margin:.5rem!important}.mt-xl-2{margin-top:.5rem!important}.mr-xl-2{margin-right:.5rem!important}.mb-xl-2{margin-bottom:.5rem!important}.ml-xl-2,.mx-xl-2{margin-left:.5rem!important}.mx-xl-2{margin-right:.5rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.m-xl-3{margin:1rem!important}.mt-xl-3{margin-top:1rem!important}.mr-xl-3{margin-right:1rem!important}.mb-xl-3{margin-bottom:1rem!important}.ml-xl-3,.mx-xl-3{margin-left:1rem!important}.mx-xl-3{margin-right:1rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.m-xl-4{margin:1.5rem!important}.mt-xl-4{margin-top:1.5rem!important}.mr-xl-4{margin-right:1.5rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.ml-xl-4,.mx-xl-4{margin-left:1.5rem!important}.mx-xl-4{margin-right:1.5rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.m-xl-5{margin:3rem!important}.mt-xl-5{margin-top:3rem!important}.mr-xl-5{margin-right:3rem!important}.mb-xl-5{margin-bottom:3rem!important}.ml-xl-5,.mx-xl-5{margin-left:3rem!important}.mx-xl-5{margin-right:3rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.p-xl-0{padding:0!important}.pt-xl-0{padding-top:0!important}.pr-xl-0{padding-right:0!important}.pb-xl-0{padding-bottom:0!important}.pl-xl-0,.px-xl-0{padding-left:0!important}.px-xl-0{padding-right:0!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.p-xl-1{padding:.25rem!important}.pt-xl-1{padding-top:.25rem!important}.pr-xl-1{padding-right:.25rem!important}.pb-xl-1{padding-bottom:.25rem!important}.pl-xl-1,.px-xl-1{padding-left:.25rem!important}.px-xl-1{padding-right:.25rem!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.p-xl-2{padding:.5rem!important}.pt-xl-2{padding-top:.5rem!important}.pr-xl-2{padding-right:.5rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pl-xl-2,.px-xl-2{padding-left:.5rem!important}.px-xl-2{padding-right:.5rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.p-xl-3{padding:1rem!important}.pt-xl-3{padding-top:1rem!important}.pr-xl-3{padding-right:1rem!important}.pb-xl-3{padding-bottom:1rem!important}.pl-xl-3,.px-xl-3{padding-left:1rem!important}.px-xl-3{padding-right:1rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.p-xl-4{padding:1.5rem!important}.pt-xl-4{padding-top:1.5rem!important}.pr-xl-4{padding-right:1.5rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pl-xl-4,.px-xl-4{padding-left:1.5rem!important}.px-xl-4{padding-right:1.5rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.p-xl-5{padding:3rem!important}.pt-xl-5{padding-top:3rem!important}.pr-xl-5{padding-right:3rem!important}.pb-xl-5{padding-bottom:3rem!important}.pl-xl-5,.px-xl-5{padding-left:3rem!important}.px-xl-5{padding-right:3rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.m-xl-auto{margin:auto!important}.mt-xl-auto{margin-top:auto!important}.mr-xl-auto{margin-right:auto!important}.mb-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}.mx-xl-auto{margin-right:auto!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}}.text-justify{text-align:justify!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media (min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-normal{font-weight:400}.font-weight-bold{font-weight:700}.font-italic{font-style:italic}.text-white{color:#fff!important}.text-muted{color:#636c72!important}a.text-muted:focus,a.text-muted:hover{color:#4b5257!important}.text-primary{color:#0275d8!important}a.text-primary:focus,a.text-primary:hover{color:#025aa5!important}.text-success{color:#5cb85c!important}a.text-success:focus,a.text-success:hover{color:#449d44!important}.text-info{color:#5bc0de!important}a.text-info:focus,a.text-info:hover{color:#31b0d5!important}.text-warning{color:#f0ad4e!important}a.text-warning:focus,a.text-warning:hover{color:#ec971f!important}.text-danger{color:#d9534f!important}a.text-danger:focus,a.text-danger:hover{color:#c9302c!important}.text-gray-dark{color:#292b2c!important}a.text-gray-dark:focus,a.text-gray-dark:hover{color:#101112!important}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.invisible{visibility:hidden!important}.hidden-xs-up{display:none!important}@media (max-width:575px){.hidden-xs-down{display:none!important}}@media (min-width:576px){.hidden-sm-up{display:none!important}}@media (max-width:767px){.hidden-sm-down{display:none!important}}@media (min-width:768px){.hidden-md-up{display:none!important}}@media (max-width:991px){.hidden-md-down{display:none!important}}@media (min-width:992px){.hidden-lg-up{display:none!important}}@media (max-width:1199px){.hidden-lg-down{display:none!important}}@media (min-width:1200px){.hidden-xl-up{display:none!important}}.hidden-xl-down,.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}.loading{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.loading .loading-bar{display:inline-block;width:6px;height:30px;border-radius:4px;-webkit-animation:loading 1s ease-in-out infinite;animation:loading 1s ease-in-out infinite}.loading .loading-bar:first-child{background-color:#222;-webkit-animation-delay:0;animation-delay:0}.loading .loading-bar:nth-child(2){background-color:#222;-webkit-animation-delay:.09s;animation-delay:.09s}.loading .loading-bar:nth-child(3){background-color:#222;-webkit-animation-delay:.18s;animation-delay:.18s}.loading .loading-bar:nth-child(4){background-color:#222;-webkit-animation-delay:.27s;animation-delay:.27s}@-webkit-keyframes loading{0%{-webkit-transform:scale(1);transform:scale(1)}20%{-webkit-transform:scaleY(2.2);transform:scaleY(2.2)}40%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes loading{0%{-webkit-transform:scale(1);transform:scale(1)}20%{-webkit-transform:scaleY(2.2);transform:scaleY(2.2)}40%{-webkit-transform:scale(1);transform:scale(1)}}.fs-12{font-size:12px}.errorConsole{color:red}.rtl .sidebar{left:auto!important;right:0!important}.rtl .sidebar>ul.list-group{padding:0}.rtl .main-container{margin-left:0!important;margin-right:235px}.rtl *{direction:rtl}@media screen and (max-width:992px){.rtl .navbar-brand{direction:ltr}.rtl .sidebar{right:-235px!important}.rtl .main-container{margin-right:0}.rtl.push-right .sidebar{left:auto!important;right:0!important}}.push-right .sidebar{left:235px!important}#console,.CodeMirror,.contenedor-canvas,.listado-archivos,.listado-grupos,.listadoEntregasAlumnoGrupos,.previewArchivoNoSeleccionado{height:400px!important}@media screen and (min-width:992px){.codemirrorArchivo .CodeMirror{height:calc(100vh - 235px)!important}.codemirrorPrograma .CodeMirror{height:calc(100vh - 197px)!important}.codemirrorGrupos .CodeMirror{height:calc(100vh - 232px)!important}#console{height:calc(100vh - 79px)!important}.contenedor-canvas{height:calc(100vh - 121px)!important}.listado-archivos{height:calc(100vh - 265px)!important}.previewArchivoNoSeleccionado{height:calc(100vh - 275px)!important}.listadoEntregasAlumnoGrupos,.previewArchivoNoSeleccionadoGrupos{height:calc(100vh - 225px)!important}.listado-grupos{height:calc(100vh - 270px)!important}}#console{height:352px;width:100%;position:relative;background-color:#000;border:2px solid #ccc;margin:0 auto}.jqconsole{padding:10px}.jqconsole-cursor{background-color:gray}.jqconsole-blurred .jqconsole-cursor{background-color:#666}.jqconsole-prompt{color:#0bcc32;font-style:italic}.jqconsole-old-prompt{color:#0bcc32}.jqconsole-old-prompt,.jqconsole-output,.jqconsole-prompt{word-wrap:break-word;white-space:pre-wrap}.jqconsole-old-input{color:#bb0;font-weight:400}.jqconsole-header{color:#d0d0d0}.nomArchivoInp{width:calc(100% - 250px);float:left}.jqconsole-output{color:#fff}.jqconsole-logs{color:brown}.border{border:1px solid #f7f7f7}.add-panel{background:orange;padding:3px 6px;color:#fff!important;border-radius:3px}.add-panel,.remove-panel{cursor:pointer}.remove-panel{float:right}.panel{background:#f7f7f7;padding:3px 7px;font-size:.85em}.panel.after-top,.panel.top{border-bottom:1px solid #ddd}.panel.before-bottom,.panel.bottom{border-top:1px solid #ddd}.alertPosition{position:absolute;left:50%;z-index:1500;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.breakpoints{width:.8em}.breakpoint{color:#fff!important}.CodeMirror{border:1px solid #aaa}.CodeMirror-lint-mark-error,.CodeMirror-lint-mark-warning{background-position:0 100%;background-repeat:repeat-x}.CodeMirror-lint-mark-error{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==")}.CodeMirror-lint-mark-warning{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=")}.CodeMirror-lint-marker-error,.CodeMirror-lint-marker-warning{background-position:50%;background-repeat:no-repeat;cursor:pointer;display:inline-block;height:16px;width:16px;vertical-align:middle;position:relative}.tooltip{position:relative;display:inline-block;border-bottom:1px dotted #000;cursor:pointer}.tooltiptext{visibility:hidden;width:120px;background-color:#fff;color:brown;text-align:center;border-radius:6px;padding:5px 0;position:absolute;z-index:10000}.tooltip:hover .tooltiptext{visibility:visible}.tippy-touch{cursor:pointer!important}.tippy-notransition{transition:none!important}.tippy-popper{max-width:400px;-webkit-perspective:800px;perspective:800px;z-index:9999;outline:0;transition-timing-function:cubic-bezier(.165,.84,.44,1);pointer-events:none}.tippy-popper.html-template{max-width:96%;max-width:calc(100% - 20px)}.tippy-popper[x-placement^=top] [x-arrow]{border-top:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;bottom:-7px;margin:0 9px}.tippy-popper[x-placement^=top] [x-arrow].arrow-small{border-top:5px solid #333;border-right:5px solid transparent;border-left:5px solid transparent;bottom:-5px}.tippy-popper[x-placement^=top] [x-arrow].arrow-big{border-top:10px solid #333;border-right:10px solid transparent;border-left:10px solid transparent;bottom:-10px}.tippy-popper[x-placement^=top] [x-circle]{-webkit-transform-origin:0 33%;transform-origin:0 33%}.tippy-popper[x-placement^=top] [x-circle].enter{-webkit-transform:scale(1) translate(-50%,-55%);transform:scale(1) translate(-50%,-55%);opacity:1}.tippy-popper[x-placement^=top] [x-circle].leave{-webkit-transform:scale(.15) translate(-50%,-50%);transform:scale(.15) translate(-50%,-50%);opacity:0}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-arrow]{border-top:7px solid #fff;border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-top:5px solid #fff;border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-top:10px solid #fff;border-right:10px solid transparent;border-left:10px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,.7)}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-arrow]{border-top:7px solid rgba(0,0,0,.7);border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-top:5px solid rgba(0,0,0,.7);border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-top:10px solid rgba(0,0,0,.7);border-right:10px solid transparent;border-left:10px solid transparent}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateY(-10px) rotateX(0);transform:translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateY(0) rotateX(90deg);transform:translateY(0) rotateX(90deg)}.tippy-popper[x-placement^=top] [data-animation=fade].enter{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade].leave{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift].enter{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift].leave{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale].enter{opacity:1;-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale].leave{opacity:0;-webkit-transform:translateY(0) scale(0);transform:translateY(0) scale(0)}.tippy-popper[x-placement^=bottom] [x-arrow]{border-bottom:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;top:-7px;margin:0 9px}.tippy-popper[x-placement^=bottom] [x-arrow].arrow-small{border-bottom:5px solid #333;border-right:5px solid transparent;border-left:5px solid transparent;top:-5px}.tippy-popper[x-placement^=bottom] [x-arrow].arrow-big{border-bottom:10px solid #333;border-right:10px solid transparent;border-left:10px solid transparent;top:-10px}.tippy-popper[x-placement^=bottom] [x-circle]{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] [x-circle].enter{-webkit-transform:scale(1) translate(-50%,-45%);transform:scale(1) translate(-50%,-45%);opacity:1}.tippy-popper[x-placement^=bottom] [x-circle].leave{-webkit-transform:scale(.15) translate(-50%,-5%);transform:scale(.15) translate(-50%,-5%);opacity:0}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-arrow]{border-bottom:7px solid #fff;border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-bottom:5px solid #fff;border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-bottom:10px solid #fff;border-right:10px solid transparent;border-left:10px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,.7)}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-arrow]{border-bottom:7px solid rgba(0,0,0,.7);border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-bottom:5px solid rgba(0,0,0,.7);border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-bottom:10px solid rgba(0,0,0,.7);border-right:10px solid transparent;border-left:10px solid transparent}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateY(10px) rotateX(0);transform:translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateY(0) rotateX(-90deg);transform:translateY(0) rotateX(-90deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade].enter{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade].leave{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift].enter{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift].leave{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale].enter{opacity:1;-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale].leave{opacity:0;-webkit-transform:translateY(0) scale(0);transform:translateY(0) scale(0)}.tippy-popper[x-placement^=left] [x-arrow]{border-left:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;right:-7px;margin:6px 0}.tippy-popper[x-placement^=left] [x-arrow].arrow-small{border-left:5px solid #333;border-top:5px solid transparent;border-bottom:5px solid transparent;right:-5px}.tippy-popper[x-placement^=left] [x-arrow].arrow-big{border-left:10px solid #333;border-top:10px solid transparent;border-bottom:10px solid transparent;right:-10px}.tippy-popper[x-placement^=left] [x-circle]{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] [x-circle].enter{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%);opacity:1}.tippy-popper[x-placement^=left] [x-circle].leave{-webkit-transform:scale(.15) translate(-50%,-50%);transform:scale(.15) translate(-50%,-50%);opacity:0}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-arrow]{border-left:7px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-left:5px solid #fff;border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-left:10px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,.7)}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-arrow]{border-left:7px solid rgba(0,0,0,.7);border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-left:5px solid rgba(0,0,0,.7);border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-left:10px solid rgba(0,0,0,.7);border-top:10px solid transparent;border-bottom:10px solid transparent}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateX(-10px) rotateY(0);transform:translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateX(0) rotateY(-90deg);transform:translateX(0) rotateY(-90deg)}.tippy-popper[x-placement^=left] [data-animation=fade].enter{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade].leave{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift].enter{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift].leave{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale].enter{opacity:1;-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale].leave{opacity:0;-webkit-transform:translateX(0) scale(0);transform:translateX(0) scale(0)}.tippy-popper[x-placement^=right] [x-arrow]{border-right:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;left:-7px;margin:6px 0}.tippy-popper[x-placement^=right] [x-arrow].arrow-small{border-right:5px solid #333;border-top:5px solid transparent;border-bottom:5px solid transparent;left:-5px}.tippy-popper[x-placement^=right] [x-arrow].arrow-big{border-right:10px solid #333;border-top:10px solid transparent;border-bottom:10px solid transparent;left:-10px}.tippy-popper[x-placement^=right] [x-circle]{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] [x-circle].enter{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%);opacity:1}.tippy-popper[x-placement^=right] [x-circle].leave{-webkit-transform:scale(.15) translate(-50%,-50%);transform:scale(.15) translate(-50%,-50%);opacity:0}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-arrow]{border-right:7px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-right:5px solid #fff;border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-right:10px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,.7)}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-arrow]{border-right:7px solid rgba(0,0,0,.7);border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-right:5px solid rgba(0,0,0,.7);border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-right:10px solid rgba(0,0,0,.7);border-top:10px solid transparent;border-bottom:10px solid transparent}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateX(10px) rotateY(0);transform:translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateX(0) rotateY(90deg);transform:translateX(0) rotateY(90deg)}.tippy-popper[x-placement^=right] [data-animation=fade].enter{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade].leave{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift].enter{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift].leave{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale].enter{opacity:1;-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale].leave{opacity:0;-webkit-transform:translateX(0) scale(0);transform:translateX(0) scale(0)}.tippy-popper .tippy-tooltip.transparent-theme{background-color:rgba(0,0,0,.7)}.tippy-popper .tippy-tooltip.transparent-theme[data-animatefill]{background-color:transparent}.tippy-popper .tippy-tooltip.light-theme{color:#26323d;box-shadow:0 4px 20px 4px rgba(0,20,60,.1),0 4px 80px -8px rgba(0,20,60,.2);background-color:#fff}.tippy-popper .tippy-tooltip.light-theme[data-animatefill]{background-color:transparent}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:.95rem;padding:.4rem .8rem;text-align:center;will-change:transform;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#333}.tippy-tooltip--small{padding:.25rem .5rem;font-size:.8rem}.tippy-tooltip--big{padding:.6rem 1.2rem;font-size:1.2rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-interactive]{pointer-events:auto}.tippy-tooltip[data-inertia]{transition-timing-function:cubic-bezier(.53,2,.36,.85)}.tippy-tooltip [x-arrow]{position:absolute;width:0;height:0}.tippy-tooltip [x-circle]{position:absolute;will-change:transform;background-color:#333;border-radius:50%;width:130%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;overflow:hidden;transition:all ease}.tippy-tooltip [x-circle]:before{content:"";padding-top:90%;float:left}@media (max-width:450px){.tippy-popper{max-width:96%;max-width:calc(100% - 20px)}}.CodeMirror{font-family:monospace;height:300px;color:#000}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-animate-fat-cursor{width:auto;border:0;-webkit-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:-20px;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:blue}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.CodeMirror-hints{position:absolute;z-index:10;overflow:hidden;list-style:none;margin:0;padding:2px;box-shadow:2px 3px 5px rgba(0,0,0,.2);border-radius:3px;border:1px solid silver;background:#fff;font-size:90%;font-family:monospace;max-height:20em;overflow-y:auto}.CodeMirror-hint{margin:0;padding:0 4px;border-radius:2px;white-space:pre;color:#000;cursor:pointer}li.CodeMirror-hint-active{background:#08f;color:#fff}.CodeMirror-dialog{position:absolute;left:0;right:0;background:inherit;z-index:15;padding:.1em .8em;overflow:hidden;color:inherit}.CodeMirror-dialog-top{border-bottom:1px solid #eee;top:0}.CodeMirror-dialog-bottom{border-top:1px solid #eee;bottom:0}.CodeMirror-dialog input{border:none;outline:none;background:transparent;width:20em;color:inherit;font-family:monospace}.CodeMirror-dialog button{font-size:70%}.CodeMirror-search-match{background:gold;border-top:1px solid orange;border-bottom:1px solid orange;box-sizing:border-box;opacity:.5} \ No newline at end of file diff --git a/Servidor JEE/WebContent/styles.aedd881417e13b7e91de.bundle.css b/Servidor JEE/WebContent/styles.aedd881417e13b7e91de.bundle.css new file mode 100644 index 0000000000000000000000000000000000000000..0a318c3889e7180d8b9ac42baafeb42a7dc96ff9 --- /dev/null +++ b/Servidor JEE/WebContent/styles.aedd881417e13b7e91de.bundle.css @@ -0,0 +1,17 @@ +@import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,300,600);/*! + * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */@font-face{font-family:FontAwesome;src:url(fontawesome-webfont.674f50d287a8c48dc19b.eot);src:url(fontawesome-webfont.674f50d287a8c48dc19b.eot?#iefix&v=4.7.0) format("embedded-opentype"),url(fontawesome-webfont.af7ae505a9eed503f8b8.woff2) format("woff2"),url(fontawesome-webfont.fee66e712a8a08eef580.woff) format("woff"),url(fontawesome-webfont.b06871f281fee6b241d6.ttf) format("truetype"),url(fontawesome-webfont.912ec66d7572ff821749.svg#fontawesomeregular) format("svg");font-weight:400;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:.08em solid #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scaleY(-1);transform:scaleY(-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\F000"}.fa-music:before{content:"\F001"}.fa-search:before{content:"\F002"}.fa-envelope-o:before{content:"\F003"}.fa-heart:before{content:"\F004"}.fa-star:before{content:"\F005"}.fa-star-o:before{content:"\F006"}.fa-user:before{content:"\F007"}.fa-film:before{content:"\F008"}.fa-th-large:before{content:"\F009"}.fa-th:before{content:"\F00A"}.fa-th-list:before{content:"\F00B"}.fa-check:before{content:"\F00C"}.fa-close:before,.fa-remove:before,.fa-times:before{content:"\F00D"}.fa-search-plus:before{content:"\F00E"}.fa-search-minus:before{content:"\F010"}.fa-power-off:before{content:"\F011"}.fa-signal:before{content:"\F012"}.fa-cog:before,.fa-gear:before{content:"\F013"}.fa-trash-o:before{content:"\F014"}.fa-home:before{content:"\F015"}.fa-file-o:before{content:"\F016"}.fa-clock-o:before{content:"\F017"}.fa-road:before{content:"\F018"}.fa-download:before{content:"\F019"}.fa-arrow-circle-o-down:before{content:"\F01A"}.fa-arrow-circle-o-up:before{content:"\F01B"}.fa-inbox:before{content:"\F01C"}.fa-play-circle-o:before{content:"\F01D"}.fa-repeat:before,.fa-rotate-right:before{content:"\F01E"}.fa-refresh:before{content:"\F021"}.fa-list-alt:before{content:"\F022"}.fa-lock:before{content:"\F023"}.fa-flag:before{content:"\F024"}.fa-headphones:before{content:"\F025"}.fa-volume-off:before{content:"\F026"}.fa-volume-down:before{content:"\F027"}.fa-volume-up:before{content:"\F028"}.fa-qrcode:before{content:"\F029"}.fa-barcode:before{content:"\F02A"}.fa-tag:before{content:"\F02B"}.fa-tags:before{content:"\F02C"}.fa-book:before{content:"\F02D"}.fa-bookmark:before{content:"\F02E"}.fa-print:before{content:"\F02F"}.fa-camera:before{content:"\F030"}.fa-font:before{content:"\F031"}.fa-bold:before{content:"\F032"}.fa-italic:before{content:"\F033"}.fa-text-height:before{content:"\F034"}.fa-text-width:before{content:"\F035"}.fa-align-left:before{content:"\F036"}.fa-align-center:before{content:"\F037"}.fa-align-right:before{content:"\F038"}.fa-align-justify:before{content:"\F039"}.fa-list:before{content:"\F03A"}.fa-dedent:before,.fa-outdent:before{content:"\F03B"}.fa-indent:before{content:"\F03C"}.fa-video-camera:before{content:"\F03D"}.fa-image:before,.fa-photo:before,.fa-picture-o:before{content:"\F03E"}.fa-pencil:before{content:"\F040"}.fa-map-marker:before{content:"\F041"}.fa-adjust:before{content:"\F042"}.fa-tint:before{content:"\F043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\F044"}.fa-share-square-o:before{content:"\F045"}.fa-check-square-o:before{content:"\F046"}.fa-arrows:before{content:"\F047"}.fa-step-backward:before{content:"\F048"}.fa-fast-backward:before{content:"\F049"}.fa-backward:before{content:"\F04A"}.fa-play:before{content:"\F04B"}.fa-pause:before{content:"\F04C"}.fa-stop:before{content:"\F04D"}.fa-forward:before{content:"\F04E"}.fa-fast-forward:before{content:"\F050"}.fa-step-forward:before{content:"\F051"}.fa-eject:before{content:"\F052"}.fa-chevron-left:before{content:"\F053"}.fa-chevron-right:before{content:"\F054"}.fa-plus-circle:before{content:"\F055"}.fa-minus-circle:before{content:"\F056"}.fa-times-circle:before{content:"\F057"}.fa-check-circle:before{content:"\F058"}.fa-question-circle:before{content:"\F059"}.fa-info-circle:before{content:"\F05A"}.fa-crosshairs:before{content:"\F05B"}.fa-times-circle-o:before{content:"\F05C"}.fa-check-circle-o:before{content:"\F05D"}.fa-ban:before{content:"\F05E"}.fa-arrow-left:before{content:"\F060"}.fa-arrow-right:before{content:"\F061"}.fa-arrow-up:before{content:"\F062"}.fa-arrow-down:before{content:"\F063"}.fa-mail-forward:before,.fa-share:before{content:"\F064"}.fa-expand:before{content:"\F065"}.fa-compress:before{content:"\F066"}.fa-plus:before{content:"\F067"}.fa-minus:before{content:"\F068"}.fa-asterisk:before{content:"\F069"}.fa-exclamation-circle:before{content:"\F06A"}.fa-gift:before{content:"\F06B"}.fa-leaf:before{content:"\F06C"}.fa-fire:before{content:"\F06D"}.fa-eye:before{content:"\F06E"}.fa-eye-slash:before{content:"\F070"}.fa-exclamation-triangle:before,.fa-warning:before{content:"\F071"}.fa-plane:before{content:"\F072"}.fa-calendar:before{content:"\F073"}.fa-random:before{content:"\F074"}.fa-comment:before{content:"\F075"}.fa-magnet:before{content:"\F076"}.fa-chevron-up:before{content:"\F077"}.fa-chevron-down:before{content:"\F078"}.fa-retweet:before{content:"\F079"}.fa-shopping-cart:before{content:"\F07A"}.fa-folder:before{content:"\F07B"}.fa-folder-open:before{content:"\F07C"}.fa-arrows-v:before{content:"\F07D"}.fa-arrows-h:before{content:"\F07E"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\F080"}.fa-twitter-square:before{content:"\F081"}.fa-facebook-square:before{content:"\F082"}.fa-camera-retro:before{content:"\F083"}.fa-key:before{content:"\F084"}.fa-cogs:before,.fa-gears:before{content:"\F085"}.fa-comments:before{content:"\F086"}.fa-thumbs-o-up:before{content:"\F087"}.fa-thumbs-o-down:before{content:"\F088"}.fa-star-half:before{content:"\F089"}.fa-heart-o:before{content:"\F08A"}.fa-sign-out:before{content:"\F08B"}.fa-linkedin-square:before{content:"\F08C"}.fa-thumb-tack:before{content:"\F08D"}.fa-external-link:before{content:"\F08E"}.fa-sign-in:before{content:"\F090"}.fa-trophy:before{content:"\F091"}.fa-github-square:before{content:"\F092"}.fa-upload:before{content:"\F093"}.fa-lemon-o:before{content:"\F094"}.fa-phone:before{content:"\F095"}.fa-square-o:before{content:"\F096"}.fa-bookmark-o:before{content:"\F097"}.fa-phone-square:before{content:"\F098"}.fa-twitter:before{content:"\F099"}.fa-facebook-f:before,.fa-facebook:before{content:"\F09A"}.fa-github:before{content:"\F09B"}.fa-unlock:before{content:"\F09C"}.fa-credit-card:before{content:"\F09D"}.fa-feed:before,.fa-rss:before{content:"\F09E"}.fa-hdd-o:before{content:"\F0A0"}.fa-bullhorn:before{content:"\F0A1"}.fa-bell:before{content:"\F0F3"}.fa-certificate:before{content:"\F0A3"}.fa-hand-o-right:before{content:"\F0A4"}.fa-hand-o-left:before{content:"\F0A5"}.fa-hand-o-up:before{content:"\F0A6"}.fa-hand-o-down:before{content:"\F0A7"}.fa-arrow-circle-left:before{content:"\F0A8"}.fa-arrow-circle-right:before{content:"\F0A9"}.fa-arrow-circle-up:before{content:"\F0AA"}.fa-arrow-circle-down:before{content:"\F0AB"}.fa-globe:before{content:"\F0AC"}.fa-wrench:before{content:"\F0AD"}.fa-tasks:before{content:"\F0AE"}.fa-filter:before{content:"\F0B0"}.fa-briefcase:before{content:"\F0B1"}.fa-arrows-alt:before{content:"\F0B2"}.fa-group:before,.fa-users:before{content:"\F0C0"}.fa-chain:before,.fa-link:before{content:"\F0C1"}.fa-cloud:before{content:"\F0C2"}.fa-flask:before{content:"\F0C3"}.fa-cut:before,.fa-scissors:before{content:"\F0C4"}.fa-copy:before,.fa-files-o:before{content:"\F0C5"}.fa-paperclip:before{content:"\F0C6"}.fa-floppy-o:before,.fa-save:before{content:"\F0C7"}.fa-square:before{content:"\F0C8"}.fa-bars:before,.fa-navicon:before,.fa-reorder:before{content:"\F0C9"}.fa-list-ul:before{content:"\F0CA"}.fa-list-ol:before{content:"\F0CB"}.fa-strikethrough:before{content:"\F0CC"}.fa-underline:before{content:"\F0CD"}.fa-table:before{content:"\F0CE"}.fa-magic:before{content:"\F0D0"}.fa-truck:before{content:"\F0D1"}.fa-pinterest:before{content:"\F0D2"}.fa-pinterest-square:before{content:"\F0D3"}.fa-google-plus-square:before{content:"\F0D4"}.fa-google-plus:before{content:"\F0D5"}.fa-money:before{content:"\F0D6"}.fa-caret-down:before{content:"\F0D7"}.fa-caret-up:before{content:"\F0D8"}.fa-caret-left:before{content:"\F0D9"}.fa-caret-right:before{content:"\F0DA"}.fa-columns:before{content:"\F0DB"}.fa-sort:before,.fa-unsorted:before{content:"\F0DC"}.fa-sort-desc:before,.fa-sort-down:before{content:"\F0DD"}.fa-sort-asc:before,.fa-sort-up:before{content:"\F0DE"}.fa-envelope:before{content:"\F0E0"}.fa-linkedin:before{content:"\F0E1"}.fa-rotate-left:before,.fa-undo:before{content:"\F0E2"}.fa-gavel:before,.fa-legal:before{content:"\F0E3"}.fa-dashboard:before,.fa-tachometer:before{content:"\F0E4"}.fa-comment-o:before{content:"\F0E5"}.fa-comments-o:before{content:"\F0E6"}.fa-bolt:before,.fa-flash:before{content:"\F0E7"}.fa-sitemap:before{content:"\F0E8"}.fa-umbrella:before{content:"\F0E9"}.fa-clipboard:before,.fa-paste:before{content:"\F0EA"}.fa-lightbulb-o:before{content:"\F0EB"}.fa-exchange:before{content:"\F0EC"}.fa-cloud-download:before{content:"\F0ED"}.fa-cloud-upload:before{content:"\F0EE"}.fa-user-md:before{content:"\F0F0"}.fa-stethoscope:before{content:"\F0F1"}.fa-suitcase:before{content:"\F0F2"}.fa-bell-o:before{content:"\F0A2"}.fa-coffee:before{content:"\F0F4"}.fa-cutlery:before{content:"\F0F5"}.fa-file-text-o:before{content:"\F0F6"}.fa-building-o:before{content:"\F0F7"}.fa-hospital-o:before{content:"\F0F8"}.fa-ambulance:before{content:"\F0F9"}.fa-medkit:before{content:"\F0FA"}.fa-fighter-jet:before{content:"\F0FB"}.fa-beer:before{content:"\F0FC"}.fa-h-square:before{content:"\F0FD"}.fa-plus-square:before{content:"\F0FE"}.fa-angle-double-left:before{content:"\F100"}.fa-angle-double-right:before{content:"\F101"}.fa-angle-double-up:before{content:"\F102"}.fa-angle-double-down:before{content:"\F103"}.fa-angle-left:before{content:"\F104"}.fa-angle-right:before{content:"\F105"}.fa-angle-up:before{content:"\F106"}.fa-angle-down:before{content:"\F107"}.fa-desktop:before{content:"\F108"}.fa-laptop:before{content:"\F109"}.fa-tablet:before{content:"\F10A"}.fa-mobile-phone:before,.fa-mobile:before{content:"\F10B"}.fa-circle-o:before{content:"\F10C"}.fa-quote-left:before{content:"\F10D"}.fa-quote-right:before{content:"\F10E"}.fa-spinner:before{content:"\F110"}.fa-circle:before{content:"\F111"}.fa-mail-reply:before,.fa-reply:before{content:"\F112"}.fa-github-alt:before{content:"\F113"}.fa-folder-o:before{content:"\F114"}.fa-folder-open-o:before{content:"\F115"}.fa-smile-o:before{content:"\F118"}.fa-frown-o:before{content:"\F119"}.fa-meh-o:before{content:"\F11A"}.fa-gamepad:before{content:"\F11B"}.fa-keyboard-o:before{content:"\F11C"}.fa-flag-o:before{content:"\F11D"}.fa-flag-checkered:before{content:"\F11E"}.fa-terminal:before{content:"\F120"}.fa-code:before{content:"\F121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\F122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\F123"}.fa-location-arrow:before{content:"\F124"}.fa-crop:before{content:"\F125"}.fa-code-fork:before{content:"\F126"}.fa-chain-broken:before,.fa-unlink:before{content:"\F127"}.fa-question:before{content:"\F128"}.fa-info:before{content:"\F129"}.fa-exclamation:before{content:"\F12A"}.fa-superscript:before{content:"\F12B"}.fa-subscript:before{content:"\F12C"}.fa-eraser:before{content:"\F12D"}.fa-puzzle-piece:before{content:"\F12E"}.fa-microphone:before{content:"\F130"}.fa-microphone-slash:before{content:"\F131"}.fa-shield:before{content:"\F132"}.fa-calendar-o:before{content:"\F133"}.fa-fire-extinguisher:before{content:"\F134"}.fa-rocket:before{content:"\F135"}.fa-maxcdn:before{content:"\F136"}.fa-chevron-circle-left:before{content:"\F137"}.fa-chevron-circle-right:before{content:"\F138"}.fa-chevron-circle-up:before{content:"\F139"}.fa-chevron-circle-down:before{content:"\F13A"}.fa-html5:before{content:"\F13B"}.fa-css3:before{content:"\F13C"}.fa-anchor:before{content:"\F13D"}.fa-unlock-alt:before{content:"\F13E"}.fa-bullseye:before{content:"\F140"}.fa-ellipsis-h:before{content:"\F141"}.fa-ellipsis-v:before{content:"\F142"}.fa-rss-square:before{content:"\F143"}.fa-play-circle:before{content:"\F144"}.fa-ticket:before{content:"\F145"}.fa-minus-square:before{content:"\F146"}.fa-minus-square-o:before{content:"\F147"}.fa-level-up:before{content:"\F148"}.fa-level-down:before{content:"\F149"}.fa-check-square:before{content:"\F14A"}.fa-pencil-square:before{content:"\F14B"}.fa-external-link-square:before{content:"\F14C"}.fa-share-square:before{content:"\F14D"}.fa-compass:before{content:"\F14E"}.fa-caret-square-o-down:before,.fa-toggle-down:before{content:"\F150"}.fa-caret-square-o-up:before,.fa-toggle-up:before{content:"\F151"}.fa-caret-square-o-right:before,.fa-toggle-right:before{content:"\F152"}.fa-eur:before,.fa-euro:before{content:"\F153"}.fa-gbp:before{content:"\F154"}.fa-dollar:before,.fa-usd:before{content:"\F155"}.fa-inr:before,.fa-rupee:before{content:"\F156"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen:before{content:"\F157"}.fa-rouble:before,.fa-rub:before,.fa-ruble:before{content:"\F158"}.fa-krw:before,.fa-won:before{content:"\F159"}.fa-bitcoin:before,.fa-btc:before{content:"\F15A"}.fa-file:before{content:"\F15B"}.fa-file-text:before{content:"\F15C"}.fa-sort-alpha-asc:before{content:"\F15D"}.fa-sort-alpha-desc:before{content:"\F15E"}.fa-sort-amount-asc:before{content:"\F160"}.fa-sort-amount-desc:before{content:"\F161"}.fa-sort-numeric-asc:before{content:"\F162"}.fa-sort-numeric-desc:before{content:"\F163"}.fa-thumbs-up:before{content:"\F164"}.fa-thumbs-down:before{content:"\F165"}.fa-youtube-square:before{content:"\F166"}.fa-youtube:before{content:"\F167"}.fa-xing:before{content:"\F168"}.fa-xing-square:before{content:"\F169"}.fa-youtube-play:before{content:"\F16A"}.fa-dropbox:before{content:"\F16B"}.fa-stack-overflow:before{content:"\F16C"}.fa-instagram:before{content:"\F16D"}.fa-flickr:before{content:"\F16E"}.fa-adn:before{content:"\F170"}.fa-bitbucket:before{content:"\F171"}.fa-bitbucket-square:before{content:"\F172"}.fa-tumblr:before{content:"\F173"}.fa-tumblr-square:before{content:"\F174"}.fa-long-arrow-down:before{content:"\F175"}.fa-long-arrow-up:before{content:"\F176"}.fa-long-arrow-left:before{content:"\F177"}.fa-long-arrow-right:before{content:"\F178"}.fa-apple:before{content:"\F179"}.fa-windows:before{content:"\F17A"}.fa-android:before{content:"\F17B"}.fa-linux:before{content:"\F17C"}.fa-dribbble:before{content:"\F17D"}.fa-skype:before{content:"\F17E"}.fa-foursquare:before{content:"\F180"}.fa-trello:before{content:"\F181"}.fa-female:before{content:"\F182"}.fa-male:before{content:"\F183"}.fa-gittip:before,.fa-gratipay:before{content:"\F184"}.fa-sun-o:before{content:"\F185"}.fa-moon-o:before{content:"\F186"}.fa-archive:before{content:"\F187"}.fa-bug:before{content:"\F188"}.fa-vk:before{content:"\F189"}.fa-weibo:before{content:"\F18A"}.fa-renren:before{content:"\F18B"}.fa-pagelines:before{content:"\F18C"}.fa-stack-exchange:before{content:"\F18D"}.fa-arrow-circle-o-right:before{content:"\F18E"}.fa-arrow-circle-o-left:before{content:"\F190"}.fa-caret-square-o-left:before,.fa-toggle-left:before{content:"\F191"}.fa-dot-circle-o:before{content:"\F192"}.fa-wheelchair:before{content:"\F193"}.fa-vimeo-square:before{content:"\F194"}.fa-try:before,.fa-turkish-lira:before{content:"\F195"}.fa-plus-square-o:before{content:"\F196"}.fa-space-shuttle:before{content:"\F197"}.fa-slack:before{content:"\F198"}.fa-envelope-square:before{content:"\F199"}.fa-wordpress:before{content:"\F19A"}.fa-openid:before{content:"\F19B"}.fa-bank:before,.fa-institution:before,.fa-university:before{content:"\F19C"}.fa-graduation-cap:before,.fa-mortar-board:before{content:"\F19D"}.fa-yahoo:before{content:"\F19E"}.fa-google:before{content:"\F1A0"}.fa-reddit:before{content:"\F1A1"}.fa-reddit-square:before{content:"\F1A2"}.fa-stumbleupon-circle:before{content:"\F1A3"}.fa-stumbleupon:before{content:"\F1A4"}.fa-delicious:before{content:"\F1A5"}.fa-digg:before{content:"\F1A6"}.fa-pied-piper-pp:before{content:"\F1A7"}.fa-pied-piper-alt:before{content:"\F1A8"}.fa-drupal:before{content:"\F1A9"}.fa-joomla:before{content:"\F1AA"}.fa-language:before{content:"\F1AB"}.fa-fax:before{content:"\F1AC"}.fa-building:before{content:"\F1AD"}.fa-child:before{content:"\F1AE"}.fa-paw:before{content:"\F1B0"}.fa-spoon:before{content:"\F1B1"}.fa-cube:before{content:"\F1B2"}.fa-cubes:before{content:"\F1B3"}.fa-behance:before{content:"\F1B4"}.fa-behance-square:before{content:"\F1B5"}.fa-steam:before{content:"\F1B6"}.fa-steam-square:before{content:"\F1B7"}.fa-recycle:before{content:"\F1B8"}.fa-automobile:before,.fa-car:before{content:"\F1B9"}.fa-cab:before,.fa-taxi:before{content:"\F1BA"}.fa-tree:before{content:"\F1BB"}.fa-spotify:before{content:"\F1BC"}.fa-deviantart:before{content:"\F1BD"}.fa-soundcloud:before{content:"\F1BE"}.fa-database:before{content:"\F1C0"}.fa-file-pdf-o:before{content:"\F1C1"}.fa-file-word-o:before{content:"\F1C2"}.fa-file-excel-o:before{content:"\F1C3"}.fa-file-powerpoint-o:before{content:"\F1C4"}.fa-file-image-o:before,.fa-file-photo-o:before,.fa-file-picture-o:before{content:"\F1C5"}.fa-file-archive-o:before,.fa-file-zip-o:before{content:"\F1C6"}.fa-file-audio-o:before,.fa-file-sound-o:before{content:"\F1C7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\F1C8"}.fa-file-code-o:before{content:"\F1C9"}.fa-vine:before{content:"\F1CA"}.fa-codepen:before{content:"\F1CB"}.fa-jsfiddle:before{content:"\F1CC"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-ring:before,.fa-life-saver:before,.fa-support:before{content:"\F1CD"}.fa-circle-o-notch:before{content:"\F1CE"}.fa-ra:before,.fa-rebel:before,.fa-resistance:before{content:"\F1D0"}.fa-empire:before,.fa-ge:before{content:"\F1D1"}.fa-git-square:before{content:"\F1D2"}.fa-git:before{content:"\F1D3"}.fa-hacker-news:before,.fa-y-combinator-square:before,.fa-yc-square:before{content:"\F1D4"}.fa-tencent-weibo:before{content:"\F1D5"}.fa-qq:before{content:"\F1D6"}.fa-wechat:before,.fa-weixin:before{content:"\F1D7"}.fa-paper-plane:before,.fa-send:before{content:"\F1D8"}.fa-paper-plane-o:before,.fa-send-o:before{content:"\F1D9"}.fa-history:before{content:"\F1DA"}.fa-circle-thin:before{content:"\F1DB"}.fa-header:before{content:"\F1DC"}.fa-paragraph:before{content:"\F1DD"}.fa-sliders:before{content:"\F1DE"}.fa-share-alt:before{content:"\F1E0"}.fa-share-alt-square:before{content:"\F1E1"}.fa-bomb:before{content:"\F1E2"}.fa-futbol-o:before,.fa-soccer-ball-o:before{content:"\F1E3"}.fa-tty:before{content:"\F1E4"}.fa-binoculars:before{content:"\F1E5"}.fa-plug:before{content:"\F1E6"}.fa-slideshare:before{content:"\F1E7"}.fa-twitch:before{content:"\F1E8"}.fa-yelp:before{content:"\F1E9"}.fa-newspaper-o:before{content:"\F1EA"}.fa-wifi:before{content:"\F1EB"}.fa-calculator:before{content:"\F1EC"}.fa-paypal:before{content:"\F1ED"}.fa-google-wallet:before{content:"\F1EE"}.fa-cc-visa:before{content:"\F1F0"}.fa-cc-mastercard:before{content:"\F1F1"}.fa-cc-discover:before{content:"\F1F2"}.fa-cc-amex:before{content:"\F1F3"}.fa-cc-paypal:before{content:"\F1F4"}.fa-cc-stripe:before{content:"\F1F5"}.fa-bell-slash:before{content:"\F1F6"}.fa-bell-slash-o:before{content:"\F1F7"}.fa-trash:before{content:"\F1F8"}.fa-copyright:before{content:"\F1F9"}.fa-at:before{content:"\F1FA"}.fa-eyedropper:before{content:"\F1FB"}.fa-paint-brush:before{content:"\F1FC"}.fa-birthday-cake:before{content:"\F1FD"}.fa-area-chart:before{content:"\F1FE"}.fa-pie-chart:before{content:"\F200"}.fa-line-chart:before{content:"\F201"}.fa-lastfm:before{content:"\F202"}.fa-lastfm-square:before{content:"\F203"}.fa-toggle-off:before{content:"\F204"}.fa-toggle-on:before{content:"\F205"}.fa-bicycle:before{content:"\F206"}.fa-bus:before{content:"\F207"}.fa-ioxhost:before{content:"\F208"}.fa-angellist:before{content:"\F209"}.fa-cc:before{content:"\F20A"}.fa-ils:before,.fa-shekel:before,.fa-sheqel:before{content:"\F20B"}.fa-meanpath:before{content:"\F20C"}.fa-buysellads:before{content:"\F20D"}.fa-connectdevelop:before{content:"\F20E"}.fa-dashcube:before{content:"\F210"}.fa-forumbee:before{content:"\F211"}.fa-leanpub:before{content:"\F212"}.fa-sellsy:before{content:"\F213"}.fa-shirtsinbulk:before{content:"\F214"}.fa-simplybuilt:before{content:"\F215"}.fa-skyatlas:before{content:"\F216"}.fa-cart-plus:before{content:"\F217"}.fa-cart-arrow-down:before{content:"\F218"}.fa-diamond:before{content:"\F219"}.fa-ship:before{content:"\F21A"}.fa-user-secret:before{content:"\F21B"}.fa-motorcycle:before{content:"\F21C"}.fa-street-view:before{content:"\F21D"}.fa-heartbeat:before{content:"\F21E"}.fa-venus:before{content:"\F221"}.fa-mars:before{content:"\F222"}.fa-mercury:before{content:"\F223"}.fa-intersex:before,.fa-transgender:before{content:"\F224"}.fa-transgender-alt:before{content:"\F225"}.fa-venus-double:before{content:"\F226"}.fa-mars-double:before{content:"\F227"}.fa-venus-mars:before{content:"\F228"}.fa-mars-stroke:before{content:"\F229"}.fa-mars-stroke-v:before{content:"\F22A"}.fa-mars-stroke-h:before{content:"\F22B"}.fa-neuter:before{content:"\F22C"}.fa-genderless:before{content:"\F22D"}.fa-facebook-official:before{content:"\F230"}.fa-pinterest-p:before{content:"\F231"}.fa-whatsapp:before{content:"\F232"}.fa-server:before{content:"\F233"}.fa-user-plus:before{content:"\F234"}.fa-user-times:before{content:"\F235"}.fa-bed:before,.fa-hotel:before{content:"\F236"}.fa-viacoin:before{content:"\F237"}.fa-train:before{content:"\F238"}.fa-subway:before{content:"\F239"}.fa-medium:before{content:"\F23A"}.fa-y-combinator:before,.fa-yc:before{content:"\F23B"}.fa-optin-monster:before{content:"\F23C"}.fa-opencart:before{content:"\F23D"}.fa-expeditedssl:before{content:"\F23E"}.fa-battery-4:before,.fa-battery-full:before,.fa-battery:before{content:"\F240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\F241"}.fa-battery-2:before,.fa-battery-half:before{content:"\F242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\F243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\F244"}.fa-mouse-pointer:before{content:"\F245"}.fa-i-cursor:before{content:"\F246"}.fa-object-group:before{content:"\F247"}.fa-object-ungroup:before{content:"\F248"}.fa-sticky-note:before{content:"\F249"}.fa-sticky-note-o:before{content:"\F24A"}.fa-cc-jcb:before{content:"\F24B"}.fa-cc-diners-club:before{content:"\F24C"}.fa-clone:before{content:"\F24D"}.fa-balance-scale:before{content:"\F24E"}.fa-hourglass-o:before{content:"\F250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\F251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\F252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\F253"}.fa-hourglass:before{content:"\F254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\F255"}.fa-hand-paper-o:before,.fa-hand-stop-o:before{content:"\F256"}.fa-hand-scissors-o:before{content:"\F257"}.fa-hand-lizard-o:before{content:"\F258"}.fa-hand-spock-o:before{content:"\F259"}.fa-hand-pointer-o:before{content:"\F25A"}.fa-hand-peace-o:before{content:"\F25B"}.fa-trademark:before{content:"\F25C"}.fa-registered:before{content:"\F25D"}.fa-creative-commons:before{content:"\F25E"}.fa-gg:before{content:"\F260"}.fa-gg-circle:before{content:"\F261"}.fa-tripadvisor:before{content:"\F262"}.fa-odnoklassniki:before{content:"\F263"}.fa-odnoklassniki-square:before{content:"\F264"}.fa-get-pocket:before{content:"\F265"}.fa-wikipedia-w:before{content:"\F266"}.fa-safari:before{content:"\F267"}.fa-chrome:before{content:"\F268"}.fa-firefox:before{content:"\F269"}.fa-opera:before{content:"\F26A"}.fa-internet-explorer:before{content:"\F26B"}.fa-television:before,.fa-tv:before{content:"\F26C"}.fa-contao:before{content:"\F26D"}.fa-500px:before{content:"\F26E"}.fa-amazon:before{content:"\F270"}.fa-calendar-plus-o:before{content:"\F271"}.fa-calendar-minus-o:before{content:"\F272"}.fa-calendar-times-o:before{content:"\F273"}.fa-calendar-check-o:before{content:"\F274"}.fa-industry:before{content:"\F275"}.fa-map-pin:before{content:"\F276"}.fa-map-signs:before{content:"\F277"}.fa-map-o:before{content:"\F278"}.fa-map:before{content:"\F279"}.fa-commenting:before{content:"\F27A"}.fa-commenting-o:before{content:"\F27B"}.fa-houzz:before{content:"\F27C"}.fa-vimeo:before{content:"\F27D"}.fa-black-tie:before{content:"\F27E"}.fa-fonticons:before{content:"\F280"}.fa-reddit-alien:before{content:"\F281"}.fa-edge:before{content:"\F282"}.fa-credit-card-alt:before{content:"\F283"}.fa-codiepie:before{content:"\F284"}.fa-modx:before{content:"\F285"}.fa-fort-awesome:before{content:"\F286"}.fa-usb:before{content:"\F287"}.fa-product-hunt:before{content:"\F288"}.fa-mixcloud:before{content:"\F289"}.fa-scribd:before{content:"\F28A"}.fa-pause-circle:before{content:"\F28B"}.fa-pause-circle-o:before{content:"\F28C"}.fa-stop-circle:before{content:"\F28D"}.fa-stop-circle-o:before{content:"\F28E"}.fa-shopping-bag:before{content:"\F290"}.fa-shopping-basket:before{content:"\F291"}.fa-hashtag:before{content:"\F292"}.fa-bluetooth:before{content:"\F293"}.fa-bluetooth-b:before{content:"\F294"}.fa-percent:before{content:"\F295"}.fa-gitlab:before{content:"\F296"}.fa-wpbeginner:before{content:"\F297"}.fa-wpforms:before{content:"\F298"}.fa-envira:before{content:"\F299"}.fa-universal-access:before{content:"\F29A"}.fa-wheelchair-alt:before{content:"\F29B"}.fa-question-circle-o:before{content:"\F29C"}.fa-blind:before{content:"\F29D"}.fa-audio-description:before{content:"\F29E"}.fa-volume-control-phone:before{content:"\F2A0"}.fa-braille:before{content:"\F2A1"}.fa-assistive-listening-systems:before{content:"\F2A2"}.fa-american-sign-language-interpreting:before,.fa-asl-interpreting:before{content:"\F2A3"}.fa-deaf:before,.fa-deafness:before,.fa-hard-of-hearing:before{content:"\F2A4"}.fa-glide:before{content:"\F2A5"}.fa-glide-g:before{content:"\F2A6"}.fa-sign-language:before,.fa-signing:before{content:"\F2A7"}.fa-low-vision:before{content:"\F2A8"}.fa-viadeo:before{content:"\F2A9"}.fa-viadeo-square:before{content:"\F2AA"}.fa-snapchat:before{content:"\F2AB"}.fa-snapchat-ghost:before{content:"\F2AC"}.fa-snapchat-square:before{content:"\F2AD"}.fa-pied-piper:before{content:"\F2AE"}.fa-first-order:before{content:"\F2B0"}.fa-yoast:before{content:"\F2B1"}.fa-themeisle:before{content:"\F2B2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\F2B3"}.fa-fa:before,.fa-font-awesome:before{content:"\F2B4"}.fa-handshake-o:before{content:"\F2B5"}.fa-envelope-open:before{content:"\F2B6"}.fa-envelope-open-o:before{content:"\F2B7"}.fa-linode:before{content:"\F2B8"}.fa-address-book:before{content:"\F2B9"}.fa-address-book-o:before{content:"\F2BA"}.fa-address-card:before,.fa-vcard:before{content:"\F2BB"}.fa-address-card-o:before,.fa-vcard-o:before{content:"\F2BC"}.fa-user-circle:before{content:"\F2BD"}.fa-user-circle-o:before{content:"\F2BE"}.fa-user-o:before{content:"\F2C0"}.fa-id-badge:before{content:"\F2C1"}.fa-drivers-license:before,.fa-id-card:before{content:"\F2C2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\F2C3"}.fa-quora:before{content:"\F2C4"}.fa-free-code-camp:before{content:"\F2C5"}.fa-telegram:before{content:"\F2C6"}.fa-thermometer-4:before,.fa-thermometer-full:before,.fa-thermometer:before{content:"\F2C7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\F2C8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\F2C9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\F2CA"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\F2CB"}.fa-shower:before{content:"\F2CC"}.fa-bath:before,.fa-bathtub:before,.fa-s15:before{content:"\F2CD"}.fa-podcast:before{content:"\F2CE"}.fa-window-maximize:before{content:"\F2D0"}.fa-window-minimize:before{content:"\F2D1"}.fa-window-restore:before{content:"\F2D2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\F2D3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\F2D4"}.fa-bandcamp:before{content:"\F2D5"}.fa-grav:before{content:"\F2D6"}.fa-etsy:before{content:"\F2D7"}.fa-imdb:before{content:"\F2D8"}.fa-ravelry:before{content:"\F2D9"}.fa-eercast:before{content:"\F2DA"}.fa-microchip:before{content:"\F2DB"}.fa-snowflake-o:before{content:"\F2DC"}.fa-superpowers:before{content:"\F2DD"}.fa-wpexplorer:before{content:"\F2DE"}.fa-meetup:before{content:"\F2E0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.cm-s-3024-day.CodeMirror{background:#f7f7f7;color:#3a3432}.cm-s-3024-day div.CodeMirror-selected{background:#d6d5d4}.cm-s-3024-day .CodeMirror-line::-moz-selection,.cm-s-3024-day .CodeMirror-line>span::-moz-selection,.cm-s-3024-day .CodeMirror-line>span>span::-moz-selection{background:#d6d5d4}.cm-s-3024-day .CodeMirror-line::selection,.cm-s-3024-day .CodeMirror-line>span::selection,.cm-s-3024-day .CodeMirror-line>span>span::selection{background:#d6d5d4}.cm-s-3024-day .CodeMirror-line::-moz-selection,.cm-s-3024-day .CodeMirror-line>span::-moz-selection,.cm-s-3024-day .CodeMirror-line>span>span::-moz-selection{background:#d9d9d9}.cm-s-3024-day .CodeMirror-line::-moz-selection,.cm-s-3024-day .CodeMirror-line>span::-moz-selection,.cm-s-3024-day .CodeMirror-line>span>span::selection{background:#d9d9d9}.cm-s-3024-day .CodeMirror-gutters{background:#f7f7f7;border-right:0}.cm-s-3024-day .CodeMirror-guttermarker{color:#db2d20}.cm-s-3024-day .CodeMirror-guttermarker-subtle,.cm-s-3024-day .CodeMirror-linenumber{color:#807d7c}.cm-s-3024-day .CodeMirror-cursor{border-left:1px solid #5c5855}.cm-s-3024-day span.cm-comment{color:#cdab53}.cm-s-3024-day span.cm-atom,.cm-s-3024-day span.cm-number{color:#a16a94}.cm-s-3024-day span.cm-attribute,.cm-s-3024-day span.cm-property{color:#01a252}.cm-s-3024-day span.cm-keyword{color:#db2d20}.cm-s-3024-day span.cm-string{color:#fded02}.cm-s-3024-day span.cm-variable{color:#01a252}.cm-s-3024-day span.cm-variable-2{color:#01a0e4}.cm-s-3024-day span.cm-def{color:#e8bbd0}.cm-s-3024-day span.cm-bracket{color:#3a3432}.cm-s-3024-day span.cm-tag{color:#db2d20}.cm-s-3024-day span.cm-link{color:#a16a94}.cm-s-3024-day span.cm-error{background:#db2d20;color:#5c5855}.cm-s-3024-day .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-3024-day .CodeMirror-matchingbracket{text-decoration:underline;color:#a16a94!important}.cm-s-3024-night.CodeMirror{background:#090300;color:#d6d5d4}.cm-s-3024-night div.CodeMirror-selected{background:#3a3432}.cm-s-3024-night .CodeMirror-line::selection,.cm-s-3024-night .CodeMirror-line>span::selection,.cm-s-3024-night .CodeMirror-line>span>span::selection{background:rgba(58,52,50,.99)}.cm-s-3024-night .CodeMirror-line::-moz-selection,.cm-s-3024-night .CodeMirror-line>span::-moz-selection,.cm-s-3024-night .CodeMirror-line>span>span::-moz-selection{background:rgba(58,52,50,.99)}.cm-s-3024-night .CodeMirror-gutters{background:#090300;border-right:0}.cm-s-3024-night .CodeMirror-guttermarker{color:#db2d20}.cm-s-3024-night .CodeMirror-guttermarker-subtle,.cm-s-3024-night .CodeMirror-linenumber{color:#5c5855}.cm-s-3024-night .CodeMirror-cursor{border-left:1px solid #807d7c}.cm-s-3024-night span.cm-comment{color:#cdab53}.cm-s-3024-night span.cm-atom,.cm-s-3024-night span.cm-number{color:#a16a94}.cm-s-3024-night span.cm-attribute,.cm-s-3024-night span.cm-property{color:#01a252}.cm-s-3024-night span.cm-keyword{color:#db2d20}.cm-s-3024-night span.cm-string{color:#fded02}.cm-s-3024-night span.cm-variable{color:#01a252}.cm-s-3024-night span.cm-variable-2{color:#01a0e4}.cm-s-3024-night span.cm-def{color:#e8bbd0}.cm-s-3024-night span.cm-bracket{color:#d6d5d4}.cm-s-3024-night span.cm-tag{color:#db2d20}.cm-s-3024-night span.cm-link{color:#a16a94}.cm-s-3024-night span.cm-error{background:#db2d20;color:#807d7c}.cm-s-3024-night .CodeMirror-activeline-background{background:#2f2f2f}.cm-s-3024-night .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-abcdef.CodeMirror{background:#0f0f0f;color:#defdef}.cm-s-abcdef div.CodeMirror-selected{background:#515151}.cm-s-abcdef .CodeMirror-line::selection,.cm-s-abcdef .CodeMirror-line>span::selection,.cm-s-abcdef .CodeMirror-line>span>span::selection{background:rgba(56,56,56,.99)}.cm-s-abcdef .CodeMirror-line::-moz-selection,.cm-s-abcdef .CodeMirror-line>span::-moz-selection,.cm-s-abcdef .CodeMirror-line>span>span::-moz-selection{background:rgba(56,56,56,.99)}.cm-s-abcdef .CodeMirror-gutters{background:#555;border-right:2px solid #314151}.cm-s-abcdef .CodeMirror-guttermarker{color:#222}.cm-s-abcdef .CodeMirror-guttermarker-subtle{color:azure}.cm-s-abcdef .CodeMirror-linenumber{color:#fff}.cm-s-abcdef .CodeMirror-cursor{border-left:1px solid #0f0}.cm-s-abcdef span.cm-keyword{color:#b8860b;font-weight:700}.cm-s-abcdef span.cm-atom{color:#77f}.cm-s-abcdef span.cm-number{color:violet}.cm-s-abcdef span.cm-def{color:#fffabc}.cm-s-abcdef span.cm-variable{color:#abcdef}.cm-s-abcdef span.cm-variable-2{color:#cacbcc}.cm-s-abcdef span.cm-type,.cm-s-abcdef span.cm-variable-3{color:#def}.cm-s-abcdef span.cm-property{color:#fedcba}.cm-s-abcdef span.cm-operator{color:#ff0}.cm-s-abcdef span.cm-comment{color:#7a7b7c;font-style:italic}.cm-s-abcdef span.cm-string{color:#2b4}.cm-s-abcdef span.cm-meta{color:#c9f}.cm-s-abcdef span.cm-qualifier{color:#fff700}.cm-s-abcdef span.cm-builtin{color:#30aabc}.cm-s-abcdef span.cm-bracket{color:#8a8a8a}.cm-s-abcdef span.cm-tag{color:#fd4}.cm-s-abcdef span.cm-attribute{color:#df0}.cm-s-abcdef span.cm-error{color:red}.cm-s-abcdef span.cm-header{color:#7fffd4;font-weight:700}.cm-s-abcdef span.cm-link{color:#8a2be2}.cm-s-abcdef .CodeMirror-activeline-background{background:#314151}.cm-s-ambiance.CodeMirror{box-shadow:none}.cm-s-ambiance .cm-header{color:blue}.cm-s-ambiance .cm-quote{color:#24c2c7}.cm-s-ambiance .cm-keyword{color:#cda869}.cm-s-ambiance .cm-atom{color:#cf7ea9}.cm-s-ambiance .cm-number{color:#78cf8a}.cm-s-ambiance .cm-def{color:#aac6e3}.cm-s-ambiance .cm-variable{color:#ffb795}.cm-s-ambiance .cm-variable-2{color:#eed1b3}.cm-s-ambiance .cm-type,.cm-s-ambiance .cm-variable-3{color:#faded3}.cm-s-ambiance .cm-property{color:#eed1b3}.cm-s-ambiance .cm-operator{color:#fa8d6a}.cm-s-ambiance .cm-comment{color:#555;font-style:italic}.cm-s-ambiance .cm-string{color:#8f9d6a}.cm-s-ambiance .cm-string-2{color:#9d937c}.cm-s-ambiance .cm-meta{color:#d2a8a1}.cm-s-ambiance .cm-qualifier{color:#ff0}.cm-s-ambiance .cm-builtin{color:#99c}.cm-s-ambiance .cm-bracket{color:#24c2c7}.cm-s-ambiance .cm-tag{color:#fee4ff}.cm-s-ambiance .cm-attribute{color:#9b859d}.cm-s-ambiance .cm-hr{color:pink}.cm-s-ambiance .cm-link{color:#f4c20b}.cm-s-ambiance .cm-special{color:#ff9d00}.cm-s-ambiance .cm-error{color:#af2018}.cm-s-ambiance .CodeMirror-matchingbracket{color:#0f0}.cm-s-ambiance .CodeMirror-nonmatchingbracket{color:#f22}.cm-s-ambiance div.CodeMirror-selected{background:hsla(0,0%,100%,.15)}.cm-s-ambiance.CodeMirror-focused div.CodeMirror-selected{background:hsla(0,0%,100%,.1)}.cm-s-ambiance .CodeMirror-line::selection,.cm-s-ambiance .CodeMirror-line>span::selection,.cm-s-ambiance .CodeMirror-line>span>span::selection{background:hsla(0,0%,100%,.1)}.cm-s-ambiance .CodeMirror-line::-moz-selection,.cm-s-ambiance .CodeMirror-line>span::-moz-selection,.cm-s-ambiance .CodeMirror-line>span>span::-moz-selection{background:hsla(0,0%,100%,.1)}.cm-s-ambiance.CodeMirror{line-height:1.4em;color:#e6e1dc;background-color:#202020;box-shadow:inset 0 0 10px #000}.cm-s-ambiance .CodeMirror-gutters{background:#3d3d3d;border-right:1px solid #4d4d4d;box-shadow:0 10px 20px #000}.cm-s-ambiance .CodeMirror-linenumber{text-shadow:0 1px 1px #4d4d4d;color:#111;padding:0 5px}.cm-s-ambiance .CodeMirror-guttermarker{color:#aaa}.cm-s-ambiance .CodeMirror-guttermarker-subtle{color:#111}.cm-s-ambiance .CodeMirror-cursor{border-left:1px solid #7991e8}.cm-s-ambiance .CodeMirror-activeline-background{background:none repeat scroll 0 0 hsla(0,0%,100%,.031)}.cm-s-ambiance.CodeMirror,.cm-s-ambiance .CodeMirror-gutters{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAQAAAAHUWYVAABFFUlEQVQYGbzBCeDVU/74/6fj9HIcx/FRHx9JCFmzMyGRURhLZIkUsoeRfUjS2FNDtr6WkMhO9sm+S8maJfu+Jcsg+/o/c+Z4z/t97/vezy3z+z8ekGlnYICG/o7gdk+wmSHZ1z4pJItqapjoKXWahm8NmV6eOTbWUOp6/6a/XIg6GQqmenJ2lDHyvCFZ2cBDbmtHA043VFhHwXxClWmeYAdLhV00Bd85go8VmaFCkbVkzlQENzfBDZ5gtN7HwF0KDrTwJ0dypSOzpaKCMwQHKTIreYIxlmhXTzTWkVm+LTynZhiSBT3RZQ7aGfjGEd3qyXQ1FDymqbKxpspERQN2MiRjNZlFFQXfCNFm9nM1zpAsoYjmtRTc5ajwuaXc5xrWskT97RaKzAGe5ARHhVUsDbjKklziiX5WROcJwSNCNI+9w1Jwv4Zb2r7lCMZ4oq5C0EdTx+2GzNuKpJ+iFf38JEWkHJn9DNF7mmBDITrWEg0VWL3pHU20tSZnuqWu+R3BtYa8XxV1HO7GyD32UkOpL/yDloINFTmvtId+nmAjxRw40VMwVKiwrKLE4bK5UOVntYwhOcSSXKrJHKPJedocpGjVz/ZMIbnYUPB10/eKCrs5apqpgVmWzBYWpmtKHecJPjaUuEgRDDaU0oZghCJ6zNMQ5ZhDYx05r5v2muQdM0EILtXUsaKiQX9WMEUotagQzFbUNN6NUPC2nm5pxEWGCjMc3GdJHjSU2kORLK/JGSrkfGEIjncU/CYUnOipoYemwj8tST9NsJmB7TUVXtbUtXATJVZXBMvYeTXJfobgJUPmGMP/yFaWonaa6BcFO3nqcIqCozSZoZoSr1g4zJOzuyGnxTEX3lUEJ7WcZgme8ddaWvWJo2AJR9DZU3CUIbhCSG6ybSwN6qtJVnCU2svDTP2ZInOw2cBTrqtQahtNZn9NcJ4l2NaSmSkkP1noZWnVwkLmdUPOwLZEwy2Z3S3R+4rIG9hcbpPXHFVWcQdZkn2FOta3cKWQnNRC5g1LsJah4GCzSVsKnCOY5OAFRTBekyyryeyilhFKva75r4Mc0aWanGEaThcy31s439KKxTzJYY5WTHPU1FtIHjQU3Oip4xlNzj/lBw23dYZVliQa7WAXf4shetcQfatI+jWRDBPmyNeW6A1P5kdDgyYJlba0BIM8BZu1JfrFwItyjcAMR3K0BWOIrtMEXyhyrlVEx3ui5dUBjmB/Q3CXW85R4mBD0s7B+4q5tKUjOlb9qqmhi5AZ6GFIC5HXtOobdYGlVdMVbNJ8toNTFcHxnoL+muBagcctjWnbNMuR00uI7nQESwg5q2qqrKWIfrNUmeQocY6HuyxJV02wj36w00yhpmUFenv4p6fUkZYqLyuinx2RGOjhCXYyJF84oiU00YMOOhhquNdfbOB7gU88pY4xJO8LVdp6/q2voeB4R04vIdhSE40xZObx1HGGJ/ja0LBthFInKaLPPFzuCaYaoj8JjPME8yoyxo6zlBqkiUZYgq00OYMswbWO5NGmq+xhipxHLRW29ARjNKXO0wRnear8XSg4XFPLKEPUS1GqvyLwiuBUoa7zpZ0l5xxFwWmWZC1H5h5FwU8eQ7K+g8UcVY6TMQreVQT/8uQ8Z+ALIXnSEa2pYZQneE9RZbSBNYXfWYJzW/h/4j4Dp1tYVcFIC5019Vyi4ThPqSFCzjGWaHQTBU8q6vrVwgxP9Lkm840imWKpcLCjYTtrKuwvsKSnrvHCXGkSMk9p6lhckfRpIeis+N2PiszT+mFLspyGleUhDwcLrZqmyeylxwjBcKHEapqkmyangyLZRVOijwOtCY5SsG5zL0OwlCJ4y5KznF3EUNDDrinwiyLZRzOXtlBbK5ITHFGLp8Q0R6ab6mS7enI2cFrxOyHvOCFaT1HThS1krjCwqWeurCkk+willhCC+RSZnRXBiZaC5RXRIZYKp2lyfrHwiKPKR0JDzrdU2EFgpidawlFDR6FgXUMNa+g1FY3bUQh2cLCwosRdnuQTS/S+JVrGLeWIvtQUvONJxlqSQYYKpwoN2kaocLjdVsis4Mk80ESF2YpSkzwldjHkjFCUutI/r+EHDU8oCs6yzL3PhWiEooZdFMkymlas4AcI3KmoMMNSQ3tHzjGWCrcJJdYyZC7QFGwjRL9p+MrRkAGWzIaWCn9W0F3TsK01c2ZvQw0byvxuQU0r1lM0qJO7wW0kRIMdDTtXEdzi4VIh+EoIHm0mWtAtpCixlabgn83fKTI7anJe9ST7WIK1DMGpQmYeA58ImV6ezOGOzK2Kgq01pd60cKWiUi9Lievb/0vIDPHQ05Kzt4ddPckQBQtoaurjyHnek/nKzpQLrVgKPjIkh2v4uyezpv+Xoo7fPFXaGFp1vaLKxQ4uUpQQS5VuQs7BCq4xRJv7fwpVvvFEB3j+620haOuocqMhWd6TTPAEx+mdFNGHdranFe95WrWmIvlY4F1Dle2ECgc6cto7SryuqGGGha0tFQ5V53migUKmg6XKAo4qS3mik+0OZpAhOLeZKicacgaYcyx5hypYQE02ZA4xi/pNhOQxR4klNKyqacj+mpxnLTnnGSo85++3ZCZq6lrZkXlGEX3o+C9FieccJbZWVFjC0Yo1FZnJhoYMFoI1hEZ9r6hwg75HwzBNhbZCdJEfJwTPGzJvaKImw1yYX1HDAmpXR+ZJQ/SmgqMNVQb5vgamGwLtt7VwvP7Qk1xpiM5x5Cyv93E06MZmgs0Nya2azIKOYKCGBQQW97RmhKNKF02JZqHEJ4o58qp7X5EcZmc56trXEqzjCBZ1MFGR87Ql2tSTs6CGxS05PTzRQorkbw7aKoKXFDXsYW42VJih/q+FP2BdTzDTwVqOYB13liM50vG7wy28qagyuIXMeQI/Oqq8bcn5wJI50xH00CRntyfpL1T4hydYpoXgNiFzoIUTDZnLNRzh4TBHwbYGDvZkxmlyJloyr6tRihpeUG94GnKtIznREF0tzJG/OOr73JBcrSh1k6WuTprgLU+mnSGnv6Zge0NNz+kTDdH8nuAuTdJDCNb21LCiIuqlYbqGzT3RAoZofQfjFazkqeNWdYaGvYTM001EW2oKPvVk1ldUGSgUtHFwjKM1h9jnFcmy5lChoLNaQMGGDsYbKixlaMBmmsx1QjCfflwTfO/gckW0ruZ3jugKR3R5W9hGUWqCgxuFgsuaCHorotGKzGaeZB9DMsaTnKCpMtwTvOzhYk0rdrArKCqcaWmVk1+F372ur1YkKxgatI8Qfe1gIX9wE9FgS8ESmuABIXnRUbCapcKe+nO7slClSZFzpV/LkLncEb1qiO42fS3R855Su2mCLh62t1SYZZYVmKwIHjREF2uihTzB20JOkz7dkxzYQnK0UOU494wh+VWRc6Un2kpTaVgLDFEkJ/uhzRcI0YKGgpGWOlocBU/a4fKoJ/pEaNV6jip3+Es9VXY078rGnmAdf7t9ylPXS34RBSuYPs1UecZTU78WanhBCHpZ5sAoTz0LGZKjPf9TRypqWEiTvOFglL1fCEY3wY/++rbk7C8bWebA6p6om6PgOL2kp44TFJlVNBXae2rqqdZztOJpT87GQsE9jqCPIe9VReZuQ/CIgacsyZdCpIScSYqcZk8r+nsyCzhyfhOqHGOIvrLknC8wTpFcaYiGC/RU1NRbUeUpocQOnkRpGOrIOcNRx+1uA0UrzhSSt+VyS3SJpnFWkzNDqOFGIWcfR86DnmARTQ1HKIL33ExPiemeOhYSSjzlSUZZuE4TveoJLnBUOFof6KiysCbnAEcZgcUNTDOwkqWu3RWtmGpZwlHhJENdZ3miGz0lJlsKnjbwqSHQjpxnFDlTLLwqJPMZMjd7KrzkSG7VsxXBZE+F8YZkb01Oe00yyRK9psh5SYh29ySPKBo2ylNht7ZkZnsKenjKNJu9PNEyZpaCHv4Kt6RQsLvAVp7M9kIimmCUwGeWqLMmGuIotYMmWNpSahkhZw9FqZsVnKJhsjAHvtHMsTM9fCI06Dx/u3vfUXCqfsKRc4oFY2jMsoo/7DJDwZ1CsIKnJu+J9ldkpmiCxQx1rWjI+T9FwcWWzOuaYH0Hj7klNRVWEQpmaqosakiGNTFHdjS/qnUdmf0NJW5xsL0HhimCCZZSRzmSPTXJQ4aaztAwtZnoabebJ+htCaZ7Cm535ByoqXKbX1WRc4Eh2MkRXWzImVc96Cj4VdOKVxR84VdQsIUM8Psoou2byVHyZFuq7O8otbSQ2UAoeEWTudATLGSpZzVLlXVkPU2Jc+27lsw2jmg5T5VhbeE3BT083K9WsTTkFU/Osi0rC5lRlpwRHUiesNS0sOvmqGML1aRbPAxTJD9ZKtxuob+hhl8cwYGWpJ8nub7t5p6coYbMovZ1BTdaKn1jYD6h4GFDNFyT/Kqe1XCXphXHOKLZmuRSRdBPEfVUXQzJm5YGPGGJdvAEr7hHNdGZnuBvrpciGmopOLf5N0uVMy0FfYToJk90uUCbJupaVpO53UJXR2bVpoU00V2KOo4zMFrBd0Jtz2pa0clT5Q5L8IpQ177mWQejPMEJhuQjS10ref6HHjdEhy1P1EYR7GtO0uSsKJQYLiTnG1rVScj5lyazpqWGl5uBbRWl7m6ixGOOnEsMJR7z8J0n6KMnCdxhiNYQCoZ6CmYLnO8omC3MkW3bktlPmEt/VQQHejL3+dOE5FlPdK/Mq8hZxxJtLyRrepLThYKbLZxkSb5W52vYxNOaOxUF0yxMUPwBTYqCzy01XayYK0sJyWBLqX0MwU5CzoymRzV0EjjeUeLgDpTo6ij42ZAzvD01dHUUTPLU96MdLbBME8nFBn7zJCMtJcZokn8YoqU0FS5WFKyniHobguMcmW8N0XkWZjkyN3hqOMtS08r+/xTBwpZSZ3qiVRX8SzMHHjfUNFjgHEPmY9PL3ykEzxkSre/1ZD6z/NuznuB0RcE1TWTm9zRgfUWVJiG6yrzgmWPXC8EAR4Wxhlad0ZbgQyEz3pG5RVEwwDJH2mgKpjcTiCOzn1lfUWANFbZ2BA8balnEweJC9J0iuaeZoI+ippFCztEKVvckR2iice1JvhVytrQwUAZpgsubCPaU7xUe9vWnaOpaSBEspalykhC9bUlOMpT42ZHca6hyrqKmw/wMR8H5ZmdFoBVJb03O4UL0tSNnvIeRmkrLWqrs78gcrEn2tpcboh0UPOW3UUR9PMk4T4nnNKWmCjlrefhCwxRNztfmIQVdDElvS4m1/WuOujoZCs5XVOjtKPGokJzsYCtFYoWonSPT21DheU/wWhM19FcElwqNGOsp9Q8N/cwXaiND1MmeL1Q5XROtYYgGeFq1aTMsoMmcrKjQrOFQTQ1fmBYhmW6o8Jkjc7iDJRTBIo5kgJD5yMEYA3srCg7VFKwiVJkmRCc5ohGOKhsYMn/XBLdo5taZjlb9YAlGWRimqbCsoY7HFAXLa5I1HPRxMMsQDHFkWtRNniqT9UEeNjcE7RUlrCJ4R2CSJuqlKHWvJXjAUNcITYkenuBRB84TbeepcqTj3zZyFJzgYQdHnqfgI0ddUwS6GqWpsKWhjq9cV0vBAEMN2znq+EBfIWT+pClYw5xsTlJU6GeIBsjGmmANTzJZiIYpgrM0Oa8ZMjd7NP87jxhqGOhJlnQtjuQpB+8aEE00wZFznSJPyHxgH3HkPOsJFvYk8zqCHzTs1BYOa4J3PFU+UVRZxlHDM4YavlNUuMoRveiZA2d7grMNc2g+RbSCEKzmgYsUmWmazFJyoiOZ4KnyhKOGRzWJa0+moyV4TVHDzn51Awtqaphfk/lRQ08FX1iiqxTB/kLwd0VynKfEvI6cd4XMV5bMhZ7gZUWVzYQ6Nm2BYzxJbw3bGthEUUMfgbGeorae6DxHtJoZ6alhZ0+ytiVoK1R4z5PTrOECT/SugseEOlb1MMNR4VRNcJy+V1Hg9ONClSZFZjdHlc6W6FBLdJja2MC5hhpu0DBYEY1TFGwiFAxRRCsYkiM9JRb0JNMVkW6CZYT/2EiTGWmo8k+h4FhDNE7BvppoTSFnmCV5xZKzvcCdDo7VVPnIU+I+Rc68juApC90MwcFCsJ5hDqxgScYKreruyQwTqrzoqDCmhWi4IbhB0Yrt3RGa6GfDv52rKXWhh28dyZaWUvcZeMTBaZoSGyiCtRU5J8iviioHaErs7Jkj61syVzTTgOcUOQ8buFBTYWdL5g3T4qlpe0+wvD63heAXRfCCIed9RbCsp2CiI7raUOYOTU13N8PNHvpaGvayo4a3LLT1lDrVEPT2zLUlheB1R+ZTRfKWJ+dcocLJfi11vyJ51lLqJ0WD7tRwryezjiV5W28uJO9qykzX8JDe2lHl/9oyBwa2UMfOngpXCixvKdXTk3wrsKmiVYdZIqsoWEERjbcUNDuiaQomGoIbFdEHmsyWnuR+IeriKDVLnlawlyNHKwKlSU631PKep8J4Q+ayjkSLKYLhalNHlYvttb6fHm0p6OApsZ4l2VfdqZkjuysy6ysKLlckf1KUutCTs39bmCgEyyoasIWlVaMF7mgmWtBT8Kol5xpH9IGllo8cJdopcvZ2sImlDmMIbtDk3KIpeNiS08lQw11NFPTwVFlPP6pJ2gvRfI7gQUfmNAtf6Gs0wQxDsKGlVBdF8rCa3jzdwMaGHOsItrZk7hAyOzpK9VS06j5F49b0VNGOOfKs3lDToMsMBe9ZWtHFEgxTJLs7qrygKZjUnmCYoeAqeU6jqWuLJup4WghOdvCYJnrSkSzoyRkm5M2StQwVltPkfCAk58tET/CSg+8MUecmotMEnhBKfWBIZsg2ihruMJQaoIm+tkTLKEqspMh00w95gvFCQRtDwTT1gVDDSEVdlwqZfxoQRbK0g+tbiBZxzKlpnpypejdDwTaeOvorMk/IJE10h9CqRe28hhLbe0pMsdSwv4ZbhKivo2BjDWfL8UKJgeavwlwb5KlwhyE4u4XkGE2ytZCznKLCDZZq42VzT8HLCrpruFbIfOIINmh/qCdZ1ZBc65kLHR1Bkyf5zn6pN3SvGKIlFNGplhrO9QSXanLOMQTLCa0YJCRrCZm/CZmrLTm7WzCK4GJDiWUdFeYx1LCFg3NMd0XmCuF3Y5rITLDUsYS9zoHVzwnJoYpSTQoObyEzr4cFBNqYTopoaU/wkyLZ2lPhX/5Y95ulxGTV7KjhWrOZgl8MyUUafjYraNjNU1N3IWcjT5WzWqjwtoarHSUObGYO3GCJZpsBlnJGPd6ZYLyl1GdCA2625IwwJDP8GUKymbzuyPlZlvTUsaUh5zFDhRWFzPKKZLAlWdcQbObgF9tOqOsmB1dqcqYJmWstFbZRRI9poolmqiLnU0POvxScpah2iSL5UJNzgScY5+AuIbpO0YD3NCW+dLMszFSdFCWGqG6eVq2uYVNDdICGD6W7EPRWZEY5gpsE9rUkS3mijzzJnm6UpUFXG1hCUeVoS5WfNcFpblELL2qqrCvMvRfd45oalvKU2tiQ6ePJOVMRXase9iTtLJztPxJKLWpo2CRDcJwn2sWSLKIO1WQWNTCvpVUvOZhgSC40JD0dOctaSqzkCRbXsKlb11Oip6PCJ0IwSJM31j3akRxlP7Rwn6aGaUL0qiLnJkvB3xWZ2+Q1TfCwpQH3G0o92UzmX4o/oJNQMMSQc547wVHhdk+VCw01DFYEnTxzZKAm74QmeNNR1w6WzEhNK15VJzuCdxQ53dRUDws5KvwgBMOEgpcVNe0hZI6RXT1Jd0cyj5nsaEAHgVmGaJIlWdsc5Ui2ElrRR6jrRAttNMEAIWrTDFubkZaok7/AkzfIwfuWVq0jHzuCK4QabtLUMVPB3kJ0oyHTSVFlqMALilJf2Rf8k5aaHtMfayocLBS8L89oKoxpJvnAkDPa0qp5DAUTHKWmCcnthlou8iCKaFFLHWcINd1nyIwXqrSxMNmSs6KmoL2QrKuWtlQ5V0120xQ5vRyZS1rgFkWwhiOwiuQbR0OOVhQM9iS3tiXp4RawRPMp5tDletOOBL95MpM01dZTBM9pkn5qF010rIeHFcFZhmSGpYpTsI6nwhqe5C9ynhlpp5ophuRb6WcJFldkVnVEwwxVfrVkvnWUuNLCg5bgboFHPDlDPDmnK7hUrWiIbjadDclujlZcaokOFup4Ri1kacV6jmrrK1hN9bGwpKEBQ4Q6DvIUXOmo6U5LqQM6EPyiKNjVkPnJkDPNEaxhiFay5ExW1NXVUGqcpYYdPcGiCq7z/TSlbhL4pplWXKd7NZO5QQFrefhRQW/NHOsqcIglc4UhWklR8K0QzbAw08CBDnpbgqXdeD/QUsM4RZXDFBW6WJKe/mFPdH0LtBgiq57wFLzlyQzz82qYx5D5WJP5yVJDW01BfyHnS6HKO/reZqId1WGa4Hkh2kWodJ8i6KoIPlAj2hPt76CzXsVR6koPRzWTfKqIentatYpQw2me4AA3y1Kind3SwoOKZDcFXTwl9tWU6mfgRk9d71sKtlNwrjnYw5tC5n5LdKiGry3JKNlHEd3oaMCFHrazBPMp/uNJ+V7IudcSbeOIdjUEdwl0VHCOZo5t6YluEuaC9mQeMgSfOyKnYGFHcIeQ84yQWbuJYJpZw5CzglDH7gKnWqqM9ZTaXcN0TeYhR84eQtJT76JJ1lREe7WnnvsMmRc9FQ7SBBM9mV3lCUdmHk/S2RAMt0QjFNFqQpWjDPQ01DXWUdDBkXziKPjGEP3VP+zIWU2t7im41FOloyWzn/L6dkUy3VLDaZ6appgDLHPjJEsyvJngWEPUyVBiAaHCTEXwrLvSEbV1e1gKJniicWorC1MUrVjB3uDhJE/wgSOzk1DXpk0k73qCM8xw2UvD5kJmDUfOomqMpWCkJRlvKXGmoeBm18USjVIk04SClxTB6YrgLAPLWYK9HLUt5cmc0vYES8GnTeRc6skZbQkWdxRsIcyBRzx1DbTk9FbU0caTPOgJHhJKnOGIVhQqvKmo0llRw9sabrZkDtdg3PqaKi9oatjY8B+G371paMg6+mZFNNtQ04mWBq3rYLOmtWWQp8KJnpy9DdFensyjdqZ+yY40VJlH8wcdLzC8PZnvHMFUTZUrDTkLyQaGus5X5LzpYAf3i+e/ZlhqGqWhh6Ou6xTR9Z6oi5AZZtp7Mj2EEm8oSpxiYZCHU/1fbGdNNNRRoZMhmilEb2gqHOEJDtXkHK/JnG6IrvbPCwV3NhONVdS1thBMs1T4QOBcTWa2IzhMk2nW5Kyn9tXUtpv9RsG2msxk+ZsQzRQacJncpgke0+T8y5Fzj8BiGo7XlJjaTIlpQs7KFjpqGnKuoyEPeIKnFMkZHvopgh81ySxNFWvJWcKRs70j2FOT012IllEEO1n4pD1513Yg2ssQPOThOkvyrqHUdEXOSEsihmBbTbKX1kLBPWqWkLOqJbjB3GBIZmoa8qWl4CG/iZ7oiA72ZL7TJNeZUY7kFQftDcHHluBzRbCegzMtrRjVQpX2lgoPKKLJAkcbMl01XK2p7yhL8pCBbQ3BN2avJgKvttcrWDK3CiUOVxQ8ZP+pqXKyIxnmBymCg5vJjNfkPK4+c8cIfK8ocVt7kmfd/I5SR1hKvCzUtb+lhgc00ZaO6CyhIQP1Uv4yIZjload72PXX0OIJvnFU+0Zf6MhsJwTfW0r0UwQfW4LNLZl5HK261JCZ4qnBaAreVAS3WrjV0LBnNDUNNDToCEeFfwgcb4gOEqLRhirWkexrCEYKVV711DLYEE1XBEsp5tpTGjorkomKYF9FDXv7fR3BGwbettSxnyL53MBPjsxDZjMh+VUW9NRxq1DhVk+FSxQcaGjV9Pawv6eGByw5qzoy7xk4RsOShqjJwWKe/1pEEfzkobeD/dQJmpqedcyBTy2sr4nGNRH0c0SPWTLrqAc0OQcb/gemKgqucQT7ySWKCn2EUotoCvpZct7RO2sy/QW0IWcXd7pQRQyZVwT2USRO87uhjioTLKV2brpMUcMQRbKH/N2T+UlTpaMls6cmc6CCNy3JdYYSUzzJQ4oSD3oKLncULOiJvjBEC2oqnCJkJluCYy2ZQ5so9YYlZ1VLlQU1mXEW1jZERwj/MUSRc24TdexlqLKfQBtDTScJUV8FszXBEY5ktpD5Ur9hYB4Nb1iikw3JoYpkKX+RodRKFt53MMuRnKSpY31PwYaGaILh3wxJGz9TkTPEETxoCWZrgvOlmyMzxFEwVJE5xZKzvyJ4WxEc16Gd4Xe3Weq4XH2jKRikqOkGQ87hQnC7wBmGYLAnesX3M+S87eFATauuN+Qcrh7xIxXJbUIdMw3JGE3ylCWzrieaqCn4zhGM19TQ3z1oH1AX+pWEqIc7wNGAkULBo/ZxRaV9NNyh4Br3rCHZzbzmSfawBL0dNRwpW1kK9mxPXR9povcdrGSZK9c2k0xwFGzjuniCtRSZCZ6ccZ7gaktmgAOtKbG/JnOkJrjcQTdFMsxRQ2cLY3WTIrlCw1eWKn8R6pvt4GFDso3QoL4a3nLk3G6JrtME3dSenpx7PNFTmga0EaJTLQ061sEeQoWXhSo9LTXsaSjoJQRXeZLtDclbCrYzfzHHeaKjHCVOUkQHO3JeEepr56mhiyaYYKjjNU+Fed1wS5VlhWSqI/hYUdDOkaxiKehoyOnrCV5yBHtbWFqTHCCwtpDcYolesVR5yUzTZBb3RNMd0d6WP+SvhuBmRcGxnuQzT95IC285cr41cLGQ6aJJhmi4TMGempxeimBRQw1tFKV+8jd6KuzoSTqqDxzRtpZkurvKEHxlqXKRIjjfUNNXQsNOsRScoWFLT+YeRZVD3GRN0MdQcKqQjHDMrdGGVu3iYJpQx3WGUvfbmxwFfR20WBq0oYY7LMFhhgYtr8jpaEnaOzjawWWaTP8mMr0t/EPDPoqcnxTBI5o58L7uoWnMrpoqPwgVrlAUWE+V+TQl9rawoyP6QGAlQw2TPRX+YSkxyBC8Z6jhHkXBgQL7WII3DVFnRfCrBfxewv9D6xsyjys4VkhWb9pUU627JllV0YDNHMku/ldNMMXDEo4aFnAkk4U6frNEU4XgZUPmEKHUl44KrzmYamjAbh0JFvGnaTLPu1s9jPCwjFpYiN7z1DTOk/nc07CfDFzmCf7i+bfNHXhDtLeBXzTBT5rkMvWOIxpl4EMh2LGJBu2syDnAEx2naEhHDWMMzPZEhygyS1mS5RTJr5ZkoKbEUoYqr2kqdDUE8ztK7OaIntJkFrIECwv8LJTaVx5XJE86go8dFeZ3FN3rjabCAYpoYEeC9zzJVULBbmZhDyd7ko09ydpNZ3nm2Kee4FPPXHnYEF1nqOFEC08LUVcDvYXkJHW8gTaKCk9YGOeIJhqiE4ToPEepdp7IWFjdwnWaufGMwJJCMtUTTBBK9BGCOy2tGGrJTHIwyEOzp6aPzNMOtlZkDvcEWpP5SVNhfkvDxhmSazTJXYrM9U1E0xwFVwqZQwzJxw6+kGGGUj2FglGGmnb1/G51udRSMNlTw6GGnCcUwVcOpmsqTHa06o72sw1RL02p9z0VbnMLOaIX3QKaYKSCFQzBKEUNHTSc48k53RH9wxGMtpQa5KjjW0W0n6XCCCG4yxNNdhQ4R4l1Ff+2sSd6UFHiIEOyqqFgT01mEUMD+joy75jPhOA+oVVLm309FR4yVOlp4RhLiScNmSmaYF5Pw0STrOIoWMSR2UkRXOMp+M4SHW8o8Zoi6OZgjKOaFar8zZDzkWzvKOjkKBjmCXby8JahhjXULY4KlzgKLvAwxVGhvyd4zxB1d9T0piazmKLCVZY5sKiD0y2ZSYrkUEPUbIk+dlQ4SJHTR50k1DPaUWIdTZW9NJwnJMOECgd7ou/MnppMJ02O1VT4Wsh85MnZzcFTngpXGKo84qmwgKbCL/orR/SzJ2crA+t6Mp94KvxJUeIbT3CQu1uIdlQEOzlKfS3UMcrTiFmOuroocrZrT2AcmamOKg8YomeEKm/rlT2sociMaybaUlFhuqHCM2qIJ+rg4EcDFymiDSxzaHdPcpE62pD5kyM5SBMoA1PaUtfIthS85ig1VPiPPYXgYEMNk4Qq7TXBgo7oT57gPUdwgCHzhIVFPFU6OYJzHAX9m5oNrVjeE61miDrqQ4VSa1oiURTsKHC0IfjNwU2WzK6eqK8jWln4g15TVBnqmDteCJ501PGAocJhhqjZdtBEB6lnhLreFJKxmlKbeGrqLiSThVIbCdGzloasa6lpMQXHCME2boLpJgT7yWaemu6wBONbqGNVRS0PKIL7LckbjmQtR7K8I5qtqel+T/ChJTNIKLjdUMNIRyvOEko9YYl2cwQveBikCNawJKcLBbc7+JM92mysNvd/Fqp8a0k6CNEe7cnZrxlW0wQXaXjaktnRwNOGZKYiONwS7a1JVheq3WgJHlQUGKHKmp4KAxXR/ULURcNgoa4zhKSLpZR3kxRRb0NmD0OFn+UCS7CzI1nbP6+o4x47QZE5xRCt3ZagnYcvmpYQktXdk5YKXTzBC57kKEe0VVuiSYqapssMS3C9p2CKkHOg8B8Pa8p5atrIw3qezIWanMGa5HRDNF6RM9wcacl0N+Q8Z8hsIkSnaIIdHRUOEebAPy1zbCkhM062FCJtif7PU+UtoVXzWKqM1PxXO8cfdruhFQ/a6x3JKYagvVDhQEtNiyiiSQ7OsuRsZUku0CRNDs4Sog6KKjsZgk2bYJqijgsEenoKeniinRXBn/U3lgpPdyDZynQx8IiioMnCep5Ky8mjGs6Wty0l1hUQTcNWswS3WRp2kCNZwJG8omG8JphPUaFbC8lEfabwP7VtM9yoaNCAjpR41VNhrD9LkbN722v0CoZMByFzhaW+MyzRYEWFDQwN2M4/JiT76PuljT3VU/A36eaIThb+R9oZGOAJ9tewkgGvqOMNRWYjT/Cwu99Q8LqDE4TgbLWxJ1jaDDAERsFOFrobgjUsBScaguXU8kKm2RL19tRypSHnHNlHiIZqgufs4opgQdVdwxBNNFBR6kVFqb8ogimOzB6a6HTzrlDHEpYaxjiiA4TMQobkDg2vejjfwJGWmnbVFAw3H3hq2NyQfG7hz4aC+w3BbwbesG0swYayvpAs6++Ri1Vfzx93mFChvyN5xVHTS+0p9aqCAxyZ6ZacZyw5+7uuQkFPR9DDk9NOiE7X1PCYJVjVUqq7JlrHwWALF5nfHNGjApdpqgzx5OwilDhCiDYTgnc9waGW4BdLNNUQvOtpzDOWHDH8D7TR/A/85KljEQu3NREc4Pl/6B1Hhc8Umb5CsKMmGC9EPcxoT2amwHNCmeOEnOPbklnMkbOgIvO5UMOpQrS9UGVdt6iH/fURjhI/WOpaW9OKLYRod6HCUEdOX000wpDZQ6hwg6LgZfOqo1RfT/CrJzjekXOGhpc1VW71ZLbXyyp+93ILbC1kPtIEYx0FIx1VDrLoVzXRKRYWk809yYlC9ImcrinxtabKnzRJk3lAU1OLEN1j2zrYzr2myHRXJFf4h4QKT1qSTzTB5+ZNTzTRkAxX8FcLV2uS8eoQQ2aAkFzvCM72sJIcJET3WPjRk5wi32uSS9rfZajpWEvj9hW42F4o5NytSXYy8IKHay10VYdrcl4SkqscrXpMwyGOgtkajheSxdQqmpxP1L3t4R5PqasFnrQEjytq6qgp9Y09Qx9o4S1FzhUCn1kyHSzBWLemoSGvOqLNhZyBjmCaAUYpMgt4Ck7wBBMMwWKWgjsUwTaGVsxWC1mYoKiyqqeGKYqonSIRQ3KIkHO0pmAxTdBHkbOvfllfr+AA+7gnc50huVKYK393FOyg7rbPO/izI7hE4CnHHHnJ0ogNPRUGeUpsrZZTBJcrovUcJe51BPsr6GkJdhCCsZ6aTtMEb2pqWkqeVtDXE/QVggsU/Nl86d9RMF3DxvZTA58agu810RWawCiSzzXBeU3MMW9oyJUedvNEvQyNu1f10BSMddR1vaLCYpYa/mGocLSiYDcLbQz8aMn5iyF4xBNMs1P0QEOV7o5gaWGuzSeLue4tt3ro7y4Tgm4G/mopdZgl6q0o6KzJWE3mMksNr3r+a6CbT8g5wZNzT9O7fi/zpaOmnz3BRoqos+tv9zMbdpxsqDBOEewtJLt7cg5wtKKbvldpSzRRCD43VFheCI7yZLppggMVBS/KMAdHODJvOwq2NQSbKKKPLdFWQs7Fqo+mpl01JXYRgq8dnGLhTiFzqmWsUMdpllZdbKlyvSdYxhI9YghOtxR8LgSLWHK62mGGVoxzBE8LNWzqH9CUesQzFy5RQzTc56mhi6fgXEWwpKfE5Z7M05ZgZUPmo6auiv8YKzDYwWBLMErIbKHJvOwIrvEdhOBcQ9JdU1NHQ7CXn2XIDFBKU2WAgcX9UAUzDXWd5alwuyJ41Z9rjKLCL4aCp4WarhPm2rH+SaHUYE001JDZ2ZAzXPjdMpZWvC9wmqIB2lLhQ01D5jO06hghWMndbM7yRJMsoCj1vYbnFQVrW9jak3OlEJ3s/96+p33dEPRV5GxiqaGjIthUU6FFEZyqCa5qJrpBdzSw95IUnOPIrCUUjRZQFrbw5PR0R1qiYx3cb6nrWUMrBmmiBQxVHtTew5ICP/ip6g4hed/Akob/32wvBHsIOX83cI8hGeNeNPCIkPmXe8fPKx84OMSRM1MTdXSwjCZ4S30jVGhvqTRak/OVhgGazHuOCud5onEO1lJr6ecVyaOK6H7zqlBlIaHE0oroCgfvGJIdPcmfLNGLjpz7hZwZQpUbFME0A1cIJa7VNORkgfsMBatbKgwwJM9bSvQXeNOvbIjelg6WWvo5kvbKaJJNHexkKNHL9xRyFlH8Ti2riB5wVPhUk7nGkJnoCe428LR/wRGdYIlmWebCyxou1rCk4g/ShugBDX0V0ZQWkh0dOVsagkM0yV6OoLd5ye+pRlsCr0n+KiQrGuq5yJDzrTAXHtLUMduTDBVKrSm3eHL+6ijxhFDX9Z5gVU/wliHYTMiMFpKLNMEywu80wd3meoFmt6VbRMPenhrOc6DVe4pgXU8DnnHakLOIIrlF4FZPIw6R+zxBP0dyq6OOZ4Q5sLKCcz084ok+VsMMyQhNZmmBgX5xIXOEJTmi7VsGTvMTNdHHhpzdbE8Du2oKxgvBqQKdDDnTFOylCFaxR1syz2iqrOI/FEpNc3C6f11/7+ASS6l2inq2ciTrCCzgyemrCL5SVPjQkdPZUmGy2c9Sw9FtR1sS30RmsKPCS4rkIC/2U0MduwucYolGaPjKEyhzmiPYXagyWbYz8LWBDdzRimAXzxx4z8K9hpzlhLq+NiQ97HuKorMUfK/OVvC2JfiHUPCQI/q7J2gjK+tTDNxkCc4TMssqCs4TGtLVwQihyoAWgj9bosU80XGW6Ac9TJGziaUh5+hnFcHOnlaM1iRn29NaqGENTTTSUHCH2tWTeV0osUhH6psuVLjRUmGWhm6OZEshGeNowABHcJ2Bpy2ZszRcKkRXd2QuKVEeXnbfaEq825FguqfgfE2whlChSRMdron+LATTPQ2Z369t4B9C5gs/ylzv+CMmepIDPclFQl13W0rspPd1JOcbghGOEutqCv5qacURQl3dDKyvyJlqKXGPgcM9FfawJAMVmdcspcYKOZc4GjDYkFlK05olNMHyHn4zFNykyOxt99RkHlfwmiHo60l2EKI+mhreEKp080Tbug08BVPcgoqC5zWt+NLDTZ7oNSF51N1qie7Va3uCCwyZbkINf/NED6jzOsBdZjFN8oqG3wxVunqCSYYKf3EdhJyf9YWGf7tRU2oH3VHgPr1fe5J9hOgHd7xQ0y7qBwXr23aGErP0cm64JVjZwsOGqL+mhNgZmhJLW2oY4UhedsyBgzrCKrq7BmcpNVhR6jBPq64Vgi+kn6XE68pp8J5/+0wRHGOpsKenQn9DZntPzjRLZpDAdD2fnSgkG9tmIXnUwQ6WVighs7Yi2MxQ0N3CqYaCXkJ0oyOztMDJjmSSpcpvlrk0RMMOjmArQ04PRV1DO1FwhCVaUVPpKUM03JK5SxPsIWRu8/CGHi8UHChiqGFDTbSRJWeYUDDcH6vJWUxR4k1FXbMUwV6e4AJFXS8oMqsZKqzvYQ9DDQdZckY4aGsIhtlubbd2r3j4QBMoTamdPZk7O/Bf62lacZwneNjQoGcdVU7zJOd7ghsUHOkosagic6cnWc8+4gg285R6zZP5s1/LUbCKIznTwK36PkdwlOrl4U1LwfdCCa+IrvFkmgw1PCAUXKWo0sURXWcI2muKJlgyFzhynCY4RBOsqCjoI1R5zREco0n2Vt09BQtYSizgKNHfUmUrQ5UOCh51BFcLmY7umhYqXKQomOop8bUnWNNQcIiBcYaC6xzMNOS8JQQfeqKBmmglB+97ok/lfk3ygaHSyZaCRTzRxQo6GzLfa2jWBPepw+UmT7SQEJyiyRkhBLMVOfcoMjcK0eZChfUNzFAUzCsEN5vP/X1uP/n/aoMX+K+nw/Hjr/9xOo7j7Pju61tLcgvJpTWXNbfN5jLpi6VfCOviTktKlFusQixdEKWmEBUKNaIpjZRSSOXSgzaaKLdabrm1/9nZ+/f+vd/vz/v9+Xy+zZ7PRorYoZqyLrCwQdEAixxVOEXNNnjX2nUSRlkqGmWowk8lxR50JPy9Bo6qJXaXwNvREBvnThPEPrewryLhcAnj5WE15Fqi8W7R1sAuEu86S4ENikItFN4xkv9Af4nXSnUVcLiA9xzesFpivRRVeFKtsMRaKBhuSbjOELnAUtlSQUpXgdfB4Z1oSbnFEetbQ0IrAe+Y+pqnDcEJFj6S8LDZzZHwY4e3XONNlARraomNEt2bkvGsosA3ioyHm+6jCMbI59wqt4eeara28IzEmyPgoRaUOEDhTVdEJhmCoTWfC0p8aNkCp0oYqih2iqGi4yXeMkOsn4LdLLnmKfh/YogjNsPebeFGR4m9BJHLzB61XQ3BtpISfS2FugsK9FAtLWX1dCRcrCnUp44CNzuCowUZmxSRgYaE6Za0W2u/E7CVXCiI/UOR8aAm1+OSyE3mOUcwyc1zBBeoX1kiKy0Zfxck1Gsyulti11i83QTBF5Kg3pDQThFMVHiPSlK+0cSedng/VaS8bOZbtsBcTcZAR8JP5KeqQ1OYKAi20njdNNRpgnsU//K+JnaXJaGTomr7aYIphoRn9aeShJWKEq9LcozSF7QleEfDI5LYm5bgVkFkRwVDBCVu0DDIkGupo8TZBq+/pMQURYErJQmPKGKjNDkWOLx7Jd5QizdUweIaKrlP7SwJDhZvONjLkOsBBX9UpGxnydhXkfBLQ8IxgojQbLFnJf81JytSljclYYyEFyx0kVBvKWOFJmONpshGAcsduQY5giVNCV51eOdJYo/pLhbvM0uDHSevNKRcrKZIqnCtJeEsO95RoqcgGK4ocZcho1tTYtcZvH41pNQ7vA0WrhIfOSraIIntIAi+NXWCErdbkvrWwjRLrt0NKUdL6KSOscTOdMSOUtBHwL6OLA0vNSdynaWQEnCpIvKaIrJJEbvHkmuNhn6OjM8VkSGSqn1uYJCGHnq9I3aLhNME3t6GjIkO7xrNFumpyTNX/NrwX7CrIRiqqWijI9JO4d1iieykyfiposQIQ8YjjsjlBh6oHWbwRjgYJQn2NgSnNycmJAk3NiXhx44Sxykihxm8ybUwT1OVKySc7vi3OXVkdBJ4AyXBeksDXG0IhgtYY0lY5ahCD0ehborIk5aUWRJviMA7Xt5kyRjonrXENkm8yYqgs8VzgrJmClK20uMM3jRJ0FiQICQF9hdETlLQWRIb5ki6WDfWRPobvO6a4GP5mcOrNzDFELtTkONLh9dXE8xypEg7z8A9jkhrQ6Fhjlg/QVktJXxt4WXzT/03Q8IaQWSqIuEvloQ2mqC9Jfi7wRul4RX3pSPlzpoVlmCtI2jvKHCFhjcM3sN6lqF6HxnKelLjXWbwrpR4xzuCrTUZx2qq9oAh8p6ixCUGr78g8oyjRAtB5CZFwi80VerVpI0h+IeBxa6Zg6kWvpDHaioYYuEsRbDC3eOmC2JvGYLeioxGknL2UATNJN6hmtj1DlpLvDVmocYbrGCVJKOrg4X6DgddLA203BKMFngdJJFtFd7vJLm6KEpc5yjQrkk7M80SGe34X24nSex1Ra5Omgb71JKyg8SrU3i/kARKwWpH0kOGhKkObyfd0ZGjvyXlAkVZ4xRbYJ2irFMkFY1SwyWxr2oo4zlNiV+7zmaweFpT4kR3kaDAFW6xpSqzJay05FtYR4HmZhc9UxKbbfF2V8RG1MBmSaE+kmC6JnaRXK9gsiXhJHl/U0qM0WTcbyhwkYIvFGwjSbjfwhiJt8ZSQU+Bd5+marPMOkVkD0muxYLIfEuhh60x/J92itguihJSEMySVPQnTewnEm+620rTQEMsOfo4/kP/0ARvWjitlpSX7GxBgcMEsd3EEeYWvdytd+Saawi6aCIj1CkGb6Aj9rwhx16Cf3vAwFy5pyLhVonXzy51FDpdEblbkdJbUcEPDEFzQ8qNmhzzLTmmKWKbFCXeEuRabp6rxbvAtLF442QjQ+wEA9eL1xSR7Q0JXzlSHjJ4exq89yR0laScJ/FW6z4a73pFMEfDiRZvuvijIt86RaSFOl01riV2mD1UEvxGk/Geg5aWwGki1zgKPG9J2U8PEg8qYvMsZeytiTRXBMslCU8JSlxi8EabjwUldlDNLfzTUmCgxWsjqWCOHavYAqsknKFIO0yQ61VL5AVFxk6WhEaCAkdJgt9aSkzXlKNX2jEa79waYuc7gq0N3GDJGCBhoiTXUEPsdknCUE1CK0fwsiaylSF2uiDyO4XX3pFhNd7R4itFGc0k/ElBZwWvq+GC6szVeEoS/MZ+qylwpKNKv9Z469UOjqCjwlusicyTxG6VpNxcQ8IncoR4RhLbR+NdpGGmJWOcIzJGUuKPGpQg8rrG21dOMqQssJQ4RxH5jaUqnZuQ0F4Q+cjxLwPtpZbIAk3QTJHQWBE5S1BokoVtDd6lhqr9UpHSUxMcIYl9pojsb8h4SBOsMQcqvOWC2E8EVehqiJ1hrrAEbQxeK0NGZ0Gkq+guSRgniM23bIHVkqwx4hiHd7smaOyglyIyQuM978j4VS08J/A2G1KeMBRo4fBaSNhKUEZfQewVQ/C1I+MgfbEleEzCUw7mKXI0M3hd1EESVji8x5uQ41nxs1q4RMJCCXs7Iq9acpxn22oSDnQ/sJTxsCbHIYZiLyhY05TY0ZLIOQrGaSJDDN4t8pVaIrsqqFdEegtizc1iTew5Q4ayBDMUsQMkXocaYkc0hZua412siZ1rSXlR460zRJ5SlHGe5j801RLMlJTxtaOM3Q1pvxJ45zUlWFD7rsAbpfEm1JHxG0eh8w2R7QQVzBUw28FhFp5QZzq8t2rx2joqulYTWSuJdTYfWwqMFMcovFmSyJPNyLhE4E10pHzYjOC3huArRa571ZsGajQpQx38SBP5pyZB6lMU3khDnp0MBV51BE9o2E+TY5Ml2E8S7C0o6w1xvCZjf0HkVEHCzFoyNmqC+9wdcqN+Tp7jSDheE9ws8Y5V0NJCn2bk2tqSY4okdrEhx1iDN8cSudwepWmAGXKcJXK65H9to8jYQRH7SBF01ESUJdd0TayVInaWhLkOjlXE5irKGOnI6GSWGCJa482zBI9rCr0jyTVcEuzriC1vcr6mwFGSiqy5zMwxBH/TJHwjSPhL8+01kaaSUuMFKTcLEvaUePcrSmwn8DZrgikWb7CGPxkSjhQwrRk57tctmxLsb9sZvL9LSlyuSLlWkqOjwduo8b6Uv1DkmudIeFF2dHCgxVtk8dpIvHpBxhEOdhKk7OLIUSdJ+cSRY57B+0DgGUUlNfpthTfGkauzxrvTsUUaCVhlKeteTXCoJDCa2NOKhOmC4G1H8JBd4OBZReSRGkqcb/CO1PyLJTLB4j1q8JYaIutEjSLX8YKM+a6phdMsdLFUoV5RTm9JSkuDN8WcIon0NZMNZWh1q8C7SJEwV5HxrmnnTrf3KoJBlmCYI2ilSLlfEvlE4011NNgjgthzEua0oKK7JLE7HZHlEl60BLMVFewg4EWNt0ThrVNEVkkiTwpKXSWJzdRENgvKGq4IhjsiezgSFtsfCUq8qki5S1LRQeYQQ4nemmCkImWMw3tFUoUBZk4NOeZYEp4XRKTGa6wJjrWNHBVJR4m3FCnbuD6aak2WsMTh3SZImGCIPKNgsDpVwnsa70K31lCFJZYcwwSMFcQulGTsZuEaSdBXkPGZhu0FsdUO73RHjq8MPGGIfaGIbVTk6iuI3GFgucHrIQkmWSJdBd7BBu+uOryWAhY7+Lki9rK5wtEQzWwvtbqGhIMFwWRJsElsY4m9IIg9L6lCX0VklaPAYkfkZEGDnOWowlBJjtMUkcGK4Lg6EtoZInMUBVYLgn0UsdmCyCz7gIGHFfk+k1QwTh5We7A9x+IdJ6CvIkEagms0hR50eH9UnTQJ+2oiKyVlLFUE+8gBGu8MQ3CppUHesnjTHN4QB/UGPhCTHLFPHMFrCqa73gqObUJGa03wgbhHkrCfpEpzNLE7JDS25FMKhlhKKWKfCgqstLCPu1zBXy0J2ztwjtixBu8UTRn9LVtkmCN2iyFhtME70JHRQ1KVZXqKI/KNIKYMCYs1GUMEKbM1bKOI9LDXC7zbHS+bt+1MTWS9odA9DtrYtpbImQJ2VHh/lisEwaHqUk1kjKTAKknkBEXkbkdMGwq0dnhzLJF3NJH3JVwrqOB4Sca2hti75nmJN0WzxS6UxDYoEpxpa4htVlRjkYE7DZGzJVU72uC9IyhQL4i8YfGWSYLLNcHXloyz7QhNifmKSE9JgfGmuyLhc403Xm9vqcp6gXe3xuuv8F6VJNxkyTHEkHG2g0aKXL0MsXc1bGfgas2//dCONXiNLCX+5mB7eZIl1kHh7ajwpikyzlUUWOVOsjSQlsS+M0R+pPje/dzBXRZGO0rMtgQrLLG9VSu9n6CMXS3BhwYmSoIBhsjNBmZbgusE9BCPCP5triU4VhNbJfE+swSP27aayE8tuTpYYjtrYjMVGZdp2NpS1s6aBnKSHDsbKuplKbHM4a0wMFd/5/DmGyKrJSUaW4IBrqUhx0vyfzTBBLPIUcnZdrAkNsKR0sWRspumSns6Ch0v/qqIbBYUWKvPU/CFoyrDJGwSNFhbA/MlzKqjrO80hRbpKx0Jewsi/STftwGSlKc1JZyAzx05dhLEdnfQvhZOqiHWWEAHC7+30FuRcZUgaO5gpaIK+xsiHRUsqaPElTV40xQZQ107Q9BZE1nryDVGU9ZSQ47bmhBpLcYpUt7S+xuK/FiT8qKjwXYw5ypS2iuCv7q1gtgjhuBuB8LCFY5cUuCNtsQOFcT+4Ih9JX+k8Ea6v0iCIRZOtCT0Et00JW5UeC85Cg0ScK0k411HcG1zKtre3SeITBRk7WfwDhEvaYLTHP9le0m8By0JDwn4TlLW/aJOvGHxdjYUes+ScZigCkYQdNdEOhkiezgShqkx8ueKjI8lDfK2oNiOFvrZH1hS+tk7NV7nOmLHicGWEgubkXKdwdtZknCLJXaCpkrjZBtLZFsDP9CdxWsSr05Sxl6CMmoFbCOgryX40uDtamB7SVmXW4Ihlgpmq+00tBKUUa83WbjLUNkzDmY7cow1JDygyPGlhgGKYKz4vcV7QBNbJIgM11TUqZaMdwTeSguH6rOaw1JRKzaaGyxVm2EJ/uCIrVWUcZUkcp2grMsEjK+DMwS59jQk3Kd6SEq1d0S6uVmO4Bc1lDXTUcHjluCXEq+1OlBDj1pi9zgiXxnKuE0SqTXwhqbETW6RggMEnGl/q49UT2iCzgJvRwVXS2K/d6+ZkyUl7jawSVLit46EwxVljDZwoSQ20sDBihztHfk2yA8NVZghiXwrYHQdfKAOtzsayjhY9bY0yE2CWEeJ9xfzO423xhL5syS2TFJofO2pboHob0nY4GiAgRrvGQEDa/FWSsoaaYl0syRsEt3kWoH3B01shCXhTUWe9w3Bt44SC9QCh3eShQctwbaK2ApLroGCMlZrYqvlY3qYhM0aXpFkPOuoqJ3Dm6fxXrGwVF9gCWZagjPqznfkuMKQ8DPTQRO8ZqG1hPGKEm9IgpGW4DZDgTNriTxvFiq+Lz+0cKfp4wj6OCK9JSnzNSn9LFU7UhKZZMnYwcJ8s8yRsECScK4j5UOB95HFO0CzhY4xJxuCix0lDlEUeMdS6EZBkTsUkZ4K74dugyTXS7aNgL8aqjDfkCE0ZbwkCXpaWCKhl8P7VD5jxykivSyxyZrYERbe168LYu9ZYh86IkscgVLE7tWPKmJv11CgoyJltMEbrohtVAQfO4ImltiHEroYEs7RxAarVpY8AwXMcMReFOTYWe5iiLRQxJ5Q8DtJ8LQhWOhIeFESPGsILhbNDRljNbHzNRlTFbk2S3L0NOS6V1KFJYKUbSTcIIhM0wQ/s2TM0SRMNcQmSap3jCH4yhJZKSkwyRHpYYgsFeQ4U7xoCB7VVOExhXepo9ABBsYbvGWKXPME3lyH95YioZ0gssQRWWbI+FaSMkXijZXwgiTlYdPdkNLaETxlyDVIwqeaEus0aTcYcg0RVOkpR3CSJqIddK+90JCxzsDVloyrFd5ZAr4TBKfaWa6boEA7C7s6EpYaeFPjveooY72mjIccLHJ9HUwVlDhKkmutJDJBwnp1rvulJZggKDRfbXAkvC/4l3ozQOG9a8lxjx0i7nV4jSXc7vhe3OwIxjgSHjdEhhsif9YkPGlus3iLFDnWOFhtCZbJg0UbQcIaR67JjthoCyMEZRwhiXWyxO5QxI6w5NhT4U1WsJvDO60J34fW9hwzwlKij6ZAW9ne4L0s8C6XeBMEkd/LQy1VucBRot6QMlbivaBhoBgjqGiCJNhsqVp/S2SsG6DIONCR0dXhvWbJ+MRRZJkkuEjgDXJjFQW6SSL7GXK8Z2CZg7cVsbWGoKmEpzQ5elpiy8Ryg7dMkLLUEauzeO86CuwlSOlgYLojZWeJ9xM3S1PWfEfKl5ISLQ0MEKR8YOB2QfCxJBjrKPCN4f9MkaSsqoVXJBmP7EpFZ9UQfOoOFwSzBN4MQ8LsGrymlipcJQhmy0GaQjPqCHaXRwuCZwRbqK2Fg9wlClZqYicrIgMdZfxTQ0c7TBIbrChxmuzoKG8XRaSrIhhiyNFJkrC7oIAWMEOQa5aBekPCRknCo4IKPrYkvCDI8aYmY7WFtprgekcJZ3oLIqssCSMtFbQTJKwXYy3BY5oCh2iKPCpJOE+zRdpYgi6O2KmOAgvVCYaU4ySRek1sgyFhJ403QFHiVEmJHwtybO1gs8Hr5+BETQX3War0qZngYGgtVZtoqd6vFSk/UwdZElYqyjrF4HXUeFspIi9IGKf4j92pKGAdCYMVsbcV3kRF0N+R8LUd5PCsIGWoxDtBkCI0nKofdJQxT+LtZflvuc8Q3CjwWkq8KwUpHzkK/NmSsclCL0nseQdj5FRH5CNHSgtLiW80Of5HU9Hhlsga9bnBq3fEVltKfO5IaSTmGjjc4J0otcP7QsJUSQM8pEj5/wCuUuC2DWz8AAAAAElFTkSuQmCC")}.cm-s-base16-dark.CodeMirror{background:#151515;color:#e0e0e0}.cm-s-base16-dark div.CodeMirror-selected{background:#303030}.cm-s-base16-dark .CodeMirror-line::selection,.cm-s-base16-dark .CodeMirror-line>span::selection,.cm-s-base16-dark .CodeMirror-line>span>span::selection{background:rgba(48,48,48,.99)}.cm-s-base16-dark .CodeMirror-line::-moz-selection,.cm-s-base16-dark .CodeMirror-line>span::-moz-selection,.cm-s-base16-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(48,48,48,.99)}.cm-s-base16-dark .CodeMirror-gutters{background:#151515;border-right:0}.cm-s-base16-dark .CodeMirror-guttermarker{color:#ac4142}.cm-s-base16-dark .CodeMirror-guttermarker-subtle,.cm-s-base16-dark .CodeMirror-linenumber{color:#505050}.cm-s-base16-dark .CodeMirror-cursor{border-left:1px solid #b0b0b0}.cm-s-base16-dark span.cm-comment{color:#8f5536}.cm-s-base16-dark span.cm-atom,.cm-s-base16-dark span.cm-number{color:#aa759f}.cm-s-base16-dark span.cm-attribute,.cm-s-base16-dark span.cm-property{color:#90a959}.cm-s-base16-dark span.cm-keyword{color:#ac4142}.cm-s-base16-dark span.cm-string{color:#f4bf75}.cm-s-base16-dark span.cm-variable{color:#90a959}.cm-s-base16-dark span.cm-variable-2{color:#6a9fb5}.cm-s-base16-dark span.cm-def{color:#d28445}.cm-s-base16-dark span.cm-bracket{color:#e0e0e0}.cm-s-base16-dark span.cm-tag{color:#ac4142}.cm-s-base16-dark span.cm-link{color:#aa759f}.cm-s-base16-dark span.cm-error{background:#ac4142;color:#b0b0b0}.cm-s-base16-dark .CodeMirror-activeline-background{background:#202020}.cm-s-base16-dark .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-base16-light.CodeMirror{background:#f5f5f5;color:#202020}.cm-s-base16-light div.CodeMirror-selected{background:#e0e0e0}.cm-s-base16-light .CodeMirror-line::selection,.cm-s-base16-light .CodeMirror-line>span::selection,.cm-s-base16-light .CodeMirror-line>span>span::selection{background:#e0e0e0}.cm-s-base16-light .CodeMirror-line::-moz-selection,.cm-s-base16-light .CodeMirror-line>span::-moz-selection,.cm-s-base16-light .CodeMirror-line>span>span::-moz-selection{background:#e0e0e0}.cm-s-base16-light .CodeMirror-gutters{background:#f5f5f5;border-right:0}.cm-s-base16-light .CodeMirror-guttermarker{color:#ac4142}.cm-s-base16-light .CodeMirror-guttermarker-subtle,.cm-s-base16-light .CodeMirror-linenumber{color:#b0b0b0}.cm-s-base16-light .CodeMirror-cursor{border-left:1px solid #505050}.cm-s-base16-light span.cm-comment{color:#8f5536}.cm-s-base16-light span.cm-atom,.cm-s-base16-light span.cm-number{color:#aa759f}.cm-s-base16-light span.cm-attribute,.cm-s-base16-light span.cm-property{color:#90a959}.cm-s-base16-light span.cm-keyword{color:#ac4142}.cm-s-base16-light span.cm-string{color:#f4bf75}.cm-s-base16-light span.cm-variable{color:#90a959}.cm-s-base16-light span.cm-variable-2{color:#6a9fb5}.cm-s-base16-light span.cm-def{color:#d28445}.cm-s-base16-light span.cm-bracket{color:#202020}.cm-s-base16-light span.cm-tag{color:#ac4142}.cm-s-base16-light span.cm-link{color:#aa759f}.cm-s-base16-light span.cm-error{background:#ac4142;color:#505050}.cm-s-base16-light .CodeMirror-activeline-background{background:#dddcdc}.cm-s-base16-light .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-bespin.CodeMirror{background:#28211c;color:#9d9b97}.cm-s-bespin div.CodeMirror-selected{background:#36312e!important}.cm-s-bespin .CodeMirror-gutters{background:#28211c;border-right:0}.cm-s-bespin .CodeMirror-linenumber{color:#666}.cm-s-bespin .CodeMirror-cursor{border-left:1px solid #797977!important}.cm-s-bespin span.cm-comment{color:#937121}.cm-s-bespin span.cm-atom,.cm-s-bespin span.cm-number{color:#9b859d}.cm-s-bespin span.cm-attribute,.cm-s-bespin span.cm-property{color:#54be0d}.cm-s-bespin span.cm-keyword{color:#cf6a4c}.cm-s-bespin span.cm-string{color:#f9ee98}.cm-s-bespin span.cm-variable{color:#54be0d}.cm-s-bespin span.cm-variable-2{color:#5ea6ea}.cm-s-bespin span.cm-def{color:#cf7d34}.cm-s-bespin span.cm-error{background:#cf6a4c;color:#797977}.cm-s-bespin span.cm-bracket{color:#9d9b97}.cm-s-bespin span.cm-tag{color:#cf6a4c}.cm-s-bespin span.cm-link{color:#9b859d}.cm-s-bespin .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-bespin .CodeMirror-activeline-background{background:#404040}.cm-s-blackboard.CodeMirror{background:#0c1021;color:#f8f8f8}.cm-s-blackboard div.CodeMirror-selected{background:#253b76}.cm-s-blackboard .CodeMirror-line::selection,.cm-s-blackboard .CodeMirror-line>span::selection,.cm-s-blackboard .CodeMirror-line>span>span::selection{background:rgba(37,59,118,.99)}.cm-s-blackboard .CodeMirror-line::-moz-selection,.cm-s-blackboard .CodeMirror-line>span::-moz-selection,.cm-s-blackboard .CodeMirror-line>span>span::-moz-selection{background:rgba(37,59,118,.99)}.cm-s-blackboard .CodeMirror-gutters{background:#0c1021;border-right:0}.cm-s-blackboard .CodeMirror-guttermarker{color:#fbde2d}.cm-s-blackboard .CodeMirror-guttermarker-subtle,.cm-s-blackboard .CodeMirror-linenumber{color:#888}.cm-s-blackboard .CodeMirror-cursor{border-left:1px solid #a7a7a7}.cm-s-blackboard .cm-keyword{color:#fbde2d}.cm-s-blackboard .cm-atom,.cm-s-blackboard .cm-number{color:#d8fa3c}.cm-s-blackboard .cm-def{color:#8da6ce}.cm-s-blackboard .cm-variable{color:#ff6400}.cm-s-blackboard .cm-operator{color:#fbde2d}.cm-s-blackboard .cm-comment{color:#aeaeae}.cm-s-blackboard .cm-string,.cm-s-blackboard .cm-string-2{color:#61ce3c}.cm-s-blackboard .cm-meta{color:#d8fa3c}.cm-s-blackboard .cm-attribute,.cm-s-blackboard .cm-builtin,.cm-s-blackboard .cm-tag{color:#8da6ce}.cm-s-blackboard .cm-header{color:#ff6400}.cm-s-blackboard .cm-hr{color:#aeaeae}.cm-s-blackboard .cm-link{color:#8da6ce}.cm-s-blackboard .cm-error{background:#9d1e15;color:#f8f8f8}.cm-s-blackboard .CodeMirror-activeline-background{background:#3c3636}.cm-s-blackboard .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.cm-s-cobalt.CodeMirror{background:#002240;color:#fff}.cm-s-cobalt div.CodeMirror-selected{background:#b36539}.cm-s-cobalt .CodeMirror-line::selection,.cm-s-cobalt .CodeMirror-line>span::selection,.cm-s-cobalt .CodeMirror-line>span>span::selection{background:rgba(179,101,57,.99)}.cm-s-cobalt .CodeMirror-line::-moz-selection,.cm-s-cobalt .CodeMirror-line>span::-moz-selection,.cm-s-cobalt .CodeMirror-line>span>span::-moz-selection{background:rgba(179,101,57,.99)}.cm-s-cobalt .CodeMirror-gutters{background:#002240;border-right:1px solid #aaa}.cm-s-cobalt .CodeMirror-guttermarker{color:#ffee80}.cm-s-cobalt .CodeMirror-guttermarker-subtle,.cm-s-cobalt .CodeMirror-linenumber{color:#d0d0d0}.cm-s-cobalt .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-cobalt span.cm-comment{color:#08f}.cm-s-cobalt span.cm-atom{color:#845dc4}.cm-s-cobalt span.cm-attribute,.cm-s-cobalt span.cm-number{color:#ff80e1}.cm-s-cobalt span.cm-keyword{color:#ffee80}.cm-s-cobalt span.cm-string{color:#3ad900}.cm-s-cobalt span.cm-meta{color:#ff9d00}.cm-s-cobalt span.cm-tag,.cm-s-cobalt span.cm-variable-2{color:#9effff}.cm-s-cobalt .cm-type,.cm-s-cobalt span.cm-def,.cm-s-cobalt span.cm-variable-3{color:#fff}.cm-s-cobalt span.cm-bracket{color:#d8d8d8}.cm-s-cobalt span.cm-builtin,.cm-s-cobalt span.cm-special{color:#ff9e59}.cm-s-cobalt span.cm-link{color:#845dc4}.cm-s-cobalt span.cm-error{color:#9d1e15}.cm-s-cobalt .CodeMirror-activeline-background{background:#002d57}.cm-s-cobalt .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.cm-s-colorforth.CodeMirror{background:#000;color:#f8f8f8}.cm-s-colorforth .CodeMirror-gutters{background:#0a001f;border-right:1px solid #aaa}.cm-s-colorforth .CodeMirror-guttermarker{color:#ffbd40}.cm-s-colorforth .CodeMirror-guttermarker-subtle{color:#78846f}.cm-s-colorforth .CodeMirror-linenumber{color:#bababa}.cm-s-colorforth .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-colorforth span.cm-comment{color:#ededed}.cm-s-colorforth span.cm-def{color:#ff1c1c;font-weight:700}.cm-s-colorforth span.cm-keyword{color:#ffd900}.cm-s-colorforth span.cm-builtin{color:#00d95a}.cm-s-colorforth span.cm-variable{color:#73ff00}.cm-s-colorforth span.cm-string{color:#007bff}.cm-s-colorforth span.cm-number{color:#00c4ff}.cm-s-colorforth span.cm-atom{color:#606060}.cm-s-colorforth span.cm-variable-2{color:#eee}.cm-s-colorforth span.cm-type,.cm-s-colorforth span.cm-variable-3{color:#ddd}.cm-s-colorforth span.cm-meta{color:#ff0}.cm-s-colorforth span.cm-qualifier{color:#fff700}.cm-s-colorforth span.cm-bracket{color:#cc7}.cm-s-colorforth span.cm-tag{color:#ffbd40}.cm-s-colorforth span.cm-attribute{color:#fff700}.cm-s-colorforth span.cm-error{color:red}.cm-s-colorforth div.CodeMirror-selected{background:#333d53}.cm-s-colorforth span.cm-compilation{background:hsla(0,0%,100%,.12)}.cm-s-colorforth .CodeMirror-activeline-background{background:#253540}.cm-s-dracula.CodeMirror,.cm-s-dracula .CodeMirror-gutters{background-color:#282a36!important;color:#f8f8f2!important;border:none}.cm-s-dracula .CodeMirror-gutters{color:#282a36}.cm-s-dracula .CodeMirror-cursor{border-left:thin solid #f8f8f0}.cm-s-dracula .CodeMirror-linenumber{color:#6d8a88}.cm-s-dracula .CodeMirror-selected{background:hsla(0,0%,100%,.1)}.cm-s-dracula .CodeMirror-line::selection,.cm-s-dracula .CodeMirror-line>span::selection,.cm-s-dracula .CodeMirror-line>span>span::selection{background:hsla(0,0%,100%,.1)}.cm-s-dracula .CodeMirror-line::-moz-selection,.cm-s-dracula .CodeMirror-line>span::-moz-selection,.cm-s-dracula .CodeMirror-line>span>span::-moz-selection{background:hsla(0,0%,100%,.1)}.cm-s-dracula span.cm-comment{color:#6272a4}.cm-s-dracula span.cm-string,.cm-s-dracula span.cm-string-2{color:#f1fa8c}.cm-s-dracula span.cm-number{color:#bd93f9}.cm-s-dracula span.cm-variable{color:#50fa7b}.cm-s-dracula span.cm-variable-2{color:#fff}.cm-s-dracula span.cm-def{color:#50fa7b}.cm-s-dracula span.cm-keyword,.cm-s-dracula span.cm-operator{color:#ff79c6}.cm-s-dracula span.cm-atom{color:#bd93f9}.cm-s-dracula span.cm-meta{color:#f8f8f2}.cm-s-dracula span.cm-tag{color:#ff79c6}.cm-s-dracula span.cm-attribute,.cm-s-dracula span.cm-qualifier{color:#50fa7b}.cm-s-dracula span.cm-property{color:#66d9ef}.cm-s-dracula span.cm-builtin{color:#50fa7b}.cm-s-dracula span.cm-type,.cm-s-dracula span.cm-variable-3{color:#ffb86c}.cm-s-dracula .CodeMirror-activeline-background{background:hsla(0,0%,100%,.1)}.cm-s-dracula .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-duotone-dark.CodeMirror{background:#2a2734;color:#6c6783}.cm-s-duotone-dark div.CodeMirror-selected{background:#545167!important}.cm-s-duotone-dark .CodeMirror-gutters{background:#2a2734;border-right:0}.cm-s-duotone-dark .CodeMirror-linenumber{color:#545167}.cm-s-duotone-dark .CodeMirror-cursor{border-left:1px solid #ffad5c;border-right:.5em solid #ffad5c;opacity:.5}.cm-s-duotone-dark .CodeMirror-activeline-background{background:#363342;opacity:.5}.cm-s-duotone-dark .cm-fat-cursor .CodeMirror-cursor{background:#ffad5c;opacity:.5}.cm-s-duotone-dark span.cm-atom,.cm-s-duotone-dark span.cm-attribute,.cm-s-duotone-dark span.cm-hr,.cm-s-duotone-dark span.cm-keyword,.cm-s-duotone-dark span.cm-link,.cm-s-duotone-dark span.cm-number,.cm-s-duotone-dark span.cm-quote,.cm-s-duotone-dark span.cm-variable{color:#fc9}.cm-s-duotone-dark span.cm-property{color:#9a86fd}.cm-s-duotone-dark span.cm-negative,.cm-s-duotone-dark span.cm-punctuation,.cm-s-duotone-dark span.cm-unit{color:#e09142}.cm-s-duotone-dark span.cm-string{color:#ffb870}.cm-s-duotone-dark span.cm-operator{color:#ffad5c}.cm-s-duotone-dark span.cm-positive{color:#6a51e6}.cm-s-duotone-dark span.cm-string-2,.cm-s-duotone-dark span.cm-type,.cm-s-duotone-dark span.cm-url,.cm-s-duotone-dark span.cm-variable-2,.cm-s-duotone-dark span.cm-variable-3{color:#7a63ee}.cm-s-duotone-dark span.cm-builtin,.cm-s-duotone-dark span.cm-def,.cm-s-duotone-dark span.cm-em,.cm-s-duotone-dark span.cm-header,.cm-s-duotone-dark span.cm-qualifier,.cm-s-duotone-dark span.cm-tag{color:#eeebff}.cm-s-duotone-dark span.cm-bracket,.cm-s-duotone-dark span.cm-comment{color:#6c6783}.cm-s-duotone-dark span.cm-error,.cm-s-duotone-dark span.cm-invalidchar{color:red}.cm-s-duotone-dark span.cm-header{font-weight:400}.cm-s-duotone-dark .CodeMirror-matchingbracket{text-decoration:underline;color:#eeebff!important}.cm-s-duotone-light.CodeMirror{background:#faf8f5;color:#b29762}.cm-s-duotone-light div.CodeMirror-selected{background:#e3dcce!important}.cm-s-duotone-light .CodeMirror-gutters{background:#faf8f5;border-right:0}.cm-s-duotone-light .CodeMirror-linenumber{color:#cdc4b1}.cm-s-duotone-light .CodeMirror-cursor{border-left:1px solid #93abdc;border-right:.5em solid #93abdc;opacity:.5}.cm-s-duotone-light .CodeMirror-activeline-background{background:#e3dcce;opacity:.5}.cm-s-duotone-light .cm-fat-cursor .CodeMirror-cursor{background:#93abdc;opacity:.5}.cm-s-duotone-light-light span.cm-hr,.cm-s-duotone-light-light span.cm-link,.cm-s-duotone-light span.cm-atom,.cm-s-duotone-light span.cm-attribute,.cm-s-duotone-light span.cm-keyword,.cm-s-duotone-light span.cm-number,.cm-s-duotone-light span.cm-quote,.cm-s-duotone-light span.cm-variable{color:#063289}.cm-s-duotone-light span.cm-property{color:#b29762}.cm-s-duotone-light span.cm-negative,.cm-s-duotone-light span.cm-punctuation,.cm-s-duotone-light span.cm-unit{color:#063289}.cm-s-duotone-light span.cm-operator,.cm-s-duotone-light span.cm-string{color:#1659df}.cm-s-duotone-light span.cm-positive,.cm-s-duotone-light span.cm-string-2,.cm-s-duotone-light span.cm-type,.cm-s-duotone-light span.cm-url,.cm-s-duotone-light span.cm-variable-2,.cm-s-duotone-light span.cm-variable-3{color:#896724}.cm-s-duotone-light span.cm-builtin,.cm-s-duotone-light span.cm-def,.cm-s-duotone-light span.cm-em,.cm-s-duotone-light span.cm-header,.cm-s-duotone-light span.cm-qualifier,.cm-s-duotone-light span.cm-tag{color:#2d2006}.cm-s-duotone-light span.cm-bracket,.cm-s-duotone-light span.cm-comment{color:#b6ad9a}.cm-s-duotone-light span.cm-error,.cm-s-duotone-light span.cm-invalidchar{color:red}.cm-s-duotone-light span.cm-header{font-weight:400}.cm-s-duotone-light .CodeMirror-matchingbracket{text-decoration:underline;color:#faf8f5!important}.cm-s-eclipse span.cm-meta{color:#ff1717}.cm-s-eclipse span.cm-keyword{line-height:1em;font-weight:700;color:#7f0055}.cm-s-eclipse span.cm-atom{color:#219}.cm-s-eclipse span.cm-number{color:#164}.cm-s-eclipse span.cm-def{color:#00f}.cm-s-eclipse span.cm-variable{color:#000}.cm-s-eclipse span.cm-type,.cm-s-eclipse span.cm-variable-2,.cm-s-eclipse span.cm-variable-3{color:#0000c0}.cm-s-eclipse span.cm-operator,.cm-s-eclipse span.cm-property{color:#000}.cm-s-eclipse span.cm-comment{color:#3f7f5f}.cm-s-eclipse span.cm-string{color:#2a00ff}.cm-s-eclipse span.cm-string-2{color:#f50}.cm-s-eclipse span.cm-qualifier{color:#555}.cm-s-eclipse span.cm-builtin{color:#30a}.cm-s-eclipse span.cm-bracket{color:#cc7}.cm-s-eclipse span.cm-tag{color:#170}.cm-s-eclipse span.cm-attribute{color:#00c}.cm-s-eclipse span.cm-link{color:#219}.cm-s-eclipse span.cm-error{color:red}.cm-s-eclipse .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-eclipse .CodeMirror-matchingbracket{outline:1px solid grey;color:#000!important}.cm-s-elegant span.cm-atom,.cm-s-elegant span.cm-number,.cm-s-elegant span.cm-string{color:#762}.cm-s-elegant span.cm-comment{color:#262;font-style:italic;line-height:1em}.cm-s-elegant span.cm-meta{color:#555;font-style:italic;line-height:1em}.cm-s-elegant span.cm-variable{color:#000}.cm-s-elegant span.cm-variable-2{color:#b11}.cm-s-elegant span.cm-qualifier{color:#555}.cm-s-elegant span.cm-keyword{color:#730}.cm-s-elegant span.cm-builtin{color:#30a}.cm-s-elegant span.cm-link{color:#762}.cm-s-elegant span.cm-error{background-color:#fdd}.cm-s-elegant .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-elegant .CodeMirror-matchingbracket{outline:1px solid grey;color:#000!important}.cm-s-erlang-dark.CodeMirror{background:#002240;color:#fff}.cm-s-erlang-dark div.CodeMirror-selected{background:#b36539}.cm-s-erlang-dark .CodeMirror-line::selection,.cm-s-erlang-dark .CodeMirror-line>span::selection,.cm-s-erlang-dark .CodeMirror-line>span>span::selection{background:rgba(179,101,57,.99)}.cm-s-erlang-dark .CodeMirror-line::-moz-selection,.cm-s-erlang-dark .CodeMirror-line>span::-moz-selection,.cm-s-erlang-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(179,101,57,.99)}.cm-s-erlang-dark .CodeMirror-gutters{background:#002240;border-right:1px solid #aaa}.cm-s-erlang-dark .CodeMirror-guttermarker{color:#fff}.cm-s-erlang-dark .CodeMirror-guttermarker-subtle,.cm-s-erlang-dark .CodeMirror-linenumber{color:#d0d0d0}.cm-s-erlang-dark .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-erlang-dark span.cm-quote{color:#ccc}.cm-s-erlang-dark span.cm-atom{color:#f133f1}.cm-s-erlang-dark span.cm-attribute{color:#ff80e1}.cm-s-erlang-dark span.cm-bracket{color:#ff9d00}.cm-s-erlang-dark span.cm-builtin{color:#eaa}.cm-s-erlang-dark span.cm-comment{color:#77f}.cm-s-erlang-dark span.cm-def{color:#e7a}.cm-s-erlang-dark span.cm-keyword{color:#ffee80}.cm-s-erlang-dark span.cm-meta{color:#50fefe}.cm-s-erlang-dark span.cm-number{color:#ffd0d0}.cm-s-erlang-dark span.cm-operator{color:#d55}.cm-s-erlang-dark span.cm-property,.cm-s-erlang-dark span.cm-qualifier{color:#ccc}.cm-s-erlang-dark span.cm-special{color:#fbb}.cm-s-erlang-dark span.cm-string{color:#3ad900}.cm-s-erlang-dark span.cm-string-2{color:#ccc}.cm-s-erlang-dark span.cm-tag{color:#9effff}.cm-s-erlang-dark span.cm-variable{color:#50fe50}.cm-s-erlang-dark span.cm-variable-2{color:#e0e}.cm-s-erlang-dark span.cm-type,.cm-s-erlang-dark span.cm-variable-3{color:#ccc}.cm-s-erlang-dark span.cm-error{color:#9d1e15}.cm-s-erlang-dark .CodeMirror-activeline-background{background:#013461}.cm-s-erlang-dark .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.cm-s-hopscotch.CodeMirror{background:#322931;color:#d5d3d5}.cm-s-hopscotch div.CodeMirror-selected{background:#433b42!important}.cm-s-hopscotch .CodeMirror-gutters{background:#322931;border-right:0}.cm-s-hopscotch .CodeMirror-linenumber{color:#797379}.cm-s-hopscotch .CodeMirror-cursor{border-left:1px solid #989498!important}.cm-s-hopscotch span.cm-comment{color:#b33508}.cm-s-hopscotch span.cm-atom,.cm-s-hopscotch span.cm-number{color:#c85e7c}.cm-s-hopscotch span.cm-attribute,.cm-s-hopscotch span.cm-property{color:#8fc13e}.cm-s-hopscotch span.cm-keyword{color:#dd464c}.cm-s-hopscotch span.cm-string{color:#fdcc59}.cm-s-hopscotch span.cm-variable{color:#8fc13e}.cm-s-hopscotch span.cm-variable-2{color:#1290bf}.cm-s-hopscotch span.cm-def{color:#fd8b19}.cm-s-hopscotch span.cm-error{background:#dd464c;color:#989498}.cm-s-hopscotch span.cm-bracket{color:#d5d3d5}.cm-s-hopscotch span.cm-tag{color:#dd464c}.cm-s-hopscotch span.cm-link{color:#c85e7c}.cm-s-hopscotch .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-hopscotch .CodeMirror-activeline-background{background:#302020}.cm-s-icecoder{color:#666;background:#1d1d1b}.cm-s-icecoder span.cm-keyword{color:#eee;font-weight:700}.cm-s-icecoder span.cm-atom{color:#e1c76e}.cm-s-icecoder span.cm-number{color:#6cb5d9}.cm-s-icecoder span.cm-def{color:#b9ca4a}.cm-s-icecoder span.cm-variable{color:#6cb5d9}.cm-s-icecoder span.cm-variable-2{color:#cc1e5c}.cm-s-icecoder span.cm-type,.cm-s-icecoder span.cm-variable-3{color:#f9602c}.cm-s-icecoder span.cm-property{color:#eee}.cm-s-icecoder span.cm-operator{color:#9179bb}.cm-s-icecoder span.cm-comment{color:#97a3aa}.cm-s-icecoder span.cm-string{color:#b9ca4a}.cm-s-icecoder span.cm-string-2{color:#6cb5d9}.cm-s-icecoder span.cm-meta,.cm-s-icecoder span.cm-qualifier{color:#555}.cm-s-icecoder span.cm-builtin{color:#214e7b}.cm-s-icecoder span.cm-bracket{color:#cc7}.cm-s-icecoder span.cm-tag{color:#e8e8e8}.cm-s-icecoder span.cm-attribute{color:#099}.cm-s-icecoder span.cm-header{color:#6a0d6a}.cm-s-icecoder span.cm-quote{color:#186718}.cm-s-icecoder span.cm-hr{color:#888}.cm-s-icecoder span.cm-link{color:#e1c76e}.cm-s-icecoder span.cm-error{color:#d00}.cm-s-icecoder .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-icecoder div.CodeMirror-selected{color:#fff;background:#037}.cm-s-icecoder .CodeMirror-gutters{background:#1d1d1b;min-width:41px;border-right:0}.cm-s-icecoder .CodeMirror-linenumber{color:#555;cursor:default}.cm-s-icecoder .CodeMirror-matchingbracket{color:#fff!important;background:#555!important}.cm-s-icecoder .CodeMirror-activeline-background{background:#000}.cm-s-isotope.CodeMirror{background:#000;color:#e0e0e0}.cm-s-isotope div.CodeMirror-selected{background:#404040!important}.cm-s-isotope .CodeMirror-gutters{background:#000;border-right:0}.cm-s-isotope .CodeMirror-linenumber{color:gray}.cm-s-isotope .CodeMirror-cursor{border-left:1px solid silver!important}.cm-s-isotope span.cm-comment{color:#30f}.cm-s-isotope span.cm-atom,.cm-s-isotope span.cm-number{color:#c0f}.cm-s-isotope span.cm-attribute,.cm-s-isotope span.cm-property{color:#3f0}.cm-s-isotope span.cm-keyword{color:red}.cm-s-isotope span.cm-string{color:#f09}.cm-s-isotope span.cm-variable{color:#3f0}.cm-s-isotope span.cm-variable-2{color:#06f}.cm-s-isotope span.cm-def{color:#f90}.cm-s-isotope span.cm-error{background:red;color:silver}.cm-s-isotope span.cm-bracket{color:#e0e0e0}.cm-s-isotope span.cm-tag{color:red}.cm-s-isotope span.cm-link{color:#c0f}.cm-s-isotope .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-isotope .CodeMirror-activeline-background{background:#202020}.cm-s-lesser-dark{line-height:1.3em}.cm-s-lesser-dark.CodeMirror{background:#262626;color:#ebefe7;text-shadow:0 -1px 1px #262626}.cm-s-lesser-dark div.CodeMirror-selected{background:#45443b}.cm-s-lesser-dark .CodeMirror-line::selection,.cm-s-lesser-dark .CodeMirror-line>span::selection,.cm-s-lesser-dark .CodeMirror-line>span>span::selection{background:rgba(69,68,59,.99)}.cm-s-lesser-dark .CodeMirror-line::-moz-selection,.cm-s-lesser-dark .CodeMirror-line>span::-moz-selection,.cm-s-lesser-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(69,68,59,.99)}.cm-s-lesser-dark .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-lesser-dark pre{padding:0 8px}.cm-s-lesser-dark.CodeMirror span.CodeMirror-matchingbracket{color:#7efc7e}.cm-s-lesser-dark .CodeMirror-gutters{background:#262626;border-right:1px solid #aaa}.cm-s-lesser-dark .CodeMirror-guttermarker{color:#599eff}.cm-s-lesser-dark .CodeMirror-guttermarker-subtle,.cm-s-lesser-dark .CodeMirror-linenumber{color:#777}.cm-s-lesser-dark span.cm-header{color:#a0a}.cm-s-lesser-dark span.cm-quote{color:#090}.cm-s-lesser-dark span.cm-keyword{color:#599eff}.cm-s-lesser-dark span.cm-atom{color:#c2b470}.cm-s-lesser-dark span.cm-number{color:#b35e4d}.cm-s-lesser-dark span.cm-def{color:#fff}.cm-s-lesser-dark span.cm-variable{color:#d9bf8c}.cm-s-lesser-dark span.cm-variable-2{color:#669199}.cm-s-lesser-dark span.cm-type,.cm-s-lesser-dark span.cm-variable-3{color:#fff}.cm-s-lesser-dark span.cm-operator,.cm-s-lesser-dark span.cm-property{color:#92a75c}.cm-s-lesser-dark span.cm-comment{color:#666}.cm-s-lesser-dark span.cm-string{color:#bcd279}.cm-s-lesser-dark span.cm-string-2{color:#f50}.cm-s-lesser-dark span.cm-meta{color:#738c73}.cm-s-lesser-dark span.cm-qualifier{color:#555}.cm-s-lesser-dark span.cm-builtin{color:#ff9e59}.cm-s-lesser-dark span.cm-bracket{color:#ebefe7}.cm-s-lesser-dark span.cm-tag{color:#669199}.cm-s-lesser-dark span.cm-attribute{color:#00c}.cm-s-lesser-dark span.cm-hr{color:#999}.cm-s-lesser-dark span.cm-link{color:#00c}.cm-s-lesser-dark span.cm-error{color:#9d1e15}.cm-s-lesser-dark .CodeMirror-activeline-background{background:#3c3a3a}.cm-s-lesser-dark .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.cm-s-liquibyte.CodeMirror{background-color:#000;color:#fff;line-height:1.2em;font-size:1em}.cm-s-liquibyte .CodeMirror-focused .cm-matchhighlight{text-decoration:underline;-webkit-text-decoration-color:#0f0;text-decoration-color:#0f0;-webkit-text-decoration-style:wavy;text-decoration-style:wavy}.cm-s-liquibyte .cm-trailingspace{text-decoration:line-through;-webkit-text-decoration-color:red;text-decoration-color:red;-webkit-text-decoration-style:dotted;text-decoration-style:dotted}.cm-s-liquibyte .cm-tab{text-decoration:line-through;-webkit-text-decoration-color:#404040;text-decoration-color:#404040;-webkit-text-decoration-style:dotted;text-decoration-style:dotted}.cm-s-liquibyte .CodeMirror-gutters{background-color:#262626;border-right:1px solid #505050;padding-right:.8em}.cm-s-liquibyte .CodeMirror-gutter-elt div{font-size:1.2em}.cm-s-liquibyte .CodeMirror-linenumber{color:#606060;padding-left:0}.cm-s-liquibyte .CodeMirror-cursor{border-left:1px solid #eee}.cm-s-liquibyte span.cm-comment{color:green}.cm-s-liquibyte span.cm-def{color:#ffaf40;font-weight:700}.cm-s-liquibyte span.cm-keyword{color:#c080ff;font-weight:700}.cm-s-liquibyte span.cm-builtin{color:#ffaf40;font-weight:700}.cm-s-liquibyte span.cm-variable{color:#5967ff;font-weight:700}.cm-s-liquibyte span.cm-string{color:#ff8000}.cm-s-liquibyte span.cm-number{color:#0f0;font-weight:700}.cm-s-liquibyte span.cm-atom{color:#bf3030;font-weight:700}.cm-s-liquibyte span.cm-variable-2{color:#007f7f;font-weight:700}.cm-s-liquibyte span.cm-type,.cm-s-liquibyte span.cm-variable-3{color:#c080ff;font-weight:700}.cm-s-liquibyte span.cm-property{color:#999;font-weight:700}.cm-s-liquibyte span.cm-operator{color:#fff}.cm-s-liquibyte span.cm-meta{color:#0f0}.cm-s-liquibyte span.cm-qualifier{color:#fff700;font-weight:700}.cm-s-liquibyte span.cm-bracket{color:#cc7}.cm-s-liquibyte span.cm-tag{color:#ff0;font-weight:700}.cm-s-liquibyte span.cm-attribute{color:#c080ff;font-weight:700}.cm-s-liquibyte span.cm-error{color:red}.cm-s-liquibyte div.CodeMirror-selected{background-color:rgba(255,0,0,.25)}.cm-s-liquibyte span.cm-compilation{background-color:hsla(0,0%,100%,.12)}.cm-s-liquibyte .CodeMirror-activeline-background{background-color:rgba(0,255,0,.15)}.cm-s-liquibyte .CodeMirror span.CodeMirror-matchingbracket{color:#0f0;font-weight:700}.cm-s-liquibyte .CodeMirror span.CodeMirror-nonmatchingbracket{color:red;font-weight:700}.CodeMirror-matchingtag{background-color:rgba(150,255,0,.3)}.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal div:hover,.cm-s-liquibyte div.CodeMirror-simplescroll-vertical div:hover{background-color:rgba(80,80,80,.7)}.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal div,.cm-s-liquibyte div.CodeMirror-simplescroll-vertical div{background-color:rgba(80,80,80,.3);border:1px solid #404040;border-radius:5px}.cm-s-liquibyte div.CodeMirror-simplescroll-vertical div{border-top:1px solid #404040;border-bottom:1px solid #404040}.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal div{border-left:1px solid #404040;border-right:1px solid #404040}.cm-s-liquibyte div.CodeMirror-simplescroll-vertical{background-color:#262626}.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal{background-color:#262626;border-top:1px solid #404040}.cm-s-liquibyte div.CodeMirror-overlayscroll-horizontal div,div.CodeMirror-overlayscroll-vertical div{background-color:#404040;border-radius:5px}.cm-s-liquibyte div.CodeMirror-overlayscroll-horizontal div,.cm-s-liquibyte div.CodeMirror-overlayscroll-vertical div{border:1px solid #404040}.cm-s-material.CodeMirror{background-color:#263238;color:#e9eded}.cm-s-material .CodeMirror-gutters{background:#263238;color:#537f7e;border:none}.cm-s-material .CodeMirror-guttermarker,.cm-s-material .CodeMirror-guttermarker-subtle,.cm-s-material .CodeMirror-linenumber{color:#537f7e}.cm-s-material .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-material div.CodeMirror-selected{background:hsla(0,0%,100%,.15)}.cm-s-material.CodeMirror-focused div.CodeMirror-selected{background:hsla(0,0%,100%,.1)}.cm-s-material .CodeMirror-line::selection,.cm-s-material .CodeMirror-line>span::selection,.cm-s-material .CodeMirror-line>span>span::selection{background:hsla(0,0%,100%,.1)}.cm-s-material .CodeMirror-line::-moz-selection,.cm-s-material .CodeMirror-line>span::-moz-selection,.cm-s-material .CodeMirror-line>span>span::-moz-selection{background:hsla(0,0%,100%,.1)}.cm-s-material .CodeMirror-activeline-background{background:transparent}.cm-s-material .cm-keyword{color:#c792ea}.cm-s-material .cm-operator{color:#e9eded}.cm-s-material .cm-variable-2{color:#80cbc4}.cm-s-material .cm-type,.cm-s-material .cm-variable-3{color:#82b1ff}.cm-s-material .cm-builtin{color:#decb6b}.cm-s-material .cm-atom,.cm-s-material .cm-number{color:#f77669}.cm-s-material .cm-def{color:#e9eded}.cm-s-material .cm-string{color:#c3e88d}.cm-s-material .cm-string-2{color:#80cbc4}.cm-s-material .cm-comment{color:#546e7a}.cm-s-material .cm-variable{color:#82b1ff}.cm-s-material .cm-meta,.cm-s-material .cm-tag{color:#80cbc4}.cm-s-material .cm-attribute{color:#ffcb6b}.cm-s-material .cm-property{color:#80cbae}.cm-s-material .cm-qualifier,.cm-s-material .cm-type,.cm-s-material .cm-variable-3{color:#decb6b}.cm-s-material .cm-tag{color:#ff5370}.cm-s-material .cm-error{color:#fff;background-color:#ec5f67}.cm-s-material .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-mbo.CodeMirror{background:#2c2c2c;color:#ffffec}.cm-s-mbo div.CodeMirror-selected{background:#716c62}.cm-s-mbo .CodeMirror-line::selection,.cm-s-mbo .CodeMirror-line>span::selection,.cm-s-mbo .CodeMirror-line>span>span::selection{background:hsla(40,7%,41%,.99)}.cm-s-mbo .CodeMirror-line::-moz-selection,.cm-s-mbo .CodeMirror-line>span::-moz-selection,.cm-s-mbo .CodeMirror-line>span>span::-moz-selection{background:hsla(40,7%,41%,.99)}.cm-s-mbo .CodeMirror-gutters{background:#4e4e4e;border-right:0}.cm-s-mbo .CodeMirror-guttermarker{color:#fff}.cm-s-mbo .CodeMirror-guttermarker-subtle{color:grey}.cm-s-mbo .CodeMirror-linenumber{color:#dadada}.cm-s-mbo .CodeMirror-cursor{border-left:1px solid #ffffec}.cm-s-mbo span.cm-comment{color:#95958a}.cm-s-mbo span.cm-atom,.cm-s-mbo span.cm-number{color:#00a8c6}.cm-s-mbo span.cm-attribute,.cm-s-mbo span.cm-property{color:#9ddfe9}.cm-s-mbo span.cm-keyword{color:#ffb928}.cm-s-mbo span.cm-string{color:#ffcf6c}.cm-s-mbo span.cm-string.cm-property,.cm-s-mbo span.cm-variable{color:#ffffec}.cm-s-mbo span.cm-variable-2{color:#00a8c6}.cm-s-mbo span.cm-def{color:#ffffec}.cm-s-mbo span.cm-bracket{color:#fffffc;font-weight:700}.cm-s-mbo span.cm-tag{color:#9ddfe9}.cm-s-mbo span.cm-link{color:#f54b07}.cm-s-mbo span.cm-error{border-bottom:#636363;color:#ffffec}.cm-s-mbo span.cm-qualifier{color:#ffffec}.cm-s-mbo .CodeMirror-activeline-background{background:#494b41}.cm-s-mbo .CodeMirror-matchingbracket{color:#ffb928!important}.cm-s-mbo .CodeMirror-matchingtag{background:hsla(0,0%,100%,.37)}.cm-s-mdn-like.CodeMirror{color:#999;background-color:#fff}.cm-s-mdn-like div.CodeMirror-selected{background:#cfc}.cm-s-mdn-like .CodeMirror-line::selection,.cm-s-mdn-like .CodeMirror-line>span::selection,.cm-s-mdn-like .CodeMirror-line>span>span::selection{background:#cfc}.cm-s-mdn-like .CodeMirror-line::-moz-selection,.cm-s-mdn-like .CodeMirror-line>span::-moz-selection,.cm-s-mdn-like .CodeMirror-line>span>span::-moz-selection{background:#cfc}.cm-s-mdn-like .CodeMirror-gutters{background:#f8f8f8;border-left:6px solid rgba(0,83,159,.65);color:#333}.cm-s-mdn-like .CodeMirror-linenumber{color:#aaa;padding-left:8px}.cm-s-mdn-like .CodeMirror-cursor{border-left:2px solid #222}.cm-s-mdn-like .cm-keyword{color:#6262ff}.cm-s-mdn-like .cm-atom{color:#f90}.cm-s-mdn-like .cm-number{color:#ca7841}.cm-s-mdn-like .cm-def{color:#8da6ce}.cm-s-mdn-like span.cm-tag,.cm-s-mdn-like span.cm-variable-2{color:#690}.cm-s-mdn-like .cm-variable,.cm-s-mdn-like span.cm-def,.cm-s-mdn-like span.cm-type,.cm-s-mdn-like span.cm-variable-3{color:#07a}.cm-s-mdn-like .cm-property{color:#905}.cm-s-mdn-like .cm-qualifier{color:#690}.cm-s-mdn-like .cm-operator{color:#cda869}.cm-s-mdn-like .cm-comment{color:#777;font-weight:400}.cm-s-mdn-like .cm-string{color:#07a;font-style:italic}.cm-s-mdn-like .cm-string-2{color:#bd6b18}.cm-s-mdn-like .cm-meta{color:#000}.cm-s-mdn-like .cm-builtin{color:#9b7536}.cm-s-mdn-like .cm-tag{color:#997643}.cm-s-mdn-like .cm-attribute{color:#d6bb6d}.cm-s-mdn-like .cm-header{color:#ff6400}.cm-s-mdn-like .cm-hr{color:#aeaeae}.cm-s-mdn-like .cm-link{color:#ad9361;font-style:italic;text-decoration:none}.cm-s-mdn-like .cm-error{border-bottom:1px solid red}div.cm-s-mdn-like .CodeMirror-activeline-background{background:#efefff}div.cm-s-mdn-like span.CodeMirror-matchingbracket{outline:1px solid grey;color:inherit}.cm-s-mdn-like.CodeMirror{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFcAAAAyCAYAAAAp8UeFAAAHvklEQVR42s2b63bcNgyEQZCSHCdt2vd/0tWF7I+Q6XgMXiTtuvU5Pl57ZQKkKHzEAOtF5KeIJBGJ8uvL599FRFREZhFx8DeXv8trn68RuGaC8TRfo3SNp9dlDDHedyLyTUTeRWStXKPZrjtpZxaRw5hPqozRs1N8/enzIiQRWcCgy4MUA0f+XWliDhyL8Lfyvx7ei/Ae3iQFHyw7U/59pQVIMEEPEz0G7XiwdRjzSfC3UTtz9vchIntxvry5iMgfIhJoEflOz2CQr3F5h/HfeFe+GTdLaKcu9L8LTeQb/R/7GgbsfKedyNdoHsN31uRPWrfZ5wsj/NzzRQHuToIdU3ahwnsKPxXCjJITuOsi7XLc7SG/v5GdALs7wf8JjTFiB5+QvTEfRyGOfX3Lrx8wxyQi3sNq46O7QahQiCsRFgqddjBouVEHOKDgXAQHD9gJCr5sMKkEdjwsarG/ww3BMHBU7OBjXnzdyY7SfCxf5/z6ATccrwlKuwC/jhznnPF4CgVzhhVf4xp2EixcBActO75iZ8/fM9zAs2OMzKdslgXWJ9XG8PQoOAMA5fGcsvORgv0doBXyHrCwfLJAOwo71QLNkb8n2Pl6EWiR7OCibtkPaz4Kc/0NNAze2gju3zOwekALDaCFPI5vjPFmgGY5AZqyGEvH1x7QfIb8YtxMnA/b+QQ0aQDAwc6JMFg8CbQZ4qoYEEHbRwNojuK3EHwd7VALSgq+MNDKzfT58T8qdpADrgW0GmgcAS1lhzztJmkAzcPNOQbsWEALBDSlMKUG0Eq4CLAQWvEVQ9WU57gZJwZtgPO3r9oBTQ9WO8TjqXINx8R0EYpiZEUWOF3FxkbJkgU9B2f41YBrIj5ZfsQa0M5kTgiAAqM3ShXLgu8XMqcrQBvJ0CL5pnTsfMB13oB8athpAq2XOQmcGmoACCLydx7nToa23ATaSIY2ichfOdPTGxlasXMLaL0MLZAOwAKIM+y8CmicobGdCcbbK9DzN+yYGVoNNI5iUKTMyYOjPse4A8SM1MmcXgU0toOq1yO/v8FOxlASyc7TgeYaAMBJHcY1CcCwGI/TK4AmDbDyKYBBtFUkRwto8gygiQEaByFgJ00BH2M8JWwQS1nafDXQCidWyOI8AcjDCSjCLk8ngObuAm3JAHAdubAmOaK06V8MNEsKPJOhobSprwQa6gD7DclRQdqcwL4zxqgBrQcabUiBLclRDKAlWp+etPkBaNMA0AKlrHwTdEByZAA4GM+SNluSY6wAzcMNewxmgig5Ks0nkrSpBvSaQHMdKTBAnLojOdYyGpQ254602ZILPdTD1hdlggdIm74jbTp8vDwF5ZYUeLWGJpWsh6XNyXgcYwVoJQTEhhTYkxzZjiU5npU2TaB979TQehlaAVq4kaGpiPwwwLkYUuBbQwocyQTv1tA0+1UFWoJF3iv1oq+qoSk8EQdJmwHkziIF7oOZk14EGitibAdjLYYK78H5vZOhtWpoI0ATGHs0Q8OMb4Ey+2bU2UYztCtA0wFAs7TplGLRVQCcqaFdGSPCeTI1QNIC52iWNzof6Uib7xjEp07mNNoUYmVosVItHrHzRlLgBn9LFyRHaQCtVUMbtTNhoXWiTOO9k/V8BdAc1Oq0ArSQs6/5SU0hckNy9NnXqQY0PGYo5dWJ7nINaN6o958FWin27aBaWRka1r5myvLOAm0j30eBJqCxHLReVclxhxOEN2JfDWjxBtAC7MIH1fVaGdoOp4qJYDgKtKPSFNID2gSnGldrCqkFZ+5UeQXQBIRrSwocbdZYQT/2LwRahBPBXoHrB8nxaGROST62DKUbQOMMzZIC9abkuELfQzQALWTnDNAm8KHWFOJgJ5+SHIvTPcmx1xQyZRhNL5Qci689aXMEaN/uNIWkEwDAvFpOZmgsBaaGnbs1NPa1Jm32gBZAIh1pCtG7TSH4aE0y1uVY4uqoFPisGlpP2rSA5qTecWn5agK6BzSpgAyD+wFaqhnYoSZ1Vwr8CmlTQbrcO3ZaX0NAEyMbYaAlyquFoLKK3SPby9CeVUPThrSJmkCAE0CrKUQadi4DrdSlWhmah0YL9z9vClH59YGbHx1J8VZTyAjQepJjmXwAKTDQI3omc3p1U4gDUf6RfcdYfrUp5ClAi2J3Ba6UOXGo+K+bQrjjssitG2SJzshaLwMtXgRagUNpYYoVkMSBLM+9GGiJZMvduG6DRZ4qc04DMPtQQxOjEtACmhO7K1AbNbQDEggZyJwscFpAGwENhoBeUwh3bWolhe8BTYVKxQEWrSUn/uhcM5KhvUu/+eQu0Lzhi+VrK0PrZZNDQKs9cpYUuFYgMVpD4/NxenJTiMCNqdUEUf1qZWjppLT5qSkkUZbCwkbZMSuVnu80hfSkzRbQeqCZSAh6huR4VtoM2gHAlLf72smuWgE+VV7XpE25Ab2WFDgyhnSuKbs4GuGzCjR+tIoUuMFg3kgcWKLTwRqanJQ2W00hAsenfaApRC42hbCvK1SlE0HtE9BGgneJO+ELamitD1YjjOYnNYVcraGhtKkW0EqVVeDx733I2NH581k1NNxNLG0i0IJ8/NjVaOZ0tYZ2Vtr0Xv7tPV3hkWp9EFkgS/J0vosngTaSoaG06WHi+xObQkaAdlbanP8B2+2l0f90LmUAAAAASUVORK5CYII=)}.cm-s-midnight span.CodeMirror-matchhighlight{background:#494949}.cm-s-midnight.CodeMirror-focused span.CodeMirror-matchhighlight{background:#314d67!important}.cm-s-midnight .CodeMirror-activeline-background{background:#253540}.cm-s-midnight.CodeMirror{background:#0f192a;color:#d1edff}.cm-s-midnight div.CodeMirror-selected{background:#314d67}.cm-s-midnight .CodeMirror-line::selection,.cm-s-midnight .CodeMirror-line>span::selection,.cm-s-midnight .CodeMirror-line>span>span::selection{background:rgba(49,77,103,.99)}.cm-s-midnight .CodeMirror-line::-moz-selection,.cm-s-midnight .CodeMirror-line>span::-moz-selection,.cm-s-midnight .CodeMirror-line>span>span::-moz-selection{background:rgba(49,77,103,.99)}.cm-s-midnight .CodeMirror-gutters{background:#0f192a;border-right:1px solid}.cm-s-midnight .CodeMirror-guttermarker{color:#fff}.cm-s-midnight .CodeMirror-guttermarker-subtle,.cm-s-midnight .CodeMirror-linenumber{color:#d0d0d0}.cm-s-midnight .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-midnight span.cm-comment{color:#428bdd}.cm-s-midnight span.cm-atom{color:#ae81ff}.cm-s-midnight span.cm-number{color:#d1edff}.cm-s-midnight span.cm-attribute,.cm-s-midnight span.cm-property{color:#a6e22e}.cm-s-midnight span.cm-keyword{color:#e83737}.cm-s-midnight span.cm-string{color:#1dc116}.cm-s-midnight span.cm-variable,.cm-s-midnight span.cm-variable-2{color:#ffaa3e}.cm-s-midnight span.cm-def{color:#4dd}.cm-s-midnight span.cm-bracket{color:#d1edff}.cm-s-midnight span.cm-tag{color:#449}.cm-s-midnight span.cm-link{color:#ae81ff}.cm-s-midnight span.cm-error{background:#f92672;color:#f8f8f0}.cm-s-midnight .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-monokai.CodeMirror{background:#272822;color:#f8f8f2}.cm-s-monokai div.CodeMirror-selected{background:#49483e}.cm-s-monokai .CodeMirror-line::selection,.cm-s-monokai .CodeMirror-line>span::selection,.cm-s-monokai .CodeMirror-line>span>span::selection{background:rgba(73,72,62,.99)}.cm-s-monokai .CodeMirror-line::-moz-selection,.cm-s-monokai .CodeMirror-line>span::-moz-selection,.cm-s-monokai .CodeMirror-line>span>span::-moz-selection{background:rgba(73,72,62,.99)}.cm-s-monokai .CodeMirror-gutters{background:#272822;border-right:0}.cm-s-monokai .CodeMirror-guttermarker{color:#fff}.cm-s-monokai .CodeMirror-guttermarker-subtle,.cm-s-monokai .CodeMirror-linenumber{color:#d0d0d0}.cm-s-monokai .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-monokai span.cm-comment{color:#75715e}.cm-s-monokai span.cm-atom,.cm-s-monokai span.cm-number{color:#ae81ff}.cm-s-monokai span.cm-attribute,.cm-s-monokai span.cm-property{color:#a6e22e}.cm-s-monokai span.cm-keyword{color:#f92672}.cm-s-monokai span.cm-builtin{color:#66d9ef}.cm-s-monokai span.cm-string{color:#e6db74}.cm-s-monokai span.cm-variable{color:#f8f8f2}.cm-s-monokai span.cm-variable-2{color:#9effff}.cm-s-monokai span.cm-type,.cm-s-monokai span.cm-variable-3{color:#66d9ef}.cm-s-monokai span.cm-def{color:#fd971f}.cm-s-monokai span.cm-bracket{color:#f8f8f2}.cm-s-monokai span.cm-tag{color:#f92672}.cm-s-monokai span.cm-header,.cm-s-monokai span.cm-link{color:#ae81ff}.cm-s-monokai span.cm-error{background:#f92672;color:#f8f8f0}.cm-s-monokai .CodeMirror-activeline-background{background:#373831}.cm-s-monokai .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-neat span.cm-comment{color:#a86}.cm-s-neat span.cm-keyword{line-height:1em;font-weight:700;color:blue}.cm-s-neat span.cm-string{color:#a22}.cm-s-neat span.cm-builtin{line-height:1em;font-weight:700;color:#077}.cm-s-neat span.cm-special{line-height:1em;font-weight:700;color:#0aa}.cm-s-neat span.cm-variable{color:#000}.cm-s-neat span.cm-atom,.cm-s-neat span.cm-number{color:#3a3}.cm-s-neat span.cm-meta{color:#555}.cm-s-neat span.cm-link{color:#3a3}.cm-s-neat .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-neat .CodeMirror-matchingbracket{outline:1px solid grey;color:#000!important}.cm-s-neo.CodeMirror{background-color:#fff;color:#2e383c;line-height:1.4375}.cm-s-neo .cm-comment{color:#75787b}.cm-s-neo .cm-keyword,.cm-s-neo .cm-property{color:#1d75b3}.cm-s-neo .cm-atom,.cm-s-neo .cm-number{color:#75438a}.cm-s-neo .cm-node,.cm-s-neo .cm-tag{color:#9c3328}.cm-s-neo .cm-string{color:#b35e14}.cm-s-neo .cm-qualifier,.cm-s-neo .cm-variable{color:#047d65}.cm-s-neo pre{padding:0}.cm-s-neo .CodeMirror-gutters{border:none;border-right:10px solid transparent;background-color:transparent}.cm-s-neo .CodeMirror-linenumber{padding:0;color:#e0e2e5}.cm-s-neo .CodeMirror-guttermarker{color:#1d75b3}.cm-s-neo .CodeMirror-guttermarker-subtle{color:#e0e2e5}.cm-s-neo .CodeMirror-cursor{width:auto;border:0;background:hsla(223,4%,62%,.37);z-index:1}.cm-s-night.CodeMirror{background:#0a001f;color:#f8f8f8}.cm-s-night div.CodeMirror-selected{background:#447}.cm-s-night .CodeMirror-line::selection,.cm-s-night .CodeMirror-line>span::selection,.cm-s-night .CodeMirror-line>span>span::selection{background:rgba(68,68,119,.99)}.cm-s-night .CodeMirror-line::-moz-selection,.cm-s-night .CodeMirror-line>span::-moz-selection,.cm-s-night .CodeMirror-line>span>span::-moz-selection{background:rgba(68,68,119,.99)}.cm-s-night .CodeMirror-gutters{background:#0a001f;border-right:1px solid #aaa}.cm-s-night .CodeMirror-guttermarker{color:#fff}.cm-s-night .CodeMirror-guttermarker-subtle{color:#bbb}.cm-s-night .CodeMirror-linenumber{color:#f8f8f8}.cm-s-night .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-night span.cm-comment{color:#8900d1}.cm-s-night span.cm-atom{color:#845dc4}.cm-s-night span.cm-attribute,.cm-s-night span.cm-number{color:#ffd500}.cm-s-night span.cm-keyword{color:#599eff}.cm-s-night span.cm-string{color:#37f14a}.cm-s-night span.cm-meta{color:#7678e2}.cm-s-night span.cm-tag,.cm-s-night span.cm-variable-2{color:#99b2ff}.cm-s-night span.cm-def,.cm-s-night span.cm-type,.cm-s-night span.cm-variable-3{color:#fff}.cm-s-night span.cm-bracket{color:#8da6ce}.cm-s-night span.cm-builtin,.cm-s-night span.cm-special{color:#ff9e59}.cm-s-night span.cm-link{color:#845dc4}.cm-s-night span.cm-error{color:#9d1e15}.cm-s-night .CodeMirror-activeline-background{background:#1c005a}.cm-s-night .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.cm-s-panda-syntax{background:#292a2b;color:#e6e6e6;line-height:1.5;font-family:Operator Mono,Source Sans Pro,Menlo,Monaco,Consolas,Courier New,monospace}.cm-s-panda-syntax .CodeMirror-cursor{border-color:#ff2c6d}.cm-s-panda-syntax .CodeMirror-activeline-background{background:rgba(99,123,156,.1)}.cm-s-panda-syntax .CodeMirror-selected{background:#fff}.cm-s-panda-syntax .cm-comment{font-style:italic;color:#676b79}.cm-s-panda-syntax .cm-operator{color:#f3f3f3}.cm-s-panda-syntax .cm-string{color:#19f9d8}.cm-s-panda-syntax .cm-string-2{color:#ffb86c}.cm-s-panda-syntax .cm-tag{color:#ff2c6d}.cm-s-panda-syntax .cm-meta{color:#b084eb}.cm-s-panda-syntax .cm-number{color:#ffb86c}.cm-s-panda-syntax .cm-atom{color:#ff2c6d}.cm-s-panda-syntax .cm-keyword{color:#ff75b5}.cm-s-panda-syntax .cm-variable{color:#ffb86c}.cm-s-panda-syntax .cm-type,.cm-s-panda-syntax .cm-variable-2,.cm-s-panda-syntax .cm-variable-3{color:#ff9ac1}.cm-s-panda-syntax .cm-def{color:#e6e6e6}.cm-s-panda-syntax .cm-property{color:#f3f3f3}.cm-s-panda-syntax .cm-attribute,.cm-s-panda-syntax .cm-unit{color:#ffb86c}.cm-s-panda-syntax .CodeMirror-matchingbracket{border-bottom:1px dotted #19f9d8;padding-bottom:2px;color:#e6e6e6}.cm-s-panda-syntax .CodeMirror-gutters{background:#292a2b;border-right-color:hsla(0,0%,100%,.1)}.cm-s-panda-syntax .CodeMirror-linenumber{color:#e6e6e6;opacity:.6}.cm-s-paraiso-dark.CodeMirror{background:#2f1e2e;color:#b9b6b0}.cm-s-paraiso-dark div.CodeMirror-selected{background:#41323f}.cm-s-paraiso-dark .CodeMirror-line::selection,.cm-s-paraiso-dark .CodeMirror-line>span::selection,.cm-s-paraiso-dark .CodeMirror-line>span>span::selection{background:rgba(65,50,63,.99)}.cm-s-paraiso-dark .CodeMirror-line::-moz-selection,.cm-s-paraiso-dark .CodeMirror-line>span::-moz-selection,.cm-s-paraiso-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(65,50,63,.99)}.cm-s-paraiso-dark .CodeMirror-gutters{background:#2f1e2e;border-right:0}.cm-s-paraiso-dark .CodeMirror-guttermarker{color:#ef6155}.cm-s-paraiso-dark .CodeMirror-guttermarker-subtle,.cm-s-paraiso-dark .CodeMirror-linenumber{color:#776e71}.cm-s-paraiso-dark .CodeMirror-cursor{border-left:1px solid #8d8687}.cm-s-paraiso-dark span.cm-comment{color:#e96ba8}.cm-s-paraiso-dark span.cm-atom,.cm-s-paraiso-dark span.cm-number{color:#815ba4}.cm-s-paraiso-dark span.cm-attribute,.cm-s-paraiso-dark span.cm-property{color:#48b685}.cm-s-paraiso-dark span.cm-keyword{color:#ef6155}.cm-s-paraiso-dark span.cm-string{color:#fec418}.cm-s-paraiso-dark span.cm-variable{color:#48b685}.cm-s-paraiso-dark span.cm-variable-2{color:#06b6ef}.cm-s-paraiso-dark span.cm-def{color:#f99b15}.cm-s-paraiso-dark span.cm-bracket{color:#b9b6b0}.cm-s-paraiso-dark span.cm-tag{color:#ef6155}.cm-s-paraiso-dark span.cm-link{color:#815ba4}.cm-s-paraiso-dark span.cm-error{background:#ef6155;color:#8d8687}.cm-s-paraiso-dark .CodeMirror-activeline-background{background:#4d344a}.cm-s-paraiso-dark .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-paraiso-light.CodeMirror{background:#e7e9db;color:#41323f}.cm-s-paraiso-light div.CodeMirror-selected{background:#b9b6b0}.cm-s-paraiso-light .CodeMirror-line::selection,.cm-s-paraiso-light .CodeMirror-line>span::selection,.cm-s-paraiso-light .CodeMirror-line>span>span::selection{background:#b9b6b0}.cm-s-paraiso-light .CodeMirror-line::-moz-selection,.cm-s-paraiso-light .CodeMirror-line>span::-moz-selection,.cm-s-paraiso-light .CodeMirror-line>span>span::-moz-selection{background:#b9b6b0}.cm-s-paraiso-light .CodeMirror-gutters{background:#e7e9db;border-right:0}.cm-s-paraiso-light .CodeMirror-guttermarker{color:#000}.cm-s-paraiso-light .CodeMirror-guttermarker-subtle,.cm-s-paraiso-light .CodeMirror-linenumber{color:#8d8687}.cm-s-paraiso-light .CodeMirror-cursor{border-left:1px solid #776e71}.cm-s-paraiso-light span.cm-comment{color:#e96ba8}.cm-s-paraiso-light span.cm-atom,.cm-s-paraiso-light span.cm-number{color:#815ba4}.cm-s-paraiso-light span.cm-attribute,.cm-s-paraiso-light span.cm-property{color:#48b685}.cm-s-paraiso-light span.cm-keyword{color:#ef6155}.cm-s-paraiso-light span.cm-string{color:#fec418}.cm-s-paraiso-light span.cm-variable{color:#48b685}.cm-s-paraiso-light span.cm-variable-2{color:#06b6ef}.cm-s-paraiso-light span.cm-def{color:#f99b15}.cm-s-paraiso-light span.cm-bracket{color:#41323f}.cm-s-paraiso-light span.cm-tag{color:#ef6155}.cm-s-paraiso-light span.cm-link{color:#815ba4}.cm-s-paraiso-light span.cm-error{background:#ef6155;color:#776e71}.cm-s-paraiso-light .CodeMirror-activeline-background{background:#cfd1c4}.cm-s-paraiso-light .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}/** + * Pastel On Dark theme ported from ACE editor + * @license MIT + * @copyright AtomicPages LLC 2014 + * @author Dennis Thompson, AtomicPages LLC + * @version 1.1 + * @source https://github.com/atomicpages/codemirror-pastel-on-dark-theme + */.cm-s-pastel-on-dark.CodeMirror{background:#2c2827;color:#8f938f;line-height:1.5}.cm-s-pastel-on-dark div.CodeMirror-selected{background:rgba(221,240,255,.2)}.cm-s-pastel-on-dark .CodeMirror-line::selection,.cm-s-pastel-on-dark .CodeMirror-line>span::selection,.cm-s-pastel-on-dark .CodeMirror-line>span>span::selection{background:rgba(221,240,255,.2)}.cm-s-pastel-on-dark .CodeMirror-line::-moz-selection,.cm-s-pastel-on-dark .CodeMirror-line>span::-moz-selection,.cm-s-pastel-on-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(221,240,255,.2)}.cm-s-pastel-on-dark .CodeMirror-gutters{background:#34302f;border-right:0;padding:0 3px}.cm-s-pastel-on-dark .CodeMirror-guttermarker{color:#fff}.cm-s-pastel-on-dark .CodeMirror-guttermarker-subtle,.cm-s-pastel-on-dark .CodeMirror-linenumber{color:#8f938f}.cm-s-pastel-on-dark .CodeMirror-cursor{border-left:1px solid #a7a7a7}.cm-s-pastel-on-dark span.cm-comment{color:#a6c6ff}.cm-s-pastel-on-dark span.cm-atom{color:#de8e30}.cm-s-pastel-on-dark span.cm-number{color:#ccc}.cm-s-pastel-on-dark span.cm-property{color:#8f938f}.cm-s-pastel-on-dark span.cm-attribute{color:#a6e22e}.cm-s-pastel-on-dark span.cm-keyword{color:#aeb2f8}.cm-s-pastel-on-dark span.cm-string{color:#66a968}.cm-s-pastel-on-dark span.cm-variable{color:#aeb2f8}.cm-s-pastel-on-dark span.cm-variable-2{color:#bebf55}.cm-s-pastel-on-dark span.cm-type,.cm-s-pastel-on-dark span.cm-variable-3{color:#de8e30}.cm-s-pastel-on-dark span.cm-def{color:#757ad8}.cm-s-pastel-on-dark span.cm-bracket{color:#f8f8f2}.cm-s-pastel-on-dark span.cm-tag{color:#c1c144}.cm-s-pastel-on-dark span.cm-link{color:#ae81ff}.cm-s-pastel-on-dark span.cm-builtin,.cm-s-pastel-on-dark span.cm-qualifier{color:#c1c144}.cm-s-pastel-on-dark span.cm-error{background:#757ad8;color:#f8f8f0}.cm-s-pastel-on-dark .CodeMirror-activeline-background{background:hsla(0,0%,100%,.031)}.cm-s-pastel-on-dark .CodeMirror-matchingbracket{border:1px solid hsla(0,0%,100%,.25);color:#8f938f!important;margin:-1px -1px 0 -1px}.cm-s-railscasts.CodeMirror{background:#2b2b2b;color:#f4f1ed}.cm-s-railscasts div.CodeMirror-selected{background:#272935!important}.cm-s-railscasts .CodeMirror-gutters{background:#2b2b2b;border-right:0}.cm-s-railscasts .CodeMirror-linenumber{color:#5a647e}.cm-s-railscasts .CodeMirror-cursor{border-left:1px solid #d4cfc9!important}.cm-s-railscasts span.cm-comment{color:#bc9458}.cm-s-railscasts span.cm-atom,.cm-s-railscasts span.cm-number{color:#b6b3eb}.cm-s-railscasts span.cm-attribute,.cm-s-railscasts span.cm-property{color:#a5c261}.cm-s-railscasts span.cm-keyword{color:#da4939}.cm-s-railscasts span.cm-string{color:#ffc66d}.cm-s-railscasts span.cm-variable{color:#a5c261}.cm-s-railscasts span.cm-variable-2{color:#6d9cbe}.cm-s-railscasts span.cm-def{color:#cc7833}.cm-s-railscasts span.cm-error{background:#da4939;color:#d4cfc9}.cm-s-railscasts span.cm-bracket{color:#f4f1ed}.cm-s-railscasts span.cm-tag{color:#da4939}.cm-s-railscasts span.cm-link{color:#b6b3eb}.cm-s-railscasts .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-railscasts .CodeMirror-activeline-background{background:#303040}.cm-s-rubyblue.CodeMirror{background:#112435;color:#fff}.cm-s-rubyblue div.CodeMirror-selected{background:#38566f}.cm-s-rubyblue .CodeMirror-line::selection,.cm-s-rubyblue .CodeMirror-line>span::selection,.cm-s-rubyblue .CodeMirror-line>span>span::selection{background:rgba(56,86,111,.99)}.cm-s-rubyblue .CodeMirror-line::-moz-selection,.cm-s-rubyblue .CodeMirror-line>span::-moz-selection,.cm-s-rubyblue .CodeMirror-line>span>span::-moz-selection{background:rgba(56,86,111,.99)}.cm-s-rubyblue .CodeMirror-gutters{background:#1f4661;border-right:7px solid #3e7087}.cm-s-rubyblue .CodeMirror-guttermarker{color:#fff}.cm-s-rubyblue .CodeMirror-guttermarker-subtle{color:#3e7087}.cm-s-rubyblue .CodeMirror-linenumber{color:#fff}.cm-s-rubyblue .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-rubyblue span.cm-comment{color:#999;font-style:italic;line-height:1em}.cm-s-rubyblue span.cm-atom{color:#f4c20b}.cm-s-rubyblue span.cm-attribute,.cm-s-rubyblue span.cm-number{color:#82c6e0}.cm-s-rubyblue span.cm-keyword{color:#f0f}.cm-s-rubyblue span.cm-string{color:#f08047}.cm-s-rubyblue span.cm-meta{color:#f0f}.cm-s-rubyblue span.cm-tag,.cm-s-rubyblue span.cm-variable-2{color:#7bd827}.cm-s-rubyblue span.cm-def,.cm-s-rubyblue span.cm-type,.cm-s-rubyblue span.cm-variable-3{color:#fff}.cm-s-rubyblue span.cm-bracket{color:#f0f}.cm-s-rubyblue span.cm-link{color:#f4c20b}.cm-s-rubyblue span.CodeMirror-matchingbracket{color:#f0f!important}.cm-s-rubyblue span.cm-builtin,.cm-s-rubyblue span.cm-special{color:#ff9d00}.cm-s-rubyblue span.cm-error{color:#af2018}.cm-s-rubyblue .CodeMirror-activeline-background{background:#173047}.cm-s-seti.CodeMirror{background-color:#151718!important;color:#cfd2d1!important;border:none}.cm-s-seti .CodeMirror-gutters{color:#404b53;background-color:#0e1112;border:none}.cm-s-seti .CodeMirror-cursor{border-left:thin solid #f8f8f0}.cm-s-seti .CodeMirror-linenumber{color:#6d8a88}.cm-s-seti.CodeMirror-focused div.CodeMirror-selected{background:hsla(0,0%,100%,.1)}.cm-s-seti .CodeMirror-line::selection,.cm-s-seti .CodeMirror-line>span::selection,.cm-s-seti .CodeMirror-line>span>span::selection{background:hsla(0,0%,100%,.1)}.cm-s-seti .CodeMirror-line::-moz-selection,.cm-s-seti .CodeMirror-line>span::-moz-selection,.cm-s-seti .CodeMirror-line>span>span::-moz-selection{background:hsla(0,0%,100%,.1)}.cm-s-seti span.cm-comment{color:#41535b}.cm-s-seti span.cm-string,.cm-s-seti span.cm-string-2{color:#55b5db}.cm-s-seti span.cm-number{color:#cd3f45}.cm-s-seti span.cm-variable{color:#55b5db}.cm-s-seti span.cm-variable-2{color:#a074c4}.cm-s-seti span.cm-def{color:#55b5db}.cm-s-seti span.cm-keyword{color:#ff79c6}.cm-s-seti span.cm-operator{color:#9fca56}.cm-s-seti span.cm-keyword{color:#e6cd69}.cm-s-seti span.cm-atom{color:#cd3f45}.cm-s-seti span.cm-meta,.cm-s-seti span.cm-tag{color:#55b5db}.cm-s-seti span.cm-attribute,.cm-s-seti span.cm-qualifier{color:#9fca56}.cm-s-seti span.cm-property{color:#a074c4}.cm-s-seti span.cm-builtin,.cm-s-seti span.cm-type,.cm-s-seti span.cm-variable-3{color:#9fca56}.cm-s-seti .CodeMirror-activeline-background{background:#101213}.cm-s-seti .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.solarized.base03{color:#002b36}.solarized.base02{color:#073642}.solarized.base01{color:#586e75}.solarized.base00{color:#657b83}.solarized.base0{color:#839496}.solarized.base1{color:#93a1a1}.solarized.base2{color:#eee8d5}.solarized.base3{color:#fdf6e3}.solarized.solar-yellow{color:#b58900}.solarized.solar-orange{color:#cb4b16}.solarized.solar-red{color:#dc322f}.solarized.solar-magenta{color:#d33682}.solarized.solar-violet{color:#6c71c4}.solarized.solar-blue{color:#268bd2}.solarized.solar-cyan{color:#2aa198}.solarized.solar-green{color:#859900}.cm-s-solarized{line-height:1.45em;color-profile:sRGB;rendering-intent:auto}.cm-s-solarized.cm-s-dark{color:#839496;background-color:#002b36;text-shadow:#002b36 0 1px}.cm-s-solarized.cm-s-light{background-color:#fdf6e3;color:#657b83;text-shadow:#eee8d5 0 1px}.cm-s-solarized .CodeMirror-widget{text-shadow:none}.cm-s-solarized .cm-header{color:#586e75}.cm-s-solarized .cm-quote{color:#93a1a1}.cm-s-solarized .cm-keyword{color:#cb4b16}.cm-s-solarized .cm-atom,.cm-s-solarized .cm-number{color:#d33682}.cm-s-solarized .cm-def{color:#2aa198}.cm-s-solarized .cm-variable{color:#839496}.cm-s-solarized .cm-variable-2{color:#b58900}.cm-s-solarized .cm-type,.cm-s-solarized .cm-variable-3{color:#6c71c4}.cm-s-solarized .cm-property{color:#2aa198}.cm-s-solarized .cm-operator{color:#6c71c4}.cm-s-solarized .cm-comment{color:#586e75;font-style:italic}.cm-s-solarized .cm-string{color:#859900}.cm-s-solarized .cm-string-2{color:#b58900}.cm-s-solarized .cm-meta{color:#859900}.cm-s-solarized .cm-qualifier{color:#b58900}.cm-s-solarized .cm-builtin{color:#d33682}.cm-s-solarized .cm-bracket{color:#cb4b16}.cm-s-solarized .CodeMirror-matchingbracket{color:#859900}.cm-s-solarized .CodeMirror-nonmatchingbracket{color:#dc322f}.cm-s-solarized .cm-tag{color:#93a1a1}.cm-s-solarized .cm-attribute{color:#2aa198}.cm-s-solarized .cm-hr{color:transparent;border-top:1px solid #586e75;display:block}.cm-s-solarized .cm-link{color:#93a1a1;cursor:pointer}.cm-s-solarized .cm-special{color:#6c71c4}.cm-s-solarized .cm-em{color:#999;text-decoration:underline;-webkit-text-decoration-style:dotted;text-decoration-style:dotted}.cm-s-solarized .cm-strong{color:#eee}.cm-s-solarized .cm-error,.cm-s-solarized .cm-invalidchar{color:#586e75;border-bottom:1px dotted #dc322f}.cm-s-solarized.cm-s-dark div.CodeMirror-selected{background:#073642}.cm-s-solarized.cm-s-dark.CodeMirror ::-moz-selection{background:rgba(7,54,66,.99)}.cm-s-solarized.cm-s-dark.CodeMirror ::selection{background:rgba(7,54,66,.99)}.cm-s-dark .CodeMirror-line>span::-moz-selection,.cm-s-dark .CodeMirror-line>span>span::-moz-selection,.cm-s-solarized.cm-s-dark .CodeMirror-line::-moz-selection{background:rgba(7,54,66,.99)}.cm-s-solarized.cm-s-light div.CodeMirror-selected{background:#eee8d5}.cm-s-light .CodeMirror-line>span::-moz-selection,.cm-s-light .CodeMirror-line>span>span::-moz-selection,.cm-s-solarized.cm-s-light .CodeMirror-line::-moz-selection{background:#eee8d5}.cm-s-light .CodeMirror-line>span::selection,.cm-s-light .CodeMirror-line>span>span::selection,.cm-s-solarized.cm-s-light .CodeMirror-line::selection{background:#eee8d5}.cm-s-ligh .CodeMirror-line>span::-moz-selection,.cm-s-ligh .CodeMirror-line>span>span::-moz-selection,.cm-s-solarized.cm-s-light .CodeMirror-line::-moz-selection{background:#eee8d5}.cm-s-solarized.CodeMirror{box-shadow:inset 7px 0 12px -6px #000}.cm-s-solarized .CodeMirror-gutters{border-right:0}.cm-s-solarized.cm-s-dark .CodeMirror-gutters{background-color:#073642}.cm-s-solarized.cm-s-dark .CodeMirror-linenumber{color:#586e75;text-shadow:#021014 0 -1px}.cm-s-solarized.cm-s-light .CodeMirror-gutters{background-color:#eee8d5}.cm-s-solarized.cm-s-light .CodeMirror-linenumber{color:#839496}.cm-s-solarized .CodeMirror-linenumber{padding:0 5px}.cm-s-solarized .CodeMirror-guttermarker-subtle{color:#586e75}.cm-s-solarized.cm-s-dark .CodeMirror-guttermarker{color:#ddd}.cm-s-solarized.cm-s-light .CodeMirror-guttermarker{color:#cb4b16}.cm-s-solarized .CodeMirror-gutter .CodeMirror-gutter-text{color:#586e75}.cm-s-solarized .CodeMirror-cursor{border-left:1px solid #819090}.cm-s-solarized.cm-s-light.cm-fat-cursor .CodeMirror-cursor{background:#7e7}.cm-s-solarized.cm-s-light .cm-animate-fat-cursor{background-color:#7e7}.cm-s-solarized.cm-s-dark.cm-fat-cursor .CodeMirror-cursor{background:#586e75}.cm-s-solarized.cm-s-dark .cm-animate-fat-cursor{background-color:#586e75}.cm-s-solarized.cm-s-dark .CodeMirror-activeline-background{background:hsla(0,0%,100%,.06)}.cm-s-solarized.cm-s-light .CodeMirror-activeline-background{background:rgba(0,0,0,.06)}.cm-s-the-matrix.CodeMirror{background:#000;color:#0f0}.cm-s-the-matrix div.CodeMirror-selected{background:#2d2d2d}.cm-s-the-matrix .CodeMirror-line::selection,.cm-s-the-matrix .CodeMirror-line>span::selection,.cm-s-the-matrix .CodeMirror-line>span>span::selection{background:rgba(45,45,45,.99)}.cm-s-the-matrix .CodeMirror-line::-moz-selection,.cm-s-the-matrix .CodeMirror-line>span::-moz-selection,.cm-s-the-matrix .CodeMirror-line>span>span::-moz-selection{background:rgba(45,45,45,.99)}.cm-s-the-matrix .CodeMirror-gutters{background:#060;border-right:2px solid #0f0}.cm-s-the-matrix .CodeMirror-guttermarker{color:#0f0}.cm-s-the-matrix .CodeMirror-guttermarker-subtle,.cm-s-the-matrix .CodeMirror-linenumber{color:#fff}.cm-s-the-matrix .CodeMirror-cursor{border-left:1px solid #0f0}.cm-s-the-matrix span.cm-keyword{color:#008803;font-weight:700}.cm-s-the-matrix span.cm-atom{color:#3ff}.cm-s-the-matrix span.cm-number{color:#ffb94f}.cm-s-the-matrix span.cm-def{color:#99c}.cm-s-the-matrix span.cm-variable{color:#f6c}.cm-s-the-matrix span.cm-variable-2{color:#c6f}.cm-s-the-matrix span.cm-type,.cm-s-the-matrix span.cm-variable-3{color:#96f}.cm-s-the-matrix span.cm-property{color:#62ffa0}.cm-s-the-matrix span.cm-operator{color:#999}.cm-s-the-matrix span.cm-comment{color:#ccc}.cm-s-the-matrix span.cm-string{color:#39c}.cm-s-the-matrix span.cm-meta{color:#c9f}.cm-s-the-matrix span.cm-qualifier{color:#fff700}.cm-s-the-matrix span.cm-builtin{color:#30a}.cm-s-the-matrix span.cm-bracket{color:#cc7}.cm-s-the-matrix span.cm-tag{color:#ffbd40}.cm-s-the-matrix span.cm-attribute{color:#fff700}.cm-s-the-matrix span.cm-error{color:red}.cm-s-the-matrix .CodeMirror-activeline-background{background:#040}.cm-s-tomorrow-night-bright.CodeMirror{background:#000;color:#eaeaea}.cm-s-tomorrow-night-bright div.CodeMirror-selected{background:#424242}.cm-s-tomorrow-night-bright .CodeMirror-gutters{background:#000;border-right:0}.cm-s-tomorrow-night-bright .CodeMirror-guttermarker{color:#e78c45}.cm-s-tomorrow-night-bright .CodeMirror-guttermarker-subtle{color:#777}.cm-s-tomorrow-night-bright .CodeMirror-linenumber{color:#424242}.cm-s-tomorrow-night-bright .CodeMirror-cursor{border-left:1px solid #6a6a6a}.cm-s-tomorrow-night-bright span.cm-comment{color:#d27b53}.cm-s-tomorrow-night-bright span.cm-atom,.cm-s-tomorrow-night-bright span.cm-number{color:#a16a94}.cm-s-tomorrow-night-bright span.cm-attribute,.cm-s-tomorrow-night-bright span.cm-property{color:#9c9}.cm-s-tomorrow-night-bright span.cm-keyword{color:#d54e53}.cm-s-tomorrow-night-bright span.cm-string{color:#e7c547}.cm-s-tomorrow-night-bright span.cm-variable{color:#b9ca4a}.cm-s-tomorrow-night-bright span.cm-variable-2{color:#7aa6da}.cm-s-tomorrow-night-bright span.cm-def{color:#e78c45}.cm-s-tomorrow-night-bright span.cm-bracket{color:#eaeaea}.cm-s-tomorrow-night-bright span.cm-tag{color:#d54e53}.cm-s-tomorrow-night-bright span.cm-link{color:#a16a94}.cm-s-tomorrow-night-bright span.cm-error{background:#d54e53;color:#6a6a6a}.cm-s-tomorrow-night-bright .CodeMirror-activeline-background{background:#2a2a2a}.cm-s-tomorrow-night-bright .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-tomorrow-night-eighties.CodeMirror{background:#000;color:#ccc}.cm-s-tomorrow-night-eighties div.CodeMirror-selected{background:#2d2d2d}.cm-s-tomorrow-night-eighties .CodeMirror-line::selection,.cm-s-tomorrow-night-eighties .CodeMirror-line>span::selection,.cm-s-tomorrow-night-eighties .CodeMirror-line>span>span::selection{background:rgba(45,45,45,.99)}.cm-s-tomorrow-night-eighties .CodeMirror-line::-moz-selection,.cm-s-tomorrow-night-eighties .CodeMirror-line>span::-moz-selection,.cm-s-tomorrow-night-eighties .CodeMirror-line>span>span::-moz-selection{background:rgba(45,45,45,.99)}.cm-s-tomorrow-night-eighties .CodeMirror-gutters{background:#000;border-right:0}.cm-s-tomorrow-night-eighties .CodeMirror-guttermarker{color:#f2777a}.cm-s-tomorrow-night-eighties .CodeMirror-guttermarker-subtle{color:#777}.cm-s-tomorrow-night-eighties .CodeMirror-linenumber{color:#515151}.cm-s-tomorrow-night-eighties .CodeMirror-cursor{border-left:1px solid #6a6a6a}.cm-s-tomorrow-night-eighties span.cm-comment{color:#d27b53}.cm-s-tomorrow-night-eighties span.cm-atom,.cm-s-tomorrow-night-eighties span.cm-number{color:#a16a94}.cm-s-tomorrow-night-eighties span.cm-attribute,.cm-s-tomorrow-night-eighties span.cm-property{color:#9c9}.cm-s-tomorrow-night-eighties span.cm-keyword{color:#f2777a}.cm-s-tomorrow-night-eighties span.cm-string{color:#fc6}.cm-s-tomorrow-night-eighties span.cm-variable{color:#9c9}.cm-s-tomorrow-night-eighties span.cm-variable-2{color:#69c}.cm-s-tomorrow-night-eighties span.cm-def{color:#f99157}.cm-s-tomorrow-night-eighties span.cm-bracket{color:#ccc}.cm-s-tomorrow-night-eighties span.cm-tag{color:#f2777a}.cm-s-tomorrow-night-eighties span.cm-link{color:#a16a94}.cm-s-tomorrow-night-eighties span.cm-error{background:#f2777a;color:#6a6a6a}.cm-s-tomorrow-night-eighties .CodeMirror-activeline-background{background:#343600}.cm-s-tomorrow-night-eighties .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-ttcn .cm-quote{color:#090}.cm-s-ttcn .cm-header,.cm-strong{font-weight:700}.cm-s-ttcn .cm-header{color:#00f;font-weight:700}.cm-s-ttcn .cm-atom{color:#219}.cm-s-ttcn .cm-attribute{color:#00c}.cm-s-ttcn .cm-bracket{color:#997}.cm-s-ttcn .cm-comment{color:#333}.cm-s-ttcn .cm-def{color:#00f}.cm-s-ttcn .cm-em{font-style:italic}.cm-s-ttcn .cm-error{color:red}.cm-s-ttcn .cm-hr{color:#999}.cm-s-ttcn .cm-keyword{font-weight:700}.cm-s-ttcn .cm-link{color:#00c;text-decoration:underline}.cm-s-ttcn .cm-meta{color:#555}.cm-s-ttcn .cm-negative{color:#d44}.cm-s-ttcn .cm-positive{color:#292}.cm-s-ttcn .cm-qualifier{color:#555}.cm-s-ttcn .cm-strikethrough{text-decoration:line-through}.cm-s-ttcn .cm-string{color:#006400}.cm-s-ttcn .cm-string-2{color:#f50}.cm-s-ttcn .cm-strong{font-weight:700}.cm-s-ttcn .cm-tag{color:#170}.cm-s-ttcn .cm-variable{color:#8b2252}.cm-s-ttcn .cm-variable-2{color:#05a}.cm-s-ttcn .cm-type,.cm-s-ttcn .cm-variable-3{color:#085}.cm-s-ttcn .cm-invalidchar{color:red}.cm-s-ttcn .cm-accessTypes,.cm-s-ttcn .cm-compareTypes{color:#27408b}.cm-s-ttcn .cm-cmipVerbs{color:#8b2252}.cm-s-ttcn .cm-modifier{color:#d2691e}.cm-s-ttcn .cm-status{color:#8b4545}.cm-s-ttcn .cm-storage{color:#a020f0}.cm-s-ttcn .cm-tags{color:#006400}.cm-s-ttcn .cm-externalCommands{color:#8b4545;font-weight:700}.cm-s-ttcn .cm-fileNCtrlMaskOptions,.cm-s-ttcn .cm-sectionTitle{color:#2e8b57;font-weight:700}.cm-s-ttcn .cm-booleanConsts,.cm-s-ttcn .cm-otherConsts,.cm-s-ttcn .cm-verdictConsts{color:#006400}.cm-s-ttcn .cm-configOps,.cm-s-ttcn .cm-functionOps,.cm-s-ttcn .cm-portOps,.cm-s-ttcn .cm-sutOps,.cm-s-ttcn .cm-timerOps,.cm-s-ttcn .cm-verdictOps{color:#00f}.cm-s-ttcn .cm-preprocessor,.cm-s-ttcn .cm-templateMatch,.cm-s-ttcn .cm-ttcn3Macros{color:#27408b}.cm-s-ttcn .cm-types{color:brown;font-weight:700}.cm-s-ttcn .cm-visibilityModifiers{font-weight:700}.cm-s-twilight.CodeMirror{background:#141414;color:#f7f7f7}.cm-s-twilight div.CodeMirror-selected{background:#323232}.cm-s-twilight .CodeMirror-line::selection,.cm-s-twilight .CodeMirror-line>span::selection,.cm-s-twilight .CodeMirror-line>span>span::selection{background:rgba(50,50,50,.99)}.cm-s-twilight .CodeMirror-line::-moz-selection,.cm-s-twilight .CodeMirror-line>span::-moz-selection,.cm-s-twilight .CodeMirror-line>span>span::-moz-selection{background:rgba(50,50,50,.99)}.cm-s-twilight .CodeMirror-gutters{background:#222;border-right:1px solid #aaa}.cm-s-twilight .CodeMirror-guttermarker{color:#fff}.cm-s-twilight .CodeMirror-guttermarker-subtle,.cm-s-twilight .CodeMirror-linenumber{color:#aaa}.cm-s-twilight .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-twilight .cm-keyword{color:#f9ee98}.cm-s-twilight .cm-atom{color:#fc0}.cm-s-twilight .cm-number{color:#ca7841}.cm-s-twilight .cm-def{color:#8da6ce}.cm-s-twilight span.cm-def,.cm-s-twilight span.cm-tag,.cm-s-twilight span.cm-type,.cm-s-twilight span.cm-variable-2,.cm-s-twilight span.cm-variable-3{color:#607392}.cm-s-twilight .cm-operator{color:#cda869}.cm-s-twilight .cm-comment{color:#777;font-style:italic;font-weight:400}.cm-s-twilight .cm-string{color:#8f9d6a;font-style:italic}.cm-s-twilight .cm-string-2{color:#bd6b18}.cm-s-twilight .cm-meta{background-color:#141414;color:#f7f7f7}.cm-s-twilight .cm-builtin{color:#cda869}.cm-s-twilight .cm-tag{color:#997643}.cm-s-twilight .cm-attribute{color:#d6bb6d}.cm-s-twilight .cm-header{color:#ff6400}.cm-s-twilight .cm-hr{color:#aeaeae}.cm-s-twilight .cm-link{color:#ad9361;font-style:italic;text-decoration:none}.cm-s-twilight .cm-error{border-bottom:1px solid red}.cm-s-twilight .CodeMirror-activeline-background{background:#27282e}.cm-s-twilight .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.cm-s-vibrant-ink.CodeMirror{background:#000;color:#fff}.cm-s-vibrant-ink div.CodeMirror-selected{background:#35493c}.cm-s-vibrant-ink .CodeMirror-line::selection,.cm-s-vibrant-ink .CodeMirror-line>span::selection,.cm-s-vibrant-ink .CodeMirror-line>span>span::selection{background:rgba(53,73,60,.99)}.cm-s-vibrant-ink .CodeMirror-line::-moz-selection,.cm-s-vibrant-ink .CodeMirror-line>span::-moz-selection,.cm-s-vibrant-ink .CodeMirror-line>span>span::-moz-selection{background:rgba(53,73,60,.99)}.cm-s-vibrant-ink .CodeMirror-gutters{background:#002240;border-right:1px solid #aaa}.cm-s-vibrant-ink .CodeMirror-guttermarker{color:#fff}.cm-s-vibrant-ink .CodeMirror-guttermarker-subtle,.cm-s-vibrant-ink .CodeMirror-linenumber{color:#d0d0d0}.cm-s-vibrant-ink .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-vibrant-ink .cm-keyword{color:#cc7832}.cm-s-vibrant-ink .cm-atom{color:#fc0}.cm-s-vibrant-ink .cm-number{color:#ffee98}.cm-s-vibrant-ink .cm-def{color:#8da6ce}.cm-s-vibrant-ink span.cm-variable-2,.cm-s-vibrant-ink span.cm-variable-3,.cm-s-vibrant span.cm-def,.cm-s-vibrant span.cm-tag,.cm-s-vibrant span.cm-type{color:#ffc66d}.cm-s-vibrant-ink .cm-operator{color:#888}.cm-s-vibrant-ink .cm-comment{color:gray;font-weight:700}.cm-s-vibrant-ink .cm-string{color:#a5c25c}.cm-s-vibrant-ink .cm-string-2{color:red}.cm-s-vibrant-ink .cm-meta{color:#d8fa3c}.cm-s-vibrant-ink .cm-attribute,.cm-s-vibrant-ink .cm-builtin,.cm-s-vibrant-ink .cm-tag{color:#8da6ce}.cm-s-vibrant-ink .cm-header{color:#ff6400}.cm-s-vibrant-ink .cm-hr{color:#aeaeae}.cm-s-vibrant-ink .cm-link{color:blue}.cm-s-vibrant-ink .cm-error{border-bottom:1px solid red}.cm-s-vibrant-ink .CodeMirror-activeline-background{background:#27282e}.cm-s-vibrant-ink .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.cm-s-xq-dark.CodeMirror{background:#0a001f;color:#f8f8f8}.cm-s-xq-dark div.CodeMirror-selected{background:#27007a}.cm-s-xq-dark .CodeMirror-line::selection,.cm-s-xq-dark .CodeMirror-line>span::selection,.cm-s-xq-dark .CodeMirror-line>span>span::selection{background:rgba(39,0,122,.99)}.cm-s-xq-dark .CodeMirror-line::-moz-selection,.cm-s-xq-dark .CodeMirror-line>span::-moz-selection,.cm-s-xq-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(39,0,122,.99)}.cm-s-xq-dark .CodeMirror-gutters{background:#0a001f;border-right:1px solid #aaa}.cm-s-xq-dark .CodeMirror-guttermarker{color:#ffbd40}.cm-s-xq-dark .CodeMirror-guttermarker-subtle,.cm-s-xq-dark .CodeMirror-linenumber{color:#f8f8f8}.cm-s-xq-dark .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-xq-dark span.cm-keyword{color:#ffbd40}.cm-s-xq-dark span.cm-atom{color:#6c8cd5}.cm-s-xq-dark span.cm-number{color:#164}.cm-s-xq-dark span.cm-def{color:#fff;text-decoration:underline}.cm-s-xq-dark span.cm-variable{color:#fff}.cm-s-xq-dark span.cm-variable-2{color:#eee}.cm-s-xq-dark span.cm-type,.cm-s-xq-dark span.cm-variable-3{color:#ddd}.cm-s-xq-dark span.cm-comment{color:gray}.cm-s-xq-dark span.cm-string{color:#9fee00}.cm-s-xq-dark span.cm-meta{color:#ff0}.cm-s-xq-dark span.cm-qualifier{color:#fff700}.cm-s-xq-dark span.cm-builtin{color:#30a}.cm-s-xq-dark span.cm-bracket{color:#cc7}.cm-s-xq-dark span.cm-tag{color:#ffbd40}.cm-s-xq-dark span.cm-attribute{color:#fff700}.cm-s-xq-dark span.cm-error{color:red}.cm-s-xq-dark .CodeMirror-activeline-background{background:#27282e}.cm-s-xq-dark .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.cm-s-xq-light span.cm-keyword{line-height:1em;font-weight:700;color:#5a5cad}.cm-s-xq-light span.cm-atom{color:#6c8cd5}.cm-s-xq-light span.cm-number{color:#164}.cm-s-xq-light span.cm-def{text-decoration:underline}.cm-s-xq-light span.cm-type,.cm-s-xq-light span.cm-variable,.cm-s-xq-light span.cm-variable-2,.cm-s-xq-light span.cm-variable-3{color:#000}.cm-s-xq-light span.cm-comment{color:#0080ff;font-style:italic}.cm-s-xq-light span.cm-string{color:red}.cm-s-xq-light span.cm-meta{color:#ff0}.cm-s-xq-light span.cm-qualifier{color:grey}.cm-s-xq-light span.cm-builtin{color:#7ea656}.cm-s-xq-light span.cm-bracket{color:#cc7}.cm-s-xq-light span.cm-tag{color:#3f7f7f}.cm-s-xq-light span.cm-attribute{color:#7f007f}.cm-s-xq-light span.cm-error{color:red}.cm-s-xq-light .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-xq-light .CodeMirror-matchingbracket{outline:1px solid grey;color:#000!important;background:#ff0}.cm-s-yeti.CodeMirror{background-color:#eceae8!important;color:#d1c9c0!important;border:none}.cm-s-yeti .CodeMirror-gutters{color:#adaba6;background-color:#e5e1db;border:none}.cm-s-yeti .CodeMirror-cursor{border-left:thin solid #d1c9c0}.cm-s-yeti .CodeMirror-linenumber{color:#adaba6}.cm-s-yeti.CodeMirror-focused div.CodeMirror-selected{background:#dcd8d2}.cm-s-yeti .CodeMirror-line::selection,.cm-s-yeti .CodeMirror-line>span::selection,.cm-s-yeti .CodeMirror-line>span>span::selection{background:#dcd8d2}.cm-s-yeti .CodeMirror-line::-moz-selection,.cm-s-yeti .CodeMirror-line>span::-moz-selection,.cm-s-yeti .CodeMirror-line>span>span::-moz-selection{background:#dcd8d2}.cm-s-yeti span.cm-comment{color:#d4c8be}.cm-s-yeti span.cm-string,.cm-s-yeti span.cm-string-2{color:#96c0d8}.cm-s-yeti span.cm-number{color:#a074c4}.cm-s-yeti span.cm-variable{color:#55b5db}.cm-s-yeti span.cm-variable-2{color:#a074c4}.cm-s-yeti span.cm-def{color:#55b5db}.cm-s-yeti span.cm-keyword,.cm-s-yeti span.cm-operator{color:#9fb96e}.cm-s-yeti span.cm-atom{color:#a074c4}.cm-s-yeti span.cm-meta,.cm-s-yeti span.cm-tag{color:#96c0d8}.cm-s-yeti span.cm-attribute{color:#9fb96e}.cm-s-yeti span.cm-qualifier{color:#96c0d8}.cm-s-yeti span.cm-builtin,.cm-s-yeti span.cm-property{color:#a074c4}.cm-s-yeti span.cm-type,.cm-s-yeti span.cm-variable-3{color:#96c0d8}.cm-s-yeti .CodeMirror-activeline-background{background:#e7e4e0}.cm-s-yeti .CodeMirror-matchingbracket{text-decoration:underline}.cm-s-zenburn .CodeMirror-gutters{background:#3f3f3f!important}.cm-s-zenburn .CodeMirror-foldgutter-open,.CodeMirror-foldgutter-folded{color:#999}.cm-s-zenburn .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-zenburn{background-color:#3f3f3f;color:#dcdccc}.cm-s-zenburn span.cm-builtin{color:#dcdccc;font-weight:700}.cm-s-zenburn span.cm-comment{color:#7f9f7f}.cm-s-zenburn span.cm-keyword{color:#f0dfaf;font-weight:700}.cm-s-zenburn span.cm-atom{color:#bfebbf}.cm-s-zenburn span.cm-def{color:#dcdccc}.cm-s-zenburn span.cm-variable{color:#dfaf8f}.cm-s-zenburn span.cm-variable-2{color:#dcdccc}.cm-s-zenburn span.cm-string,.cm-s-zenburn span.cm-string-2{color:#cc9393}.cm-s-zenburn span.cm-number{color:#dcdccc}.cm-s-zenburn span.cm-tag{color:#93e0e3}.cm-s-zenburn span.cm-attribute,.cm-s-zenburn span.cm-property{color:#dfaf8f}.cm-s-zenburn span.cm-qualifier{color:#7cb8bb}.cm-s-zenburn span.cm-meta{color:#f0dfaf}.cm-s-zenburn span.cm-header,.cm-s-zenburn span.cm-operator{color:#f0efd0}.cm-s-zenburn span.CodeMirror-matchingbracket{box-sizing:border-box;background:transparent;border-bottom:1px solid}.cm-s-zenburn span.CodeMirror-nonmatchingbracket{border-bottom:1px solid;background:none}.cm-s-zenburn .CodeMirror-activeline,.cm-s-zenburn .CodeMirror-activeline-background{background:#000}.cm-s-zenburn div.CodeMirror-selected{background:#545454}.cm-s-zenburn .CodeMirror-focused div.CodeMirror-selected{background:#4f4f4f}/*! + * Bootstrap v4.0.0-alpha.6 (https://getbootstrap.com) + * Copyright 2011-2017 The Bootstrap Authors + * Copyright 2011-2017 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}[hidden],template{display:none}@media print{*,:after,:before,blockquote:first-letter,blockquote:first-line,div:first-letter,div:first-line,li:first-letter,li:first-line,p:first-letter,p:first-line{text-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}abbr[title]:after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}@-ms-viewport{width:device-width}html{-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}body{font-family:Open Sans,-apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:1rem;font-weight:400;line-height:1.5;color:#292b2c;background-color:#fff}[tabindex="-1"]:focus{outline:none!important}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{cursor:help}address{font-style:normal;line-height:inherit}address,dl,ol,ul{margin-bottom:1rem}dl,ol,ul{margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}a{color:#0275d8;text-decoration:none}a:focus,a:hover{color:#014c8c;text-decoration:underline}a:not([href]):not([tabindex]),a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}pre{overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle}[role=button]{cursor:pointer}[role=button],a,area,button,input,label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}table{border-collapse:collapse;background-color:transparent}caption{padding-top:.75rem;padding-bottom:.75rem;color:#636c72;caption-side:bottom}caption,th{text-align:left}label{display:inline-block;margin-bottom:.5rem}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,select,textarea{line-height:inherit}input[type=checkbox]:disabled,input[type=radio]:disabled{cursor:not-allowed}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit}input[type=search]{-webkit-appearance:none}output{display:inline-block}[hidden]{display:none!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1,h1{font-size:2.5rem}.h2,h2{font-size:2rem}.h3,h3{font-size:1.75rem}.h4,h4{font-size:1.5rem}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:6rem}.display-1,.display-2{font-weight:300;line-height:1.1}.display-2{font-size:5.5rem}.display-3{font-size:4.5rem}.display-3,.display-4{font-weight:300;line-height:1.1}.display-4{font-size:3.5rem}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid rgba(0,0,0,.1)}.small,small{font-size:80%;font-weight:400}.mark,mark{padding:.2em;background-color:#f0ad4e}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:5px}.initialism{font-size:90%;text-transform:uppercase}.blockquote{padding:.5rem 1rem;margin-bottom:1rem;font-size:1.25rem;border-left:.25rem solid #eceeef}.blockquote-footer{display:block;font-size:80%;color:#636c72}.blockquote-footer:before{content:"\2014 \A0"}.blockquote-reverse{padding-right:1rem;padding-left:0;text-align:right;border-right:.25rem solid #eceeef;border-left:0}.blockquote-reverse .blockquote-footer:before{content:""}.blockquote-reverse .blockquote-footer:after{content:"\A0 \2014"}.img-fluid,.img-thumbnail{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #ddd;border-radius:.25rem;transition:all .2s ease-in-out}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:90%;color:#636c72}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}code{padding:.2rem .4rem;font-size:90%;color:#bd4147;background-color:#f7f7f9;border-radius:.25rem}a>code{padding:0;color:inherit;background-color:inherit}kbd{padding:.2rem .4rem;font-size:90%;color:#fff;background-color:#292b2c;border-radius:.2rem}kbd kbd{padding:0;font-size:100%;font-weight:700}pre{display:block;margin-top:0;margin-bottom:1rem;font-size:90%;color:#292b2c}pre code{padding:0;font-size:inherit;color:inherit;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{position:relative;margin-left:auto;margin-right:auto;padding-right:7.5px;padding-left:7.5px}@media (min-width:576px){.container{padding-right:7.5px;padding-left:7.5px}}@media (min-width:768px){.container{padding-right:7.5px;padding-left:7.5px}}@media (min-width:992px){.container{padding-right:7.5px;padding-left:7.5px}}@media (min-width:1200px){.container{padding-right:7.5px;padding-left:7.5px}}@media (min-width:576px){.container{width:540px;max-width:100%}}@media (min-width:768px){.container{width:720px;max-width:100%}}@media (min-width:992px){.container{width:960px;max-width:100%}}@media (min-width:1200px){.container{width:1140px;max-width:100%}}.container-fluid{position:relative;margin-left:auto;margin-right:auto;padding-right:7.5px;padding-left:7.5px}@media (min-width:576px){.container-fluid{padding-right:7.5px;padding-left:7.5px}}@media (min-width:768px){.container-fluid{padding-right:7.5px;padding-left:7.5px}}@media (min-width:992px){.container-fluid{padding-right:7.5px;padding-left:7.5px}}@media (min-width:1200px){.container-fluid{padding-right:7.5px;padding-left:7.5px}}.row{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-7.5px;margin-left:-7.5px}@media (min-width:576px){.row{margin-right:-7.5px;margin-left:-7.5px}}@media (min-width:768px){.row{margin-right:-7.5px;margin-left:-7.5px}}@media (min-width:992px){.row{margin-right:-7.5px;margin-left:-7.5px}}@media (min-width:1200px){.row{margin-right:-7.5px;margin-left:-7.5px}}.no-gutters{margin-right:0;margin-left:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-right:0;padding-left:0}.col,.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col-lg,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xl,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12{position:relative;width:100%;min-height:1px;padding-right:7.5px;padding-left:7.5px}@media (min-width:576px){.col,.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col-lg,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xl,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12{padding-right:7.5px;padding-left:7.5px}}@media (min-width:768px){.col,.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col-lg,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xl,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12{padding-right:7.5px;padding-left:7.5px}}@media (min-width:992px){.col,.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col-lg,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xl,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12{padding-right:7.5px;padding-left:7.5px}}@media (min-width:1200px){.col,.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col-lg,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xl,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12{padding-right:7.5px;padding-left:7.5px}}.col{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-1,.col-auto{-webkit-box-flex:0}.col-1{-ms-flex:0 0 8.33333333%;flex:0 0 8.33333333%;max-width:8.33333333%}.col-2{-ms-flex:0 0 16.66666667%;flex:0 0 16.66666667%;max-width:16.66666667%}.col-2,.col-3{-webkit-box-flex:0}.col-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-4{-ms-flex:0 0 33.33333333%;flex:0 0 33.33333333%;max-width:33.33333333%}.col-4,.col-5{-webkit-box-flex:0}.col-5{-ms-flex:0 0 41.66666667%;flex:0 0 41.66666667%;max-width:41.66666667%}.col-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-6,.col-7{-webkit-box-flex:0}.col-7{-ms-flex:0 0 58.33333333%;flex:0 0 58.33333333%;max-width:58.33333333%}.col-8{-ms-flex:0 0 66.66666667%;flex:0 0 66.66666667%;max-width:66.66666667%}.col-8,.col-9{-webkit-box-flex:0}.col-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-10{-ms-flex:0 0 83.33333333%;flex:0 0 83.33333333%;max-width:83.33333333%}.col-10,.col-11{-webkit-box-flex:0}.col-11{-ms-flex:0 0 91.66666667%;flex:0 0 91.66666667%;max-width:91.66666667%}.col-12{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.pull-0{right:auto}.pull-1{right:8.33333333%}.pull-2{right:16.66666667%}.pull-3{right:25%}.pull-4{right:33.33333333%}.pull-5{right:41.66666667%}.pull-6{right:50%}.pull-7{right:58.33333333%}.pull-8{right:66.66666667%}.pull-9{right:75%}.pull-10{right:83.33333333%}.pull-11{right:91.66666667%}.pull-12{right:100%}.push-0{left:auto}.push-1{left:8.33333333%}.push-2{left:16.66666667%}.push-3{left:25%}.push-4{left:33.33333333%}.push-5{left:41.66666667%}.push-6{left:50%}.push-7{left:58.33333333%}.push-8{left:66.66666667%}.push-9{left:75%}.push-10{left:83.33333333%}.push-11{left:91.66666667%}.push-12{left:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}@media (min-width:576px){.col-sm{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-sm-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-sm-1{-webkit-box-flex:0;-ms-flex:0 0 8.33333333%;flex:0 0 8.33333333%;max-width:8.33333333%}.col-sm-2{-webkit-box-flex:0;-ms-flex:0 0 16.66666667%;flex:0 0 16.66666667%;max-width:16.66666667%}.col-sm-3{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-sm-4{-webkit-box-flex:0;-ms-flex:0 0 33.33333333%;flex:0 0 33.33333333%;max-width:33.33333333%}.col-sm-5{-webkit-box-flex:0;-ms-flex:0 0 41.66666667%;flex:0 0 41.66666667%;max-width:41.66666667%}.col-sm-6{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-sm-7{-webkit-box-flex:0;-ms-flex:0 0 58.33333333%;flex:0 0 58.33333333%;max-width:58.33333333%}.col-sm-8{-webkit-box-flex:0;-ms-flex:0 0 66.66666667%;flex:0 0 66.66666667%;max-width:66.66666667%}.col-sm-9{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-sm-10{-webkit-box-flex:0;-ms-flex:0 0 83.33333333%;flex:0 0 83.33333333%;max-width:83.33333333%}.col-sm-11{-webkit-box-flex:0;-ms-flex:0 0 91.66666667%;flex:0 0 91.66666667%;max-width:91.66666667%}.col-sm-12{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.pull-sm-0{right:auto}.pull-sm-1{right:8.33333333%}.pull-sm-2{right:16.66666667%}.pull-sm-3{right:25%}.pull-sm-4{right:33.33333333%}.pull-sm-5{right:41.66666667%}.pull-sm-6{right:50%}.pull-sm-7{right:58.33333333%}.pull-sm-8{right:66.66666667%}.pull-sm-9{right:75%}.pull-sm-10{right:83.33333333%}.pull-sm-11{right:91.66666667%}.pull-sm-12{right:100%}.push-sm-0{left:auto}.push-sm-1{left:8.33333333%}.push-sm-2{left:16.66666667%}.push-sm-3{left:25%}.push-sm-4{left:33.33333333%}.push-sm-5{left:41.66666667%}.push-sm-6{left:50%}.push-sm-7{left:58.33333333%}.push-sm-8{left:66.66666667%}.push-sm-9{left:75%}.push-sm-10{left:83.33333333%}.push-sm-11{left:91.66666667%}.push-sm-12{left:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}}@media (min-width:768px){.col-md{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-md-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-md-1{-webkit-box-flex:0;-ms-flex:0 0 8.33333333%;flex:0 0 8.33333333%;max-width:8.33333333%}.col-md-2{-webkit-box-flex:0;-ms-flex:0 0 16.66666667%;flex:0 0 16.66666667%;max-width:16.66666667%}.col-md-3{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-md-4{-webkit-box-flex:0;-ms-flex:0 0 33.33333333%;flex:0 0 33.33333333%;max-width:33.33333333%}.col-md-5{-webkit-box-flex:0;-ms-flex:0 0 41.66666667%;flex:0 0 41.66666667%;max-width:41.66666667%}.col-md-6{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-md-7{-webkit-box-flex:0;-ms-flex:0 0 58.33333333%;flex:0 0 58.33333333%;max-width:58.33333333%}.col-md-8{-webkit-box-flex:0;-ms-flex:0 0 66.66666667%;flex:0 0 66.66666667%;max-width:66.66666667%}.col-md-9{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-md-10{-webkit-box-flex:0;-ms-flex:0 0 83.33333333%;flex:0 0 83.33333333%;max-width:83.33333333%}.col-md-11{-webkit-box-flex:0;-ms-flex:0 0 91.66666667%;flex:0 0 91.66666667%;max-width:91.66666667%}.col-md-12{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.pull-md-0{right:auto}.pull-md-1{right:8.33333333%}.pull-md-2{right:16.66666667%}.pull-md-3{right:25%}.pull-md-4{right:33.33333333%}.pull-md-5{right:41.66666667%}.pull-md-6{right:50%}.pull-md-7{right:58.33333333%}.pull-md-8{right:66.66666667%}.pull-md-9{right:75%}.pull-md-10{right:83.33333333%}.pull-md-11{right:91.66666667%}.pull-md-12{right:100%}.push-md-0{left:auto}.push-md-1{left:8.33333333%}.push-md-2{left:16.66666667%}.push-md-3{left:25%}.push-md-4{left:33.33333333%}.push-md-5{left:41.66666667%}.push-md-6{left:50%}.push-md-7{left:58.33333333%}.push-md-8{left:66.66666667%}.push-md-9{left:75%}.push-md-10{left:83.33333333%}.push-md-11{left:91.66666667%}.push-md-12{left:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}}@media (min-width:992px){.col-lg{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-lg-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-lg-1{-webkit-box-flex:0;-ms-flex:0 0 8.33333333%;flex:0 0 8.33333333%;max-width:8.33333333%}.col-lg-2{-webkit-box-flex:0;-ms-flex:0 0 16.66666667%;flex:0 0 16.66666667%;max-width:16.66666667%}.col-lg-3{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-lg-4{-webkit-box-flex:0;-ms-flex:0 0 33.33333333%;flex:0 0 33.33333333%;max-width:33.33333333%}.col-lg-5{-webkit-box-flex:0;-ms-flex:0 0 41.66666667%;flex:0 0 41.66666667%;max-width:41.66666667%}.col-lg-6{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-lg-7{-webkit-box-flex:0;-ms-flex:0 0 58.33333333%;flex:0 0 58.33333333%;max-width:58.33333333%}.col-lg-8{-webkit-box-flex:0;-ms-flex:0 0 66.66666667%;flex:0 0 66.66666667%;max-width:66.66666667%}.col-lg-9{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-lg-10{-webkit-box-flex:0;-ms-flex:0 0 83.33333333%;flex:0 0 83.33333333%;max-width:83.33333333%}.col-lg-11{-webkit-box-flex:0;-ms-flex:0 0 91.66666667%;flex:0 0 91.66666667%;max-width:91.66666667%}.col-lg-12{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.pull-lg-0{right:auto}.pull-lg-1{right:8.33333333%}.pull-lg-2{right:16.66666667%}.pull-lg-3{right:25%}.pull-lg-4{right:33.33333333%}.pull-lg-5{right:41.66666667%}.pull-lg-6{right:50%}.pull-lg-7{right:58.33333333%}.pull-lg-8{right:66.66666667%}.pull-lg-9{right:75%}.pull-lg-10{right:83.33333333%}.pull-lg-11{right:91.66666667%}.pull-lg-12{right:100%}.push-lg-0{left:auto}.push-lg-1{left:8.33333333%}.push-lg-2{left:16.66666667%}.push-lg-3{left:25%}.push-lg-4{left:33.33333333%}.push-lg-5{left:41.66666667%}.push-lg-6{left:50%}.push-lg-7{left:58.33333333%}.push-lg-8{left:66.66666667%}.push-lg-9{left:75%}.push-lg-10{left:83.33333333%}.push-lg-11{left:91.66666667%}.push-lg-12{left:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}}@media (min-width:1200px){.col-xl{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-xl-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-xl-1{-webkit-box-flex:0;-ms-flex:0 0 8.33333333%;flex:0 0 8.33333333%;max-width:8.33333333%}.col-xl-2{-webkit-box-flex:0;-ms-flex:0 0 16.66666667%;flex:0 0 16.66666667%;max-width:16.66666667%}.col-xl-3{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-xl-4{-webkit-box-flex:0;-ms-flex:0 0 33.33333333%;flex:0 0 33.33333333%;max-width:33.33333333%}.col-xl-5{-webkit-box-flex:0;-ms-flex:0 0 41.66666667%;flex:0 0 41.66666667%;max-width:41.66666667%}.col-xl-6{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-xl-7{-webkit-box-flex:0;-ms-flex:0 0 58.33333333%;flex:0 0 58.33333333%;max-width:58.33333333%}.col-xl-8{-webkit-box-flex:0;-ms-flex:0 0 66.66666667%;flex:0 0 66.66666667%;max-width:66.66666667%}.col-xl-9{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-xl-10{-webkit-box-flex:0;-ms-flex:0 0 83.33333333%;flex:0 0 83.33333333%;max-width:83.33333333%}.col-xl-11{-webkit-box-flex:0;-ms-flex:0 0 91.66666667%;flex:0 0 91.66666667%;max-width:91.66666667%}.col-xl-12{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.pull-xl-0{right:auto}.pull-xl-1{right:8.33333333%}.pull-xl-2{right:16.66666667%}.pull-xl-3{right:25%}.pull-xl-4{right:33.33333333%}.pull-xl-5{right:41.66666667%}.pull-xl-6{right:50%}.pull-xl-7{right:58.33333333%}.pull-xl-8{right:66.66666667%}.pull-xl-9{right:75%}.pull-xl-10{right:83.33333333%}.pull-xl-11{right:91.66666667%}.pull-xl-12{right:100%}.push-xl-0{left:auto}.push-xl-1{left:8.33333333%}.push-xl-2{left:16.66666667%}.push-xl-3{left:25%}.push-xl-4{left:33.33333333%}.push-xl-5{left:41.66666667%}.push-xl-6{left:50%}.push-xl-7{left:58.33333333%}.push-xl-8{left:66.66666667%}.push-xl-9{left:75%}.push-xl-10{left:83.33333333%}.push-xl-11{left:91.66666667%}.push-xl-12{left:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}}.table{width:100%;max-width:100%;margin-bottom:1rem}.table td,.table th{padding:.75rem;vertical-align:top;border-top:1px solid #eceeef}.table thead th{vertical-align:bottom;border-bottom:2px solid #eceeef}.table tbody+tbody{border-top:2px solid #eceeef}.table .table{background-color:#fff}.table-sm td,.table-sm th{padding:.3rem}.table-bordered,.table-bordered td,.table-bordered th{border:1px solid #eceeef}.table-bordered thead td,.table-bordered thead th{border-bottom-width:2px}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.05)}.table-active,.table-active>td,.table-active>th,.table-hover .table-active:hover,.table-hover .table-active:hover>td,.table-hover .table-active:hover>th,.table-hover tbody tr:hover{background-color:rgba(0,0,0,.075)}.table-success,.table-success>td,.table-success>th{background-color:#5cb85c}.table-hover .table-success:hover,.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#4cae4c}.table-info,.table-info>td,.table-info>th{background-color:#5bc0de}.table-hover .table-info:hover,.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#46b8da}.table-warning,.table-warning>td,.table-warning>th{background-color:#f0ad4e}.table-hover .table-warning:hover,.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#eea236}.table-danger,.table-danger>td,.table-danger>th{background-color:#d9534f}.table-hover .table-danger:hover,.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#d43f3a}.thead-inverse th{color:#fff;background-color:#292b2c}.thead-default th{color:#464a4c;background-color:#eceeef}.table-inverse{color:#fff;background-color:#292b2c}.table-inverse td,.table-inverse th,.table-inverse thead th{border-color:#fff}.table-inverse.table-bordered{border:0}.table-responsive{display:block;width:100%;overflow-x:auto;-ms-overflow-style:-ms-autohiding-scrollbar}.table-responsive.table-bordered{border:0}.form-control{display:block;width:100%;padding:.5rem .75rem;font-size:1rem;line-height:1.25;color:#464a4c;background-color:#fff;background-image:none;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::-ms-expand{background-color:transparent;border:0}.form-control:focus{color:#464a4c;background-color:#fff;border-color:#5cb3fd;outline:none}.form-control::-webkit-input-placeholder{color:#636c72;opacity:1}.form-control:-ms-input-placeholder{color:#636c72;opacity:1}.form-control::placeholder{color:#636c72;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#eceeef;opacity:1}.form-control:disabled{cursor:not-allowed}select.form-control:not([size]):not([multiple]){height:calc(2.25rem + 2px)}select.form-control:focus::-ms-value{color:#464a4c;background-color:#fff}.form-control-file,.form-control-range{display:block}.col-form-label{padding-top:calc(.5rem - 1px * 2);padding-bottom:calc(.5rem - 1px * 2);margin-bottom:0}.col-form-label-lg{padding-top:calc(.75rem - 1px * 2);padding-bottom:calc(.75rem - 1px * 2);font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem - 1px * 2);padding-bottom:calc(.25rem - 1px * 2);font-size:.875rem}.col-form-legend{font-size:1rem}.col-form-legend,.form-control-static{padding-top:.5rem;padding-bottom:.5rem;margin-bottom:0}.form-control-static{line-height:1.25;border:solid transparent;border-width:1px 0}.form-control-static.form-control-lg,.form-control-static.form-control-sm,.input-group-lg>.form-control-static.form-control,.input-group-lg>.form-control-static.input-group-addon,.input-group-lg>.input-group-btn>.form-control-static.btn,.input-group-sm>.form-control-static.form-control,.input-group-sm>.form-control-static.input-group-addon,.input-group-sm>.input-group-btn>.form-control-static.btn{padding-right:0;padding-left:0}.form-control-sm,.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.input-group-sm>.input-group-btn>select.btn:not([size]):not([multiple]),.input-group-sm>select.form-control:not([size]):not([multiple]),.input-group-sm>select.input-group-addon:not([size]):not([multiple]),select.form-control-sm:not([size]):not([multiple]){height:1.8125rem}.form-control-lg,.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{padding:.75rem 1.5rem;font-size:1.25rem;border-radius:.3rem}.input-group-lg>.input-group-btn>select.btn:not([size]):not([multiple]),.input-group-lg>select.form-control:not([size]):not([multiple]),.input-group-lg>select.input-group-addon:not([size]):not([multiple]),select.form-control-lg:not([size]):not([multiple]){height:3.16666667rem}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-check{position:relative;display:block;margin-bottom:.5rem}.form-check.disabled .form-check-label{color:#636c72;cursor:not-allowed}.form-check-label{padding-left:1.25rem;margin-bottom:0;cursor:pointer}.form-check-input{position:absolute;margin-top:.25rem;margin-left:-1.25rem}.form-check-input:only-child{position:static}.form-check-inline{display:inline-block}.form-check-inline .form-check-label{vertical-align:middle}.form-check-inline+.form-check-inline{margin-left:.75rem}.form-control-feedback{margin-top:.25rem}.form-control-danger,.form-control-success,.form-control-warning{padding-right:2.25rem;background-repeat:no-repeat;background-position:center right .5625rem;background-size:1.125rem 1.125rem}.has-success .col-form-label,.has-success .custom-control,.has-success .form-check-label,.has-success .form-control-feedback,.has-success .form-control-label{color:#5cb85c}.has-success .form-control{border-color:#5cb85c}.has-success .input-group-addon{color:#5cb85c;border-color:#5cb85c;background-color:#eaf6ea}.has-success .form-control-success{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%235cb85c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E")}.has-warning .col-form-label,.has-warning .custom-control,.has-warning .form-check-label,.has-warning .form-control-feedback,.has-warning .form-control-label{color:#f0ad4e}.has-warning .form-control{border-color:#f0ad4e}.has-warning .input-group-addon{color:#f0ad4e;border-color:#f0ad4e;background-color:#fff}.has-warning .form-control-warning{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23f0ad4e' d='M4.4 5.324h-.8v-2.46h.8zm0 1.42h-.8V5.89h.8zM3.76.63L.04 7.075c-.115.2.016.425.26.426h7.397c.242 0 .372-.226.258-.426C6.726 4.924 5.47 2.79 4.253.63c-.113-.174-.39-.174-.494 0z'/%3E%3C/svg%3E")}.has-danger .col-form-label,.has-danger .custom-control,.has-danger .form-check-label,.has-danger .form-control-feedback,.has-danger .form-control-label{color:#d9534f}.has-danger .form-control{border-color:#d9534f}.has-danger .input-group-addon{color:#d9534f;border-color:#d9534f;background-color:#fdf7f7}.has-danger .form-control-danger{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23d9534f' viewBox='-2 -2 7 7'%3E%3Cpath stroke='%23d9534f' d='M0 0l3 3m0-3L0 3'/%3E%3Ccircle r='.5'/%3E%3Ccircle cx='3' r='.5'/%3E%3Ccircle cy='3' r='.5'/%3E%3Ccircle cx='3' cy='3' r='.5'/%3E%3C/svg%3E")}.form-inline{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.form-inline .form-check{width:100%}@media (min-width:576px){.form-inline label{-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.form-inline .form-group,.form-inline label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;align-items:center;margin-bottom:0}.form-inline .form-group{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-align:center}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{width:auto}.form-inline .form-control-label{margin-bottom:0;vertical-align:middle}.form-inline .form-check{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:auto;margin-top:0;margin-bottom:0}.form-inline .form-check-label{padding-left:0}.form-inline .form-check-input{position:relative;margin-top:0;margin-right:.25rem;margin-left:0}.form-inline .custom-control{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-left:0}.form-inline .custom-control-indicator{position:static;display:inline-block;margin-right:.25rem;vertical-align:text-bottom}.form-inline .has-feedback .form-control-feedback{top:0}}.btn{display:inline-block;font-weight:400;line-height:1.25;text-align:center;white-space:nowrap;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid transparent;padding:.5rem 1rem;font-size:1rem;border-radius:.25rem;transition:all .2s ease-in-out}.btn:focus,.btn:hover{text-decoration:none}.btn.focus,.btn:focus{outline:0;box-shadow:0 0 0 2px rgba(2,117,216,.25)}.btn.disabled,.btn:disabled{cursor:not-allowed;opacity:.65}.btn.active,.btn:active{background-image:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-primary{color:#fff;background-color:#0275d8;border-color:#0275d8}.btn-primary:hover{color:#fff;background-color:#025aa5;border-color:#01549b}.btn-primary.focus,.btn-primary:focus{box-shadow:0 0 0 2px rgba(2,117,216,.5)}.btn-primary.disabled,.btn-primary:disabled{background-color:#0275d8;border-color:#0275d8}.btn-primary.active,.btn-primary:active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#025aa5;background-image:none;border-color:#01549b}.btn-secondary{color:#292b2c;background-color:#fff;border-color:#ccc}.btn-secondary:hover{color:#292b2c;background-color:#e6e5e5;border-color:#adadad}.btn-secondary.focus,.btn-secondary:focus{box-shadow:0 0 0 2px hsla(0,0%,80%,.5)}.btn-secondary.disabled,.btn-secondary:disabled{background-color:#fff;border-color:#ccc}.btn-secondary.active,.btn-secondary:active,.show>.btn-secondary.dropdown-toggle{color:#292b2c;background-color:#e6e5e5;background-image:none;border-color:#adadad}.btn-info{color:#fff;background-color:#5bc0de;border-color:#5bc0de}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#2aabd2}.btn-info.focus,.btn-info:focus{box-shadow:0 0 0 2px rgba(91,192,222,.5)}.btn-info.disabled,.btn-info:disabled{background-color:#5bc0de;border-color:#5bc0de}.btn-info.active,.btn-info:active,.show>.btn-info.dropdown-toggle{color:#fff;background-color:#31b0d5;background-image:none;border-color:#2aabd2}.btn-success{color:#fff;background-color:#5cb85c;border-color:#5cb85c}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#419641}.btn-success.focus,.btn-success:focus{box-shadow:0 0 0 2px rgba(92,184,92,.5)}.btn-success.disabled,.btn-success:disabled{background-color:#5cb85c;border-color:#5cb85c}.btn-success.active,.btn-success:active,.show>.btn-success.dropdown-toggle{color:#fff;background-color:#449d44;background-image:none;border-color:#419641}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#f0ad4e}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#eb9316}.btn-warning.focus,.btn-warning:focus{box-shadow:0 0 0 2px rgba(240,173,78,.5)}.btn-warning.disabled,.btn-warning:disabled{background-color:#f0ad4e;border-color:#f0ad4e}.btn-warning.active,.btn-warning:active,.show>.btn-warning.dropdown-toggle{color:#fff;background-color:#ec971f;background-image:none;border-color:#eb9316}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d9534f}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#c12e2a}.btn-danger.focus,.btn-danger:focus{box-shadow:0 0 0 2px rgba(217,83,79,.5)}.btn-danger.disabled,.btn-danger:disabled{background-color:#d9534f;border-color:#d9534f}.btn-danger.active,.btn-danger:active,.show>.btn-danger.dropdown-toggle{color:#fff;background-color:#c9302c;background-image:none;border-color:#c12e2a}.btn-outline-primary{color:#0275d8;background-image:none;background-color:transparent;border-color:#0275d8}.btn-outline-primary:hover{color:#fff;background-color:#0275d8;border-color:#0275d8}.btn-outline-primary.focus,.btn-outline-primary:focus{box-shadow:0 0 0 2px rgba(2,117,216,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#0275d8;background-color:transparent}.btn-outline-primary.active,.btn-outline-primary:active,.show>.btn-outline-primary.dropdown-toggle{color:#fff;background-color:#0275d8;border-color:#0275d8}.btn-outline-secondary{color:#ccc;background-image:none;background-color:transparent;border-color:#ccc}.btn-outline-secondary:hover{color:#fff;background-color:#ccc;border-color:#ccc}.btn-outline-secondary.focus,.btn-outline-secondary:focus{box-shadow:0 0 0 2px hsla(0,0%,80%,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#ccc;background-color:transparent}.btn-outline-secondary.active,.btn-outline-secondary:active,.show>.btn-outline-secondary.dropdown-toggle{color:#fff;background-color:#ccc;border-color:#ccc}.btn-outline-info{color:#5bc0de;background-image:none;background-color:transparent;border-color:#5bc0de}.btn-outline-info:hover{color:#fff;background-color:#5bc0de;border-color:#5bc0de}.btn-outline-info.focus,.btn-outline-info:focus{box-shadow:0 0 0 2px rgba(91,192,222,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#5bc0de;background-color:transparent}.btn-outline-info.active,.btn-outline-info:active,.show>.btn-outline-info.dropdown-toggle{color:#fff;background-color:#5bc0de;border-color:#5bc0de}.btn-outline-success{color:#5cb85c;background-image:none;background-color:transparent;border-color:#5cb85c}.btn-outline-success:hover{color:#fff;background-color:#5cb85c;border-color:#5cb85c}.btn-outline-success.focus,.btn-outline-success:focus{box-shadow:0 0 0 2px rgba(92,184,92,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#5cb85c;background-color:transparent}.btn-outline-success.active,.btn-outline-success:active,.show>.btn-outline-success.dropdown-toggle{color:#fff;background-color:#5cb85c;border-color:#5cb85c}.btn-outline-warning{color:#f0ad4e;background-image:none;background-color:transparent;border-color:#f0ad4e}.btn-outline-warning:hover{color:#fff;background-color:#f0ad4e;border-color:#f0ad4e}.btn-outline-warning.focus,.btn-outline-warning:focus{box-shadow:0 0 0 2px rgba(240,173,78,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#f0ad4e;background-color:transparent}.btn-outline-warning.active,.btn-outline-warning:active,.show>.btn-outline-warning.dropdown-toggle{color:#fff;background-color:#f0ad4e;border-color:#f0ad4e}.btn-outline-danger{color:#d9534f;background-image:none;background-color:transparent;border-color:#d9534f}.btn-outline-danger:hover{color:#fff;background-color:#d9534f;border-color:#d9534f}.btn-outline-danger.focus,.btn-outline-danger:focus{box-shadow:0 0 0 2px rgba(217,83,79,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#d9534f;background-color:transparent}.btn-outline-danger.active,.btn-outline-danger:active,.show>.btn-outline-danger.dropdown-toggle{color:#fff;background-color:#d9534f;border-color:#d9534f}.btn-link{font-weight:400;color:#0275d8;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link:disabled{background-color:transparent}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#014c8c;text-decoration:underline;background-color:transparent}.btn-link:disabled{color:#636c72}.btn-link:disabled:focus,.btn-link:disabled:hover{text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:.75rem 1.5rem;font-size:1.25rem;border-radius:.3rem}.btn-group-sm>.btn,.btn-sm{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;transition:opacity .15s linear}.fade.show{opacity:1}.collapse{display:none}.collapse.show{display:block}tr.collapse.show{display:table-row}tbody.collapse.show{display:table-row-group}.collapsing{height:0;overflow:hidden;transition:height .35s ease}.collapsing,.dropdown,.dropup{position:relative}.dropdown-toggle:after{display:inline-block;width:0;height:0;margin-left:.3em;vertical-align:middle;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-left:.3em solid transparent}.dropdown-toggle:focus{outline:0}.dropup .dropdown-toggle:after{border-top:0;border-bottom:.3em solid}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:10rem;padding:.5rem 0;margin:.125rem 0 0;font-size:1rem;color:#292b2c;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropdown-divider{height:1px;margin:.5rem 0;overflow:hidden;background-color:#eceeef}.dropdown-item{display:block;width:100%;padding:3px 1.5rem;clear:both;font-weight:400;color:#292b2c;text-align:inherit;white-space:nowrap;background:none;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#1d1e1f;text-decoration:none;background-color:#f7f7f9}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#0275d8}.dropdown-item.disabled,.dropdown-item:disabled{color:#636c72;cursor:not-allowed;background-color:transparent}.show>.dropdown-menu{display:block}.show>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:.5rem 1.5rem;margin-bottom:0;font-size:.875rem;color:#636c72;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.dropup .dropdown-menu{top:auto;bottom:100%;margin-bottom:.125rem}.btn-group,.btn-group-vertical{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group-vertical .btn+.btn,.btn-group-vertical .btn+.btn-group,.btn-group-vertical .btn-group+.btn,.btn-group-vertical .btn-group+.btn-group,.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn+.dropdown-toggle-split:after{margin-left:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:1.125rem;padding-left:1.125rem}.btn-group-vertical{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.btn-group-vertical .btn,.btn-group-vertical .btn-group{width:100%}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio],[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.input-group .form-control{position:relative;z-index:2;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:1%;margin-bottom:0}.input-group .form-control:active,.input-group .form-control:focus,.input-group .form-control:hover{z-index:3}.input-group-addon,.input-group-btn,.input-group .form-control{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{white-space:nowrap;vertical-align:middle}.input-group-addon{padding:.5rem .75rem;margin-bottom:0;font-size:1rem;font-weight:400;line-height:1.25;color:#464a4c;text-align:center;background-color:#eceeef;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.input-group-addon.form-control-sm,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.input-group-addon.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.input-group-addon.form-control-lg,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.input-group-addon.btn{padding:.75rem 1.5rem;font-size:1.25rem;border-radius:.3rem}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group-addon:not(:last-child),.input-group-btn:not(:first-child)>.btn-group:not(:last-child)>.btn,.input-group-btn:not(:first-child)>.btn:not(:last-child):not(.dropdown-toggle),.input-group-btn:not(:last-child)>.btn,.input-group-btn:not(:last-child)>.btn-group>.btn,.input-group-btn:not(:last-child)>.dropdown-toggle,.input-group .form-control:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:not(:last-child){border-right:0}.input-group-addon:not(:first-child),.input-group-btn:not(:first-child)>.btn,.input-group-btn:not(:first-child)>.btn-group>.btn,.input-group-btn:not(:first-child)>.dropdown-toggle,.input-group-btn:not(:last-child)>.btn-group:not(:first-child)>.btn,.input-group-btn:not(:last-child)>.btn:not(:first-child),.input-group .form-control:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.form-control+.input-group-addon:not(:first-child){border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative;-webkit-box-flex:1;-ms-flex:1;flex:1}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:3}.input-group-btn:not(:last-child)>.btn,.input-group-btn:not(:last-child)>.btn-group{margin-right:-1px}.input-group-btn:not(:first-child)>.btn,.input-group-btn:not(:first-child)>.btn-group{z-index:2;margin-left:-1px}.input-group-btn:not(:first-child)>.btn-group:active,.input-group-btn:not(:first-child)>.btn-group:focus,.input-group-btn:not(:first-child)>.btn-group:hover,.input-group-btn:not(:first-child)>.btn:active,.input-group-btn:not(:first-child)>.btn:focus,.input-group-btn:not(:first-child)>.btn:hover{z-index:3}.custom-control{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;min-height:1.5rem;padding-left:1.5rem;margin-right:1rem;cursor:pointer}.custom-control-input{position:absolute;z-index:-1;opacity:0}.custom-control-input:checked~.custom-control-indicator{color:#fff;background-color:#0275d8}.custom-control-input:focus~.custom-control-indicator{box-shadow:0 0 0 1px #fff,0 0 0 3px #0275d8}.custom-control-input:active~.custom-control-indicator{color:#fff;background-color:#8fcafe}.custom-control-input:disabled~.custom-control-indicator{cursor:not-allowed;background-color:#eceeef}.custom-control-input:disabled~.custom-control-description{color:#636c72;cursor:not-allowed}.custom-control-indicator{position:absolute;top:.25rem;left:0;display:block;width:1rem;height:1rem;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#ddd;background-repeat:no-repeat;background-position:50%;background-size:50% 50%}.custom-checkbox .custom-control-indicator{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-indicator{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E")}.custom-checkbox .custom-control-input:indeterminate~.custom-control-indicator{background-color:#0275d8;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='%23fff' d='M0 2h4'/%3E%3C/svg%3E")}.custom-radio .custom-control-indicator{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-indicator{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E")}.custom-controls-stacked{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.custom-controls-stacked .custom-control{margin-bottom:.25rem}.custom-controls-stacked .custom-control+.custom-control{margin-left:0}.custom-select{display:inline-block;max-width:100%;height:calc(2.25rem + 2px);padding:.375rem 1.75rem .375rem .75rem;line-height:1.25;color:#464a4c;vertical-align:middle;background:#fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right .75rem center;background-size:8px 10px;border:1px solid rgba(0,0,0,.15);border-radius:.25rem;-moz-appearance:none;-webkit-appearance:none}.custom-select:focus{border-color:#5cb3fd;outline:none}.custom-select:focus::-ms-value{color:#464a4c;background-color:#fff}.custom-select:disabled{color:#636c72;cursor:not-allowed;background-color:#eceeef}.custom-select::-ms-expand{opacity:0}.custom-select-sm{padding-top:.375rem;padding-bottom:.375rem;font-size:75%}.custom-file{position:relative;display:inline-block;max-width:100%;height:2.5rem;margin-bottom:0;cursor:pointer}.custom-file-input{min-width:14rem;max-width:100%;height:2.5rem;margin:0;filter:alpha(opacity=0);opacity:0}.custom-file-control{position:absolute;top:0;right:0;left:0;z-index:5;height:2.5rem;padding:.5rem 1rem;line-height:1.5;color:#464a4c;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fff;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.custom-file-control:lang(en):after{content:"Choose file..."}.custom-file-control:before{position:absolute;top:-1px;right:-1px;bottom:-1px;z-index:6;display:block;height:2.5rem;padding:.5rem 1rem;line-height:1.5;color:#464a4c;background-color:#eceeef;border:1px solid rgba(0,0,0,.15);border-radius:0 .25rem .25rem 0}.custom-file-control:lang(en):before{content:"Browse"}.nav{display:-webkit-box;display:-ms-flexbox;display:flex;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5em 1em}.nav-link:focus,.nav-link:hover{text-decoration:none}.nav-link.disabled{color:#636c72;cursor:not-allowed}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs .nav-item{margin-bottom:-1px}.nav-tabs .nav-link{border:1px solid transparent;border-top-right-radius:.25rem;border-top-left-radius:.25rem}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#eceeef #eceeef #ddd}.nav-tabs .nav-link.disabled{color:#636c72;background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#464a4c;background-color:#fff;border-color:#ddd #ddd #fff}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.nav-pills .nav-link{border-radius:.25rem}.nav-pills .nav-item.show .nav-link,.nav-pills .nav-link.active{color:#fff;cursor:default;background-color:#0275d8}.nav-fill .nav-item{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:center}.nav-justified .nav-item{-webkit-box-flex:1;-ms-flex:1 1 100%;flex:1 1 100%;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:.5rem 1rem}.navbar-brand{display:inline-block;padding-top:.25rem;padding-bottom:.25rem;margin-right:1rem;font-size:1.25rem;line-height:inherit;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-nav{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-text{display:inline-block;padding-top:.425rem;padding-bottom:.425rem}.navbar-toggler{-ms-flex-item-align:start;align-self:flex-start;padding:.25rem .75rem;font-size:1.25rem;line-height:1;background:transparent;border:1px solid transparent;border-radius:.25rem}.navbar-toggler:focus,.navbar-toggler:hover{text-decoration:none}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;content:"";background:no-repeat 50%;background-size:100% 100%}.navbar-toggler-left{position:absolute;left:1rem}.navbar-toggler-right{position:absolute;right:1rem}@media (max-width:575px){.navbar-toggleable .navbar-nav .dropdown-menu{position:static;float:none}.navbar-toggleable>.container{padding-right:0;padding-left:0}}@media (min-width:576px){.navbar-toggleable{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggleable,.navbar-toggleable .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-toggleable .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-toggleable>.container{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggleable .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;width:100%}.navbar-toggleable .navbar-toggler{display:none}}@media (max-width:767px){.navbar-toggleable-sm .navbar-nav .dropdown-menu{position:static;float:none}.navbar-toggleable-sm>.container{padding-right:0;padding-left:0}}@media (min-width:768px){.navbar-toggleable-sm{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggleable-sm,.navbar-toggleable-sm .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-toggleable-sm .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-toggleable-sm>.container{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggleable-sm .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;width:100%}.navbar-toggleable-sm .navbar-toggler{display:none}}@media (max-width:991px){.navbar-toggleable-md .navbar-nav .dropdown-menu{position:static;float:none}.navbar-toggleable-md>.container{padding-right:0;padding-left:0}}@media (min-width:992px){.navbar-toggleable-md{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggleable-md,.navbar-toggleable-md .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-toggleable-md .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-toggleable-md>.container{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggleable-md .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;width:100%}.navbar-toggleable-md .navbar-toggler{display:none}}@media (max-width:1199px){.navbar-toggleable-lg .navbar-nav .dropdown-menu{position:static;float:none}.navbar-toggleable-lg>.container{padding-right:0;padding-left:0}}@media (min-width:1200px){.navbar-toggleable-lg{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggleable-lg,.navbar-toggleable-lg .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-toggleable-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-toggleable-lg>.container{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggleable-lg .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;width:100%}.navbar-toggleable-lg .navbar-toggler{display:none}}.navbar-toggleable-xl{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggleable-xl .navbar-nav .dropdown-menu{position:static;float:none}.navbar-toggleable-xl>.container{padding-right:0;padding-left:0}.navbar-toggleable-xl .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-toggleable-xl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-toggleable-xl>.container{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggleable-xl .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;width:100%}.navbar-toggleable-xl .navbar-toggler{display:none}.navbar-light .navbar-brand,.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover,.navbar-light .navbar-toggler,.navbar-light .navbar-toggler:focus,.navbar-light .navbar-toggler:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.5)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .nav-link.open,.navbar-light .navbar-nav .open>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{border-color:rgba(0,0,0,.1)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E")}.navbar-light .navbar-text{color:rgba(0,0,0,.5)}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-toggler,.navbar-inverse .navbar-toggler:focus,.navbar-inverse .navbar-toggler:hover{color:#fff}.navbar-inverse .navbar-nav .nav-link{color:hsla(0,0%,100%,.5)}.navbar-inverse .navbar-nav .nav-link:focus,.navbar-inverse .navbar-nav .nav-link:hover{color:hsla(0,0%,100%,.75)}.navbar-inverse .navbar-nav .nav-link.disabled{color:hsla(0,0%,100%,.25)}.navbar-inverse .navbar-nav .active>.nav-link,.navbar-inverse .navbar-nav .nav-link.active,.navbar-inverse .navbar-nav .nav-link.open,.navbar-inverse .navbar-nav .open>.nav-link{color:#fff}.navbar-inverse .navbar-toggler{border-color:hsla(0,0%,100%,.1)}.navbar-inverse .navbar-toggler-icon{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E")}.navbar-inverse .navbar-text{color:hsla(0,0%,100%,.5)}.card{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#fff;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card-block{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:1.25rem}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem}.card-subtitle,.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card>.list-group:first-child .list-group-item:first-child{border-top-right-radius:.25rem;border-top-left-radius:.25rem}.card>.list-group:last-child .list-group-item:last-child{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.card-header{padding:.75rem 1.25rem;margin-bottom:0;background-color:#f7f7f9;border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{padding:.75rem 1.25rem;background-color:#f7f7f9;border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-bottom:-.75rem;border-bottom:0}.card-header-pills,.card-header-tabs{margin-right:-.625rem;margin-left:-.625rem}.card-primary{background-color:#0275d8;border-color:#0275d8}.card-primary .card-footer,.card-primary .card-header{background-color:transparent}.card-success{background-color:#5cb85c;border-color:#5cb85c}.card-success .card-footer,.card-success .card-header{background-color:transparent}.card-info{background-color:#5bc0de;border-color:#5bc0de}.card-info .card-footer,.card-info .card-header{background-color:transparent}.card-warning{background-color:#f0ad4e;border-color:#f0ad4e}.card-warning .card-footer,.card-warning .card-header{background-color:transparent}.card-danger{background-color:#d9534f;border-color:#d9534f}.card-danger .card-footer,.card-danger .card-header,.card-outline-primary{background-color:transparent}.card-outline-primary{border-color:#0275d8}.card-outline-secondary{background-color:transparent;border-color:#ccc}.card-outline-info{background-color:transparent;border-color:#5bc0de}.card-outline-success{background-color:transparent;border-color:#5cb85c}.card-outline-warning{background-color:transparent;border-color:#f0ad4e}.card-outline-danger{background-color:transparent;border-color:#d9534f}.card-inverse{color:hsla(0,0%,100%,.65)}.card-inverse .card-footer,.card-inverse .card-header{background-color:transparent;border-color:hsla(0,0%,100%,.2)}.card-inverse .card-blockquote,.card-inverse .card-footer,.card-inverse .card-header,.card-inverse .card-title{color:#fff}.card-inverse .card-blockquote .blockquote-footer,.card-inverse .card-link,.card-inverse .card-subtitle,.card-inverse .card-text{color:hsla(0,0%,100%,.65)}.card-inverse .card-link:focus,.card-inverse .card-link:hover{color:#fff}.card-blockquote{padding:0;margin-bottom:0;border-left:0}.card-img{border-radius:calc(.25rem - 1px)}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1.25rem}.card-img-top{border-top-right-radius:calc(.25rem - 1px);border-top-left-radius:calc(.25rem - 1px)}.card-img-bottom{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}@media (min-width:576px){.card-deck{-webkit-box-orient:horizontal;-ms-flex-flow:row wrap;flex-flow:row wrap}.card-deck,.card-deck .card{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.card-deck .card{-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.card-deck .card:not(:first-child){margin-left:7.5px}.card-deck .card:not(:last-child){margin-right:7.5px}}@media (min-width:576px){.card-group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}.card-group .card{-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0}.card-group .card+.card{margin-left:0;border-left:0}.card-group .card:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.card-group .card:first-child .card-img-top{border-top-right-radius:0}.card-group .card:first-child .card-img-bottom{border-bottom-right-radius:0}.card-group .card:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.card-group .card:last-child .card-img-top{border-top-left-radius:0}.card-group .card:last-child .card-img-bottom{border-bottom-left-radius:0}.card-group .card:not(:first-child):not(:last-child),.card-group .card:not(:first-child):not(:last-child) .card-img-bottom,.card-group .card:not(:first-child):not(:last-child) .card-img-top{border-radius:0}}@media (min-width:576px){.card-columns{-webkit-column-count:3;column-count:3;-webkit-column-gap:1.25rem;column-gap:1.25rem}.card-columns .card{display:inline-block;width:100%;margin-bottom:.75rem}}.breadcrumb{padding:.75rem 1rem;margin-bottom:1rem;list-style:none;background-color:#eceeef;border-radius:.25rem}.breadcrumb:after{display:block;content:"";clear:both}.breadcrumb-item{float:left}.breadcrumb-item+.breadcrumb-item:before{display:inline-block;padding-right:.5rem;padding-left:.5rem;color:#636c72;content:"/"}.breadcrumb-item+.breadcrumb-item:hover:before{text-decoration:underline;text-decoration:none}.breadcrumb-item.active{color:#636c72}.pagination{display:-webkit-box;display:-ms-flexbox;display:flex;padding-left:0;list-style:none;border-radius:.25rem}.page-item:first-child .page-link{margin-left:0;border-bottom-left-radius:.25rem;border-top-left-radius:.25rem}.page-item:last-child .page-link{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.page-item.active .page-link{z-index:2;color:#fff;background-color:#0275d8;border-color:#0275d8}.page-item.disabled .page-link{color:#636c72;pointer-events:none;cursor:not-allowed;background-color:#fff;border-color:#ddd}.page-link{position:relative;display:block;padding:.5rem .75rem;margin-left:-1px;line-height:1.25;color:#0275d8;background-color:#fff;border:1px solid #ddd}.page-link:focus,.page-link:hover{color:#014c8c;text-decoration:none;background-color:#eceeef;border-color:#ddd}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem}.pagination-lg .page-item:first-child .page-link{border-bottom-left-radius:.3rem;border-top-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-bottom-right-radius:.3rem;border-top-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem}.pagination-sm .page-item:first-child .page-link{border-bottom-left-radius:.2rem;border-top-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-bottom-right-radius:.2rem;border-top-right-radius:.2rem}.badge{display:inline-block;padding:.25em .4em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.badge-pill{padding-right:.6em;padding-left:.6em;border-radius:10rem}.badge-default{background-color:#636c72}.badge-default[href]:focus,.badge-default[href]:hover{background-color:#4b5257}.badge-primary{background-color:#0275d8}.badge-primary[href]:focus,.badge-primary[href]:hover{background-color:#025aa5}.badge-success{background-color:#5cb85c}.badge-success[href]:focus,.badge-success[href]:hover{background-color:#449d44}.badge-info{background-color:#5bc0de}.badge-info[href]:focus,.badge-info[href]:hover{background-color:#31b0d5}.badge-warning{background-color:#f0ad4e}.badge-warning[href]:focus,.badge-warning[href]:hover{background-color:#ec971f}.badge-danger{background-color:#d9534f}.badge-danger[href]:focus,.badge-danger[href]:hover{background-color:#c9302c}.jumbotron{padding:2rem 1rem;margin-bottom:2rem;background-color:#eceeef;border-radius:.3rem}@media (min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-hr{border-top-color:#d0d5d8}.jumbotron-fluid{padding-right:0;padding-left:0;border-radius:0}.alert{padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible .close{position:relative;top:-.75rem;right:-1.25rem;padding:.75rem 1.25rem;color:inherit}.alert-success{background-color:#5cb85c;border-color:#4cae4c;color:#fff}.alert-success hr{border-top-color:#449d44}.alert-success .alert-link{color:#e6e5e5}.alert-info{background-color:#5bc0de;border-color:#3db5d8;color:#fff}.alert-info hr{border-top-color:#2aabd2}.alert-info .alert-link{color:#e6e5e5}.alert-warning{background-color:#f0ad4e;border-color:#eea236;color:#fff}.alert-warning hr{border-top-color:#ec971f}.alert-warning .alert-link{color:#e6e5e5}.alert-danger{background-color:#d9534f;border-color:#d43f3a;color:#fff}.alert-danger hr{border-top-color:#c9302c}.alert-danger .alert-link{color:#e6e5e5}@-webkit-keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}@keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}.progress{display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden;font-size:.75rem;line-height:1rem;text-align:center;background-color:#eceeef;border-radius:.25rem}.progress-bar{height:1rem;color:#fff;background-color:#0275d8}.progress-bar-striped{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:progress-bar-stripes 1s linear infinite;animation:progress-bar-stripes 1s linear infinite}.media{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.media-body{-webkit-box-flex:1;-ms-flex:1;flex:1}.list-group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0}.list-group-item-action{width:100%;color:#464a4c;text-align:inherit}.list-group-item-action .list-group-item-heading{color:#292b2c}.list-group-item-action:focus,.list-group-item-action:hover{color:#464a4c;text-decoration:none;background-color:#f7f7f9}.list-group-item-action:active{color:#292b2c;background-color:#eceeef}.list-group-item{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.75rem 1.25rem;margin-bottom:-1px;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-right-radius:.25rem;border-top-left-radius:.25rem}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.list-group-item:focus,.list-group-item:hover{text-decoration:none}.list-group-item.disabled,.list-group-item:disabled{color:#636c72;cursor:not-allowed;background-color:#fff}.list-group-item.disabled .list-group-item-heading,.list-group-item:disabled .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item:disabled .list-group-item-text{color:#636c72}.list-group-item.active{z-index:2;color:#fff;background-color:#0275d8;border-color:#0275d8}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text{color:#daeeff}.list-group-flush .list-group-item{border-right:0;border-left:0;border-radius:0}.list-group-flush:first-child .list-group-item:first-child{border-top:0}.list-group-flush:last-child .list-group-item:last-child{border-bottom:0}.list-group-item-success{color:#fff;background-color:#5cb85c}a.list-group-item-success,button.list-group-item-success{color:#fff}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#fff;background-color:#4cae4c}a.list-group-item-success.active,button.list-group-item-success.active{color:#fff;background-color:#fff;border-color:#fff}.list-group-item-info{color:#fff;background-color:#5bc0de}a.list-group-item-info,button.list-group-item-info{color:#fff}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#fff;background-color:#46b8da}a.list-group-item-info.active,button.list-group-item-info.active{color:#fff;background-color:#fff;border-color:#fff}.list-group-item-warning{color:#fff;background-color:#f0ad4e}a.list-group-item-warning,button.list-group-item-warning{color:#fff}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#fff;background-color:#eea236}a.list-group-item-warning.active,button.list-group-item-warning.active{color:#fff;background-color:#fff;border-color:#fff}.list-group-item-danger{color:#fff;background-color:#d9534f}a.list-group-item-danger,button.list-group-item-danger{color:#fff}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#fff;background-color:#d43f3a}a.list-group-item-danger.active,button.list-group-item-danger.active{color:#fff;background-color:#fff;border-color:#fff}.embed-responsive{position:relative;display:block;width:100%;padding:0;overflow:hidden}.embed-responsive:before{display:block;content:""}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-21by9:before{padding-top:42.85714286%}.embed-responsive-16by9:before{padding-top:56.25%}.embed-responsive-4by3:before{padding-top:75%}.embed-responsive-1by1:before{padding-top:100%}.close{float:right;font-size:1.5rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.5}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.75}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal,.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;outline:0}.modal.fade .modal-dialog{transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out;-webkit-transform:translateY(-25%);transform:translateY(-25%)}.modal.show .modal-dialog{-webkit-transform:translate(0);transform:translate(0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:15px;border-bottom:1px solid #eceeef}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:15px}.modal-footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding:15px;border-top:1px solid #eceeef}.modal-footer>:not(:first-child){margin-left:.25rem}.modal-footer>:not(:last-child){margin-right:.25rem}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:576px){.modal-dialog{max-width:500px;margin:30px auto}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg{max-width:800px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:Open Sans,-apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip.bs-tether-element-attached-bottom,.tooltip.tooltip-top{padding:5px 0;margin-top:-3px}.tooltip.bs-tether-element-attached-bottom .tooltip-inner:before,.tooltip.tooltip-top .tooltip-inner:before{bottom:0;left:50%;margin-left:-5px;content:"";border-width:5px 5px 0;border-top-color:#000}.tooltip.bs-tether-element-attached-left,.tooltip.tooltip-right{padding:0 5px;margin-left:3px}.tooltip.bs-tether-element-attached-left .tooltip-inner:before,.tooltip.tooltip-right .tooltip-inner:before{top:50%;left:0;margin-top:-5px;content:"";border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.bs-tether-element-attached-top,.tooltip.tooltip-bottom{padding:5px 0;margin-top:3px}.tooltip.bs-tether-element-attached-top .tooltip-inner:before,.tooltip.tooltip-bottom .tooltip-inner:before{top:0;left:50%;margin-left:-5px;content:"";border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bs-tether-element-attached-right,.tooltip.tooltip-left{padding:0 5px;margin-left:-3px}.tooltip.bs-tether-element-attached-right .tooltip-inner:before,.tooltip.tooltip-left .tooltip-inner:before{top:50%;right:0;margin-top:-5px;content:"";border-width:5px 0 5px 5px;border-left-color:#000}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.tooltip-inner:before{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.popover{position:absolute;top:0;left:0;z-index:1060;display:block;max-width:276px;padding:1px;font-family:Open Sans,-apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover.bs-tether-element-attached-bottom,.popover.popover-top{margin-top:-10px}.popover.bs-tether-element-attached-bottom:after,.popover.bs-tether-element-attached-bottom:before,.popover.popover-top:after,.popover.popover-top:before{left:50%;border-bottom-width:0}.popover.bs-tether-element-attached-bottom:before,.popover.popover-top:before{bottom:-11px;margin-left:-11px;border-top-color:rgba(0,0,0,.25)}.popover.bs-tether-element-attached-bottom:after,.popover.popover-top:after{bottom:-10px;margin-left:-10px;border-top-color:#fff}.popover.bs-tether-element-attached-left,.popover.popover-right{margin-left:10px}.popover.bs-tether-element-attached-left:after,.popover.bs-tether-element-attached-left:before,.popover.popover-right:after,.popover.popover-right:before{top:50%;border-left-width:0}.popover.bs-tether-element-attached-left:before,.popover.popover-right:before{left:-11px;margin-top:-11px;border-right-color:rgba(0,0,0,.25)}.popover.bs-tether-element-attached-left:after,.popover.popover-right:after{left:-10px;margin-top:-10px;border-right-color:#fff}.popover.bs-tether-element-attached-top,.popover.popover-bottom{margin-top:10px}.popover.bs-tether-element-attached-top:after,.popover.bs-tether-element-attached-top:before,.popover.popover-bottom:after,.popover.popover-bottom:before{left:50%;border-top-width:0}.popover.bs-tether-element-attached-top:before,.popover.popover-bottom:before{top:-11px;margin-left:-11px;border-bottom-color:rgba(0,0,0,.25)}.popover.bs-tether-element-attached-top:after,.popover.popover-bottom:after{top:-10px;margin-left:-10px;border-bottom-color:#f7f7f7}.popover.bs-tether-element-attached-top .popover-title:before,.popover.popover-bottom .popover-title:before{position:absolute;top:0;left:50%;display:block;width:20px;margin-left:-10px;content:"";border-bottom:1px solid #f7f7f7}.popover.bs-tether-element-attached-right,.popover.popover-left{margin-left:-10px}.popover.bs-tether-element-attached-right:after,.popover.bs-tether-element-attached-right:before,.popover.popover-left:after,.popover.popover-left:before{top:50%;border-right-width:0}.popover.bs-tether-element-attached-right:before,.popover.popover-left:before{right:-11px;margin-top:-11px;border-left-color:rgba(0,0,0,.25)}.popover.bs-tether-element-attached-right:after,.popover.popover-left:after{right:-10px;margin-top:-10px;border-left-color:#fff}.popover-title{padding:8px 14px;margin-bottom:0;font-size:1rem;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-top-right-radius:calc(.3rem - 1px);border-top-left-radius:calc(.3rem - 1px)}.popover-title:empty{display:none}.popover-content{padding:9px 14px}.popover:after,.popover:before{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover:before{content:"";border-width:11px}.popover:after{content:"";border-width:10px}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-item{position:relative;display:none;width:100%}@media (-webkit-transform-3d){.carousel-item{transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}}@supports ((-webkit-transform:translate3d(0,0,0)) or (transform:translate3d(0,0,0))){.carousel-item{transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:-webkit-box;display:-ms-flexbox;display:flex}.carousel-item-next,.carousel-item-prev{position:absolute;top:0}@media (-webkit-transform-3d){.carousel-item-next.carousel-item-left,.carousel-item-prev.carousel-item-right{-webkit-transform:translateZ(0);transform:translateZ(0)}.active.carousel-item-right,.carousel-item-next{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.active.carousel-item-left,.carousel-item-prev{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@supports ((-webkit-transform:translate3d(0,0,0)) or (transform:translate3d(0,0,0))){.carousel-item-next.carousel-item-left,.carousel-item-prev.carousel-item-right{-webkit-transform:translateZ(0);transform:translateZ(0)}.active.carousel-item-right,.carousel-item-next{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.active.carousel-item-left,.carousel-item-prev{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:15%;color:#fff;text-align:center;opacity:.5}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:20px;height:20px;background:transparent no-repeat 50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E")}.carousel-control-next-icon{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E")}.carousel-indicators{position:absolute;right:0;bottom:10px;left:0;z-index:15;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-left:0;margin-right:15%;margin-left:15%;list-style:none}.carousel-indicators li{position:relative;-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;max-width:30px;height:3px;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:hsla(0,0%,100%,.5)}.carousel-indicators li:before{top:-10px}.carousel-indicators li:after,.carousel-indicators li:before{position:absolute;left:0;display:inline-block;width:100%;height:10px;content:""}.carousel-indicators li:after{bottom:-10px}.carousel-indicators .active{background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-faded{background-color:#f7f7f7}.bg-primary{background-color:#0275d8!important}a.bg-primary:focus,a.bg-primary:hover{background-color:#025aa5!important}.bg-success{background-color:#5cb85c!important}a.bg-success:focus,a.bg-success:hover{background-color:#449d44!important}.bg-info{background-color:#5bc0de!important}a.bg-info:focus,a.bg-info:hover{background-color:#31b0d5!important}.bg-warning{background-color:#f0ad4e!important}a.bg-warning:focus,a.bg-warning:hover{background-color:#ec971f!important}.bg-danger{background-color:#d9534f!important}a.bg-danger:focus,a.bg-danger:hover{background-color:#c9302c!important}.bg-inverse{background-color:#292b2c!important}a.bg-inverse:focus,a.bg-inverse:hover{background-color:#101112!important}.border-0{border:0!important}.border-top-0{border-top:0!important}.border-right-0{border-right:0!important}.border-bottom-0{border-bottom:0!important}.border-left-0{border-left:0!important}.rounded{border-radius:.25rem}.rounded-top{border-top-left-radius:.25rem}.rounded-right,.rounded-top{border-top-right-radius:.25rem}.rounded-bottom,.rounded-right{border-bottom-right-radius:.25rem}.rounded-bottom,.rounded-left{border-bottom-left-radius:.25rem}.rounded-left{border-top-left-radius:.25rem}.rounded-circle{border-radius:50%}.rounded-0{border-radius:0}.clearfix:after{display:block;content:"";clear:both}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-cell{display:table-cell!important}.d-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}@media (min-width:576px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-sm-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:768px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-md-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:992px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-lg-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:1200px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-xl-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}}.flex-first{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.flex-last{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.flex-unordered{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.flex-row{-webkit-box-orient:horizontal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-column,.flex-row{-webkit-box-direction:normal!important}.flex-column{-webkit-box-orient:vertical!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-row-reverse{-webkit-box-orient:horizontal!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-column-reverse,.flex-row-reverse{-webkit-box-direction:reverse!important}.flex-column-reverse{-webkit-box-orient:vertical!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-auto{-ms-flex-item-align:auto!important;-ms-grid-row-align:auto!important;align-self:auto!important}.align-self-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-center{-ms-flex-item-align:center!important;-ms-grid-row-align:center!important;align-self:center!important}.align-self-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-stretch{-ms-flex-item-align:stretch!important;-ms-grid-row-align:stretch!important;align-self:stretch!important}@media (min-width:576px){.flex-sm-first{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.flex-sm-last{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.flex-sm-unordered{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.flex-sm-row{-webkit-box-orient:horizontal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-sm-column,.flex-sm-row{-webkit-box-direction:normal!important}.flex-sm-column{-webkit-box-orient:vertical!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-sm-row-reverse{-webkit-box-orient:horizontal!important;-webkit-box-direction:reverse!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-sm-column-reverse{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-sm-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-sm-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-sm-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-sm-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-sm-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-sm-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-sm-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-sm-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-sm-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-sm-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-sm-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-sm-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-sm-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-sm-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-sm-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-sm-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-sm-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-sm-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-sm-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-sm-auto{-ms-flex-item-align:auto!important;-ms-grid-row-align:auto!important;align-self:auto!important}.align-self-sm-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-sm-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-sm-center{-ms-flex-item-align:center!important;-ms-grid-row-align:center!important;align-self:center!important}.align-self-sm-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-sm-stretch{-ms-flex-item-align:stretch!important;-ms-grid-row-align:stretch!important;align-self:stretch!important}}@media (min-width:768px){.flex-md-first{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.flex-md-last{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.flex-md-unordered{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.flex-md-row{-webkit-box-orient:horizontal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-md-column,.flex-md-row{-webkit-box-direction:normal!important}.flex-md-column{-webkit-box-orient:vertical!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-md-row-reverse{-webkit-box-orient:horizontal!important;-webkit-box-direction:reverse!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-md-column-reverse{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-md-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-md-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-md-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-md-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-md-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-md-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-md-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-md-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-md-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-md-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-md-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-md-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-md-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-md-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-md-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-md-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-md-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-md-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-md-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-md-auto{-ms-flex-item-align:auto!important;-ms-grid-row-align:auto!important;align-self:auto!important}.align-self-md-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-md-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-md-center{-ms-flex-item-align:center!important;-ms-grid-row-align:center!important;align-self:center!important}.align-self-md-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-md-stretch{-ms-flex-item-align:stretch!important;-ms-grid-row-align:stretch!important;align-self:stretch!important}}@media (min-width:992px){.flex-lg-first{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.flex-lg-last{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.flex-lg-unordered{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.flex-lg-row{-webkit-box-orient:horizontal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-lg-column,.flex-lg-row{-webkit-box-direction:normal!important}.flex-lg-column{-webkit-box-orient:vertical!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-lg-row-reverse{-webkit-box-orient:horizontal!important;-webkit-box-direction:reverse!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-lg-column-reverse{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-lg-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-lg-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-lg-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-lg-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-lg-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-lg-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-lg-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-lg-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-lg-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-lg-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-lg-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-lg-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-lg-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-lg-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-lg-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-lg-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-lg-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-lg-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-lg-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-lg-auto{-ms-flex-item-align:auto!important;-ms-grid-row-align:auto!important;align-self:auto!important}.align-self-lg-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-lg-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-lg-center{-ms-flex-item-align:center!important;-ms-grid-row-align:center!important;align-self:center!important}.align-self-lg-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-lg-stretch{-ms-flex-item-align:stretch!important;-ms-grid-row-align:stretch!important;align-self:stretch!important}}@media (min-width:1200px){.flex-xl-first{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.flex-xl-last{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.flex-xl-unordered{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.flex-xl-row{-webkit-box-orient:horizontal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-xl-column,.flex-xl-row{-webkit-box-direction:normal!important}.flex-xl-column{-webkit-box-orient:vertical!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-xl-row-reverse{-webkit-box-orient:horizontal!important;-webkit-box-direction:reverse!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-xl-column-reverse{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-xl-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-xl-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-xl-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-xl-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-xl-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-xl-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-xl-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-xl-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-xl-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-xl-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-xl-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-xl-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-xl-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-xl-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-xl-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-xl-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-xl-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-xl-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-xl-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-xl-auto{-ms-flex-item-align:auto!important;-ms-grid-row-align:auto!important;align-self:auto!important}.align-self-xl-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-xl-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-xl-center{-ms-flex-item-align:center!important;-ms-grid-row-align:center!important;align-self:center!important}.align-self-xl-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-xl-stretch{-ms-flex-item-align:stretch!important;-ms-grid-row-align:stretch!important;align-self:stretch!important}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media (min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media (min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media (min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media (min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.fixed-top{top:0}.fixed-bottom,.fixed-top{position:fixed;right:0;left:0;z-index:1030}.fixed-bottom{bottom:0}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1030}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.mw-100{max-width:100%!important}.mh-100{max-height:100%!important}.m-0{margin:0 0!important}.mt-0{margin-top:0!important}.mr-0{margin-right:0!important}.mb-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.mx-0{margin-right:0!important}.my-0{margin-top:0!important;margin-bottom:0!important}.m-1{margin:.25rem .25rem!important}.mt-1{margin-top:.25rem!important}.mr-1{margin-right:.25rem!important}.mb-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.mx-1{margin-right:.25rem!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.m-2{margin:.5rem .5rem!important}.mt-2{margin-top:.5rem!important}.mr-2{margin-right:.5rem!important}.mb-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.mx-2{margin-right:.5rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.m-3{margin:1rem 1rem!important}.mt-3{margin-top:1rem!important}.mr-3{margin-right:1rem!important}.mb-3{margin-bottom:1rem!important}.ml-3,.mx-3{margin-left:1rem!important}.mx-3{margin-right:1rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.m-4{margin:1.5rem 1.5rem!important}.mt-4{margin-top:1.5rem!important}.mr-4{margin-right:1.5rem!important}.mb-4{margin-bottom:1.5rem!important}.ml-4,.mx-4{margin-left:1.5rem!important}.mx-4{margin-right:1.5rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.m-5{margin:3rem 3rem!important}.mt-5{margin-top:3rem!important}.mr-5{margin-right:3rem!important}.mb-5{margin-bottom:3rem!important}.ml-5,.mx-5{margin-left:3rem!important}.mx-5{margin-right:3rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.p-0{padding:0 0!important}.pt-0{padding-top:0!important}.pr-0{padding-right:0!important}.pb-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.px-0{padding-right:0!important}.py-0{padding-top:0!important;padding-bottom:0!important}.p-1{padding:.25rem .25rem!important}.pt-1{padding-top:.25rem!important}.pr-1{padding-right:.25rem!important}.pb-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.px-1{padding-right:.25rem!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.p-2{padding:.5rem .5rem!important}.pt-2{padding-top:.5rem!important}.pr-2{padding-right:.5rem!important}.pb-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.px-2{padding-right:.5rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.p-3{padding:1rem 1rem!important}.pt-3{padding-top:1rem!important}.pr-3{padding-right:1rem!important}.pb-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.px-3{padding-right:1rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.p-4{padding:1.5rem 1.5rem!important}.pt-4{padding-top:1.5rem!important}.pr-4{padding-right:1.5rem!important}.pb-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5rem!important}.px-4{padding-right:1.5rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.p-5{padding:3rem 3rem!important}.pt-5{padding-top:3rem!important}.pr-5{padding-right:3rem!important}.pb-5{padding-bottom:3rem!important}.pl-5,.px-5{padding-left:3rem!important}.px-5{padding-right:3rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.m-auto{margin:auto!important}.mt-auto{margin-top:auto!important}.mr-auto{margin-right:auto!important}.mb-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}.mx-auto{margin-right:auto!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}@media (min-width:576px){.m-sm-0{margin:0 0!important}.mt-sm-0{margin-top:0!important}.mr-sm-0{margin-right:0!important}.mb-sm-0{margin-bottom:0!important}.ml-sm-0,.mx-sm-0{margin-left:0!important}.mx-sm-0{margin-right:0!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.m-sm-1{margin:.25rem .25rem!important}.mt-sm-1{margin-top:.25rem!important}.mr-sm-1{margin-right:.25rem!important}.mb-sm-1{margin-bottom:.25rem!important}.ml-sm-1,.mx-sm-1{margin-left:.25rem!important}.mx-sm-1{margin-right:.25rem!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.m-sm-2{margin:.5rem .5rem!important}.mt-sm-2{margin-top:.5rem!important}.mr-sm-2{margin-right:.5rem!important}.mb-sm-2{margin-bottom:.5rem!important}.ml-sm-2,.mx-sm-2{margin-left:.5rem!important}.mx-sm-2{margin-right:.5rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.m-sm-3{margin:1rem 1rem!important}.mt-sm-3{margin-top:1rem!important}.mr-sm-3{margin-right:1rem!important}.mb-sm-3{margin-bottom:1rem!important}.ml-sm-3,.mx-sm-3{margin-left:1rem!important}.mx-sm-3{margin-right:1rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.m-sm-4{margin:1.5rem 1.5rem!important}.mt-sm-4{margin-top:1.5rem!important}.mr-sm-4{margin-right:1.5rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.ml-sm-4,.mx-sm-4{margin-left:1.5rem!important}.mx-sm-4{margin-right:1.5rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.m-sm-5{margin:3rem 3rem!important}.mt-sm-5{margin-top:3rem!important}.mr-sm-5{margin-right:3rem!important}.mb-sm-5{margin-bottom:3rem!important}.ml-sm-5,.mx-sm-5{margin-left:3rem!important}.mx-sm-5{margin-right:3rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.p-sm-0{padding:0 0!important}.pt-sm-0{padding-top:0!important}.pr-sm-0{padding-right:0!important}.pb-sm-0{padding-bottom:0!important}.pl-sm-0,.px-sm-0{padding-left:0!important}.px-sm-0{padding-right:0!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.p-sm-1{padding:.25rem .25rem!important}.pt-sm-1{padding-top:.25rem!important}.pr-sm-1{padding-right:.25rem!important}.pb-sm-1{padding-bottom:.25rem!important}.pl-sm-1,.px-sm-1{padding-left:.25rem!important}.px-sm-1{padding-right:.25rem!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.p-sm-2{padding:.5rem .5rem!important}.pt-sm-2{padding-top:.5rem!important}.pr-sm-2{padding-right:.5rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pl-sm-2,.px-sm-2{padding-left:.5rem!important}.px-sm-2{padding-right:.5rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.p-sm-3{padding:1rem 1rem!important}.pt-sm-3{padding-top:1rem!important}.pr-sm-3{padding-right:1rem!important}.pb-sm-3{padding-bottom:1rem!important}.pl-sm-3,.px-sm-3{padding-left:1rem!important}.px-sm-3{padding-right:1rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.p-sm-4{padding:1.5rem 1.5rem!important}.pt-sm-4{padding-top:1.5rem!important}.pr-sm-4{padding-right:1.5rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pl-sm-4,.px-sm-4{padding-left:1.5rem!important}.px-sm-4{padding-right:1.5rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.p-sm-5{padding:3rem 3rem!important}.pt-sm-5{padding-top:3rem!important}.pr-sm-5{padding-right:3rem!important}.pb-sm-5{padding-bottom:3rem!important}.pl-sm-5,.px-sm-5{padding-left:3rem!important}.px-sm-5{padding-right:3rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.m-sm-auto{margin:auto!important}.mt-sm-auto{margin-top:auto!important}.mr-sm-auto{margin-right:auto!important}.mb-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}.mx-sm-auto{margin-right:auto!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}}@media (min-width:768px){.m-md-0{margin:0 0!important}.mt-md-0{margin-top:0!important}.mr-md-0{margin-right:0!important}.mb-md-0{margin-bottom:0!important}.ml-md-0,.mx-md-0{margin-left:0!important}.mx-md-0{margin-right:0!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.m-md-1{margin:.25rem .25rem!important}.mt-md-1{margin-top:.25rem!important}.mr-md-1{margin-right:.25rem!important}.mb-md-1{margin-bottom:.25rem!important}.ml-md-1,.mx-md-1{margin-left:.25rem!important}.mx-md-1{margin-right:.25rem!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.m-md-2{margin:.5rem .5rem!important}.mt-md-2{margin-top:.5rem!important}.mr-md-2{margin-right:.5rem!important}.mb-md-2{margin-bottom:.5rem!important}.ml-md-2,.mx-md-2{margin-left:.5rem!important}.mx-md-2{margin-right:.5rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.m-md-3{margin:1rem 1rem!important}.mt-md-3{margin-top:1rem!important}.mr-md-3{margin-right:1rem!important}.mb-md-3{margin-bottom:1rem!important}.ml-md-3,.mx-md-3{margin-left:1rem!important}.mx-md-3{margin-right:1rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.m-md-4{margin:1.5rem 1.5rem!important}.mt-md-4{margin-top:1.5rem!important}.mr-md-4{margin-right:1.5rem!important}.mb-md-4{margin-bottom:1.5rem!important}.ml-md-4,.mx-md-4{margin-left:1.5rem!important}.mx-md-4{margin-right:1.5rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.m-md-5{margin:3rem 3rem!important}.mt-md-5{margin-top:3rem!important}.mr-md-5{margin-right:3rem!important}.mb-md-5{margin-bottom:3rem!important}.ml-md-5,.mx-md-5{margin-left:3rem!important}.mx-md-5{margin-right:3rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.p-md-0{padding:0 0!important}.pt-md-0{padding-top:0!important}.pr-md-0{padding-right:0!important}.pb-md-0{padding-bottom:0!important}.pl-md-0,.px-md-0{padding-left:0!important}.px-md-0{padding-right:0!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.p-md-1{padding:.25rem .25rem!important}.pt-md-1{padding-top:.25rem!important}.pr-md-1{padding-right:.25rem!important}.pb-md-1{padding-bottom:.25rem!important}.pl-md-1,.px-md-1{padding-left:.25rem!important}.px-md-1{padding-right:.25rem!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.p-md-2{padding:.5rem .5rem!important}.pt-md-2{padding-top:.5rem!important}.pr-md-2{padding-right:.5rem!important}.pb-md-2{padding-bottom:.5rem!important}.pl-md-2,.px-md-2{padding-left:.5rem!important}.px-md-2{padding-right:.5rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.p-md-3{padding:1rem 1rem!important}.pt-md-3{padding-top:1rem!important}.pr-md-3{padding-right:1rem!important}.pb-md-3{padding-bottom:1rem!important}.pl-md-3,.px-md-3{padding-left:1rem!important}.px-md-3{padding-right:1rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.p-md-4{padding:1.5rem 1.5rem!important}.pt-md-4{padding-top:1.5rem!important}.pr-md-4{padding-right:1.5rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pl-md-4,.px-md-4{padding-left:1.5rem!important}.px-md-4{padding-right:1.5rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.p-md-5{padding:3rem 3rem!important}.pt-md-5{padding-top:3rem!important}.pr-md-5{padding-right:3rem!important}.pb-md-5{padding-bottom:3rem!important}.pl-md-5,.px-md-5{padding-left:3rem!important}.px-md-5{padding-right:3rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.m-md-auto{margin:auto!important}.mt-md-auto{margin-top:auto!important}.mr-md-auto{margin-right:auto!important}.mb-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}.mx-md-auto{margin-right:auto!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}}@media (min-width:992px){.m-lg-0{margin:0 0!important}.mt-lg-0{margin-top:0!important}.mr-lg-0{margin-right:0!important}.mb-lg-0{margin-bottom:0!important}.ml-lg-0,.mx-lg-0{margin-left:0!important}.mx-lg-0{margin-right:0!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.m-lg-1{margin:.25rem .25rem!important}.mt-lg-1{margin-top:.25rem!important}.mr-lg-1{margin-right:.25rem!important}.mb-lg-1{margin-bottom:.25rem!important}.ml-lg-1,.mx-lg-1{margin-left:.25rem!important}.mx-lg-1{margin-right:.25rem!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.m-lg-2{margin:.5rem .5rem!important}.mt-lg-2{margin-top:.5rem!important}.mr-lg-2{margin-right:.5rem!important}.mb-lg-2{margin-bottom:.5rem!important}.ml-lg-2,.mx-lg-2{margin-left:.5rem!important}.mx-lg-2{margin-right:.5rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.m-lg-3{margin:1rem 1rem!important}.mt-lg-3{margin-top:1rem!important}.mr-lg-3{margin-right:1rem!important}.mb-lg-3{margin-bottom:1rem!important}.ml-lg-3,.mx-lg-3{margin-left:1rem!important}.mx-lg-3{margin-right:1rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.m-lg-4{margin:1.5rem 1.5rem!important}.mt-lg-4{margin-top:1.5rem!important}.mr-lg-4{margin-right:1.5rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.ml-lg-4,.mx-lg-4{margin-left:1.5rem!important}.mx-lg-4{margin-right:1.5rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.m-lg-5{margin:3rem 3rem!important}.mt-lg-5{margin-top:3rem!important}.mr-lg-5{margin-right:3rem!important}.mb-lg-5{margin-bottom:3rem!important}.ml-lg-5,.mx-lg-5{margin-left:3rem!important}.mx-lg-5{margin-right:3rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.p-lg-0{padding:0 0!important}.pt-lg-0{padding-top:0!important}.pr-lg-0{padding-right:0!important}.pb-lg-0{padding-bottom:0!important}.pl-lg-0,.px-lg-0{padding-left:0!important}.px-lg-0{padding-right:0!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.p-lg-1{padding:.25rem .25rem!important}.pt-lg-1{padding-top:.25rem!important}.pr-lg-1{padding-right:.25rem!important}.pb-lg-1{padding-bottom:.25rem!important}.pl-lg-1,.px-lg-1{padding-left:.25rem!important}.px-lg-1{padding-right:.25rem!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.p-lg-2{padding:.5rem .5rem!important}.pt-lg-2{padding-top:.5rem!important}.pr-lg-2{padding-right:.5rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pl-lg-2,.px-lg-2{padding-left:.5rem!important}.px-lg-2{padding-right:.5rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.p-lg-3{padding:1rem 1rem!important}.pt-lg-3{padding-top:1rem!important}.pr-lg-3{padding-right:1rem!important}.pb-lg-3{padding-bottom:1rem!important}.pl-lg-3,.px-lg-3{padding-left:1rem!important}.px-lg-3{padding-right:1rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.p-lg-4{padding:1.5rem 1.5rem!important}.pt-lg-4{padding-top:1.5rem!important}.pr-lg-4{padding-right:1.5rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pl-lg-4,.px-lg-4{padding-left:1.5rem!important}.px-lg-4{padding-right:1.5rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.p-lg-5{padding:3rem 3rem!important}.pt-lg-5{padding-top:3rem!important}.pr-lg-5{padding-right:3rem!important}.pb-lg-5{padding-bottom:3rem!important}.pl-lg-5,.px-lg-5{padding-left:3rem!important}.px-lg-5{padding-right:3rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.m-lg-auto{margin:auto!important}.mt-lg-auto{margin-top:auto!important}.mr-lg-auto{margin-right:auto!important}.mb-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}.mx-lg-auto{margin-right:auto!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}}@media (min-width:1200px){.m-xl-0{margin:0 0!important}.mt-xl-0{margin-top:0!important}.mr-xl-0{margin-right:0!important}.mb-xl-0{margin-bottom:0!important}.ml-xl-0,.mx-xl-0{margin-left:0!important}.mx-xl-0{margin-right:0!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.m-xl-1{margin:.25rem .25rem!important}.mt-xl-1{margin-top:.25rem!important}.mr-xl-1{margin-right:.25rem!important}.mb-xl-1{margin-bottom:.25rem!important}.ml-xl-1,.mx-xl-1{margin-left:.25rem!important}.mx-xl-1{margin-right:.25rem!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.m-xl-2{margin:.5rem .5rem!important}.mt-xl-2{margin-top:.5rem!important}.mr-xl-2{margin-right:.5rem!important}.mb-xl-2{margin-bottom:.5rem!important}.ml-xl-2,.mx-xl-2{margin-left:.5rem!important}.mx-xl-2{margin-right:.5rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.m-xl-3{margin:1rem 1rem!important}.mt-xl-3{margin-top:1rem!important}.mr-xl-3{margin-right:1rem!important}.mb-xl-3{margin-bottom:1rem!important}.ml-xl-3,.mx-xl-3{margin-left:1rem!important}.mx-xl-3{margin-right:1rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.m-xl-4{margin:1.5rem 1.5rem!important}.mt-xl-4{margin-top:1.5rem!important}.mr-xl-4{margin-right:1.5rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.ml-xl-4,.mx-xl-4{margin-left:1.5rem!important}.mx-xl-4{margin-right:1.5rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.m-xl-5{margin:3rem 3rem!important}.mt-xl-5{margin-top:3rem!important}.mr-xl-5{margin-right:3rem!important}.mb-xl-5{margin-bottom:3rem!important}.ml-xl-5,.mx-xl-5{margin-left:3rem!important}.mx-xl-5{margin-right:3rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.p-xl-0{padding:0 0!important}.pt-xl-0{padding-top:0!important}.pr-xl-0{padding-right:0!important}.pb-xl-0{padding-bottom:0!important}.pl-xl-0,.px-xl-0{padding-left:0!important}.px-xl-0{padding-right:0!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.p-xl-1{padding:.25rem .25rem!important}.pt-xl-1{padding-top:.25rem!important}.pr-xl-1{padding-right:.25rem!important}.pb-xl-1{padding-bottom:.25rem!important}.pl-xl-1,.px-xl-1{padding-left:.25rem!important}.px-xl-1{padding-right:.25rem!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.p-xl-2{padding:.5rem .5rem!important}.pt-xl-2{padding-top:.5rem!important}.pr-xl-2{padding-right:.5rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pl-xl-2,.px-xl-2{padding-left:.5rem!important}.px-xl-2{padding-right:.5rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.p-xl-3{padding:1rem 1rem!important}.pt-xl-3{padding-top:1rem!important}.pr-xl-3{padding-right:1rem!important}.pb-xl-3{padding-bottom:1rem!important}.pl-xl-3,.px-xl-3{padding-left:1rem!important}.px-xl-3{padding-right:1rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.p-xl-4{padding:1.5rem 1.5rem!important}.pt-xl-4{padding-top:1.5rem!important}.pr-xl-4{padding-right:1.5rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pl-xl-4,.px-xl-4{padding-left:1.5rem!important}.px-xl-4{padding-right:1.5rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.p-xl-5{padding:3rem 3rem!important}.pt-xl-5{padding-top:3rem!important}.pr-xl-5{padding-right:3rem!important}.pb-xl-5{padding-bottom:3rem!important}.pl-xl-5,.px-xl-5{padding-left:3rem!important}.px-xl-5{padding-right:3rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.m-xl-auto{margin:auto!important}.mt-xl-auto{margin-top:auto!important}.mr-xl-auto{margin-right:auto!important}.mb-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}.mx-xl-auto{margin-right:auto!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}}.text-justify{text-align:justify!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media (min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-normal{font-weight:400}.font-weight-bold{font-weight:700}.font-italic{font-style:italic}.text-white{color:#fff!important}.text-muted{color:#636c72!important}a.text-muted:focus,a.text-muted:hover{color:#4b5257!important}.text-primary{color:#0275d8!important}a.text-primary:focus,a.text-primary:hover{color:#025aa5!important}.text-success{color:#5cb85c!important}a.text-success:focus,a.text-success:hover{color:#449d44!important}.text-info{color:#5bc0de!important}a.text-info:focus,a.text-info:hover{color:#31b0d5!important}.text-warning{color:#f0ad4e!important}a.text-warning:focus,a.text-warning:hover{color:#ec971f!important}.text-danger{color:#d9534f!important}a.text-danger:focus,a.text-danger:hover{color:#c9302c!important}.text-gray-dark{color:#292b2c!important}a.text-gray-dark:focus,a.text-gray-dark:hover{color:#101112!important}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.invisible{visibility:hidden!important}.hidden-xs-up{display:none!important}@media (max-width:575px){.hidden-xs-down{display:none!important}}@media (min-width:576px){.hidden-sm-up{display:none!important}}@media (max-width:767px){.hidden-sm-down{display:none!important}}@media (min-width:768px){.hidden-md-up{display:none!important}}@media (max-width:991px){.hidden-md-down{display:none!important}}@media (min-width:992px){.hidden-lg-up{display:none!important}}@media (max-width:1199px){.hidden-lg-down{display:none!important}}@media (min-width:1200px){.hidden-xl-up{display:none!important}}.hidden-xl-down,.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}.loading{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.loading .loading-bar{display:inline-block;width:6px;height:30px;border-radius:4px;-webkit-animation:loading 1s ease-in-out infinite;animation:loading 1s ease-in-out infinite}.loading .loading-bar:first-child{background-color:#222;-webkit-animation-delay:0;animation-delay:0}.loading .loading-bar:nth-child(2){background-color:#222;-webkit-animation-delay:.09s;animation-delay:.09s}.loading .loading-bar:nth-child(3){background-color:#222;-webkit-animation-delay:.18s;animation-delay:.18s}.loading .loading-bar:nth-child(4){background-color:#222;-webkit-animation-delay:.27s;animation-delay:.27s}@-webkit-keyframes loading{0%{-webkit-transform:scale(1);transform:scale(1)}20%{-webkit-transform:scaleY(2.2);transform:scaleY(2.2)}40%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes loading{0%{-webkit-transform:scale(1);transform:scale(1)}20%{-webkit-transform:scaleY(2.2);transform:scaleY(2.2)}40%{-webkit-transform:scale(1);transform:scale(1)}}.fs-12{font-size:12px}.errorConsole{color:red}.rtl .sidebar{left:auto!important;right:0!important}.rtl .sidebar>ul.list-group{padding:0}.rtl .main-container{margin-left:0!important;margin-right:235px}.rtl *{direction:rtl}@media screen and (max-width:992px){.rtl .navbar-brand{direction:ltr}.rtl .sidebar{right:-235px!important}.rtl .main-container{margin-right:0}.rtl.push-right .sidebar{left:auto!important;right:0!important}}.push-right .sidebar{left:235px!important}#console,.CodeMirror,.contenedor-canvas,.listado-archivos,.listado-grupos,.listadoEntregasAlumnoGrupos,.previewArchivoNoSeleccionado{height:400px!important}@media screen and (min-width:992px){.codemirrorArchivo .CodeMirror{height:calc(100vh - 235px)!important}.codemirrorPrograma .CodeMirror{height:calc(100vh - 197px)!important}.codemirrorGrupos .CodeMirror{height:calc(100vh - 232px)!important}#console{height:calc(100vh - 79px)!important}.contenedor-canvas{height:calc(100vh - 121px)!important}.listado-archivos{height:calc(100vh - 265px)!important}.previewArchivoNoSeleccionado{height:calc(100vh - 275px)!important}.listadoEntregasAlumnoGrupos,.previewArchivoNoSeleccionadoGrupos{height:calc(100vh - 225px)!important}.listado-grupos{height:calc(100vh - 270px)!important}}#console{height:352px;width:100%;position:relative;background-color:#000;border:2px solid #ccc;margin:0 auto}.jqconsole{padding:10px}.jqconsole-cursor{background-color:gray}.jqconsole-blurred .jqconsole-cursor{background-color:#666}.jqconsole-prompt{color:#0bcc32;font-style:italic}.jqconsole-old-prompt{color:#0bcc32}.jqconsole-error,.jqconsole-logs,.jqconsole-old-prompt,.jqconsole-output,.jqconsole-prompt{word-wrap:break-word;white-space:pre-wrap}.jqconsole-old-input{color:#bb0;font-weight:400}.jqconsole-header{color:#d0d0d0}.nomArchivoInp{width:calc(100% - 250px);float:left}.jqconsole-output{color:#fff}.jqconsole-logs{color:brown}.border{border:1px solid #f7f7f7}.add-panel{background:orange;padding:3px 6px;color:#fff!important;border-radius:3px}.add-panel,.remove-panel{cursor:pointer}.remove-panel{float:right}.panel{background:#f7f7f7;padding:3px 7px;font-size:.85em}.panel.after-top,.panel.top{border-bottom:1px solid #ddd}.panel.before-bottom,.panel.bottom{border-top:1px solid #ddd}.alertPosition{position:absolute;left:50%;z-index:1500;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.breakpoints{width:.8em}.breakpoint{color:#fff!important}.CodeMirror{border:1px solid #aaa}.CodeMirror-lint-mark-error,.CodeMirror-lint-mark-warning{background-position:0 100%;background-repeat:repeat-x}.CodeMirror-lint-mark-error{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==")}.CodeMirror-lint-mark-warning{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=")}.CodeMirror-lint-marker-error,.CodeMirror-lint-marker-warning{background-position:50%;background-repeat:no-repeat;cursor:pointer;display:inline-block;height:16px;width:16px;vertical-align:middle;position:relative}.tooltip{position:relative;display:inline-block;border-bottom:1px dotted #000;cursor:pointer}.tooltiptext{visibility:hidden;width:120px;background-color:#fff;color:brown;text-align:center;border-radius:6px;padding:5px 0;position:absolute;z-index:10000}.tooltip:hover .tooltiptext{visibility:visible}.tippy-touch{cursor:pointer!important}.tippy-notransition{transition:none!important}.tippy-popper{max-width:400px;-webkit-perspective:800px;perspective:800px;z-index:9999;outline:0;transition-timing-function:cubic-bezier(.165,.84,.44,1);pointer-events:none}.tippy-popper.html-template{max-width:96%;max-width:calc(100% - 20px)}.tippy-popper[x-placement^=top] [x-arrow]{border-top:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;bottom:-7px;margin:0 9px}.tippy-popper[x-placement^=top] [x-arrow].arrow-small{border-top:5px solid #333;border-right:5px solid transparent;border-left:5px solid transparent;bottom:-5px}.tippy-popper[x-placement^=top] [x-arrow].arrow-big{border-top:10px solid #333;border-right:10px solid transparent;border-left:10px solid transparent;bottom:-10px}.tippy-popper[x-placement^=top] [x-circle]{-webkit-transform-origin:0 33%;transform-origin:0 33%}.tippy-popper[x-placement^=top] [x-circle].enter{-webkit-transform:scale(1) translate(-50%,-55%);transform:scale(1) translate(-50%,-55%);opacity:1}.tippy-popper[x-placement^=top] [x-circle].leave{-webkit-transform:scale(.15) translate(-50%,-50%);transform:scale(.15) translate(-50%,-50%);opacity:0}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-arrow]{border-top:7px solid #fff;border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-top:5px solid #fff;border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-top:10px solid #fff;border-right:10px solid transparent;border-left:10px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,.7)}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-arrow]{border-top:7px solid rgba(0,0,0,.7);border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-top:5px solid rgba(0,0,0,.7);border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-top:10px solid rgba(0,0,0,.7);border-right:10px solid transparent;border-left:10px solid transparent}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateY(-10px) rotateX(0);transform:translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateY(0) rotateX(90deg);transform:translateY(0) rotateX(90deg)}.tippy-popper[x-placement^=top] [data-animation=fade].enter{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade].leave{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift].enter{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift].leave{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale].enter{opacity:1;-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale].leave{opacity:0;-webkit-transform:translateY(0) scale(0);transform:translateY(0) scale(0)}.tippy-popper[x-placement^=bottom] [x-arrow]{border-bottom:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;top:-7px;margin:0 9px}.tippy-popper[x-placement^=bottom] [x-arrow].arrow-small{border-bottom:5px solid #333;border-right:5px solid transparent;border-left:5px solid transparent;top:-5px}.tippy-popper[x-placement^=bottom] [x-arrow].arrow-big{border-bottom:10px solid #333;border-right:10px solid transparent;border-left:10px solid transparent;top:-10px}.tippy-popper[x-placement^=bottom] [x-circle]{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] [x-circle].enter{-webkit-transform:scale(1) translate(-50%,-45%);transform:scale(1) translate(-50%,-45%);opacity:1}.tippy-popper[x-placement^=bottom] [x-circle].leave{-webkit-transform:scale(.15) translate(-50%,-5%);transform:scale(.15) translate(-50%,-5%);opacity:0}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-arrow]{border-bottom:7px solid #fff;border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-bottom:5px solid #fff;border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-bottom:10px solid #fff;border-right:10px solid transparent;border-left:10px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,.7)}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-arrow]{border-bottom:7px solid rgba(0,0,0,.7);border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-bottom:5px solid rgba(0,0,0,.7);border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-bottom:10px solid rgba(0,0,0,.7);border-right:10px solid transparent;border-left:10px solid transparent}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateY(10px) rotateX(0);transform:translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateY(0) rotateX(-90deg);transform:translateY(0) rotateX(-90deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade].enter{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade].leave{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift].enter{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift].leave{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale].enter{opacity:1;-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale].leave{opacity:0;-webkit-transform:translateY(0) scale(0);transform:translateY(0) scale(0)}.tippy-popper[x-placement^=left] [x-arrow]{border-left:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;right:-7px;margin:6px 0}.tippy-popper[x-placement^=left] [x-arrow].arrow-small{border-left:5px solid #333;border-top:5px solid transparent;border-bottom:5px solid transparent;right:-5px}.tippy-popper[x-placement^=left] [x-arrow].arrow-big{border-left:10px solid #333;border-top:10px solid transparent;border-bottom:10px solid transparent;right:-10px}.tippy-popper[x-placement^=left] [x-circle]{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] [x-circle].enter{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%);opacity:1}.tippy-popper[x-placement^=left] [x-circle].leave{-webkit-transform:scale(.15) translate(-50%,-50%);transform:scale(.15) translate(-50%,-50%);opacity:0}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-arrow]{border-left:7px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-left:5px solid #fff;border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-left:10px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,.7)}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-arrow]{border-left:7px solid rgba(0,0,0,.7);border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-left:5px solid rgba(0,0,0,.7);border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-left:10px solid rgba(0,0,0,.7);border-top:10px solid transparent;border-bottom:10px solid transparent}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateX(-10px) rotateY(0);transform:translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateX(0) rotateY(-90deg);transform:translateX(0) rotateY(-90deg)}.tippy-popper[x-placement^=left] [data-animation=fade].enter{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade].leave{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift].enter{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift].leave{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale].enter{opacity:1;-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale].leave{opacity:0;-webkit-transform:translateX(0) scale(0);transform:translateX(0) scale(0)}.tippy-popper[x-placement^=right] [x-arrow]{border-right:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;left:-7px;margin:6px 0}.tippy-popper[x-placement^=right] [x-arrow].arrow-small{border-right:5px solid #333;border-top:5px solid transparent;border-bottom:5px solid transparent;left:-5px}.tippy-popper[x-placement^=right] [x-arrow].arrow-big{border-right:10px solid #333;border-top:10px solid transparent;border-bottom:10px solid transparent;left:-10px}.tippy-popper[x-placement^=right] [x-circle]{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] [x-circle].enter{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%);opacity:1}.tippy-popper[x-placement^=right] [x-circle].leave{-webkit-transform:scale(.15) translate(-50%,-50%);transform:scale(.15) translate(-50%,-50%);opacity:0}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-arrow]{border-right:7px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-right:5px solid #fff;border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-right:10px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,.7)}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-arrow]{border-right:7px solid rgba(0,0,0,.7);border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-right:5px solid rgba(0,0,0,.7);border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-right:10px solid rgba(0,0,0,.7);border-top:10px solid transparent;border-bottom:10px solid transparent}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateX(10px) rotateY(0);transform:translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateX(0) rotateY(90deg);transform:translateX(0) rotateY(90deg)}.tippy-popper[x-placement^=right] [data-animation=fade].enter{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade].leave{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift].enter{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift].leave{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale].enter{opacity:1;-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale].leave{opacity:0;-webkit-transform:translateX(0) scale(0);transform:translateX(0) scale(0)}.tippy-popper .tippy-tooltip.transparent-theme{background-color:rgba(0,0,0,.7)}.tippy-popper .tippy-tooltip.transparent-theme[data-animatefill]{background-color:transparent}.tippy-popper .tippy-tooltip.light-theme{color:#26323d;box-shadow:0 4px 20px 4px rgba(0,20,60,.1),0 4px 80px -8px rgba(0,20,60,.2);background-color:#fff}.tippy-popper .tippy-tooltip.light-theme[data-animatefill]{background-color:transparent}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:.95rem;padding:.4rem .8rem;text-align:center;will-change:transform;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#333}.tippy-tooltip--small{padding:.25rem .5rem;font-size:.8rem}.tippy-tooltip--big{padding:.6rem 1.2rem;font-size:1.2rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-interactive]{pointer-events:auto}.tippy-tooltip[data-inertia]{transition-timing-function:cubic-bezier(.53,2,.36,.85)}.tippy-tooltip [x-arrow]{position:absolute;width:0;height:0}.tippy-tooltip [x-circle]{position:absolute;will-change:transform;background-color:#333;border-radius:50%;width:130%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;overflow:hidden;transition:all ease}.tippy-tooltip [x-circle]:before{content:"";padding-top:90%;float:left}@media (max-width:450px){.tippy-popper{max-width:96%;max-width:calc(100% - 20px)}}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:rgba(20,255,20,.5)}.cm-animate-fat-cursor,.cm-fat-cursor-mark{-webkit-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;background-color:#7e7}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:-20px;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:blue}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.CodeMirror-hints{position:absolute;z-index:10;overflow:hidden;list-style:none;margin:0;padding:2px;box-shadow:2px 3px 5px rgba(0,0,0,.2);border-radius:3px;border:1px solid silver;background:#fff;font-size:90%;font-family:monospace;max-height:20em;overflow-y:auto}.CodeMirror-hint{margin:0;padding:0 4px;border-radius:2px;white-space:pre;color:#000;cursor:pointer}li.CodeMirror-hint-active{background:#08f;color:#fff}.CodeMirror-dialog{position:absolute;left:0;right:0;background:inherit;z-index:15;padding:.1em .8em;overflow:hidden;color:inherit}.CodeMirror-dialog-top{border-bottom:1px solid #eee;top:0}.CodeMirror-dialog-bottom{border-top:1px solid #eee;bottom:0}.CodeMirror-dialog input{border:none;outline:none;background:transparent;width:20em;color:inherit;font-family:monospace}.CodeMirror-dialog button{font-size:70%}.CodeMirror-search-match{background:gold;border-top:1px solid orange;border-bottom:1px solid orange;box-sizing:border-box;opacity:.5} \ No newline at end of file diff --git a/Servidor JEE/WebContent/vendor.28df4c379f8c8b804b36.bundle.js b/Servidor JEE/WebContent/vendor.28df4c379f8c8b804b36.bundle.js new file mode 100644 index 0000000000000000000000000000000000000000..5c642d4cb25f61260456a738425fa41faba6d991 --- /dev/null +++ b/Servidor JEE/WebContent/vendor.28df4c379f8c8b804b36.bundle.js @@ -0,0 +1 @@ +webpackJsonp([11],{"+BWq":function(t,e,n){"use strict";function r(t,e,n){return function(r){return r.lift(new u(t,e,n,r))}}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+"),a=n("TpsG");e.first=r;var u=function(){function t(t,e,n,r){this.predicate=t,this.resultSelector=e,this.defaultValue=n,this.source=r}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),s=function(t){function e(e,n,r,o,i){t.call(this,e),this.predicate=n,this.resultSelector=r,this.defaultValue=o,this.source=i,this.index=0,this.hasCompleted=!1,this._emitted=!1}return o(e,t),e.prototype._next=function(t){var e=this.index++;this.predicate?this._tryPredicate(t,e):this._emit(t,e)},e.prototype._tryPredicate=function(t,e){var n;try{n=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}n&&this._emit(t,e)},e.prototype._emit=function(t,e){if(this.resultSelector)return void this._tryResultSelector(t,e);this._emitFinal(t)},e.prototype._tryResultSelector=function(t,e){var n;try{n=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this._emitFinal(n)},e.prototype._emitFinal=function(t){var e=this.destination;this._emitted||(this._emitted=!0,e.next(t),e.complete(),this.hasCompleted=!0)},e.prototype._complete=function(){var t=this.destination;this.hasCompleted||void 0===this.defaultValue?this.hasCompleted||t.error(new a.EmptyError):(t.next(this.defaultValue),t.complete())},e}(i.Subscriber)},"+FJ1":function(t,e,n){"use strict";function r(t,e){return o.mergeMap(t,e,1)}var o=n("mjx3");e.concatMap=r},"+zVg":function(t,e,n){"use strict";var r=n("wZOE");e.of=r.ArrayObservable.of},"/oeL":function(t,e,n){"use strict";(function(t){function r(){if(!Vo){var t=Mo.Symbol;if(t&&t.iterator)Vo=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Vo=r)}}return Vo}function o(t){Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function i(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function a(t){if("string"==typeof t)return t;if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function u(t){return"function"==typeof t&&t.hasOwnProperty("annotation")&&(t=t.annotation),t}function s(t,e){if(t===Object||t===String||t===Function||t===Number||t===Array)throw new Error("Can not use native "+a(t)+" as constructor");if("function"==typeof t)return t;if(Array.isArray(t)){var n=t,r=n.length-1,o=t[r];if("function"!=typeof o)throw new Error("Last position of Class method array must be Function in key "+e+" was '"+a(o)+"'");if(r!=o.length)throw new Error("Number of annotations ("+r+") does not match number of arguments ("+o.length+") in the function: "+a(o));for(var i=[],s=0,c=n.length-1;s<c;s++){var l=[];i.push(l);var p=n[s];if(Array.isArray(p))for(var f=0;f<p.length;f++)l.push(u(p[f]));else"function"==typeof p?l.push(u(p)):l.push(p)}return Fo.defineMetadata("parameters",i,o),o}throw new Error("Only Function or Array is supported in Class definition for key '"+e+"' is '"+a(t)+"'")}function c(t){var e=s(t.hasOwnProperty("constructor")?t.constructor:void 0,"constructor"),n=e.prototype;if(t.hasOwnProperty("extends")){if("function"!=typeof t.extends)throw new Error("Class definition 'extends' property must be a constructor function was: "+a(t.extends));e.prototype=n=Object.create(t.extends.prototype)}for(var r in t)"extends"!==r&&"prototype"!==r&&t.hasOwnProperty(r)&&(n[r]=s(t[r],r));this&&this.annotations instanceof Array&&Fo.defineMetadata("annotations",this.annotations,e);var o=e.name;return o&&"constructor"!==o||(e.overriddenName="class"+Do++),e}function l(t,e,n,r){function o(t){if(!Fo||!Fo.getOwnMetadata)throw"reflect-metadata shim is required when using class decorators";if(this instanceof o)return i.call(this,t),this;var e=new o(t),n="function"==typeof this&&Array.isArray(this.annotations)?this.annotations:[];n.push(e);var a=function(t){var n=Fo.getOwnMetadata("annotations",t)||[];return n.push(e),Fo.defineMetadata("annotations",n,t),t};return a.annotations=n,a.Class=c,r&&r(a),a}var i=p(e);return n&&(o.prototype=Object.create(n.prototype)),o.prototype.toString=function(){return"@"+t},o.annotationCls=o,o}function p(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t){var r=t.apply(void 0,e);for(var o in r)this[o]=r[o]}}}function f(t,e,n){function r(){function t(t,e,n){for(var r=Fo.getOwnMetadata("parameters",t)||[];r.length<=n;)r.push(null);return r[n]=r[n]||[],r[n].push(i),Fo.defineMetadata("parameters",r,t),t}for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof r)return o.apply(this,e),this;var i=new(r.bind.apply(r,[void 0].concat(e)));return t.annotation=i,t}var o=p(e);return n&&(r.prototype=Object.create(n.prototype)),r.prototype.toString=function(){return"@"+t},r.annotationCls=r,r}function h(t,e,n){function r(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(this instanceof r)return o.apply(this,t),this;var n=new(r.bind.apply(r,[void 0].concat(t)));return function(t,e){var r=Fo.getOwnMetadata("propMetadata",t.constructor)||{};r[e]=r.hasOwnProperty(e)&&r[e]||[],r[e].unshift(n),Fo.defineMetadata("propMetadata",r,t.constructor)}}var o=p(e);return n&&(r.prototype=Object.create(n.prototype)),r.prototype.toString=function(){return"@"+t},r.annotationCls=r,r}function d(t){return null==t||t===Wo.Default}function y(t){return t.__forward_ref__=y,t.toString=function(){return a(this())},t}function g(t){return"function"==typeof t&&t.hasOwnProperty("__forward_ref__")&&t.__forward_ref__===y?t():t}function v(t){return t[bi]}function m(t){return t[_i]}function b(t){return t[wi]||_}function _(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,e)}function w(t,e){var n=t+" caused by: "+(e instanceof Error?e.message:e),r=Error(n);return r[_i]=e,r}function C(t){for(var e=[],n=0;n<t.length;++n){if(e.indexOf(t[n])>-1)return e.push(t[n]),e;e.push(t[n])}return e}function O(t){if(t.length>1){return" ("+C(t.slice().reverse()).map(function(t){return a(t.token)}).join(" -> ")+")"}return""}function E(t,e,n,r){var o=[e],i=n(o),a=r?w(i,r):Error(i);return a.addKey=S,a.keys=o,a.injectors=[t],a.constructResolvingMessage=n,a[_i]=r,a}function S(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function P(t,e){return E(t,e,function(t){return"No provider for "+a(t[0].token)+"!"+O(t)})}function x(t,e){return E(t,e,function(t){return"Cannot instantiate cyclic dependency!"+O(t)})}function A(t,e,n,r){return E(t,r,function(t){var n=a(t[0].token);return e.message+": Error during instantiation of "+n+"!"+O(t)+"."},e)}function T(t){return Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t)}function R(t,e){for(var n=[],r=0,o=e.length;r<o;r++){var i=e[r];i&&0!=i.length?n.push(i.map(a).join(" ")):n.push("?")}return Error("Cannot resolve all parameters for '"+a(t)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+a(t)+"' is decorated with Injectable.")}function I(t){return Error("Index "+t+" is out-of-bounds.")}function k(t,e){return Error("Cannot mix multi providers and regular providers, got: "+t+" "+e)}function j(t){return"function"==typeof t}function N(t){return t?t.map(function(t){var e=t.type,n=e.annotationCls,r=t.args?t.args:[];return new(n.bind.apply(n,[void 0].concat(r)))}):[]}function M(t){var e=Object.getPrototypeOf(t.prototype);return(e?e.constructor:null)||Object}function V(t){var e,n;if(t.useClass){var r=g(t.useClass);e=Ri.factory(r),n=B(r)}else t.useExisting?(e=function(t){return t},n=[Ii.fromKey(Oi.get(t.useExisting))]):t.useFactory?(e=t.useFactory,n=H(t.useFactory,t.deps)):(e=function(){return t.useValue},n=ki);return new Ni(e,n)}function D(t){return new ji(Oi.get(t.provide),[V(t)],t.multi||!1)}function F(t){var e=U(t,[]),n=e.map(D),r=L(n,new Map);return Array.from(r.values())}function L(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=e.get(r.key.id);if(o){if(r.multiProvider!==o.multiProvider)throw k(o,r);if(r.multiProvider)for(var i=0;i<r.resolvedFactories.length;i++)o.resolvedFactories.push(r.resolvedFactories[i]);else e.set(r.key.id,r)}else{var a=void 0;a=r.multiProvider?new ji(r.key,r.resolvedFactories.slice(),r.multiProvider):r,e.set(r.key.id,a)}}return e}function U(t,e){return t.forEach(function(t){if(t instanceof Pi)e.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)e.push(t);else{if(!(t instanceof Array))throw T(t);U(t,e)}}),e}function H(t,e){if(e){var n=e.map(function(t){return[t]});return e.map(function(e){return q(t,e,n)})}return B(t)}function B(t){var e=Ri.parameters(t);if(!e)return[];if(e.some(function(t){return null==t}))throw R(t,e);return e.map(function(n){return q(t,n,e)})}function q(t,e,n){var r=null,o=!1;if(!Array.isArray(e))return e instanceof si?G(e.token,o,null):G(e,o,null);for(var i=null,a=0;a<e.length;++a){var u=e[a];u instanceof Pi?r=u:u instanceof si?r=u.token:u instanceof ci?o=!0:u instanceof pi||u instanceof fi?i=u:u instanceof Io&&(r=u)}if(null!=(r=g(r)))return G(r,o,i);throw R(t,n)}function G(t,e,n){return new Ii(Oi.get(t),e,n)}function z(t,e){for(var n=new Array(t._providers.length),r=0;r<t._providers.length;++r)n[r]=e(t.getProviderAtIndex(r));return n}function W(t){return!!t&&"function"==typeof t.then}function Z(t){return!!t&&"function"==typeof t.subscribe}function K(){return""+Q()+Q()+Q()}function Q(){return String.fromCharCode(97+Math.floor(25*Math.random()))}function J(){throw new Error("Runtime compiler is not loaded")}function Y(t){var e=Error("No component factory found for "+a(t)+". Did you add it to @NgModule.entryComponents?");return e[ta]=t,e}function $(){var t=Mo.wtf;return!(!t||!(ra=t.trace))&&(oa=ra.events,!0)}function X(t,e){return void 0===e&&(e=null),oa.createScope(t,e)}function tt(t,e){return ra.leaveScope(t,e),e}function et(t,e){return ra.beginTimeRange(t,e)}function nt(t){ra.endTimeRange(t)}function rt(t,e){return null}function ot(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(function(){return t.onStable.emit(null)})}finally{t.isStable=!0}}}function it(t){t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,n,r,o,i,a){try{return at(t),e.invokeTask(r,o,i,a)}finally{ut(t)}},onInvoke:function(e,n,r,o,i,a,u){try{return at(t),e.invoke(r,o,i,a,u)}finally{ut(t)}},onHasTask:function(e,n,r,o){e.hasTask(r,o),n===r&&("microTask"==o.change?(t.hasPendingMicrotasks=o.microTask,ot(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:function(e,n,r,o){return e.handleError(r,o),t.runOutsideAngular(function(){return t.onError.emit(o)}),!1}})}function at(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ut(t){t._nesting--,ot(t)}function st(t){_a=t}function ct(){if(Ca)throw new Error("Cannot enable prod mode after platform setup.");wa=!1}function lt(){return Ca=!0,wa}function pt(t){if(ma&&!ma.destroyed&&!ma.injector.get(Oa,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ma=t.get(Sa);var e=t.get(qi,null);return e&&e.forEach(function(t){return t()}),ma}function ft(t,e,n){void 0===n&&(n=[]);var r=new Io("Platform: "+e);return function(e){void 0===e&&(e=[]);var o=yt();return o&&!o.injector.get(Oa,!1)||(t?t(n.concat(e).concat({provide:r,useValue:!0})):pt(Vi.resolveAndCreate(n.concat(e).concat({provide:r,useValue:!0})))),ht(r)}}function ht(t){var e=yt();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}function dt(){ma&&!ma.destroyed&&ma.destroy()}function yt(){return ma&&!ma.destroyed?ma:null}function gt(t,e,n){try{var r=n();return W(r)?r.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):r}catch(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}}function vt(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function mt(t,e){var n=Fa.get(t);if(n)throw new Error("Duplicate module registered for "+t+" - "+n.moduleType.name+" vs "+e.moduleType.name);Fa.set(t,e)}function bt(t){var e=Fa.get(t);if(!e)throw new Error("No module with ID "+t+" loaded");return e}function _t(t){return t.reduce(function(t,e){var n=Array.isArray(e)?_t(e):e;return t.concat(n)},[])}function wt(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}function Ct(t){return t.map(function(t){return t.nativeElement})}function Ot(t,e,n){t.childNodes.forEach(function(t){t instanceof Ja&&(e(t)&&n.push(t),Ot(t,e,n))})}function Et(t,e,n){t instanceof Ja&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof Ja&&Et(t,e,n)})}function St(t){return Ya.get(t)||null}function Pt(t){Ya.set(t.nativeNode,t)}function xt(t){Ya.delete(t.nativeNode)}function At(t,e){var n=Tt(t),r=Tt(e);if(n&&r)return Rt(t,e,At);var o=t&&("object"==typeof t||"function"==typeof t),a=e&&("object"==typeof e||"function"==typeof e);return!(n||!o||r||!a)||i(t,e)}function Tt(t){return!!kt(t)&&(Array.isArray(t)||!(t instanceof Map)&&r()in t)}function Rt(t,e,n){for(var o=t[r()](),i=e[r()]();;){var a=o.next(),u=i.next();if(a.done&&u.done)return!0;if(a.done||u.done)return!1;if(!n(a.value,u.value))return!1}}function It(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var o=t[r()](),i=void 0;!(i=o.next()).done;)e(i.value)}function kt(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function jt(t,e,n){var r=t.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+e+o}function Nt(t){return t.name||typeof t}function Mt(){return Ri}function Vt(){return du}function Dt(){return yu}function Ft(t){return t||"en-US"}function Lt(t,e){return t.nodes[e]}function Ut(t,e){return t.nodes[e]}function Ht(t,e){return t.nodes[e]}function Bt(t,e){return t.nodes[e]}function qt(t,e){return t.nodes[e]}function Gt(t,e,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+n+"'.";return r&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),Wt(o,t)}function zt(t,e){return t instanceof Error||(t=new Error(t.toString())),Zt(t,e),t}function Wt(t,e){var n=new Error(t);return Zt(n,e),n}function Zt(t,e){t[bi]=e,t[wi]=e.logError.bind(e)}function Kt(t){return!!v(t)}function Qt(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}function Jt(t){var e=Au.get(t);return e||(e=a(t)+"_"+Au.size,Au.set(t,e)),e}function Yt(t,e,n,r){if(r instanceof $a){r=r.wrapped;var o=t.def.nodes[e].bindingIndex+n,i=t.oldValues[o];i instanceof $a&&(i=i.wrapped),t.oldValues[o]=new $a(i)}return r}function $t(t){return{id:Tu,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}function Xt(t){if(t&&t.id===Tu){var e=null!=t.encapsulation&&t.encapsulation!==oi.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+Iu++:Ru}return t&&t.id===Ru&&(t=null),t||null}function te(t,e,n,r){var o=t.oldValues;return!(!(2&t.state)&&i(o[e.bindingIndex+n],r))}function ee(t,e,n,r){return!!te(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function ne(t,e,n,r){var o=t.oldValues[e.bindingIndex+n];if(1&t.state||!At(o,r))throw Gt(Pu.createDebugContext(t,e.nodeIndex),o,r,0!=(1&t.state))}function re(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function oe(t,e){for(var n=t;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function ie(t,e,n,r){return re(33554432&t.def.nodes[e].flags?Ut(t,e).componentView:t),Pu.handleEvent(t,e,n,r)}function ae(t){if(t.parent){return Ut(t.parent,t.parentNodeDef.nodeIndex)}return null}function ue(t){return t.parent?t.parentNodeDef.parent:null}function se(t,e){switch(201347067&e.flags){case 1:return Ut(t,e.nodeIndex).renderElement;case 2:return Lt(t,e.nodeIndex).renderText}}function ce(t,e){return t?t+":"+e:e}function le(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function pe(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function fe(t){return 1<<t%32}function he(t){var e={},n=0,r={};return t&&t.forEach(function(t){var o=t[0],i=t[1];"number"==typeof o?(e[o]=i,n|=fe(o)):r[o]=i}),{matchedQueries:e,references:r,matchedQueryIds:n}}function de(t){return t.map(function(t){var e,n;return Array.isArray(t)?(n=t[0],e=t[1]):(n=0,e=t),{flags:n,token:e,tokenKey:Jt(e)}})}function ye(t,e,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===oi.Native?Ut(t,n.renderParent.nodeIndex).renderElement:void 0:e}function ge(t){var e=ku.get(t);return e||(e=t(function(){return xu}),e.factory=t,ku.set(t,e)),e}function ve(t){var e=[];return me(t,0,void 0,void 0,e),e}function me(t,e,n,r,o){3===e&&(n=t.renderer.parentNode(se(t,t.def.lastRenderRootNode))),be(t,e,0,t.def.nodes.length-1,n,r,o)}function be(t,e,n,r,o,i,a){for(var u=n;u<=r;u++){var s=t.def.nodes[u];11&s.flags&&we(t,s,e,o,i,a),u+=s.childCount}}function _e(t,e,n,r,o,i){for(var a=t;a&&!le(a);)a=a.parent;for(var u=a.parent,s=ue(a),c=s.nodeIndex+1,l=s.nodeIndex+s.childCount,p=c;p<=l;p++){var f=u.def.nodes[p];f.ngContentIndex===e&&we(u,f,n,r,o,i),p+=f.childCount}if(!u.parent){var h=t.root.projectableNodes[e];if(h)for(var p=0;p<h.length;p++)Ce(t,h[p],n,r,o,i)}}function we(t,e,n,r,o,i){if(8&e.flags)_e(t,e.ngContent.index,n,r,o,i);else{var a=se(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags){if(16&e.bindingFlags&&Ce(t,a,n,r,o,i),32&e.bindingFlags){var u=Ut(t,e.nodeIndex).componentView;Ce(u,a,n,r,o,i)}}else Ce(t,a,n,r,o,i);if(16777216&e.flags)for(var s=Ut(t,e.nodeIndex).viewContainer._embeddedViews,c=0;c<s.length;c++)me(s[c],n,r,o,i);1&e.flags&&!e.element.name&&be(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,r,o,i)}}function Ce(t,e,n,r,o,i){var a=t.renderer;switch(n){case 1:a.appendChild(r,e);break;case 2:a.insertBefore(r,e,o);break;case 3:a.removeChild(r,e);break;case 0:i.push(e)}}function Oe(t){if(":"===t[0]){var e=t.match(ju);return[e[1],e[2]]}return["",t]}function Ee(t){for(var e=0,n=0;n<t.length;n++)e|=t[n].flags;return e}function Se(t,e){for(var n="",r=0;r<2*t;r+=2)n=n+e[r]+xe(e[r+1]);return n+e[2*t]}function Pe(t,e,n,r,o,i,a,u,s,c,l,p,f,h,d,y,g,v,m,b){switch(t){case 1:return e+xe(n)+r;case 2:return e+xe(n)+r+xe(o)+i;case 3:return e+xe(n)+r+xe(o)+i+xe(a)+u;case 4:return e+xe(n)+r+xe(o)+i+xe(a)+u+xe(s)+c;case 5:return e+xe(n)+r+xe(o)+i+xe(a)+u+xe(s)+c+xe(l)+p;case 6:return e+xe(n)+r+xe(o)+i+xe(a)+u+xe(s)+c+xe(l)+p+xe(f)+h;case 7:return e+xe(n)+r+xe(o)+i+xe(a)+u+xe(s)+c+xe(l)+p+xe(f)+h+xe(d)+y;case 8:return e+xe(n)+r+xe(o)+i+xe(a)+u+xe(s)+c+xe(l)+p+xe(f)+h+xe(d)+y+xe(g)+v;case 9:return e+xe(n)+r+xe(o)+i+xe(a)+u+xe(s)+c+xe(l)+p+xe(f)+h+xe(d)+y+xe(g)+v+xe(m)+b;default:throw new Error("Does not support more than 9 expressions")}}function xe(t){return null!=t?t.toString():""}function Ae(t,e,n,r,o,i){t|=1;var a=he(e),u=a.matchedQueries,s=a.references;return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:a.matchedQueryIds,references:s,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?ge(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||xu},provider:null,text:null,query:null,ngContent:null}}function Te(t,e,n,r,o,i,a,u,s,c,l,p){void 0===a&&(a=[]),c||(c=xu);var f=he(n),h=f.matchedQueries,d=f.references,y=f.matchedQueryIds,g=null,v=null;i&&(N=Oe(i),g=N[0],v=N[1]),u=u||[];for(var m=new Array(u.length),b=0;b<u.length;b++){var _=u[b],w=_[0],C=_[1],O=_[2],E=Oe(C),S=E[0],P=E[1],x=void 0,A=void 0;switch(15&w){case 4:A=O;break;case 1:case 8:x=O}m[b]={flags:w,ns:S,name:P,nonMinifiedName:P,securityContext:x,suffix:A}}s=s||[];for(var T=new Array(s.length),b=0;b<s.length;b++){var R=s[b],I=R[0],k=R[1];T[b]={type:0,target:I,eventName:k,propName:null}}a=a||[];var j=a.map(function(t){var e=t[0],n=t[1],r=Oe(e);return[r[0],r[1],n]});return p=Xt(p),l&&(e|=33554432),e|=1,{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:y,references:d,ngContentIndex:r,childCount:o,bindings:m,bindingFlags:Ee(m),outputs:T,element:{ns:g,name:v,attrs:j,template:null,componentProvider:null,componentView:l||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:c||xu},provider:null,text:null,query:null,ngContent:null};var N}function Re(t,e,n){var r,o=n.element,i=t.root.selectorOrNode,a=t.renderer;if(t.parent||!i){r=o.name?a.createElement(o.name,o.ns):a.createComment("");var u=ye(t,e,n);u&&a.appendChild(u,r)}else r=a.selectRootElement(i);if(o.attrs)for(var s=0;s<o.attrs.length;s++){var c=o.attrs[s],l=c[0],p=c[1],f=c[2];a.setAttribute(r,p,f,l)}return r}function Ie(t,e,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=ke(t,n.nodeIndex,ce(i.target,i.eventName)),u=i.target,s=t;"component"===i.target&&(u=null,s=e);var c=s.renderer.listen(u||r,i.eventName,a);t.disposables[n.outputIndex+o]=c}}function ke(t,e,n){return function(r){try{return ie(t,e,n,r)}catch(e){t.root.errorHandler.handleError(e)}}}function je(t,e,n,r,o,i,a,u,s,c,l,p){var f=e.bindings.length,h=!1;return f>0&&Me(t,e,0,n)&&(h=!0),f>1&&Me(t,e,1,r)&&(h=!0),f>2&&Me(t,e,2,o)&&(h=!0),f>3&&Me(t,e,3,i)&&(h=!0),f>4&&Me(t,e,4,a)&&(h=!0),f>5&&Me(t,e,5,u)&&(h=!0),f>6&&Me(t,e,6,s)&&(h=!0),f>7&&Me(t,e,7,c)&&(h=!0),f>8&&Me(t,e,8,l)&&(h=!0),f>9&&Me(t,e,9,p)&&(h=!0),h}function Ne(t,e,n){for(var r=!1,o=0;o<n.length;o++)Me(t,e,o,n[o])&&(r=!0);return r}function Me(t,e,n,r){if(!ee(t,e,n,r))return!1;var o=e.bindings[n],i=Ut(t,e.nodeIndex),a=i.renderElement,u=o.name;switch(15&o.flags){case 1:Ve(t,o,a,o.ns,u,r);break;case 2:De(t,a,u,r);break;case 4:Fe(t,o,a,u,r);break;case 8:Le(33554432&e.flags&&32&o.flags?i.componentView:t,o,a,u,r)}return!0}function Ve(t,e,n,r,o,i){var a=e.securityContext,u=a?t.root.sanitizer.sanitize(a,i):i;u=null!=u?u.toString():null;var s=t.renderer;null!=i?s.setAttribute(n,o,u,r):s.removeAttribute(n,o,r)}function De(t,e,n,r){var o=t.renderer;r?o.addClass(e,n):o.removeClass(e,n)}function Fe(t,e,n,r,o){var i=t.root.sanitizer.sanitize(Ou.STYLE,o);if(null!=i){i=i.toString();var a=e.suffix;null!=a&&(i+=a)}else i=null;var u=t.renderer;null!=i?u.setStyle(n,r,i):u.removeStyle(n,r)}function Le(t,e,n,r,o){var i=e.securityContext,a=i?t.root.sanitizer.sanitize(i,o):o;t.renderer.setProperty(n,r,a)}function Ue(t,e,n,r){return{index:-1,deps:de(r),flags:t,token:e,value:n}}function He(t){for(var e={},n=0;n<t.length;n++){var r=t[n];r.index=n,e[Jt(r.token)]=r}return{factory:null,providersByKey:e,providers:t}}function Be(t){for(var e=t._def,n=t._providers=new Array(e.providers.length),r=0;r<e.providers.length;r++){var o=e.providers[r];4096&o.flags||(n[r]=Ge(t,o))}}function qe(t,e,n){if(void 0===n&&(n=vi.THROW_IF_NOT_FOUND),8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);var r=e.tokenKey;switch(r){case Du:case Fu:return t}var o=t._def.providersByKey[r];if(o){var i=t._providers[o.index];return void 0===i&&(i=t._providers[o.index]=Ge(t,o)),i===Vu?void 0:i}return t._parent.get(e.token,n)}function Ge(t,e){var n;switch(201347067&e.flags){case 512:n=ze(t,e.value,e.deps);break;case 1024:n=We(t,e.value,e.deps);break;case 2048:n=qe(t,e.deps[0]);break;case 256:n=e.value}return void 0===n?Vu:n}function ze(t,e,n){var r=n.length;switch(r){case 0:return new e;case 1:return new e(qe(t,n[0]));case 2:return new e(qe(t,n[0]),qe(t,n[1]));case 3:return new e(qe(t,n[0]),qe(t,n[1]),qe(t,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=qe(t,n[i]);return new(e.bind.apply(e,[void 0].concat(o)))}}function We(t,e,n){var r=n.length;switch(r){case 0:return e();case 1:return e(qe(t,n[0]));case 2:return e(qe(t,n[0]),qe(t,n[1]));case 3:return e(qe(t,n[0]),qe(t,n[1]),qe(t,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=qe(t,n[i]);return e.apply(void 0,o)}}function Ze(t,e){for(var n=t._def,r=0;r<n.providers.length;r++){if(131072&n.providers[r].flags){var o=t._providers[r];o&&o!==Vu&&o.ngOnDestroy()}}}function Ke(t,e,n,r){var o=e.viewContainer._embeddedViews;null!==n&&void 0!==n||(n=o.length),r.viewContainerParent=t,nn(o,n,r),Qe(e,r),Pu.dirtyParentQueries(r),tn(e,n>0?o[n-1]:null,r)}function Qe(t,e){var n=ae(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),Je(e.parent.def,e.parentNodeDef)}}function Je(t,e){if(!(4&e.flags)){t.nodeFlags|=4,e.flags|=4;for(var n=e.parent;n;)n.childFlags|=4,n=n.parent}}function Ye(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,rn(n,e),Pu.dirtyParentQueries(r),en(r),r}function $e(t){if(16&t.state){var e=ae(t);if(e){var n=e.template._projectedViews;n&&(rn(n,n.indexOf(t)),Pu.dirtyParentQueries(t))}}}function Xe(t,e,n){var r=t.viewContainer._embeddedViews,o=r[e];return rn(r,e),null==n&&(n=r.length),nn(r,n,o),Pu.dirtyParentQueries(o),en(o),tn(t,n>0?r[n-1]:null,o),o}function tn(t,e,n){var r=e?se(e,e.def.lastRenderRootNode):t.renderElement;me(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function en(t){me(t,3,null,null,void 0)}function nn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function rn(t,e){e>=t.length-1?t.pop():t.splice(e,1)}function on(t,e,n,r,o,i){return new Uu(t,e,n,r,o,i)}function an(t){return t.viewDefFactory}function un(t,e,n){return new Bu(t,e,n)}function sn(t){return new qu(t)}function cn(t,e){return new Gu(t,e)}function ln(t,e){return new zu(t,e)}function pn(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Ut(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Lt(t,n.nodeIndex).renderText;if(20240&n.flags)return Ht(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function fn(t){return new Wu(t.renderer)}function hn(t,e,n,r){return new Zu(t,e,n,r)}function dn(t,e,n,r,o,i,a,u){var s=[];if(a)for(var c in a){var l=a[c],p=l[0],f=l[1];s[p]={flags:8,name:c,nonMinifiedName:f,ns:null,securityContext:null,suffix:null}}var h=[];if(u)for(var d in u)h.push({type:1,propName:d,target:null,eventName:u[d]});return e|=16384,vn(t,e,n,r,o,o,i,s,h)}function yn(t,e,n){return t|=16,vn(-1,t,null,0,e,e,n)}function gn(t,e,n,r,o){return vn(-1,t,e,0,n,r,o)}function vn(t,e,n,r,o,i,a,u,s){var c=he(n),l=c.matchedQueries,p=c.references,f=c.matchedQueryIds;s||(s=[]),u||(u=[]);var h=de(a);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:l,matchedQueryIds:f,references:p,ngContentIndex:-1,childCount:r,bindings:u,bindingFlags:Ee(u),outputs:s,element:null,provider:{token:o,value:i,deps:h},text:null,query:null,ngContent:null}}function mn(t,e){return En(t,e)}function bn(t,e){for(var n=t;n.parent&&!le(n);)n=n.parent;return Sn(n.parent,ue(n),!0,e.provider.value,e.provider.deps)}function _n(t,e){var n=(32768&e.flags)>0,r=Sn(t,e.parent,n,e.provider.value,e.provider.deps);if(e.outputs.length)for(var o=0;o<e.outputs.length;o++){var i=e.outputs[o],a=r[i.propName].subscribe(wn(t,e.parent.nodeIndex,i.eventName));t.disposables[e.outputIndex+o]=a.unsubscribe.bind(a)}return r}function wn(t,e,n){return function(r){try{return ie(t,e,n,r)}catch(e){t.root.errorHandler.handleError(e)}}}function Cn(t,e,n,r,o,i,a,u,s,c,l,p){var f=Ht(t,e.nodeIndex),h=f.instance,d=!1,y=void 0,g=e.bindings.length;return g>0&&te(t,e,0,n)&&(d=!0,y=Tn(t,f,e,0,n,y)),g>1&&te(t,e,1,r)&&(d=!0,y=Tn(t,f,e,1,r,y)),g>2&&te(t,e,2,o)&&(d=!0,y=Tn(t,f,e,2,o,y)),g>3&&te(t,e,3,i)&&(d=!0,y=Tn(t,f,e,3,i,y)),g>4&&te(t,e,4,a)&&(d=!0,y=Tn(t,f,e,4,a,y)),g>5&&te(t,e,5,u)&&(d=!0,y=Tn(t,f,e,5,u,y)),g>6&&te(t,e,6,s)&&(d=!0,y=Tn(t,f,e,6,s,y)),g>7&&te(t,e,7,c)&&(d=!0,y=Tn(t,f,e,7,c,y)),g>8&&te(t,e,8,l)&&(d=!0,y=Tn(t,f,e,8,l,y)),g>9&&te(t,e,9,p)&&(d=!0,y=Tn(t,f,e,9,p,y)),y&&h.ngOnChanges(y),2&t.state&&65536&e.flags&&h.ngOnInit(),262144&e.flags&&h.ngDoCheck(),d}function On(t,e,n){for(var r=Ht(t,e.nodeIndex),o=r.instance,i=!1,a=void 0,u=0;u<n.length;u++)te(t,e,u,n[u])&&(i=!0,a=Tn(t,r,e,u,n[u],a));return a&&o.ngOnChanges(a),2&t.state&&65536&e.flags&&o.ngOnInit(),262144&e.flags&&o.ngDoCheck(),i}function En(t,e){var n=(8192&e.flags)>0,r=e.provider;switch(201347067&e.flags){case 512:return Sn(t,e.parent,n,r.value,r.deps);case 1024:return Pn(t,e.parent,n,r.value,r.deps);case 2048:return xn(t,e.parent,n,r.deps[0]);case 256:return r.value}}function Sn(t,e,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(xn(t,e,n,o[0]));case 2:return new r(xn(t,e,n,o[0]),xn(t,e,n,o[1]));case 3:return new r(xn(t,e,n,o[0]),xn(t,e,n,o[1]),xn(t,e,n,o[2]));default:for(var a=new Array(i),u=0;u<i;u++)a[u]=xn(t,e,n,o[u]);return new(r.bind.apply(r,[void 0].concat(a)))}}function Pn(t,e,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(xn(t,e,n,o[0]));case 2:return r(xn(t,e,n,o[0]),xn(t,e,n,o[1]));case 3:return r(xn(t,e,n,o[0]),xn(t,e,n,o[1]),xn(t,e,n,o[2]));default:for(var a=Array(i),u=0;u<i;u++)a[u]=xn(t,e,n,o[u]);return r.apply(void 0,a)}}function xn(t,e,n,r,o){if(void 0===o&&(o=vi.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=t;2&r.flags&&(o=null);var a=r.tokenKey;for(a===Xu&&(n=!(!e||!e.element.componentView)),e&&1&r.flags&&(n=!1,e=e.parent);t;){if(e)switch(a){case Ku:var u=An(t,e,n);return fn(u);case Qu:var u=An(t,e,n);return u.renderer;case Ju:return new Va(Ut(t,e.nodeIndex).renderElement);case Yu:return Ut(t,e.nodeIndex).viewContainer;case $u:if(e.element.template)return Ut(t,e.nodeIndex).template;break;case Xu:return sn(An(t,e,n));case ts:return ln(t,e);default:var s=(n?e.element.allProviders:e.element.publicProviders)[a];if(s){var c=Ht(t,s.nodeIndex);return c||(c={instance:En(t,s)},t.nodes[s.nodeIndex]=c),c.instance}}n=le(t),e=ue(t),t=t.parent}var l=i.root.injector.get(r.token,es);return l!==es||o===es?l:i.root.ngModule.injector.get(r.token,o)}function An(t,e,n){var r;if(n)r=Ut(t,e.nodeIndex).componentView;else for(r=t;r.parent&&!le(r);)r=r.parent;return r}function Tn(t,e,n,r,o,i){if(32768&n.flags){var a=Ut(t,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}var u=n.bindings[r],s=u.name;if(e.instance[s]=o,524288&n.flags){i=i||{};var c=t.oldValues[n.bindingIndex+r];c instanceof $a&&(c=c.wrapped);i[n.bindings[r].nonMinifiedName]=new tu(c,o,0!=(2&t.state))}return t.oldValues[n.bindingIndex+r]=o,i}function Rn(t,e){if(t.def.nodeFlags&e)for(var n=t.def.nodes,r=0;r<n.length;r++){var o=n[r],i=o.parent;for(!i&&o.flags&e&&kn(t,r,o.flags&e),0==(o.childFlags&e)&&(r+=o.childCount);i&&1&i.flags&&r===i.nodeIndex+i.childCount;)i.directChildFlags&e&&In(t,i,e),i=i.parent}}function In(t,e,n){for(var r=e.nodeIndex+1;r<=e.nodeIndex+e.childCount;r++){var o=t.def.nodes[r];o.flags&n&&kn(t,r,o.flags&n),r+=o.childCount}}function kn(t,e,n){var r=Ht(t,e);if(r){var o=r.instance;o&&(Pu.setCurrentNode(t,e),1048576&n&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}}function jn(t,e,n){var r=[];for(var o in n){var i=n[o];r.push({propName:o,bindingType:i})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:e,filterId:fe(e),bindings:r},ngContent:null}}function Nn(){return new La}function Mn(t){for(var e=t.def.nodeMatchedQueries;t.parent&&pe(t);){var n=t.parentNodeDef;t=t.parent;for(var r=n.nodeIndex+n.childCount,o=0;o<=r;o++){var i=t.def.nodes[o];67108864&i.flags&&536870912&i.flags&&(i.query.filterId&e)===i.query.filterId&&qt(t,o).setDirty(),!(1&i.flags&&o+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}}if(134217728&t.def.nodeFlags)for(var o=0;o<t.def.nodes.length;o++){var i=t.def.nodes[o];134217728&i.flags&&536870912&i.flags&&qt(t,o).setDirty(),o+=i.childCount}}function Vn(t,e){var n=qt(t,e.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&e.flags){var i=e.parent.parent;o=Dn(t,i.nodeIndex,i.nodeIndex+i.childCount,e.query,[]),r=Ht(t,e.parent.nodeIndex).instance}else 134217728&e.flags&&(o=Dn(t,0,t.def.nodes.length-1,e.query,[]),r=t.component);n.reset(o);for(var a=e.query.bindings,u=!1,s=0;s<a.length;s++){var c=a[s],l=void 0;switch(c.bindingType){case 0:l=n.first;break;case 1:l=n,u=!0}r[c.propName]=l}u&&n.notifyOnChanges()}}function Dn(t,e,n,r,o){for(var i=e;i<=n;i++){var a=t.def.nodes[i],u=a.matchedQueries[r.id];if(null!=u&&o.push(Fn(t,a,u)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var s=Ut(t,i);if((a.childMatchedQueries&r.filterId)===r.filterId&&(Dn(t,i+1,i+a.childCount,r,o),i+=a.childCount),16777216&a.flags)for(var c=s.viewContainer._embeddedViews,l=0;l<c.length;l++){var p=c[l],f=ae(p);f&&f===s&&Dn(p,0,p.def.nodes.length-1,r,o)}var h=s.template._projectedViews;if(h)for(var l=0;l<h.length;l++){var d=h[l];Dn(d,0,d.def.nodes.length-1,r,o)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(i+=a.childCount)}return o}function Fn(t,e,n){if(null!=n)switch(n){case 1:return Ut(t,e.nodeIndex).renderElement;case 0:return new Va(Ut(t,e.nodeIndex).renderElement);case 2:return Ut(t,e.nodeIndex).template;case 3:return Ut(t,e.nodeIndex).viewContainer;case 4:return Ht(t,e.nodeIndex).instance}}function Ln(t,e){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:e}}}function Un(t,e,n){var r=ye(t,e,n);if(r){_e(t,n.ngContent.index,1,r,null,void 0)}}function Hn(t,e){return Gn(128,t,new Array(e+1))}function Bn(t,e){return Gn(32,t,new Array(e))}function qn(t,e){for(var n=Object.keys(e),r=n.length,o=new Array(r),i=0;i<r;i++){var a=n[i];o[e[a]]=a}return Gn(64,t,o)}function Gn(t,e,n){for(var r=new Array(n.length),o=0;o<n.length;o++){var i=n[o];r[o]={flags:8,name:i,ns:null,nonMinifiedName:i,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:Ee(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function zn(t,e){return{value:void 0}}function Wn(t,e,n,r,o,i,a,u,s,c,l,p){var f=e.bindings,h=!1,d=f.length;if(d>0&&ee(t,e,0,n)&&(h=!0),d>1&&ee(t,e,1,r)&&(h=!0),d>2&&ee(t,e,2,o)&&(h=!0),d>3&&ee(t,e,3,i)&&(h=!0),d>4&&ee(t,e,4,a)&&(h=!0),d>5&&ee(t,e,5,u)&&(h=!0),d>6&&ee(t,e,6,s)&&(h=!0),d>7&&ee(t,e,7,c)&&(h=!0),d>8&&ee(t,e,8,l)&&(h=!0),d>9&&ee(t,e,9,p)&&(h=!0),h){var y=Bt(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(f.length),d>0&&(g[0]=n),d>1&&(g[1]=r),d>2&&(g[2]=o),d>3&&(g[3]=i),d>4&&(g[4]=a),d>5&&(g[5]=u),d>6&&(g[6]=s),d>7&&(g[7]=c),d>8&&(g[8]=l),d>9&&(g[9]=p);break;case 64:g={},d>0&&(g[f[0].name]=n),d>1&&(g[f[1].name]=r),d>2&&(g[f[2].name]=o),d>3&&(g[f[3].name]=i),d>4&&(g[f[4].name]=a),d>5&&(g[f[5].name]=u),d>6&&(g[f[6].name]=s),d>7&&(g[f[7].name]=c),d>8&&(g[f[8].name]=l),d>9&&(g[f[9].name]=p);break;case 128:var v=n;switch(d){case 1:g=v.transform(n);break;case 2:g=v.transform(r);break;case 3:g=v.transform(r,o);break;case 4:g=v.transform(r,o,i);break;case 5:g=v.transform(r,o,i,a);break;case 6:g=v.transform(r,o,i,a,u);break;case 7:g=v.transform(r,o,i,a,u,s);break;case 8:g=v.transform(r,o,i,a,u,s,c);break;case 9:g=v.transform(r,o,i,a,u,s,c,l);break;case 10:g=v.transform(r,o,i,a,u,s,c,l,p)}}y.value=g}return h}function Zn(t,e,n){for(var r=e.bindings,o=!1,i=0;i<n.length;i++)ee(t,e,i,n[i])&&(o=!0);if(o){var a=Bt(t,e.nodeIndex),u=void 0;switch(201347067&e.flags){case 32:u=n;break;case 64:u={};for(var i=0;i<n.length;i++)u[r[i].name]=n[i];break;case 128:var s=n[0],c=n.slice(1);u=s.transform.apply(s,c)}a.value=u}return o}function Kn(t,e,n){for(var r=new Array(n.length-1),o=1;o<n.length;o++)r[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Qn(t,e,n){var r,o=t.renderer;r=o.createText(n.text.prefix);var i=ye(t,e,n);return i&&o.appendChild(i,r),{renderText:r}}function Jn(t,e,n,r,o,i,a,u,s,c,l,p){var f=!1,h=e.bindings,d=h.length;if(d>0&&ee(t,e,0,n)&&(f=!0),d>1&&ee(t,e,1,r)&&(f=!0),d>2&&ee(t,e,2,o)&&(f=!0),d>3&&ee(t,e,3,i)&&(f=!0),d>4&&ee(t,e,4,a)&&(f=!0),d>5&&ee(t,e,5,u)&&(f=!0),d>6&&ee(t,e,6,s)&&(f=!0),d>7&&ee(t,e,7,c)&&(f=!0),d>8&&ee(t,e,8,l)&&(f=!0),d>9&&ee(t,e,9,p)&&(f=!0),f){var y=e.text.prefix;d>0&&(y+=$n(n,h[0])),d>1&&(y+=$n(r,h[1])),d>2&&(y+=$n(o,h[2])),d>3&&(y+=$n(i,h[3])),d>4&&(y+=$n(a,h[4])),d>5&&(y+=$n(u,h[5])),d>6&&(y+=$n(s,h[6])),d>7&&(y+=$n(c,h[7])),d>8&&(y+=$n(l,h[8])),d>9&&(y+=$n(p,h[9]));var g=Lt(t,e.nodeIndex).renderText;t.renderer.setValue(g,y)}return f}function Yn(t,e,n){for(var r=e.bindings,o=!1,i=0;i<n.length;i++)ee(t,e,i,n[i])&&(o=!0);if(o){for(var a="",i=0;i<n.length;i++)a+=$n(n[i],r[i]);a=e.text.prefix+a;var u=Lt(t,e.nodeIndex).renderText;t.renderer.setValue(u,a)}return o}function $n(t,e){return(null!=t?t.toString():"")+e.suffix}function Xn(t,e,n,r){for(var o=0,i=0,a=0,u=0,s=0,c=null,l=null,p=!1,f=!1,h=null,d=0;d<e.length;d++){var y=e[d];if(y.nodeIndex=d,y.parent=c,y.bindingIndex=o,y.outputIndex=i,y.renderParent=l,a|=y.flags,s|=y.matchedQueryIds,y.element){var g=y.element;g.publicProviders=c?c.element.publicProviders:Object.create(null),g.allProviders=g.publicProviders,p=!1,f=!1,y.element.template&&(s|=y.element.template.nodeMatchedQueries)}if(er(c,y,e.length),o+=y.bindings.length,i+=y.outputs.length,!l&&3&y.flags&&(h=y),20224&y.flags){p||(p=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);var v=0!=(8192&y.flags),m=0!=(32768&y.flags);!v||m?c.element.publicProviders[Jt(y.provider.token)]=y:(f||(f=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[Jt(y.provider.token)]=y),m&&(c.element.componentProvider=y)}if(c?(c.childFlags|=y.flags,c.directChildFlags|=y.flags,c.childMatchedQueries|=y.matchedQueryIds,y.element&&y.element.template&&(c.childMatchedQueries|=y.element.template.nodeMatchedQueries)):u|=y.flags,y.childCount>0)c=y,tr(y)||(l=y);else for(;c&&d===c.nodeIndex+c.childCount;){var b=c.parent;b&&(b.childFlags|=c.childFlags,b.childMatchedQueries|=c.childMatchedQueries),c=b,l=c&&tr(c)?c.renderParent:c}}var _=function(t,n,r,o){return e[n].element.handleEvent(t,r,o)};return{factory:null,nodeFlags:a,rootNodeFlags:u,nodeMatchedQueries:s,flags:t,nodes:e,updateDirectives:n||xu,updateRenderer:r||xu,handleEvent:_,bindingCount:o,outputCount:i,lastRenderRootNode:h}}function tr(t){return 0!=(1&t.flags)&&null===t.element.name}function er(t,e,n){var r=e.element&&e.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.nodeIndex+"!")}if(20224&e.flags){if(0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!")}if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var o=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=o&&e.nodeIndex+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function nr(t,e,n,r){var o=ir(t.root,t.renderer,t,e,n);return ar(o,t.component,r),ur(o),o}function rr(t,e,n){var r=ir(t,t.renderer,null,null,e);return ar(r,n,n),ur(r),r}function or(t,e,n,r){var o,i=e.element.componentRendererType;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,ir(t.root,o,t,e.element.componentProvider,n)}function ir(t,e,n,r,o){var i=new Array(o.nodes.length),a=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:t,renderer:e,oldValues:new Array(o.bindingCount),disposables:a}}function ar(t,e,n){t.component=e,t.context=n}function ur(t){var e;if(le(t)){var n=t.parentNodeDef;e=Ut(t.parent,n.parent.nodeIndex).renderElement}for(var r=t.def,o=t.nodes,i=0;i<r.nodes.length;i++){var a=r.nodes[i];Pu.setCurrentNode(t,i);var u=void 0;switch(201347067&a.flags){case 1:var s=Re(t,e,a),c=void 0;if(33554432&a.flags){var l=ge(a.element.componentView);c=Pu.createComponentView(t,a,l,s)}Ie(t,c,a,s),u={renderElement:s,componentView:c,viewContainer:null,template:a.element.template?cn(t,a):void 0},16777216&a.flags&&(u.viewContainer=un(t,a,u));break;case 2:u=Qn(t,e,a);break;case 512:case 1024:case 2048:case 256:if(!((u=o[i])||4096&a.flags)){var p=mn(t,a);u={instance:p}}break;case 16:var p=bn(t,a);u={instance:p};break;case 16384:if(!(u=o[i])){var p=_n(t,a);u={instance:p}}if(32768&a.flags){ar(Ut(t,a.parent.nodeIndex).componentView,u.instance,u.instance)}break;case 32:case 64:case 128:u=zn(t,a);break;case 67108864:case 134217728:u=Nn();break;case 8:Un(t,e,a),u=void 0}o[i]=u}_r(t,ns.CreateViewNodes),Er(t,201326592,268435456,0)}function sr(t){pr(t),Pu.updateDirectives(t,1),wr(t,ns.CheckNoChanges),Pu.updateRenderer(t,1),_r(t,ns.CheckNoChanges),t.state&=-97}function cr(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,pr(t),Pu.updateDirectives(t,0),wr(t,ns.CheckAndUpdate),Er(t,67108864,536870912,0),Rn(t,2097152|(2&t.state?1048576:0)),Pu.updateRenderer(t,0),_r(t,ns.CheckAndUpdate),Er(t,134217728,536870912,0),Rn(t,8388608|(2&t.state?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97}function lr(t,e,n,r,o,i,a,u,s,c,l,p,f){return 0===n?fr(t,e,r,o,i,a,u,s,c,l,p,f):hr(t,e,r)}function pr(t){var e=t.def;if(4&e.nodeFlags)for(var n=0;n<e.nodes.length;n++){var r=e.nodes[n];if(4&r.flags){var o=Ut(t,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.state|=32,oe(a,t)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function fr(t,e,n,r,o,i,a,u,s,c,l,p){switch(201347067&e.flags){case 1:return je(t,e,n,r,o,i,a,u,s,c,l,p);case 2:return Jn(t,e,n,r,o,i,a,u,s,c,l,p);case 16384:return Cn(t,e,n,r,o,i,a,u,s,c,l,p);case 32:case 64:case 128:return Wn(t,e,n,r,o,i,a,u,s,c,l,p);default:throw"unreachable"}}function hr(t,e,n){switch(201347067&e.flags){case 1:return Ne(t,e,n);case 2:return Yn(t,e,n);case 16384:return On(t,e,n);case 32:case 64:case 128:return Zn(t,e,n);default:throw"unreachable"}}function dr(t,e,n,r,o,i,a,u,s,c,l,p,f){return 0===n?yr(t,e,r,o,i,a,u,s,c,l,p,f):gr(t,e,r),!1}function yr(t,e,n,r,o,i,a,u,s,c,l,p){var f=e.bindings.length;f>0&&ne(t,e,0,n),f>1&&ne(t,e,1,r),f>2&&ne(t,e,2,o),f>3&&ne(t,e,3,i),f>4&&ne(t,e,4,a),f>5&&ne(t,e,5,u),f>6&&ne(t,e,6,s),f>7&&ne(t,e,7,c),f>8&&ne(t,e,8,l),f>9&&ne(t,e,9,p)}function gr(t,e,n){for(var r=0;r<n.length;r++)ne(t,e,r,n[r])}function vr(t,e){if(qt(t,e.nodeIndex).dirty)throw Gt(Pu.createDebugContext(t,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&t.state))}function mr(t){if(!(128&t.state)){if(wr(t,ns.Destroy),_r(t,ns.Destroy),Rn(t,131072),t.disposables)for(var e=0;e<t.disposables.length;e++)t.disposables[e]();$e(t),t.renderer.destroyNode&&br(t),le(t)&&t.renderer.destroy(),t.state|=128}}function br(t){for(var e=t.def.nodes.length,n=0;n<e;n++){var r=t.def.nodes[n];1&r.flags?t.renderer.destroyNode(Ut(t,n).renderElement):2&r.flags?t.renderer.destroyNode(Lt(t,n).renderText):(67108864&r.flags||134217728&r.flags)&&qt(t,n).destroy()}}function _r(t,e){var n=t.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];33554432&o.flags?Cr(Ut(t,r).componentView,e):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function wr(t,e){var n=t.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];if(16777216&o.flags)for(var i=Ut(t,r).viewContainer._embeddedViews,a=0;a<i.length;a++)Cr(i[a],e);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function Cr(t,e){var n=t.state;switch(e){case ns.CheckNoChanges:0==(128&n)&&(12==(12&n)?sr(t):64&n&&Or(t,ns.CheckNoChangesProjectedViews));break;case ns.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?sr(t):64&n&&Or(t,e));break;case ns.CheckAndUpdate:0==(128&n)&&(12==(12&n)?cr(t):64&n&&Or(t,ns.CheckAndUpdateProjectedViews));break;case ns.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?cr(t):64&n&&Or(t,e));break;case ns.Destroy:mr(t);break;case ns.CreateViewNodes:ur(t)}}function Or(t,e){wr(t,e),_r(t,e)}function Er(t,e,n,r){if(t.def.nodeFlags&e&&t.def.nodeFlags&n)for(var o=t.def.nodes.length,i=0;i<o;i++){var a=t.def.nodes[i];if(a.flags&e&&a.flags&n)switch(Pu.setCurrentNode(t,a.nodeIndex),r){case 0:Vn(t,a);break;case 1:vr(t,a)}a.childFlags&e&&a.childFlags&n||(i+=a.childCount)}}function Sr(){if(!rs){rs=!0;var t=lt()?xr():Pr();Pu.setCurrentNode=t.setCurrentNode,Pu.createRootView=t.createRootView,Pu.createEmbeddedView=t.createEmbeddedView,Pu.createComponentView=t.createComponentView,Pu.createNgModuleRef=t.createNgModuleRef,Pu.overrideProvider=t.overrideProvider,Pu.clearProviderOverrides=t.clearProviderOverrides,Pu.checkAndUpdateView=t.checkAndUpdateView,Pu.checkNoChangesView=t.checkNoChangesView,Pu.destroyView=t.destroyView,Pu.resolveDep=xn,Pu.createDebugContext=t.createDebugContext,Pu.handleEvent=t.handleEvent,Pu.updateDirectives=t.updateDirectives,Pu.updateRenderer=t.updateRenderer,Pu.dirtyParentQueries=Mn}}function Pr(){return{setCurrentNode:function(){},createRootView:Ar,createEmbeddedView:nr,createComponentView:or,createNgModuleRef:hn,overrideProvider:xu,clearProviderOverrides:xu,checkAndUpdateView:cr,checkNoChangesView:sr,destroyView:mr,createDebugContext:function(t,e){return new ls(t,e)},handleEvent:function(t,e,n,r){return t.def.handleEvent(t,e,n,r)},updateDirectives:function(t,e){return t.def.updateDirectives(0===e?Fr:Lr,t)},updateRenderer:function(t,e){return t.def.updateRenderer(0===e?Fr:Lr,t)}}}function xr(){return{setCurrentNode:qr,createRootView:Tr,createEmbeddedView:Ir,createComponentView:kr,createNgModuleRef:jr,overrideProvider:Nr,clearProviderOverrides:Mr,checkAndUpdateView:Ur,checkNoChangesView:Hr,destroyView:Br,createDebugContext:function(t,e){return new ls(t,e)},handleEvent:Gr,updateDirectives:zr,updateRenderer:Wr}}function Ar(t,e,n,r,o,i){return rr(Rr(t,o,o.injector.get(ja),e,n),r,i)}function Tr(t,e,n,r,o,i){var a=o.injector.get(ja),u=Rr(t,o,new ps(a),e,n),s=Vr(r);return ro(is.create,rr,null,[u,s,i])}function Rr(t,e,n,r,o){var i=e.injector.get(Eu),a=e.injector.get(Ci);return{ngModule:e,injector:t,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:n.createRenderer(null,null),errorHandler:a}}function Ir(t,e,n,r){var o=Vr(n);return ro(is.create,nr,null,[t,e,o,r])}function kr(t,e,n,r){var o=Vr(n);return ro(is.create,or,null,[t,e,o,r])}function jr(t,e,n,r){return hn(t,e,n,Dr(r))}function Nr(t){os.set(t.token,t)}function Mr(){os.clear()}function Vr(t){if(0===os.size)return t;var e=function(t){for(var e=[],n=null,r=0;r<t.nodes.length;r++){var o=t.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&os.has(o.provider.token)&&(e.push(n.nodeIndex),n=null)}return e}(t);if(0===e.length)return t;t=t.factory(function(){return xu});for(var n=0;n<e.length;n++)!function(t,e){for(var n=e+1;n<t.nodes.length;n++){var r=t.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=os.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=de(i.deps),o.value=i.value)}}}(t,e[n]);return t}function Dr(t){var e=function(t){var e=!1,n=!1;return 0===os.size?{hasOverrides:e,hasDeprecatedOverrides:n}:(t.providers.forEach(function(t){var r=os.get(t.token);3840&t.flags&&r&&(e=!0,n=n||r.deprecatedBehavior)}),{hasOverrides:e,hasDeprecatedOverrides:n})}(t),n=e.hasOverrides,r=e.hasDeprecatedOverrides;return n?(t=t.factory(function(){return xu}),function(t){for(var e=0;e<t.providers.length;e++){var n=t.providers[e];r&&(n.flags|=4096);var o=os.get(n.token);o&&(n.flags=-3841&n.flags|o.flags,n.deps=de(o.deps),n.value=o.value)}}(t),t):t}function Fr(t,e,n,r,o,i,a,u,s,c,l,p,f){var h=t.def.nodes[e];return lr(t,h,n,r,o,i,a,u,s,c,l,p,f),224&h.flags?Bt(t,e).value:void 0}function Lr(t,e,n,r,o,i,a,u,s,c,l,p,f){var h=t.def.nodes[e];return dr(t,h,n,r,o,i,a,u,s,c,l,p,f),224&h.flags?Bt(t,e).value:void 0}function Ur(t){return ro(is.detectChanges,cr,null,[t])}function Hr(t){return ro(is.checkNoChanges,sr,null,[t])}function Br(t){return ro(is.destroy,mr,null,[t])}function qr(t,e){us=t,ss=e}function Gr(t,e,n,r){return qr(t,e),ro(is.handleEvent,t.def.handleEvent,null,[t,e,n,r])}function zr(t,e){function n(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=t.def.nodes[n];return 0===e?Zr(t,a,r,o):Kr(t,a,r,o),16384&a.flags&&qr(t,$r(t,n)),224&a.flags?Bt(t,a.nodeIndex).value:void 0}if(128&t.state)throw Qt(is[as]);return qr(t,$r(t,0)),t.def.updateDirectives(n,t)}function Wr(t,e){function n(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=t.def.nodes[n];return 0===e?Zr(t,a,r,o):Kr(t,a,r,o),3&a.flags&&qr(t,Xr(t,n)),224&a.flags?Bt(t,a.nodeIndex).value:void 0}if(128&t.state)throw Qt(is[as]);return qr(t,Xr(t,0)),t.def.updateRenderer(n,t)}function Zr(t,e,n,r){if(lr.apply(void 0,[t,e,n].concat(r))){var o=1===n?r[0]:r;if(16384&e.flags){for(var i={},a=0;a<e.bindings.length;a++){var u=e.bindings[a],s=o[a];8&u.flags&&(i[Qr(u.nonMinifiedName)]=Yr(s))}var c=e.parent,l=Ut(t,c.nodeIndex).renderElement;if(c.element.name)for(var p in i){var s=i[p];null!=s?t.renderer.setAttribute(l,p,s):t.renderer.removeAttribute(l,p)}else t.renderer.setValue(l,"bindings="+JSON.stringify(i,null,2))}}}function Kr(t,e,n,r){dr.apply(void 0,[t,e,n].concat(r))}function Qr(t){return"ng-reflect-"+(t=Jr(t.replace(/[$@]/g,"_")))}function Jr(t){return t.replace(cs,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"-"+t[1].toLowerCase()})}function Yr(t){try{return null!=t?t.toString().slice(0,30):t}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function $r(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function Xr(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}function to(t,e){for(var n=-1,r=0;r<=e;r++){3&t.nodes[r].flags&&n++}return n}function eo(t){for(;t&&!le(t);)t=t.parent;return t.parent?Ut(t.parent,ue(t).nodeIndex):null}function no(t,e,n){for(var r in e.references)n[r]=Fn(t,e,e.references[r])}function ro(t,e,n,r){var o=as,i=us,a=ss;try{as=t;var u=e.apply(n,r);return us=i,ss=a,as=o,u}catch(t){if(Kt(t)||!us)throw t;throw zt(t,oo())}}function oo(){return us?new ls(us,ss):null}function io(t){return Sr(),Pu.overrideProvider(t)}function ao(){return Sr(),Pu.clearProviderOverrides()}function uo(t,e,n){return new hs(t,e,n)}function so(t,e){return{type:7,name:t,definitions:e,options:{}}}function co(t,e){return void 0===e&&(e=null),{type:4,styles:e,timings:t}}function lo(t,e){return void 0===e&&(e=null),{type:3,steps:t,options:e}}function po(t,e){return void 0===e&&(e=null),{type:2,steps:t,options:e}}function fo(t){return{type:6,styles:t,offset:null}}function ho(t,e,n){return{type:0,name:t,styles:e,options:n}}function yo(t){return{type:5,steps:t}}function go(t,e,n){return void 0===n&&(n=null),{type:1,expr:t,animation:e,options:n}}function vo(t,e){return so(t,e)}function mo(t,e){return co(t,e)}function bo(t){return lo(t)}function _o(t){return po(t)}function wo(t){return fo(t)}function Co(t,e){return ho(t,e)}function Oo(t){return yo(t)}function Eo(t,e){return go(t,e)}Object.defineProperty(e,"__esModule",{value:!0});var So=n("6Xbx"),Po=n("bKpL"),xo=(n.n(Po),n("LEug")),Ao=(n.n(xo),n("CE6k")),To=(n.n(Ao),n("rlar"));n.n(To);n.d(e,"Class",function(){return c}),n.d(e,"createPlatform",function(){return pt}),n.d(e,"assertPlatform",function(){return ht}),n.d(e,"destroyPlatform",function(){return dt}),n.d(e,"getPlatform",function(){return yt}),n.d(e,"PlatformRef",function(){return Sa}),n.d(e,"ApplicationRef",function(){return xa}),n.d(e,"enableProdMode",function(){return ct}),n.d(e,"isDevMode",function(){return lt}),n.d(e,"createPlatformFactory",function(){return ft}),n.d(e,"NgProbeToken",function(){return Ea}),n.d(e,"APP_ID",function(){return Hi}),n.d(e,"PACKAGE_ROOT_URL",function(){return Wi}),n.d(e,"PLATFORM_INITIALIZER",function(){return qi}),n.d(e,"PLATFORM_ID",function(){return Gi}),n.d(e,"APP_BOOTSTRAP_LISTENER",function(){return zi}),n.d(e,"APP_INITIALIZER",function(){return Li}),n.d(e,"ApplicationInitStatus",function(){return Ui}),n.d(e,"DebugElement",function(){return Ja}),n.d(e,"DebugNode",function(){return Qa}),n.d(e,"asNativeElements",function(){return Ct}),n.d(e,"getDebugNode",function(){return St}),n.d(e,"Testability",function(){return ga}),n.d(e,"TestabilityRegistry",function(){return va}),n.d(e,"setTestabilityGetter",function(){return st}),n.d(e,"TRANSLATIONS",function(){return bu}),n.d(e,"TRANSLATIONS_FORMAT",function(){return _u}),n.d(e,"LOCALE_ID",function(){return mu}),n.d(e,"MissingTranslationStrategy",function(){return wu}),n.d(e,"ApplicationModule",function(){return Cu}),n.d(e,"wtfCreateScope",function(){return la}),n.d(e,"wtfLeave",function(){return pa}),n.d(e,"wtfStartTimeRange",function(){return fa}),n.d(e,"wtfEndTimeRange",function(){return ha}),n.d(e,"Type",function(){return Pi}),n.d(e,"EventEmitter",function(){return da}),n.d(e,"ErrorHandler",function(){return Ci}),n.d(e,"Sanitizer",function(){return Eu}),n.d(e,"SecurityContext",function(){return Ou}),n.d(e,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return Lo}),n.d(e,"Attribute",function(){return Uo}),n.d(e,"ContentChild",function(){return qo}),n.d(e,"ContentChildren",function(){return Bo}),n.d(e,"Query",function(){return Ho}),n.d(e,"ViewChild",function(){return zo}),n.d(e,"ViewChildren",function(){return Go}),n.d(e,"Component",function(){return Qo}),n.d(e,"Directive",function(){return Ko}),n.d(e,"HostBinding",function(){return Xo}),n.d(e,"HostListener",function(){return ti}),n.d(e,"Input",function(){return Yo}),n.d(e,"Output",function(){return $o}),n.d(e,"Pipe",function(){return Jo}),n.d(e,"CUSTOM_ELEMENTS_SCHEMA",function(){return ei}),n.d(e,"NO_ERRORS_SCHEMA",function(){return ni}),n.d(e,"NgModule",function(){return ri}),n.d(e,"ViewEncapsulation",function(){return oi}),n.d(e,"Version",function(){return ai}),n.d(e,"VERSION",function(){return ui}),n.d(e,"forwardRef",function(){return y}),n.d(e,"resolveForwardRef",function(){return g}),n.d(e,"Injector",function(){return vi}),n.d(e,"ReflectiveInjector",function(){return Vi}),n.d(e,"ResolvedReflectiveFactory",function(){return Ni}),n.d(e,"ReflectiveKey",function(){return Oi}),n.d(e,"InjectionToken",function(){return Io}),n.d(e,"OpaqueToken",function(){return Ro}),n.d(e,"Inject",function(){return si}),n.d(e,"Optional",function(){return ci}),n.d(e,"Injectable",function(){return li}),n.d(e,"Self",function(){return pi}),n.d(e,"SkipSelf",function(){return fi}),n.d(e,"Host",function(){return hi}),n.d(e,"NgZone",function(){return ya}),n.d(e,"RenderComponentType",function(){return Ta}),n.d(e,"Renderer",function(){return Ia}),n.d(e,"Renderer2",function(){return Ma}),n.d(e,"RendererFactory2",function(){return ja}),n.d(e,"RendererStyleFlags2",function(){return Na}),n.d(e,"RootRenderer",function(){return ka}),n.d(e,"COMPILER_OPTIONS",function(){return Ji}),n.d(e,"Compiler",function(){return Qi}),n.d(e,"CompilerFactory",function(){return Yi}),n.d(e,"ModuleWithComponentFactories",function(){return Ki}),n.d(e,"ComponentFactory",function(){return Xi}),n.d(e,"ComponentRef",function(){return $i}),n.d(e,"ComponentFactoryResolver",function(){return na}),n.d(e,"ElementRef",function(){return Va}),n.d(e,"NgModuleFactory",function(){return sa}),n.d(e,"NgModuleRef",function(){return ua}),n.d(e,"NgModuleFactoryLoader",function(){return Da}),n.d(e,"getModuleFactory",function(){return bt}),n.d(e,"QueryList",function(){return La}),n.d(e,"SystemJsNgModuleLoader",function(){return Ba}),n.d(e,"SystemJsNgModuleLoaderConfig",function(){return Ua}),n.d(e,"TemplateRef",function(){return qa}),n.d(e,"ViewContainerRef",function(){return Ga}),n.d(e,"EmbeddedViewRef",function(){return Za}),n.d(e,"ViewRef",function(){return Wa}),n.d(e,"ChangeDetectionStrategy",function(){return Wo}),n.d(e,"ChangeDetectorRef",function(){return za}),n.d(e,"DefaultIterableDiffer",function(){return ru}),n.d(e,"IterableDiffers",function(){return lu}),n.d(e,"KeyValueDiffers",function(){return pu}),n.d(e,"SimpleChange",function(){return tu}),n.d(e,"WrappedValue",function(){return $a}),n.d(e,"platformCore",function(){return vu}),n.d(e,"ɵALLOW_MULTIPLE_PLATFORMS",function(){return Oa}),n.d(e,"ɵAPP_ID_RANDOM_PROVIDER",function(){return Bi}),n.d(e,"ɵValueUnwrapper",function(){return Xa}),n.d(e,"ɵdevModeEqual",function(){return At}),n.d(e,"ɵisListLikeIterable",function(){return Tt}),n.d(e,"ɵChangeDetectorStatus",function(){return Zo}),n.d(e,"ɵisDefaultChangeDetectionStrategy",function(){return d}),n.d(e,"ɵConsole",function(){return Zi}),n.d(e,"ɵERROR_COMPONENT_TYPE",function(){return mi}),n.d(e,"ɵComponentFactory",function(){return Xi}),n.d(e,"ɵCodegenComponentFactoryResolver",function(){return ia}),n.d(e,"ɵViewMetadata",function(){return ii}),n.d(e,"ɵReflectionCapabilities",function(){return Ai}),n.d(e,"ɵRenderDebugInfo",function(){return Ra}),n.d(e,"ɵglobal",function(){return Mo}),n.d(e,"ɵlooseIdentical",function(){return i}),n.d(e,"ɵstringify",function(){return a}),n.d(e,"ɵmakeDecorator",function(){return l}),n.d(e,"ɵisObservable",function(){return Z}),n.d(e,"ɵisPromise",function(){return W}),n.d(e,"ɵclearProviderOverrides",function(){return ao}),n.d(e,"ɵoverrideProvider",function(){return io}),n.d(e,"ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",function(){return es}),n.d(e,"ɵregisterModuleFactory",function(){return mt}),n.d(e,"ɵEMPTY_ARRAY",function(){return Nu}),n.d(e,"ɵEMPTY_MAP",function(){return Mu}),n.d(e,"ɵand",function(){return Ae}),n.d(e,"ɵccf",function(){return on}),n.d(e,"ɵcmf",function(){return uo}),n.d(e,"ɵcrt",function(){return $t}),n.d(e,"ɵdid",function(){return dn}),n.d(e,"ɵeld",function(){return Te}),n.d(e,"ɵelementEventFullName",function(){return ce}),n.d(e,"ɵgetComponentViewDefinitionFactory",function(){return an}),n.d(e,"ɵinlineInterpolate",function(){return Pe}),n.d(e,"ɵinterpolate",function(){return Se}),n.d(e,"ɵmod",function(){return He}),n.d(e,"ɵmpd",function(){return Ue}),n.d(e,"ɵncd",function(){return Ln}),n.d(e,"ɵnov",function(){return pn}),n.d(e,"ɵpid",function(){return yn}),n.d(e,"ɵprd",function(){return gn}),n.d(e,"ɵpad",function(){return Bn}),n.d(e,"ɵpod",function(){return qn}),n.d(e,"ɵppd",function(){return Hn}),n.d(e,"ɵqud",function(){return jn}),n.d(e,"ɵted",function(){return Kn}),n.d(e,"ɵunv",function(){return Yt}),n.d(e,"ɵvid",function(){return Xn}),n.d(e,"AUTO_STYLE",function(){return ds}),n.d(e,"trigger",function(){return vo}),n.d(e,"animate",function(){return mo}),n.d(e,"group",function(){return bo}),n.d(e,"sequence",function(){return _o}),n.d(e,"style",function(){return wo}),n.d(e,"state",function(){return Co}),n.d(e,"keyframes",function(){return Oo}),n.d(e,"transition",function(){return Eo}),n.d(e,"ɵx",function(){return co}),n.d(e,"ɵy",function(){return lo}),n.d(e,"ɵbc",function(){return yo}),n.d(e,"ɵz",function(){return po}),n.d(e,"ɵbb",function(){return ho}),n.d(e,"ɵba",function(){return fo}),n.d(e,"ɵbd",function(){return go}),n.d(e,"ɵw",function(){return so}),n.d(e,"ɵk",function(){return Vt}),n.d(e,"ɵl",function(){return Dt}),n.d(e,"ɵm",function(){return Ft}),n.d(e,"ɵe",function(){return Aa}),n.d(e,"ɵf",function(){return K}),n.d(e,"ɵg",function(){return du}),n.d(e,"ɵh",function(){return yu}),n.d(e,"ɵi",function(){return eu}),n.d(e,"ɵj",function(){return uu}),n.d(e,"ɵb",function(){return Di}),n.d(e,"ɵc",function(){return Ii}),n.d(e,"ɵd",function(){return F}),n.d(e,"ɵn",function(){return ca}),n.d(e,"ɵp",function(){return X}),n.d(e,"ɵo",function(){return $}),n.d(e,"ɵs",function(){return nt}),n.d(e,"ɵq",function(){return tt}),n.d(e,"ɵr",function(){return et}),n.d(e,"ɵa",function(){return f}),n.d(e,"ɵt",function(){return vn}),n.d(e,"ɵu",function(){return Su});var Ro=function(){function t(t){this._desc=t}return t.prototype.toString=function(){return"Token "+this._desc},t}(),Io=function(t){function e(e){return t.call(this,e)||this}return So.a(e,t),e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(Ro),ko="undefined"!=typeof window&&window,jo="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,No=void 0!==t&&t,Mo=ko||No||jo,Vo=null,Do=0,Fo=Mo.Reflect,Lo=new Io("AnalyzeForEntryComponents"),Uo=f("Attribute",function(t){return{attributeName:t}}),Ho=function(){function t(){}return t}(),Bo=h("ContentChildren",function(t,e){return void 0===e&&(e={}),Object.assign({selector:t,first:!1,isViewQuery:!1,descendants:!1},e)},Ho),qo=h("ContentChild",function(t,e){return void 0===e&&(e={}),Object.assign({selector:t,first:!0,isViewQuery:!1,descendants:!0},e)},Ho),Go=h("ViewChildren",function(t,e){return void 0===e&&(e={}),Object.assign({selector:t,first:!1,isViewQuery:!0,descendants:!0},e)},Ho),zo=h("ViewChild",function(t,e){return Object.assign({selector:t,first:!0,isViewQuery:!0,descendants:!0},e)},Ho),Wo={};Wo.OnPush=0,Wo.Default=1,Wo[Wo.OnPush]="OnPush",Wo[Wo.Default]="Default";var Zo={};Zo.CheckOnce=0,Zo.Checked=1,Zo.CheckAlways=2,Zo.Detached=3,Zo.Errored=4,Zo.Destroyed=5,Zo[Zo.CheckOnce]="CheckOnce",Zo[Zo.Checked]="Checked",Zo[Zo.CheckAlways]="CheckAlways",Zo[Zo.Detached]="Detached",Zo[Zo.Errored]="Errored",Zo[Zo.Destroyed]="Destroyed";var Ko=l("Directive",function(t){return void 0===t&&(t={}),t}),Qo=l("Component",function(t){return void 0===t&&(t={}),Object.assign({changeDetection:Wo.Default},t)},Ko),Jo=l("Pipe",function(t){return Object.assign({pure:!0},t)}),Yo=h("Input",function(t){return{bindingPropertyName:t}}),$o=h("Output",function(t){return{bindingPropertyName:t}}),Xo=h("HostBinding",function(t){return{hostPropertyName:t}}),ti=h("HostListener",function(t,e){return{eventName:t,args:e}}),ei={name:"custom-elements"},ni={name:"no-errors-schema"},ri=l("NgModule",function(t){return t}),oi={};oi.Emulated=0,oi.Native=1,oi.None=2,oi[oi.Emulated]="Emulated",oi[oi.Native]="Native",oi[oi.None]="None";var ii=function(){function t(t){void 0===t&&(t={}),this.templateUrl=t.templateUrl,this.template=t.template,this.styleUrls=t.styleUrls,this.styles=t.styles,this.encapsulation=t.encapsulation,this.animations=t.animations,this.interpolation=t.interpolation}return t}(),ai=function(){function t(t){this.full=t}return Object.defineProperty(t.prototype,"major",{get:function(){return this.full.split(".")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minor",{get:function(){return this.full.split(".")[1]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"patch",{get:function(){return this.full.split(".").slice(2).join(".")},enumerable:!0,configurable:!0}),t}(),ui=new ai("4.4.6"),si=f("Inject",function(t){return{token:t}}),ci=f("Optional"),li=l("Injectable"),pi=f("Self"),fi=f("SkipSelf"),hi=f("Host"),di=new Object,yi=di,gi=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=di),e===di)throw new Error("No provider for "+a(t)+"!");return e},t}(),vi=function(){function t(){}return t.prototype.get=function(t,e){},t.prototype.get=function(t,e){},t}();vi.THROW_IF_NOT_FOUND=di,vi.NULL=new gi;var mi="ngComponentType",bi="ngDebugContext",_i="ngOriginalError",wi="ngErrorLogger",Ci=function(){function t(t){this._console=console}return t.prototype.handleError=function(t){var e=this._findOriginalError(t),n=this._findContext(t),r=b(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)},t.prototype._findContext=function(t){return t?v(t)?v(t):this._findContext(m(t)):null},t.prototype._findOriginalError=function(t){for(var e=m(t);e&&m(e);)e=m(e);return e},t}(),Oi=function(){function t(t,e){if(this.token=t,this.id=e,!t)throw new Error("Token must be defined!")}return Object.defineProperty(t.prototype,"displayName",{get:function(){return a(this.token)},enumerable:!0,configurable:!0}),t.get=function(t){return Si.get(g(t))},Object.defineProperty(t,"numberOfKeys",{get:function(){return Si.numberOfKeys},enumerable:!0,configurable:!0}),t}(),Ei=function(){function t(){this._allKeys=new Map}return t.prototype.get=function(t){if(t instanceof Oi)return t;if(this._allKeys.has(t))return this._allKeys.get(t);var e=new Oi(t,Oi.numberOfKeys);return this._allKeys.set(t,e),e},Object.defineProperty(t.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),t}(),Si=new Ei,Pi=Function,xi=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,Ai=function(){function t(t){this._reflect=t||Mo.Reflect}return t.prototype.isReflectionEnabled=function(){return!0},t.prototype.factory=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,[void 0].concat(e)))}},t.prototype._zipTypesAndAnnotations=function(t,e){var n;n=void 0===t?new Array(e.length):new Array(t.length);for(var r=0;r<n.length;r++)void 0===t?n[r]=[]:t[r]!=Object?n[r]=[t[r]]:n[r]=[],e&&null!=e[r]&&(n[r]=n[r].concat(e[r]));return n},t.prototype._ownParameters=function(t,e){if(xi.exec(t.toString()))return null;if(t.parameters&&t.parameters!==e.parameters)return t.parameters;var n=t.ctorParameters;if(n&&n!==e.ctorParameters){var r="function"==typeof n?n():n,o=r.map(function(t){return t&&t.type}),i=r.map(function(t){return t&&N(t.decorators)});return this._zipTypesAndAnnotations(o,i)}if(null!=this._reflect&&null!=this._reflect.getOwnMetadata){var i=this._reflect.getOwnMetadata("parameters",t),o=this._reflect.getOwnMetadata("design:paramtypes",t);if(o||i)return this._zipTypesAndAnnotations(o,i)}return new Array(t.length).fill(void 0)},t.prototype.parameters=function(t){if(!j(t))return[];var e=M(t),n=this._ownParameters(t,e);return n||e===Object||(n=this.parameters(e)),n||[]},t.prototype._ownAnnotations=function(t,e){if(t.annotations&&t.annotations!==e.annotations){var n=t.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return t.decorators&&t.decorators!==e.decorators?N(t.decorators):this._reflect&&this._reflect.getOwnMetadata?this._reflect.getOwnMetadata("annotations",t):null},t.prototype.annotations=function(t){if(!j(t))return[];var e=M(t),n=this._ownAnnotations(t,e)||[];return(e!==Object?this.annotations(e):[]).concat(n)},t.prototype._ownPropMetadata=function(t,e){if(t.propMetadata&&t.propMetadata!==e.propMetadata){var n=t.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(t.propDecorators&&t.propDecorators!==e.propDecorators){var r=t.propDecorators,o={};return Object.keys(r).forEach(function(t){o[t]=N(r[t])}),o}return this._reflect&&this._reflect.getOwnMetadata?this._reflect.getOwnMetadata("propMetadata",t):null},t.prototype.propMetadata=function(t){if(!j(t))return{};var e=M(t),n={};if(e!==Object){var r=this.propMetadata(e);Object.keys(r).forEach(function(t){n[t]=r[t]})}var o=this._ownPropMetadata(t,e);return o&&Object.keys(o).forEach(function(t){var e=[];n.hasOwnProperty(t)&&e.push.apply(e,n[t]),e.push.apply(e,o[t]),n[t]=e}),n},t.prototype.hasLifecycleHook=function(t,e){return t instanceof Pi&&e in t.prototype},t.prototype.getter=function(t){return new Function("o","return o."+t+";")},t.prototype.setter=function(t){return new Function("o","v","return o."+t+" = v;")},t.prototype.method=function(t){var e="if (!o."+t+") throw new Error('\""+t+"\" is undefined');\n return o."+t+".apply(o, args);";return new Function("o","args",e)},t.prototype.importUri=function(t){return"object"==typeof t&&t.filePath?t.filePath:"./"+a(t)},t.prototype.resourceUri=function(t){return"./"+a(t)},t.prototype.resolveIdentifier=function(t,e,n,r){return r},t.prototype.resolveEnum=function(t,e){return t[e]},t}(),Ti=function(){function t(t){this.reflectionCapabilities=t}return t.prototype.updateCapabilities=function(t){this.reflectionCapabilities=t},t.prototype.factory=function(t){return this.reflectionCapabilities.factory(t)},t.prototype.parameters=function(t){return this.reflectionCapabilities.parameters(t)},t.prototype.annotations=function(t){return this.reflectionCapabilities.annotations(t)},t.prototype.propMetadata=function(t){return this.reflectionCapabilities.propMetadata(t)},t.prototype.hasLifecycleHook=function(t,e){return this.reflectionCapabilities.hasLifecycleHook(t,e)},t.prototype.getter=function(t){return this.reflectionCapabilities.getter(t)},t.prototype.setter=function(t){return this.reflectionCapabilities.setter(t)},t.prototype.method=function(t){return this.reflectionCapabilities.method(t)},t.prototype.importUri=function(t){return this.reflectionCapabilities.importUri(t)},t.prototype.resourceUri=function(t){return this.reflectionCapabilities.resourceUri(t)},t.prototype.resolveIdentifier=function(t,e,n,r){return this.reflectionCapabilities.resolveIdentifier(t,e,n,r)},t.prototype.resolveEnum=function(t,e){return this.reflectionCapabilities.resolveEnum(t,e)},t}(),Ri=new Ti(new Ai),Ii=function(){function t(t,e,n){this.key=t,this.optional=e,this.visibility=n}return t.fromKey=function(e){return new t(e,!1,null)},t}(),ki=[],ji=function(){function t(t,e,n){this.key=t,this.resolvedFactories=e,this.multiProvider=n}return Object.defineProperty(t.prototype,"resolvedFactory",{get:function(){return this.resolvedFactories[0]},enumerable:!0,configurable:!0}),t}(),Ni=function(){function t(t,e){this.factory=t,this.dependencies=e}return t}(),Mi=new Object,Vi=function(){function t(){}return t.resolve=function(t){return F(t)},t.resolveAndCreate=function(e,n){var r=t.resolve(e);return t.fromResolvedProviders(r,n)},t.fromResolvedProviders=function(t,e){return new Di(t,e)},t.prototype.parent=function(){},t.prototype.resolveAndCreateChild=function(t){},t.prototype.createChildFromResolved=function(t){},t.prototype.resolveAndInstantiate=function(t){},t.prototype.instantiateResolved=function(t){},t.prototype.get=function(t,e){},t}(),Di=function(){function t(t,e){this._constructionCounter=0,this._providers=t,this._parent=e||null;var n=t.length;this.keyIds=new Array(n),this.objs=new Array(n);for(var r=0;r<n;r++)this.keyIds[r]=t[r].key.id,this.objs[r]=Mi}return t.prototype.get=function(t,e){return void 0===e&&(e=yi),this._getByKey(Oi.get(t),null,e)},Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),t.prototype.resolveAndCreateChild=function(t){var e=Vi.resolve(t);return this.createChildFromResolved(e)},t.prototype.createChildFromResolved=function(e){var n=new t(e);return n._parent=this,n},t.prototype.resolveAndInstantiate=function(t){return this.instantiateResolved(Vi.resolve([t])[0])},t.prototype.instantiateResolved=function(t){return this._instantiateProvider(t)},t.prototype.getProviderAtIndex=function(t){if(t<0||t>=this._providers.length)throw I(t);return this._providers[t]},t.prototype._new=function(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw x(this,t.key);return this._instantiateProvider(t)},t.prototype._getMaxNumberOfObjects=function(){return this.objs.length},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n<t.resolvedFactories.length;++n)e[n]=this._instantiate(t,t.resolvedFactories[n]);return e}return this._instantiate(t,t.resolvedFactories[0])},t.prototype._instantiate=function(t,e){var n,r=this,o=e.factory;try{n=e.dependencies.map(function(t){return r._getByReflectiveDependency(t)})}catch(e){throw e.addKey&&e.addKey(this,t.key),e}var i;try{i=o.apply(void 0,n)}catch(e){throw A(this,e,e.stack,t.key)}return i},t.prototype._getByReflectiveDependency=function(t){return this._getByKey(t.key,t.visibility,t.optional?null:yi)},t.prototype._getByKey=function(t,e,n){return t===Fi?this:e instanceof pi?this._getByKeySelf(t,n):this._getByKeyDefault(t,n,e)},t.prototype._getObjByKeyId=function(t){for(var e=0;e<this.keyIds.length;e++)if(this.keyIds[e]===t)return this.objs[e]===Mi&&(this.objs[e]=this._new(this._providers[e])),this.objs[e];return Mi},t.prototype._throwOrNull=function(t,e){if(e!==yi)return e;throw P(this,t)},t.prototype._getByKeySelf=function(t,e){var n=this._getObjByKeyId(t.id);return n!==Mi?n:this._throwOrNull(t,e)},t.prototype._getByKeyDefault=function(e,n,r){var o;for(o=r instanceof fi?this._parent:this;o instanceof t;){var i=o,a=i._getObjByKeyId(e.id);if(a!==Mi)return a;o=i._parent}return null!==o?o.get(e.token,n):this._throwOrNull(e,n)},Object.defineProperty(t.prototype,"displayName",{get:function(){return"ReflectiveInjector(providers: ["+z(this,function(t){return' "'+t.key.displayName+'" '}).join(", ")+"])"},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.displayName},t}(),Fi=Oi.get(vi),Li=new Io("Application Initializer"),Ui=function(){function t(t){var e=this;this.appInits=t,this.initialized=!1,this._done=!1,this._donePromise=new Promise(function(t,n){e.resolve=t,e.reject=n})}return t.prototype.runInitializers=function(){var t=this;if(!this.initialized){var e=[],n=function(){t._done=!0,t.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();W(o)&&e.push(o)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}},Object.defineProperty(t.prototype,"done",{get:function(){return this._done},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"donePromise",{get:function(){return this._donePromise},enumerable:!0,configurable:!0}),t}();Ui.decorators=[{type:li}],Ui.ctorParameters=function(){return[{type:Array,decorators:[{type:si,args:[Li]},{type:ci}]}]};var Hi=new Io("AppId"),Bi={provide:Hi,useFactory:K,deps:[]},qi=new Io("Platform Initializer"),Gi=new Io("Platform ID"),zi=new Io("appBootstrapListener"),Wi=new Io("Application Packages Root URL"),Zi=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t}();Zi.decorators=[{type:li}],Zi.ctorParameters=function(){return[]};var Ki=function(){function t(t,e){this.ngModuleFactory=t,this.componentFactories=e}return t}(),Qi=function(){function t(){}return t.prototype.compileModuleSync=function(t){throw J()},t.prototype.compileModuleAsync=function(t){throw J()},t.prototype.compileModuleAndAllComponentsSync=function(t){throw J()},t.prototype.compileModuleAndAllComponentsAsync=function(t){throw J()},t.prototype.getNgContentSelectors=function(t){throw J()},t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t}();Qi.decorators=[{type:li}],Qi.ctorParameters=function(){return[]};var Ji=new Io("compilerOptions"),Yi=function(){function t(){}return t.prototype.createCompiler=function(t){},t}(),$i=function(){function t(){}return t.prototype.location=function(){},t.prototype.injector=function(){},t.prototype.instance=function(){},t.prototype.hostView=function(){},t.prototype.changeDetectorRef=function(){},t.prototype.componentType=function(){},t.prototype.destroy=function(){},t.prototype.onDestroy=function(t){},t}(),Xi=function(){function t(){}return t.prototype.selector=function(){},t.prototype.componentType=function(){},t.prototype.ngContentSelectors=function(){},t.prototype.inputs=function(){},t.prototype.outputs=function(){},t.prototype.create=function(t,e,n,r){},t}(),ta="ngComponent",ea=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw Y(t)},t}(),na=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){},t}();na.NULL=new ea;var ra,oa,ia=function(){function t(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(var r=0;r<t.length;r++){var o=t[r];this._factories.set(o.componentType,o)}}return t.prototype.resolveComponentFactory=function(t){var e=this._factories.get(t);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(t)),!e)throw Y(t);return new aa(e,this._ngModule)},t}(),aa=function(t){function e(e,n){var r=t.call(this)||this;return r.factory=e,r.ngModule=n,r}return So.a(e,t),Object.defineProperty(e.prototype,"selector",{get:function(){return this.factory.selector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this.factory.componentType},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngContentSelectors",{get:function(){return this.factory.ngContentSelectors},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputs",{get:function(){return this.factory.inputs},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return this.factory.outputs},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){return this.factory.create(t,e,n,r||this.ngModule)},e}(Xi),ua=function(){function t(){}return t.prototype.injector=function(){},t.prototype.componentFactoryResolver=function(){},t.prototype.instance=function(){},t.prototype.destroy=function(){},t.prototype.onDestroy=function(t){},t}(),sa=function(){function t(){}return t.prototype.moduleType=function(){},t.prototype.create=function(t){},t}(),ca=$(),la=ca?X:function(t,e){return rt},pa=ca?tt:function(t,e){return e},fa=ca?et:function(t,e){return null},ha=ca?nt:function(t){return null},da=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n.__isAsync=e,n}return So.a(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var o,i=function(t){return null},a=function(){return null};return e&&"object"==typeof e?(o=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(i=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(a=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(o=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(i=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),r&&(a=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()})),t.prototype.subscribe.call(this,o,i,a)},e}(To.Subject),ya=function(){function t(t){var e=t.enableLongStackTrace,n=void 0!==e&&e;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new da(!1),this.onMicrotaskEmpty=new da(!1),this.onStable=new da(!1),this.onError=new da(!1),"undefined"==typeof Zone)throw new Error("Angular requires Zone.js prolyfill.");Zone.assertZonePatched();var r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.wtfZoneSpec&&(r._inner=r._inner.fork(Zone.wtfZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),it(r)}return t.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},t.assertInAngularZone=function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},t.assertNotInAngularZone=function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},t.prototype.run=function(t){return this._inner.run(t)},t.prototype.runGuarded=function(t){return this._inner.runGuarded(t)},t.prototype.runOutsideAngular=function(t){return this._outer.run(t)},t}(),ga=function(){function t(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents()}return t.prototype._watchAngularEvents=function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.subscribe({next:function(){ya.assertNotInAngularZone(),o(function(){t._isZoneStable=!0,t._runCallbacksIfReady()})}})})},t.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},t.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},t.prototype.isStable=function(){return this._isZoneStable&&0==this._pendingCount&&!this._ngZone.hasPendingMacrotasks},t.prototype._runCallbacksIfReady=function(){var t=this;this.isStable()?o(function(){for(;0!==t._callbacks.length;)t._callbacks.pop()(t._didWork);t._didWork=!1}):this._didWork=!0},t.prototype.whenStable=function(t){this._callbacks.push(t),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findBindings=function(t,e,n){return[]},t.prototype.findProviders=function(t,e,n){return[]},t}();ga.decorators=[{type:li}],ga.ctorParameters=function(){return[{type:ya}]};var va=function(){function t(){this._applications=new Map,_a.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),_a.findTestabilityInTree(this,t,e)},t}();va.decorators=[{type:li}],va.ctorParameters=function(){return[]};var ma,ba=function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}(),_a=new ba,wa=!0,Ca=!1,Oa=new Io("AllowMultipleToken"),Ea=function(){function t(t,e){this.name=t,this.token=e}return t}(),Sa=function(){function t(){}return t.prototype.bootstrapModuleFactory=function(t){},t.prototype.bootstrapModule=function(t,e){},t.prototype.onDestroy=function(t){},t.prototype.injector=function(){},t.prototype.destroy=function(){},t.prototype.destroyed=function(){},t}(),Pa=function(t){function e(e){var n=t.call(this)||this;return n._injector=e,n._modules=[],n._destroyListeners=[],n._destroyed=!1,n}return So.a(e,t),e.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},e.prototype.bootstrapModuleFactory=function(t){return this._bootstrapModuleFactoryWithZone(t)},e.prototype._bootstrapModuleFactoryWithZone=function(t,e){var n=this;return e||(e=new ya({enableLongStackTrace:lt()})),e.run(function(){var r=Vi.resolveAndCreate([{provide:ya,useValue:e}],n.injector),o=t.create(r),i=o.injector.get(Ci,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.onDestroy(function(){return vt(n._modules,o)}),e.runOutsideAngular(function(){return e.onError.subscribe({next:function(t){i.handleError(t)}})}),gt(i,e,function(){var t=o.injector.get(Ui);return t.runInitializers(),t.donePromise.then(function(){return n._moduleDoBootstrap(o),o})})})},e.prototype.bootstrapModule=function(t,e){return void 0===e&&(e=[]),this._bootstrapModuleWithZone(t,e)},e.prototype._bootstrapModuleWithZone=function(t,e,n){var r=this;return void 0===e&&(e=[]),this.injector.get(Yi).createCompiler(Array.isArray(e)?e:[e]).compileModuleAsync(t).then(function(t){return r._bootstrapModuleFactoryWithZone(t,n)})},e.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(xa);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+a(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},e}(Sa);Pa.decorators=[{type:li}],Pa.ctorParameters=function(){return[{type:vi}]};var xa=function(){function t(){}return t.prototype.bootstrap=function(t,e){},t.prototype.tick=function(){},t.prototype.componentTypes=function(){},t.prototype.components=function(){},t.prototype.attachView=function(t){},t.prototype.detachView=function(t){},t.prototype.viewCount=function(){},t.prototype.isStable=function(){},t}(),Aa=function(t){function e(e,r,i,a,u,s){var c=t.call(this)||this;c._zone=e,c._console=r,c._injector=i,c._exceptionHandler=a,c._componentFactoryResolver=u,c._initStatus=s,c._bootstrapListeners=[],c._rootComponents=[],c._rootComponentTypes=[],c._views=[],c._runningTick=!1,c._enforceNoNewChanges=!1,c._stable=!0,c._enforceNoNewChanges=lt(),c._zone.onMicrotaskEmpty.subscribe({next:function(){c._zone.run(function(){c.tick()})}});var l=new Po.Observable(function(t){c._stable=c._zone.isStable&&!c._zone.hasPendingMacrotasks&&!c._zone.hasPendingMicrotasks,c._zone.runOutsideAngular(function(){t.next(c._stable),t.complete()})}),p=new Po.Observable(function(t){var e;c._zone.runOutsideAngular(function(){e=c._zone.onStable.subscribe(function(){ya.assertNotInAngularZone(),o(function(){c._stable||c._zone.hasPendingMacrotasks||c._zone.hasPendingMicrotasks||(c._stable=!0,t.next(!0))})})});var n=c._zone.onUnstable.subscribe(function(){ya.assertInAngularZone(),c._stable&&(c._stable=!1,c._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});return c._isStable=n.i(xo.merge)(l,Ao.share.call(p)),c}return So.a(e,t),e.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},e.prototype.detachView=function(t){var e=t;vt(this._views,e),e.detachFromAppRef()},e.prototype.bootstrap=function(t,e){var n=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");var r;r=t instanceof Xi?t:this._componentFactoryResolver.resolveComponentFactory(t),this._rootComponentTypes.push(r.componentType);var o=r instanceof aa?null:this._injector.get(ua),i=e||r.selector,a=r.create(vi.NULL,[],i,o);a.onDestroy(function(){n._unloadComponent(a)});var u=a.injector.get(ga,null);return u&&a.injector.get(va).registerApplication(a.location.nativeElement,u),this._loadComponent(a),lt()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),a},e.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this._rootComponents.push(t),this._injector.get(zi,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},e.prototype._unloadComponent=function(t){this.detachView(t.hostView),vt(this._rootComponents,t)},e.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(e){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,pa(n)}},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentTypes",{get:function(){return this._rootComponentTypes},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"components",{get:function(){return this._rootComponents},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isStable",{get:function(){return this._isStable},enumerable:!0,configurable:!0}),e}(xa);Aa._tickScope=la("ApplicationRef#tick()"),Aa.decorators=[{type:li}],Aa.ctorParameters=function(){return[{type:ya},{type:Zi},{type:vi},{type:Ci},{type:na},{type:Ui}]};var Ta=function(){function t(t,e,n,r,o,i){this.id=t,this.templateUrl=e,this.slotCount=n,this.encapsulation=r,this.styles=o,this.animations=i}return t}(),Ra=function(){function t(){}return t.prototype.injector=function(){},t.prototype.component=function(){},t.prototype.providerTokens=function(){},t.prototype.references=function(){},t.prototype.context=function(){},t.prototype.source=function(){},t}(),Ia=function(){function t(){}return t.prototype.selectRootElement=function(t,e){},t.prototype.createElement=function(t,e,n){},t.prototype.createViewRoot=function(t){},t.prototype.createTemplateAnchor=function(t,e){},t.prototype.createText=function(t,e,n){},t.prototype.projectNodes=function(t,e){},t.prototype.attachViewAfter=function(t,e){},t.prototype.detachView=function(t){},t.prototype.destroyView=function(t,e){},t.prototype.listen=function(t,e,n){},t.prototype.listenGlobal=function(t,e,n){},t.prototype.setElementProperty=function(t,e,n){},t.prototype.setElementAttribute=function(t,e,n){},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){},t.prototype.setElementStyle=function(t,e,n){},t.prototype.invokeElementMethod=function(t,e,n){},t.prototype.setText=function(t,e){},t.prototype.animate=function(t,e,n,r,o,i,a){},t}(),ka=(new Io("Renderer2Interceptor"),function(){function t(){}return t.prototype.renderComponent=function(t){},t}()),ja=function(){function t(){}return t.prototype.createRenderer=function(t,e){},t.prototype.begin=function(){},t.prototype.end=function(){},t.prototype.whenRenderingDone=function(){},t}(),Na={};Na.Important=1,Na.DashCase=2,Na[Na.Important]="Important",Na[Na.DashCase]="DashCase";var Ma=function(){function t(){}return t.prototype.data=function(){},t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){},t.prototype.createComment=function(t){},t.prototype.createText=function(t){},t.prototype.appendChild=function(t,e){},t.prototype.insertBefore=function(t,e,n){},t.prototype.removeChild=function(t,e){},t.prototype.selectRootElement=function(t){},t.prototype.parentNode=function(t){},t.prototype.nextSibling=function(t){},t.prototype.setAttribute=function(t,e,n,r){},t.prototype.removeAttribute=function(t,e,n){},t.prototype.addClass=function(t,e){},t.prototype.removeClass=function(t,e){},t.prototype.setStyle=function(t,e,n,r){},t.prototype.removeStyle=function(t,e,n){},t.prototype.setProperty=function(t,e,n){},t.prototype.setValue=function(t,e){},t.prototype.listen=function(t,e,n){},t}(),Va=function(){function t(t){this.nativeElement=t}return t}(),Da=function(){function t(){}return t.prototype.load=function(t){},t}(),Fa=new Map,La=function(){function t(){this._dirty=!0,this._results=[],this._emitter=new da}return Object.defineProperty(t.prototype,"changes",{get:function(){return this._emitter},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._results.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){return this._results[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._results[this.length-1]},enumerable:!0,configurable:!0}),t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[r()]=function(){return this._results[r()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=_t(t),this._dirty=!1},t.prototype.notifyOnChanges=function(){this._emitter.emit(this)},t.prototype.setDirty=function(){this._dirty=!0},Object.defineProperty(t.prototype,"dirty",{get:function(){return this._dirty},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._emitter.complete(),this._emitter.unsubscribe()},t}(),Ua=function(){function t(){}return t}(),Ha={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Ba=function(){function t(t,e){this._compiler=t,this._config=e||Ha}return t.prototype.load=function(t){return this._compiler instanceof Qi?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=t.split("#"),o=r[0],i=r[1];return void 0===i&&(i="default"),n("qtrl")(o).then(function(t){return t[i]}).then(function(t){return wt(t,o,i)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=t.split("#"),r=e[0],o=e[1],i="NgFactory";return void 0===o&&(o="default",i=""),n("qtrl")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[o+i]}).then(function(t){return wt(t,r,o)})},t}();Ba.decorators=[{type:li}],Ba.ctorParameters=function(){return[{type:Qi},{type:Ua,decorators:[{type:ci}]}]};var qa=function(){function t(){}return t.prototype.elementRef=function(){},t.prototype.createEmbeddedView=function(t){},t}(),Ga=function(){function t(){}return t.prototype.element=function(){},t.prototype.injector=function(){},t.prototype.parentInjector=function(){},t.prototype.clear=function(){},t.prototype.get=function(t){},t.prototype.length=function(){},t.prototype.createEmbeddedView=function(t,e,n){},t.prototype.createComponent=function(t,e,n,r,o){},t.prototype.insert=function(t,e){},t.prototype.move=function(t,e){},t.prototype.indexOf=function(t){},t.prototype.remove=function(t){},t.prototype.detach=function(t){},t}(),za=function(){function t(){}return t.prototype.markForCheck=function(){},t.prototype.detach=function(){},t.prototype.detectChanges=function(){},t.prototype.checkNoChanges=function(){},t.prototype.reattach=function(){},t}(),Wa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return So.a(e,t),e.prototype.destroy=function(){},e.prototype.destroyed=function(){},e.prototype.onDestroy=function(t){},e}(za),Za=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return So.a(e,t),e.prototype.context=function(){},e.prototype.rootNodes=function(){},e}(Wa),Ka=function(){function t(t,e){this.name=t,this.callback=e}return t}(),Qa=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof Ja?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"source",{get:function(){return"Deprecated since v4"},enumerable:!0,configurable:!0}),t}(),Ja=function(t){function e(e,n,r){var o=t.call(this,e,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return So.a(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n=this,r=this.childNodes.indexOf(t);-1!==r&&((o=this.childNodes).splice.apply(o,[r+1,0].concat(e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=n}));var o},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return Ot(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return Et(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(Qa),Ya=new Map,$a=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),Xa=function(){function t(){this.hasWrappedValue=!1}return t.prototype.unwrap=function(t){return t instanceof $a?(this.hasWrappedValue=!0,t.wrapped):t},t.prototype.reset=function(){this.hasWrappedValue=!1},t}(),tu=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}(),eu=function(){function t(){}return t.prototype.supports=function(t){return Tt(t)},t.prototype.create=function(t,e){return new ru(e||t)},t}(),nu=function(t,e){return e},ru=function(){function t(t){this._length=0,this._collection=null,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||nu}return Object.defineProperty(t.prototype,"collection",{get:function(){return this._collection},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,o=null;e||n;){var i=!n||e&&e.currentIndex<jt(n,r,o)?e:n,a=jt(i,r,o),u=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(e=e._next,null==i.previousIndex)r++;else{o||(o=[]);var s=a-r,c=u-r;if(s!=c){for(var l=0;l<s;l++){var p=l<o.length?o[l]:o[l]=0,f=p+l;c<=f&&f<s&&(o[l]=p+1)}var h=i.previousIndex;o[h]=c-s}}a!==u&&t(i,a,u)}},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachMovedItem=function(t){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.forEachIdentityChange=function(t){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)},t.prototype.diff=function(t){if(null==t&&(t=[]),!Tt(t))throw new Error("Error trying to diff '"+a(t)+"'. Only arrays and iterables are allowed");return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n,r,o,a=this._itHead,u=!1;if(Array.isArray(t)){this._length=t.length;for(var s=0;s<this._length;s++)r=t[s],o=this._trackByFn(s,r),null!==a&&i(a.trackById,o)?(u&&(a=this._verifyReinsertion(a,r,o,s)),i(a.item,r)||this._addIdentityChange(a,r)):(a=this._mismatch(a,r,o,s),u=!0),a=a._next}else n=0,It(t,function(t){o=e._trackByFn(n,t),null!==a&&i(a.trackById,o)?(u&&(a=e._verifyReinsertion(a,t,o,n)),i(a.item,t)||e._addIdentityChange(a,t)):(a=e._mismatch(a,t,o,n),u=!0),a=a._next,n++}),this._length=n;return this._truncate(a),this._collection=t,this.isDirty},Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),t.prototype._reset=function(){if(this.isDirty){var t=void 0,e=void 0;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},t.prototype._mismatch=function(t,e,n,r){var o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),t=null===this._linkedRecords?null:this._linkedRecords.get(n,r),null!==t?(i(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null),null!==t?(i(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):t=this._addAfter(new ou(e,n),o,r)),t},t.prototype._verifyReinsertion=function(t,e,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t},t.prototype._truncate=function(t){for(;null!==t;){var e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},t.prototype._reinsertAfter=function(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._moveAfter=function(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._addAfter=function(t,e,n){return this._insertAfter(t,e,n),null===this._additionsTail?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t},t.prototype._insertAfter=function(t,e,n){var r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new au),this._linkedRecords.put(t),t.currentIndex=n,t},t.prototype._remove=function(t){return this._addToRemovals(this._unlink(t))},t.prototype._unlink=function(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);var e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t},t.prototype._addToMoves=function(t,e){return t.previousIndex===e?t:(null===this._movesTail?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t,t)},t.prototype._addToRemovals=function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new au),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t},t.prototype._addIdentityChange=function(t,e){return t.item=e,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t},t.prototype.toString=function(){var t=[];this.forEachItem(function(e){return t.push(e)});var e=[];this.forEachPreviousItem(function(t){return e.push(t)});var n=[];this.forEachAddedItem(function(t){return n.push(t)});var r=[];this.forEachMovedItem(function(t){return r.push(t)});var o=[];this.forEachRemovedItem(function(t){return o.push(t)});var i=[];return this.forEachIdentityChange(function(t){return i.push(t)}),"collection: "+t.join(", ")+"\nprevious: "+e.join(", ")+"\nadditions: "+n.join(", ")+"\nmoves: "+r.join(", ")+"\nremovals: "+o.join(", ")+"\nidentityChanges: "+i.join(", ")+"\n"},t}(),ou=function(){function t(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}return t.prototype.toString=function(){return this.previousIndex===this.currentIndex?a(this.item):a(this.item)+"["+a(this.previousIndex)+"->"+a(this.currentIndex)+"]"},t}(),iu=function(){function t(){this._head=null,this._tail=null}return t.prototype.add=function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)},t.prototype.get=function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&i(n.trackById,t))return n;return null},t.prototype.remove=function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head},t}(),au=function(){function t(){this.map=new Map}return t.prototype.put=function(t){var e=t.trackById,n=this.map.get(e);n||(n=new iu,this.map.set(e,n)),n.add(t)},t.prototype.get=function(t,e){var n=t,r=this.map.get(n);return r?r.get(t,e):null},t.prototype.remove=function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this.map.clear()},t.prototype.toString=function(){return"_DuplicateMap("+a(this.map)+")"},t}(),uu=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||kt(t)},t.prototype.create=function(t){return new su},t}(),su=function(){function t(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachChangedItem=function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.diff=function(t){if(t){if(!(t instanceof Map||kt(t)))throw new Error("Error trying to diff '"+a(t)+"'. Only maps and objects are allowed")}else t=new Map;return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,function(t,r){if(n&&n.key===r)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var o=e._getOrCreateRecordForKey(r,t);n=e._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},t.prototype._insertBeforeOrAppend=function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null},t.prototype._getOrCreateRecordForKey=function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new cu(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i},t.prototype._reset=function(){if(this.isDirty){var t=void 0;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},t.prototype._maybeAddToChanges=function(t,e){i(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))},t.prototype._addToAdditions=function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)},t.prototype._addToChanges=function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)},t.prototype._forEach=function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(function(n){return e(t[n],n)})},t}(),cu=function(){function t(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}return t}(),lu=function(){function t(t){this.factories=t}return t.create=function(e,n){if(null!=n){var r=n.factories.slice();return e=e.concat(r),new t(e)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new fi,new ci]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(null!=e)return e;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+Nt(t)+"'")},t}(),pu=function(){function t(t){this.factories=t}return t.create=function(e,n){if(n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new fi,new ci]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(e)return e;throw new Error("Cannot find a differ supporting object '"+t+"'")},t}(),fu=[new uu],hu=[new eu],du=new lu(hu),yu=new pu(fu),gu=[{provide:Gi,useValue:"unknown"},Pa,{provide:Sa,useExisting:Pa},{provide:Ti,useFactory:Mt,deps:[]},va,Zi],vu=ft(null,"core",gu),mu=new Io("LocaleId"),bu=new Io("Translations"),_u=new Io("TranslationsFormat"),wu={};wu.Error=0,wu.Warning=1,wu.Ignore=2,wu[wu.Error]="Error",wu[wu.Warning]="Warning",wu[wu.Ignore]="Ignore";var Cu=function(){function t(t){}return t}();Cu.decorators=[{type:ri,args:[{providers:[Aa,{provide:xa,useExisting:Aa},Ui,Qi,Bi,{provide:lu,useFactory:Vt},{provide:pu,useFactory:Dt},{provide:mu,useFactory:Ft,deps:[[new si(mu),new ci,new fi]]}]}]}],Cu.ctorParameters=function(){return[{type:xa}]};var Ou={};Ou.NONE=0,Ou.HTML=1,Ou.STYLE=2,Ou.SCRIPT=3,Ou.URL=4,Ou.RESOURCE_URL=5,Ou[Ou.NONE]="NONE",Ou[Ou.HTML]="HTML",Ou[Ou.STYLE]="STYLE",Ou[Ou.SCRIPT]="SCRIPT",Ou[Ou.URL]="URL",Ou[Ou.RESOURCE_URL]="RESOURCE_URL";var Eu=function(){function t(){}return t.prototype.sanitize=function(t,e){},t}(),Su=function(){function t(){}return t.prototype.view=function(){},t.prototype.nodeIndex=function(){},t.prototype.injector=function(){},t.prototype.component=function(){},t.prototype.providerTokens=function(){},t.prototype.references=function(){},t.prototype.context=function(){},t.prototype.componentRenderElement=function(){},t.prototype.renderNode=function(){},t.prototype.logError=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n]},t}(),Pu={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,clearProviderOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},xu=function(){},Au=new Map,Tu="$$undefined",Ru="$$empty",Iu=0,ku=new WeakMap,ju=/^:([^:]+):(.+)$/,Nu=[],Mu={},Vu=new Object,Du=Jt(vi),Fu=Jt(ua),Lu=new Object,Uu=function(t){function e(e,n,r,o,i,a){var u=t.call(this)||this;return u.selector=e,u.componentType=n,u._inputs=o,u._outputs=i,u.ngContentSelectors=a,u.viewDefFactory=r,u}return So.a(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e){var r=e[n];t.push({propName:n,templateName:r})}return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs){var n=this._outputs[e];t.push({propName:e,templateName:n})}return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){if(!r)throw new Error("ngModule should be provided");var o=ge(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=Pu.createRootView(t,e||[],n,o,r,Lu),u=Ht(a,i).instance;return n&&a.renderer.setAttribute(Ut(a,0).renderElement,"ng-version",ui.full),new Hu(a,new qu(a),u)},e}(Xi),Hu=function(t){function e(e,n,r){var o=t.call(this)||this;return o._view=e,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o}return So.a(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new Va(Ut(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new zu(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"instance",{get:function(){return this._component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostView",{get:function(){return this._viewRef},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"changeDetectorRef",{get:function(){return this._viewRef},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}($i),Bu=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new Va(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new zu(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=ue(t),t=t.parent;return t?new zu(t,e):new zu(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length,e=t-1;e>=0;e--){var n=Ye(this._data,e);Pu.destroyView(n)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new qu(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,o){var i=n||this.parentInjector;o||t instanceof aa||(o=i.get(ua));var a=t.create(i,r,void 0,o);return this.insert(a.hostView,e),a},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=t,r=n._view;return Ke(this._view,this._data,e,r),n.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this._embeddedViews.indexOf(t._view);return Xe(this._data,n,e),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Ye(this._data,t);e&&Pu.destroyView(e)},t.prototype.detach=function(t){var e=Ye(this._data,t);return e?new qu(e):null},t}(),qu=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return ve(this._view)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){re(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin(),Pu.checkAndUpdateView(this._view),t.end&&t.end()},t.prototype.checkNoChanges=function(){Pu.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Pu.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,en(this._view),Pu.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}(),Gu=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return So.a(e,t),e.prototype.createEmbeddedView=function(t){return new qu(Pu.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new Va(Ut(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(qa),zu=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){void 0===e&&(e=vi.THROW_IF_NOT_FOUND);var n=!!this.elDef&&0!=(33554432&this.elDef.flags);return Pu.resolveDep(this.view,this.elDef,n,{flags:0,token:t,tokenKey:Jt(t)},e)},t}(),Wu=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=Oe(e),r=n[0],o=n[1],i=this.delegate.createElement(o,r);return t&&this.delegate.appendChild(t,i),i},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n<e.length;n++)this.delegate.appendChild(t,e[n])},t.prototype.attachViewAfter=function(t,e){for(var n=this.delegate.parentNode(t),r=this.delegate.nextSibling(t),o=0;o<e.length;o++)this.delegate.insertBefore(n,e[o],r)},t.prototype.detachView=function(t){for(var e=0;e<t.length;e++){var n=t[e],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},t.prototype.destroyView=function(t,e){for(var n=0;n<e.length;n++)this.delegate.destroyNode(e[n])},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.listenGlobal=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.setElementProperty=function(t,e,n){this.delegate.setProperty(t,e,n)},t.prototype.setElementAttribute=function(t,e,n){var r=Oe(e),o=r[0],i=r[1];null!=n?this.delegate.setAttribute(t,i,n,o):this.delegate.removeAttribute(t,i,o)},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){n?this.delegate.addClass(t,e):this.delegate.removeClass(t,e)},t.prototype.setElementStyle=function(t,e,n){null!=n?this.delegate.setStyle(t,e,n):this.delegate.removeStyle(t,e)},t.prototype.invokeElementMethod=function(t,e,n){t[e].apply(t,n)},t.prototype.setText=function(t,e){this.delegate.setValue(t,e)},t.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},t}(),Zu=function(){function t(t,e,n,r){this._moduleType=t,this._parent=e,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,Be(this)}return t.prototype.get=function(t,e){return void 0===e&&(e=vi.THROW_IF_NOT_FOUND),qe(this,{token:t,tokenKey:Jt(t),flags:0},e)},Object.defineProperty(t.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this.get(na)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return this},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+a(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,Ze(this,131072),this._destroyListeners.forEach(function(t){return t()})},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},t}(),Ku=Jt(Ia),Qu=Jt(Ma),Ju=Jt(Va),Yu=Jt(Ga),$u=Jt(qa),Xu=Jt(za),ts=Jt(vi),es={},ns={};ns.CreateViewNodes=0,ns.CheckNoChanges=1,ns.CheckNoChangesProjectedViews=2,ns.CheckAndUpdate=3,ns.CheckAndUpdateProjectedViews=4,ns.Destroy=5,ns[ns.CreateViewNodes]="CreateViewNodes",ns[ns.CheckNoChanges]="CheckNoChanges",ns[ns.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",ns[ns.CheckAndUpdate]="CheckAndUpdate",ns[ns.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",ns[ns.Destroy]="Destroy";var rs=!1,os=new Map,is={};is.create=0,is.detectChanges=1,is.checkNoChanges=2,is.destroy=3,is.handleEvent=4,is[is.create]="create",is[is.detectChanges]="detectChanges",is[is.checkNoChanges]="checkNoChanges",is[is.destroy]="destroy",is[is.handleEvent]="handleEvent";var as,us,ss,cs=/([A-Z])/g,ls=function(){function t(t,e){this.view=t,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=t.def.nodes[e];for(var n=this.nodeDef,r=t;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=ue(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(t.prototype,"elOrCompView",{get:function(){return Ut(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return ln(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){var t=[];if(this.elDef)for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&t.push(n.provider.token),e+=n.childCount}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){var t={};if(this.elDef){no(this.elView,this.elDef,t);for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&no(this.elView,n,t),e+=n.childCount}}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentRenderElement",{get:function(){var t=eo(this.elOrCompView);return t?t.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?se(this.view,this.nodeDef):se(this.elView,this.elDef)},enumerable:!0,configurable:!0}),t.prototype.logError=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r,o;2&this.nodeDef.flags?(r=this.view.def,o=this.nodeDef.nodeIndex):(r=this.elView.def,o=this.elDef.nodeIndex);var i=to(r,o),a=-1,u=function(){return a++,a===i?(n=t.error).bind.apply(n,[t].concat(e)):xu;var n};r.factory(u),a<i&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error.apply(t,e))},t}(),ps=function(){function t(t){this.delegate=t}return t.prototype.createRenderer=function(t,e){return new fs(this.delegate.createRenderer(t,e))},t.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},t.prototype.end=function(){this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},t}(),fs=function(){function t(t){this.delegate=t}return Object.defineProperty(t.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),t.prototype.destroyNode=function(t){xt(St(t)),this.delegate.destroyNode&&this.delegate.destroyNode(t)},t.prototype.destroy=function(){this.delegate.destroy()},t.prototype.createElement=function(t,e){var n=this.delegate.createElement(t,e),r=oo();if(r){var o=new Ja(n,null,r);o.name=t,Pt(o)}return n},t.prototype.createComment=function(t){var e=this.delegate.createComment(t),n=oo();return n&&Pt(new Qa(e,null,n)),e},t.prototype.createText=function(t){var e=this.delegate.createText(t),n=oo();return n&&Pt(new Qa(e,null,n)),e},t.prototype.appendChild=function(t,e){var n=St(t),r=St(e);n&&r&&n instanceof Ja&&n.addChild(r),this.delegate.appendChild(t,e)},t.prototype.insertBefore=function(t,e,n){var r=St(t),o=St(e),i=St(n);r&&o&&r instanceof Ja&&r.insertBefore(i,o),this.delegate.insertBefore(t,e,n)},t.prototype.removeChild=function(t,e){var n=St(t),r=St(e);n&&r&&n instanceof Ja&&n.removeChild(r),this.delegate.removeChild(t,e)},t.prototype.selectRootElement=function(t){var e=this.delegate.selectRootElement(t),n=oo();return n&&Pt(new Ja(e,null,n)),e},t.prototype.setAttribute=function(t,e,n,r){var o=St(t);if(o&&o instanceof Ja){var i=r?r+":"+e:e;o.attributes[i]=n}this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){var r=St(t);if(r&&r instanceof Ja){var o=n?n+":"+e:e;r.attributes[o]=null}this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){var n=St(t);n&&n instanceof Ja&&(n.classes[e]=!0),this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){var n=St(t);n&&n instanceof Ja&&(n.classes[e]=!1),this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){var o=St(t);o&&o instanceof Ja&&(o.styles[e]=n),this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){var r=St(t);r&&r instanceof Ja&&(r.styles[e]=null),this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){var r=St(t);r&&r instanceof Ja&&(r.properties[e]=n),this.delegate.setProperty(t,e,n)},t.prototype.listen=function(t,e,n){if("string"!=typeof t){var r=St(t);r&&r.listeners.push(new Ka(e,n))}return this.delegate.listen(t,e,n)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setValue=function(t,e){return this.delegate.setValue(t,e)},t}(),hs=function(t){function e(e,n,r){var o=t.call(this)||this;return o.moduleType=e,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return So.a(e,t),e.prototype.create=function(t){Sr();var e=ge(this._ngModuleDefFactory);return Pu.createNgModuleRef(this.moduleType,t||vi.NULL,this._bootstrapComponents,e)},e}(sa),ds="*"}).call(e,n("fRUx"))},"1eQ7":function(t,e,n){"use strict";function r(t,e,n){return o.first(t,e,n)(this)}var o=n("+BWq");e.first=r},"2B7B":function(t,e,n){"use strict";function r(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var n=t.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var r=t.Map;if(r)for(var o=Object.getOwnPropertyNames(r.prototype),i=0;i<o.length;++i){var a=o[i];if("entries"!==a&&"size"!==a&&r.prototype[a]===r.prototype.entries)return a}return"@@iterator"}var o=n("zijX");e.symbolIteratorPonyfill=r,e.iterator=r(o.root),e.$$iterator=e.iterator},"3lsR":function(t,e,n){"use strict";var r=n("bKpL"),o=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return r.Observable.of(this.value);case"E":return r.Observable.throw(this.error);case"C":return r.Observable.empty()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}();e.Notification=o},"422b":function(t,e,n){"use strict";function r(t,e){return o.filter(t,e)(this)}var o=n("Hd11");e.filter=r},"6Xbx":function(t,e,n){"use strict";function r(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}e.a=r;var o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};Object.assign},"7JOC":function(t,e,n){"use strict";var r=n("OWbQ");e.from=r.FromObservable.create},"8rcZ":function(t,e,n){"use strict";function r(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),o.mergeMap(i.identity,null,t)}var o=n("mjx3"),i=n("Yuqz");e.mergeAll=r},BkNc:function(t,e,n){"use strict";function r(t){return new Be(t)}function o(t){var e=Error("NavigationCancelingError: "+t);return e[qe]=!0,e}function i(t){return t[qe]}function a(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;for(var o={},i=0;i<r.length;i++){var a=r[i],u=t[i];if(a.startsWith(":"))o[a.substring(1)]=u;else if(a!==u.path)return null}return{consumed:t.slice(0,r.length),posParams:o}}function u(t,e){void 0===e&&(e="");for(var n=0;n<t.length;n++){var r=t[n];s(r,c(e,r))}}function s(t,e){if(!t)throw new Error("\n Invalid configuration of route '"+e+"': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n ");if(Array.isArray(t))throw new Error("Invalid configuration of route '"+e+"': Array cannot be specified");if(!t.component&&t.outlet&&t.outlet!==He)throw new Error("Invalid configuration of route '"+e+"': a componentless route cannot have a named outlet set");if(t.redirectTo&&t.children)throw new Error("Invalid configuration of route '"+e+"': redirectTo and children cannot be used together");if(t.redirectTo&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': redirectTo and loadChildren cannot be used together");if(t.children&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': children and loadChildren cannot be used together");if(t.redirectTo&&t.component)throw new Error("Invalid configuration of route '"+e+"': redirectTo and component cannot be used together");if(t.path&&t.matcher)throw new Error("Invalid configuration of route '"+e+"': path and matcher cannot be used together");if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error("Invalid configuration of route '"+e+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===t.path&&void 0===t.matcher)throw new Error("Invalid configuration of route '"+e+"': routes must have either a path or a matcher specified");if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error("Invalid configuration of route '"+e+"': path cannot start with a slash");if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch){throw new Error("Invalid configuration of route '{path: \""+e+'", redirectTo: "'+t.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.")}if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error("Invalid configuration of route '"+e+"': pathMatch can only be set to 'prefix' or 'full'");t.children&&u(t.children,e)}function c(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:t+"/"+e.path:"":t}function l(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(!p(t[n],e[n]))return!1;return!0}function p(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var o,i=0;i<n.length;i++)if(o=n[i],t[o]!==e[o])return!1;return!0}function f(t){return Array.prototype.concat.apply([],t)}function h(t){return t.length>0?t[t.length-1]:null}function d(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function y(t,e){if(0===Object.keys(t).length)return n.i(de.of)({});var r=[],o=[],i={};d(t,function(t,n){var a=be.map.call(e(n,t),function(t){return i[n]=t});n===He?r.push(a):o.push(a)});var a=Ee.concatAll.call(de.of.apply(void 0,r.concat(o))),u=me.last.call(a);return be.map.call(u,function(){return i})}function g(t){var e=xe.mergeAll.call(t);return ge.every.call(e,function(t){return!0===t})}function v(t){return n.i(le["ɵisObservable"])(t)?t:n.i(le["ɵisPromise"])(t)?n.i(Pe.fromPromise)(Promise.resolve(t)):n.i(de.of)(t)}function m(){return new ze(new We([],{}),{},null)}function b(t,e,n){return n?_(t.queryParams,e.queryParams)&&w(t.root,e.root):C(t.queryParams,e.queryParams)&&O(t.root,e.root)}function _(t,e){return p(t,e)}function w(t,e){if(!P(t.segments,e.segments))return!1;if(t.numberOfChildren!==e.numberOfChildren)return!1;for(var n in e.children){if(!t.children[n])return!1;if(!w(t.children[n],e.children[n]))return!1}return!0}function C(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return e[n]===t[n]})}function O(t,e){return E(t,e,e.segments)}function E(t,e,n){if(t.segments.length>n.length){var r=t.segments.slice(0,n.length);return!!P(r,n)&&!e.hasChildren()}if(t.segments.length===n.length){if(!P(t.segments,n))return!1;for(var o in e.children){if(!t.children[o])return!1;if(!O(t.children[o],e.children[o]))return!1}return!0}var r=n.slice(0,t.segments.length),i=n.slice(t.segments.length);return!!P(t.segments,r)&&(!!t.children[He]&&E(t.children[He],e,i))}function S(t,e){return P(t,e)&&t.every(function(t,n){return p(t.parameters,e[n].parameters)})}function P(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function x(t,e){var n=[];return d(t.children,function(t,r){r===He&&(n=n.concat(e(t,r)))}),d(t.children,function(t,r){r!==He&&(n=n.concat(e(t,r)))}),n}function A(t){return t.segments.map(function(t){return k(t)}).join("/")}function T(t,e){if(!t.hasChildren())return A(t);if(e){var n=t.children[He]?T(t.children[He],!1):"",r=[];return d(t.children,function(t,e){e!==He&&r.push(e+":"+T(t,!1))}),r.length>0?n+"("+r.join("//")+")":n}var o=x(t,function(e,n){return n===He?[T(t.children[He],!1)]:[n+":"+T(e,!1)]});return A(t)+"/("+o.join("//")+")"}function R(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";")}function I(t){return decodeURIComponent(t)}function k(t){return""+R(t.path)+j(t.parameters)}function j(t){return Object.keys(t).map(function(e){return";"+R(e)+"="+R(t[e])}).join("")}function N(t){var e=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return R(e)+"="+R(t)}).join("&"):R(e)+"="+R(n)});return e.length?"?"+e.join("&"):""}function M(t){var e=t.match(Ye);return e?e[0]:""}function V(t){var e=t.match($e);return e?e[0]:""}function D(t){var e=t.match(Xe);return e?e[0]:""}function F(t){return new Ce.Observable(function(e){return e.error(new en(t))})}function L(t){return new Ce.Observable(function(e){return e.error(new nn(t))})}function U(t){return new Ce.Observable(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}function H(t){return new Ce.Observable(function(e){return e.error(o("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))})}function B(t,e,n,r,o){return new rn(t,e,n,r,o).apply()}function q(t,e){var r=e.canLoad;return r&&0!==r.length?g(be.map.call(n.i(he.from)(r),function(n){var r=t.get(n);return v(r.canLoad?r.canLoad(e):r(e))})):n.i(de.of)(!0)}function G(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=e.matcher||a,o=r(n,t,e);return o?{matched:!0,consumedSegments:o.consumed,lastChild:o.consumed.length,positionalParamSegments:o.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function z(t,e,n,r){if(n.length>0&&Q(t,n,r)){var o=new We(e,K(r,new We(n,t.children)));return{segmentGroup:W(o),slicedSegments:[]}}if(0===n.length&&J(t,n,r)){var o=new We(t.segments,Z(t,n,r,t.children));return{segmentGroup:W(o),slicedSegments:n}}return{segmentGroup:t,slicedSegments:n}}function W(t){if(1===t.numberOfChildren&&t.children[He]){var e=t.children[He];return new We(t.segments.concat(e.segments),e.children)}return t}function Z(t,e,n,r){for(var o={},i=0,a=n;i<a.length;i++){var u=a[i];Y(t,e,u)&&!r[$(u)]&&(o[$(u)]=new We([],{}))}return Object.assign({},r,o)}function K(t,e){var n={};n[He]=e;for(var r=0,o=t;r<o.length;r++){var i=o[r];""===i.path&&$(i)!==He&&(n[$(i)]=new We([],{}))}return n}function Q(t,e,n){return n.some(function(n){return Y(t,e,n)&&$(n)!==He})}function J(t,e,n){return n.some(function(n){return Y(t,e,n)})}function Y(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&(""===n.path&&void 0!==n.redirectTo)}function $(t){return t.outlet||He}function X(t,e){if(t===e.value)return e;for(var n=0,r=e.children;n<r.length;n++){var o=r[n],i=X(t,o);if(i)return i}return null}function tt(t,e){if(t===e.value)return[e];for(var n=0,r=e.children;n<r.length;n++){var o=r[n],i=tt(t,o);if(i.length)return i.unshift(e),i}return[]}function et(t,e){var n=nt(t,e),r=new pe.BehaviorSubject([new Ze("",{})]),o=new pe.BehaviorSubject({}),i=new pe.BehaviorSubject({}),a=new pe.BehaviorSubject({}),u=new pe.BehaviorSubject(""),s=new sn(r,o,a,u,i,He,e,n.root);return s.snapshot=n.root,new un(new an(s,[]),n)}function nt(t,e){var n={},r={},o={},i=new cn([],n,o,"",r,He,e,null,t.root,-1,{});return new ln("",new an(i,[]))}function rt(t){for(var e=t.pathFromRoot,n=e.length-1;n>=1;){var r=e[n],o=e[n-1];if(r.routeConfig&&""===r.routeConfig.path)n--;else{if(o.component)break;n--}}return e.slice(n).reduce(function(t,e){return{params:Object.assign({},t.params,e.params),data:Object.assign({},t.data,e.data),resolve:Object.assign({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}function ot(t,e){e.value._routerState=t,e.children.forEach(function(e){return ot(t,e)})}function it(t){var e=t.children.length>0?" { "+t.children.map(it).join(", ")+" } ":"";return""+t.value+e}function at(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,p(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),p(e.params,n.params)||t.params.next(n.params),l(e.url,n.url)||t.url.next(n.url),p(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function ut(t,e){var n=p(t.params,e.params)&&S(t.url,e.url),r=!t.parent!=!e.parent;return n&&!r&&(!t.parent||ut(t.parent,e.parent))}function st(t,e,n){var r=ct(t,e._root,n?n._root:void 0);return new un(r,e)}function ct(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){var r=n.value;r._futureSnapshot=e.value;var o=pt(t,e,n);return new an(r,o)}if(t.retrieve(e.value)){var i=t.retrieve(e.value).route;return lt(e,i),i}var r=ft(e.value),o=e.children.map(function(e){return ct(t,e)});return new an(r,o)}function lt(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(var n=0;n<t.children.length;++n)lt(t.children[n],e.children[n])}function pt(t,e,n){return e.children.map(function(e){for(var r=0,o=n.children;r<o.length;r++){var i=o[r];if(t.shouldReuseRoute(i.value.snapshot,e.value))return ct(t,e,i)}return ct(t,e)})}function ft(t){return new sn(new pe.BehaviorSubject(t.url),new pe.BehaviorSubject(t.params),new pe.BehaviorSubject(t.queryParams),new pe.BehaviorSubject(t.fragment),new pe.BehaviorSubject(t.data),t.outlet,t.component,t)}function ht(t,e,n,r,o){if(0===n.length)return yt(e.root,e.root,e,r,o);var i=vt(n);if(i.toRoot())return yt(e.root,new We([],{}),e,r,o);var a=mt(i,e,t),u=a.processChildren?Ot(a.segmentGroup,a.index,i.commands):Ct(a.segmentGroup,a.index,i.commands);return yt(a.segmentGroup,u,e,r,o)}function dt(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function yt(t,e,n,r,o){var i={};return r&&d(r,function(t,e){i[e]=Array.isArray(t)?t.map(function(t){return""+t}):""+t}),n.root===t?new ze(e,i,o):new ze(gt(n.root,t,e),i,o)}function gt(t,e,n){var r={};return d(t.children,function(t,o){r[o]=t===e?n:gt(t,e,n)}),new We(t.segments,r)}function vt(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new pn(!0,0,t);var e=0,n=!1,r=t.reduce(function(t,r,o){if("object"==typeof r&&null!=r){if(r.outlets){var i={};return d(r.outlets,function(t,e){i[e]="string"==typeof t?t.split("/"):t}),t.concat([{outlets:i}])}if(r.segmentPath)return t.concat([r.segmentPath])}return"string"!=typeof r?t.concat([r]):0===o?(r.split("/").forEach(function(r,o){0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):t.concat([r])},[]);return new pn(n,e,r)}function mt(t,e,n){if(t.isAbsolute)return new fn(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new fn(n.snapshot._urlSegment,!0,0);var r=dt(t.commands[0])?0:1,o=n.snapshot._lastPathIndex+r;return bt(n.snapshot._urlSegment,o,t.numberOfDoubleDots)}function bt(t,e,n){for(var r=t,o=e,i=n;i>o;){if(i-=o,!(r=r.parent))throw new Error("Invalid number of '../'");o=r.segments.length}return new fn(r,!1,o-i)}function _t(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[He]:""+t}function wt(t){return"object"!=typeof t[0]?(e={},e[He]=t,e):void 0===t[0].outlets?(n={},n[He]=t,n):t[0].outlets;var e,n}function Ct(t,e,n){if(t||(t=new We([],{})),0===t.segments.length&&t.hasChildren())return Ot(t,e,n);var r=Et(t,e,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){var i=new We(t.segments.slice(0,r.pathIndex),{});return i.children[He]=new We(t.segments.slice(r.pathIndex),t.children),Ot(i,0,o)}return r.match&&0===o.length?new We(t.segments,{}):r.match&&!t.hasChildren()?St(t,e,n):r.match?Ot(t,0,o):St(t,e,n)}function Ot(t,e,n){if(0===n.length)return new We(t.segments,{});var r=wt(n),o={};return d(r,function(n,r){null!==n&&(o[r]=Ct(t.children[r],e,n))}),d(t.children,function(t,e){void 0===r[e]&&(o[e]=t)}),new We(t.segments,o)}function Et(t,e,n){for(var r=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};o<t.segments.length;){if(r>=n.length)return i;var a=t.segments[o],u=_t(n[r]),s=r<n.length-1?n[r+1]:null;if(o>0&&void 0===u)break;if(u&&s&&"object"==typeof s&&void 0===s.outlets){if(!At(u,s,a))return i;r+=2}else{if(!At(u,{},a))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function St(t,e,n){for(var r=t.segments.slice(0,e),o=0;o<n.length;){if("object"==typeof n[o]&&void 0!==n[o].outlets){var i=Pt(n[o].outlets);return new We(r,i)}if(0===o&&dt(n[0])){var a=t.segments[e];r.push(new Ze(a.path,n[0])),o++}else{var u=_t(n[o]),s=o<n.length-1?n[o+1]:null;u&&s&&dt(s)?(r.push(new Ze(u,xt(s))),o+=2):(r.push(new Ze(u,{})),o++)}}return new We(r,{})}function Pt(t){var e={};return d(t,function(t,n){null!==t&&(e[n]=St(new We([],{}),0,t))}),e}function xt(t){var e={};return d(t,function(t,n){return e[n]=""+t}),e}function At(t,e,n){return t==n.path&&p(e,n.parameters)}function Tt(t,e,n,r){return new dn(t,e,n,r).recognize()}function Rt(t){t.sort(function(t,e){return t.value.outlet===He?-1:e.value.outlet===He?1:t.value.outlet.localeCompare(e.value.outlet)})}function It(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}function kt(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new hn;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=e.matcher||a,o=r(n,t,e);if(!o)throw new hn;var i={};d(o.posParams,function(t,e){i[e]=t.path});var u=o.consumed.length>0?Object.assign({},i,o.consumed[o.consumed.length-1].parameters):i;return{consumedSegments:o.consumed,lastChild:o.consumed.length,parameters:u}}function jt(t){var e={};t.forEach(function(t){var n=e[t.value.outlet];if(n){var r=n.url.map(function(t){return t.toString()}).join("/"),o=t.value.url.map(function(t){return t.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+o+"'.")}e[t.value.outlet]=t.value})}function Nt(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function Mt(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Vt(t,e,n,r){if(n.length>0&&Lt(t,n,r)){var o=new We(e,Ft(t,e,r,new We(n,t.children)));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&Ut(t,n,r)){var i=new We(t.segments,Dt(t,n,r,t.children));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}var a=new We(t.segments,t.children);return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:n}}function Dt(t,e,n,r){for(var o={},i=0,a=n;i<a.length;i++){var u=a[i];if(Ht(t,e,u)&&!r[Bt(u)]){var s=new We([],{});s._sourceSegment=t,s._segmentIndexShift=t.segments.length,o[Bt(u)]=s}}return Object.assign({},r,o)}function Ft(t,e,n,r){var o={};o[He]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(var i=0,a=n;i<a.length;i++){var u=a[i];if(""===u.path&&Bt(u)!==He){var s=new We([],{});s._sourceSegment=t,s._segmentIndexShift=e.length,o[Bt(u)]=s}}return o}function Lt(t,e,n){return n.some(function(n){return Ht(t,e,n)&&Bt(n)!==He})}function Ut(t,e,n){return n.some(function(n){return Ht(t,e,n)})}function Ht(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&(""===n.path&&void 0===n.redirectTo)}function Bt(t){return t.outlet||He}function qt(t){return t.data||{}}function Gt(t){return t.resolve||{}}function zt(t){throw t}function Wt(t){return n.i(de.of)(null)}function Zt(t){at(t.value),t.children.forEach(Zt)}function Kt(t){for(var e=t.parent;e;e=e.parent){var n=e._routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}function Qt(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e._routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}function Jt(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}function Yt(t){for(var e=0;e<t.length;e++){var n=t[e];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+e)}}function $t(t){return""===t||!!t}function Xt(){return new le.NgProbeToken("Router",wn)}function te(t,e,n){return void 0===n&&(n={}),n.useHash?new ce.HashLocationStrategy(t,e):new ce.PathLocationStrategy(t,e)}function ee(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function ne(t){return[{provide:le.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:t},{provide:vn,multi:!0,useValue:t}]}function re(t,e,r,o,i,a,u,s,c,l,p){void 0===c&&(c={});var h=new wn(null,e,r,o,i,a,u,f(s));if(l&&(h.urlHandlingStrategy=l),p&&(h.routeReuseStrategy=p),c.errorHandler&&(h.errorHandler=c.errorHandler),c.enableTracing){var d=n.i(Ae.t)();h.events.subscribe(function(t){d.logGroup("Router Event: "+t.constructor.name),d.log(t.toString()),d.log(t),d.logGroupEnd()})}return h}function oe(t){return t.routerState.root}function ie(t){return t.appInitializer.bind(t)}function ae(t){return t.bootstrapListener.bind(t)}function ue(){return[Bn,{provide:le.APP_INITIALIZER,multi:!0,useFactory:ie,deps:[Bn]},{provide:qn,useFactory:ae,deps:[Bn]},{provide:le.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:qn}]}var se=n("6Xbx"),ce=n("qbdv"),le=n("/oeL"),pe=n("gvep"),fe=(n.n(pe),n("rlar")),he=(n.n(fe),n("7JOC")),de=(n.n(he),n("+zVg")),ye=(n.n(de),n("TQn8")),ge=(n.n(ye),n("THYR")),ve=(n.n(ge),n("1eQ7")),me=(n.n(ve),n("WSkQ")),be=(n.n(me),n("lx+J")),_e=(n.n(be),n("cPhF")),we=(n.n(_e),n("Tq0x")),Ce=(n.n(we),n("bKpL")),Oe=(n.n(Ce),n("ueUM")),Ee=(n.n(Oe),n("I3ay")),Se=(n.n(Ee),n("TpsG")),Pe=(n.n(Se),n("QU9E")),xe=(n.n(Pe),n("TIdC")),Ae=(n.n(xe),n("fc+i")),Te=n("422b");n.n(Te);n.d(e,"y",function(){return xn}),n.d(e,"A",function(){return An}),n.d(e,"z",function(){return In}),n.d(e,"B",function(){return Re}),n.d(e,"w",function(){return yn}),n.d(e,"c",function(){return wn}),n.d(e,"t",function(){return vn}),n.d(e,"r",function(){return Fn}),n.d(e,"h",function(){return qn}),n.d(e,"x",function(){return Hn}),n.d(e,"q",function(){return Rn}),n.d(e,"d",function(){return Mn}),n.d(e,"g",function(){return Nn}),n.d(e,"e",function(){return jn}),n.d(e,"f",function(){return Vn}),n.d(e,"a",function(){return sn}),n.d(e,"v",function(){return bn}),n.d(e,"p",function(){return Qe}),n.d(e,"o",function(){return Ke}),n.d(e,"k",function(){return Ln}),n.d(e,"j",function(){return Bn}),n.d(e,"n",function(){return ie}),n.d(e,"i",function(){return ae}),n.d(e,"l",function(){return ee}),n.d(e,"s",function(){return te}),n.d(e,"b",function(){return oe}),n.d(e,"m",function(){return Xt}),n.d(e,"u",function(){return re});var Re=function(){function t(t,e){this.id=t,this.url=e}return t.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},t}(),Ie=function(){function t(t,e,n){this.id=t,this.url=e,this.urlAfterRedirects=n}return t.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},t}(),ke=function(){function t(t,e,n){this.id=t,this.url=e,this.reason=n}return t.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},t}(),je=function(){function t(t,e,n){this.id=t,this.url=e,this.error=n}return t.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},t}(),Ne=function(){function t(t,e,n,r){this.id=t,this.url=e,this.urlAfterRedirects=n,this.state=r}return t.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(),Me=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),Ve=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),De=function(){function t(t,e,n,r){this.id=t,this.url=e,this.urlAfterRedirects=n,this.state=r}return t.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(),Fe=function(){function t(t,e,n,r,o){this.id=t,this.url=e,this.urlAfterRedirects=n,this.state=r,this.shouldActivate=o}return t.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},t}(),Le=function(){function t(t,e,n,r){this.id=t,this.url=e,this.urlAfterRedirects=n,this.state=r}return t.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(),Ue=function(){function t(t,e,n,r){this.id=t,this.url=e,this.urlAfterRedirects=n,this.state=r}return t.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(),He="primary",Be=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}(),qe="ngNavigationCancelingError",Ge=function(){function t(t,e){this.routes=t,this.module=e}return t}(),ze=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=r(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Je.serialize(this)},t}(),We=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,d(e,function(t,e){return t.parent=n})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return A(this)},t}(),Ze=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=r(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return k(this)},t}(),Ke=function(){function t(){}return t.prototype.parse=function(t){},t.prototype.serialize=function(t){},t}(),Qe=function(){function t(){}return t.prototype.parse=function(t){var e=new tn(t);return new ze(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){return"/"+T(t.root,!0)+N(t.queryParams)+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),Je=new Qe,Ye=/^[^\/()?;=&#]+/,$e=/^[^=?&#]+/,Xe=/^[^?&#]+/,tn=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new We([],{}):new We([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURI(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[He]=new We(t,e)),n},t.prototype.parseSegment=function(){var t=M(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Ze(I(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=M(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=M(this.remaining);r&&(n=r,this.capture(n))}t[I(e)]=I(n)}},t.prototype.parseQueryParam=function(t){var e=V(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=D(this.remaining);r&&(n=r,this.capture(n))}var o=I(e),i=I(n);if(t.hasOwnProperty(o)){var a=t[o];Array.isArray(a)||(a=[a],t[o]=a),a.push(i)}else t[o]=i}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=M(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=He);var i=this.parseChildren();e[o]=1===Object.keys(i).length?i[He]:new We([],i),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),en=function(){function t(t){this.segmentGroup=t||null}return t}(),nn=function(){function t(t){this.urlTree=t}return t}(),rn=function(){function t(t,e,n,r,o){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(le.NgModuleRef)}return t.prototype.apply=function(){var t=this,e=this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,He),n=be.map.call(e,function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)});return Oe._catch.call(n,function(e){if(e instanceof nn)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof en)throw t.noMatchError(e);throw e})},t.prototype.match=function(t){var e=this,n=this.expandSegmentGroup(this.ngModule,this.config,t.root,He),r=be.map.call(n,function(n){return e.createUrlTree(n,t.queryParams,t.fragment)});return Oe._catch.call(r,function(t){if(t instanceof en)throw e.noMatchError(t);throw t})},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,e,n){var r=t.segments.length>0?new We([],(o={},o[He]=t,o)):t;return new ze(r,e,n);var o},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?be.map.call(this.expandChildren(t,e,n),function(t){return new We([],t)}):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return y(n.children,function(n,o){return r.expandSegmentGroup(t,e,o,n)})},t.prototype.expandSegment=function(t,e,r,o,i,a){var u=this,s=de.of.apply(void 0,r),c=be.map.call(s,function(s){var c=u.expandSegmentAgainstRoute(t,e,r,s,o,i,a);return Oe._catch.call(c,function(t){if(t instanceof en)return n.i(de.of)(null);throw t})}),l=Ee.concatAll.call(c),p=ve.first.call(l,function(t){return!!t});return Oe._catch.call(p,function(t,r){if(t instanceof Se.EmptyError){if(u.noLeftoversInUrl(e,o,i))return n.i(de.of)(new We([],{}));throw new en(e)}throw t})},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,o,i,a){return $(r)!==i?F(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i):F(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?L(i):_e.mergeMap.call(this.lineralizeSegments(n,i),function(n){var i=new We(n,{});return o.expandSegment(t,i,e,n,r,!1)})},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){var a=this,u=G(e,r,o),s=u.matched,c=u.consumedSegments,l=u.lastChild,p=u.positionalParamSegments;if(!s)return F(e);var f=this.applyRedirectCommands(c,r.redirectTo,p);return r.redirectTo.startsWith("/")?L(f):_e.mergeMap.call(this.lineralizeSegments(r,f),function(r){return a.expandSegment(t,e,n,r.concat(o.slice(l)),i,!1)})},t.prototype.matchSegmentAgainstRoute=function(t,e,r,o){var i=this;if("**"===r.path)return r.loadChildren?be.map.call(this.configLoader.load(t.injector,r),function(t){return r._loadedConfig=t,new We(o,{})}):n.i(de.of)(new We(o,{}));var a=G(e,r,o),u=a.matched,s=a.consumedSegments,c=a.lastChild;if(!u)return F(e);var l=o.slice(c),p=this.getChildConfig(t,r);return _e.mergeMap.call(p,function(t){var r=t.module,o=t.routes,a=z(e,s,l,o),u=a.segmentGroup,c=a.slicedSegments;if(0===c.length&&u.hasChildren()){var p=i.expandChildren(r,o,u);return be.map.call(p,function(t){return new We(s,t)})}if(0===o.length&&0===c.length)return n.i(de.of)(new We(s,{}));var f=i.expandSegment(r,u,o,c,He,!0);return be.map.call(f,function(t){return new We(s.concat(t.segments),t.children)})})},t.prototype.getChildConfig=function(t,e){var r=this;return e.children?n.i(de.of)(new Ge(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?n.i(de.of)(e._loadedConfig):_e.mergeMap.call(q(t.injector,e),function(n){return n?be.map.call(r.configLoader.load(t.injector,e),function(t){return e._loadedConfig=t,t}):H(e)}):n.i(de.of)(new Ge([],t))},t.prototype.lineralizeSegments=function(t,e){for(var r=[],o=e.root;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return n.i(de.of)(r);if(o.numberOfChildren>1||!o.children[He])return U(t.redirectTo);o=o.children[He]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var o=this.createSegmentGroup(t,e.root,n,r);return new ze(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return d(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var o=t.substring(1);n[r]=e[o]}else n[r]=t}),n},t.prototype.createSegmentGroup=function(t,e,n,r){var o=this,i=this.createSegments(t,e.segments,n,r),a={};return d(e.children,function(e,i){a[i]=o.createSegmentGroup(t,e,n,r)}),new We(i,a)},t.prototype.createSegments=function(t,e,n,r){var o=this;return e.map(function(e){return e.path.startsWith(":")?o.findPosParam(t,e,r):o.findOrReturn(e,n)})},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){for(var n=0,r=0,o=e;r<o.length;r++){var i=o[r];if(i.path===t.path)return e.splice(n),i;n++}return t},t}(),on=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=X(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=X(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=tt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})},t.prototype.pathFromRoot=function(t){return tt(t,this._root).map(function(t){return t.value})},t}(),an=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}(),un=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,ot(r,e),r}return se.a(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(on),sn=function(){function t(t,e,n,r,o,i,a,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._futureSnapshot=u}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=be.map.call(this.params,function(t){return r(t)})),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=be.map.call(this.queryParams,function(t){return r(t)})),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}(),cn=function(){function t(t,e,n,r,o,i,a,u,s,c,l){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._routeConfig=u,this._urlSegment=s,this._lastPathIndex=c,this._resolve=l}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=r(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=r(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this._routeConfig?this._routeConfig.path:"")+"')"},t}(),ln=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,ot(r,n),r}return se.a(e,t),e.prototype.toString=function(){return it(this._root)},e}(on),pn=function(){function t(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&dt(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==h(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),fn=function(){function t(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}return t}(),hn=function(){function t(){}return t}(),dn=function(){function t(t,e,n,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r}return t.prototype.recognize=function(){try{var t=Vt(this.urlTree.root,[],[],this.config).segmentGroup,e=this.processSegmentGroup(this.config,t,He),r=new cn([],Object.freeze({}),Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,{},He,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new an(r,e),i=new ln(this.url,o);return this.inheritParamsAndData(i._root),n.i(de.of)(i)}catch(t){return new Ce.Observable(function(e){return e.error(t)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=rt(n);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n=this,r=x(e,function(e,r){return n.processSegmentGroup(t,e,r)});return jt(r),Rt(r),r},t.prototype.processSegment=function(t,e,n,r){for(var o=0,i=t;o<i.length;o++){var a=i[o];try{return this.processSegmentAgainstRoute(a,e,n,r)}catch(t){if(!(t instanceof hn))throw t}}if(this.noLeftoversInUrl(e,n,r))return[];throw new hn},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,r){if(t.redirectTo)throw new hn;if((t.outlet||He)!==r)throw new hn;if("**"===t.path){var o=n.length>0?h(n).parameters:{},i=new cn(n,o,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,qt(t),r,t.component,t,Nt(e),Mt(e)+n.length,Gt(t));return[new an(i,[])]}var a=kt(e,t,n),u=a.consumedSegments,s=a.parameters,c=a.lastChild,l=n.slice(c),p=It(t),f=Vt(e,u,l,p),d=f.segmentGroup,y=f.slicedSegments,g=new cn(u,s,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,qt(t),r,t.component,t,Nt(e),Mt(e)+u.length,Gt(t));if(0===y.length&&d.hasChildren()){var v=this.processChildren(p,d);return[new an(g,v)]}if(0===p.length&&0===y.length)return[new an(g,[])];var m=this.processSegment(p,d,y,He);return[new an(g,m)]},t}(),yn=function(){function t(){}return t.prototype.shouldDetach=function(t){},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){},t.prototype.retrieve=function(t){},t.prototype.shouldReuseRoute=function(t,e){},t}(),gn=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),vn=new le.InjectionToken("ROUTES"),mn=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;this.onLoadStartListener&&this.onLoadStartListener(e);var r=this.loadModuleFactory(e.loadChildren);return be.map.call(r,function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var o=r.create(t);return new Ge(f(o.injector.get(vn)),o)})},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?n.i(Pe.fromPromise)(this.loader.load(t)):_e.mergeMap.call(v(t()),function(t){return t instanceof le.NgModuleFactory?n.i(de.of)(t):n.i(Pe.fromPromise)(e.compiler.compileModuleAsync(t))})},t}(),bn=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){},t.prototype.extract=function(t){},t.prototype.merge=function(t,e){},t}(),_n=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}(),wn=function(){function t(t,e,n,r,o,i,a,u){var s=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=u,this.navigations=new pe.BehaviorSubject(null),this.routerEvents=new fe.Subject,this.navigationId=0,this.errorHandler=zt,this.navigated=!1,this.hooks={beforePreactivation:Wt,afterPreactivation:Wt},this.urlHandlingStrategy=new _n,this.routeReuseStrategy=new gn;var c=function(t){return s.triggerEvent(new Me(t))},l=function(t){return s.triggerEvent(new Ve(t))};this.ngModule=o.get(le.NgModuleRef),this.resetConfig(u),this.currentUrlTree=m(),this.rawUrlTree=this.currentUrlTree,this.configLoader=new mn(i,a,c,l),this.currentRouterState=et(this.currentUrlTree,this.rootComponentType),this.processNavigations()}return t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.currentRouterState.root.component=this.rootComponentType},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(Zone.current.wrap(function(e){var n=t.urlSerializer.parse(e.url),r="popstate"===e.type?"popstate":"hashchange";setTimeout(function(){t.scheduleNavigation(n,r,{replaceUrl:!0})},0)})))},Object.defineProperty(t.prototype,"routerState",{get:function(){return this.currentRouterState},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"events",{get:function(){return this.routerEvents},enumerable:!0,configurable:!0}),t.prototype.triggerEvent=function(t){this.routerEvents.next(t)},t.prototype.resetConfig=function(t){u(t),this.config=t,this.navigated=!1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,e){void 0===e&&(e={});var r=e.relativeTo,o=e.queryParams,i=e.fragment,a=e.preserveQueryParams,u=e.queryParamsHandling,s=e.preserveFragment;n.i(le.isDevMode)()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var c=r||this.routerState.root,l=s?this.currentUrlTree.fragment:i,p=null;if(u)switch(u){case"merge":p=Object.assign({},this.currentUrlTree.queryParams,o);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=o||null}else p=a?this.currentUrlTree.queryParams:o||null;return ht(c,this.currentUrlTree,t,p,l)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1});var n=t instanceof ze?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),Yt(t),"object"==typeof e.queryParams&&null!==e.queryParams&&(e.queryParams=this.removeEmptyProps(e.queryParams)),this.navigateByUrl(this.createUrlTree(t,e),e)},t.prototype.serializeUrl=function(t){return this.urlSerializer.serialize(t)},t.prototype.parseUrl=function(t){return this.urlSerializer.parse(t)},t.prototype.isActive=function(t,e){if(t instanceof ze)return b(this.currentUrlTree,t,e);var n=this.urlSerializer.parse(t);return b(this.currentUrlTree,n,e)},t.prototype.removeEmptyProps=function(t){return Object.keys(t).reduce(function(e,n){var r=t[n];return null!==r&&void 0!==r&&(e[n]=r),e},{})},t.prototype.processNavigations=function(){var t=this;ye.concatMap.call(this.navigations,function(e){return e?(t.executeScheduledNavigation(e),e.promise.catch(function(){})):n.i(de.of)(null)}).subscribe(function(){})},t.prototype.scheduleNavigation=function(t,e,n){var r=this.navigations.value;if(r&&"imperative"!==e&&"imperative"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(r&&"hashchange"==e&&"popstate"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);var o=null,i=null,a=new Promise(function(t,e){o=t,i=e}),u=++this.navigationId;return this.navigations.next({id:u,source:e,rawUrl:t,extras:n,resolve:o,reject:i,promise:a}),a.catch(function(t){return Promise.reject(t)})},t.prototype.executeScheduledNavigation=function(t){var e=this,n=t.id,r=t.rawUrl,o=t.extras,i=t.resolve,a=t.reject,u=this.urlHandlingStrategy.extract(r),s=!this.navigated||u.toString()!==this.currentUrlTree.toString();s&&this.urlHandlingStrategy.shouldProcessUrl(r)?(this.routerEvents.next(new Re(n,this.serializeUrl(u))),Promise.resolve().then(function(t){return e.runNavigate(u,r,!!o.skipLocationChange,!!o.replaceUrl,n,null)}).then(i,a)):s&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)?(this.routerEvents.next(new Re(n,this.serializeUrl(u))),Promise.resolve().then(function(t){return e.runNavigate(u,r,!1,!1,n,et(u,e.rootComponentType).snapshot)}).then(i,a)):(this.rawUrlTree=r,i(null))},t.prototype.runNavigate=function(t,e,r,o,a,u){var s=this;return a!==this.navigationId?(this.location.go(this.urlSerializer.serialize(this.currentUrlTree)),this.routerEvents.next(new ke(a,this.serializeUrl(t),"Navigation ID "+a+" is not equal to the current navigation id "+this.navigationId)),Promise.resolve(!1)):new Promise(function(c,l){var p;if(u)p=n.i(de.of)({appliedUrl:t,snapshot:u});else{var f=s.ngModule.injector,h=B(f,s.configLoader,s.urlSerializer,t,s.config);p=_e.mergeMap.call(h,function(e){return be.map.call(Tt(s.rootComponentType,s.config,e,s.serializeUrl(e)),function(n){return s.routerEvents.next(new Ne(a,s.serializeUrl(t),s.serializeUrl(e),n)),{appliedUrl:e,snapshot:n}})})}var d,y,g=_e.mergeMap.call(p,function(t){return be.map.call(s.hooks.beforePreactivation(t.snapshot),function(){return t})}),v=be.map.call(g,function(t){var e=t.appliedUrl,n=t.snapshot,r=s.ngModule.injector;return d=new En(n,s.currentRouterState.snapshot,r),d.traverse(s.rootContexts),{appliedUrl:e,snapshot:n}}),m=_e.mergeMap.call(v,function(e){var r=e.appliedUrl,o=e.snapshot;return s.navigationId!==a?n.i(de.of)(!1):(s.triggerEvent(new De(a,s.serializeUrl(t),r,o)),be.map.call(d.checkGuards(),function(e){return s.triggerEvent(new Fe(a,s.serializeUrl(t),r,o,e)),{appliedUrl:r,snapshot:o,shouldActivate:e}}))}),b=_e.mergeMap.call(m,function(e){return s.navigationId!==a?n.i(de.of)(!1):e.shouldActivate&&d.isActivating()?(s.triggerEvent(new Le(a,s.serializeUrl(t),e.appliedUrl,e.snapshot)),be.map.call(d.resolveData(),function(){return s.triggerEvent(new Ue(a,s.serializeUrl(t),e.appliedUrl,e.snapshot)),e})):n.i(de.of)(e)}),_=_e.mergeMap.call(b,function(t){return be.map.call(s.hooks.afterPreactivation(t.snapshot),function(){return t})}),w=be.map.call(_,function(t){var e=t.appliedUrl,n=t.snapshot,r=t.shouldActivate;if(r){return{appliedUrl:e,state:st(s.routeReuseStrategy,n,s.currentRouterState),shouldActivate:r}}return{appliedUrl:e,state:null,shouldActivate:r}}),C=s.currentRouterState,O=s.currentUrlTree;w.forEach(function(t){var n=t.appliedUrl,i=t.state;if(!t.shouldActivate||a!==s.navigationId)return void(y=!1);if(s.currentUrlTree=n,s.rawUrlTree=s.urlHandlingStrategy.merge(s.currentUrlTree,e),s.currentRouterState=i,!r){var u=s.urlSerializer.serialize(s.rawUrlTree);s.location.isCurrentPathEqualTo(u)||o?s.location.replaceState(u):s.location.go(u)}new Sn(s.routeReuseStrategy,i,C).activate(s.rootContexts),y=!0}).then(function(){y?(s.navigated=!0,s.routerEvents.next(new Ie(a,s.serializeUrl(t),s.serializeUrl(s.currentUrlTree))),c(!0)):(s.resetUrlToCurrentUrlTree(),s.routerEvents.next(new ke(a,s.serializeUrl(t),"")),c(!1))},function(n){if(i(n))s.resetUrlToCurrentUrlTree(),s.navigated=!0,s.routerEvents.next(new ke(a,s.serializeUrl(t),n.message)),c(!1);else{s.routerEvents.next(new je(a,s.serializeUrl(t),n));try{c(s.errorHandler(n))}catch(t){l(t)}}s.currentRouterState=C,s.currentUrlTree=O,s.rawUrlTree=s.urlHandlingStrategy.merge(s.currentUrlTree,e),s.location.replaceState(s.serializeUrl(s.rawUrlTree))})})},t.prototype.resetUrlToCurrentUrlTree=function(){var t=this.urlSerializer.serialize(this.rawUrlTree);this.location.replaceState(t)},t}(),Cn=function(){function t(t){this.path=t}return Object.defineProperty(t.prototype,"route",{get:function(){return this.path[this.path.length-1]},enumerable:!0,configurable:!0}),t}(),On=function(){function t(t,e){this.component=t,this.route=e}return t}(),En=function(){function t(t,e,n){this.future=t,this.curr=e,this.moduleInjector=n,this.canActivateChecks=[],this.canDeactivateChecks=[]}return t.prototype.traverse=function(t){var e=this.future._root,n=this.curr?this.curr._root:null;this.traverseChildRoutes(e,n,t,[e.value])},t.prototype.checkGuards=function(){var t=this;if(!this.isDeactivating()&&!this.isActivating())return n.i(de.of)(!0);var e=this.runCanDeactivateChecks();return _e.mergeMap.call(e,function(e){return e?t.runCanActivateChecks():n.i(de.of)(!1)})},t.prototype.resolveData=function(){var t=this;if(!this.isActivating())return n.i(de.of)(null);var e=n.i(he.from)(this.canActivateChecks),r=ye.concatMap.call(e,function(e){return t.runResolve(e.route)});return we.reduce.call(r,function(t,e){return t})},t.prototype.isDeactivating=function(){return 0!==this.canDeactivateChecks.length},t.prototype.isActivating=function(){return 0!==this.canActivateChecks.length},t.prototype.traverseChildRoutes=function(t,e,n,r){var o=this,i=Jt(e);t.children.forEach(function(t){o.traverseRoutes(t,i[t.value.outlet],n,r.concat([t.value])),delete i[t.value.outlet]}),d(i,function(t,e){return o.deactivateRouteAndItsChildren(t,n.getContext(e))})},t.prototype.traverseRoutes=function(t,e,n,r){var o=t.value,i=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(i&&o._routeConfig===i._routeConfig){var u=this.shouldRunGuardsAndResolvers(i,o,o._routeConfig.runGuardsAndResolvers);if(u?this.canActivateChecks.push(new Cn(r)):(o.data=i.data,o._resolvedData=i._resolvedData),o.component?this.traverseChildRoutes(t,e,a?a.children:null,r):this.traverseChildRoutes(t,e,n,r),u){var s=a.outlet;this.canDeactivateChecks.push(new On(s.component,i))}}else i&&this.deactivateRouteAndItsChildren(e,a),this.canActivateChecks.push(new Cn(r)),o.component?this.traverseChildRoutes(t,null,a?a.children:null,r):this.traverseChildRoutes(t,null,n,r)},t.prototype.shouldRunGuardsAndResolvers=function(t,e,n){switch(n){case"always":return!0;case"paramsOrQueryParamsChange":return!ut(t,e)||!p(t.queryParams,e.queryParams);case"paramsChange":default:return!ut(t,e)}},t.prototype.deactivateRouteAndItsChildren=function(t,e){var n=this,r=Jt(t),o=t.value;d(r,function(t,r){o.component?e?n.deactivateRouteAndItsChildren(t,e.children.getContext(r)):n.deactivateRouteAndItsChildren(t,null):n.deactivateRouteAndItsChildren(t,e)}),o.component&&e&&e.outlet&&e.outlet.isActivated?this.canDeactivateChecks.push(new On(e.outlet.component,o)):this.canDeactivateChecks.push(new On(null,o))},t.prototype.runCanDeactivateChecks=function(){var t=this,e=n.i(he.from)(this.canDeactivateChecks),r=_e.mergeMap.call(e,function(e){return t.runCanDeactivate(e.component,e.route)});return ge.every.call(r,function(t){return!0===t})},t.prototype.runCanActivateChecks=function(){var t=this,e=n.i(he.from)(this.canActivateChecks),r=ye.concatMap.call(e,function(e){return g(n.i(he.from)([t.runCanActivateChild(e.path),t.runCanActivate(e.route)]))});return ge.every.call(r,function(t){return!0===t})},t.prototype.runCanActivate=function(t){var e=this,r=t._routeConfig?t._routeConfig.canActivate:null;return r&&0!==r.length?g(be.map.call(n.i(he.from)(r),function(n){var r,o=e.getToken(n,t);return r=v(o.canActivate?o.canActivate(t,e.future):o(t,e.future)),ve.first.call(r)})):n.i(de.of)(!0)},t.prototype.runCanActivateChild=function(t){var e=this,r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(function(t){return e.extractCanActivateChild(t)}).filter(function(t){return null!==t});return g(be.map.call(n.i(he.from)(o),function(t){return g(be.map.call(n.i(he.from)(t.guards),function(n){var o,i=e.getToken(n,t.node);return o=v(i.canActivateChild?i.canActivateChild(r,e.future):i(r,e.future)),ve.first.call(o)}))}))},t.prototype.extractCanActivateChild=function(t){var e=t._routeConfig?t._routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null},t.prototype.runCanDeactivate=function(t,e){var r=this,o=e&&e._routeConfig?e._routeConfig.canDeactivate:null;if(!o||0===o.length)return n.i(de.of)(!0);var i=_e.mergeMap.call(n.i(he.from)(o),function(n){var o,i=r.getToken(n,e);return o=v(i.canDeactivate?i.canDeactivate(t,e,r.curr,r.future):i(t,e,r.curr,r.future)),ve.first.call(o)});return ge.every.call(i,function(t){return!0===t})},t.prototype.runResolve=function(t){var e=t._resolve;return be.map.call(this.resolveNode(e,t),function(e){return t._resolvedData=e,t.data=Object.assign({},t.data,rt(t).resolve),null})},t.prototype.resolveNode=function(t,e){var r=this,o=Object.keys(t);if(0===o.length)return n.i(de.of)({});if(1===o.length){var i=o[0];return be.map.call(this.getResolver(t[i],e),function(t){return e={},e[i]=t,e;var e})}var a={},u=_e.mergeMap.call(n.i(he.from)(o),function(n){return be.map.call(r.getResolver(t[n],e),function(t){return a[n]=t,t})});return be.map.call(me.last.call(u),function(){return a})},t.prototype.getResolver=function(t,e){var n=this.getToken(t,e);return v(n.resolve?n.resolve(e,this.future):n(e,this.future))},t.prototype.getToken=function(t,e){var n=Qt(e);return(n?n.module.injector:this.moduleInjector).get(t)},t}(),Sn=function(){function t(t,e,n){this.routeReuseStrategy=t,this.futureState=e,this.currState=n}return t.prototype.activate=function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),at(this.futureState.root),this.activateChildRoutes(e,n,t)},t.prototype.deactivateChildRoutes=function(t,e,n){var r=this,o=Jt(e);t.children.forEach(function(t){var e=t.value.outlet;r.deactivateRoutes(t,o[e],n),delete o[e]}),d(o,function(t,e){r.deactivateRouteAndItsChildren(t,n)})},t.prototype.deactivateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(r===o)if(r.component){var i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)},t.prototype.deactivateRouteAndItsChildren=function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)},t.prototype.detachAndStoreRouteSubtree=function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),o=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:r,route:t,contexts:o})}},t.prototype.deactivateRouteAndOutlet=function(t,e){var n=this,r=e.getContext(t.value.outlet);if(r){var o=Jt(t),i=t.value.component?r.children:e;d(o,function(t,e){return n.deactivateRouteAndItsChildren(t,i)}),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},t.prototype.activateChildRoutes=function(t,e,n){var r=this,o=Jt(e);t.children.forEach(function(t){r.activateRoutes(t,o[t.value.outlet],n)})},t.prototype.activateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(at(r),r===o)if(r.component){var i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(r.component){var i=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){var a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),i.children.onOutletReAttached(a.contexts),i.attachRef=a.componentRef,i.route=a.route.value,i.outlet&&i.outlet.attach(a.componentRef,a.route.value),Zt(a.route)}else{var u=Kt(r.snapshot),s=u?u.module.componentFactoryResolver:null;i.route=r,i.resolver=s,i.outlet&&i.outlet.activateWith(r,s),this.activateChildRoutes(t,null,i.children)}}else this.activateChildRoutes(t,null,n)},t}(),Pn=function(){function t(t,e,n,r,o){this.router=t,this.route=e,this.commands=[],null==n&&r.setAttribute(o.nativeElement,"tabindex","0")}return Object.defineProperty(t.prototype,"routerLink",{set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveQueryParams",{set:function(t){n.i(le.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.onClick=function(){var t={skipLocationChange:$t(this.skipLocationChange),replaceUrl:$t(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,t),!0},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:$t(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:$t(this.preserveFragment)})},enumerable:!0,configurable:!0}),t}();Pn.decorators=[{type:le.Directive,args:[{selector:":not(a)[routerLink]"}]}],Pn.ctorParameters=function(){return[{type:wn},{type:sn},{type:void 0,decorators:[{type:le.Attribute,args:["tabindex"]}]},{type:le.Renderer2},{type:le.ElementRef}]},Pn.propDecorators={queryParams:[{type:le.Input}],fragment:[{type:le.Input}],queryParamsHandling:[{type:le.Input}],preserveFragment:[{type:le.Input}],skipLocationChange:[{type:le.Input}],replaceUrl:[{type:le.Input}],routerLink:[{type:le.Input}],preserveQueryParams:[{type:le.Input}],onClick:[{type:le.HostListener,args:["click"]}]};var xn=function(){function t(t,e,n){var r=this;this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(function(t){t instanceof Ie&&r.updateTargetUrlAndHref()})}return Object.defineProperty(t.prototype,"routerLink",{set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveQueryParams",{set:function(t){n.i(le.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.updateTargetUrlAndHref()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.onClick=function(t,e,n,r){if(0!==t||e||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:$t(this.skipLocationChange),replaceUrl:$t(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,o),!1},t.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:$t(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:$t(this.preserveFragment)})},enumerable:!0,configurable:!0}),t}();xn.decorators=[{type:le.Directive,args:[{selector:"a[routerLink]"}]}],xn.ctorParameters=function(){return[{type:wn},{type:sn},{type:ce.LocationStrategy}]},xn.propDecorators={target:[{type:le.HostBinding,args:["attr.target"]},{type:le.Input}],queryParams:[{type:le.Input}],fragment:[{type:le.Input}],queryParamsHandling:[{type:le.Input}],preserveFragment:[{type:le.Input}],skipLocationChange:[{type:le.Input}],replaceUrl:[{type:le.Input}],href:[{type:le.HostBinding}],routerLink:[{type:le.Input}],preserveQueryParams:[{type:le.Input}],onClick:[{type:le.HostListener,args:["click",["$event.button","$event.ctrlKey","$event.metaKey","$event.shiftKey"]]}]};var An=function(){function t(t,e,n,r){var o=this;this.router=t,this.element=e,this.renderer=n,this.cdr=r,this.classes=[],this.active=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=t.events.subscribe(function(t){t instanceof Ie&&o.update()})}return Object.defineProperty(t.prototype,"isActive",{get:function(){return this.active},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this;this.links.changes.subscribe(function(e){return t.update()}),this.linksWithHrefs.changes.subscribe(function(e){return t.update()}),this.update()},Object.defineProperty(t.prototype,"routerLinkActive",{set:function(t){var e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(function(t){return!!t})},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.update()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.update=function(){var t=this;this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(function(){var e=t.hasActiveLinks();t.active!==e&&(t.active=e,t.classes.forEach(function(n){e?t.renderer.addClass(t.element.nativeElement,n):t.renderer.removeClass(t.element.nativeElement,n)}))})},t.prototype.isLinkActive=function(t){var e=this;return function(n){return t.isActive(n.urlTree,e.routerLinkActiveOptions.exact)}},t.prototype.hasActiveLinks=function(){return this.links.some(this.isLinkActive(this.router))||this.linksWithHrefs.some(this.isLinkActive(this.router))},t}();An.decorators=[{type:le.Directive,args:[{selector:"[routerLinkActive]",exportAs:"routerLinkActive"}]}],An.ctorParameters=function(){return[{type:wn},{type:le.ElementRef},{type:le.Renderer2},{type:le.ChangeDetectorRef}]},An.propDecorators={links:[{type:le.ContentChildren,args:[Pn,{descendants:!0}]}],linksWithHrefs:[{type:le.ContentChildren,args:[xn,{descendants:!0}]}],routerLinkActiveOptions:[{type:le.Input}],routerLinkActive:[{type:le.Input}]};var Tn=function(){function t(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Rn,this.attachRef=null}return t}(),Rn=function(){function t(){this.contexts=new Map}return t.prototype.onChildOutletCreated=function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)},t.prototype.onChildOutletDestroyed=function(t){var e=this.getContext(t);e&&(e.outlet=null)},t.prototype.onOutletDeactivated=function(){var t=this.contexts;return this.contexts=new Map,t},t.prototype.onOutletReAttached=function(t){this.contexts=t},t.prototype.getOrCreateContext=function(t){var e=this.getContext(t);return e||(e=new Tn,this.contexts.set(t,e)),e},t.prototype.getContext=function(t){return this.contexts.get(t)||null},t}(),In=function(){function t(t,e,n,r,o){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new le.EventEmitter,this.deactivateEvents=new le.EventEmitter,this.name=r||He,t.onChildOutletCreated(this.name,this)}return t.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},t.prototype.ngOnInit=function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}},Object.defineProperty(t.prototype,"locationInjector",{get:function(){return this.location.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"locationFactoryResolver",{get:function(){return this.resolver},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),t.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t},t.prototype.attach=function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)},t.prototype.deactivate=function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}},t.prototype.activateWith=function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=t._futureSnapshot,r=n._routeConfig.component;e=e||this.resolver;var o=e.resolveComponentFactory(r),i=this.parentContexts.getOrCreateContext(this.name).children,a=new kn(t,i,this.location.injector);this.activated=this.location.createComponent(o,this.location.length,a),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},t}();In.decorators=[{type:le.Directive,args:[{selector:"router-outlet",exportAs:"outlet"}]}],In.ctorParameters=function(){return[{type:Rn},{type:le.ViewContainerRef},{type:le.ComponentFactoryResolver},{type:void 0,decorators:[{type:le.Attribute,args:["name"]}]},{type:le.ChangeDetectorRef}]},In.propDecorators={activateEvents:[{type:le.Output,args:["activate"]}],deactivateEvents:[{type:le.Output,args:["deactivate"]}]};var kn=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===sn?this.route:t===Rn?this.childContexts:this.parent.get(t,e)},t}(),jn=function(){function t(){}return t.prototype.preload=function(t,e){},t}(),Nn=function(){function t(){}return t.prototype.preload=function(t,e){return Oe._catch.call(e(),function(){return n.i(de.of)(null)})},t}(),Mn=function(){function t(){}return t.prototype.preload=function(t,e){return n.i(de.of)(null)},t}(),Vn=function(){function t(t,e,n,r,o){this.router=t,this.injector=r,this.preloadingStrategy=o;var i=function(e){return t.triggerEvent(new Me(e))},a=function(e){return t.triggerEvent(new Ve(e))};this.loader=new mn(e,n,i,a)}return t.prototype.setUpPreloading=function(){var t=this,e=Te.filter.call(this.router.events,function(t){return t instanceof Ie});this.subscription=ye.concatMap.call(e,function(){return t.preload()}).subscribe(function(){})},t.prototype.preload=function(){var t=this.injector.get(le.NgModuleRef);return this.processRoutes(t,this.router.config)},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.processRoutes=function(t,e){for(var r=[],o=0,i=e;o<i.length;o++){var a=i[o];if(a.loadChildren&&!a.canLoad&&a._loadedConfig){var u=a._loadedConfig;r.push(this.processRoutes(u.module,u.routes))}else a.loadChildren&&!a.canLoad?r.push(this.preloadConfig(t,a)):a.children&&r.push(this.processRoutes(t,a.children))}return xe.mergeAll.call(n.i(he.from)(r))},t.prototype.preloadConfig=function(t,e){var n=this;return this.preloadingStrategy.preload(e,function(){var r=n.loader.load(t.injector,e);return _e.mergeMap.call(r,function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)})})},t}();Vn.decorators=[{type:le.Injectable}],Vn.ctorParameters=function(){return[{type:wn},{type:le.NgModuleFactoryLoader},{type:le.Compiler},{type:le.Injector},{type:jn}]};var Dn=[In,Pn,xn,An],Fn=new le.InjectionToken("ROUTER_CONFIGURATION"),Ln=new le.InjectionToken("ROUTER_FORROOT_GUARD"),Un=[ce.Location,{provide:Ke,useClass:Qe},{provide:wn,useFactory:re,deps:[le.ApplicationRef,Ke,Rn,ce.Location,le.Injector,le.NgModuleFactoryLoader,le.Compiler,vn,Fn,[bn,new le.Optional],[yn,new le.Optional]]},Rn,{provide:sn,useFactory:oe,deps:[wn]},{provide:le.NgModuleFactoryLoader,useClass:le.SystemJsNgModuleLoader},Vn,Mn,Nn,{provide:Fn,useValue:{enableTracing:!1}}],Hn=function(){function t(t,e){}return t.forRoot=function(e,n){return{ngModule:t,providers:[Un,ne(e),{provide:Ln,useFactory:ee,deps:[[wn,new le.Optional,new le.SkipSelf]]},{provide:Fn,useValue:n||{}},{provide:ce.LocationStrategy,useFactory:te,deps:[ce.PlatformLocation,[new le.Inject(ce.APP_BASE_HREF),new le.Optional],Fn]},{provide:jn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Mn},{provide:le.NgProbeToken,multi:!0,useFactory:Xt},ue()]}},t.forChild=function(e){return{ngModule:t,providers:[ne(e)]}},t}();Hn.decorators=[{type:le.NgModule,args:[{declarations:Dn,exports:Dn}]}],Hn.ctorParameters=function(){return[{type:void 0,decorators:[{type:le.Optional},{type:le.Inject,args:[Ln]}]},{type:wn,decorators:[{type:le.Optional}]}]};var Bn=function(){function t(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new fe.Subject}return t.prototype.appInitializer=function(){var t=this;return this.injector.get(ce.LOCATION_INITIALIZED,Promise.resolve(null)).then(function(){var e=null,r=new Promise(function(t){return e=t}),o=t.injector.get(wn),i=t.injector.get(Fn);if(t.isLegacyDisabled(i)||t.isLegacyEnabled(i))e(!0);else if("disabled"===i.initialNavigation)o.setUpLocationChangeListener(),e(!0);else{if("enabled"!==i.initialNavigation)throw new Error("Invalid initialNavigation options: '"+i.initialNavigation+"'");o.hooks.afterPreactivation=function(){return t.initNavigation?n.i(de.of)(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},o.initialNavigation()}return r})},t.prototype.bootstrapListener=function(t){var e=this.injector.get(Fn),n=this.injector.get(Vn),r=this.injector.get(wn),o=this.injector.get(le.ApplicationRef);t===o.components[0]&&(this.isLegacyEnabled(e)?r.initialNavigation():this.isLegacyDisabled(e)&&r.setUpLocationChangeListener(),n.setUpPreloading(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},t.prototype.isLegacyEnabled=function(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation},t.prototype.isLegacyDisabled=function(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation},t}();Bn.decorators=[{type:le.Injectable}],Bn.ctorParameters=function(){return[{type:le.Injector}]};var qn=new le.InjectionToken("Router Initializer");new le.Version("4.4.6")},CE6k:function(t,e,n){"use strict";function r(){return o.share()(this)}var o=n("HwxE");e.share=r},CPp0:function(t,e,n){"use strict";function r(t){if("string"!=typeof t)return t;switch(t.toUpperCase()){case"GET":return _.Get;case"POST":return _.Post;case"PUT":return _.Put;case"DELETE":return _.Delete;case"OPTIONS":return _.Options;case"HEAD":return _.Head;case"PATCH":return _.Patch}throw new Error('Invalid request method. The method "'+t+'" is not supported.')}function o(t){return"responseURL"in t?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}function i(t){for(var e=new Uint16Array(t.length),n=0,r=t.length;n<r;n++)e[n]=t.charCodeAt(n);return e.buffer}function a(t){void 0===t&&(t="");var e=new Map;if(t.length>0){t.split("&").forEach(function(t){var n=t.indexOf("="),r=-1==n?[t,""]:[t.slice(0,n),t.slice(n+1)],o=r[0],i=r[1],a=e.get(o)||[];a.push(i),e.set(o,a)})}return e}function u(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function s(){var t="object"==typeof window?window:{};return null===D&&(D=t[V]={}),D}function c(t){var e=new k;return Object.keys(t).forEach(function(n){var r=t[n];r&&Array.isArray(r)?r.forEach(function(t){return e.append(n,t.toString())}):e.append(n,r.toString())}),e}function l(t,e){return t.createConnection(e).response}function p(t,e,n,r){var o=t;return e?o.merge(new Q({method:e.method||n,url:e.url||r,search:e.search,params:e.params,headers:e.headers,body:e.body,withCredentials:e.withCredentials,responseType:e.responseType})):o.merge(new Q({method:n,url:r}))}function f(){return new Z}function h(t,e){return new rt(t,e)}function d(t,e){return new ot(t,e)}var y=n("6Xbx"),g=n("/oeL"),v=n("bKpL"),m=(n.n(v),n("fc+i"));n.d(e,"a",function(){return b}),n.d(e,"f",function(){return K}),n.d(e,"h",function(){return J}),n.d(e,"g",function(){return Q}),n.d(e,"c",function(){return x}),n.d(e,"b",function(){return P}),n.d(e,"l",function(){return S}),n.d(e,"i",function(){return rt}),n.d(e,"k",function(){return it}),n.d(e,"d",function(){return T}),n.d(e,"m",function(){return k}),n.d(e,"e",function(){return f}),n.d(e,"j",function(){return h});var b=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}();b.decorators=[{type:g.Injectable}],b.ctorParameters=function(){return[]};var _={};_.Get=0,_.Post=1,_.Put=2,_.Delete=3,_.Options=4,_.Head=5,_.Patch=6,_[_.Get]="Get",_[_.Post]="Post",_[_.Put]="Put",_[_.Delete]="Delete",_[_.Options]="Options",_[_.Head]="Head",_[_.Patch]="Patch";var w={};w.Unsent=0,w.Open=1,w.HeadersReceived=2,w.Loading=3,w.Done=4,w.Cancelled=5,w[w.Unsent]="Unsent",w[w.Open]="Open",w[w.HeadersReceived]="HeadersReceived",w[w.Loading]="Loading",w[w.Done]="Done",w[w.Cancelled]="Cancelled";var C={};C.Basic=0,C.Cors=1,C.Default=2,C.Error=3,C.Opaque=4,C[C.Basic]="Basic",C[C.Cors]="Cors",C[C.Default]="Default",C[C.Error]="Error",C[C.Opaque]="Opaque";var O={};O.NONE=0,O.JSON=1,O.FORM=2,O.FORM_DATA=3,O.TEXT=4,O.BLOB=5,O.ARRAY_BUFFER=6,O[O.NONE]="NONE",O[O.JSON]="JSON",O[O.FORM]="FORM",O[O.FORM_DATA]="FORM_DATA",O[O.TEXT]="TEXT",O[O.BLOB]="BLOB",O[O.ARRAY_BUFFER]="ARRAY_BUFFER";var E={};E.Text=0,E.Json=1,E.ArrayBuffer=2,E.Blob=3,E[E.Text]="Text",E[E.Json]="Json",E[E.ArrayBuffer]="ArrayBuffer",E[E.Blob]="Blob";var S=function(){function t(e){var n=this;if(this._headers=new Map,this._normalizedNames=new Map,e)return e instanceof t?void e.forEach(function(t,e){t.forEach(function(t){return n.append(e,t)})}):void Object.keys(e).forEach(function(t){var r=Array.isArray(e[t])?e[t]:[e[t]];n.delete(t),r.forEach(function(e){return n.append(t,e)})})}return t.fromResponseHeaderString=function(e){var n=new t;return e.split("\n").forEach(function(t){var e=t.indexOf(":");if(e>0){var r=t.slice(0,e),o=t.slice(e+1).trim();n.set(r,o)}}),n},t.prototype.append=function(t,e){var n=this.getAll(t);null===n?this.set(t,e):n.push(e)},t.prototype.delete=function(t){var e=t.toLowerCase();this._normalizedNames.delete(e),this._headers.delete(e)},t.prototype.forEach=function(t){var e=this;this._headers.forEach(function(n,r){return t(n,e._normalizedNames.get(r),e._headers)})},t.prototype.get=function(t){var e=this.getAll(t);return null===e?null:e.length>0?e[0]:null},t.prototype.has=function(t){return this._headers.has(t.toLowerCase())},t.prototype.keys=function(){return Array.from(this._normalizedNames.values())},t.prototype.set=function(t,e){Array.isArray(e)?e.length&&this._headers.set(t.toLowerCase(),[e.join(",")]):this._headers.set(t.toLowerCase(),[e]),this.mayBeSetNormalizedName(t)},t.prototype.values=function(){return Array.from(this._headers.values())},t.prototype.toJSON=function(){var t=this,e={};return this._headers.forEach(function(n,r){var o=[];n.forEach(function(t){return o.push.apply(o,t.split(","))}),e[t._normalizedNames.get(r)]=o}),e},t.prototype.getAll=function(t){return this.has(t)?this._headers.get(t.toLowerCase())||null:null},t.prototype.entries=function(){throw new Error('"entries" method is not implemented on Headers class')},t.prototype.mayBeSetNormalizedName=function(t){var e=t.toLowerCase();this._normalizedNames.has(e)||this._normalizedNames.set(e,t)},t}(),P=function(){function t(t){void 0===t&&(t={});var e=t.body,n=t.status,r=t.headers,o=t.statusText,i=t.type,a=t.url;this.body=null!=e?e:null,this.status=null!=n?n:null,this.headers=null!=r?r:null,this.statusText=null!=o?o:null,this.type=null!=i?i:null,this.url=null!=a?a:null}return t.prototype.merge=function(e){return new t({body:e&&null!=e.body?e.body:this.body,status:e&&null!=e.status?e.status:this.status,headers:e&&null!=e.headers?e.headers:this.headers,statusText:e&&null!=e.statusText?e.statusText:this.statusText,type:e&&null!=e.type?e.type:this.type,url:e&&null!=e.url?e.url:this.url})},t}(),x=function(t){function e(){return t.call(this,{status:200,statusText:"Ok",type:C.Default,headers:new S})||this}return y.a(e,t),e}(P);x.decorators=[{type:g.Injectable}],x.ctorParameters=function(){return[]};var A=function(){function t(){}return t.prototype.createConnection=function(t){},t}(),T=(function(){function t(){}}(),function(){function t(){}return t.prototype.configureRequest=function(t){},t}()),R=function(t){return t>=200&&t<300},I=function(){function t(){}return t.prototype.encodeKey=function(t){return u(t)},t.prototype.encodeValue=function(t){return u(t)},t}(),k=function(){function t(t,e){void 0===t&&(t=""),void 0===e&&(e=new I),this.rawParams=t,this.queryEncoder=e,this.paramsMap=a(t)}return t.prototype.clone=function(){var e=new t("",this.queryEncoder);return e.appendAll(this),e},t.prototype.has=function(t){return this.paramsMap.has(t)},t.prototype.get=function(t){var e=this.paramsMap.get(t);return Array.isArray(e)?e[0]:null},t.prototype.getAll=function(t){return this.paramsMap.get(t)||[]},t.prototype.set=function(t,e){if(void 0===e||null===e)return void this.delete(t);var n=this.paramsMap.get(t)||[];n.length=0,n.push(e),this.paramsMap.set(t,n)},t.prototype.setAll=function(t){var e=this;t.paramsMap.forEach(function(t,n){var r=e.paramsMap.get(n)||[];r.length=0,r.push(t[0]),e.paramsMap.set(n,r)})},t.prototype.append=function(t,e){if(void 0!==e&&null!==e){var n=this.paramsMap.get(t)||[];n.push(e),this.paramsMap.set(t,n)}},t.prototype.appendAll=function(t){var e=this;t.paramsMap.forEach(function(t,n){for(var r=e.paramsMap.get(n)||[],o=0;o<t.length;++o)r.push(t[o]);e.paramsMap.set(n,r)})},t.prototype.replaceAll=function(t){var e=this;t.paramsMap.forEach(function(t,n){var r=e.paramsMap.get(n)||[];r.length=0;for(var o=0;o<t.length;++o)r.push(t[o]);e.paramsMap.set(n,r)})},t.prototype.toString=function(){var t=this,e=[];return this.paramsMap.forEach(function(n,r){n.forEach(function(n){return e.push(t.queryEncoder.encodeKey(r)+"="+t.queryEncoder.encodeValue(n))})}),e.join("&")},t.prototype.delete=function(t){this.paramsMap.delete(t)},t}(),j=function(){function t(){}return t.prototype.json=function(){return"string"==typeof this._body?JSON.parse(this._body):this._body instanceof ArrayBuffer?JSON.parse(this.text()):this._body},t.prototype.text=function(t){if(void 0===t&&(t="legacy"),this._body instanceof k)return this._body.toString();if(this._body instanceof ArrayBuffer)switch(t){case"legacy":return String.fromCharCode.apply(null,new Uint16Array(this._body));case"iso-8859":return String.fromCharCode.apply(null,new Uint8Array(this._body));default:throw new Error("Invalid value for encodingHint: "+t)}return null==this._body?"":"object"==typeof this._body?JSON.stringify(this._body,null,2):this._body.toString()},t.prototype.arrayBuffer=function(){return this._body instanceof ArrayBuffer?this._body:i(this.text())},t.prototype.blob=function(){if(this._body instanceof Blob)return this._body;if(this._body instanceof ArrayBuffer)return new Blob([this._body]);throw new Error("The request body isn't either a blob or an array buffer")},t}(),N=function(t){function e(e){var n=t.call(this)||this;return n._body=e.body,n.status=e.status,n.ok=n.status>=200&&n.status<=299,n.statusText=e.statusText,n.headers=e.headers,n.type=e.type,n.url=e.url,n}return y.a(e,t),e.prototype.toString=function(){return"Response with status: "+this.status+" "+this.statusText+" for URL: "+this.url},e}(j),M=0,V="__ng_jsonp__",D=null,F=function(){function t(){}return t.prototype.build=function(t){var e=document.createElement("script");return e.src=t,e},t.prototype.nextRequestID=function(){return"__req"+M++},t.prototype.requestCallback=function(t){return V+"."+t+".finished"},t.prototype.exposeConnection=function(t,e){s()[t]=e},t.prototype.removeConnection=function(t){s()[t]=null},t.prototype.send=function(t){document.body.appendChild(t)},t.prototype.cleanup=function(t){t.parentNode&&t.parentNode.removeChild(t)},t}();F.decorators=[{type:g.Injectable}],F.ctorParameters=function(){return[]};var L="JSONP injected script did not invoke callback.",U="JSONP requests must use GET request method.",H=function(){function t(){}return t.prototype.finished=function(t){},t}(),B=function(t){function e(e,n,r){var o=t.call(this)||this;if(o._dom=n,o.baseResponseOptions=r,o._finished=!1,e.method!==_.Get)throw new TypeError(U);return o.request=e,o.response=new v.Observable(function(t){o.readyState=w.Loading;var i=o._id=n.nextRequestID();n.exposeConnection(i,o);var a=n.requestCallback(o._id),u=e.url;u.indexOf("=JSONP_CALLBACK&")>-1?u=u.replace("=JSONP_CALLBACK&","="+a+"&"):u.lastIndexOf("=JSONP_CALLBACK")===u.length-"=JSONP_CALLBACK".length&&(u=u.substring(0,u.length-"=JSONP_CALLBACK".length)+"="+a);var s=o._script=n.build(u),c=function(e){if(o.readyState!==w.Cancelled){if(o.readyState=w.Done,n.cleanup(s),!o._finished){var i=new P({body:L,type:C.Error,url:u});return r&&(i=r.merge(i)),void t.error(new N(i))}var a=new P({body:o._responseData,url:u});o.baseResponseOptions&&(a=o.baseResponseOptions.merge(a)),t.next(new N(a)),t.complete()}},l=function(e){if(o.readyState!==w.Cancelled){o.readyState=w.Done,n.cleanup(s);var i=new P({body:e.message,type:C.Error});r&&(i=r.merge(i)),t.error(new N(i))}};return s.addEventListener("load",c),s.addEventListener("error",l),n.send(s),function(){o.readyState=w.Cancelled,s.removeEventListener("load",c),s.removeEventListener("error",l),o._dom.cleanup(s)}}),o}return y.a(e,t),e.prototype.finished=function(t){this._finished=!0,this._dom.removeConnection(this._id),this.readyState!==w.Cancelled&&(this._responseData=t)},e}(H),q=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y.a(e,t),e}(A),G=function(t){function e(e,n){var r=t.call(this)||this;return r._browserJSONP=e,r._baseResponseOptions=n,r}return y.a(e,t),e.prototype.createConnection=function(t){return new B(t,this._browserJSONP,this._baseResponseOptions)},e}(q);G.decorators=[{type:g.Injectable}],G.ctorParameters=function(){return[{type:F},{type:P}]};var z=/^\)\]\}',?\n/,W=function(){function t(t,e,n){var r=this;this.request=t,this.response=new v.Observable(function(i){var a=e.build();a.open(_[t.method].toUpperCase(),t.url),null!=t.withCredentials&&(a.withCredentials=t.withCredentials);var u=function(){var e=1223===a.status?204:a.status,r=null;204!==e&&"string"==typeof(r=void 0===a.response?a.responseText:a.response)&&(r=r.replace(z,"")),0===e&&(e=r?200:0);var u=S.fromResponseHeaderString(a.getAllResponseHeaders()),s=o(a)||t.url,c=a.statusText||"OK",l=new P({body:r,status:e,headers:u,statusText:c,url:s});null!=n&&(l=n.merge(l));var p=new N(l);if(p.ok=R(e),p.ok)return i.next(p),void i.complete();i.error(p)},s=function(t){var e=new P({body:t,type:C.Error,status:a.status,statusText:a.statusText});null!=n&&(e=n.merge(e)),i.error(new N(e))};if(r.setDetectedContentType(t,a),null==t.headers&&(t.headers=new S),t.headers.has("Accept")||t.headers.append("Accept","application/json, text/plain, */*"),t.headers.forEach(function(t,e){return a.setRequestHeader(e,t.join(","))}),null!=t.responseType&&null!=a.responseType)switch(t.responseType){case E.ArrayBuffer:a.responseType="arraybuffer";break;case E.Json:a.responseType="json";break;case E.Text:a.responseType="text";break;case E.Blob:a.responseType="blob";break;default:throw new Error("The selected responseType is not supported")}return a.addEventListener("load",u),a.addEventListener("error",s),a.send(r.request.getBody()),function(){a.removeEventListener("load",u),a.removeEventListener("error",s),a.abort()}})}return t.prototype.setDetectedContentType=function(t,e){if(null==t.headers||null==t.headers.get("Content-Type"))switch(t.contentType){case O.NONE:break;case O.JSON:e.setRequestHeader("content-type","application/json");break;case O.FORM:e.setRequestHeader("content-type","application/x-www-form-urlencoded;charset=UTF-8");break;case O.TEXT:e.setRequestHeader("content-type","text/plain");break;case O.BLOB:var n=t.blob();n.type&&e.setRequestHeader("content-type",n.type)}},t}(),Z=function(){function t(t,e){void 0===t&&(t="XSRF-TOKEN"),void 0===e&&(e="X-XSRF-TOKEN"),this._cookieName=t,this._headerName=e}return t.prototype.configureRequest=function(t){var e=n.i(m.t)().getCookie(this._cookieName);e&&t.headers.set(this._headerName,e)},t}(),K=function(){function t(t,e,n){this._browserXHR=t,this._baseResponseOptions=e,this._xsrfStrategy=n}return t.prototype.createConnection=function(t){return this._xsrfStrategy.configureRequest(t),new W(t,this._browserXHR,this._baseResponseOptions)},t}();K.decorators=[{type:g.Injectable}],K.ctorParameters=function(){return[{type:b},{type:P},{type:T}]};var Q=function(){function t(t){void 0===t&&(t={});var e=t.method,n=t.headers,o=t.body,i=t.url,a=t.search,u=t.params,s=t.withCredentials,c=t.responseType;this.method=null!=e?r(e):null,this.headers=null!=n?n:null,this.body=null!=o?o:null,this.url=null!=i?i:null,this.params=this._mergeSearchParams(u||a),this.withCredentials=null!=s?s:null,this.responseType=null!=c?c:null}return Object.defineProperty(t.prototype,"search",{get:function(){return this.params},set:function(t){this.params=t},enumerable:!0,configurable:!0}),t.prototype.merge=function(e){return new t({method:e&&null!=e.method?e.method:this.method,headers:e&&null!=e.headers?e.headers:new S(this.headers),body:e&&null!=e.body?e.body:this.body,url:e&&null!=e.url?e.url:this.url,params:e&&this._mergeSearchParams(e.params||e.search),withCredentials:e&&null!=e.withCredentials?e.withCredentials:this.withCredentials,responseType:e&&null!=e.responseType?e.responseType:this.responseType})},t.prototype._mergeSearchParams=function(t){return t?t instanceof k?t.clone():"string"==typeof t?new k(t):this._parseParams(t):this.params},t.prototype._parseParams=function(t){var e=this;void 0===t&&(t={});var n=new k;return Object.keys(t).forEach(function(r){var o=t[r];Array.isArray(o)?o.forEach(function(t){return e._appendParam(r,t,n)}):e._appendParam(r,o,n)}),n},t.prototype._appendParam=function(t,e,n){"string"!=typeof e&&(e=JSON.stringify(e)),n.append(t,e)},t}(),J=function(t){function e(){return t.call(this,{method:_.Get,headers:new S})||this}return y.a(e,t),e}(Q);J.decorators=[{type:g.Injectable}],J.ctorParameters=function(){return[]};var Y=function(t){function e(e){var n=t.call(this)||this,o=e.url;n.url=e.url;var i=e.params||e.search;if(i){var a=void 0;if(a="object"!=typeof i||i instanceof k?i.toString():c(i).toString(),a.length>0){var u="?";-1!=n.url.indexOf("?")&&(u="&"==n.url[n.url.length-1]?"":"&"),n.url=o+u+a}}return n._body=e.body,n.method=r(e.method),n.headers=new S(e.headers),n.contentType=n.detectContentType(),n.withCredentials=e.withCredentials,n.responseType=e.responseType,n}return y.a(e,t),e.prototype.detectContentType=function(){switch(this.headers.get("content-type")){case"application/json":return O.JSON;case"application/x-www-form-urlencoded":return O.FORM;case"multipart/form-data":return O.FORM_DATA;case"text/plain":case"text/html":return O.TEXT;case"application/octet-stream":return this._body instanceof nt?O.ARRAY_BUFFER:O.BLOB;default:return this.detectContentTypeFromBody()}},e.prototype.detectContentTypeFromBody=function(){return null==this._body?O.NONE:this._body instanceof k?O.FORM:this._body instanceof tt?O.FORM_DATA:this._body instanceof et?O.BLOB:this._body instanceof nt?O.ARRAY_BUFFER:this._body&&"object"==typeof this._body?O.JSON:O.TEXT},e.prototype.getBody=function(){switch(this.contentType){case O.JSON:case O.FORM:return this.text();case O.FORM_DATA:return this._body;case O.TEXT:return this.text();case O.BLOB:return this.blob();case O.ARRAY_BUFFER:return this.arrayBuffer();default:return null}},e}(j),$=function(){},X="object"==typeof window?window:$,tt=X.FormData||$,et=X.Blob||$,nt=X.ArrayBuffer||$,rt=function(){function t(t,e){this._backend=t,this._defaultOptions=e}return t.prototype.request=function(t,e){var n;if("string"==typeof t)n=l(this._backend,new Y(p(this._defaultOptions,e,_.Get,t)));else{if(!(t instanceof Y))throw new Error("First argument must be a url string or Request instance.");n=l(this._backend,t)}return n},t.prototype.get=function(t,e){return this.request(new Y(p(this._defaultOptions,e,_.Get,t)))},t.prototype.post=function(t,e,n){return this.request(new Y(p(this._defaultOptions.merge(new Q({body:e})),n,_.Post,t)))},t.prototype.put=function(t,e,n){return this.request(new Y(p(this._defaultOptions.merge(new Q({body:e})),n,_.Put,t)))},t.prototype.delete=function(t,e){return this.request(new Y(p(this._defaultOptions,e,_.Delete,t)))},t.prototype.patch=function(t,e,n){return this.request(new Y(p(this._defaultOptions.merge(new Q({body:e})),n,_.Patch,t)))},t.prototype.head=function(t,e){return this.request(new Y(p(this._defaultOptions,e,_.Head,t)))},t.prototype.options=function(t,e){return this.request(new Y(p(this._defaultOptions,e,_.Options,t)))},t}();rt.decorators=[{type:g.Injectable}],rt.ctorParameters=function(){return[{type:A},{type:Q}]};var ot=function(t){function e(e,n){return t.call(this,e,n)||this}return y.a(e,t),e.prototype.request=function(t,e){if("string"==typeof t&&(t=new Y(p(this._defaultOptions,e,_.Get,t))),!(t instanceof Y))throw new Error("First argument must be a url string or Request instance.");if(t.method!==_.Get)throw new Error("JSONP requests must use GET request method.");return l(this._backend,t)},e}(rt);ot.decorators=[{type:g.Injectable}],ot.ctorParameters=function(){return[{type:A},{type:Q}]};var it=function(){function t(){}return t}();it.decorators=[{type:g.NgModule,args:[{providers:[{provide:rt,useFactory:h,deps:[K,Q]},b,{provide:Q,useClass:J},{provide:P,useClass:x},K,{provide:T,useFactory:f}]}]}],it.ctorParameters=function(){return[]};var at=function(){function t(){}return t}();at.decorators=[{type:g.NgModule,args:[{providers:[{provide:ot,useFactory:d,deps:[q,Q]},F,{provide:Q,useClass:J},{provide:P,useClass:x},{provide:q,useClass:G}]}]}],at.ctorParameters=function(){return[]};new g.Version("4.4.6")},CVNG:function(t,e,n){"use strict";function r(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,0,null,null,4,"button",[["aria-label","Close"],["class","close"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0,o=t.component;if("click"===e){r=!1!==o.closeHandler()&&r}return r},null,null)),(t()(),a["ɵted"](-1,null,["\n "])),(t()(),a["ɵeld"](2,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(t()(),a["ɵted"](-1,null,["×"])),(t()(),a["ɵted"](-1,null,["\n "]))],null,null)}function o(t){return a["ɵvid"](2,[(t()(),a["ɵted"](-1,null,["\n "])),(t()(),a["ɵeld"](1,0,null,null,6,"div",[["role","alert"]],[[8,"className",0]],null,null,null,null)),(t()(),a["ɵted"](-1,null,["\n "])),(t()(),a["ɵand"](16777216,null,null,1,null,r)),a["ɵdid"](4,16384,null,0,u.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),a["ɵted"](-1,null,["\n "])),a["ɵncd"](null,0),(t()(),a["ɵted"](-1,null,["\n "])),(t()(),a["ɵted"](-1,null,["\n "]))],function(t,e){t(e,4,0,e.component.dismissible)},function(t,e){var n=e.component;t(e,1,0,"alert alert-"+n.type+(n.dismissible?" alert-dismissible":""))})}function i(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,0,null,null,1,"ngb-alert",[],null,null,null,o,p)),a["ɵdid"](1,49152,null,0,s.a,[c.a],null,null)],null,null)}var a=n("/oeL"),u=n("qbdv"),s=n("PVMJ"),c=n("nVXb");n.d(e,"c",function(){return p}),e.b=o,n.d(e,"a",function(){return f});var l=[],p=a["ɵcrt"]({encapsulation:2,styles:l,data:{}}),f=a["ɵccf"]("ngb-alert",s.a,i,{dismissible:"dismissible",type:"type"},{close:"close"},["*"])},DP67:function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}var o=n("zijX");e.getSymbolObservable=r,e.observable=r(o.root),e.$$observable=e.observable},Emqh:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(e){t.call(this),this.errors=e;var n=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=n.name="UnsubscriptionError",this.stack=n.stack,this.message=n.message}return r(e,t),e}(Error);e.UnsubscriptionError=o},F9px:function(t,e,n){"use strict";function r(){return function(t){return t.lift(new a(t))}}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.refCount=r;var a=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new u(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),u=function(t){function e(e,n){t.call(this,e),this.connectable=n}return o(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 n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()},e}(i.Subscriber)},Fhmd:function(t,e,n){"use strict";var r=n("jUlM");e.forkJoin=r.ForkJoinObservable.create},GDiU:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=0),function(n){return n.lift(new u(t,e))}}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+"),a=n("3lsR");e.observeOn=r;var u=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.scheduler,this.delay))},t}();e.ObserveOnOperator=u;var s=function(t){function e(e,n,r){void 0===r&&(r=0),t.call(this,e),this.scheduler=n,this.delay=r}return o(e,t),e.dispatch=function(t){var e=t.notification,n=t.destination;e.observe(n),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.add(this.scheduler.schedule(e.dispatch,this.delay,new c(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(a.Notification.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(a.Notification.createError(t))},e.prototype._complete=function(){this.scheduleMessage(a.Notification.createComplete())},e}(i.Subscriber);e.ObserveOnSubscriber=s;var c=function(){function t(t,e){this.notification=t,this.destination=e}return t}();e.ObserveOnMessage=c},GiTH:function(t,e,n){"use strict";function r(t,e){return function(n){return n.lift(new a(t,e,n))}}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.every=r;var a=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.predicate,this.thisArg,this.source))},t}(),u=function(t){function e(e,n,r,o){t.call(this,e),this.predicate=n,this.thisArg=r,this.source=o,this.index=0,this.thisArg=r||this}return o(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(i.Subscriber)},H1KZ:function(t,e,n){"use strict";function r(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new a(t,e,n))}}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.scan=r;var a=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.accumulator,this.seed,this.hasSeed))},t}(),u=function(t){function e(e,n,r,o){t.call(this,e),this.accumulator=n,this._seed=r,this.hasSeed=o,this.index=0}return o(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(i.Subscriber)},H6Sg:function(t,e,n){"use strict";function r(t){return null!=t&&"object"==typeof t}e.isObject=r},Hd11:function(t,e,n){"use strict";function r(t,e){return function(n){return n.lift(new a(t,e))}}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.filter=r;var a=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.predicate,this.thisArg))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.predicate=n,this.thisArg=r,this.count=0}return o(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(i.Subscriber)},HwxE:function(t,e,n){"use strict";function r(){return new u.Subject}function o(){return function(t){return a.refCount()(i.multicast(r)(t))}}var i=n("P02W"),a=n("F9px"),u=n("rlar");e.share=o},I3ay:function(t,e,n){"use strict";function r(){return o.concatAll()(this)}var o=n("NiCh");e.concatAll=r},JwCl:function(t,e,n){"use strict";function r(t,e){return arguments.length>=2?function(n){return u.pipe(o.scan(t,e),i.takeLast(1),a.defaultIfEmpty(e))(n)}:function(e){return u.pipe(o.scan(function(e,n,r){return t(e,n,r+1)}),i.takeLast(1))(e)}}var o=n("H1KZ"),i=n("XvrG"),a=n("PbxL"),u=n("vxPf");e.reduce=r},L8VJ:function(t,e,n){"use strict";function r(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new a(t,e))}}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.map=r;var a=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.thisArg))},t}();e.MapOperator=a;var u=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.count=0,this.thisArg=r||this}return o(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.Subscriber)},LEug:function(t,e,n){"use strict";var r=n("ViUi");e.merge=r.mergeStatic},Lhvy:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){var e=t.call(this,"object unsubscribed");this.name=e.name="ObjectUnsubscribedError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.ObjectUnsubscribedError=o},LiYJ:function(t,e,n){"use strict";e.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},MicL:function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}e.isScheduler=r},NSJx:function(t,e,n){"use strict";e.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},NiCh:function(t,e,n){"use strict";function r(){return o.mergeAll(1)}var o=n("8rcZ");e.concatAll=r},OWbQ:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("NSJx"),i=n("lhZu"),a=n("mUVF"),u=n("mihg"),s=n("TA58"),c=n("wZOE"),l=n("wCVK"),p=n("2B7B"),f=n("bKpL"),h=n("GDiU"),d=n("DP67"),y=function(t){function e(e,n){t.call(this,null),this.ish=e,this.scheduler=n}return r(e,t),e.create=function(t,n){if(null!=t){if("function"==typeof t[d.observable])return t instanceof f.Observable&&!n?t:new e(t,n);if(o.isArray(t))return new c.ArrayObservable(t,n);if(a.isPromise(t))return new u.PromiseObservable(t,n);if("function"==typeof t[p.iterator]||"string"==typeof t)return new s.IteratorObservable(t,n);if(i.isArrayLike(t))return new l.ArrayLikeObservable(t,n)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")},e.prototype._subscribe=function(t){var e=this.ish,n=this.scheduler;return null==n?e[d.observable]().subscribe(t):e[d.observable]().subscribe(new h.ObserveOnSubscriber(t,n,0))},e}(f.Observable);e.FromObservable=y},P02W:function(t,e,n){"use strict";function r(t,e){return function(n){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new i(r,e));var a=Object.create(n,o.connectableObservableDescriptor);return a.source=n,a.subjectFactory=r,a}}var o=n("xKl2");e.multicast=r;var i=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(t);return o.add(e.subscribe(r)),o},t}();e.MulticastOperator=i},PVMJ:function(t,e,n){"use strict";var r=n("/oeL"),o=n("nVXb");n.d(e,"a",function(){return i});var i=function(){function t(t){this.close=new r.EventEmitter,this.dismissible=t.dismissible,this.type=t.type}return t.prototype.closeHandler=function(){this.close.emit(null)},t}();i.decorators=[{type:r.Component,args:[{selector:"ngb-alert",changeDetection:r.ChangeDetectionStrategy.OnPush,template:'\n <div [class]="\'alert alert-\' + type + (dismissible ? \' alert-dismissible\' : \'\')" role="alert">\n <button *ngIf="dismissible" type="button" class="close" aria-label="Close" (click)="closeHandler()">\n <span aria-hidden="true">×</span>\n </button>\n <ng-content></ng-content>\n </div>\n '}]}],i.ctorParameters=function(){return[{type:o.a}]},i.propDecorators={dismissible:[{type:r.Input}],type:[{type:r.Input}],close:[{type:r.Output}]}},PbxL:function(t,e,n){"use strict";function r(t){return void 0===t&&(t=null),function(e){return e.lift(new a(t))}}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.defaultIfEmpty=r;var a=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.defaultValue))},t}(),u=function(t){function e(e,n){t.call(this,e),this.defaultValue=n,this.isEmpty=!0}return o(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(i.Subscriber)},QHK3:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){return e.lift.call(o.apply(void 0,[e].concat(t)))}}function o(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=Number.POSITIVE_INFINITY,r=null,o=t[t.length-1];return s.isScheduler(o)?(r=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof i.Observable?t[0]:u.mergeAll(n)(new a.ArrayObservable(t,r))}var i=n("bKpL"),a=n("wZOE"),u=n("8rcZ"),s=n("MicL");e.merge=r,e.mergeStatic=o},QU9E:function(t,e,n){"use strict";var r=n("mihg");e.fromPromise=r.PromiseObservable.create},RdI5:function(t,e,n){"use strict";function r(){try{return i.apply(this,arguments)}catch(t){return a.errorObject.e=t,a.errorObject}}function o(t){return i=t,r}var i,a=n("XRvs");e.tryCatch=o},"T14+":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("fclq"),i=n("xFbG"),a=n("LiYJ"),u=n("dkwD"),s=function(t){function e(n,r,o){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.empty;break;case 1:if(!n){this.destination=a.empty;break}if("object"==typeof n){n instanceof e?(this.destination=n,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,n,r,o)}}return r(e,t),e.prototype[u.rxSubscriber]=function(){return this},e.create=function(t,n,r){var o=new e(t,n,r);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this,e=t._parent,n=t._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=n,this},e}(i.Subscription);e.Subscriber=s;var c=function(t){function e(e,n,r,i){t.call(this),this._parentSubscriber=e;var u,s=this;o.isFunction(n)?u=n:n&&(u=n.next,r=n.error,i=n.complete,n!==a.empty&&(s=Object.create(n),o.isFunction(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=u,this._error=r,this._complete=i}return r(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),t;e.syncErrorValue=t,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){throw this.unsubscribe(),t}},e.prototype.__tryOrSetError=function(t,e,n){try{e.call(this._context,n)}catch(e){return t.syncErrorValue=e,t.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(s)},TA58:function(t,e,n){"use strict";function r(t){var e=t[l.iterator];if(!e&&"string"==typeof t)return new f(t);if(!e&&void 0!==t.length)return new h(t);if(!e)throw new TypeError("object is not iterable");return t[l.iterator]()}function o(t){var e=+t.length;return isNaN(e)?0:0!==e&&i(e)?(e=a(e)*Math.floor(Math.abs(e)),e<=0?0:e>d?d:e):e}function i(t){return"number"==typeof t&&s.root.isFinite(t)}function a(t){var e=+t;return 0===e?e:isNaN(e)?e:e<0?-1:1}var u=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("zijX"),c=n("bKpL"),l=n("2B7B"),p=function(t){function e(e,n){if(t.call(this),this.scheduler=n,null==e)throw new Error("iterator cannot be null.");this.iterator=r(e)}return u(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.hasError,r=t.iterator,o=t.subscriber;if(n)return void o.error(t.error);var i=r.next();return i.done?void o.complete():(o.next(i.value),t.index=e+1,o.closed?void("function"==typeof r.return&&r.return()):void this.schedule(t))},e.prototype._subscribe=function(t){var n=this,r=n.iterator,o=n.scheduler;if(o)return o.schedule(e.dispatch,0,{index:0,iterator:r,subscriber:t});for(;;){var i=r.next();if(i.done){t.complete();break}if(t.next(i.value),t.closed){"function"==typeof r.return&&r.return();break}}},e}(c.Observable);e.IteratorObservable=p;var f=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=t.length),this.str=t,this.idx=e,this.len=n}return t.prototype[l.iterator]=function(){return this},t.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.str.charAt(this.idx++)}:{done:!0,value:void 0}},t}(),h=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=o(t)),this.arr=t,this.idx=e,this.len=n}return t.prototype[l.iterator]=function(){return this},t.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.arr[this.idx++]}:{done:!0,value:void 0}},t}(),d=Math.pow(2,53)-1},THYR:function(t,e,n){"use strict";function r(t,e){return o.every(t,e)(this)}var o=n("GiTH");e.every=r},TIdC:function(t,e,n){"use strict";function r(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),o.mergeAll(t)(this)}var o=n("8rcZ");e.mergeAll=r},TQn8:function(t,e,n){"use strict";function r(t,e){return o.concatMap(t,e)(this)}var o=n("+FJ1");e.concatMap=r},TpsG:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){var e=t.call(this,"no elements in sequence");this.name=e.name="EmptyError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.EmptyError=o},Tq0x:function(t,e,n){"use strict";function r(t,e){return arguments.length>=2?o.reduce(t,e)(this):o.reduce(t)(this)}var o=n("JwCl");e.reduce=r},ViUi:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return o.merge.apply(void 0,t)(this)}var o=n("QHK3"),i=n("QHK3");e.mergeStatic=i.mergeStatic,e.merge=r},WSkQ:function(t,e,n){"use strict";function r(t,e,n){return o.last(t,e,n)(this)}var o=n("zrH4");e.last=r},XRvs:function(t,e,n){"use strict";e.errorObject={e:{}}},XvrG:function(t,e,n){"use strict";function r(t){return function(e){return 0===t?new u.EmptyObservable:e.lift(new s(t))}}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+"),a=n("uT+d"),u=n("fcnB");e.takeLast=r;var s=function(){function t(t){if(this.total=t,this.total<0)throw new a.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.total))},t}(),c=function(t){function e(e,n){t.call(this,e),this.total=n,this.ring=new Array,this.count=0}return o(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;if(e.length<n)e.push(t);else{e[r%n]=t}},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o<n;o++){var i=e++%n;t.next(r[i])}t.complete()},e}(i.Subscriber)},Yuqz:function(t,e,n){"use strict";function r(t){return t}e.identity=r},Z5ED:function(t,e,n){"use strict";function r(){}e.noop=r},aOKN:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("bKpL"),i=function(t){function e(e,n){t.call(this),this.value=e,this.scheduler=n,this._isScalar=!0,n&&(this._isScalar=!1)}return r(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.done,n=t.value,r=t.subscriber;if(e)return void r.complete();r.next(n),r.closed||(t.done=!0,this.schedule(t))},e.prototype._subscribe=function(t){var n=this.value,r=this.scheduler;if(r)return r.schedule(e.dispatch,0,{done:!1,value:n,subscriber:t});t.next(n),t.closed||t.complete()},e}(o.Observable);e.ScalarObservable=i},bKpL:function(t,e,n){"use strict";var r=n("zijX"),o=n("rf3q"),i=n("DP67"),a=n("vxPf"),u=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,i=o.toSubscriber(t,e,n);if(r?r.call(i,this.source):i.add(this.source?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 n=this;if(e||(r.root.Rx&&r.root.Rx.config&&r.root.Rx.config.Promise?e=r.root.Rx.config.Promise:r.root.Promise&&(e=r.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,r){var o;o=n.subscribe(function(e){if(o)try{t(e)}catch(t){r(t),o.unsubscribe()}else t(e)},r,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<arguments.length;e++)t[e-0]=arguments[e];return 0===t.length?this:a.pipeFromArray(t)(this)},t.prototype.toPromise=function(t){var e=this;if(t||(r.root.Rx&&r.root.Rx.config&&r.root.Rx.config.Promise?t=r.root.Rx.config.Promise:r.root.Promise&&(t=r.root.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})},t.create=function(e){return new t(e)},t}();e.Observable=u},bm2B:function(t,e,n){"use strict";function r(t){return null==t||0===t.length}function o(t){return null!=t}function i(t){var e=n.i(N["ɵisPromise"])(t)?n.i(V.fromPromise)(t):t;if(!n.i(N["ɵisObservable"])(e))throw new Error("Expected validator to return Promise or Observable.");return e}function a(t,e){return e.map(function(e){return e(t)})}function u(t,e){return e.map(function(e){return e(t)})}function s(t){var e=t.reduce(function(t,e){return null!=e?Object.assign({},t,e):t},{});return 0===Object.keys(e).length?null:e}function c(){return/android (\d+)/.test((n.i(F.t)()?n.i(F.t)().getUserAgent():"").toLowerCase())}function l(t){return t.validate?function(e){return t.validate(e)}:t}function p(t){return t.validate?function(e){return t.validate(e)}:t}function f(){throw new Error("unimplemented")}function h(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function d(t){return t.split(":")[0]}function y(t,e){return null==t?""+e:("string"==typeof e&&(e="'"+e+"'"),e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function g(t){return t.split(":")[0]}function v(t,e){return e.path.concat([t])}function m(t,e){t||C(e,"Cannot find control with"),e.valueAccessor||C(e,"No value accessor for form control with"),t.validator=G.compose([t.validator,e.validator]),t.asyncValidator=G.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),e.valueAccessor.registerOnChange(function(n){e.viewToModelUpdate(n),t.markAsDirty(),t.setValue(n,{emitModelToViewChange:!1})}),e.valueAccessor.registerOnTouched(function(){return t.markAsTouched()}),t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)}),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function b(t,e){e.valueAccessor.registerOnChange(function(){return w(e)}),e.valueAccessor.registerOnTouched(function(){return w(e)}),e._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}function _(t,e){null==t&&C(e,"Cannot find control with"),t.validator=G.compose([t.validator,e.validator]),t.asyncValidator=G.composeAsync([t.asyncValidator,e.asyncValidator])}function w(t){return C(t,"There is no FormControl instance attached to form control element with")}function C(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function O(t){return null!=t?G.compose(t.map(l)):null}function E(t){return null!=t?G.composeAsync(t.map(p)):null}function S(t,e){if(!t.hasOwnProperty("model"))return!1;var r=t.model;return!!r.isFirstChange()||!n.i(N["ɵlooseIdentical"])(e,r.currentValue)}function P(t){return pt.some(function(e){return t.constructor===e})}function x(t,e){if(!e)return null;var n=void 0,r=void 0,o=void 0;return e.forEach(function(e){e.constructor===J?n=e:P(e)?(r&&C(t,"More than one built-in value accessor matches form control with"),r=e):(o&&C(t,"More than one custom value accessor matches form control with"),o=e)}),o||(r||(n||(C(t,"No valid value accessor for form control with"),null)))}function A(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(n)),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof bt?t.controls[e]||null:t instanceof _t?t.at(e)||null:null},t))}function T(t){return Array.isArray(t)?O(t):t||null}function R(t){return Array.isArray(t)?E(t):t||null}function I(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function k(t){return!(t instanceof Dt||t instanceof Mt||t instanceof Lt)}Object.defineProperty(e,"__esModule",{value:!0});var j=n("6Xbx"),N=n("/oeL"),M=n("Fhmd"),V=(n.n(M),n("QU9E")),D=(n.n(V),n("lx+J")),F=(n.n(D),n("fc+i"));n.d(e,"AbstractControlDirective",function(){return L}),n.d(e,"AbstractFormGroupDirective",function(){return ft}),n.d(e,"CheckboxControlValueAccessor",function(){return Z}),n.d(e,"ControlContainer",function(){return U}),n.d(e,"NG_VALUE_ACCESSOR",function(){return z}),n.d(e,"COMPOSITION_BUFFER_MODE",function(){return Q}),n.d(e,"DefaultValueAccessor",function(){return J}),n.d(e,"NgControl",function(){return X}),n.d(e,"NgControlStatus",function(){return yt}),n.d(e,"NgControlStatusGroup",function(){return gt}),n.d(e,"NgForm",function(){return Ot}),n.d(e,"NgModel",function(){return Rt}),n.d(e,"NgModelGroup",function(){return xt}),n.d(e,"RadioControlValueAccessor",function(){return nt}),n.d(e,"FormControlDirective",function(){return jt}),n.d(e,"FormControlName",function(){return Ht}),n.d(e,"FormGroupDirective",function(){return Mt}),n.d(e,"FormArrayName",function(){return Lt}),n.d(e,"FormGroupName",function(){return Dt}),n.d(e,"NgSelectOption",function(){return ut}),n.d(e,"SelectControlValueAccessor",function(){return at}),n.d(e,"SelectMultipleControlValueAccessor",function(){return ct}),n.d(e,"CheckboxRequiredValidator",function(){return zt}),n.d(e,"EmailValidator",function(){return Zt}),n.d(e,"MaxLengthValidator",function(){return Yt}),n.d(e,"MinLengthValidator",function(){return Qt}),n.d(e,"PatternValidator",function(){return Xt}),n.d(e,"RequiredValidator",function(){return Gt}),n.d(e,"FormBuilder",function(){return te}),n.d(e,"AbstractControl",function(){return vt}),n.d(e,"FormArray",function(){return _t}),n.d(e,"FormControl",function(){return mt}),n.d(e,"FormGroup",function(){return bt}),n.d(e,"NG_ASYNC_VALIDATORS",function(){return B}),n.d(e,"NG_VALIDATORS",function(){return H}),n.d(e,"Validators",function(){return G}),n.d(e,"VERSION",function(){return ee}),n.d(e,"FormsModule",function(){return ue}),n.d(e,"ReactiveFormsModule",function(){return se}),n.d(e,"ɵba",function(){return ae}),n.d(e,"ɵz",function(){return ie}),n.d(e,"ɵx",function(){return re}),n.d(e,"ɵy",function(){return oe}),n.d(e,"ɵa",function(){return W}),n.d(e,"ɵb",function(){return K}),n.d(e,"ɵc",function(){return ht}),n.d(e,"ɵd",function(){return dt}),n.d(e,"ɵe",function(){return wt}),n.d(e,"ɵf",function(){return At}),n.d(e,"ɵg",function(){return Pt}),n.d(e,"ɵbf",function(){return ne}),n.d(e,"ɵbb",function(){return Y}),n.d(e,"ɵbc",function(){return $}),n.d(e,"ɵh",function(){return tt}),n.d(e,"ɵi",function(){return et}),n.d(e,"ɵbd",function(){return rt}),n.d(e,"ɵbe",function(){return ot}),n.d(e,"ɵj",function(){return kt}),n.d(e,"ɵk",function(){return Ut}),n.d(e,"ɵl",function(){return Nt}),n.d(e,"ɵn",function(){return Ft}),n.d(e,"ɵm",function(){return Vt}),n.d(e,"ɵo",function(){return it}),n.d(e,"ɵq",function(){return lt}),n.d(e,"ɵp",function(){return st}),n.d(e,"ɵs",function(){return qt}),n.d(e,"ɵt",function(){return Wt}),n.d(e,"ɵv",function(){return Jt}),n.d(e,"ɵu",function(){return Kt}),n.d(e,"ɵw",function(){return $t}),n.d(e,"ɵr",function(){return Bt});var L=function(){function t(){}return t.prototype.control=function(){},Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t}(),U=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return j.a(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(L),H=new N.InjectionToken("NgValidators"),B=new N.InjectionToken("NgAsyncValidators"),q=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,G=function(){function t(){}return t.min=function(t){return function(e){if(r(e.value)||r(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}},t.max=function(t){return function(e){if(r(e.value)||r(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return r(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return q.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(r(e.value))return null;var n=e.value?e.value.length:0;return n<t?{minlength:{requiredLength:t,actualLength:n}}:null}},t.maxLength=function(t){return function(e){var n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){if(!e)return t.nullValidator;var n,o;return"string"==typeof e?(o="^"+e+"$",n=new RegExp(o)):(o=e.toString(),n=e),function(t){if(r(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:o,actualValue:e}}}},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(o);return 0==e.length?null:function(t){return s(a(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(o);return 0==e.length?null:function(t){var r=u(t,e).map(i);return D.map.call(n.i(M.forkJoin)(r),s)}},t}(),z=new N.InjectionToken("NgValueAccessor"),W={provide:z,useExisting:n.i(N.forwardRef)(function(){return Z}),multi:!0},Z=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();Z.decorators=[{type:N.Directive,args:[{selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($event.target.checked)","(blur)":"onTouched()"},providers:[W]}]}],Z.ctorParameters=function(){return[{type:N.Renderer2},{type:N.ElementRef}]};var K={provide:z,useExisting:n.i(N.forwardRef)(function(){return J}),multi:!0},Q=new N.InjectionToken("CompositionEventMode"),J=function(){function t(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!c())}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t}();J.decorators=[{type:N.Directive,args:[{selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{"(input)":"_handleInput($event.target.value)","(blur)":"onTouched()","(compositionstart)":"_compositionStart()","(compositionend)":"_compositionEnd($event.target.value)"},providers:[K]}]}],J.ctorParameters=function(){return[{type:N.Renderer2},{type:N.ElementRef},{type:void 0,decorators:[{type:N.Optional},{type:N.Inject,args:[Q]}]}]};var Y={provide:z,useExisting:n.i(N.forwardRef)(function(){return $}),multi:!0},$=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();$.decorators=[{type:N.Directive,args:[{selector:"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[Y]}]}],$.ctorParameters=function(){return[{type:N.Renderer2},{type:N.ElementRef}]};var X=function(t){function e(){var e=t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return j.a(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return f()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return f()},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){},e}(L),tt={provide:z,useExisting:n.i(N.forwardRef)(function(){return nt}),multi:!0},et=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&(t[0]._parent===e._control._parent&&t[1].name===e.name)},t}();et.decorators=[{type:N.Injectable}],et.ctorParameters=function(){return[]};var nt=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(X),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')},t}();nt.decorators=[{type:N.Directive,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[tt]}]}],nt.ctorParameters=function(){return[{type:N.Renderer2},{type:N.ElementRef},{type:et},{type:N.Injector}]},nt.propDecorators={name:[{type:N.Input}],formControlName:[{type:N.Input}],value:[{type:N.Input}]};var rt={provide:z,useExisting:n.i(N.forwardRef)(function(){return ot}),multi:!0},ot=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();ot.decorators=[{type:N.Directive,args:[{selector:"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[rt]}]}],ot.ctorParameters=function(){return[{type:N.Renderer2},{type:N.ElementRef}]};var it={provide:z,useExisting:n.i(N.forwardRef)(function(){return at}),multi:!0},at=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=N["ɵlooseIdentical"]}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=h(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e<n.length;e++){var r=n[e];if(this._compareWith(this._optionMap.get(r),t))return r}return null},t.prototype._getOptionValue=function(t){var e=d(t);return this._optionMap.has(e)?this._optionMap.get(e):t},t}();at.decorators=[{type:N.Directive,args:[{selector:"select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]",host:{"(change)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[it]}]}],at.ctorParameters=function(){return[{type:N.Renderer2},{type:N.ElementRef}]},at.propDecorators={compareWith:[{type:N.Input}]};var ut=function(){function t(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption())}return Object.defineProperty(t.prototype,"ngValue",{set:function(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(h(this.id,t)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{set:function(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)},enumerable:!0,configurable:!0}),t.prototype._setElementValue=function(t){this._renderer.setProperty(this._element.nativeElement,"value",t)},t.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},t}();ut.decorators=[{type:N.Directive,args:[{selector:"option"}]}],ut.ctorParameters=function(){return[{type:N.ElementRef},{type:N.Renderer2},{type:at,decorators:[{type:N.Optional},{type:N.Host}]}]},ut.propDecorators={ngValue:[{type:N.Input,args:["ngValue"]}],value:[{type:N.Input,args:["value"]}]};var st={provide:z,useExisting:n.i(N.forwardRef)(function(){return ct}),multi:!0},ct=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=N["ɵlooseIdentical"]}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e=this;this.value=t;var n;if(Array.isArray(t)){var r=t.map(function(t){return e._getOptionId(t)});n=function(t,e){t._setSelected(r.indexOf(e.toString())>-1)}}else n=function(t,e){t._setSelected(!1)};this._optionMap.forEach(n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i<o.length;i++){var a=o.item(i),u=e._getOptionValue(a.value);r.push(u)}else for(var o=n.options,i=0;i<o.length;i++){var a=o.item(i);if(a.selected){var u=e._getOptionValue(a.value);r.push(u)}}e.value=r,t(r)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(t){var e=(this._idCounter++).toString();return this._optionMap.set(e,t),e},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e<n.length;e++){var r=n[e];if(this._compareWith(this._optionMap.get(r)._value,t))return r}return null},t.prototype._getOptionValue=function(t){var e=g(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t},t}();ct.decorators=[{type:N.Directive,args:[{selector:"select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]",host:{"(change)":"onChange($event.target)","(blur)":"onTouched()"},providers:[st]}]}],ct.ctorParameters=function(){return[{type:N.Renderer2},{type:N.ElementRef}]},ct.propDecorators={compareWith:[{type:N.Input}]};var lt=function(){function t(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption(this))}return Object.defineProperty(t.prototype,"ngValue",{set:function(t){null!=this._select&&(this._value=t,this._setElementValue(y(this.id,t)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{set:function(t){this._select?(this._value=t,this._setElementValue(y(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)},enumerable:!0,configurable:!0}),t.prototype._setElementValue=function(t){this._renderer.setProperty(this._element.nativeElement,"value",t)},t.prototype._setSelected=function(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)},t.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},t}();lt.decorators=[{type:N.Directive,args:[{selector:"option"}]}],lt.ctorParameters=function(){return[{type:N.ElementRef},{type:N.Renderer2},{type:ct,decorators:[{type:N.Optional},{type:N.Host}]}]},lt.propDecorators={ngValue:[{type:N.Input,args:["ngValue"]}],value:[{type:N.Input,args:["value"]}]};var pt=[Z,ot,$,at,ct,nt],ft=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return j.a(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return v(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return O(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return E(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(U),ht=function(){function t(t){this._cd=t}return Object.defineProperty(t.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),t}(),dt={"[class.ng-untouched]":"ngClassUntouched","[class.ng-touched]":"ngClassTouched","[class.ng-pristine]":"ngClassPristine","[class.ng-dirty]":"ngClassDirty","[class.ng-valid]":"ngClassValid","[class.ng-invalid]":"ngClassInvalid","[class.ng-pending]":"ngClassPending"},yt=function(t){function e(e){return t.call(this,e)||this}return j.a(e,t),e}(ht);yt.decorators=[{type:N.Directive,args:[{selector:"[formControlName],[ngModel],[formControl]",host:dt}]}],yt.ctorParameters=function(){return[{type:X,decorators:[{type:N.Self}]}]};var gt=function(t){function e(e){return t.call(this,e)||this}return j.a(e,t),e}(ht);gt.decorators=[{type:N.Directive,args:[{selector:"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]",host:dt}]}],gt.ctorParameters=function(){return[{type:U,decorators:[{type:N.Self}]}]};var vt=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this._pristine=!0,this._touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this._status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this._status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this._status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this._status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this._status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this._status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this._errors},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this._pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this._touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this._touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this._valueChanges},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this._statusChanges},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=T(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=R(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this._touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this._touched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this._pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this._pristine=!0,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this._status="PENDING",this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={}),this._status="DISABLED",this._errors=null,this._forEachChild(function(t){t.disable({onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this._valueChanges.emit(this._value),this._statusChanges.emit(this._status)),this._updateAncestors(!!t.onlySelf),this._onDisabledChange.forEach(function(t){return t(!0)})},t.prototype.enable=function(t){void 0===t&&(t={}),this._status="VALID",this._forEachChild(function(t){t.enable({onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(!!t.onlySelf),this._onDisabledChange.forEach(function(t){return t(!1)})},t.prototype._updateAncestors=function(t){this._parent&&!t&&(this._parent.updateValueAndValidity(),this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.setValue=function(t,e){},t.prototype.patchValue=function(t,e){},t.prototype.reset=function(t,e){},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this._errors=this._runValidator(),this._status=this._calculateStatus(),"VALID"!==this._status&&"PENDING"!==this._status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this._valueChanges.emit(this._value),this._statusChanges.emit(this._status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this._status=this._allControlsDisabled()?"DISABLED":"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this._status="PENDING";var n=i(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return e.setErrors(n,{emitEvent:t})})}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this._errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return A(this,t,".")},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n._errors?n._errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this._status=this._calculateStatus(),t&&this._statusChanges.emit(this._status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this._valueChanges=new N.EventEmitter,this._statusChanges=new N.EventEmitter},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this._errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._updateValue=function(){},t.prototype._forEachChild=function(t){},t.prototype._anyControls=function(t){},t.prototype._allControlsDisabled=function(){},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls(function(e){return e.status===t})},t.prototype._anyControlsDirty=function(){return this._anyControls(function(t){return t.dirty})},t.prototype._anyControlsTouched=function(){return this._anyControls(function(t){return t.touched})},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this._pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this._touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t}(),mt=function(t){function e(e,n,r){void 0===e&&(e=null);var o=t.call(this,T(n),R(r))||this;return o._onChange=[],o._applyFormState(e),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o._initObservables(),o}return j.a(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._value=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(function(t){return t(n._value,!1!==e.emitViewToModelChange)}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this._value,e)},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this._value=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this._value=t},e}(vt),bt=function(t){function e(e,n,r){var o=t.call(this,n||null,r||null)||this;return o.controls=e,o._initObservables(),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return j.a(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach(function(r){n._throwIfControlMissing(r),n.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach(function(r){n.controls[r]&&n.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof mt?e.value:e.getRawValue(),t})},e.prototype._throwIfControlMissing=function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach(function(n){return t(e.controls[n],n)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})},e.prototype._updateValue=function(){this._value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild(function(r,o){n=n||e.contains(o)&&t(r)}),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},function(e,n,r){return(n.enabled||t.disabled)&&(e[r]=n.value),e})},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild(function(t,r){n=e(n,t,r)}),n},e.prototype._allControlsDisabled=function(){for(var t=0,e=Object.keys(this.controls);t<e.length;t++){var n=e[t];if(this.controls[n].enabled)return!1}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(vt),_t=function(t){function e(e,n,r){var o=t.call(this,n||null,r||null)||this;return o.controls=e,o._initObservables(),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return j.a(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof mt?t.value:t.getRawValue()})},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this._value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){for(var t=0,e=this.controls;t<e.length;t++){if(e[t].enabled)return!1}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(vt),wt={provide:U,useExisting:n.i(N.forwardRef)(function(){return Ot})},Ct=Promise.resolve(null),Ot=function(t){function e(e,n){var r=t.call(this)||this;return r._submitted=!1,r.ngSubmit=new N.EventEmitter,r.form=new bt({},O(e),E(n)),r}return j.a(e,t),Object.defineProperty(e.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;Ct.then(function(){var n=e._findContainer(t.path);t._control=n.registerControl(t.name,t.control),m(t.control,t),t.control.updateValueAndValidity({emitEvent:!1})})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;Ct.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.addFormGroup=function(t){var e=this;Ct.then(function(){var n=e._findContainer(t.path),r=new bt({});_(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;Ct.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;Ct.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this._submitted=!0,this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this._submitted=!1},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(U);Ot.decorators=[{type:N.Directive,args:[{selector:"form:not([ngNoForm]):not([formGroup]),ngForm,[ngForm]",providers:[wt],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],Ot.ctorParameters=function(){return[{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[B]}]}]};var Et={formControlName:'\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',formGroupName:'\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',formArrayName:'\n <div [formGroup]="myGroup">\n <div formArrayName="cities">\n <div *ngFor="let city of cityArray.controls; index as i">\n <input [formControlName]="i">\n </div>\n </div>\n </div>\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });',ngModelGroup:'\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',ngModelWithFormGroup:'\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n '},St=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+Et.formControlName+"\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n "+Et.ngModelWithFormGroup)},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+Et.formGroupName+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+Et.ngModelGroup)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+Et.formGroupName+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+Et.ngModelGroup)},t}(),Pt={provide:U,useExisting:n.i(N.forwardRef)(function(){return xt})},xt=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return j.a(e,t),e.prototype._checkParentType=function(){this._parent instanceof e||this._parent instanceof Ot||St.modelGroupParentException()},e}(ft);xt.decorators=[{type:N.Directive,args:[{selector:"[ngModelGroup]",providers:[Pt],exportAs:"ngModelGroup"}]}],xt.ctorParameters=function(){return[{type:U,decorators:[{type:N.Host},{type:N.SkipSelf}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[B]}]}]},xt.propDecorators={name:[{type:N.Input,args:["ngModelGroup"]}]};var At={provide:X,useExisting:n.i(N.forwardRef)(function(){return Rt})},Tt=Promise.resolve(null),Rt=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i._control=new mt,i._registered=!1,i.update=new N.EventEmitter,i._parent=e,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=x(i,o),i}return j.a(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),S(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?v(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return O(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return E(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){m(this._control,this),this._control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof xt)&&this._parent instanceof ft?St.formGroupNameException():this._parent instanceof xt||this._parent instanceof Ot||St.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||St.missingNameException()},e.prototype._updateValue=function(t){var e=this;Tt.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;Tt.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},e}(X);Rt.decorators=[{type:N.Directive,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[At],exportAs:"ngModel"}]}],Rt.ctorParameters=function(){return[{type:U,decorators:[{type:N.Optional},{type:N.Host}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[B]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[z]}]}]},Rt.propDecorators={name:[{type:N.Input}],isDisabled:[{type:N.Input,args:["disabled"]}],model:[{type:N.Input,args:["ngModel"]}],options:[{type:N.Input,args:["ngModelOptions"]}],update:[{type:N.Output,args:["ngModelChange"]}]};var It=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Et.formControlName)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+Et.formGroupName+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+Et.ngModelGroup)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+Et.formControlName)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Et.formGroupName)},t.arrayParentException=function(){throw new Error("formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Et.formArrayName)},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t}(),kt={provide:X,useExisting:n.i(N.forwardRef)(function(){return jt})},jt=function(t){function e(e,n,r){var o=t.call(this)||this;return o.update=new N.EventEmitter,o._rawValidators=e||[],o._rawAsyncValidators=n||[],o.valueAccessor=x(o,r),o}return j.a(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){It.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._isControlChanged(t)&&(m(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),S(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return O(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return E(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._isControlChanged=function(t){return t.hasOwnProperty("form")},e}(X);jt.decorators=[{type:N.Directive,args:[{selector:"[formControl]",providers:[kt],exportAs:"ngForm"}]}],jt.ctorParameters=function(){return[{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[B]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[z]}]}]},jt.propDecorators={form:[{type:N.Input,args:["formControl"]}],model:[{type:N.Input,args:["ngModel"]}],update:[{type:N.Output,args:["ngModelChange"]}],isDisabled:[{type:N.Input,args:["disabled"]}]};var Nt={provide:U,useExisting:n.i(N.forwardRef)(function(){return Mt})},Mt=function(t){function e(e,n){var r=t.call(this)||this;return r._validators=e,r._asyncValidators=n,r._submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new N.EventEmitter,r}return j.a(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return m(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){I(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);_(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);_(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this._submitted=!0,this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this._submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e._control!==n&&(b(e._control,e),n&&m(n,e),e._control=n)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=O(this._validators);this.form.validator=G.compose([this.form.validator,t]);var e=E(this._asyncValidators);this.form.asyncValidator=G.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||It.missingFormException()},e}(U);Mt.decorators=[{type:N.Directive,args:[{selector:"[formGroup]",providers:[Nt],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},exportAs:"ngForm"}]}],Mt.ctorParameters=function(){return[{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[B]}]}]},Mt.propDecorators={form:[{type:N.Input,args:["formGroup"]}],ngSubmit:[{type:N.Output}]};var Vt={provide:U,useExisting:n.i(N.forwardRef)(function(){return Dt})},Dt=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return j.a(e,t),e.prototype._checkParentType=function(){k(this._parent)&&It.groupParentException()},e}(ft);Dt.decorators=[{type:N.Directive,args:[{selector:"[formGroupName]",providers:[Vt]}]}],Dt.ctorParameters=function(){return[{type:U,decorators:[{type:N.Optional},{type:N.Host},{type:N.SkipSelf}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[B]}]}]},Dt.propDecorators={name:[{type:N.Input,args:["formGroupName"]}]};var Ft={provide:U,useExisting:n.i(N.forwardRef)(function(){return Lt})},Lt=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return j.a(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return v(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return O(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return E(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){k(this._parent)&&It.arrayParentException()},e}(U);Lt.decorators=[{type:N.Directive,args:[{selector:"[formArrayName]",providers:[Ft]}]}],Lt.ctorParameters=function(){return[{type:U,decorators:[{type:N.Optional},{type:N.Host},{type:N.SkipSelf}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[B]}]}]},Lt.propDecorators={name:[{type:N.Input,args:["formArrayName"]}]};var Ut={provide:X,useExisting:n.i(N.forwardRef)(function(){return Ht})},Ht=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i._added=!1,i.update=new N.EventEmitter,i._parent=e,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=x(i,o),i}return j.a(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){It.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._added||this._setUpControl(),S(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},Object.defineProperty(e.prototype,"path",{get:function(){return v(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return O(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return E(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof Dt)&&this._parent instanceof ft?It.ngModelGroupException():this._parent instanceof Dt||this._parent instanceof Mt||this._parent instanceof Lt||It.controlParentException()},e.prototype._setUpControl=function(){this._checkParentType(),this._control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},e}(X);Ht.decorators=[{type:N.Directive,args:[{selector:"[formControlName]",providers:[Ut]}]}],Ht.ctorParameters=function(){return[{type:U,decorators:[{type:N.Optional},{type:N.Host},{type:N.SkipSelf}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[B]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[z]}]}]},Ht.propDecorators={name:[{type:N.Input,args:["formControlName"]}],model:[{type:N.Input,args:["ngModel"]}],update:[{type:N.Output,args:["ngModelChange"]}],isDisabled:[{type:N.Input,args:["disabled"]}]};var Bt={provide:H,useExisting:n.i(N.forwardRef)(function(){return Gt}),multi:!0},qt={provide:H,useExisting:n.i(N.forwardRef)(function(){return zt}),multi:!0},Gt=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?G.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t}();Gt.decorators=[{type:N.Directive,args:[{selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",providers:[Bt],host:{"[attr.required]":'required ? "" : null'}}]}],Gt.ctorParameters=function(){return[]},Gt.propDecorators={required:[{type:N.Input}]};var zt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return j.a(e,t),e.prototype.validate=function(t){return this.required?G.requiredTrue(t):null},e}(Gt);zt.decorators=[{type:N.Directive,args:[{selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",providers:[qt],host:{"[attr.required]":'required ? "" : null'}}]}],zt.ctorParameters=function(){return[]};var Wt={provide:H,useExisting:n.i(N.forwardRef)(function(){return Zt}),multi:!0},Zt=function(){function t(){}return Object.defineProperty(t.prototype,"email",{set:function(t){this._enabled=""===t||!0===t||"true"===t,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this._enabled?G.email(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t}();Zt.decorators=[{type:N.Directive,args:[{selector:"[email][formControlName],[email][formControl],[email][ngModel]",providers:[Wt]}]}],Zt.ctorParameters=function(){return[]},Zt.propDecorators={email:[{type:N.Input}]};var Kt={provide:H,useExisting:n.i(N.forwardRef)(function(){return Qt}),multi:!0},Qt=function(){function t(){}return t.prototype.ngOnChanges=function(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null==this.minlength?null:this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=G.minLength(parseInt(this.minlength,10))},t}();Qt.decorators=[{type:N.Directive,args:[{selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[Kt],host:{"[attr.minlength]":"minlength ? minlength : null"}}]}],Qt.ctorParameters=function(){return[]},Qt.propDecorators={minlength:[{type:N.Input}]};var Jt={provide:H,useExisting:n.i(N.forwardRef)(function(){return Yt}),multi:!0},Yt=function(){function t(){}return t.prototype.ngOnChanges=function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null!=this.maxlength?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=G.maxLength(parseInt(this.maxlength,10))},t}();Yt.decorators=[{type:N.Directive,args:[{selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[Jt],host:{"[attr.maxlength]":"maxlength ? maxlength : null"}}]}],Yt.ctorParameters=function(){return[]},Yt.propDecorators={maxlength:[{type:N.Input}]};var $t={provide:H,useExisting:n.i(N.forwardRef)(function(){return Xt}),multi:!0},Xt=function(){function t(){}return t.prototype.ngOnChanges=function(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=G.pattern(this.pattern)},t}();Xt.decorators=[{type:N.Directive,args:[{selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",providers:[$t],host:{"[attr.pattern]":"pattern ? pattern : null"}}]}],Xt.ctorParameters=function(){return[]},Xt.propDecorators={pattern:[{type:N.Input}]};var te=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t),r=null!=e?e.validator:null,o=null!=e?e.asyncValidator:null;return new bt(n,r,o)},t.prototype.control=function(t,e,n){return new mt(t,e,n)},t.prototype.array=function(t,e,n){var r=this,o=t.map(function(t){return r._createControl(t)});return new _t(o,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach(function(r){n[r]=e._createControl(t[r])}),n},t.prototype._createControl=function(t){if(t instanceof mt||t instanceof bt||t instanceof _t)return t;if(Array.isArray(t)){var e=t[0],n=t.length>1?t[1]:null,r=t.length>2?t[2]:null;return this.control(e,n,r)}return this.control(t)},t}();te.decorators=[{type:N.Injectable}],te.ctorParameters=function(){return[]};var ee=new N.Version("4.4.6"),ne=function(){function t(){}return t}();ne.decorators=[{type:N.Directive,args:[{selector:"form:not([ngNoForm]):not([ngNativeValidate])",host:{novalidate:""}}]}],ne.ctorParameters=function(){return[]};var re=[ne,ut,lt,J,$,ot,Z,at,ct,nt,yt,gt,Gt,Qt,Yt,Xt,zt,Zt],oe=[Rt,xt,Ot],ie=[jt,Mt,Ht,Dt,Lt],ae=function(){function t(){}return t}();ae.decorators=[{type:N.NgModule,args:[{declarations:re,exports:re}]}],ae.ctorParameters=function(){return[]};var ue=function(){function t(){}return t}();ue.decorators=[{type:N.NgModule,args:[{declarations:oe,providers:[et],exports:[ae,oe]}]}],ue.ctorParameters=function(){return[]};var se=function(){function t(){}return t}();se.decorators=[{type:N.NgModule,args:[{declarations:[ie],providers:[te,et],exports:[ae,ie]}]}],se.ctorParameters=function(){return[]}},cPhF:function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),o.mergeMap(t,e,n)(this)}var o=n("mjx3");e.mergeMap=r},dkwD:function(t,e,n){"use strict";var r=n("zijX"),o=r.root.Symbol;e.rxSubscriber="function"==typeof o&&"function"==typeof o.for?o.for("rxSubscriber"):"@@rxSubscriber",e.$$rxSubscriber=e.rxSubscriber},fRUx:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},"fc+i":function(t,e,n){"use strict";function r(){return V}function o(t){V||(V=t)}function i(){return G||(G=document.querySelector("base"))?G.getAttribute("href"):null}function a(t){return B||(B=document.createElement("a")),B.setAttribute("href",t),"/"===B.pathname.charAt(0)?B.pathname:"/"+B.pathname}function u(){return!!window.history.pushState}function s(t,e,n){return function(){n.get(N.ApplicationInitStatus).donePromise.then(function(){var n=r();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return n.getAttribute(e,"ng-transition")===t}).forEach(function(t){return n.remove(t)})})}}function c(t,e){$||(N["ɵglobal"].ng=$=N["ɵglobal"].ng||{}),$[t]=e}function l(t){return n.i(N.getDebugNode)(t)}function p(t,e){var n=(t||[]).concat(e||[]);return c(tt,l),c(et,Object.assign({},X,f(n||[]))),function(){return l}}function f(t){return t.reduce(function(t,e){return t[e.name]=e.token,t},{})}function h(t){return ft.replace(lt,t)}function d(t){return pt.replace(lt,t)}function y(t,e,n){for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?y(t,o,n):(o=o.replace(lt,t),n.push(o))}return n}function g(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}function v(t,e){if(t.charCodeAt(0)===yt)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}function m(t){return t=String(t),t.match(Pt)||t.match(xt)?t:(n.i(N.isDevMode)()&&r().log("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function b(t){return t=String(t),t.split(",").map(function(t){return m(t.trim())}).join(", ")}function _(){if(At)return At;Tt=r();var t=Tt.createElement("template");if("content"in t)return t;var e=Tt.createHtmlDocument();if(null==(At=Tt.querySelector(e,"body"))){var n=Tt.createElement("html",e);At=Tt.createElement("body",e),Tt.appendChild(n,At),Tt.appendChild(e,n)}return At}function w(t){for(var e={},n=0,r=t.split(",");n<r.length;n++){e[r[n]]=!0}return e}function C(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n={},r=0,o=t;r<o.length;r++){var i=o[r];for(var a in i)i.hasOwnProperty(a)&&(n[a]=!0)}return n}function O(t,e){if(e&&Tt.contains(t,e))throw new Error("Failed to sanitize html because the element is clobbered: "+Tt.getOuterHTML(t));return e}function E(t){return t.replace(/&/g,"&").replace(Bt,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(qt,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function S(t){Tt.attributeMap(t).forEach(function(e,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||Tt.removeAttribute(t,n)});for(var e=0,n=Tt.childNodesAsList(t);e<n.length;e++){var r=n[e];Tt.isElementNode(r)&&S(r)}}function P(t,e){try{var r=_(),o=e?String(e):"",i=5,a=o;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,o=a,Tt.setInnerHTML(r,o),t.documentMode&&S(r),a=Tt.getInnerHTML(r)}while(o!==a);for(var u=new Ht,s=u.sanitizeChildren(Tt.getTemplateContent(r)||r),c=Tt.getTemplateContent(r)||r,l=0,p=Tt.childNodesAsList(c);l<p.length;l++){var f=p[l];Tt.removeChild(c,f)}return n.i(N.isDevMode)()&&u.sanitizedSomething&&Tt.log("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),s}catch(t){throw At=null,t}}function x(t){for(var e=!0,n=!0,r=0;r<t.length;r++){var o=t.charAt(r);"'"===o&&n?e=!e:'"'===o&&e&&(n=!n)}return e&&n}function A(t){if(!(t=String(t).trim()))return"";var e=t.match(zt);return e&&m(e[1])===e[1]||t.match(Gt)&&x(t)?t:(n.i(N.isDevMode)()&&r().log("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}function T(){q.makeCurrent(),J.init()}function R(){return new N.ErrorHandler}function I(){return document}var k=n("6Xbx"),j=n("qbdv"),N=n("/oeL");n.d(e,"s",function(){return re}),n.d(e,"a",function(){return ne}),n.d(e,"n",function(){return Z}),n.d(e,"o",function(){return Y}),n.d(e,"r",function(){return nt}),n.d(e,"f",function(){return ot}),n.d(e,"j",function(){return it}),n.d(e,"d",function(){return _t}),n.d(e,"e",function(){return wt}),n.d(e,"b",function(){return Wt}),n.d(e,"t",function(){return r}),n.d(e,"l",function(){return ht}),n.d(e,"g",function(){return mt}),n.d(e,"i",function(){return Ct}),n.d(e,"h",function(){return St}),n.d(e,"k",function(){return st}),n.d(e,"m",function(){return ut}),n.d(e,"p",function(){return R}),n.d(e,"q",function(){return p}),n.d(e,"c",function(){return Zt});var M,V=null,D=function(){function t(){this.resourceLoaderType=null}return t.prototype.hasProperty=function(t,e){},t.prototype.setProperty=function(t,e,n){},t.prototype.getProperty=function(t,e){},t.prototype.invoke=function(t,e,n){},t.prototype.logError=function(t){},t.prototype.log=function(t){},t.prototype.logGroup=function(t){},t.prototype.logGroupEnd=function(){},Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t.prototype.contains=function(t,e){},t.prototype.parse=function(t){},t.prototype.querySelector=function(t,e){},t.prototype.querySelectorAll=function(t,e){},t.prototype.on=function(t,e,n){},t.prototype.onAndCancel=function(t,e,n){},t.prototype.dispatchEvent=function(t,e){},t.prototype.createMouseEvent=function(t){},t.prototype.createEvent=function(t){},t.prototype.preventDefault=function(t){},t.prototype.isPrevented=function(t){},t.prototype.getInnerHTML=function(t){},t.prototype.getTemplateContent=function(t){},t.prototype.getOuterHTML=function(t){},t.prototype.nodeName=function(t){},t.prototype.nodeValue=function(t){},t.prototype.type=function(t){},t.prototype.content=function(t){},t.prototype.firstChild=function(t){},t.prototype.nextSibling=function(t){},t.prototype.parentElement=function(t){},t.prototype.childNodes=function(t){},t.prototype.childNodesAsList=function(t){},t.prototype.clearNodes=function(t){},t.prototype.appendChild=function(t,e){},t.prototype.removeChild=function(t,e){},t.prototype.replaceChild=function(t,e,n){},t.prototype.remove=function(t){},t.prototype.insertBefore=function(t,e,n){},t.prototype.insertAllBefore=function(t,e,n){},t.prototype.insertAfter=function(t,e,n){},t.prototype.setInnerHTML=function(t,e){},t.prototype.getText=function(t){},t.prototype.setText=function(t,e){},t.prototype.getValue=function(t){},t.prototype.setValue=function(t,e){},t.prototype.getChecked=function(t){},t.prototype.setChecked=function(t,e){},t.prototype.createComment=function(t){},t.prototype.createTemplate=function(t){},t.prototype.createElement=function(t,e){},t.prototype.createElementNS=function(t,e,n){},t.prototype.createTextNode=function(t,e){},t.prototype.createScriptTag=function(t,e,n){},t.prototype.createStyleElement=function(t,e){},t.prototype.createShadowRoot=function(t){},t.prototype.getShadowRoot=function(t){},t.prototype.getHost=function(t){},t.prototype.getDistributedNodes=function(t){},t.prototype.clone=function(t){},t.prototype.getElementsByClassName=function(t,e){},t.prototype.getElementsByTagName=function(t,e){},t.prototype.classList=function(t){},t.prototype.addClass=function(t,e){},t.prototype.removeClass=function(t,e){},t.prototype.hasClass=function(t,e){},t.prototype.setStyle=function(t,e,n){},t.prototype.removeStyle=function(t,e){},t.prototype.getStyle=function(t,e){},t.prototype.hasStyle=function(t,e,n){},t.prototype.tagName=function(t){},t.prototype.attributeMap=function(t){},t.prototype.hasAttribute=function(t,e){},t.prototype.hasAttributeNS=function(t,e,n){},t.prototype.getAttribute=function(t,e){},t.prototype.getAttributeNS=function(t,e,n){},t.prototype.setAttribute=function(t,e,n){},t.prototype.setAttributeNS=function(t,e,n,r){},t.prototype.removeAttribute=function(t,e){},t.prototype.removeAttributeNS=function(t,e,n){},t.prototype.templateAwareRoot=function(t){},t.prototype.createHtmlDocument=function(){},t.prototype.getBoundingClientRect=function(t){},t.prototype.getTitle=function(t){},t.prototype.setTitle=function(t,e){},t.prototype.elementMatches=function(t,e){},t.prototype.isTemplateElement=function(t){},t.prototype.isTextNode=function(t){},t.prototype.isCommentNode=function(t){},t.prototype.isElementNode=function(t){},t.prototype.hasShadowRoot=function(t){},t.prototype.isShadowRoot=function(t){},t.prototype.importIntoDoc=function(t){},t.prototype.adoptNode=function(t){},t.prototype.getHref=function(t){},t.prototype.getEventKey=function(t){},t.prototype.resolveAndSetHref=function(t,e,n){},t.prototype.supportsDOMEvents=function(){},t.prototype.supportsNativeShadowDOM=function(){},t.prototype.getGlobalEventTarget=function(t,e){},t.prototype.getHistory=function(){},t.prototype.getLocation=function(){},t.prototype.getBaseHref=function(t){},t.prototype.resetBaseElement=function(){},t.prototype.getUserAgent=function(){},t.prototype.setData=function(t,e,n){},t.prototype.getComputedStyle=function(t){},t.prototype.getData=function(t,e){},t.prototype.supportsWebAnimation=function(){},t.prototype.performanceNow=function(){},t.prototype.getAnimationPrefix=function(){},t.prototype.getTransitionEnd=function(){},t.prototype.supportsAnimation=function(){},t.prototype.supportsCookies=function(){},t.prototype.getCookie=function(t){},t.prototype.setCookie=function(t,e){},t}(),F=function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=e.getStyle(n,r[o]+"AnimationName")){e._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(t){null!=e.getStyle(n,t)&&(e._transitionEnd=i[t])})}catch(t){e._animationPrefix=null,e._transitionEnd=null}return e}return k.a(e,t),e.prototype.getDistributedNodes=function(t){return t.getDistributedNodes()},e.prototype.resolveAndSetHref=function(t,e,n){t.href=null==n?e:e+"/../"+n},e.prototype.supportsDOMEvents=function(){return!0},e.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},e.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},e.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},e.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},e}(D),L={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},U={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},H={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","Â":"NumLock"};N["ɵglobal"].Node&&(M=N["ɵglobal"].Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var B,q=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.a(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){o(new e)},e.prototype.hasProperty=function(t,e){return e in t},e.prototype.setProperty=function(t,e,n){t[e]=n},e.prototype.getProperty=function(t,e){return t[e]},e.prototype.invoke=function(t,e,n){t[e].apply(t,n)},e.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},e.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},e.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return L},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return M.call(t,e)},e.prototype.querySelector=function(t,e){return t.querySelector(e)},e.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},e.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},e.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},e.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},e.prototype.createMouseEvent=function(t){var e=document.createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},e.prototype.createEvent=function(t){var e=document.createEvent("Event");return e.initEvent(t,!0,!0),e},e.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},e.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},e.prototype.getInnerHTML=function(t){return t.innerHTML},e.prototype.getTemplateContent=function(t){return"content"in t&&t instanceof HTMLTemplateElement?t.content:null},e.prototype.getOuterHTML=function(t){return t.outerHTML},e.prototype.nodeName=function(t){return t.nodeName},e.prototype.nodeValue=function(t){return t.nodeValue},e.prototype.type=function(t){return t.type},e.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},e.prototype.firstChild=function(t){return t.firstChild},e.prototype.nextSibling=function(t){return t.nextSibling},e.prototype.parentElement=function(t){return t.parentNode},e.prototype.childNodes=function(t){return t.childNodes},e.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),r=0;r<e.length;r++)n[r]=e[r];return n},e.prototype.clearNodes=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},e.prototype.appendChild=function(t,e){t.appendChild(e)},e.prototype.removeChild=function(t,e){t.removeChild(e)},e.prototype.replaceChild=function(t,e,n){t.replaceChild(e,n)},e.prototype.remove=function(t){return t.parentNode&&t.parentNode.removeChild(t),t},e.prototype.insertBefore=function(t,e,n){t.insertBefore(n,e)},e.prototype.insertAllBefore=function(t,e,n){n.forEach(function(n){return t.insertBefore(n,e)})},e.prototype.insertAfter=function(t,e,n){t.insertBefore(n,e.nextSibling)},e.prototype.setInnerHTML=function(t,e){t.innerHTML=e},e.prototype.getText=function(t){return t.textContent},e.prototype.setText=function(t,e){t.textContent=e},e.prototype.getValue=function(t){return t.value},e.prototype.setValue=function(t,e){t.value=e},e.prototype.getChecked=function(t){return t.checked},e.prototype.setChecked=function(t,e){t.checked=e},e.prototype.createComment=function(t){return document.createComment(t)},e.prototype.createTemplate=function(t){var e=document.createElement("template");return e.innerHTML=t,e},e.prototype.createElement=function(t,e){return void 0===e&&(e=document),e.createElement(t)},e.prototype.createElementNS=function(t,e,n){return void 0===n&&(n=document),n.createElementNS(t,e)},e.prototype.createTextNode=function(t,e){return void 0===e&&(e=document),e.createTextNode(t)},e.prototype.createScriptTag=function(t,e,n){void 0===n&&(n=document);var r=n.createElement("SCRIPT");return r.setAttribute(t,e),r},e.prototype.createStyleElement=function(t,e){void 0===e&&(e=document);var n=e.createElement("style");return this.appendChild(n,this.createTextNode(t)),n},e.prototype.createShadowRoot=function(t){return t.createShadowRoot()},e.prototype.getShadowRoot=function(t){return t.shadowRoot},e.prototype.getHost=function(t){return t.host},e.prototype.clone=function(t){return t.cloneNode(!0)},e.prototype.getElementsByClassName=function(t,e){return t.getElementsByClassName(e)},e.prototype.getElementsByTagName=function(t,e){return t.getElementsByTagName(e)},e.prototype.classList=function(t){return Array.prototype.slice.call(t.classList,0)},e.prototype.addClass=function(t,e){t.classList.add(e)},e.prototype.removeClass=function(t,e){t.classList.remove(e)},e.prototype.hasClass=function(t,e){return t.classList.contains(e)},e.prototype.setStyle=function(t,e,n){t.style[e]=n},e.prototype.removeStyle=function(t,e){t.style[e]=""},e.prototype.getStyle=function(t,e){return t.style[e]},e.prototype.hasStyle=function(t,e,n){var r=this.getStyle(t,e)||"";return n?r==n:r.length>0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r<n.length;r++){var o=n[r];e.set(o.name,o.value)}return e},e.prototype.hasAttribute=function(t,e){return t.hasAttribute(e)},e.prototype.hasAttributeNS=function(t,e,n){return t.hasAttributeNS(e,n)},e.prototype.getAttribute=function(t,e){return t.getAttribute(e)},e.prototype.getAttributeNS=function(t,e,n){return t.getAttributeNS(e,n)},e.prototype.setAttribute=function(t,e,n){t.setAttribute(e,n)},e.prototype.setAttributeNS=function(t,e,n,r){t.setAttributeNS(e,n,r)},e.prototype.removeAttribute=function(t,e){t.removeAttribute(e)},e.prototype.removeAttributeNS=function(t,e,n){t.removeAttributeNS(e,n)},e.prototype.templateAwareRoot=function(t){return this.isTemplateElement(t)?this.content(t):t},e.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},e.prototype.getBoundingClientRect=function(t){try{return t.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},e.prototype.getTitle=function(t){return document.title},e.prototype.setTitle=function(t,e){document.title=e||""},e.prototype.elementMatches=function(t,e){return t instanceof HTMLElement&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))},e.prototype.isTemplateElement=function(t){return t instanceof HTMLElement&&"TEMPLATE"==t.nodeName},e.prototype.isTextNode=function(t){return t.nodeType===Node.TEXT_NODE},e.prototype.isCommentNode=function(t){return t.nodeType===Node.COMMENT_NODE},e.prototype.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},e.prototype.hasShadowRoot=function(t){return null!=t.shadowRoot&&t instanceof HTMLElement},e.prototype.isShadowRoot=function(t){return t instanceof DocumentFragment},e.prototype.importIntoDoc=function(t){return document.importNode(this.templateAwareRoot(t),!0)},e.prototype.adoptNode=function(t){return document.adoptNode(t)},e.prototype.getHref=function(t){return t.href},e.prototype.getEventKey=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&H.hasOwnProperty(e)&&(e=H[e]))}return U[e]||e},e.prototype.getGlobalEventTarget=function(t,e){return"window"===e?window:"document"===e?document:"body"===e?document.body:null},e.prototype.getHistory=function(){return window.history},e.prototype.getLocation=function(){return window.location},e.prototype.getBaseHref=function(t){var e=i();return null==e?null:a(e)},e.prototype.resetBaseElement=function(){G=null},e.prototype.getUserAgent=function(){return window.navigator.userAgent},e.prototype.setData=function(t,e,n){this.setAttribute(t,"data-"+e,n)},e.prototype.getData=function(t,e){return this.getAttribute(t,"data-"+e)},e.prototype.getComputedStyle=function(t){return getComputedStyle(t)},e.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},e.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},e.prototype.supportsCookies=function(){return!0},e.prototype.getCookie=function(t){return n.i(j["ɵparseCookieValue"])(document.cookie,t)},e.prototype.setCookie=function(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)},e}(F),G=null,z=j.DOCUMENT,W=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._init(),n}return k.a(e,t),e.prototype._init=function(){this._location=r().getLocation(),this._history=r().getHistory()},Object.defineProperty(e.prototype,"location",{get:function(){return this._location},enumerable:!0,configurable:!0}),e.prototype.getBaseHrefFromDOM=function(){return r().getBaseHref(this._doc)},e.prototype.onPopState=function(t){r().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){r().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(e.prototype,"pathname",{get:function(){return this._location.pathname},set:function(t){this._location.pathname=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this._location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this._location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(t,e,n){u()?this._history.pushState(t,e,n):this._location.hash=n},e.prototype.replaceState=function(t,e,n){u()?this._history.replaceState(t,e,n):this._location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},e}(j.PlatformLocation);W.decorators=[{type:N.Injectable}],W.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Inject,args:[z]}]}]};var Z=function(){function t(t){this._doc=t,this._dom=r()}return t.prototype.addTag=function(t,e){return void 0===e&&(e=!1),t?this._getOrCreateElement(t,e):null},t.prototype.addTags=function(t,e){var n=this;return void 0===e&&(e=!1),t?t.reduce(function(t,r){return r&&t.push(n._getOrCreateElement(r,e)),t},[]):[]},t.prototype.getTag=function(t){return t?this._dom.querySelector(this._doc,"meta["+t+"]"):null},t.prototype.getTags=function(t){if(!t)return[];var e=this._dom.querySelectorAll(this._doc,"meta["+t+"]");return e?[].slice.call(e):[]},t.prototype.updateTag=function(t,e){if(!t)return null;e=e||this._parseSelector(t);var n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)},t.prototype.removeTag=function(t){this.removeTagElement(this.getTag(t))},t.prototype.removeTagElement=function(t){t&&this._dom.remove(t)},t.prototype._getOrCreateElement=function(t,e){if(void 0===e&&(e=!1),!e){var n=this._parseSelector(t),r=this.getTag(n);if(r&&this._containsAttributes(t,r))return r}var o=this._dom.createElement("meta");this._setMetaElementAttributes(t,o);var i=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(i,o),o},t.prototype._setMetaElementAttributes=function(t,e){var n=this;return Object.keys(t).forEach(function(r){return n._dom.setAttribute(e,r,t[r])}),e},t.prototype._parseSelector=function(t){var e=t.name?"name":"property";return e+'="'+t[e]+'"'},t.prototype._containsAttributes=function(t,e){var n=this;return Object.keys(t).every(function(r){return n._dom.getAttribute(e,r)===t[r]})},t}();Z.decorators=[{type:N.Injectable}],Z.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Inject,args:[z]}]}]};var K=new N.InjectionToken("TRANSITION_ID"),Q=[{provide:N.APP_INITIALIZER,useFactory:s,deps:[K,z,N.Injector],multi:!0}],J=function(){function t(){}return t.init=function(){n.i(N.setTestabilityGetter)(new t)},t.prototype.addToWindow=function(t){N["ɵglobal"].getAngularTestability=function(e,n){void 0===n&&(n=!0);var r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},N["ɵglobal"].getAllAngularTestabilities=function(){return t.getAllTestabilities()},N["ɵglobal"].getAllAngularRootElements=function(){return t.getAllRootElements()};var e=function(t){var e=N["ɵglobal"].getAllAngularTestabilities(),n=e.length,r=!1,o=function(e){r=r||e,0==--n&&t(r)};e.forEach(function(t){t.whenStable(o)})};N["ɵglobal"].frameworkStabilizers||(N["ɵglobal"].frameworkStabilizers=[]),N["ɵglobal"].frameworkStabilizers.push(e)},t.prototype.findTestabilityInTree=function(t,e,n){if(null==e)return null;var o=t.getTestability(e);return null!=o?o:n?r().isShadowRoot(e)?this.findTestabilityInTree(t,r().getHost(e),!0):this.findTestabilityInTree(t,r().parentElement(e),!0):null},t}(),Y=function(){function t(t){this._doc=t}return t.prototype.getTitle=function(){return r().getTitle(this._doc)},t.prototype.setTitle=function(t){r().setTitle(this._doc,t)},t}();Y.decorators=[{type:N.Injectable}],Y.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Inject,args:[z]}]}]};var $,X={ApplicationRef:N.ApplicationRef,NgZone:N.NgZone},tt="probe",et="coreTokens",nt=function(){function t(t,e){this.name=t,this.token=e}return t}(),rt=[{provide:N.APP_INITIALIZER,useFactory:p,deps:[[nt,new N.Optional],[N.NgProbeToken,new N.Optional]],multi:!0}],ot=new N.InjectionToken("EventManagerPlugins"),it=function(){function t(t,e){var n=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach(function(t){return t.manager=n}),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(t))return this._eventNameToPlugin.set(t,o),o}throw new Error("No event manager plugin found for event "+t)},t}();it.decorators=[{type:N.Injectable}],it.ctorParameters=function(){return[{type:Array,decorators:[{type:N.Inject,args:[ot]}]},{type:N.NgZone}]};var at=function(){function t(t){this._doc=t}return t.prototype.supports=function(t){},t.prototype.addEventListener=function(t,e,n){},t.prototype.addGlobalEventListener=function(t,e,n){var o=r().getGlobalEventTarget(this._doc,t);if(!o)throw new Error("Unsupported event target "+o+" for event "+e);return this.addEventListener(o,e,n)},t}(),ut=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t}();ut.decorators=[{type:N.Injectable}],ut.ctorParameters=function(){return[]};var st=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return k.a(e,t),e.prototype._addStylesToHost=function(t,e){var n=this;t.forEach(function(t){var r=n._doc.createElement("style");r.textContent=t,n._styleNodes.add(e.appendChild(r))})},e.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},e.prototype.removeHost=function(t){this._hostNodes.delete(t)},e.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach(function(n){return e._addStylesToHost(t,n)})},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(t){return r().remove(t)})},e}(ut);st.decorators=[{type:N.Injectable}],st.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Inject,args:[z]}]}]};var ct={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},lt=/%COMP%/g,pt="_nghost-%COMP%",ft="_ngcontent-%COMP%",ht=function(){function t(t,e){this.eventManager=t,this.sharedStylesHost=e,this.rendererByCompId=new Map,this.defaultRenderer=new dt(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case N.ViewEncapsulation.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new gt(this.eventManager,this.sharedStylesHost,e),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case N.ViewEncapsulation.Native:return new vt(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var r=y(e.id,e.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t}();ht.decorators=[{type:N.Injectable}],ht.ctorParameters=function(){return[{type:it},{type:st}]};var dt=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS(ct[e],t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,n){t&&t.insertBefore(e,n)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t){var e="string"==typeof t?document.querySelector(t):t;if(!e)throw new Error('The selector "'+t+'" did not match any elements');return e.textContent="",e},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,n,r){if(r){e=r+":"+e;var o=ct[r];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var r=ct[n];r?t.removeAttributeNS(r,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,n,r){r&N.RendererStyleFlags2.DashCase?t.style.setProperty(e,n,r&N.RendererStyleFlags2.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&N.RendererStyleFlags2.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){v(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return v(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,g(n)):this.eventManager.addEventListener(t,e,g(n))},t}(),yt="@".charCodeAt(0),gt=function(t){function e(e,n,r){var o=t.call(this,e)||this;o.component=r;var i=y(r.id,r.styles,[]);return n.addStyles(i),o.contentAttr=h(r.id),o.hostAttr=d(r.id),o}return k.a(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,n){var r=t.prototype.createElement.call(this,e,n);return t.prototype.setAttribute.call(this,r,this.contentAttr,""),r},e}(dt),vt=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;i.sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var a=y(o.id,o.styles,[]),u=0;u<a.length;u++){var s=document.createElement("style");s.textContent=a[u],i.shadowRoot.appendChild(s)}return i}return k.a(e,t),e.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,n){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.insertBefore=function(e,n,r){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),n,r)},e.prototype.removeChild=function(e,n){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(dt),mt=function(t){function e(e){return t.call(this,e)||this}return k.a(e,t),e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,n){return t.addEventListener(e,n,!1),function(){return t.removeEventListener(e,n,!1)}},e}(at);mt.decorators=[{type:N.Injectable}],mt.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Inject,args:[z]}]}]};var bt={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},_t=new N.InjectionToken("HammerGestureConfig"),wt=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(var n in this.overrides)e.get(n).set(this.overrides[n]);return e},t}();wt.decorators=[{type:N.Injectable}],wt.ctorParameters=function(){return[]};var Ct=function(t){function e(e,n){var r=t.call(this,e)||this;return r._config=n,r}return k.a(e,t),e.prototype.supports=function(t){if(!bt.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t))return!1;if(!window.Hammer)throw new Error("Hammer.js is not loaded, can not bind "+t+" event");return!0},e.prototype.addEventListener=function(t,e,n){var r=this,o=this.manager.getZone();return e=e.toLowerCase(),o.runOutsideAngular(function(){var i=r._config.buildHammer(t),a=function(t){o.runGuarded(function(){n(t)})};return i.on(e,a),function(){return i.off(e,a)}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e}(at);Ct.decorators=[{type:N.Injectable}],Ct.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Inject,args:[z]}]},{type:wt,decorators:[{type:N.Inject,args:[_t]}]}]};var Ot=["alt","control","meta","shift"],Et={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},St=function(t){function e(e){return t.call(this,e)||this}return k.a(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,o){var i=e.parseEventName(n),a=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return r().onAndCancel(t,i.domEventName,a)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=e._normalizeKey(n.pop()),i="";if(Ot.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=o,0!=n.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},e.getEventFullKey=function(t){var e="",n=r().getEventKey(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Ot.forEach(function(r){if(r!=n){(0,Et[r])(t)&&(e+=r+".")}}),e+=n},e.eventCallback=function(t,n,r){return function(o){e.getEventFullKey(o)===t&&r.runGuarded(function(){return n(o)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(at);St.decorators=[{type:N.Injectable}],St.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Inject,args:[z]}]}]};var Pt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,xt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,At=null,Tt=null,Rt=w("area,br,col,hr,img,wbr"),It=w("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),kt=w("rp,rt"),jt=C(kt,It),Nt=C(It,w("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")),Mt=C(kt,w("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")),Vt=C(Rt,Nt,Mt,jt),Dt=w("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ft=w("srcset"),Lt=w("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"),Ut=C(Dt,Ft,Lt),Ht=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(Tt.isElementNode(e)?this.startElement(e):Tt.isTextNode(e)?this.chars(Tt.nodeValue(e)):this.sanitizedSomething=!0,Tt.firstChild(e))e=Tt.firstChild(e);else for(;e;){Tt.isElementNode(e)&&this.endElement(e);var n=O(e,Tt.nextSibling(e));if(n){e=n;break}e=O(e,Tt.parentElement(e))}return this.buf.join("")},t.prototype.startElement=function(t){var e=this,n=Tt.nodeName(t).toLowerCase();if(!Vt.hasOwnProperty(n))return void(this.sanitizedSomething=!0);this.buf.push("<"),this.buf.push(n),Tt.attributeMap(t).forEach(function(t,n){var r=n.toLowerCase();if(!Ut.hasOwnProperty(r))return void(e.sanitizedSomething=!0);Dt[r]&&(t=m(t)),Ft[r]&&(t=b(t)),e.buf.push(" "),e.buf.push(n),e.buf.push('="'),e.buf.push(E(t)),e.buf.push('"')}),this.buf.push(">")},t.prototype.endElement=function(t){var e=Tt.nodeName(t).toLowerCase();Vt.hasOwnProperty(e)&&!Rt.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(E(t))},t}(),Bt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qt=/([^\#-~ |!])/g,Gt=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),zt=/^url\(([^)]+)\)$/,Wt=function(){function t(){}return t.prototype.sanitize=function(t,e){},t.prototype.bypassSecurityTrustHtml=function(t){},t.prototype.bypassSecurityTrustStyle=function(t){},t.prototype.bypassSecurityTrustScript=function(t){},t.prototype.bypassSecurityTrustUrl=function(t){},t.prototype.bypassSecurityTrustResourceUrl=function(t){},t}(),Zt=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return k.a(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case N.SecurityContext.NONE:return e;case N.SecurityContext.HTML:return e instanceof Qt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),P(this._doc,String(e)));case N.SecurityContext.STYLE:return e instanceof Jt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),A(e));case N.SecurityContext.SCRIPT:if(e instanceof Yt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case N.SecurityContext.URL:return e instanceof Xt||e instanceof $t?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),m(String(e)));case N.SecurityContext.RESOURCE_URL:if(e instanceof Xt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof Kt)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new Qt(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new Jt(t)},e.prototype.bypassSecurityTrustScript=function(t){return new Yt(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new $t(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new Xt(t)},e}(Wt);Zt.decorators=[{type:N.Injectable}],Zt.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Inject,args:[z]}]}]};var Kt=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.getTypeName=function(){},t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),Qt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.a(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(Kt),Jt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.a(e,t),e.prototype.getTypeName=function(){return"Style"},e}(Kt),Yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.a(e,t),e.prototype.getTypeName=function(){return"Script"},e}(Kt),$t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.a(e,t),e.prototype.getTypeName=function(){return"URL"},e}(Kt),Xt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.a(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(Kt),te=[{provide:N.PLATFORM_ID,useValue:j["ɵPLATFORM_BROWSER_ID"]},{provide:N.PLATFORM_INITIALIZER,useValue:T,multi:!0},{provide:j.PlatformLocation,useClass:W},{provide:z,useFactory:I,deps:[]}],ee=[{provide:N.Sanitizer,useExisting:Wt},{provide:Wt,useClass:Zt}],ne=n.i(N.createPlatformFactory)(N.platformCore,"browser",te),re=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:N.APP_ID,useValue:e.appId},{provide:K,useExisting:N.APP_ID},Q]}},t}();re.decorators=[{type:N.NgModule,args:[{providers:[ee,{provide:N.ErrorHandler,useFactory:R,deps:[]},{provide:ot,useClass:mt,multi:!0},{provide:ot,useClass:St,multi:!0},{provide:ot,useClass:Ct,multi:!0},{provide:_t,useClass:wt},ht,{provide:N.RendererFactory2,useExisting:ht},{provide:ut,useExisting:st},st,N.Testability,it,rt,Z,Y],exports:[j.CommonModule,N.ApplicationModule]}]}],re.ctorParameters=function(){return[{type:re,decorators:[{type:N.Optional},{type:N.SkipSelf}]}]};var oe="undefined"!=typeof window&&window||{},ie=function(){function t(t,e){this.msPerTick=t,this.numTicks=e}return t}();(function(){function t(t){this.appRef=t.injector.get(N.ApplicationRef)}t.prototype.timeChangeDetection=function(t){var e=t&&t.record,n=null!=oe.console.profile;e&&n&&oe.console.profile("Change Detection");for(var o=r().performanceNow(),i=0;i<5||r().performanceNow()-o<500;)this.appRef.tick(),i++;var a=r().performanceNow();e&&n&&oe.console.profileEnd("Change Detection");var u=(a-o)/i;return oe.console.log("ran "+i+" change detection cycles"),oe.console.log(u.toFixed(2)+" ms per check"),new ie(u,i)}})(),function(){function t(){}t.all=function(){return function(t){return!0}},t.css=function(t){return function(e){return null!=e.nativeElement&&r().elementMatches(e.nativeElement,t)}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}}}(),new N.Version("4.4.6")},fclq:function(t,e,n){"use strict";function r(t){return"function"==typeof t}e.isFunction=r},fcnB:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("bKpL"),i=function(t){function e(e){t.call(this),this.scheduler=e}return r(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){t.subscriber.complete()},e.prototype._subscribe=function(t){var n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{subscriber:t});t.complete()},e}(o.Observable);e.EmptyObservable=i},g0Kb:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("xFbG"),i=function(t){function e(e,n){t.call(this),this.subject=e,this.subscriber=n,this.closed=!1}return r(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 n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(o.Subscription);e.SubjectSubscription=i},g1RG:function(t,e,n){"use strict";function r(t){return function(e){var n=new u(t),r=e.lift(n);return n.caught=r}}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("yW9Z"),a=n("ktfo");e.catchError=r;var u=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.selector,this.caught))},t}(),s=function(t){function e(e,n,r){t.call(this,e),this.selector=n,this.caught=r}return o(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle(),this.add(a.subscribeToResult(this,n))}},e}(i.OuterSubscriber)},gvep:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("rlar"),i=n("Lhvy"),a=function(t){function e(e){t.call(this),this._value=e}return r(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.ObjectUnsubscribedError;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(o.Subject);e.BehaviorSubject=a},jUlM:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("bKpL"),i=n("fcnB"),a=n("NSJx"),u=n("ktfo"),s=n("yW9Z"),c=function(t){function e(e,n){t.call(this),this.sources=e,this.resultSelector=n}return r(e,t),e.create=function(){for(var t=[],n=0;n<arguments.length;n++)t[n-0]=arguments[n];if(null===t||0===arguments.length)return new i.EmptyObservable;var r=null;return"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&a.isArray(t[0])&&(t=t[0]),0===t.length?new i.EmptyObservable:new e(t,r)},e.prototype._subscribe=function(t){return new l(t,this.sources,this.resultSelector)},e}(o.Observable);e.ForkJoinObservable=c;var l=function(t){function e(e,n,r){t.call(this,e),this.sources=n,this.resultSelector=r,this.completed=0,this.haveValues=0;var o=n.length;this.total=o,this.values=new Array(o);for(var i=0;i<o;i++){var a=n[i],s=u.subscribeToResult(this,a,null,i);s&&(s.outerIndex=i,this.add(s))}}return r(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.values[n]=e,o._hasValue||(o._hasValue=!0,this.haveValues++)},e.prototype.notifyComplete=function(t){var e=this.destination,n=this,r=n.haveValues,o=n.resultSelector,i=n.values,a=i.length;if(!t._hasValue)return void e.complete();if(++this.completed===a){if(r===a){var u=o?o.apply(this,i):i;e.next(u)}e.complete()}},e}(s.OuterSubscriber)},kWk1:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+"),i=function(t){function e(e,n,r){t.call(this),this.parent=e,this.outerValue=n,this.outerIndex=r,this.index=0}return r(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(o.Subscriber);e.InnerSubscriber=i},ktfo:function(t,e,n){"use strict";function r(t,e,n,r){var f=new l.InnerSubscriber(t,n,r);if(f.closed)return null;if(e instanceof s.Observable)return e._isScalar?(f.next(e.value),f.complete(),null):(f.syncErrorThrowable=!0,e.subscribe(f));if(i.isArrayLike(e)){for(var h=0,d=e.length;h<d&&!f.closed;h++)f.next(e[h]);f.closed||f.complete()}else{if(a.isPromise(e))return e.then(function(t){f.closed||(f.next(t),f.complete())},function(t){return f.error(t)}).then(null,function(t){o.root.setTimeout(function(){throw t})}),f;if(e&&"function"==typeof e[c.iterator])for(var y=e[c.iterator]();;){var g=y.next();if(g.done){f.complete();break}if(f.next(g.value),f.closed)break}else if(e&&"function"==typeof e[p.observable]){var v=e[p.observable]();if("function"==typeof v.subscribe)return v.subscribe(new l.InnerSubscriber(t,n,r));f.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var m=u.isObject(e)?"an invalid object":"'"+e+"'",b="You provided "+m+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";f.error(new TypeError(b))}}return null}var o=n("zijX"),i=n("lhZu"),a=n("mUVF"),u=n("H6Sg"),s=n("bKpL"),c=n("2B7B"),l=n("kWk1"),p=n("DP67");e.subscribeToResult=r},lhZu:function(t,e,n){"use strict";e.isArrayLike=function(t){return t&&"number"==typeof t.length}},"lx+J":function(t,e,n){"use strict";function r(t,e){return o.map(t,e)(this)}var o=n("L8VJ");e.map=r},mUVF:function(t,e,n){"use strict";function r(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}e.isPromise=r},mihg:function(t,e,n){"use strict";function r(t){var e=t.value,n=t.subscriber;n.closed||(n.next(e),n.complete())}function o(t){var e=t.err,n=t.subscriber;n.closed||n.error(e)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=n("zijX"),u=n("bKpL"),s=function(t){function e(e,n){t.call(this),this.promise=e,this.scheduler=n}return i(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e=this,n=this.promise,i=this.scheduler;if(null==i)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){a.root.setTimeout(function(){throw t})});else if(this._isScalar){if(!t.closed)return i.schedule(r,0,{value:this.value,subscriber:t})}else n.then(function(n){e.value=n,e._isScalar=!0,t.closed||t.add(i.schedule(r,0,{value:n,subscriber:t}))},function(e){t.closed||t.add(i.schedule(o,0,{err:e,subscriber:t}))}).then(null,function(t){a.root.setTimeout(function(){throw t})})},e}(u.Observable);e.PromiseObservable=s},mjx3:function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(r){return"number"==typeof e&&(n=e,e=null),r.lift(new u(t,e,n))}}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("ktfo"),a=n("yW9Z");e.mergeMap=r;var u=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.project,this.resultSelector,this.concurrent))},t}();e.MergeMapOperator=u;var s=function(t){function e(e,n,r,o){void 0===o&&(o=Number.POSITIVE_INFINITY),t.call(this,e),this.project=n,this.resultSelector=r,this.concurrent=o,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return o(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){this.add(i.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,o){this.resultSelector?this._notifyResultSelector(t,e,n,r):this.destination.next(e)},e.prototype._notifyResultSelector=function(t,e,n,r){var o;try{o=this.resultSelector(t,e,n,r)}catch(t){return void this.destination.error(t)}this.destination.next(o)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(a.OuterSubscriber);e.MergeMapSubscriber=s},nVXb:function(t,e,n){"use strict";var r=n("/oeL");n.d(e,"a",function(){return o});var o=function(){function t(){this.dismissible=!0,this.type="warning"}return t}();o.decorators=[{type:r.Injectable}],o.ctorParameters=function(){return[]}},qbdv:function(t,e,n){"use strict";function r(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}function o(t){return t.replace(/\/index.html$/,"")}function i(t,e,n){var r="="+t;if(e.indexOf(r)>-1)return r;if(r=n.getPluralCategory(t),e.indexOf(r)>-1)return r;if(e.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+t+'"')}function a(t,e){"string"==typeof e&&(e=parseInt(e,10));var n=e,r=n.toString().replace(/^[^.]*\.?/,""),o=Math.floor(Math.abs(n)),i=r.length,a=parseInt(r,10),u=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(t.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?G.One:G.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?G.One:G.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===n?G.One:G.Other;case"ar":return 0===n?G.Zero:1===n?G.One:2===n?G.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?G.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?G.Many:G.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===o&&0===i?G.One:G.Other;case"be":return n%10==1&&n%100!=11?G.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?G.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?G.Many:G.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?G.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?G.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?G.Few:0!==n&&n%1e6==0?G.Many:G.Other;case"bs":case"hr":case"sr":return 0===i&&o%10==1&&o%100!=11||a%10==1&&a%100!=11?G.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)||a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?G.Few:G.Other;case"cs":case"sk":return 1===o&&0===i?G.One:o===Math.floor(o)&&o>=2&&o<=4&&0===i?G.Few:0!==i?G.Many:G.Other;case"cy":return 0===n?G.Zero:1===n?G.One:2===n?G.Two:3===n?G.Few:6===n?G.Many:G.Other;case"da":return 1===n||0!==u&&(0===o||1===o)?G.One:G.Other;case"dsb":case"hsb":return 0===i&&o%100==1||a%100==1?G.One:0===i&&o%100==2||a%100==2?G.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4?G.Few:G.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?G.One:G.Other;case"fil":return 0===i&&(1===o||2===o||3===o)||0===i&&o%10!=4&&o%10!=6&&o%10!=9||0!==i&&a%10!=4&&a%10!=6&&a%10!=9?G.One:G.Other;case"ga":return 1===n?G.One:2===n?G.Two:n===Math.floor(n)&&n>=3&&n<=6?G.Few:n===Math.floor(n)&&n>=7&&n<=10?G.Many:G.Other;case"gd":return 1===n||11===n?G.One:2===n||12===n?G.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?G.Few:G.Other;case"gv":return 0===i&&o%10==1?G.One:0===i&&o%10==2?G.Two:0!==i||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==i?G.Many:G.Other:G.Few;case"he":return 1===o&&0===i?G.One:2===o&&0===i?G.Two:0!==i||n>=0&&n<=10||n%10!=0?G.Other:G.Many;case"is":return 0===u&&o%10==1&&o%100!=11||0!==u?G.One:G.Other;case"ksh":return 0===n?G.Zero:1===n?G.One:G.Other;case"kw":case"naq":case"se":case"smn":return 1===n?G.One:2===n?G.Two:G.Other;case"lag":return 0===n?G.Zero:0!==o&&1!==o||0===n?G.Other:G.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?G.Few:0!==a?G.Many:G.Other:G.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===i&&a%100===Math.floor(a%100)&&a%100>=11&&a%100<=19?G.Zero:n%10==1&&n%100!=11||2===i&&a%10==1&&a%100!=11||2!==i&&a%10==1?G.One:G.Other;case"mk":return 0===i&&o%10==1||a%10==1?G.One:G.Other;case"mt":return 1===n?G.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?G.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?G.Many:G.Other;case"pl":return 1===o&&0===i?G.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?G.Few:0===i&&1!==o&&o%10===Math.floor(o%10)&&o%10>=0&&o%10<=1||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=12&&o%100<=14?G.Many:G.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?G.One:G.Other;case"ro":return 1===o&&0===i?G.One:0!==i||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?G.Few:G.Other;case"ru":case"uk":return 0===i&&o%10==1&&o%100!=11?G.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?G.Few:0===i&&o%10==0||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=14?G.Many:G.Other;case"shi":return 0===o||1===n?G.One:n===Math.floor(n)&&n>=2&&n<=10?G.Few:G.Other;case"si":return 0===n||1===n||0===o&&1===a?G.One:G.Other;case"sl":return 0===i&&o%100==1?G.One:0===i&&o%100==2?G.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==i?G.Few:G.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?G.One:G.Other;default:return G.Other}}function u(t,e){e=encodeURIComponent(e);for(var n=0,r=t.split(";");n<r.length;n++){var o=r[n],i=o.indexOf("="),a=-1==i?[o,""]:[o.slice(0,i),o.slice(i+1)],u=a[0],s=a[1];if(u.trim()===e)return decodeURIComponent(s)}return null}function s(t){return t.name||typeof t}function c(t,e){return Error("InvalidPipeArgument: '"+e+"' for pipe '"+n.i(N["ɵstringify"])(t)+"'")}function l(t){return t?t[0].toUpperCase()+t.substr(1).toLowerCase():t}function p(t){return function(e,n){var r=t(e,n);return 1==r.length?"0"+r:r}}function f(t){return function(e,n){return t(e,n).split(" ")[0]}}function h(t,e,n){return new Intl.DateTimeFormat(e,n).format(t).replace(/[\u200e\u200f]/g,"")}function d(t){var e={hour:"2-digit",hour12:!1,timeZoneName:t};return function(t,n){var r=h(t,n,e);return r?r.substring(3):""}}function y(t,e){return t.hour12=e,t}function g(t,e){var n={};return n[t]=2===e?"2-digit":"numeric",n}function v(t,e){var n={};return n[t]=e<4?e>1?"short":"narrow":"long",n}function m(t){return t.reduce(function(t,e){return Object.assign({},t,e)},{})}function b(t){return function(e,n){return h(e,n,t)}}function _(t,e,n){var r=bt[t];if(r)return r(e,n);var o=t,i=wt.get(o);if(!i){i=[];var a=void 0;mt.exec(t);for(var u=t;u;)a=mt.exec(u),a?(i=i.concat(a.slice(1)),u=i.pop()):(i.push(u),u=null);wt.set(o,i)}return i.reduce(function(t,r){var o=_t[r];return t+(o?o(e,n):w(r))},"")}function w(t){return"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}function C(t,e,n,r,o,i,a){if(void 0===i&&(i=null),void 0===a&&(a=!1),null==n)return null;if("number"!=typeof(n="string"==typeof n&&E(n)?+n:n))throw c(t,n);var u=void 0,s=void 0,l=void 0;if(r!==gt.Currency&&(u=1,s=0,l=3),o){var p=o.match(Ot);if(null===p)throw new Error(o+" is not a valid digit info for number pipes");null!=p[1]&&(u=O(p[1])),null!=p[3]&&(s=O(p[3])),null!=p[5]&&(l=O(p[5]))}return vt.format(n,e,r,{minimumIntegerDigits:u,minimumFractionDigits:s,maximumFractionDigits:l,currency:i,currencyAsSymbol:a})}function O(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function E(t){return!isNaN(t-parseFloat(t))}function S(t){return null==t||""===t}function P(t){return t instanceof Date&&!isNaN(t.valueOf())}function x(t){var e=new Date(0),n=0,r=0,o=t[8]?e.setUTCFullYear:e.setFullYear,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=A(t[9]+t[10]),r=A(t[9]+t[11])),o.call(e,A(t[1]),A(t[2])-1,A(t[3]));var a=A(t[4]||"0")-n,u=A(t[5]||"0")-r,s=A(t[6]||"0"),c=Math.round(1e3*parseFloat("0."+(t[7]||0)));return i.call(e,a,u,s,c),e}function A(t){return parseInt(t,10)}function T(t){return t===Ft}function R(t){return t===Lt}function I(t){return t===Ut}function k(t){return t===Ht}Object.defineProperty(e,"__esModule",{value:!0});var j=n("6Xbx"),N=n("/oeL");n.d(e,"NgLocaleLocalization",function(){return q}),n.d(e,"NgLocalization",function(){return B}),n.d(e,"ɵparseCookieValue",function(){return u}),n.d(e,"CommonModule",function(){return Mt}),n.d(e,"DeprecatedI18NPipesModule",function(){return Vt}),n.d(e,"NgClass",function(){return z}),n.d(e,"NgFor",function(){return J}),n.d(e,"NgForOf",function(){return K}),n.d(e,"NgForOfContext",function(){return Z}),n.d(e,"NgIf",function(){return Y}),n.d(e,"NgIfContext",function(){return $}),n.d(e,"NgPlural",function(){return rt}),n.d(e,"NgPluralCase",function(){return ot}),n.d(e,"NgStyle",function(){return it}),n.d(e,"NgSwitch",function(){return tt}),n.d(e,"NgSwitchCase",function(){return et}),n.d(e,"NgSwitchDefault",function(){return nt}),n.d(e,"NgTemplateOutlet",function(){return at}),n.d(e,"NgComponentOutlet",function(){return W}),n.d(e,"DOCUMENT",function(){return Dt}),n.d(e,"AsyncPipe",function(){return ft}),n.d(e,"DatePipe",function(){return At}),n.d(e,"I18nPluralPipe",function(){return Rt}),n.d(e,"I18nSelectPipe",function(){return It}),n.d(e,"JsonPipe",function(){return kt}),n.d(e,"LowerCasePipe",function(){return ht}),n.d(e,"CurrencyPipe",function(){return Pt}),n.d(e,"DecimalPipe",function(){return Et}),n.d(e,"PercentPipe",function(){return St}),n.d(e,"SlicePipe",function(){return jt}),n.d(e,"UpperCasePipe",function(){return yt}),n.d(e,"TitleCasePipe",function(){return dt}),n.d(e,"ɵPLATFORM_BROWSER_ID",function(){return Ft}),n.d(e,"ɵPLATFORM_SERVER_ID",function(){return Lt}),n.d(e,"ɵPLATFORM_WORKER_APP_ID",function(){return Ut}),n.d(e,"ɵPLATFORM_WORKER_UI_ID",function(){return Ht}),n.d(e,"isPlatformBrowser",function(){return T}),n.d(e,"isPlatformServer",function(){return R}),n.d(e,"isPlatformWorkerApp",function(){return I}),n.d(e,"isPlatformWorkerUi",function(){return k}),n.d(e,"VERSION",function(){return Bt}),n.d(e,"PlatformLocation",function(){return M}),n.d(e,"LOCATION_INITIALIZED",function(){return V}),n.d(e,"LocationStrategy",function(){return D}),n.d(e,"APP_BASE_HREF",function(){return F}),n.d(e,"HashLocationStrategy",function(){return U}),n.d(e,"PathLocationStrategy",function(){return H}),n.d(e,"Location",function(){return L}),n.d(e,"ɵa",function(){return ut}),n.d(e,"ɵb",function(){return Nt});var M=function(){function t(){}return t.prototype.getBaseHrefFromDOM=function(){},t.prototype.onPopState=function(t){},t.prototype.onHashChange=function(t){},t.prototype.pathname=function(){},t.prototype.search=function(){},t.prototype.hash=function(){},t.prototype.replaceState=function(t,e,n){},t.prototype.pushState=function(t,e,n){},t.prototype.forward=function(){},t.prototype.back=function(){},t}(),V=new N.InjectionToken("Location Initialized"),D=function(){function t(){}return t.prototype.path=function(t){},t.prototype.prepareExternalUrl=function(t){},t.prototype.pushState=function(t,e,n,r){},t.prototype.replaceState=function(t,e,n,r){},t.prototype.forward=function(){},t.prototype.back=function(){},t.prototype.onPopState=function(t){},t.prototype.getBaseHref=function(){},t}(),F=new N.InjectionToken("appBaseHref"),L=function(){function t(e){var n=this;this._subject=new N.EventEmitter,this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(o(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,type:t.type})})}return t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},t.prototype.normalize=function(e){return t.stripTrailingSlash(r(this._baseHref,o(e)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e){void 0===e&&(e=""),this._platformStrategy.pushState(null,"",t,e)},t.prototype.replaceState=function(t,e){void 0===e&&(e=""),this._platformStrategy.replaceState(null,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-("/"===t[n-1]?1:0);return t.slice(0,r)+t.slice(n)},t}();L.decorators=[{type:N.Injectable}],L.ctorParameters=function(){return[{type:D}]};var U=function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return j.a(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=L.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+L.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+L.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(D);U.decorators=[{type:N.Injectable}],U.ctorParameters=function(){return[{type:M},{type:void 0,decorators:[{type:N.Optional},{type:N.Inject,args:[F]}]}]};var H=function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return j.a(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return L.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+L.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+L.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+L.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(D);H.decorators=[{type:N.Injectable}],H.ctorParameters=function(){return[{type:M},{type:void 0,decorators:[{type:N.Optional},{type:N.Inject,args:[F]}]}]};var B=function(){function t(){}return t.prototype.getPluralCategory=function(t){},t}(),q=function(t){function e(e){var n=t.call(this)||this;return n.locale=e,n}return j.a(e,t),e.prototype.getPluralCategory=function(t){switch(a(this.locale,t)){case G.Zero:return"zero";case G.One:return"one";case G.Two:return"two";case G.Few:return"few";case G.Many:return"many";default:return"other"}},e}(B);q.decorators=[{type:N.Injectable}],q.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Inject,args:[N.LOCALE_ID]}]}]};var G={};G.Zero=0,G.One=1,G.Two=2,G.Few=3,G.Many=4,G.Other=5,G[G.Zero]="Zero",G[G.One]="One",G[G.Two]="Two",G[G.Few]="Few",G[G.Many]="Many",G[G.Other]="Other";var z=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._applyInitialClasses(!0),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyInitialClasses(!1),this._applyClasses(this._rawClass,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._cleanupClasses(this._rawClass),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(n.i(N["ɵisListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._cleanupClasses=function(t){this._applyClasses(t,!0),this._applyInitialClasses(!1)},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+n.i(N["ɵstringify"])(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyInitialClasses=function(t){var e=this;this._initialClasses.forEach(function(n){return e._toggleClass(n,!t)})},t.prototype._applyClasses=function(t,e){var n=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return n._toggleClass(t,!e)}):Object.keys(t).forEach(function(r){null!=t[r]&&n._toggleClass(r,!e)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){n._renderer.setElementClass(n._ngEl.nativeElement,t,!!e)})},t}();z.decorators=[{type:N.Directive,args:[{selector:"[ngClass]"}]}],z.ctorParameters=function(){return[{type:N.IterableDiffers},{type:N.KeyValueDiffers},{type:N.ElementRef},{type:N.Renderer}]},z.propDecorators={klass:[{type:N.Input,args:["class"]}],ngClass:[{type:N.Input}]};var W=function(){function t(t){this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}return t.prototype.ngOnChanges=function(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=e.get(N.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var r=this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(N.ComponentFactoryResolver),o=r.resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(o,this._viewContainerRef.length,e,this.ngComponentOutletContent)}},t.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},t}();W.decorators=[{type:N.Directive,args:[{selector:"[ngComponentOutlet]"}]}],W.ctorParameters=function(){return[{type:N.ViewContainerRef}]},W.propDecorators={ngComponentOutlet:[{type:N.Input}],ngComponentOutletInjector:[{type:N.Input}],ngComponentOutletContent:[{type:N.Input}],ngComponentOutletNgModuleFactory:[{type:N.Input}]};var Z=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),K=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._differ=null}return Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){n.i(N.isDevMode)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){if("ngForOf"in t){var e=t.ngForOf.currentValue;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+s(e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}},t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this.ngForOf);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,o){if(null==t.previousIndex){var i=e._viewContainer.createEmbeddedView(e._template,new Z(null,e.ngForOf,-1,-1),o),a=new Q(t,i);n.push(a)}else if(null==o)e._viewContainer.remove(r);else{var i=e._viewContainer.get(r);e._viewContainer.move(i,o);var a=new Q(t,i);n.push(a)}});for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);for(var r=0,o=this._viewContainer.length;r<o;r++){var i=this._viewContainer.get(r);i.context.index=r,i.context.count=o}t.forEachIdentityChange(function(t){e._viewContainer.get(t.currentIndex).context.$implicit=t.item})},t.prototype._perViewChange=function(t,e){t.context.$implicit=e.item},t}();K.decorators=[{type:N.Directive,args:[{selector:"[ngFor][ngForOf]"}]}],K.ctorParameters=function(){return[{type:N.ViewContainerRef},{type:N.TemplateRef},{type:N.IterableDiffers}]},K.propDecorators={ngForOf:[{type:N.Input}],ngForTrackBy:[{type:N.Input}],ngForTemplate:[{type:N.Input}]};var Q=function(){function t(t,e){this.record=t,this.view=e}return t}(),J=K,Y=function(){function t(t,e){this._viewContainer=t,this._context=new $,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}return Object.defineProperty(t.prototype,"ngIf",{set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfThen",{set:function(t){this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfElse",{set:function(t){this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),t.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))},t}();Y.decorators=[{type:N.Directive,args:[{selector:"[ngIf]"}]}],Y.ctorParameters=function(){return[{type:N.ViewContainerRef},{type:N.TemplateRef}]},Y.propDecorators={ngIf:[{type:N.Input}],ngIfThen:[{type:N.Input}],ngIfElse:[{type:N.Input}]};var $=function(){function t(){this.$implicit=null,this.ngIf=null}return t}(),X=function(){function t(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}return t.prototype.create=function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)},t.prototype.destroy=function(){this._created=!1,this._viewContainerRef.clear()},t.prototype.enforceState=function(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()},t}(),tt=function(){function t(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object.defineProperty(t.prototype,"ngSwitch",{set:function(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)},enumerable:!0,configurable:!0}),t.prototype._addCase=function(){return this._caseCount++},t.prototype._addDefault=function(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)},t.prototype._matchCase=function(t){var e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e},t.prototype._updateDefaultCases=function(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(var e=0;e<this._defaultViews.length;e++){this._defaultViews[e].enforceState(t)}}},t}();tt.decorators=[{type:N.Directive,args:[{selector:"[ngSwitch]"}]}],tt.ctorParameters=function(){return[]},tt.propDecorators={ngSwitch:[{type:N.Input}]};var et=function(){function t(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new X(t,e)}return t.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},t}();et.decorators=[{type:N.Directive,args:[{selector:"[ngSwitchCase]"}]}],et.ctorParameters=function(){return[{type:N.ViewContainerRef},{type:N.TemplateRef},{type:tt,decorators:[{type:N.Host}]}]},et.propDecorators={ngSwitchCase:[{type:N.Input}]};var nt=function(){function t(t,e,n){n._addDefault(new X(t,e))}return t}();nt.decorators=[{type:N.Directive,args:[{selector:"[ngSwitchDefault]"}]}],nt.ctorParameters=function(){return[{type:N.ViewContainerRef},{type:N.TemplateRef},{type:tt,decorators:[{type:N.Host}]}]};var rt=function(){function t(t){this._localization=t,this._caseViews={}}return Object.defineProperty(t.prototype,"ngPlural",{set:function(t){this._switchValue=t,this._updateView()},enumerable:!0,configurable:!0}),t.prototype.addCase=function(t,e){this._caseViews[t]=e},t.prototype._updateView=function(){this._clearViews();var t=Object.keys(this._caseViews),e=i(this._switchValue,t,this._localization);this._activateView(this._caseViews[e])},t.prototype._clearViews=function(){this._activeView&&this._activeView.destroy()},t.prototype._activateView=function(t){t&&(this._activeView=t,this._activeView.create())},t}();rt.decorators=[{type:N.Directive,args:[{selector:"[ngPlural]"}]}],rt.ctorParameters=function(){return[{type:B}]},rt.propDecorators={ngPlural:[{type:N.Input}]};var ot=function(){function t(t,e,n,r){this.value=t;var o=!isNaN(Number(t));r.addCase(o?"="+t:t,new X(n,e))}return t}();ot.decorators=[{type:N.Directive,args:[{selector:"[ngPluralCase]"}]}],ot.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Attribute,args:["ngPluralCase"]}]},{type:N.TemplateRef},{type:N.ViewContainerRef},{type:rt,decorators:[{type:N.Host}]}]};var it=function(){function t(t,e,n){this._differs=t,this._ngEl=e,this._renderer=n}return Object.defineProperty(t.prototype,"ngStyle",{set:function(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this;t.forEachRemovedItem(function(t){return e._setStyle(t.key,null)}),t.forEachAddedItem(function(t){return e._setStyle(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._setStyle(t.key,t.currentValue)})},t.prototype._setStyle=function(t,e){var n=t.split("."),r=n[0],o=n[1];e=null!=e&&o?""+e+o:e,this._renderer.setElementStyle(this._ngEl.nativeElement,r,e)},t}();it.decorators=[{type:N.Directive,args:[{selector:"[ngStyle]"}]}],it.ctorParameters=function(){return[{type:N.KeyValueDiffers},{type:N.ElementRef},{type:N.Renderer}]},it.propDecorators={ngStyle:[{type:N.Input}]};var at=function(){function t(t){this._viewContainerRef=t}return Object.defineProperty(t.prototype,"ngOutletContext",{set:function(t){this.ngTemplateOutletContext=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))},t}();at.decorators=[{type:N.Directive,args:[{selector:"[ngTemplateOutlet]"}]}],at.ctorParameters=function(){return[{type:N.ViewContainerRef}]},at.propDecorators={ngTemplateOutletContext:[{type:N.Input}],ngTemplateOutlet:[{type:N.Input}],ngOutletContext:[{type:N.Input}]};var ut=[z,W,K,Y,at,it,tt,et,nt,rt,ot],st=function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.subscribe({next:e,error:function(t){throw t}})},t.prototype.dispose=function(t){t.unsubscribe()},t.prototype.onDestroy=function(t){t.unsubscribe()},t}(),ct=function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.then(e,function(t){throw t})},t.prototype.dispose=function(t){},t.prototype.onDestroy=function(t){},t}(),lt=new ct,pt=new st,ft=function(){function t(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return t.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},t.prototype.transform=function(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,N.WrappedValue.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)},t.prototype._subscribe=function(t){var e=this;this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,function(n){return e._updateLatestValue(t,n)})},t.prototype._selectStrategy=function(e){if(n.i(N["ɵisPromise"])(e))return lt;if(n.i(N["ɵisObservable"])(e))return pt;throw c(t,e)},t.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},t.prototype._updateLatestValue=function(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())},t}();ft.decorators=[{type:N.Pipe,args:[{name:"async",pure:!1}]}],ft.ctorParameters=function(){return[{type:N.ChangeDetectorRef}]};var ht=function(){function t(){}return t.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw c(t,e);return e.toLowerCase()},t}();ht.decorators=[{type:N.Pipe,args:[{name:"lowercase"}]}],ht.ctorParameters=function(){return[]};var dt=function(){function t(){}return t.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw c(t,e);return e.split(/\b/g).map(function(t){return l(t)}).join("")},t}();dt.decorators=[{type:N.Pipe,args:[{name:"titlecase"}]}],dt.ctorParameters=function(){return[]};var yt=function(){function t(){}return t.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw c(t,e);return e.toUpperCase()},t}();yt.decorators=[{type:N.Pipe,args:[{name:"uppercase"}]}],yt.ctorParameters=function(){return[]};var gt={};gt.Decimal=0,gt.Percent=1,gt.Currency=2,gt[gt.Decimal]="Decimal",gt[gt.Percent]="Percent",gt[gt.Currency]="Currency";var vt=function(){function t(){}return t.format=function(t,e,n,r){void 0===r&&(r={});var o=r.minimumIntegerDigits,i=r.minimumFractionDigits,a=r.maximumFractionDigits,u=r.currency,s=r.currencyAsSymbol,c=void 0!==s&&s,l={minimumIntegerDigits:o,minimumFractionDigits:i,maximumFractionDigits:a,style:gt[n].toLowerCase()};return n==gt.Currency&&(l.currency="string"==typeof u?u:void 0,l.currencyDisplay=c?"symbol":"code"),new Intl.NumberFormat(e,l).format(t)},t}(),mt=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,bt={yMMMdjms:b(m([g("year",1),v("month",3),g("day",1),g("hour",1),g("minute",1),g("second",1)])),yMdjm:b(m([g("year",1),g("month",1),g("day",1),g("hour",1),g("minute",1)])),yMMMMEEEEd:b(m([g("year",1),v("month",4),v("weekday",4),g("day",1)])),yMMMMd:b(m([g("year",1),v("month",4),g("day",1)])),yMMMd:b(m([g("year",1),v("month",3),g("day",1)])),yMd:b(m([g("year",1),g("month",1),g("day",1)])),jms:b(m([g("hour",1),g("second",1),g("minute",1)])),jm:b(m([g("hour",1),g("minute",1)]))},_t={yyyy:b(g("year",4)),yy:b(g("year",2)),y:b(g("year",1)),MMMM:b(v("month",4)),MMM:b(v("month",3)),MM:b(g("month",2)),M:b(g("month",1)),LLLL:b(v("month",4)),L:b(v("month",1)),dd:b(g("day",2)),d:b(g("day",1)),HH:p(f(b(y(g("hour",2),!1)))),H:f(b(y(g("hour",1),!1))),hh:p(f(b(y(g("hour",2),!0)))),h:f(b(y(g("hour",1),!0))),jj:b(g("hour",2)),j:b(g("hour",1)),mm:p(b(g("minute",2))),m:b(g("minute",1)),ss:p(b(g("second",2))),s:b(g("second",1)),sss:b(g("second",3)),EEEE:b(v("weekday",4)),EEE:b(v("weekday",3)),EE:b(v("weekday",2)),E:b(v("weekday",1)),a:function(t){return function(e,n){return t(e,n).split(" ")[1]}}(b(y(g("hour",1),!0))),Z:d("short"),z:d("long"),ww:b({}),w:b({}),G:b(v("era",1)),GG:b(v("era",2)),GGG:b(v("era",3)),GGGG:b(v("era",4))},wt=new Map,Ct=function(){function t(){}return t.format=function(t,e,n){return _(n,t,e)},t}(),Ot=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Et=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){return C(t,this._locale,e,gt.Decimal,n)},t}();Et.decorators=[{type:N.Pipe,args:[{name:"number"}]}],Et.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Inject,args:[N.LOCALE_ID]}]}]};var St=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){return C(t,this._locale,e,gt.Percent,n)},t}();St.decorators=[{type:N.Pipe,args:[{name:"percent"}]}],St.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Inject,args:[N.LOCALE_ID]}]}]};var Pt=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n,r,o){return void 0===n&&(n="USD"),void 0===r&&(r=!1),C(t,this._locale,e,gt.Currency,o,n,r)},t}();Pt.decorators=[{type:N.Pipe,args:[{name:"currency"}]}],Pt.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Inject,args:[N.LOCALE_ID]}]}]};var xt=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,At=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){void 0===n&&(n="mediumDate");var r;if(S(e)||e!==e)return null;if("string"==typeof e&&(e=e.trim()),P(e))r=e;else if(E(e))r=new Date(parseFloat(e));else if("string"==typeof e&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var o=e.split("-").map(function(t){return parseInt(t,10)}),i=o[0],a=o[1],u=o[2];r=new Date(i,a-1,u)}else r=new Date(e);if(!P(r)){var s=void 0;if("string"!=typeof e||!(s=e.match(xt)))throw c(t,e);r=x(s)}return Ct.format(r,this._locale,t._ALIASES[n]||n)},t}();At._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},At.decorators=[{type:N.Pipe,args:[{name:"date",pure:!0}]}],At.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Inject,args:[N.LOCALE_ID]}]}]};var Tt=/#/g,Rt=function(){function t(t){this._localization=t}return t.prototype.transform=function(e,n){if(null==e)return"";if("object"!=typeof n||null===n)throw c(t,n);return n[i(e,Object.keys(n),this._localization)].replace(Tt,e.toString())},t}();Rt.decorators=[{type:N.Pipe,args:[{name:"i18nPlural",pure:!0}]}],Rt.ctorParameters=function(){return[{type:B}]};var It=function(){function t(){}return t.prototype.transform=function(e,n){if(null==e)return"";if("object"!=typeof n||"string"!=typeof e)throw c(t,n);return n.hasOwnProperty(e)?n[e]:n.hasOwnProperty("other")?n.other:""},t}();It.decorators=[{type:N.Pipe,args:[{name:"i18nSelect",pure:!0}]}],It.ctorParameters=function(){return[]};var kt=function(){function t(){}return t.prototype.transform=function(t){return JSON.stringify(t,null,2)},t}();kt.decorators=[{type:N.Pipe,args:[{name:"json",pure:!1}]}],kt.ctorParameters=function(){return[]};var jt=function(){function t(){}return t.prototype.transform=function(e,n,r){if(null==e)return e;if(!this.supports(e))throw c(t,e);return e.slice(n,r)},t.prototype.supports=function(t){return"string"==typeof t||Array.isArray(t)},t}();jt.decorators=[{type:N.Pipe,args:[{name:"slice",pure:!1}]}],jt.ctorParameters=function(){return[]};var Nt=[ft,yt,ht,kt,jt,Et,St,dt,Pt,At,Rt,It],Mt=function(){function t(){}return t}();Mt.decorators=[{type:N.NgModule,args:[{declarations:[ut,Nt],exports:[ut,Nt],providers:[{provide:B,useClass:q}]}]}],Mt.ctorParameters=function(){return[]};var Vt=function(){function t(){}return t}();Vt.decorators=[{type:N.NgModule,args:[{declarations:[],exports:[]}]}],Vt.ctorParameters=function(){return[]};var Dt=new N.InjectionToken("DocumentToken"),Ft="browser",Lt="server",Ut="browserWorkerApp",Ht="browserWorkerUi",Bt=new N.Version("4.4.6")},rf3q:function(t,e,n){"use strict";function r(t,e,n){if(t){if(t instanceof o.Subscriber)return t;if(t[i.rxSubscriber])return t[i.rxSubscriber]()}return t||e||n?new o.Subscriber(t,e,n):new o.Subscriber(a.empty)}var o=n("T14+"),i=n("dkwD"),a=n("LiYJ");e.toSubscriber=r},rlar:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("bKpL"),i=n("T14+"),a=n("xFbG"),u=n("Lhvy"),s=n("g0Kb"),c=n("dkwD"),l=function(t){function e(e){t.call(this,e),this.destination=e}return r(e,t),e}(i.Subscriber);e.SubjectSubscriber=l;var p=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return r(e,t),e.prototype[c.rxSubscriber]=function(){return new l(this)},e.prototype.lift=function(t){var e=new f(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new u.ObjectUnsubscribedError;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new u.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new u.ObjectUnsubscribedError;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new u.ObjectUnsubscribedError;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new u.ObjectUnsubscribedError;return this.hasError?(t.error(this.thrownError),a.Subscription.EMPTY):this.isStopped?(t.complete(),a.Subscription.EMPTY):(this.observers.push(t),new s.SubjectSubscription(this,t))},e.prototype.asObservable=function(){var t=new o.Observable;return t.source=this,t},e.create=function(t,e){return new f(t,e)},e}(o.Observable);e.Subject=p;var f=function(t){function e(e,n){t.call(this),this.destination=e,this.source=n}return r(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):a.Subscription.EMPTY},e}(p);e.AnonymousSubject=f},"uT+d":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){var e=t.call(this,"argument out of range");this.name=e.name="ArgumentOutOfRangeError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.ArgumentOutOfRangeError=o},ueUM:function(t,e,n){"use strict";function r(t){return o.catchError(t)(this)}var o=n("g1RG");e._catch=r},vxPf:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return o(t)}function o(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}:i.noop}var i=n("Z5ED");e.pipe=r,e.pipeFromArray=o},wCVK:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("bKpL"),i=n("aOKN"),a=n("fcnB"),u=function(t){function e(e,n){t.call(this),this.arrayLike=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){var r=t.length;return 0===r?new a.EmptyObservable:1===r?new i.ScalarObservable(t[0],n):new e(t,n)},e.dispatch=function(t){var e=t.arrayLike,n=t.index,r=t.length,o=t.subscriber;if(!o.closed){if(n>=r)return void o.complete();o.next(e[n]),t.index=n+1,this.schedule(t)}},e.prototype._subscribe=function(t){var n=this,r=n.arrayLike,o=n.scheduler,i=r.length;if(o)return o.schedule(e.dispatch,0,{arrayLike:r,index:0,length:i,subscriber:t});for(var a=0;a<i&&!t.closed;a++)t.next(r[a]);t.complete()},e}(o.Observable);e.ArrayLikeObservable=u},wZOE:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("bKpL"),i=n("aOKN"),a=n("fcnB"),u=n("MicL"),s=function(t){function e(e,n){t.call(this),this.array=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){return new e(t,n)},e.of=function(){for(var t=[],n=0;n<arguments.length;n++)t[n-0]=arguments[n];var r=t[t.length-1];u.isScheduler(r)?t.pop():r=null;var o=t.length;return o>1?new e(t,r):1===o?new i.ScalarObservable(t[0],r):new a.EmptyObservable(r)},e.dispatch=function(t){var e=t.array,n=t.index,r=t.count,o=t.subscriber;if(n>=r)return void o.complete();o.next(e[n]),o.closed||(t.index=n+1,this.schedule(t))},e.prototype._subscribe=function(t){var n=this.array,r=n.length,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{array:n,index:0,count:r,subscriber:t});for(var i=0;i<r&&!t.closed;i++)t.next(n[i]);t.complete()},e}(o.Observable);e.ArrayObservable=s},wnyu:function(t,e,n){"use strict";var r=n("/oeL"),o=n("qbdv"),i=n("PVMJ"),a=n("nVXb");n.d(e,"a",function(){return u});var u=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[a.a]}},t}();u.decorators=[{type:r.NgModule,args:[{declarations:[i.a],exports:[i.a],imports:[o.CommonModule],entryComponents:[i.a]}]}],u.ctorParameters=function(){return[]}},xFbG:function(t,e,n){"use strict";function r(t){return t.reduce(function(t,e){return t.concat(e instanceof c.UnsubscriptionError?e.errors:e)},[])}var o=n("NSJx"),i=n("H6Sg"),a=n("fclq"),u=n("RdI5"),s=n("XRvs"),c=n("Emqh"),l=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this,l=n._parent,p=n._parents,f=n._unsubscribe,h=n._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var d=-1,y=p?p.length:0;l;)l.remove(this),l=++d<y&&p[d]||null;if(a.isFunction(f)){var g=u.tryCatch(f).call(this);g===s.errorObject&&(e=!0,t=t||(s.errorObject.e instanceof c.UnsubscriptionError?r(s.errorObject.e.errors):[s.errorObject.e]))}if(o.isArray(h))for(d=-1,y=h.length;++d<y;){var v=h[d];if(i.isObject(v)){var g=u.tryCatch(v.unsubscribe).call(v);if(g===s.errorObject){e=!0,t=t||[];var m=s.errorObject.e;m instanceof c.UnsubscriptionError?t=t.concat(r(m.errors)):t.push(m)}}}if(e)throw new c.UnsubscriptionError(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)return t.EMPTY;if(e===this)return this;var n=e;switch(typeof e){case"function":n=new t(e);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var r=n;n=new t,n._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.prototype._addParent=function(t){var e=this,n=e._parent,r=e._parents;n&&n!==t?r?-1===r.indexOf(t)&&r.push(t):this._parents=[t]:this._parent=t},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}();e.Subscription=l},xKl2:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("rlar"),i=n("bKpL"),a=n("T14+"),u=n("xFbG"),s=n("F9px"),c=function(t){function e(e,n){t.call(this),this.source=e,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}return r(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 u.Subscription,t.add(this.source.subscribe(new p(this.getSubject(),this))),t.closed?(this._connection=null,t=u.Subscription.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return s.refCount()(this)},e}(i.Observable);e.ConnectableObservable=c;var l=c.prototype;e.connectableObservableDescriptor={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:l._subscribe},_isComplete:{value:l._isComplete,writable:!0},getSubject:{value:l.getSubject},connect:{value:l.connect},refCount:{value:l.refCount}};var p=function(t){function e(e,n){t.call(this,e),this.connectable=n}return r(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),f=(function(){function t(t){this.connectable=t}t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new f(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o}}(),function(t){function e(e,n){t.call(this,e),this.connectable=n}return r(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 n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()},e}(a.Subscriber))},yW9Z:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+"),i=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(o.Subscriber);e.OuterSubscriber=i},zijX:function(t,e,n){"use strict";(function(t){var n="undefined"!=typeof window&&window,r="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,o=void 0!==t&&t,i=n||o||r;e.root=i,function(){if(!i)throw new Error("RxJS could not find any global context (window, self, global)")}()}).call(e,n("fRUx"))},zrH4:function(t,e,n){"use strict";function r(t,e,n){return function(r){return r.lift(new u(t,e,n,r))}}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+"),a=n("TpsG");e.last=r;var u=function(){function t(t,e,n,r){this.predicate=t,this.resultSelector=e,this.defaultValue=n,this.source=r}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),s=function(t){function e(e,n,r,o,i){t.call(this,e),this.predicate=n,this.resultSelector=r,this.defaultValue=o,this.source=i,this.hasValue=!1,this.index=0,void 0!==o&&(this.lastValue=o,this.hasValue=!0)}return o(e,t),e.prototype._next=function(t){var e=this.index++;if(this.predicate)this._tryPredicate(t,e);else{if(this.resultSelector)return void this._tryResultSelector(t,e);this.lastValue=t,this.hasValue=!0}},e.prototype._tryPredicate=function(t,e){var n;try{n=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}if(n){if(this.resultSelector)return void this._tryResultSelector(t,e);this.lastValue=t,this.hasValue=!0}},e.prototype._tryResultSelector=function(t,e){var n;try{n=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this.lastValue=n,this.hasValue=!0},e.prototype._complete=function(){var t=this.destination;this.hasValue?(t.next(this.lastValue),t.complete()):t.error(new a.EmptyError)},e}(i.Subscriber)}}); \ No newline at end of file diff --git a/Servidor JEE/WebContent/vendor.d0fc90766e2861f3dcab.bundle.js b/Servidor JEE/WebContent/vendor.d0fc90766e2861f3dcab.bundle.js deleted file mode 100644 index ebc186ac339581619c1268ae4d9332326de57792..0000000000000000000000000000000000000000 --- a/Servidor JEE/WebContent/vendor.d0fc90766e2861f3dcab.bundle.js +++ /dev/null @@ -1,769 +0,0 @@ -webpackJsonp([10,11],{"+3eL":function(t,e,n){"use strict";function r(){try{return i.apply(this,arguments)}catch(t){return a.errorObject.e=t,a.errorObject}}function o(t){return i=t,r}var i,a=n("WhVc");e.tryCatch=o},"+4ur":function(t,e,n){"use strict";function r(t){var e=new u(t),n=this.lift(e);return e.caught=n}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("wAkD"),a=n("CURp");e._catch=r;var u=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.selector,this.caught))},t}(),s=function(t){function e(e,n,r){t.call(this,e),this.selector=n,this.caught=r}return o(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle(),this.add(a.subscribeToResult(this,n))}},e}(i.OuterSubscriber)},"+ayw":function(t,e,n){"use strict";function r(){return new a.Subject}function o(){return i.multicast.call(this,r).refCount()}var i=n("emOw"),a=n("EEr4");e.share=o},"1KT0":function(t,e,n){"use strict";var r=n("kkb0");e.merge=r.mergeStatic},"1r8+":function(t,e,n){"use strict";e.isArrayLike=function(t){return t&&"number"==typeof t.length}},"2Je8":function(t,e,n){"use strict";function r(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}function o(t){return t.replace(/\/index.html$/,"")}function i(t,e,n){var r="="+t;if(e.indexOf(r)>-1)return r;if(r=n.getPluralCategory(t),e.indexOf(r)>-1)return r;if(e.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+t+'"')}function a(t,e){"string"==typeof e&&(e=parseInt(e,10));var n=e,r=n.toString().replace(/^[^.]*\.?/,""),o=Math.floor(Math.abs(n)),i=r.length,a=parseInt(r,10),u=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(t.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?G.One:G.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?G.One:G.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===n?G.One:G.Other;case"ar":return 0===n?G.Zero:1===n?G.One:2===n?G.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?G.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?G.Many:G.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===o&&0===i?G.One:G.Other;case"be":return n%10==1&&n%100!=11?G.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?G.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?G.Many:G.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?G.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?G.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?G.Few:0!==n&&n%1e6==0?G.Many:G.Other;case"bs":case"hr":case"sr":return 0===i&&o%10==1&&o%100!=11||a%10==1&&a%100!=11?G.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)||a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?G.Few:G.Other;case"cs":case"sk":return 1===o&&0===i?G.One:o===Math.floor(o)&&o>=2&&o<=4&&0===i?G.Few:0!==i?G.Many:G.Other;case"cy":return 0===n?G.Zero:1===n?G.One:2===n?G.Two:3===n?G.Few:6===n?G.Many:G.Other;case"da":return 1===n||0!==u&&(0===o||1===o)?G.One:G.Other;case"dsb":case"hsb":return 0===i&&o%100==1||a%100==1?G.One:0===i&&o%100==2||a%100==2?G.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4?G.Few:G.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?G.One:G.Other;case"fil":return 0===i&&(1===o||2===o||3===o)||0===i&&o%10!=4&&o%10!=6&&o%10!=9||0!==i&&a%10!=4&&a%10!=6&&a%10!=9?G.One:G.Other;case"ga":return 1===n?G.One:2===n?G.Two:n===Math.floor(n)&&n>=3&&n<=6?G.Few:n===Math.floor(n)&&n>=7&&n<=10?G.Many:G.Other;case"gd":return 1===n||11===n?G.One:2===n||12===n?G.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?G.Few:G.Other;case"gv":return 0===i&&o%10==1?G.One:0===i&&o%10==2?G.Two:0!==i||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==i?G.Many:G.Other:G.Few;case"he":return 1===o&&0===i?G.One:2===o&&0===i?G.Two:0!==i||n>=0&&n<=10||n%10!=0?G.Other:G.Many;case"is":return 0===u&&o%10==1&&o%100!=11||0!==u?G.One:G.Other;case"ksh":return 0===n?G.Zero:1===n?G.One:G.Other;case"kw":case"naq":case"se":case"smn":return 1===n?G.One:2===n?G.Two:G.Other;case"lag":return 0===n?G.Zero:0!==o&&1!==o||0===n?G.Other:G.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?G.Few:0!==a?G.Many:G.Other:G.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===i&&a%100===Math.floor(a%100)&&a%100>=11&&a%100<=19?G.Zero:n%10==1&&n%100!=11||2===i&&a%10==1&&a%100!=11||2!==i&&a%10==1?G.One:G.Other;case"mk":return 0===i&&o%10==1||a%10==1?G.One:G.Other;case"mt":return 1===n?G.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?G.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?G.Many:G.Other;case"pl":return 1===o&&0===i?G.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?G.Few:0===i&&1!==o&&o%10===Math.floor(o%10)&&o%10>=0&&o%10<=1||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=12&&o%100<=14?G.Many:G.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?G.One:G.Other;case"ro":return 1===o&&0===i?G.One:0!==i||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?G.Few:G.Other;case"ru":case"uk":return 0===i&&o%10==1&&o%100!=11?G.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?G.Few:0===i&&o%10==0||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=14?G.Many:G.Other;case"shi":return 0===o||1===n?G.One:n===Math.floor(n)&&n>=2&&n<=10?G.Few:G.Other;case"si":return 0===n||1===n||0===o&&1===a?G.One:G.Other;case"sl":return 0===i&&o%100==1?G.One:0===i&&o%100==2?G.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==i?G.Few:G.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?G.One:G.Other;default:return G.Other}}function u(t){return t.name||typeof t}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function s(t,e){return Error("InvalidPipeArgument: '"+e+"' for pipe '"+n.i(N["ɵstringify"])(t)+"'")}function c(t){return t?t[0].toUpperCase()+t.substr(1).toLowerCase():t}function l(t){return function(e,n){var r=t(e,n);return 1==r.length?"0"+r:r}}function p(t){return function(e,n){return t(e,n).split(" ")[1]}}function f(t){return function(e,n){return t(e,n).split(" ")[0]}}function h(t,e,n){return new Intl.DateTimeFormat(e,n).format(t).replace(/[\u200e\u200f]/g,"")}function d(t){var e={hour:"2-digit",hour12:!1,timeZoneName:t};return function(t,n){var r=h(t,n,e);return r?r.substring(3):""}}function y(t,e){return t.hour12=e,t}function g(t,e){var n={};return n[t]=2===e?"2-digit":"numeric",n}function m(t,e){var n={};return n[t]=e<4?e>1?"short":"narrow":"long",n}function v(t){return Object.assign.apply(Object,[{}].concat(t))}function b(t){return function(e,n){return h(e,n,t)}}function _(t,e,n){var r=bt[t];if(r)return r(e,n);var o=t,i=wt.get(o);if(!i){i=[];var a=void 0;vt.exec(t);for(var u=t;u;)a=vt.exec(u),a?(i=i.concat(a.slice(1)),u=i.pop()):(i.push(u),u=null);wt.set(o,i)}return i.reduce(function(t,r){var o=_t[r];return t+(o?o(e,n):w(r))},"")}function w(t){return"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}function C(t,e,n,r,o,i,a){if(void 0===i&&(i=null),void 0===a&&(a=!1),null==n)return null;if("number"!=typeof(n="string"==typeof n&&E(n)?+n:n))throw s(t,n);var u=void 0,c=void 0,l=void 0;if(r!==gt.Currency&&(u=1,c=0,l=3),o){var p=o.match(Ot);if(null===p)throw new Error(o+" is not a valid digit info for number pipes");null!=p[1]&&(u=O(p[1])),null!=p[3]&&(c=O(p[3])),null!=p[5]&&(l=O(p[5]))}return mt.format(n,e,r,{minimumIntegerDigits:u,minimumFractionDigits:c,maximumFractionDigits:l,currency:i,currencyAsSymbol:a})}function O(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function E(t){return!isNaN(t-parseFloat(t))}function S(t){return null==t||""===t}function P(t){return t instanceof Date&&!isNaN(t.valueOf())}function x(t){var e=new Date(0),n=0,r=0,o=t[8]?e.setUTCFullYear:e.setFullYear,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=A(t[9]+t[10]),r=A(t[9]+t[11])),o.call(e,A(t[1]),A(t[2])-1,A(t[3]));var a=A(t[4]||"0")-n,u=A(t[5]||"0")-r,s=A(t[6]||"0"),c=Math.round(1e3*parseFloat("0."+(t[7]||0)));return i.call(e,a,u,s,c),e}function A(t){return parseInt(t,10)}function T(t){return t===Vt}function R(t){return t===Dt}function k(t){return t===Ft}function j(t){return t===Lt}Object.defineProperty(e,"__esModule",{value:!0});var I=n("TToO"),N=n("3j3K");n.d(e,"NgLocaleLocalization",function(){return q}),n.d(e,"NgLocalization",function(){return B}),n.d(e,"CommonModule",function(){return Mt}),n.d(e,"NgClass",function(){return z}),n.d(e,"NgFor",function(){return Y}),n.d(e,"NgForOf",function(){return Q}),n.d(e,"NgForOfContext",function(){return Z}),n.d(e,"NgIf",function(){return J}),n.d(e,"NgIfContext",function(){return $}),n.d(e,"NgPlural",function(){return rt}),n.d(e,"NgPluralCase",function(){return ot}),n.d(e,"NgStyle",function(){return it}),n.d(e,"NgSwitch",function(){return tt}),n.d(e,"NgSwitchCase",function(){return et}),n.d(e,"NgSwitchDefault",function(){return nt}),n.d(e,"NgTemplateOutlet",function(){return at}),n.d(e,"NgComponentOutlet",function(){return W}),n.d(e,"AsyncPipe",function(){return ft}),n.d(e,"DatePipe",function(){return At}),n.d(e,"I18nPluralPipe",function(){return Rt}),n.d(e,"I18nSelectPipe",function(){return kt}),n.d(e,"JsonPipe",function(){return jt}),n.d(e,"LowerCasePipe",function(){return ht}),n.d(e,"CurrencyPipe",function(){return Pt}),n.d(e,"DecimalPipe",function(){return Et}),n.d(e,"PercentPipe",function(){return St}),n.d(e,"SlicePipe",function(){return It}),n.d(e,"UpperCasePipe",function(){return yt}),n.d(e,"TitleCasePipe",function(){return dt}),n.d(e,"ɵPLATFORM_BROWSER_ID",function(){return Vt}),n.d(e,"ɵPLATFORM_SERVER_ID",function(){return Dt}),n.d(e,"ɵPLATFORM_WORKER_APP_ID",function(){return Ft}),n.d(e,"ɵPLATFORM_WORKER_UI_ID",function(){return Lt}),n.d(e,"isPlatformBrowser",function(){return T}),n.d(e,"isPlatformServer",function(){return R}),n.d(e,"isPlatformWorkerApp",function(){return k}),n.d(e,"isPlatformWorkerUi",function(){return j}),n.d(e,"VERSION",function(){return Ut}),n.d(e,"PlatformLocation",function(){return M}),n.d(e,"LOCATION_INITIALIZED",function(){return V}),n.d(e,"LocationStrategy",function(){return D}),n.d(e,"APP_BASE_HREF",function(){return F}),n.d(e,"HashLocationStrategy",function(){return U}),n.d(e,"PathLocationStrategy",function(){return H}),n.d(e,"Location",function(){return L}),n.d(e,"ɵa",function(){return ut}),n.d(e,"ɵb",function(){return Nt});/** - * @license Angular v4.2.3 - * (c) 2010-2017 Google, Inc. https://angular.io/ - * License: MIT - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var M=function(){function t(){}return t.prototype.getBaseHrefFromDOM=function(){},t.prototype.onPopState=function(t){},t.prototype.onHashChange=function(t){},t.prototype.pathname=function(){},t.prototype.search=function(){},t.prototype.hash=function(){},t.prototype.replaceState=function(t,e,n){},t.prototype.pushState=function(t,e,n){},t.prototype.forward=function(){},t.prototype.back=function(){},t}(),V=new N.InjectionToken("Location Initialized"),D=function(){function t(){}return t.prototype.path=function(t){},t.prototype.prepareExternalUrl=function(t){},t.prototype.pushState=function(t,e,n,r){},t.prototype.replaceState=function(t,e,n,r){},t.prototype.forward=function(){},t.prototype.back=function(){},t.prototype.onPopState=function(t){},t.prototype.getBaseHref=function(){},t}(),F=new N.InjectionToken("appBaseHref"),L=function(){function t(e){var n=this;this._subject=new N.EventEmitter,this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(o(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,type:t.type})})}return t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},t.prototype.normalize=function(e){return t.stripTrailingSlash(r(this._baseHref,o(e)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e){void 0===e&&(e=""),this._platformStrategy.pushState(null,"",t,e)},t.prototype.replaceState=function(t,e){void 0===e&&(e=""),this._platformStrategy.replaceState(null,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-("/"===t[n-1]?1:0);return t.slice(0,r)+t.slice(n)},t}();L.decorators=[{type:N.Injectable}],L.ctorParameters=function(){return[{type:D}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var U=function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return I.a(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=L.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+L.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+L.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(D);U.decorators=[{type:N.Injectable}],U.ctorParameters=function(){return[{type:M},{type:void 0,decorators:[{type:N.Optional},{type:N.Inject,args:[F]}]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var H=function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return I.a(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return L.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+L.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+L.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+L.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(D);H.decorators=[{type:N.Injectable}],H.ctorParameters=function(){return[{type:M},{type:void 0,decorators:[{type:N.Optional},{type:N.Inject,args:[F]}]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var B=function(){function t(){}return t.prototype.getPluralCategory=function(t){},t}(),q=function(t){function e(e){var n=t.call(this)||this;return n.locale=e,n}return I.a(e,t),e.prototype.getPluralCategory=function(t){switch(a(this.locale,t)){case G.Zero:return"zero";case G.One:return"one";case G.Two:return"two";case G.Few:return"few";case G.Many:return"many";default:return"other"}},e}(B);q.decorators=[{type:N.Injectable}],q.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Inject,args:[N.LOCALE_ID]}]}]};var G={};G.Zero=0,G.One=1,G.Two=2,G.Few=3,G.Many=4,G.Other=5,G[G.Zero]="Zero",G[G.One]="One",G[G.Two]="Two",G[G.Few]="Few",G[G.Many]="Many",G[G.Other]="Other";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var z=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._applyInitialClasses(!0),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyInitialClasses(!1),this._applyClasses(this._rawClass,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._cleanupClasses(this._rawClass),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(n.i(N["ɵisListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._cleanupClasses=function(t){this._applyClasses(t,!0),this._applyInitialClasses(!1)},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+n.i(N["ɵstringify"])(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyInitialClasses=function(t){var e=this;this._initialClasses.forEach(function(n){return e._toggleClass(n,!t)})},t.prototype._applyClasses=function(t,e){var n=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return n._toggleClass(t,!e)}):Object.keys(t).forEach(function(r){null!=t[r]&&n._toggleClass(r,!e)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){n._renderer.setElementClass(n._ngEl.nativeElement,t,!!e)})},t}();z.decorators=[{type:N.Directive,args:[{selector:"[ngClass]"}]}],z.ctorParameters=function(){return[{type:N.IterableDiffers},{type:N.KeyValueDiffers},{type:N.ElementRef},{type:N.Renderer}]},z.propDecorators={klass:[{type:N.Input,args:["class"]}],ngClass:[{type:N.Input}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var W=function(){function t(t){this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}return t.prototype.ngOnChanges=function(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=e.get(N.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var r=this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(N.ComponentFactoryResolver),o=r.resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(o,this._viewContainerRef.length,e,this.ngComponentOutletContent)}},t.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},t}();W.decorators=[{type:N.Directive,args:[{selector:"[ngComponentOutlet]"}]}],W.ctorParameters=function(){return[{type:N.ViewContainerRef}]},W.propDecorators={ngComponentOutlet:[{type:N.Input}],ngComponentOutletInjector:[{type:N.Input}],ngComponentOutletContent:[{type:N.Input}],ngComponentOutletNgModuleFactory:[{type:N.Input}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Z=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),Q=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._differ=null}return Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){n.i(N.isDevMode)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){if("ngForOf"in t){var e=t.ngForOf.currentValue;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+u(e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}},t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this.ngForOf);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,o){if(null==t.previousIndex){var i=e._viewContainer.createEmbeddedView(e._template,new Z(null,e.ngForOf,-1,-1),o),a=new K(t,i);n.push(a)}else if(null==o)e._viewContainer.remove(r);else{var i=e._viewContainer.get(r);e._viewContainer.move(i,o);var a=new K(t,i);n.push(a)}});for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);for(var r=0,o=this._viewContainer.length;r<o;r++){var i=this._viewContainer.get(r);i.context.index=r,i.context.count=o}t.forEachIdentityChange(function(t){e._viewContainer.get(t.currentIndex).context.$implicit=t.item})},t.prototype._perViewChange=function(t,e){t.context.$implicit=e.item},t}();Q.decorators=[{type:N.Directive,args:[{selector:"[ngFor][ngForOf]"}]}],Q.ctorParameters=function(){return[{type:N.ViewContainerRef},{type:N.TemplateRef},{type:N.IterableDiffers}]},Q.propDecorators={ngForOf:[{type:N.Input}],ngForTrackBy:[{type:N.Input}],ngForTemplate:[{type:N.Input}]};var K=function(){function t(t,e){this.record=t,this.view=e}return t}(),Y=Q,J=function(){function t(t,e){this._viewContainer=t,this._context=new $,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}return Object.defineProperty(t.prototype,"ngIf",{set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfThen",{set:function(t){this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfElse",{set:function(t){this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),t.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))},t}();J.decorators=[{type:N.Directive,args:[{selector:"[ngIf]"}]}],J.ctorParameters=function(){return[{type:N.ViewContainerRef},{type:N.TemplateRef}]},J.propDecorators={ngIf:[{type:N.Input}],ngIfThen:[{type:N.Input}],ngIfElse:[{type:N.Input}]};var $=function(){function t(){this.$implicit=null,this.ngIf=null}return t}(),X=function(){function t(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}return t.prototype.create=function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)},t.prototype.destroy=function(){this._created=!1,this._viewContainerRef.clear()},t.prototype.enforceState=function(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()},t}(),tt=function(){function t(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object.defineProperty(t.prototype,"ngSwitch",{set:function(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)},enumerable:!0,configurable:!0}),t.prototype._addCase=function(){return this._caseCount++},t.prototype._addDefault=function(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)},t.prototype._matchCase=function(t){var e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e},t.prototype._updateDefaultCases=function(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(var e=0;e<this._defaultViews.length;e++){this._defaultViews[e].enforceState(t)}}},t}();tt.decorators=[{type:N.Directive,args:[{selector:"[ngSwitch]"}]}],tt.ctorParameters=function(){return[]},tt.propDecorators={ngSwitch:[{type:N.Input}]};var et=function(){function t(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new X(t,e)}return t.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},t}();et.decorators=[{type:N.Directive,args:[{selector:"[ngSwitchCase]"}]}],et.ctorParameters=function(){return[{type:N.ViewContainerRef},{type:N.TemplateRef},{type:tt,decorators:[{type:N.Host}]}]},et.propDecorators={ngSwitchCase:[{type:N.Input}]};var nt=function(){function t(t,e,n){n._addDefault(new X(t,e))}return t}();nt.decorators=[{type:N.Directive,args:[{selector:"[ngSwitchDefault]"}]}],nt.ctorParameters=function(){return[{type:N.ViewContainerRef},{type:N.TemplateRef},{type:tt,decorators:[{type:N.Host}]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var rt=function(){function t(t){this._localization=t,this._caseViews={}}return Object.defineProperty(t.prototype,"ngPlural",{set:function(t){this._switchValue=t,this._updateView()},enumerable:!0,configurable:!0}),t.prototype.addCase=function(t,e){this._caseViews[t]=e},t.prototype._updateView=function(){this._clearViews();var t=Object.keys(this._caseViews),e=i(this._switchValue,t,this._localization);this._activateView(this._caseViews[e])},t.prototype._clearViews=function(){this._activeView&&this._activeView.destroy()},t.prototype._activateView=function(t){t&&(this._activeView=t,this._activeView.create())},t}();rt.decorators=[{type:N.Directive,args:[{selector:"[ngPlural]"}]}],rt.ctorParameters=function(){return[{type:B}]},rt.propDecorators={ngPlural:[{type:N.Input}]};var ot=function(){function t(t,e,n,r){this.value=t;var o=!isNaN(Number(t));r.addCase(o?"="+t:t,new X(n,e))}return t}();ot.decorators=[{type:N.Directive,args:[{selector:"[ngPluralCase]"}]}],ot.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Attribute,args:["ngPluralCase"]}]},{type:N.TemplateRef},{type:N.ViewContainerRef},{type:rt,decorators:[{type:N.Host}]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var it=function(){function t(t,e,n){this._differs=t,this._ngEl=e,this._renderer=n}return Object.defineProperty(t.prototype,"ngStyle",{set:function(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this;t.forEachRemovedItem(function(t){return e._setStyle(t.key,null)}),t.forEachAddedItem(function(t){return e._setStyle(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._setStyle(t.key,t.currentValue)})},t.prototype._setStyle=function(t,e){var n=t.split("."),r=n[0],o=n[1];e=null!=e&&o?""+e+o:e,this._renderer.setElementStyle(this._ngEl.nativeElement,r,e)},t}();it.decorators=[{type:N.Directive,args:[{selector:"[ngStyle]"}]}],it.ctorParameters=function(){return[{type:N.KeyValueDiffers},{type:N.ElementRef},{type:N.Renderer}]},it.propDecorators={ngStyle:[{type:N.Input}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var at=function(){function t(t){this._viewContainerRef=t}return Object.defineProperty(t.prototype,"ngOutletContext",{set:function(t){this.ngTemplateOutletContext=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))},t}();at.decorators=[{type:N.Directive,args:[{selector:"[ngTemplateOutlet]"}]}],at.ctorParameters=function(){return[{type:N.ViewContainerRef}]},at.propDecorators={ngTemplateOutletContext:[{type:N.Input}],ngTemplateOutlet:[{type:N.Input}],ngOutletContext:[{type:N.Input}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var ut=[z,W,Q,J,at,it,tt,et,nt,rt,ot],st=function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.subscribe({next:e,error:function(t){throw t}})},t.prototype.dispose=function(t){t.unsubscribe()},t.prototype.onDestroy=function(t){t.unsubscribe()},t}(),ct=function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.then(e,function(t){throw t})},t.prototype.dispose=function(t){},t.prototype.onDestroy=function(t){},t}(),lt=new ct,pt=new st,ft=function(){function t(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return t.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},t.prototype.transform=function(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,N.WrappedValue.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)},t.prototype._subscribe=function(t){var e=this;this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,function(n){return e._updateLatestValue(t,n)})},t.prototype._selectStrategy=function(e){if(n.i(N["ɵisPromise"])(e))return lt;if(n.i(N["ɵisObservable"])(e))return pt;throw s(t,e)},t.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},t.prototype._updateLatestValue=function(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())},t}();ft.decorators=[{type:N.Pipe,args:[{name:"async",pure:!1}]}],ft.ctorParameters=function(){return[{type:N.ChangeDetectorRef}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var ht=function(){function t(){}return t.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw s(t,e);return e.toLowerCase()},t}();ht.decorators=[{type:N.Pipe,args:[{name:"lowercase"}]}],ht.ctorParameters=function(){return[]};var dt=function(){function t(){}return t.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw s(t,e);return e.split(/\b/g).map(function(t){return c(t)}).join("")},t}();dt.decorators=[{type:N.Pipe,args:[{name:"titlecase"}]}],dt.ctorParameters=function(){return[]};var yt=function(){function t(){}return t.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw s(t,e);return e.toUpperCase()},t}();yt.decorators=[{type:N.Pipe,args:[{name:"uppercase"}]}],yt.ctorParameters=function(){return[]};var gt={};gt.Decimal=0,gt.Percent=1,gt.Currency=2,gt[gt.Decimal]="Decimal",gt[gt.Percent]="Percent",gt[gt.Currency]="Currency";var mt=function(){function t(){}return t.format=function(t,e,n,r){var o=void 0===r?{}:r,i=o.minimumIntegerDigits,a=o.minimumFractionDigits,u=o.maximumFractionDigits,s=o.currency,c=o.currencyAsSymbol,l=void 0!==c&&c,p={minimumIntegerDigits:i,minimumFractionDigits:a,maximumFractionDigits:u,style:gt[n].toLowerCase()};return n==gt.Currency&&(p.currency="string"==typeof s?s:void 0,p.currencyDisplay=l?"symbol":"code"),new Intl.NumberFormat(e,p).format(t)},t}(),vt=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,bt={yMMMdjms:b(v([g("year",1),m("month",3),g("day",1),g("hour",1),g("minute",1),g("second",1)])),yMdjm:b(v([g("year",1),g("month",1),g("day",1),g("hour",1),g("minute",1)])),yMMMMEEEEd:b(v([g("year",1),m("month",4),m("weekday",4),g("day",1)])),yMMMMd:b(v([g("year",1),m("month",4),g("day",1)])),yMMMd:b(v([g("year",1),m("month",3),g("day",1)])),yMd:b(v([g("year",1),g("month",1),g("day",1)])),jms:b(v([g("hour",1),g("second",1),g("minute",1)])),jm:b(v([g("hour",1),g("minute",1)]))},_t={yyyy:b(g("year",4)),yy:b(g("year",2)),y:b(g("year",1)),MMMM:b(m("month",4)),MMM:b(m("month",3)),MM:b(g("month",2)),M:b(g("month",1)),LLLL:b(m("month",4)),L:b(m("month",1)),dd:b(g("day",2)),d:b(g("day",1)),HH:l(f(b(y(g("hour",2),!1)))),H:f(b(y(g("hour",1),!1))),hh:l(f(b(y(g("hour",2),!0)))),h:f(b(y(g("hour",1),!0))),jj:b(g("hour",2)),j:b(g("hour",1)),mm:l(b(g("minute",2))),m:b(g("minute",1)),ss:l(b(g("second",2))),s:b(g("second",1)),sss:b(g("second",3)),EEEE:b(m("weekday",4)),EEE:b(m("weekday",3)),EE:b(m("weekday",2)),E:b(m("weekday",1)),a:p(b(y(g("hour",1),!0))),Z:d("short"),z:d("long"),ww:b({}),w:b({}),G:b(m("era",1)),GG:b(m("era",2)),GGG:b(m("era",3)),GGGG:b(m("era",4))},wt=new Map,Ct=function(){function t(){}return t.format=function(t,e,n){return _(n,t,e)},t}(),Ot=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Et=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){return C(t,this._locale,e,gt.Decimal,n)},t}();Et.decorators=[{type:N.Pipe,args:[{name:"number"}]}],Et.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Inject,args:[N.LOCALE_ID]}]}]};var St=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){return C(t,this._locale,e,gt.Percent,n)},t}();St.decorators=[{type:N.Pipe,args:[{name:"percent"}]}],St.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Inject,args:[N.LOCALE_ID]}]}]};var Pt=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n,r,o){return void 0===n&&(n="USD"),void 0===r&&(r=!1),C(t,this._locale,e,gt.Currency,o,n,r)},t}();Pt.decorators=[{type:N.Pipe,args:[{name:"currency"}]}],Pt.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Inject,args:[N.LOCALE_ID]}]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var xt=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,At=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){void 0===n&&(n="mediumDate");var r;if(S(e)||e!==e)return null;if("string"==typeof e&&(e=e.trim()),P(e))r=e;else if(E(e))r=new Date(parseFloat(e));else if("string"==typeof e&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var o=e.split("-").map(function(t){return parseInt(t,10)}),i=o[0],a=o[1],u=o[2];r=new Date(i,a-1,u)}else r=new Date(e);if(!P(r)){var c=void 0;if("string"!=typeof e||!(c=e.match(xt)))throw s(t,e);r=x(c)}return Ct.format(r,this._locale,t._ALIASES[n]||n)},t}();At._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},At.decorators=[{type:N.Pipe,args:[{name:"date",pure:!0}]}],At.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Inject,args:[N.LOCALE_ID]}]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Tt=/#/g,Rt=function(){function t(t){this._localization=t}return t.prototype.transform=function(e,n){if(null==e)return"";if("object"!=typeof n||null===n)throw s(t,n);return n[i(e,Object.keys(n),this._localization)].replace(Tt,e.toString())},t}();Rt.decorators=[{type:N.Pipe,args:[{name:"i18nPlural",pure:!0}]}],Rt.ctorParameters=function(){return[{type:B}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var kt=function(){function t(){}return t.prototype.transform=function(e,n){if(null==e)return"";if("object"!=typeof n||"string"!=typeof e)throw s(t,n);return n.hasOwnProperty(e)?n[e]:n.hasOwnProperty("other")?n.other:""},t}();kt.decorators=[{type:N.Pipe,args:[{name:"i18nSelect",pure:!0}]}],kt.ctorParameters=function(){return[]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var jt=function(){function t(){}return t.prototype.transform=function(t){return JSON.stringify(t,null,2)},t}();jt.decorators=[{type:N.Pipe,args:[{name:"json",pure:!1}]}],jt.ctorParameters=function(){return[]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var It=function(){function t(){}return t.prototype.transform=function(e,n,r){if(null==e)return e;if(!this.supports(e))throw s(t,e);return e.slice(n,r)},t.prototype.supports=function(t){return"string"==typeof t||Array.isArray(t)},t}();It.decorators=[{type:N.Pipe,args:[{name:"slice",pure:!1}]}],It.ctorParameters=function(){return[]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Nt=[ft,yt,ht,jt,It,Et,St,dt,Pt,At,Rt,kt],Mt=function(){function t(){}return t}();Mt.decorators=[{type:N.NgModule,args:[{declarations:[ut,Nt],exports:[ut,Nt],providers:[{provide:B,useClass:q}]}]}],Mt.ctorParameters=function(){return[]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Vt="browser",Dt="server",Ft="browserWorkerApp",Lt="browserWorkerUi",Ut=new N.Version("4.2.3")},"3j3K":function(t,e,n){"use strict";(function(t){function r(){if(!ko){var t=Ro.Symbol;if(t&&t.iterator)ko=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(ko=r)}}return ko}function o(t){Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function i(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function a(t){if("string"==typeof t)return t;if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function u(t){return"function"==typeof t&&t.hasOwnProperty("annotation")&&(t=t.annotation),t}function s(t,e){if(t===Object||t===String||t===Function||t===Number||t===Array)throw new Error("Can not use native "+a(t)+" as constructor");if("function"==typeof t)return t;if(Array.isArray(t)){var n=t,r=n.length-1,o=t[r];if("function"!=typeof o)throw new Error("Last position of Class method array must be Function in key "+e+" was '"+a(o)+"'");if(r!=o.length)throw new Error("Number of annotations ("+r+") does not match number of arguments ("+o.length+") in the function: "+a(o));for(var i=[],s=0,c=n.length-1;s<c;s++){var l=[];i.push(l);var p=n[s];if(Array.isArray(p))for(var f=0;f<p.length;f++)l.push(u(p[f]));else"function"==typeof p?l.push(u(p)):l.push(p)}return Io.defineMetadata("parameters",i,o),o}throw new Error("Only Function or Array is supported in Class definition for key '"+e+"' is '"+a(t)+"'")}function c(t){var e=s(t.hasOwnProperty("constructor")?t.constructor:void 0,"constructor"),n=e.prototype;if(t.hasOwnProperty("extends")){if("function"!=typeof t.extends)throw new Error("Class definition 'extends' property must be a constructor function was: "+a(t.extends));e.prototype=n=Object.create(t.extends.prototype)}for(var r in t)"extends"!==r&&"prototype"!==r&&t.hasOwnProperty(r)&&(n[r]=s(t[r],r));this&&this.annotations instanceof Array&&Io.defineMetadata("annotations",this.annotations,e);var o=e.name;return o&&"constructor"!==o||(e.overriddenName="class"+jo++),e}function l(t,e,n,r){function o(t){if(!Io||!Io.getOwnMetadata)throw"reflect-metadata shim is required when using class decorators";if(this instanceof o)return i.call(this,t),this;var e=new o(t),n="function"==typeof this&&Array.isArray(this.annotations)?this.annotations:[];n.push(e);var a=function(t){var n=Io.getOwnMetadata("annotations",t)||[];return n.push(e),Io.defineMetadata("annotations",n,t),t};return a.annotations=n,a.Class=c,r&&r(a),a}var i=p(e);return n&&(o.prototype=Object.create(n.prototype)),o.prototype.toString=function(){return"@"+t},o.annotationCls=o,o}function p(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t){var r=t.apply(void 0,e);for(var o in r)this[o]=r[o]}}}function f(t,e,n){function r(){function t(t,e,n){for(var r=Io.getOwnMetadata("parameters",t)||[];r.length<=n;)r.push(null);return r[n]=r[n]||[],r[n].push(i),Io.defineMetadata("parameters",r,t),t}for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof r)return o.apply(this,e),this;var i=new(r.bind.apply(r,[void 0].concat(e)));return t.annotation=i,t}var o=p(e);return n&&(r.prototype=Object.create(n.prototype)),r.prototype.toString=function(){return"@"+t},r.annotationCls=r,r}function h(t,e,n){function r(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(this instanceof r)return o.apply(this,t),this;var n=new(r.bind.apply(r,[void 0].concat(t)));return function(t,e){var r=Io.getOwnMetadata("propMetadata",t.constructor)||{};r[e]=r.hasOwnProperty(e)&&r[e]||[],r[e].unshift(n),Io.defineMetadata("propMetadata",r,t.constructor)}}var o=p(e);return n&&(r.prototype=Object.create(n.prototype)),r.prototype.toString=function(){return"@"+t},r.annotationCls=r,r}function d(t){return null==t||t===Ho.Default}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function y(t){return t.__forward_ref__=y,t.toString=function(){return a(this())},t}function g(t){return"function"==typeof t&&t.hasOwnProperty("__forward_ref__")&&t.__forward_ref__===y?t():t}function m(t){return t[di]}function v(t){return t[yi]}function b(t){return t[gi]||_}function _(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,e)}function w(t,e){var n=t+" caused by: "+(e instanceof Error?e.message:e),r=Error(n);return r[yi]=e,r}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function C(t){for(var e=[],n=0;n<t.length;++n){if(e.indexOf(t[n])>-1)return e.push(t[n]),e;e.push(t[n])}return e}function O(t){if(t.length>1){return" ("+C(t.slice().reverse()).map(function(t){return a(t.token)}).join(" -> ")+")"}return""}function E(t,e,n,r){var o=[e],i=n(o),a=r?w(i,r):Error(i);return a.addKey=S,a.keys=o,a.injectors=[t],a.constructResolvingMessage=n,a[yi]=r,a}function S(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function P(t,e){return E(t,e,function(t){return"No provider for "+a(t[0].token)+"!"+O(t)})}function x(t,e){return E(t,e,function(t){return"Cannot instantiate cyclic dependency!"+O(t)})}function A(t,e,n,r){return E(t,r,function(t){var n=a(t[0].token);return e.message+": Error during instantiation of "+n+"!"+O(t)+"."},e)}function T(t){return Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t)}function R(t,e){for(var n=[],r=0,o=e.length;r<o;r++){var i=e[r];i&&0!=i.length?n.push(i.map(a).join(" ")):n.push("?")}return Error("Cannot resolve all parameters for '"+a(t)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+a(t)+"' is decorated with Injectable.")}function k(t){return Error("Index "+t+" is out-of-bounds.")}function j(t,e){return Error("Cannot mix multi providers and regular providers, got: "+t+" "+e)}function I(t){return"function"==typeof t}function N(t){return t?t.map(function(t){var e=t.type,n=e.annotationCls,r=t.args?t.args:[];return new(n.bind.apply(n,[void 0].concat(r)))}):[]}function M(t){var e=Object.getPrototypeOf(t.prototype);return(e?e.constructor:null)||Object}function V(t){var e,n;if(t.useClass){var r=g(t.useClass);e=Si.factory(r),n=B(r)}else t.useExisting?(e=function(t){return t},n=[Pi.fromKey(vi.get(t.useExisting))]):t.useFactory?(e=t.useFactory,n=H(t.useFactory,t.deps)):(e=function(){return t.useValue},n=xi);return new Ti(e,n)}function D(t){return new Ai(vi.get(t.provide),[V(t)],t.multi||!1)}function F(t){var e=U(t,[]),n=e.map(D),r=L(n,new Map);return Array.from(r.values())}function L(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=e.get(r.key.id);if(o){if(r.multiProvider!==o.multiProvider)throw j(o,r);if(r.multiProvider)for(var i=0;i<r.resolvedFactories.length;i++)o.resolvedFactories.push(r.resolvedFactories[i]);else e.set(r.key.id,r)}else{var a=void 0;a=r.multiProvider?new Ai(r.key,r.resolvedFactories.slice(),r.multiProvider):r,e.set(r.key.id,a)}}return e}function U(t,e){return t.forEach(function(t){if(t instanceof wi)e.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)e.push(t);else{if(!(t instanceof Array))throw T(t);U(t,e)}}),e}function H(t,e){if(e){var n=e.map(function(t){return[t]});return e.map(function(e){return q(t,e,n)})}return B(t)}function B(t){var e=Si.parameters(t);if(!e)return[];if(e.some(function(t){return null==t}))throw R(t,e);return e.map(function(n){return q(t,n,e)})}function q(t,e,n){var r=null,o=!1;if(!Array.isArray(e))return e instanceof ri?G(e.token,o,null):G(e,o,null);for(var i=null,a=0;a<e.length;++a){var u=e[a];u instanceof wi?r=u:u instanceof ri?r=u.token:u instanceof oi?o=!0:u instanceof ai||u instanceof ui?i=u:u instanceof Po&&(r=u)}if(null!=(r=g(r)))return G(r,o,i);throw R(t,n)}function G(t,e,n){return new Pi(vi.get(t),e,n)}function z(t,e){for(var n=new Array(t._providers.length),r=0;r<t._providers.length;++r)n[r]=e(t.getProviderAtIndex(r));return n}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function W(t){return!!t&&"function"==typeof t.then}function Z(t){return!!t&&"function"==typeof t.subscribe}function Q(){return""+K()+K()+K()}function K(){return String.fromCharCode(97+Math.floor(25*Math.random()))}function Y(){throw new Error("Runtime compiler is not loaded")}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function J(t){var e=Error("No component factory found for "+a(t)+". Did you add it to @NgModule.entryComponents?");return e[Ki]=t,e}function $(){var t=Ro.wtf;return!(!t||!($i=t.trace))&&(Xi=$i.events,!0)}function X(t,e){return void 0===e&&(e=null),Xi.createScope(t,e)}function tt(t,e){return $i.leaveScope(t,e),e}function et(t,e){return $i.beginTimeRange(t,e)}function nt(t){$i.endTimeRange(t)}function rt(t,e){return null}function ot(t){ya=t}function it(){if(ma)throw new Error("Cannot enable prod mode after platform setup.");ga=!1}function at(){return ma=!0,ga}function ut(t){if(ha&&!ha.destroyed&&!ha.injector.get(va,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ha=t.get(_a);var e=t.get(Fi,null);return e&&e.forEach(function(t){return t()}),ha}function st(t,e,n){void 0===n&&(n=[]);var r=new Po("Platform: "+e);return function(e){void 0===e&&(e=[]);var o=pt();return o&&!o.injector.get(va,!1)||(t?t(n.concat(e).concat({provide:r,useValue:!0})):ut(ki.resolveAndCreate(n.concat(e).concat({provide:r,useValue:!0})))),ct(r)}}function ct(t){var e=pt();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}function lt(){ha&&!ha.destroyed&&ha.destroy()}function pt(){return ha&&!ha.destroyed?ha:null}function ft(t,e){try{var n=e();return W(n)?n.catch(function(e){throw t.handleError(e),e}):n}catch(e){throw t.handleError(e),e}}function ht(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function dt(t,e){var n=Ia.get(t);if(n)throw new Error("Duplicate module registered for "+t+" - "+n.moduleType.name+" vs "+e.moduleType.name);Ia.set(t,e)}function yt(t){var e=Ia.get(t);if(!e)throw new Error("No module with ID "+t+" loaded");return e}function gt(t){return t.reduce(function(t,e){var n=Array.isArray(e)?gt(e):e;return t.concat(n)},[])}function mt(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}function vt(t){return t.map(function(t){return t.nativeElement})}function bt(t,e,n){t.childNodes.forEach(function(t){t instanceof Za&&(e(t)&&n.push(t),bt(t,e,n))})}function _t(t,e,n){t instanceof Za&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof Za&&_t(t,e,n)})}function wt(t){return Qa.get(t)||null}function Ct(t){Qa.set(t.nativeNode,t)}function Ot(t){Qa.delete(t.nativeNode)}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function Et(t,e){var n=St(t),r=St(e);if(n&&r)return Pt(t,e,Et);var o=t&&("object"==typeof t||"function"==typeof t),a=e&&("object"==typeof e||"function"==typeof e);return!(n||!o||r||!a)||i(t,e)}function St(t){return!!At(t)&&(Array.isArray(t)||!(t instanceof Map)&&r()in t)}function Pt(t,e,n){for(var o=t[r()](),i=e[r()]();;){var a=o.next(),u=i.next();if(a.done&&u.done)return!0;if(a.done||u.done)return!1;if(!n(a.value,u.value))return!1}}function xt(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var o=t[r()](),i=void 0;!(i=o.next()).done;)e(i.value)}function At(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Tt(t,e,n){var r=t.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+e+o}function Rt(t){return t.name||typeof t}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function kt(){return Si}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function jt(){return pu}function It(){return fu}function Nt(t){return t||"en-US"}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function Mt(t,e){return t.nodes[e]}function Vt(t,e){return t.nodes[e]}function Dt(t,e){return t.nodes[e]}function Ft(t,e){return t.nodes[e]}function Lt(t,e){return t.nodes[e]}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function Ut(t,e,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+n+"'.";return r&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),Bt(o,t)}function Ht(t,e){return t instanceof Error||(t=new Error(t.toString())),qt(t,e),t}function Bt(t,e){var n=new Error(t);return qt(n,e),n}function qt(t,e){t[di]=e,t[gi]=e.logError.bind(e)}function Gt(t){return!!m(t)}function zt(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}function Wt(t){var e=Su.get(t);return e||(e=a(t)+"_"+Su.size,Su.set(t,e)),e}function Zt(t,e,n,r){if(r instanceof Ka){r=r.wrapped;var o=t.def.nodes[e].bindingIndex+n,i=t.oldValues[o];i instanceof Ka&&(i=i.wrapped),t.oldValues[o]=new Ka(i)}return r}function Qt(t){return{id:Pu,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}function Kt(t){if(t&&t.id===Pu){var e=null!=t.encapsulation&&t.encapsulation!==Xo.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+Au++:xu}return t&&t.id===xu&&(t=null),t||null}function Yt(t,e,n,r){var o=t.oldValues;return!(!(2&t.state)&&i(o[e.bindingIndex+n],r))}function Jt(t,e,n,r){return!!Yt(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function $t(t,e,n,r){var o=t.oldValues[e.bindingIndex+n];if(1&t.state||!Et(o,r))throw Ut(Ou.createDebugContext(t,e.index),o,r,0!=(1&t.state))}function Xt(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function te(t,e){for(var n=t;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function ee(t,e,n,r){return Xt(33554432&t.def.nodes[e].flags?Vt(t,e).componentView:t),Ou.handleEvent(t,e,n,r)}function ne(t){if(t.parent){return Vt(t.parent,t.parentNodeDef.index)}return null}function re(t){return t.parent?t.parentNodeDef.parent:null}function oe(t,e){switch(201347067&e.flags){case 1:return Vt(t,e.index).renderElement;case 2:return Mt(t,e.index).renderText}}function ie(t,e){return t?t+":"+e:e}function ae(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function ue(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function se(t){return 1<<t%32}function ce(t){var e={},n=0,r={};return t&&t.forEach(function(t){var o=t[0],i=t[1];"number"==typeof o?(e[o]=i,n|=se(o)):r[o]=i}),{matchedQueries:e,references:r,matchedQueryIds:n}}function le(t){return t.map(function(t){var e,n;return Array.isArray(t)?(n=t[0],e=t[1]):(n=0,e=t),{flags:n,token:e,tokenKey:Wt(e)}})}function pe(t,e,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Xo.Native?Vt(t,n.renderParent.index).renderElement:void 0:e}function fe(t){var e=Tu.get(t);return e||(e=t(function(){return Eu}),e.factory=t,Tu.set(t,e)),e}function he(t){var e=[];return de(t,0,void 0,void 0,e),e}function de(t,e,n,r,o){3===e&&(n=t.renderer.parentNode(oe(t,t.def.lastRenderRootNode))),ye(t,e,0,t.def.nodes.length-1,n,r,o)}function ye(t,e,n,r,o,i,a){for(var u=n;u<=r;u++){var s=t.def.nodes[u];11&s.flags&&me(t,s,e,o,i,a),u+=s.childCount}}function ge(t,e,n,r,o,i){for(var a=t;a&&!ae(a);)a=a.parent;for(var u=a.parent,s=re(a),c=s.index+1,l=s.index+s.childCount,p=c;p<=l;p++){var f=u.def.nodes[p];f.ngContentIndex===e&&me(u,f,n,r,o,i),p+=f.childCount}if(!u.parent){var h=t.root.projectableNodes[e];if(h)for(var p=0;p<h.length;p++)ve(t,h[p],n,r,o,i)}}function me(t,e,n,r,o,i){if(8&e.flags)ge(t,e.ngContent.index,n,r,o,i);else{var a=oe(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags){if(16&e.bindingFlags&&ve(t,a,n,r,o,i),32&e.bindingFlags){var u=Vt(t,e.index).componentView;ve(u,a,n,r,o,i)}}else ve(t,a,n,r,o,i);if(16777216&e.flags)for(var s=Vt(t,e.index).viewContainer._embeddedViews,c=0;c<s.length;c++)de(s[c],n,r,o,i);1&e.flags&&!e.element.name&&ye(t,n,e.index+1,e.index+e.childCount,r,o,i)}}function ve(t,e,n,r,o,i){var a=t.renderer;switch(n){case 1:a.appendChild(r,e);break;case 2:a.insertBefore(r,e,o);break;case 3:a.removeChild(r,e);break;case 0:i.push(e)}}function be(t){if(":"===t[0]){var e=t.match(Ru);return[e[1],e[2]]}return["",t]}function _e(t){for(var e=0,n=0;n<t.length;n++)e|=t[n].flags;return e}function we(t,e){for(var n="",r=0;r<2*t;r+=2)n=n+e[r]+Oe(e[r+1]);return n+e[2*t]}function Ce(t,e,n,r,o,i,a,u,s,c,l,p,f,h,d,y,g,m,v,b){switch(t){case 1:return e+Oe(n)+r;case 2:return e+Oe(n)+r+Oe(o)+i;case 3:return e+Oe(n)+r+Oe(o)+i+Oe(a)+u;case 4:return e+Oe(n)+r+Oe(o)+i+Oe(a)+u+Oe(s)+c;case 5:return e+Oe(n)+r+Oe(o)+i+Oe(a)+u+Oe(s)+c+Oe(l)+p;case 6:return e+Oe(n)+r+Oe(o)+i+Oe(a)+u+Oe(s)+c+Oe(l)+p+Oe(f)+h;case 7:return e+Oe(n)+r+Oe(o)+i+Oe(a)+u+Oe(s)+c+Oe(l)+p+Oe(f)+h+Oe(d)+y;case 8:return e+Oe(n)+r+Oe(o)+i+Oe(a)+u+Oe(s)+c+Oe(l)+p+Oe(f)+h+Oe(d)+y+Oe(g)+m;case 9:return e+Oe(n)+r+Oe(o)+i+Oe(a)+u+Oe(s)+c+Oe(l)+p+Oe(f)+h+Oe(d)+y+Oe(g)+m+Oe(v)+b;default:throw new Error("Does not support more than 9 expressions")}}function Oe(t){return null!=t?t.toString():""}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function Ee(t,e,n,r,o,i){t|=1;var a=ce(e),u=a.matchedQueries,s=a.references;return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:a.matchedQueryIds,references:s,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?fe(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||Eu},provider:null,text:null,query:null,ngContent:null}}function Se(t,e,n,r,o,i,a,u,s,c,l){void 0===i&&(i=[]),s||(s=Eu);var p=ce(e),f=p.matchedQueries,h=p.references,d=p.matchedQueryIds,y=null,g=null;o&&(I=be(o),y=I[0],g=I[1]),a=a||[];for(var m=new Array(a.length),v=0;v<a.length;v++){var b=a[v],_=b[0],w=b[1],C=b[2],O=be(w),E=O[0],S=O[1],P=void 0,x=void 0;switch(15&_){case 4:x=C;break;case 1:case 8:P=C}m[v]={flags:_,ns:E,name:S,nonMinifiedName:S,securityContext:P,suffix:x}}u=u||[];for(var A=new Array(u.length),v=0;v<u.length;v++){var T=u[v],R=T[0],k=T[1];A[v]={type:0,target:R,eventName:k,propName:null}}i=i||[];var j=i.map(function(t){var e=t[0],n=t[1],r=be(e);return[r[0],r[1],n]});return l=Kt(l),c&&(t|=33554432),t|=1,{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:f,matchedQueryIds:d,references:h,ngContentIndex:n,childCount:r,bindings:m,bindingFlags:_e(m),outputs:A,element:{ns:y,name:g,attrs:j,template:null,componentProvider:null,componentView:c||null,componentRendererType:l,publicProviders:null,allProviders:null,handleEvent:s||Eu},provider:null,text:null,query:null,ngContent:null};var I}function Pe(t,e,n){var r,o=n.element,i=t.root.selectorOrNode,a=t.renderer;if(t.parent||!i){r=o.name?a.createElement(o.name,o.ns):a.createComment("");var u=pe(t,e,n);u&&a.appendChild(u,r)}else r=a.selectRootElement(i);if(o.attrs)for(var s=0;s<o.attrs.length;s++){var c=o.attrs[s],l=c[0],p=c[1],f=c[2];a.setAttribute(r,p,f,l)}return r}function xe(t,e,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=Ae(t,n.index,ie(i.target,i.eventName)),u=i.target,s=t;"component"===i.target&&(u=null,s=e);var c=s.renderer.listen(u||r,i.eventName,a);t.disposables[n.outputIndex+o]=c}}function Ae(t,e,n){return function(r){try{return ee(t,e,n,r)}catch(e){t.root.errorHandler.handleError(e)}}}function Te(t,e,n,r,o,i,a,u,s,c,l,p){var f=e.bindings.length,h=!1;return f>0&&ke(t,e,0,n)&&(h=!0),f>1&&ke(t,e,1,r)&&(h=!0),f>2&&ke(t,e,2,o)&&(h=!0),f>3&&ke(t,e,3,i)&&(h=!0),f>4&&ke(t,e,4,a)&&(h=!0),f>5&&ke(t,e,5,u)&&(h=!0),f>6&&ke(t,e,6,s)&&(h=!0),f>7&&ke(t,e,7,c)&&(h=!0),f>8&&ke(t,e,8,l)&&(h=!0),f>9&&ke(t,e,9,p)&&(h=!0),h}function Re(t,e,n){for(var r=!1,o=0;o<n.length;o++)ke(t,e,o,n[o])&&(r=!0);return r}function ke(t,e,n,r){if(!Jt(t,e,n,r))return!1;var o=e.bindings[n],i=Vt(t,e.index),a=i.renderElement,u=o.name;switch(15&o.flags){case 1:je(t,o,a,o.ns,u,r);break;case 2:Ie(t,a,u,r);break;case 4:Ne(t,o,a,u,r);break;case 8:Me(33554432&e.flags&&32&o.flags?i.componentView:t,o,a,u,r)}return!0}function je(t,e,n,r,o,i){var a=e.securityContext,u=a?t.root.sanitizer.sanitize(a,i):i;u=null!=u?u.toString():null;var s=t.renderer;null!=i?s.setAttribute(n,o,u,r):s.removeAttribute(n,o,r)}function Ie(t,e,n,r){var o=t.renderer;r?o.addClass(e,n):o.removeClass(e,n)}function Ne(t,e,n,r,o){var i=t.root.sanitizer.sanitize(_u.STYLE,o);if(null!=i){i=i.toString();var a=e.suffix;null!=a&&(i+=a)}else i=null;var u=t.renderer;null!=i?u.setStyle(n,r,i):u.removeStyle(n,r)}function Me(t,e,n,r,o){var i=e.securityContext,a=i?t.root.sanitizer.sanitize(i,o):o;t.renderer.setProperty(n,r,a)}function Ve(t,e,n,r){return{index:-1,deps:le(r),flags:t,token:e,value:n}}function De(t){for(var e={},n=0;n<t.length;n++){var r=t[n];r.index=n,e[Wt(r.token)]=r}return{factory:null,providersByKey:e,providers:t}}function Fe(t){for(var e=t._def,n=t._providers=new Array(e.providers.length),r=0;r<e.providers.length;r++){var o=e.providers[r];n[r]=4096&o.flags?Iu:Ue(t,o)}}function Le(t,e,n){if(void 0===n&&(n=fi.THROW_IF_NOT_FOUND),8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);var r=e.tokenKey;switch(r){case Nu:case Mu:return t}var o=t._def.providersByKey[r];if(o){var i=t._providers[o.index];return i===Iu&&(i=t._providers[o.index]=Ue(t,o)),i}return t._parent.get(e.token,n)}function Ue(t,e){var n;switch(201347067&e.flags){case 512:n=He(t,e.value,e.deps);break;case 1024:n=Be(t,e.value,e.deps);break;case 2048:n=Le(t,e.deps[0]);break;case 256:n=e.value}return n}function He(t,e,n){var r,o=n.length;switch(o){case 0:r=new e;break;case 1:r=new e(Le(t,n[0]));break;case 2:r=new e(Le(t,n[0]),Le(t,n[1]));break;case 3:r=new e(Le(t,n[0]),Le(t,n[1]),Le(t,n[2]));break;default:for(var i=new Array(o),a=0;a<o;a++)i[a]=Le(t,n[a]);r=new(e.bind.apply(e,[void 0].concat(i)))}return r}function Be(t,e,n){var r,o=n.length;switch(o){case 0:r=e();break;case 1:r=e(Le(t,n[0]));break;case 2:r=e(Le(t,n[0]),Le(t,n[1]));break;case 3:r=e(Le(t,n[0]),Le(t,n[1]),Le(t,n[2]));break;default:for(var i=Array(o),a=0;a<o;a++)i[a]=Le(t,n[a]);r=e.apply(void 0,i)}return r}function qe(t,e){for(var n=t._def,r=0;r<n.providers.length;r++){if(131072&n.providers[r].flags){var o=t._providers[r];o&&o!==Iu&&o.ngOnDestroy()}}}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function Ge(t,e,n,r){var o=e.viewContainer._embeddedViews;null!==n&&void 0!==n||(n=o.length),r.viewContainerParent=t,$e(o,n,r),ze(e,r),Ou.dirtyParentQueries(r),Ye(e,n>0?o[n-1]:null,r)}function ze(t,e){var n=ne(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),We(e.parent.def,e.parentNodeDef)}}function We(t,e){if(!(4&e.flags)){t.nodeFlags|=4,e.flags|=4;for(var n=e.parent;n;)n.childFlags|=4,n=n.parent}}function Ze(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,Xe(n,e),Ou.dirtyParentQueries(r),Je(r),r}function Qe(t){if(16&t.state){var e=ne(t);if(e){var n=e.template._projectedViews;n&&(Xe(n,n.indexOf(t)),Ou.dirtyParentQueries(t))}}}function Ke(t,e,n){var r=t.viewContainer._embeddedViews,o=r[e];return Xe(r,e),null==n&&(n=r.length),$e(r,n,o),Ou.dirtyParentQueries(o),Je(o),Ye(t,n>0?r[n-1]:null,o),o}function Ye(t,e,n){var r=e?oe(e,e.def.lastRenderRootNode):t.renderElement;de(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Je(t){de(t,3,null,null,void 0)}function $e(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Xe(t,e){e>=t.length-1?t.pop():t.splice(e,1)}function tn(t,e,n,r,o,i){return new Du(t,e,n,r,o,i)}function en(t){return t.viewDefFactory}function nn(t,e,n){return new Lu(t,e,n)}function rn(t){return new Uu(t)}function on(t,e){return new Hu(t,e)}function an(t,e){return new Bu(t,e)}function un(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Vt(t,n.index);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Mt(t,n.index).renderText;if(20240&n.flags)return Dt(t,n.index).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function sn(t){return new qu(t.renderer)}function cn(t,e,n,r){return new Gu(t,e,n,r)}function ln(t,e,n,r,o,i,a){var u=[];if(i)for(var s in i){var c=i[s],l=c[0],p=c[1];u[l]={flags:8,name:s,nonMinifiedName:p,ns:null,securityContext:null,suffix:null}}var f=[];if(a)for(var h in a)f.push({type:1,propName:h,target:null,eventName:a[h]});return t|=16384,hn(t,e,n,r,r,o,u,f)}function pn(t,e,n){return t|=16,hn(t,null,0,e,e,n)}function fn(t,e,n,r,o){return hn(t,e,0,n,r,o)}function hn(t,e,n,r,o,i,a,u){var s=ce(e),c=s.matchedQueries,l=s.references,p=s.matchedQueryIds;u||(u=[]),a||(a=[]);var f=le(i);return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:p,references:l,ngContentIndex:-1,childCount:n,bindings:a,bindingFlags:_e(a),outputs:u,element:null,provider:{token:r,value:o,deps:f},text:null,query:null,ngContent:null}}function dn(t,e){return 4096&e.flags?$u:_n(t,e)}function yn(t,e){for(var n=t;n.parent&&!ae(n);)n=n.parent;return wn(n.parent,re(n),!0,e.provider.value,e.provider.deps)}function gn(t,e){var n=(32768&e.flags)>0,r=wn(t,e.parent,n,e.provider.value,e.provider.deps);if(e.outputs.length)for(var o=0;o<e.outputs.length;o++){var i=e.outputs[o],a=r[i.propName].subscribe(mn(t,e.parent.index,i.eventName));t.disposables[e.outputIndex+o]=a.unsubscribe.bind(a)}return r}function mn(t,e,n){return function(r){try{return ee(t,e,n,r)}catch(e){t.root.errorHandler.handleError(e)}}}function vn(t,e,n,r,o,i,a,u,s,c,l,p){var f=Dt(t,e.index),h=f.instance,d=!1,y=void 0,g=e.bindings.length;return g>0&&Yt(t,e,0,n)&&(d=!0,y=Sn(t,f,e,0,n,y)),g>1&&Yt(t,e,1,r)&&(d=!0,y=Sn(t,f,e,1,r,y)),g>2&&Yt(t,e,2,o)&&(d=!0,y=Sn(t,f,e,2,o,y)),g>3&&Yt(t,e,3,i)&&(d=!0,y=Sn(t,f,e,3,i,y)),g>4&&Yt(t,e,4,a)&&(d=!0,y=Sn(t,f,e,4,a,y)),g>5&&Yt(t,e,5,u)&&(d=!0,y=Sn(t,f,e,5,u,y)),g>6&&Yt(t,e,6,s)&&(d=!0,y=Sn(t,f,e,6,s,y)),g>7&&Yt(t,e,7,c)&&(d=!0,y=Sn(t,f,e,7,c,y)),g>8&&Yt(t,e,8,l)&&(d=!0,y=Sn(t,f,e,8,l,y)),g>9&&Yt(t,e,9,p)&&(d=!0,y=Sn(t,f,e,9,p,y)),y&&h.ngOnChanges(y),2&t.state&&65536&e.flags&&h.ngOnInit(),262144&e.flags&&h.ngDoCheck(),d}function bn(t,e,n){for(var r=Dt(t,e.index),o=r.instance,i=!1,a=void 0,u=0;u<n.length;u++)Yt(t,e,u,n[u])&&(i=!0,a=Sn(t,r,e,u,n[u],a));return a&&o.ngOnChanges(a),2&t.state&&65536&e.flags&&o.ngOnInit(),262144&e.flags&&o.ngDoCheck(),i}function _n(t,e){var n,r=(8192&e.flags)>0,o=e.provider;switch(201347067&e.flags){case 512:n=wn(t,e.parent,r,o.value,o.deps);break;case 1024:n=Cn(t,e.parent,r,o.value,o.deps);break;case 2048:n=On(t,e.parent,r,o.deps[0]);break;case 256:n=o.value}return n}function wn(t,e,n,r,o){var i,a=o.length;switch(a){case 0:i=new r;break;case 1:i=new r(On(t,e,n,o[0]));break;case 2:i=new r(On(t,e,n,o[0]),On(t,e,n,o[1]));break;case 3:i=new r(On(t,e,n,o[0]),On(t,e,n,o[1]),On(t,e,n,o[2]));break;default:for(var u=new Array(a),s=0;s<a;s++)u[s]=On(t,e,n,o[s]);i=new(r.bind.apply(r,[void 0].concat(u)))}return i}function Cn(t,e,n,r,o){var i,a=o.length;switch(a){case 0:i=r();break;case 1:i=r(On(t,e,n,o[0]));break;case 2:i=r(On(t,e,n,o[0]),On(t,e,n,o[1]));break;case 3:i=r(On(t,e,n,o[0]),On(t,e,n,o[1]),On(t,e,n,o[2]));break;default:for(var u=Array(a),s=0;s<a;s++)u[s]=On(t,e,n,o[s]);i=r.apply(void 0,u)}return i}function On(t,e,n,r,o){if(void 0===o&&(o=fi.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=t;2&r.flags&&(o=null);var a=r.tokenKey;for(a===Yu&&(n=!(!e||!e.element.componentView)),e&&1&r.flags&&(n=!1,e=e.parent);t;){if(e)switch(a){case zu:var u=En(t,e,n);return sn(u);case Wu:var u=En(t,e,n);return u.renderer;case Zu:return new ka(Vt(t,e.index).renderElement);case Qu:return Vt(t,e.index).viewContainer;case Ku:if(e.element.template)return Vt(t,e.index).template;break;case Yu:return rn(En(t,e,n));case Ju:return an(t,e);default:var s=(n?e.element.allProviders:e.element.publicProviders)[a];if(s){var c=Dt(t,s.index);return c.instance===$u&&(c.instance=_n(t,s)),c.instance}}n=ae(t),e=re(t),t=t.parent}var l=i.root.injector.get(r.token,Xu);return l!==Xu||o===Xu?l:i.root.ngModule.injector.get(r.token,o)}function En(t,e,n){var r;if(n)r=Vt(t,e.index).componentView;else for(r=t;r.parent&&!ae(r);)r=r.parent;return r}function Sn(t,e,n,r,o,i){if(32768&n.flags){var a=Vt(t,n.parent.index).componentView;2&a.def.flags&&(a.state|=8)}var u=n.bindings[r],s=u.name;if(e.instance[s]=o,524288&n.flags){i=i||{};var c=t.oldValues[n.bindingIndex+r];c instanceof Ka&&(c=c.wrapped);i[n.bindings[r].nonMinifiedName]=new Ja(c,o,0!=(2&t.state))}return t.oldValues[n.bindingIndex+r]=o,i}function Pn(t,e){if(t.def.nodeFlags&e)for(var n=t.def.nodes,r=0;r<n.length;r++){var o=n[r],i=o.parent;for(!i&&o.flags&e&&An(t,r,o.flags&e),0==(o.childFlags&e)&&(r+=o.childCount);i&&1&i.flags&&r===i.index+i.childCount;)i.directChildFlags&e&&xn(t,i,e),i=i.parent}}function xn(t,e,n){for(var r=e.index+1;r<=e.index+e.childCount;r++){var o=t.def.nodes[r];o.flags&n&&An(t,r,o.flags&n),r+=o.childCount}}function An(t,e,n){var r=Dt(t,e).instance;r!==$u&&(Ou.setCurrentNode(t,e),1048576&n&&r.ngAfterContentInit(),2097152&n&&r.ngAfterContentChecked(),4194304&n&&r.ngAfterViewInit(),8388608&n&&r.ngAfterViewChecked(),131072&n&&r.ngOnDestroy())}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function Tn(t,e,n){var r=[];for(var o in n){var i=n[o];r.push({propName:o,bindingType:i})}return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:e,filterId:se(e),bindings:r},ngContent:null}}function Rn(){return new Na}function kn(t){for(var e=t.def.nodeMatchedQueries;t.parent&&ue(t);){var n=t.parentNodeDef;t=t.parent;for(var r=n.index+n.childCount,o=0;o<=r;o++){var i=t.def.nodes[o];67108864&i.flags&&536870912&i.flags&&(i.query.filterId&e)===i.query.filterId&&Lt(t,o).setDirty(),!(1&i.flags&&o+i.childCount<n.index)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}}if(134217728&t.def.nodeFlags)for(var o=0;o<t.def.nodes.length;o++){var i=t.def.nodes[o];134217728&i.flags&&536870912&i.flags&&Lt(t,o).setDirty(),o+=i.childCount}}function jn(t,e){var n=Lt(t,e.index);if(n.dirty){var r,o=void 0;if(67108864&e.flags){var i=e.parent.parent;o=In(t,i.index,i.index+i.childCount,e.query,[]),r=Dt(t,e.parent.index).instance}else 134217728&e.flags&&(o=In(t,0,t.def.nodes.length-1,e.query,[]),r=t.component);n.reset(o);for(var a=e.query.bindings,u=!1,s=0;s<a.length;s++){var c=a[s],l=void 0;switch(c.bindingType){case 0:l=n.first;break;case 1:l=n,u=!0}r[c.propName]=l}u&&n.notifyOnChanges()}}function In(t,e,n,r,o){for(var i=e;i<=n;i++){var a=t.def.nodes[i],u=a.matchedQueries[r.id];if(null!=u&&o.push(Nn(t,a,u)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var s=Vt(t,i);if(16777216&a.flags)for(var c=s.viewContainer._embeddedViews,l=0;l<c.length;l++){var p=c[l],f=ne(p);f&&f===s&&In(p,0,p.def.nodes.length-1,r,o)}var h=s.template._projectedViews;if(h)for(var l=0;l<h.length;l++){var d=h[l];In(d,0,d.def.nodes.length-1,r,o)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(i+=a.childCount)}return o}function Nn(t,e,n){if(null!=n){var r=void 0;switch(n){case 1:r=Vt(t,e.index).renderElement;break;case 0:r=new ka(Vt(t,e.index).renderElement);break;case 2:r=Vt(t,e.index).template;break;case 3:r=Vt(t,e.index).viewContainer;break;case 4:r=Dt(t,e.index).instance}return r}}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function Mn(t,e){return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:e}}}function Vn(t,e,n){var r=pe(t,e,n);if(r){ge(t,n.ngContent.index,1,r,null,void 0)}}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function Dn(t){return Un(128,new Array(t+1))}function Fn(t){return Un(32,new Array(t))}function Ln(t){return Un(64,t)}function Un(t,e){for(var n=new Array(e.length),r=0;r<e.length;r++){var o=e[r];n[r]={flags:8,name:o,ns:null,nonMinifiedName:o,securityContext:null,suffix:null}}return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:n,bindingFlags:_e(n),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Hn(t,e){return{value:void 0}}function Bn(t,e,n,r,o,i,a,u,s,c,l,p){var f=e.bindings,h=!1,d=f.length;if(d>0&&Jt(t,e,0,n)&&(h=!0),d>1&&Jt(t,e,1,r)&&(h=!0),d>2&&Jt(t,e,2,o)&&(h=!0),d>3&&Jt(t,e,3,i)&&(h=!0),d>4&&Jt(t,e,4,a)&&(h=!0),d>5&&Jt(t,e,5,u)&&(h=!0),d>6&&Jt(t,e,6,s)&&(h=!0),d>7&&Jt(t,e,7,c)&&(h=!0),d>8&&Jt(t,e,8,l)&&(h=!0),d>9&&Jt(t,e,9,p)&&(h=!0),h){var y=Ft(t,e.index),g=void 0;switch(201347067&e.flags){case 32:g=new Array(f.length),d>0&&(g[0]=n),d>1&&(g[1]=r),d>2&&(g[2]=o),d>3&&(g[3]=i),d>4&&(g[4]=a),d>5&&(g[5]=u),d>6&&(g[6]=s),d>7&&(g[7]=c),d>8&&(g[8]=l),d>9&&(g[9]=p);break;case 64:g={},d>0&&(g[f[0].name]=n),d>1&&(g[f[1].name]=r),d>2&&(g[f[2].name]=o),d>3&&(g[f[3].name]=i),d>4&&(g[f[4].name]=a),d>5&&(g[f[5].name]=u),d>6&&(g[f[6].name]=s),d>7&&(g[f[7].name]=c),d>8&&(g[f[8].name]=l),d>9&&(g[f[9].name]=p);break;case 128:var m=n;switch(d){case 1:g=m.transform(n);break;case 2:g=m.transform(r);break;case 3:g=m.transform(r,o);break;case 4:g=m.transform(r,o,i);break;case 5:g=m.transform(r,o,i,a);break;case 6:g=m.transform(r,o,i,a,u);break;case 7:g=m.transform(r,o,i,a,u,s);break;case 8:g=m.transform(r,o,i,a,u,s,c);break;case 9:g=m.transform(r,o,i,a,u,s,c,l);break;case 10:g=m.transform(r,o,i,a,u,s,c,l,p)}}y.value=g}return h}function qn(t,e,n){for(var r=e.bindings,o=!1,i=0;i<n.length;i++)Jt(t,e,i,n[i])&&(o=!0);if(o){var a=Ft(t,e.index),u=void 0;switch(201347067&e.flags){case 32:u=n;break;case 64:u={};for(var i=0;i<n.length;i++)u[r[i].name]=n[i];break;case 128:var s=n[0],c=n.slice(1);u=s.transform.apply(s,c)}a.value=u}return o}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function Gn(t,e){for(var n=new Array(e.length-1),r=1;r<e.length;r++)n[r-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:e[r]};return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:n,bindingFlags:_e(n),outputs:[],element:null,provider:null,text:{prefix:e[0]},query:null,ngContent:null}}function zn(t,e,n){var r,o=t.renderer;r=o.createText(n.text.prefix);var i=pe(t,e,n);return i&&o.appendChild(i,r),{renderText:r}}function Wn(t,e,n,r,o,i,a,u,s,c,l,p){var f=!1,h=e.bindings,d=h.length;if(d>0&&Jt(t,e,0,n)&&(f=!0),d>1&&Jt(t,e,1,r)&&(f=!0),d>2&&Jt(t,e,2,o)&&(f=!0),d>3&&Jt(t,e,3,i)&&(f=!0),d>4&&Jt(t,e,4,a)&&(f=!0),d>5&&Jt(t,e,5,u)&&(f=!0),d>6&&Jt(t,e,6,s)&&(f=!0),d>7&&Jt(t,e,7,c)&&(f=!0),d>8&&Jt(t,e,8,l)&&(f=!0),d>9&&Jt(t,e,9,p)&&(f=!0),f){var y=e.text.prefix;d>0&&(y+=Qn(n,h[0])),d>1&&(y+=Qn(r,h[1])),d>2&&(y+=Qn(o,h[2])),d>3&&(y+=Qn(i,h[3])),d>4&&(y+=Qn(a,h[4])),d>5&&(y+=Qn(u,h[5])),d>6&&(y+=Qn(s,h[6])),d>7&&(y+=Qn(c,h[7])),d>8&&(y+=Qn(l,h[8])),d>9&&(y+=Qn(p,h[9]));var g=Mt(t,e.index).renderText;t.renderer.setValue(g,y)}return f}function Zn(t,e,n){for(var r=e.bindings,o=!1,i=0;i<n.length;i++)Jt(t,e,i,n[i])&&(o=!0);if(o){for(var a="",i=0;i<n.length;i++)a+=Qn(n[i],r[i]);a=e.text.prefix+a;var u=Mt(t,e.index).renderText;t.renderer.setValue(u,a)}return o}function Qn(t,e){return(null!=t?t.toString():"")+e.suffix}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function Kn(t,e,n,r){for(var o=0,i=0,a=0,u=0,s=0,c=null,l=!1,p=!1,f=null,h=0;h<e.length;h++){for(;c&&h>c.index+c.childCount;){var d=c.parent;d&&(d.childFlags|=c.childFlags,d.childMatchedQueries|=c.childMatchedQueries),c=d}var y=e[h];y.index=h,y.parent=c,y.bindingIndex=o,y.outputIndex=i;var g=void 0;if(g=c&&1&c.flags&&!c.element.name?c.renderParent:c,y.renderParent=g,y.element){var m=y.element;m.publicProviders=c?c.element.publicProviders:Object.create(null),m.allProviders=m.publicProviders,l=!1,p=!1}if(Yn(c,y,e.length),a|=y.flags,s|=y.matchedQueryIds,y.element&&y.element.template&&(s|=y.element.template.nodeMatchedQueries),c?(c.childFlags|=y.flags,c.directChildFlags|=y.flags,c.childMatchedQueries|=y.matchedQueryIds,y.element&&y.element.template&&(c.childMatchedQueries|=y.element.template.nodeMatchedQueries)):u|=y.flags,o+=y.bindings.length,i+=y.outputs.length,!g&&3&y.flags&&(f=y),20224&y.flags){l||(l=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);var v=0!=(8192&y.flags),b=0!=(32768&y.flags);!v||b?c.element.publicProviders[Wt(y.provider.token)]=y:(p||(p=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[Wt(y.provider.token)]=y),b&&(c.element.componentProvider=y)}y.childCount&&(c=y)}for(;c;){var d=c.parent;d&&(d.childFlags|=c.childFlags,d.childMatchedQueries|=c.childMatchedQueries),c=d}var _=function(t,n,r,o){return e[n].element.handleEvent(t,r,o)};return{factory:null,nodeFlags:a,rootNodeFlags:u,nodeMatchedQueries:s,flags:t,nodes:e,updateDirectives:n||Eu,updateRenderer:r||Eu,handleEvent:_||Eu,bindingCount:o,outputCount:i,lastRenderRootNode:f}}function Yn(t,e,n){var r=e.element&&e.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.index+"!")}if(20224&e.flags){if(0==(1&(t?t.flags:0)))throw new Error("Illegal State: Provider/Directive nodes need to be children of elements or anchors, at index "+e.index+"!")}if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.index+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.index+"!")}if(e.childCount){var o=t?t.index+t.childCount:n-1;if(e.index<=o&&e.index+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.index+"!")}}function Jn(t,e,n,r){var o=tr(t.root,t.renderer,t,e,n);return er(o,t.component,r),nr(o),o}function $n(t,e,n){var r=tr(t,t.renderer,null,null,e);return er(r,n,n),nr(r),r}function Xn(t,e,n,r){var o,i=e.element.componentRendererType;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,tr(t.root,o,t,e.element.componentProvider,n)}function tr(t,e,n,r,o){var i=new Array(o.nodes.length),a=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:t,renderer:e,oldValues:new Array(o.bindingCount),disposables:a}}function er(t,e,n){t.component=e,t.context=n}function nr(t){var e;if(ae(t)){var n=t.parentNodeDef;e=Vt(t.parent,n.parent.index).renderElement}for(var r=t.def,o=t.nodes,i=0;i<r.nodes.length;i++){var a=r.nodes[i];Ou.setCurrentNode(t,i);var u=void 0;switch(201347067&a.flags){case 1:var s=Pe(t,e,a),c=void 0;if(33554432&a.flags){var l=fe(a.element.componentView);c=Ou.createComponentView(t,a,l,s)}xe(t,c,a,s),u={renderElement:s,componentView:c,viewContainer:null,template:a.element.template?on(t,a):void 0},16777216&a.flags&&(u.viewContainer=nn(t,a,u));break;case 2:u=zn(t,e,a);break;case 512:case 1024:case 2048:case 256:var p=dn(t,a);u={instance:p};break;case 16:var p=yn(t,a);u={instance:p};break;case 16384:var p=gn(t,a);if(u={instance:p},32768&a.flags){er(Vt(t,a.parent.index).componentView,p,p)}break;case 32:case 64:case 128:u=Hn(t,a);break;case 67108864:case 134217728:u=Rn();break;case 8:Vn(t,e,a),u=void 0}o[i]=u}yr(t,ts.CreateViewNodes),br(t,201326592,268435456,0)}function rr(t){ar(t),Ou.updateDirectives(t,1),gr(t,ts.CheckNoChanges),Ou.updateRenderer(t,1),yr(t,ts.CheckNoChanges),t.state&=-97}function or(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,ar(t),Ou.updateDirectives(t,0),gr(t,ts.CheckAndUpdate),br(t,67108864,536870912,0),Pn(t,2097152|(2&t.state?1048576:0)),Ou.updateRenderer(t,0),yr(t,ts.CheckAndUpdate),br(t,134217728,536870912,0),Pn(t,8388608|(2&t.state?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97}function ir(t,e,n,r,o,i,a,u,s,c,l,p,f){return 0===n?ur(t,e,r,o,i,a,u,s,c,l,p,f):sr(t,e,r)}function ar(t){var e=t.def;if(4&e.nodeFlags)for(var n=0;n<e.nodes.length;n++){var r=e.nodes[n];if(4&r.flags){var o=Vt(t,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.state|=32,te(a,t)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function ur(t,e,n,r,o,i,a,u,s,c,l,p){var f=!1;switch(201347067&e.flags){case 1:f=Te(t,e,n,r,o,i,a,u,s,c,l,p);break;case 2:f=Wn(t,e,n,r,o,i,a,u,s,c,l,p);break;case 16384:f=vn(t,e,n,r,o,i,a,u,s,c,l,p);break;case 32:case 64:case 128:f=Bn(t,e,n,r,o,i,a,u,s,c,l,p)}return f}function sr(t,e,n){var r=!1;switch(201347067&e.flags){case 1:r=Re(t,e,n);break;case 2:r=Zn(t,e,n);break;case 16384:r=bn(t,e,n);break;case 32:case 64:case 128:r=qn(t,e,n)}if(r)for(var o=e.bindings.length,i=e.bindingIndex,a=t.oldValues,u=0;u<o;u++)a[i+u]=n[u];return r}function cr(t,e,n,r,o,i,a,u,s,c,l,p,f){return 0===n?lr(t,e,r,o,i,a,u,s,c,l,p,f):pr(t,e,r),!1}function lr(t,e,n,r,o,i,a,u,s,c,l,p){var f=e.bindings.length;f>0&&$t(t,e,0,n),f>1&&$t(t,e,1,r),f>2&&$t(t,e,2,o),f>3&&$t(t,e,3,i),f>4&&$t(t,e,4,a),f>5&&$t(t,e,5,u),f>6&&$t(t,e,6,s),f>7&&$t(t,e,7,c),f>8&&$t(t,e,8,l),f>9&&$t(t,e,9,p)}function pr(t,e,n){for(var r=0;r<n.length;r++)$t(t,e,r,n[r])}function fr(t,e){if(Lt(t,e.index).dirty)throw Ut(Ou.createDebugContext(t,e.index),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&t.state))}function hr(t){if(!(128&t.state)){if(gr(t,ts.Destroy),yr(t,ts.Destroy),Pn(t,131072),t.disposables)for(var e=0;e<t.disposables.length;e++)t.disposables[e]();Qe(t),t.renderer.destroyNode&&dr(t),ae(t)&&t.renderer.destroy(),t.state|=128}}function dr(t){for(var e=t.def.nodes.length,n=0;n<e;n++){var r=t.def.nodes[n];1&r.flags?t.renderer.destroyNode(Vt(t,n).renderElement):2&r.flags&&t.renderer.destroyNode(Mt(t,n).renderText)}}function yr(t,e){var n=t.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];33554432&o.flags?mr(Vt(t,r).componentView,e):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function gr(t,e){var n=t.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];if(16777216&o.flags)for(var i=Vt(t,r).viewContainer._embeddedViews,a=0;a<i.length;a++)mr(i[a],e);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function mr(t,e){var n=t.state;switch(e){case ts.CheckNoChanges:0==(128&n)&&(12==(12&n)?rr(t):64&n&&vr(t,ts.CheckNoChangesProjectedViews));break;case ts.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?rr(t):64&n&&vr(t,e));break;case ts.CheckAndUpdate:0==(128&n)&&(12==(12&n)?or(t):64&n&&vr(t,ts.CheckAndUpdateProjectedViews));break;case ts.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?or(t):64&n&&vr(t,e));break;case ts.Destroy:hr(t);break;case ts.CreateViewNodes:nr(t)}}function vr(t,e){gr(t,e),yr(t,e)}function br(t,e,n,r){if(t.def.nodeFlags&e&&t.def.nodeFlags&n)for(var o=t.def.nodes.length,i=0;i<o;i++){var a=t.def.nodes[i];if(a.flags&e&&a.flags&n)switch(Ou.setCurrentNode(t,a.index),r){case 0:jn(t,a);break;case 1:fr(t,a)}a.childFlags&e&&a.childFlags&n||(i+=a.childCount)}}function _r(){if(!es){es=!0;var t=at()?Cr():wr();Ou.setCurrentNode=t.setCurrentNode,Ou.createRootView=t.createRootView,Ou.createEmbeddedView=t.createEmbeddedView,Ou.createComponentView=t.createComponentView,Ou.createNgModuleRef=t.createNgModuleRef,Ou.overrideProvider=t.overrideProvider,Ou.clearProviderOverrides=t.clearProviderOverrides,Ou.checkAndUpdateView=t.checkAndUpdateView,Ou.checkNoChangesView=t.checkNoChangesView,Ou.destroyView=t.destroyView,Ou.resolveDep=On,Ou.createDebugContext=t.createDebugContext,Ou.handleEvent=t.handleEvent,Ou.updateDirectives=t.updateDirectives,Ou.updateRenderer=t.updateRenderer,Ou.dirtyParentQueries=kn}}function wr(){return{setCurrentNode:function(){},createRootView:Or,createEmbeddedView:Jn,createComponentView:Xn,createNgModuleRef:cn,overrideProvider:Eu,clearProviderOverrides:Eu,checkAndUpdateView:or,checkNoChangesView:rr,destroyView:hr,createDebugContext:function(t,e){return new ss(t,e)},handleEvent:function(t,e,n,r){return t.def.handleEvent(t,e,n,r)},updateDirectives:function(t,e){return t.def.updateDirectives(0===e?Ir:Nr,t)},updateRenderer:function(t,e){return t.def.updateRenderer(0===e?Ir:Nr,t)}}}function Cr(){return{setCurrentNode:Fr,createRootView:Er,createEmbeddedView:Pr,createComponentView:xr,createNgModuleRef:Ar,overrideProvider:Tr,clearProviderOverrides:Rr,checkAndUpdateView:Mr,checkNoChangesView:Vr,destroyView:Dr,createDebugContext:function(t,e){return new ss(t,e)},handleEvent:Lr,updateDirectives:Ur,updateRenderer:Hr}}function Or(t,e,n,r,o,i){return $n(Sr(t,o,o.injector.get(Aa),e,n),r,i)}function Er(t,e,n,r,o,i){var a=o.injector.get(Aa),u=Sr(t,o,new cs(a),e,n),s=kr(r);return $r(rs.create,$n,null,[u,s,i])}function Sr(t,e,n,r,o){var i=e.injector.get(wu),a=e.injector.get(mi);return{ngModule:e,injector:t,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:n.createRenderer(null,null),errorHandler:a}}function Pr(t,e,n,r){var o=kr(n);return $r(rs.create,Jn,null,[t,e,o,r])}function xr(t,e,n,r){var o=kr(n);return $r(rs.create,Xn,null,[t,e,o,r])}function Ar(t,e,n,r){return cn(t,e,n,jr(r))}function Tr(t){ns.set(t.token,t)}function Rr(){ns.clear()}function kr(t){function e(t){for(var e=[],n=null,r=0;r<t.nodes.length;r++){var o=t.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&ns.has(o.provider.token)&&(e.push(n.index),n=null)}return e}function n(t,e){for(var n=e+1;n<t.nodes.length;n++){var r=t.nodes[n];if(1&r.flags)return;if(3840&r.flags){r.flags|=4096;var o=r.provider,i=ns.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=le(i.deps),o.value=i.value)}}}if(0===ns.size)return t;var r=e(t);if(0===r.length)return t;t=t.factory(function(){return Eu});for(var o=0;o<r.length;o++)n(t,r[o]);return t}function jr(t){function e(t){return t.providers.some(function(t){return!!(3840&t.flags)&&ns.has(t.token)})}function n(t){for(var e=0;e<t.providers.length;e++){var n=t.providers[e];n.flags|=4096;var r=ns.get(n.token);r&&(n.flags=-3841&n.flags|r.flags,n.deps=le(r.deps),n.value=r.value)}}return 0!==ns.size&&e(t)?(t=t.factory(function(){return Eu}),n(t),t):t}function Ir(t,e,n,r,o,i,a,u,s,c,l,p,f){var h=t.def.nodes[e];return ir(t,h,n,r,o,i,a,u,s,c,l,p,f),224&h.flags?Ft(t,e).value:void 0}function Nr(t,e,n,r,o,i,a,u,s,c,l,p,f){var h=t.def.nodes[e];return cr(t,h,n,r,o,i,a,u,s,c,l,p,f),224&h.flags?Ft(t,e).value:void 0}function Mr(t){return $r(rs.detectChanges,or,null,[t])}function Vr(t){return $r(rs.checkNoChanges,rr,null,[t])}function Dr(t){return $r(rs.destroy,hr,null,[t])}function Fr(t,e){is=t,as=e}function Lr(t,e,n,r){return Fr(t,e),$r(rs.handleEvent,t.def.handleEvent,null,[t,e,n,r])}function Ur(t,e){function n(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=t.def.nodes[n];return 0===e?Br(t,a,r,o):qr(t,a,r,o),16384&a.flags&&Fr(t,Zr(t,n)),224&a.flags?Ft(t,a.index).value:void 0}if(128&t.state)throw zt(rs[os]);return Fr(t,Zr(t,0)),t.def.updateDirectives(n,t)}function Hr(t,e){function n(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=t.def.nodes[n];return 0===e?Br(t,a,r,o):qr(t,a,r,o),3&a.flags&&Fr(t,Qr(t,n)),224&a.flags?Ft(t,a.index).value:void 0}if(128&t.state)throw zt(rs[os]);return Fr(t,Qr(t,0)),t.def.updateRenderer(n,t)}function Br(t,e,n,r){if(ir.apply(void 0,[t,e,n].concat(r))){var o=1===n?r[0]:r;if(16384&e.flags){for(var i={},a=0;a<e.bindings.length;a++){var u=e.bindings[a],s=o[a];8&u.flags&&(i[Gr(u.nonMinifiedName)]=Wr(s))}var c=e.parent,l=Vt(t,c.index).renderElement;if(c.element.name)for(var p in i){var s=i[p];null!=s?t.renderer.setAttribute(l,p,s):t.renderer.removeAttribute(l,p)}else t.renderer.setValue(l,"bindings="+JSON.stringify(i,null,2))}}}function qr(t,e,n,r){cr.apply(void 0,[t,e,n].concat(r))}function Gr(t){return"ng-reflect-"+(t=zr(t.replace(/[$@]/g,"_")))}function zr(t){return t.replace(us,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"-"+t[1].toLowerCase()})}function Wr(t){try{return null!=t?t.toString().slice(0,30):t}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function Zr(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function Qr(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}function Kr(t,e){for(var n=-1,r=0;r<=e;r++){3&t.nodes[r].flags&&n++}return n}function Yr(t){for(;t&&!ae(t);)t=t.parent;return t.parent?Vt(t.parent,re(t).index):null}function Jr(t,e,n){for(var r in e.references)n[r]=Nn(t,e,e.references[r])}function $r(t,e,n,r){var o=os,i=is,a=as;try{os=t;var u=e.apply(n,r);return is=i,as=a,os=o,u}catch(t){if(Gt(t)||!is)throw t;throw Ht(t,Xr())}}function Xr(){return is?new ss(is,as):null}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function to(t){return _r(),Ou.overrideProvider(t)}function eo(){return _r(),Ou.clearProviderOverrides()}function no(t,e,n){return new ps(t,e,n)}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function ro(t,e){return{type:7,name:t,definitions:e,options:{}}}function oo(t,e){return void 0===e&&(e=null),{type:4,styles:e,timings:t}}function io(t,e){return void 0===e&&(e=null),{type:3,steps:t,options:e}}function ao(t,e){return void 0===e&&(e=null),{type:2,steps:t,options:e}}function uo(t){return{type:6,styles:t,offset:null}}function so(t,e){return{type:0,name:t,styles:e}}function co(t){return{type:5,steps:t}}function lo(t,e,n){return void 0===n&&(n=null),{type:1,expr:t,animation:e,options:n}}function po(t,e){return ro(t,e)}function fo(t,e){return oo(t,e)}function ho(t){return io(t)}function yo(t){return ao(t)}function go(t){return uo(t)}function mo(t,e){return so(t,e)}function vo(t){return co(t)}function bo(t,e){return lo(t,e)}Object.defineProperty(e,"__esModule",{value:!0});var _o=n("TToO"),wo=n("rCTf"),Co=(n.n(wo),n("1KT0")),Oo=(n.n(Co),n("+ayw")),Eo=(n.n(Oo),n("EEr4"));n.n(Eo);n.d(e,"Class",function(){return c}),n.d(e,"createPlatform",function(){return ut}),n.d(e,"assertPlatform",function(){return ct}),n.d(e,"destroyPlatform",function(){return lt}),n.d(e,"getPlatform",function(){return pt}),n.d(e,"PlatformRef",function(){return _a}),n.d(e,"ApplicationRef",function(){return Ca}),n.d(e,"enableProdMode",function(){return it}),n.d(e,"isDevMode",function(){return at}),n.d(e,"createPlatformFactory",function(){return st}),n.d(e,"NgProbeToken",function(){return ba}),n.d(e,"APP_ID",function(){return Vi}),n.d(e,"PACKAGE_ROOT_URL",function(){return Hi}),n.d(e,"PLATFORM_INITIALIZER",function(){return Fi}),n.d(e,"PLATFORM_ID",function(){return Li}),n.d(e,"APP_BOOTSTRAP_LISTENER",function(){return Ui}),n.d(e,"APP_INITIALIZER",function(){return Ni}),n.d(e,"ApplicationInitStatus",function(){return Mi}),n.d(e,"DebugElement",function(){return Za}),n.d(e,"DebugNode",function(){return Wa}),n.d(e,"asNativeElements",function(){return vt}),n.d(e,"getDebugNode",function(){return wt}),n.d(e,"Testability",function(){return pa}),n.d(e,"TestabilityRegistry",function(){return fa}),n.d(e,"setTestabilityGetter",function(){return ot}),n.d(e,"TRANSLATIONS",function(){return gu}),n.d(e,"TRANSLATIONS_FORMAT",function(){return mu}),n.d(e,"LOCALE_ID",function(){return yu}),n.d(e,"MissingTranslationStrategy",function(){return vu}),n.d(e,"ApplicationModule",function(){return bu}),n.d(e,"wtfCreateScope",function(){return ia}),n.d(e,"wtfLeave",function(){return aa}),n.d(e,"wtfStartTimeRange",function(){return ua}),n.d(e,"wtfEndTimeRange",function(){return sa}),n.d(e,"Type",function(){return wi}),n.d(e,"EventEmitter",function(){return ca}),n.d(e,"ErrorHandler",function(){return mi}),n.d(e,"Sanitizer",function(){return wu}),n.d(e,"SecurityContext",function(){return _u}),n.d(e,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return No}),n.d(e,"Attribute",function(){return Mo}),n.d(e,"ContentChild",function(){return Fo}),n.d(e,"ContentChildren",function(){return Do}),n.d(e,"Query",function(){return Vo}),n.d(e,"ViewChild",function(){return Uo}),n.d(e,"ViewChildren",function(){return Lo}),n.d(e,"Component",function(){return Go}),n.d(e,"Directive",function(){return qo}),n.d(e,"HostBinding",function(){return Qo}),n.d(e,"HostListener",function(){return Ko}),n.d(e,"Input",function(){return Wo}),n.d(e,"Output",function(){return Zo}),n.d(e,"Pipe",function(){return zo}),n.d(e,"CUSTOM_ELEMENTS_SCHEMA",function(){return Yo}),n.d(e,"NO_ERRORS_SCHEMA",function(){return Jo}),n.d(e,"NgModule",function(){return $o}),n.d(e,"ViewEncapsulation",function(){return Xo}),n.d(e,"Version",function(){return ei}),n.d(e,"VERSION",function(){return ni}),n.d(e,"forwardRef",function(){return y}),n.d(e,"resolveForwardRef",function(){return g}),n.d(e,"Injector",function(){return fi}),n.d(e,"ReflectiveInjector",function(){return ki}),n.d(e,"ResolvedReflectiveFactory",function(){return Ti}),n.d(e,"ReflectiveKey",function(){return vi}),n.d(e,"InjectionToken",function(){return Po}),n.d(e,"OpaqueToken",function(){return So}),n.d(e,"Inject",function(){return ri}),n.d(e,"Optional",function(){return oi}),n.d(e,"Injectable",function(){return ii}),n.d(e,"Self",function(){return ai}),n.d(e,"SkipSelf",function(){return ui}),n.d(e,"Host",function(){return si}),n.d(e,"NgZone",function(){return la}),n.d(e,"RenderComponentType",function(){return Ea}),n.d(e,"Renderer",function(){return Pa}),n.d(e,"Renderer2",function(){return Ra}),n.d(e,"RendererFactory2",function(){return Aa}),n.d(e,"RendererStyleFlags2",function(){return Ta}),n.d(e,"RootRenderer",function(){return xa}),n.d(e,"COMPILER_OPTIONS",function(){return zi}),n.d(e,"Compiler",function(){return Gi}),n.d(e,"CompilerFactory",function(){return Wi}),n.d(e,"ModuleWithComponentFactories",function(){return qi}),n.d(e,"ComponentFactory",function(){return Qi}),n.d(e,"ComponentRef",function(){return Zi}),n.d(e,"ComponentFactoryResolver",function(){return Ji}),n.d(e,"ElementRef",function(){return ka}),n.d(e,"NgModuleFactory",function(){return ra}),n.d(e,"NgModuleRef",function(){return na}),n.d(e,"NgModuleFactoryLoader",function(){return ja}),n.d(e,"getModuleFactory",function(){return yt}),n.d(e,"QueryList",function(){return Na}),n.d(e,"SystemJsNgModuleLoader",function(){return La}),n.d(e,"SystemJsNgModuleLoaderConfig",function(){return Da}),n.d(e,"TemplateRef",function(){return Ua}),n.d(e,"ViewContainerRef",function(){return Ha}),n.d(e,"EmbeddedViewRef",function(){return Ga}),n.d(e,"ViewRef",function(){return qa}),n.d(e,"ChangeDetectionStrategy",function(){return Ho}),n.d(e,"ChangeDetectorRef",function(){return Ba}),n.d(e,"DefaultIterableDiffer",function(){return tu}),n.d(e,"IterableDiffers",function(){return uu}),n.d(e,"KeyValueDiffers",function(){return su}),n.d(e,"SimpleChange",function(){return Ja}),n.d(e,"WrappedValue",function(){return Ka}),n.d(e,"platformCore",function(){return du}),n.d(e,"ɵALLOW_MULTIPLE_PLATFORMS",function(){return va}),n.d(e,"ɵAPP_ID_RANDOM_PROVIDER",function(){return Di}),n.d(e,"ɵValueUnwrapper",function(){return Ya}),n.d(e,"ɵdevModeEqual",function(){return Et}),n.d(e,"ɵisListLikeIterable",function(){return St}),n.d(e,"ɵChangeDetectorStatus",function(){return Bo}),n.d(e,"ɵisDefaultChangeDetectionStrategy",function(){return d}),n.d(e,"ɵConsole",function(){return Bi}),n.d(e,"ɵERROR_COMPONENT_TYPE",function(){return hi}),n.d(e,"ɵComponentFactory",function(){return Qi}),n.d(e,"ɵCodegenComponentFactoryResolver",function(){return ta}),n.d(e,"ɵViewMetadata",function(){return ti}),n.d(e,"ɵReflectionCapabilities",function(){return Oi}),n.d(e,"ɵRenderDebugInfo",function(){return Sa}),n.d(e,"ɵglobal",function(){return Ro}),n.d(e,"ɵlooseIdentical",function(){return i}),n.d(e,"ɵstringify",function(){return a}),n.d(e,"ɵmakeDecorator",function(){return l}),n.d(e,"ɵisObservable",function(){return Z}),n.d(e,"ɵisPromise",function(){return W}),n.d(e,"ɵclearProviderOverrides",function(){return eo}),n.d(e,"ɵoverrideProvider",function(){return to}),n.d(e,"ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",function(){return Xu}),n.d(e,"ɵregisterModuleFactory",function(){return dt}),n.d(e,"ɵEMPTY_ARRAY",function(){return ku}),n.d(e,"ɵEMPTY_MAP",function(){return ju}),n.d(e,"ɵand",function(){return Ee}),n.d(e,"ɵccf",function(){return tn}),n.d(e,"ɵcmf",function(){return no}),n.d(e,"ɵcrt",function(){return Qt}),n.d(e,"ɵdid",function(){return ln}),n.d(e,"ɵeld",function(){return Se}),n.d(e,"ɵelementEventFullName",function(){return ie}),n.d(e,"ɵgetComponentViewDefinitionFactory",function(){return en}),n.d(e,"ɵinlineInterpolate",function(){return Ce}),n.d(e,"ɵinterpolate",function(){return we}),n.d(e,"ɵmod",function(){return De}),n.d(e,"ɵmpd",function(){return Ve}),n.d(e,"ɵncd",function(){return Mn}),n.d(e,"ɵnov",function(){return un}),n.d(e,"ɵpid",function(){return pn}),n.d(e,"ɵprd",function(){return fn}),n.d(e,"ɵpad",function(){return Fn}),n.d(e,"ɵpod",function(){return Ln}),n.d(e,"ɵppd",function(){return Dn}),n.d(e,"ɵqud",function(){return Tn}),n.d(e,"ɵted",function(){return Gn}),n.d(e,"ɵunv",function(){return Zt}),n.d(e,"ɵvid",function(){return Kn}),n.d(e,"AUTO_STYLE",function(){return fs}),n.d(e,"trigger",function(){return po}),n.d(e,"animate",function(){return fo}),n.d(e,"group",function(){return ho}),n.d(e,"sequence",function(){return yo}),n.d(e,"style",function(){return go}),n.d(e,"state",function(){return mo}),n.d(e,"keyframes",function(){return vo}),n.d(e,"transition",function(){return bo}),n.d(e,"ɵx",function(){return oo}),n.d(e,"ɵy",function(){return io}),n.d(e,"ɵbc",function(){return co}),n.d(e,"ɵz",function(){return ao}),n.d(e,"ɵbb",function(){return so}),n.d(e,"ɵba",function(){return uo}),n.d(e,"ɵbd",function(){return lo}),n.d(e,"ɵw",function(){return ro}),n.d(e,"ɵk",function(){return jt}),n.d(e,"ɵl",function(){return It}),n.d(e,"ɵm",function(){return Nt}),n.d(e,"ɵe",function(){return Oa}),n.d(e,"ɵf",function(){return Q}),n.d(e,"ɵg",function(){return pu}),n.d(e,"ɵh",function(){return fu}),n.d(e,"ɵi",function(){return $a}),n.d(e,"ɵj",function(){return ou}),n.d(e,"ɵb",function(){return ji}),n.d(e,"ɵc",function(){return Pi}),n.d(e,"ɵd",function(){return F}),n.d(e,"ɵn",function(){return oa}),n.d(e,"ɵp",function(){return X}),n.d(e,"ɵo",function(){return $}),n.d(e,"ɵs",function(){return nt}),n.d(e,"ɵq",function(){return tt}),n.d(e,"ɵr",function(){return et}),n.d(e,"ɵa",function(){return f}),n.d(e,"ɵt",function(){return hn}),n.d(e,"ɵu",function(){return Cu});/** - * @license Angular v4.2.3 - * (c) 2010-2017 Google, Inc. https://angular.io/ - * License: MIT - */ -var So=function(){function t(t){this._desc=t}return t.prototype.toString=function(){return"Token "+this._desc},t}(),Po=function(t){function e(e){return t.call(this,e)||this}return _o.a(e,t),e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(So),xo="undefined"!=typeof window&&window,Ao="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,To=void 0!==t&&t,Ro=xo||To||Ao,ko=null,jo=0,Io=Ro.Reflect,No=new Po("AnalyzeForEntryComponents"),Mo=f("Attribute",function(t){return{attributeName:t}}),Vo=function(){function t(){}return t}(),Do=h("ContentChildren",function(t,e){return void 0===e&&(e={}),Object.assign({selector:t,first:!1,isViewQuery:!1,descendants:!1},e)},Vo),Fo=h("ContentChild",function(t,e){return void 0===e&&(e={}),Object.assign({selector:t,first:!0,isViewQuery:!1,descendants:!0},e)},Vo),Lo=h("ViewChildren",function(t,e){return void 0===e&&(e={}),Object.assign({selector:t,first:!1,isViewQuery:!0,descendants:!0},e)},Vo),Uo=h("ViewChild",function(t,e){return Object.assign({selector:t,first:!0,isViewQuery:!0,descendants:!0},e)},Vo),Ho={};Ho.OnPush=0,Ho.Default=1,Ho[Ho.OnPush]="OnPush",Ho[Ho.Default]="Default";var Bo={};Bo.CheckOnce=0,Bo.Checked=1,Bo.CheckAlways=2,Bo.Detached=3,Bo.Errored=4,Bo.Destroyed=5,Bo[Bo.CheckOnce]="CheckOnce",Bo[Bo.Checked]="Checked",Bo[Bo.CheckAlways]="CheckAlways",Bo[Bo.Detached]="Detached",Bo[Bo.Errored]="Errored",Bo[Bo.Destroyed]="Destroyed";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var qo=l("Directive",function(t){return void 0===t&&(t={}),t}),Go=l("Component",function(t){return void 0===t&&(t={}),Object.assign({changeDetection:Ho.Default},t)},qo),zo=l("Pipe",function(t){return Object.assign({pure:!0},t)}),Wo=h("Input",function(t){return{bindingPropertyName:t}}),Zo=h("Output",function(t){return{bindingPropertyName:t}}),Qo=h("HostBinding",function(t){return{hostPropertyName:t}}),Ko=h("HostListener",function(t,e){return{eventName:t,args:e}}),Yo={name:"custom-elements"},Jo={name:"no-errors-schema"},$o=l("NgModule",function(t){return t}),Xo={};Xo.Emulated=0,Xo.Native=1,Xo.None=2,Xo[Xo.Emulated]="Emulated",Xo[Xo.Native]="Native",Xo[Xo.None]="None";var ti=function(){function t(t){var e=void 0===t?{}:t,n=e.templateUrl,r=e.template,o=e.encapsulation,i=e.styles,a=e.styleUrls,u=e.animations,s=e.interpolation;this.templateUrl=n,this.template=r,this.styleUrls=a,this.styles=i,this.encapsulation=o,this.animations=u,this.interpolation=s}return t}(),ei=function(){function t(t){this.full=t}return Object.defineProperty(t.prototype,"major",{get:function(){return this.full.split(".")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minor",{get:function(){return this.full.split(".")[1]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"patch",{get:function(){return this.full.split(".").slice(2).join(".")},enumerable:!0,configurable:!0}),t}(),ni=new ei("4.2.3"),ri=f("Inject",function(t){return{token:t}}),oi=f("Optional"),ii=l("Injectable"),ai=f("Self"),ui=f("SkipSelf"),si=f("Host"),ci=new Object,li=ci,pi=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=ci),e===ci)throw new Error("No provider for "+a(t)+"!");return e},t}(),fi=function(){function t(){}return t.prototype.get=function(t,e){},t.prototype.get=function(t,e){},t}();fi.THROW_IF_NOT_FOUND=ci,fi.NULL=new pi;/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var hi="ngComponentType",di="ngDebugContext",yi="ngOriginalError",gi="ngErrorLogger",mi=function(){function t(t){this._console=console}return t.prototype.handleError=function(t){var e=this._findOriginalError(t),n=this._findContext(t),r=b(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)},t.prototype._findContext=function(t){return t?m(t)?m(t):this._findContext(v(t)):null},t.prototype._findOriginalError=function(t){for(var e=v(t);e&&v(e);)e=v(e);return e},t}(),vi=function(){function t(t,e){if(this.token=t,this.id=e,!t)throw new Error("Token must be defined!")}return Object.defineProperty(t.prototype,"displayName",{get:function(){return a(this.token)},enumerable:!0,configurable:!0}),t.get=function(t){return _i.get(g(t))},Object.defineProperty(t,"numberOfKeys",{get:function(){return _i.numberOfKeys},enumerable:!0,configurable:!0}),t}(),bi=function(){function t(){this._allKeys=new Map}return t.prototype.get=function(t){if(t instanceof vi)return t;if(this._allKeys.has(t))return this._allKeys.get(t);var e=new vi(t,vi.numberOfKeys);return this._allKeys.set(t,e),e},Object.defineProperty(t.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),t}(),_i=new bi,wi=Function,Ci=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,Oi=function(){function t(t){this._reflect=t||Ro.Reflect}return t.prototype.isReflectionEnabled=function(){return!0},t.prototype.factory=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,[void 0].concat(e)))}},t.prototype._zipTypesAndAnnotations=function(t,e){var n;n=void 0===t?new Array(e.length):new Array(t.length);for(var r=0;r<n.length;r++)void 0===t?n[r]=[]:t[r]!=Object?n[r]=[t[r]]:n[r]=[],e&&null!=e[r]&&(n[r]=n[r].concat(e[r]));return n},t.prototype._ownParameters=function(t,e){if(Ci.exec(t.toString()))return null;if(t.parameters&&t.parameters!==e.parameters)return t.parameters;var n=t.ctorParameters;if(n&&n!==e.ctorParameters){var r="function"==typeof n?n():n,o=r.map(function(t){return t&&t.type}),i=r.map(function(t){return t&&N(t.decorators)});return this._zipTypesAndAnnotations(o,i)}if(null!=this._reflect&&null!=this._reflect.getOwnMetadata){var i=this._reflect.getOwnMetadata("parameters",t),o=this._reflect.getOwnMetadata("design:paramtypes",t);if(o||i)return this._zipTypesAndAnnotations(o,i)}return new Array(t.length).fill(void 0)},t.prototype.parameters=function(t){if(!I(t))return[];var e=M(t),n=this._ownParameters(t,e);return n||e===Object||(n=this.parameters(e)),n||[]},t.prototype._ownAnnotations=function(t,e){if(t.annotations&&t.annotations!==e.annotations){var n=t.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return t.decorators&&t.decorators!==e.decorators?N(t.decorators):this._reflect&&this._reflect.getOwnMetadata?this._reflect.getOwnMetadata("annotations",t):null},t.prototype.annotations=function(t){if(!I(t))return[];var e=M(t),n=this._ownAnnotations(t,e)||[];return(e!==Object?this.annotations(e):[]).concat(n)},t.prototype._ownPropMetadata=function(t,e){if(t.propMetadata&&t.propMetadata!==e.propMetadata){var n=t.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(t.propDecorators&&t.propDecorators!==e.propDecorators){var r=t.propDecorators,o={};return Object.keys(r).forEach(function(t){o[t]=N(r[t])}),o}return this._reflect&&this._reflect.getOwnMetadata?this._reflect.getOwnMetadata("propMetadata",t):null},t.prototype.propMetadata=function(t){if(!I(t))return{};var e=M(t),n={};if(e!==Object){var r=this.propMetadata(e);Object.keys(r).forEach(function(t){n[t]=r[t]})}var o=this._ownPropMetadata(t,e);return o&&Object.keys(o).forEach(function(t){var e=[];n.hasOwnProperty(t)&&e.push.apply(e,n[t]),e.push.apply(e,o[t]),n[t]=e}),n},t.prototype.hasLifecycleHook=function(t,e){return t instanceof wi&&e in t.prototype},t.prototype.getter=function(t){return new Function("o","return o."+t+";")},t.prototype.setter=function(t){return new Function("o","v","return o."+t+" = v;")},t.prototype.method=function(t){var e="if (!o."+t+") throw new Error('\""+t+"\" is undefined');\n return o."+t+".apply(o, args);";return new Function("o","args",e)},t.prototype.importUri=function(t){return"object"==typeof t&&t.filePath?t.filePath:"./"+a(t)},t.prototype.resourceUri=function(t){return"./"+a(t)},t.prototype.resolveIdentifier=function(t,e,n,r){return r},t.prototype.resolveEnum=function(t,e){return t[e]},t}(),Ei=function(){function t(t){this.reflectionCapabilities=t}return t.prototype.updateCapabilities=function(t){this.reflectionCapabilities=t},t.prototype.factory=function(t){return this.reflectionCapabilities.factory(t)},t.prototype.parameters=function(t){return this.reflectionCapabilities.parameters(t)},t.prototype.annotations=function(t){return this.reflectionCapabilities.annotations(t)},t.prototype.propMetadata=function(t){return this.reflectionCapabilities.propMetadata(t)},t.prototype.hasLifecycleHook=function(t,e){return this.reflectionCapabilities.hasLifecycleHook(t,e)},t.prototype.getter=function(t){return this.reflectionCapabilities.getter(t)},t.prototype.setter=function(t){return this.reflectionCapabilities.setter(t)},t.prototype.method=function(t){return this.reflectionCapabilities.method(t)},t.prototype.importUri=function(t){return this.reflectionCapabilities.importUri(t)},t.prototype.resourceUri=function(t){return this.reflectionCapabilities.resourceUri(t)},t.prototype.resolveIdentifier=function(t,e,n,r){return this.reflectionCapabilities.resolveIdentifier(t,e,n,r)},t.prototype.resolveEnum=function(t,e){return this.reflectionCapabilities.resolveEnum(t,e)},t}(),Si=new Ei(new Oi),Pi=function(){function t(t,e,n){this.key=t,this.optional=e,this.visibility=n}return t.fromKey=function(e){return new t(e,!1,null)},t}(),xi=[],Ai=function(){function t(t,e,n){this.key=t,this.resolvedFactories=e,this.multiProvider=n}return Object.defineProperty(t.prototype,"resolvedFactory",{get:function(){return this.resolvedFactories[0]},enumerable:!0,configurable:!0}),t}(),Ti=function(){function t(t,e){this.factory=t,this.dependencies=e}return t}(),Ri=new Object,ki=function(){function t(){}return t.resolve=function(t){return F(t)},t.resolveAndCreate=function(e,n){var r=t.resolve(e);return t.fromResolvedProviders(r,n)},t.fromResolvedProviders=function(t,e){return new ji(t,e)},t.prototype.parent=function(){},t.prototype.resolveAndCreateChild=function(t){},t.prototype.createChildFromResolved=function(t){},t.prototype.resolveAndInstantiate=function(t){},t.prototype.instantiateResolved=function(t){},t.prototype.get=function(t,e){},t}(),ji=function(){function t(t,e){this._constructionCounter=0,this._providers=t,this._parent=e||null;var n=t.length;this.keyIds=new Array(n),this.objs=new Array(n);for(var r=0;r<n;r++)this.keyIds[r]=t[r].key.id,this.objs[r]=Ri}return t.prototype.get=function(t,e){return void 0===e&&(e=li),this._getByKey(vi.get(t),null,e)},Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),t.prototype.resolveAndCreateChild=function(t){var e=ki.resolve(t);return this.createChildFromResolved(e)},t.prototype.createChildFromResolved=function(e){var n=new t(e);return n._parent=this,n},t.prototype.resolveAndInstantiate=function(t){return this.instantiateResolved(ki.resolve([t])[0])},t.prototype.instantiateResolved=function(t){return this._instantiateProvider(t)},t.prototype.getProviderAtIndex=function(t){if(t<0||t>=this._providers.length)throw k(t);return this._providers[t]},t.prototype._new=function(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw x(this,t.key);return this._instantiateProvider(t)},t.prototype._getMaxNumberOfObjects=function(){return this.objs.length},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n<t.resolvedFactories.length;++n)e[n]=this._instantiate(t,t.resolvedFactories[n]);return e}return this._instantiate(t,t.resolvedFactories[0])},t.prototype._instantiate=function(t,e){var n,r=this,o=e.factory;try{n=e.dependencies.map(function(t){return r._getByReflectiveDependency(t)})}catch(e){throw e.addKey&&e.addKey(this,t.key),e}var i;try{i=o.apply(void 0,n)}catch(e){throw A(this,e,e.stack,t.key)}return i},t.prototype._getByReflectiveDependency=function(t){return this._getByKey(t.key,t.visibility,t.optional?null:li)},t.prototype._getByKey=function(t,e,n){return t===Ii?this:e instanceof ai?this._getByKeySelf(t,n):this._getByKeyDefault(t,n,e)},t.prototype._getObjByKeyId=function(t){for(var e=0;e<this.keyIds.length;e++)if(this.keyIds[e]===t)return this.objs[e]===Ri&&(this.objs[e]=this._new(this._providers[e])),this.objs[e];return Ri},t.prototype._throwOrNull=function(t,e){if(e!==li)return e;throw P(this,t)},t.prototype._getByKeySelf=function(t,e){var n=this._getObjByKeyId(t.id);return n!==Ri?n:this._throwOrNull(t,e)},t.prototype._getByKeyDefault=function(e,n,r){var o;for(o=r instanceof ui?this._parent:this;o instanceof t;){var i=o,a=i._getObjByKeyId(e.id);if(a!==Ri)return a;o=i._parent}return null!==o?o.get(e.token,n):this._throwOrNull(e,n)},Object.defineProperty(t.prototype,"displayName",{get:function(){return"ReflectiveInjector(providers: ["+z(this,function(t){return' "'+t.key.displayName+'" '}).join(", ")+"])"},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.displayName},t}(),Ii=vi.get(fi),Ni=new Po("Application Initializer"),Mi=function(){function t(t){var e=this;this.appInits=t,this.initialized=!1,this._done=!1,this._donePromise=new Promise(function(t,n){e.resolve=t,e.reject=n})}return t.prototype.runInitializers=function(){var t=this;if(!this.initialized){var e=[],n=function(){t._done=!0,t.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();W(o)&&e.push(o)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}},Object.defineProperty(t.prototype,"done",{get:function(){return this._done},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"donePromise",{get:function(){return this._donePromise},enumerable:!0,configurable:!0}),t}();Mi.decorators=[{type:ii}],Mi.ctorParameters=function(){return[{type:Array,decorators:[{type:ri,args:[Ni]},{type:oi}]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Vi=new Po("AppId"),Di={provide:Vi,useFactory:Q,deps:[]},Fi=new Po("Platform Initializer"),Li=new Po("Platform ID"),Ui=new Po("appBootstrapListener"),Hi=new Po("Application Packages Root URL"),Bi=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t}();Bi.decorators=[{type:ii}],Bi.ctorParameters=function(){return[]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var qi=function(){function t(t,e){this.ngModuleFactory=t,this.componentFactories=e}return t}(),Gi=function(){function t(){}return t.prototype.compileModuleSync=function(t){throw Y()},t.prototype.compileModuleAsync=function(t){throw Y()},t.prototype.compileModuleAndAllComponentsSync=function(t){throw Y()},t.prototype.compileModuleAndAllComponentsAsync=function(t){throw Y()},t.prototype.getNgContentSelectors=function(t){throw Y()},t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t}();Gi.decorators=[{type:ii}],Gi.ctorParameters=function(){return[]};var zi=new Po("compilerOptions"),Wi=function(){function t(){}return t.prototype.createCompiler=function(t){},t}(),Zi=function(){function t(){}return t.prototype.location=function(){},t.prototype.injector=function(){},t.prototype.instance=function(){},t.prototype.hostView=function(){},t.prototype.changeDetectorRef=function(){},t.prototype.componentType=function(){},t.prototype.destroy=function(){},t.prototype.onDestroy=function(t){},t}(),Qi=function(){function t(){}return t.prototype.selector=function(){},t.prototype.componentType=function(){},t.prototype.ngContentSelectors=function(){},t.prototype.inputs=function(){},t.prototype.outputs=function(){},t.prototype.create=function(t,e,n,r){},t}(),Ki="ngComponent",Yi=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw J(t)},t}(),Ji=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){},t}();Ji.NULL=new Yi;var $i,Xi,ta=function(){function t(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(var r=0;r<t.length;r++){var o=t[r];this._factories.set(o.componentType,o)}}return t.prototype.resolveComponentFactory=function(t){var e=this._factories.get(t);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(t)),!e)throw J(t);return new ea(e,this._ngModule)},t}(),ea=function(t){function e(e,n){var r=t.call(this)||this;return r.factory=e,r.ngModule=n,r}return _o.a(e,t),Object.defineProperty(e.prototype,"selector",{get:function(){return this.factory.selector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this.factory.componentType},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngContentSelectors",{get:function(){return this.factory.ngContentSelectors},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputs",{get:function(){return this.factory.inputs},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return this.factory.outputs},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){return this.factory.create(t,e,n,r||this.ngModule)},e}(Qi),na=function(){function t(){}return t.prototype.injector=function(){},t.prototype.componentFactoryResolver=function(){},t.prototype.instance=function(){},t.prototype.destroy=function(){},t.prototype.onDestroy=function(t){},t}(),ra=function(){function t(){}return t.prototype.moduleType=function(){},t.prototype.create=function(t){},t}(),oa=$(),ia=oa?X:function(t,e){return rt},aa=oa?tt:function(t,e){return e},ua=oa?et:function(t,e){return null},sa=oa?nt:function(t){return null},ca=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n.__isAsync=e,n}return _o.a(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var o,i=function(t){return null},a=function(){return null};return e&&"object"==typeof e?(o=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(i=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(a=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(o=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(i=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),r&&(a=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()})),t.prototype.subscribe.call(this,o,i,a)},e}(Eo.Subject),la=function(){function t(t){var e=t.enableLongStackTrace,n=void 0!==e&&e;if(this._hasPendingMicrotasks=!1,this._hasPendingMacrotasks=!1,this._isStable=!0,this._nesting=0,this._onUnstable=new ca(!1),this._onMicrotaskEmpty=new ca(!1),this._onStable=new ca(!1),this._onErrorEvents=new ca(!1),"undefined"==typeof Zone)throw new Error("Angular requires Zone.js prolyfill.");Zone.assertZonePatched(),this.outer=this.inner=Zone.current,Zone.wtfZoneSpec&&(this.inner=this.inner.fork(Zone.wtfZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(this.inner=this.inner.fork(Zone.longStackTraceZoneSpec)),this.forkInnerZoneWithAngularBehavior()}return t.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},t.assertInAngularZone=function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},t.assertNotInAngularZone=function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},t.prototype.run=function(t){return this.inner.run(t)},t.prototype.runGuarded=function(t){return this.inner.runGuarded(t)},t.prototype.runOutsideAngular=function(t){return this.outer.run(t)},Object.defineProperty(t.prototype,"onUnstable",{get:function(){return this._onUnstable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onMicrotaskEmpty",{get:function(){return this._onMicrotaskEmpty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onStable",{get:function(){return this._onStable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onError",{get:function(){return this._onErrorEvents},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isStable",{get:function(){return this._isStable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasPendingMicrotasks",{get:function(){return this._hasPendingMicrotasks},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasPendingMacrotasks",{get:function(){return this._hasPendingMacrotasks},enumerable:!0,configurable:!0}),t.prototype.checkStable=function(){var t=this;if(0==this._nesting&&!this._hasPendingMicrotasks&&!this._isStable)try{this._nesting++,this._onMicrotaskEmpty.emit(null)}finally{if(this._nesting--,!this._hasPendingMicrotasks)try{this.runOutsideAngular(function(){return t._onStable.emit(null)})}finally{this._isStable=!0}}},t.prototype.forkInnerZoneWithAngularBehavior=function(){var t=this;this.inner=this.inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,n,r,o,i,a){try{return t.onEnter(),e.invokeTask(r,o,i,a)}finally{t.onLeave()}},onInvoke:function(e,n,r,o,i,a,u){try{return t.onEnter(),e.invoke(r,o,i,a,u)}finally{t.onLeave()}},onHasTask:function(e,n,r,o){e.hasTask(r,o),n===r&&("microTask"==o.change?t.setHasMicrotask(o.microTask):"macroTask"==o.change&&t.setHasMacrotask(o.macroTask))},onHandleError:function(e,n,r,o){return e.handleError(r,o),t.triggerError(o),!1}})},t.prototype.onEnter=function(){this._nesting++,this._isStable&&(this._isStable=!1,this._onUnstable.emit(null))},t.prototype.onLeave=function(){this._nesting--,this.checkStable()},t.prototype.setHasMicrotask=function(t){this._hasPendingMicrotasks=t,this.checkStable()},t.prototype.setHasMacrotask=function(t){this._hasPendingMacrotasks=t},t.prototype.triggerError=function(t){this._onErrorEvents.emit(t)},t}(),pa=function(){function t(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents()}return t.prototype._watchAngularEvents=function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.subscribe({next:function(){la.assertNotInAngularZone(),o(function(){t._isZoneStable=!0,t._runCallbacksIfReady()})}})})},t.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},t.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},t.prototype.isStable=function(){return this._isZoneStable&&0==this._pendingCount&&!this._ngZone.hasPendingMacrotasks},t.prototype._runCallbacksIfReady=function(){var t=this;this.isStable()?o(function(){for(;0!==t._callbacks.length;)t._callbacks.pop()(t._didWork);t._didWork=!1}):this._didWork=!0},t.prototype.whenStable=function(t){this._callbacks.push(t),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findBindings=function(t,e,n){return[]},t.prototype.findProviders=function(t,e,n){return[]},t}();pa.decorators=[{type:ii}],pa.ctorParameters=function(){return[{type:la}]};var fa=function(){function t(){this._applications=new Map,ya.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),ya.findTestabilityInTree(this,t,e)},t}();fa.decorators=[{type:ii}],fa.ctorParameters=function(){return[]};var ha,da=function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}(),ya=new da,ga=!0,ma=!1,va=new Po("AllowMultipleToken"),ba=function(){function t(t,e){this.name=t,this.token=e}return t}(),_a=function(){function t(){}return t.prototype.bootstrapModuleFactory=function(t){},t.prototype.bootstrapModule=function(t,e){},t.prototype.onDestroy=function(t){},t.prototype.injector=function(){},t.prototype.destroy=function(){},t.prototype.destroyed=function(){},t}(),wa=function(t){function e(e){var n=t.call(this)||this;return n._injector=e,n._modules=[],n._destroyListeners=[],n._destroyed=!1,n}return _o.a(e,t),e.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},e.prototype.bootstrapModuleFactory=function(t){return this._bootstrapModuleFactoryWithZone(t)},e.prototype._bootstrapModuleFactoryWithZone=function(t,e){var n=this;return e||(e=new la({enableLongStackTrace:at()})),e.run(function(){var r=ki.resolveAndCreate([{provide:la,useValue:e}],n.injector),o=t.create(r),i=o.injector.get(mi,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.onDestroy(function(){return ht(n._modules,o)}),e.onError.subscribe({next:function(t){i.handleError(t)}}),ft(i,function(){var t=o.injector.get(Mi);return t.runInitializers(),t.donePromise.then(function(){return n._moduleDoBootstrap(o),o})})})},e.prototype.bootstrapModule=function(t,e){return void 0===e&&(e=[]),this._bootstrapModuleWithZone(t,e)},e.prototype._bootstrapModuleWithZone=function(t,e,n){var r=this;return void 0===e&&(e=[]),this.injector.get(Wi).createCompiler(Array.isArray(e)?e:[e]).compileModuleAsync(t).then(function(t){return r._bootstrapModuleFactoryWithZone(t,n)})},e.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(Ca);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+a(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},e}(_a);wa.decorators=[{type:ii}],wa.ctorParameters=function(){return[{type:fi}]};var Ca=function(){function t(){}return t.prototype.bootstrap=function(t,e){},t.prototype.tick=function(){},t.prototype.componentTypes=function(){},t.prototype.components=function(){},t.prototype.attachView=function(t){},t.prototype.detachView=function(t){},t.prototype.viewCount=function(){},t.prototype.isStable=function(){},t}(),Oa=function(t){function e(e,r,i,a,u,s){var c=t.call(this)||this;c._zone=e,c._console=r,c._injector=i,c._exceptionHandler=a,c._componentFactoryResolver=u,c._initStatus=s,c._bootstrapListeners=[],c._rootComponents=[],c._rootComponentTypes=[],c._views=[],c._runningTick=!1,c._enforceNoNewChanges=!1,c._stable=!0,c._enforceNoNewChanges=at(),c._zone.onMicrotaskEmpty.subscribe({next:function(){c._zone.run(function(){c.tick()})}});var l=new wo.Observable(function(t){c._stable=c._zone.isStable&&!c._zone.hasPendingMacrotasks&&!c._zone.hasPendingMicrotasks,c._zone.runOutsideAngular(function(){t.next(c._stable),t.complete()})}),p=new wo.Observable(function(t){var e=c._zone.onStable.subscribe(function(){la.assertNotInAngularZone(),o(function(){c._stable||c._zone.hasPendingMacrotasks||c._zone.hasPendingMicrotasks||(c._stable=!0,t.next(!0))})}),n=c._zone.onUnstable.subscribe(function(){la.assertInAngularZone(),c._stable&&(c._stable=!1,c._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});return c._isStable=n.i(Co.merge)(l,Oo.share.call(p)),c}return _o.a(e,t),e.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},e.prototype.detachView=function(t){var e=t;ht(this._views,e),e.detachFromAppRef()},e.prototype.bootstrap=function(t,e){var n=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");var r;r=t instanceof Qi?t:this._componentFactoryResolver.resolveComponentFactory(t),this._rootComponentTypes.push(r.componentType);var o=r instanceof ea?null:this._injector.get(na),i=e||r.selector,a=r.create(fi.NULL,[],i,o);a.onDestroy(function(){n._unloadComponent(a)});var u=a.injector.get(pa,null);return u&&a.injector.get(fa).registerApplication(a.location.nativeElement,u),this._loadComponent(a),at()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),a},e.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this._rootComponents.push(t),this._injector.get(Ui,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},e.prototype._unloadComponent=function(t){this.detachView(t.hostView),ht(this._rootComponents,t)},e.prototype.tick=function(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var t=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(t){this._exceptionHandler.handleError(t)}finally{this._runningTick=!1,aa(t)}},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentTypes",{get:function(){return this._rootComponentTypes},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"components",{get:function(){return this._rootComponents},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isStable",{get:function(){return this._isStable},enumerable:!0,configurable:!0}),e}(Ca);Oa._tickScope=ia("ApplicationRef#tick()"),Oa.decorators=[{type:ii}],Oa.ctorParameters=function(){return[{type:la},{type:Bi},{type:fi},{type:mi},{type:Ji},{type:Mi}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Ea=function(){function t(t,e,n,r,o,i){this.id=t,this.templateUrl=e,this.slotCount=n,this.encapsulation=r,this.styles=o,this.animations=i}return t}(),Sa=function(){function t(){}return t.prototype.injector=function(){},t.prototype.component=function(){},t.prototype.providerTokens=function(){},t.prototype.references=function(){},t.prototype.context=function(){},t.prototype.source=function(){},t}(),Pa=function(){function t(){}return t.prototype.selectRootElement=function(t,e){},t.prototype.createElement=function(t,e,n){},t.prototype.createViewRoot=function(t){},t.prototype.createTemplateAnchor=function(t,e){},t.prototype.createText=function(t,e,n){},t.prototype.projectNodes=function(t,e){},t.prototype.attachViewAfter=function(t,e){},t.prototype.detachView=function(t){},t.prototype.destroyView=function(t,e){},t.prototype.listen=function(t,e,n){},t.prototype.listenGlobal=function(t,e,n){},t.prototype.setElementProperty=function(t,e,n){},t.prototype.setElementAttribute=function(t,e,n){},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){},t.prototype.setElementStyle=function(t,e,n){},t.prototype.invokeElementMethod=function(t,e,n){},t.prototype.setText=function(t,e){},t.prototype.animate=function(t,e,n,r,o,i,a){},t}(),xa=(new Po("Renderer2Interceptor"),function(){function t(){}return t.prototype.renderComponent=function(t){},t}()),Aa=function(){function t(){}return t.prototype.createRenderer=function(t,e){},t.prototype.begin=function(){},t.prototype.end=function(){},t.prototype.whenRenderingDone=function(){},t}(),Ta={};Ta.Important=1,Ta.DashCase=2,Ta[Ta.Important]="Important",Ta[Ta.DashCase]="DashCase";var Ra=function(){function t(){}return t.prototype.data=function(){},t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){},t.prototype.createComment=function(t){},t.prototype.createText=function(t){},t.prototype.appendChild=function(t,e){},t.prototype.insertBefore=function(t,e,n){},t.prototype.removeChild=function(t,e){},t.prototype.selectRootElement=function(t){},t.prototype.parentNode=function(t){},t.prototype.nextSibling=function(t){},t.prototype.setAttribute=function(t,e,n,r){},t.prototype.removeAttribute=function(t,e,n){},t.prototype.addClass=function(t,e){},t.prototype.removeClass=function(t,e){},t.prototype.setStyle=function(t,e,n,r){},t.prototype.removeStyle=function(t,e,n){},t.prototype.setProperty=function(t,e,n){},t.prototype.setValue=function(t,e){},t.prototype.listen=function(t,e,n){},t}(),ka=function(){function t(t){this.nativeElement=t}return t}(),ja=function(){function t(){}return t.prototype.load=function(t){},t}(),Ia=new Map,Na=function(){function t(){this._dirty=!0,this._results=[],this._emitter=new ca}return Object.defineProperty(t.prototype,"changes",{get:function(){return this._emitter},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._results.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){return this._results[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._results[this.length-1]},enumerable:!0,configurable:!0}),t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[r()]=function(){return this._results[r()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=gt(t),this._dirty=!1},t.prototype.notifyOnChanges=function(){this._emitter.emit(this)},t.prototype.setDirty=function(){this._dirty=!0},Object.defineProperty(t.prototype,"dirty",{get:function(){return this._dirty},enumerable:!0,configurable:!0}),t}(),Ma="#",Va="NgFactory",Da=function(){function t(){}return t}(),Fa={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},La=function(){function t(t,e){this._compiler=t,this._config=e||Fa}return t.prototype.load=function(t){return this._compiler instanceof Gi?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=t.split(Ma),o=r[0],i=r[1];return void 0===i&&(i="default"),n("/fcW")(o).then(function(t){return t[i]}).then(function(t){return mt(t,o,i)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=t.split(Ma),r=e[0],o=e[1],i=Va;return void 0===o&&(o="default",i=""),n("/fcW")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[o+i]}).then(function(t){return mt(t,r,o)})},t}();La.decorators=[{type:ii}],La.ctorParameters=function(){return[{type:Gi},{type:Da,decorators:[{type:oi}]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Ua=function(){function t(){}return t.prototype.elementRef=function(){},t.prototype.createEmbeddedView=function(t){},t}(),Ha=function(){function t(){}return t.prototype.element=function(){},t.prototype.injector=function(){},t.prototype.parentInjector=function(){},t.prototype.clear=function(){},t.prototype.get=function(t){},t.prototype.length=function(){},t.prototype.createEmbeddedView=function(t,e,n){},t.prototype.createComponent=function(t,e,n,r,o){},t.prototype.insert=function(t,e){},t.prototype.move=function(t,e){},t.prototype.indexOf=function(t){},t.prototype.remove=function(t){},t.prototype.detach=function(t){},t}(),Ba=function(){function t(){}return t.prototype.markForCheck=function(){},t.prototype.detach=function(){},t.prototype.detectChanges=function(){},t.prototype.checkNoChanges=function(){},t.prototype.reattach=function(){},t}(),qa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return _o.a(e,t),e.prototype.destroy=function(){},e.prototype.destroyed=function(){},e.prototype.onDestroy=function(t){},e}(Ba),Ga=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return _o.a(e,t),e.prototype.context=function(){},e.prototype.rootNodes=function(){},e}(qa),za=function(){function t(t,e){this.name=t,this.callback=e}return t}(),Wa=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof Za?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"source",{get:function(){return"Deprecated since v4"},enumerable:!0,configurable:!0}),t}(),Za=function(t){function e(e,n,r){var o=t.call(this,e,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return _o.a(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n=this,r=this.childNodes.indexOf(t);-1!==r&&((o=this.childNodes).splice.apply(o,[r+1,0].concat(e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=n}));var o},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return bt(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return _t(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(Wa),Qa=new Map,Ka=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),Ya=function(){function t(){this.hasWrappedValue=!1}return t.prototype.unwrap=function(t){return t instanceof Ka?(this.hasWrappedValue=!0,t.wrapped):t},t.prototype.reset=function(){this.hasWrappedValue=!1},t}(),Ja=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}(),$a=function(){function t(){}return t.prototype.supports=function(t){return St(t)},t.prototype.create=function(t,e){return new tu(e||t)},t}(),Xa=function(t,e){return e},tu=function(){function t(t){this._length=0,this._collection=null,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Xa}return Object.defineProperty(t.prototype,"collection",{get:function(){return this._collection},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,o=null;e||n;){var i=!n||e&&e.currentIndex<Tt(n,r,o)?e:n,a=Tt(i,r,o),u=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(e=e._next,null==i.previousIndex)r++;else{o||(o=[]);var s=a-r,c=u-r;if(s!=c){for(var l=0;l<s;l++){var p=l<o.length?o[l]:o[l]=0,f=p+l;c<=f&&f<s&&(o[l]=p+1)}var h=i.previousIndex;o[h]=c-s}}a!==u&&t(i,a,u)}},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachMovedItem=function(t){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.forEachIdentityChange=function(t){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)},t.prototype.diff=function(t){if(null==t&&(t=[]),!St(t))throw new Error("Error trying to diff '"+a(t)+"'. Only arrays and iterables are allowed");return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n,r,o,a=this._itHead,u=!1;if(Array.isArray(t)){this._length=t.length;for(var s=0;s<this._length;s++)r=t[s],o=this._trackByFn(s,r),null!==a&&i(a.trackById,o)?(u&&(a=this._verifyReinsertion(a,r,o,s)),i(a.item,r)||this._addIdentityChange(a,r)):(a=this._mismatch(a,r,o,s),u=!0),a=a._next}else n=0,xt(t,function(t){o=e._trackByFn(n,t),null!==a&&i(a.trackById,o)?(u&&(a=e._verifyReinsertion(a,t,o,n)),i(a.item,t)||e._addIdentityChange(a,t)):(a=e._mismatch(a,t,o,n),u=!0),a=a._next,n++}),this._length=n;return this._truncate(a),this._collection=t,this.isDirty},Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),t.prototype._reset=function(){if(this.isDirty){var t=void 0,e=void 0;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},t.prototype._mismatch=function(t,e,n,r){var o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),t=null===this._linkedRecords?null:this._linkedRecords.get(n,r),null!==t?(i(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null),null!==t?(i(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):t=this._addAfter(new eu(e,n),o,r)),t},t.prototype._verifyReinsertion=function(t,e,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t},t.prototype._truncate=function(t){for(;null!==t;){var e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},t.prototype._reinsertAfter=function(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._moveAfter=function(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._addAfter=function(t,e,n){return this._insertAfter(t,e,n),null===this._additionsTail?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t},t.prototype._insertAfter=function(t,e,n){var r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new ru),this._linkedRecords.put(t),t.currentIndex=n,t},t.prototype._remove=function(t){return this._addToRemovals(this._unlink(t))},t.prototype._unlink=function(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);var e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t},t.prototype._addToMoves=function(t,e){return t.previousIndex===e?t:(null===this._movesTail?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t,t)},t.prototype._addToRemovals=function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ru),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t},t.prototype._addIdentityChange=function(t,e){return t.item=e,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t},t.prototype.toString=function(){var t=[];this.forEachItem(function(e){return t.push(e)});var e=[];this.forEachPreviousItem(function(t){return e.push(t)});var n=[];this.forEachAddedItem(function(t){return n.push(t)});var r=[];this.forEachMovedItem(function(t){return r.push(t)});var o=[];this.forEachRemovedItem(function(t){return o.push(t)});var i=[];return this.forEachIdentityChange(function(t){return i.push(t)}),"collection: "+t.join(", ")+"\nprevious: "+e.join(", ")+"\nadditions: "+n.join(", ")+"\nmoves: "+r.join(", ")+"\nremovals: "+o.join(", ")+"\nidentityChanges: "+i.join(", ")+"\n"},t}(),eu=function(){function t(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}return t.prototype.toString=function(){return this.previousIndex===this.currentIndex?a(this.item):a(this.item)+"["+a(this.previousIndex)+"->"+a(this.currentIndex)+"]"},t}(),nu=function(){function t(){this._head=null,this._tail=null}return t.prototype.add=function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)},t.prototype.get=function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<n.currentIndex)&&i(n.trackById,t))return n;return null},t.prototype.remove=function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head},t}(),ru=function(){function t(){this.map=new Map}return t.prototype.put=function(t){var e=t.trackById,n=this.map.get(e);n||(n=new nu,this.map.set(e,n)),n.add(t)},t.prototype.get=function(t,e){var n=t,r=this.map.get(n);return r?r.get(t,e):null},t.prototype.remove=function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this.map.clear()},t.prototype.toString=function(){return"_DuplicateMap("+a(this.map)+")"},t}(),ou=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||At(t)},t.prototype.create=function(t){return new iu},t}(),iu=function(){function t(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachChangedItem=function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.diff=function(t){if(t){if(!(t instanceof Map||At(t)))throw new Error("Error trying to diff '"+a(t)+"'. Only maps and objects are allowed")}else t=new Map;return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,function(t,r){if(n&&n.key===r)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var o=e._getOrCreateRecordForKey(r,t);n=e._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},t.prototype._insertBeforeOrAppend=function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null},t.prototype._getOrCreateRecordForKey=function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new au(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i},t.prototype._reset=function(){if(this.isDirty){var t=void 0;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},t.prototype._maybeAddToChanges=function(t,e){i(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))},t.prototype._addToAdditions=function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)},t.prototype._addToChanges=function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)},t.prototype.toString=function(){var t=[],e=[],n=[],r=[],o=[];return this.forEachItem(function(e){return t.push(a(e))}),this.forEachPreviousItem(function(t){return e.push(a(t))}),this.forEachChangedItem(function(t){return n.push(a(t))}),this.forEachAddedItem(function(t){return r.push(a(t))}),this.forEachRemovedItem(function(t){return o.push(a(t))}),"map: "+t.join(", ")+"\nprevious: "+e.join(", ")+"\nadditions: "+r.join(", ")+"\nchanges: "+n.join(", ")+"\nremovals: "+o.join(", ")+"\n"},t.prototype._forEach=function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(function(n){return e(t[n],n)})},t}(),au=function(){function t(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}return t.prototype.toString=function(){return i(this.previousValue,this.currentValue)?a(this.key):a(this.key)+"["+a(this.previousValue)+"->"+a(this.currentValue)+"]"},t}(),uu=function(){function t(t){this.factories=t}return t.create=function(e,n){if(null!=n){var r=n.factories.slice();return e=e.concat(r),new t(e)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new ui,new oi]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(null!=e)return e;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+Rt(t)+"'")},t}(),su=function(){function t(t){this.factories=t}return t.create=function(e,n){if(n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new ui,new oi]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(e)return e;throw new Error("Cannot find a differ supporting object '"+t+"'")},t}(),cu=[new ou],lu=[new $a],pu=new uu(lu),fu=new su(cu),hu=[{provide:Li,useValue:"unknown"},wa,{provide:_a,useExisting:wa},{provide:Ei,useFactory:kt,deps:[]},fa,Bi],du=st(null,"core",hu),yu=new Po("LocaleId"),gu=new Po("Translations"),mu=new Po("TranslationsFormat"),vu={};vu.Error=0,vu.Warning=1,vu.Ignore=2,vu[vu.Error]="Error",vu[vu.Warning]="Warning",vu[vu.Ignore]="Ignore";var bu=function(){function t(t){}return t}();bu.decorators=[{type:$o,args:[{providers:[Oa,{provide:Ca,useExisting:Oa},Mi,Gi,Di,{provide:uu,useFactory:jt},{provide:su,useFactory:It},{provide:yu,useFactory:Nt,deps:[[new ri(yu),new oi,new ui]]}]}]}],bu.ctorParameters=function(){return[{type:Ca}]};var _u={};_u.NONE=0,_u.HTML=1,_u.STYLE=2,_u.SCRIPT=3,_u.URL=4,_u.RESOURCE_URL=5,_u[_u.NONE]="NONE",_u[_u.HTML]="HTML",_u[_u.STYLE]="STYLE",_u[_u.SCRIPT]="SCRIPT",_u[_u.URL]="URL",_u[_u.RESOURCE_URL]="RESOURCE_URL";var wu=function(){function t(){}return t.prototype.sanitize=function(t,e){},t}(),Cu=function(){function t(){}return t.prototype.view=function(){},t.prototype.nodeIndex=function(){},t.prototype.injector=function(){},t.prototype.component=function(){},t.prototype.providerTokens=function(){},t.prototype.references=function(){},t.prototype.context=function(){},t.prototype.componentRenderElement=function(){},t.prototype.renderNode=function(){},t.prototype.logError=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n]},t}(),Ou={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,clearProviderOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Eu=function(){},Su=new Map,Pu="$$undefined",xu="$$empty",Au=0,Tu=new WeakMap,Ru=/^:([^:]+):(.+)$/,ku=[],ju={},Iu=new Object,Nu=Wt(fi),Mu=Wt(na),Vu=new Object,Du=function(t){function e(e,n,r,o,i,a){var u=t.call(this)||this;return u.selector=e,u.componentType=n,u._inputs=o,u._outputs=i,u.ngContentSelectors=a,u.viewDefFactory=r,u}return _o.a(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e){var r=e[n];t.push({propName:n,templateName:r})}return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs){var n=this._outputs[e];t.push({propName:e,templateName:n})}return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){if(!r)throw new Error("ngModule should be provided");var o=fe(this.viewDefFactory),i=o.nodes[0].element.componentProvider.index,a=Ou.createRootView(t,e||[],n,o,r,Vu),u=Dt(a,i).instance;return n&&a.renderer.setAttribute(Vt(a,0).renderElement,"ng-version",ni.full),new Fu(a,new Uu(a),u)},e}(Qi),Fu=function(t){function e(e,n,r){var o=t.call(this)||this;return o._view=e,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o}return _o.a(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new ka(Vt(this._view,this._elDef.index).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Bu(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"instance",{get:function(){return this._component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostView",{get:function(){return this._viewRef},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"changeDetectorRef",{get:function(){return this._viewRef},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}(Zi),Lu=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new ka(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Bu(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=re(t),t=t.parent;return t?new Bu(t,e):new Bu(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length,e=t-1;e>=0;e--){var n=Ze(this._data,e);Ou.destroyView(n)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Uu(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,o){var i=n||this.parentInjector;o||t instanceof ea||(o=i.get(na));var a=t.create(i,r,void 0,o);return this.insert(a.hostView,e),a},t.prototype.insert=function(t,e){var n=t,r=n._view;return Ge(this._view,this._data,e,r),n.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){var n=this._embeddedViews.indexOf(t._view);return Ke(this._data,n,e),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Ze(this._data,t);e&&Ou.destroyView(e)},t.prototype.detach=function(t){var e=Ze(this._data,t);return e?new Uu(e):null},t}(),Uu=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return he(this._view)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){Xt(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin(),Ou.checkAndUpdateView(this._view),t.end&&t.end()},t.prototype.checkNoChanges=function(){Ou.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Ou.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Je(this._view),Ou.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}(),Hu=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return _o.a(e,t),e.prototype.createEmbeddedView=function(t){return new Uu(Ou.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new ka(Vt(this._parentView,this._def.index).renderElement)},enumerable:!0,configurable:!0}),e}(Ua),Bu=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){void 0===e&&(e=fi.THROW_IF_NOT_FOUND);var n=!!this.elDef&&0!=(33554432&this.elDef.flags);return Ou.resolveDep(this.view,this.elDef,n,{flags:0,token:t,tokenKey:Wt(t)},e)},t}(),qu=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=be(e),r=n[0],o=n[1],i=this.delegate.createElement(o,r);return t&&this.delegate.appendChild(t,i),i},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n<e.length;n++)this.delegate.appendChild(t,e[n])},t.prototype.attachViewAfter=function(t,e){for(var n=this.delegate.parentNode(t),r=this.delegate.nextSibling(t),o=0;o<e.length;o++)this.delegate.insertBefore(n,e[o],r)},t.prototype.detachView=function(t){for(var e=0;e<t.length;e++){var n=t[e],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},t.prototype.destroyView=function(t,e){for(var n=0;n<e.length;n++)this.delegate.destroyNode(e[n])},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.listenGlobal=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.setElementProperty=function(t,e,n){this.delegate.setProperty(t,e,n)},t.prototype.setElementAttribute=function(t,e,n){var r=be(e),o=r[0],i=r[1];null!=n?this.delegate.setAttribute(t,i,n,o):this.delegate.removeAttribute(t,i,o)},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){n?this.delegate.addClass(t,e):this.delegate.removeClass(t,e)},t.prototype.setElementStyle=function(t,e,n){null!=n?this.delegate.setStyle(t,e,n):this.delegate.removeStyle(t,e)},t.prototype.invokeElementMethod=function(t,e,n){t[e].apply(t,n)},t.prototype.setText=function(t,e){this.delegate.setValue(t,e)},t.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},t}(),Gu=function(){function t(t,e,n,r){this._moduleType=t,this._parent=e,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,Fe(this)}return t.prototype.get=function(t,e){return void 0===e&&(e=fi.THROW_IF_NOT_FOUND),Le(this,{token:t,tokenKey:Wt(t),flags:0},e)},Object.defineProperty(t.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this.get(Ji)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return this},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+a(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,qe(this,131072),this._destroyListeners.forEach(function(t){return t()})},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},t}(),zu=Wt(Pa),Wu=Wt(Ra),Zu=Wt(ka),Qu=Wt(Ha),Ku=Wt(Ua),Yu=Wt(Ba),Ju=Wt(fi),$u=new Object,Xu={},ts={};ts.CreateViewNodes=0,ts.CheckNoChanges=1,ts.CheckNoChangesProjectedViews=2,ts.CheckAndUpdate=3,ts.CheckAndUpdateProjectedViews=4,ts.Destroy=5,ts[ts.CreateViewNodes]="CreateViewNodes",ts[ts.CheckNoChanges]="CheckNoChanges",ts[ts.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",ts[ts.CheckAndUpdate]="CheckAndUpdate",ts[ts.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",ts[ts.Destroy]="Destroy";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var es=!1,ns=new Map,rs={};rs.create=0,rs.detectChanges=1,rs.checkNoChanges=2,rs.destroy=3,rs.handleEvent=4,rs[rs.create]="create",rs[rs.detectChanges]="detectChanges",rs[rs.checkNoChanges]="checkNoChanges",rs[rs.destroy]="destroy",rs[rs.handleEvent]="handleEvent";var os,is,as,us=/([A-Z])/g,ss=function(){function t(t,e){this.view=t,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=t.def.nodes[e];for(var n=this.nodeDef,r=t;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=re(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(t.prototype,"elOrCompView",{get:function(){return Vt(this.elView,this.elDef.index).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return an(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){var t=[];if(this.elDef)for(var e=this.elDef.index+1;e<=this.elDef.index+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&t.push(n.provider.token),e+=n.childCount}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){var t={};if(this.elDef){Jr(this.elView,this.elDef,t);for(var e=this.elDef.index+1;e<=this.elDef.index+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&Jr(this.elView,n,t),e+=n.childCount}}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentRenderElement",{get:function(){var t=Yr(this.elOrCompView);return t?t.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?oe(this.view,this.nodeDef):oe(this.elView,this.elDef)},enumerable:!0,configurable:!0}),t.prototype.logError=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r,o;2&this.nodeDef.flags?(r=this.view.def,o=this.nodeDef.index):(r=this.elView.def,o=this.elDef.index);var i=Kr(r,o),a=-1,u=function(){return a++,a===i?(n=t.error).bind.apply(n,[t].concat(e)):Eu;var n};r.factory(u),a<i&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error.apply(t,e))},t}(),cs=function(){function t(t){this.delegate=t}return t.prototype.createRenderer=function(t,e){return new ls(this.delegate.createRenderer(t,e))},t.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},t.prototype.end=function(){this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},t}(),ls=function(){function t(t){this.delegate=t}return Object.defineProperty(t.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),t.prototype.destroyNode=function(t){Ot(wt(t)),this.delegate.destroyNode&&this.delegate.destroyNode(t)},t.prototype.destroy=function(){this.delegate.destroy()},t.prototype.createElement=function(t,e){var n=this.delegate.createElement(t,e),r=Xr();if(r){var o=new Za(n,null,r);o.name=t,Ct(o)}return n},t.prototype.createComment=function(t){var e=this.delegate.createComment(t),n=Xr();return n&&Ct(new Wa(e,null,n)),e},t.prototype.createText=function(t){var e=this.delegate.createText(t),n=Xr();return n&&Ct(new Wa(e,null,n)),e},t.prototype.appendChild=function(t,e){var n=wt(t),r=wt(e);n&&r&&n instanceof Za&&n.addChild(r),this.delegate.appendChild(t,e)},t.prototype.insertBefore=function(t,e,n){var r=wt(t),o=wt(e),i=wt(n);r&&o&&r instanceof Za&&r.insertBefore(i,o),this.delegate.insertBefore(t,e,n)},t.prototype.removeChild=function(t,e){var n=wt(t),r=wt(e);n&&r&&n instanceof Za&&n.removeChild(r),this.delegate.removeChild(t,e)},t.prototype.selectRootElement=function(t){var e=this.delegate.selectRootElement(t),n=Xr();return n&&Ct(new Za(e,null,n)),e},t.prototype.setAttribute=function(t,e,n,r){var o=wt(t);if(o&&o instanceof Za){var i=r?r+":"+e:e;o.attributes[i]=n}this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){var r=wt(t);if(r&&r instanceof Za){var o=n?n+":"+e:e;r.attributes[o]=null}this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){var n=wt(t);n&&n instanceof Za&&(n.classes[e]=!0),this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){var n=wt(t);n&&n instanceof Za&&(n.classes[e]=!1),this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){var o=wt(t);o&&o instanceof Za&&(o.styles[e]=n),this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){var r=wt(t);r&&r instanceof Za&&(r.styles[e]=null),this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){var r=wt(t);r&&r instanceof Za&&(r.properties[e]=n),this.delegate.setProperty(t,e,n)},t.prototype.listen=function(t,e,n){if("string"!=typeof t){var r=wt(t);r&&r.listeners.push(new za(e,n))}return this.delegate.listen(t,e,n)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setValue=function(t,e){return this.delegate.setValue(t,e)},t}(),ps=function(t){function e(e,n,r){var o=t.call(this)||this;return o.moduleType=e,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return _o.a(e,t),e.prototype.create=function(t){_r();var e=fe(this._ngModuleDefFactory);return Ou.createNgModuleRef(this.moduleType,t||fi.NULL,this._bootstrapComponents,e)},e}(ra),fs="*"}).call(e,n("DuR2"))},"5oXY":function(t,e,n){"use strict";function r(t){return new Fe(t)}function o(t){var e=Error("NavigationCancelingError: "+t);return e[Le]=!0,e}function i(t){return t[Le]}function a(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;for(var o={},i=0;i<r.length;i++){var a=r[i],u=t[i];if(a.startsWith(":"))o[a.substring(1)]=u;else if(a!==u.path)return null}return{consumed:t.slice(0,r.length),posParams:o}}function u(t,e){void 0===e&&(e="");for(var n=0;n<t.length;n++){var r=t[n];s(r,c(e,r))}}function s(t,e){if(!t)throw new Error("\n Invalid configuration of route '"+e+"': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n ");if(Array.isArray(t))throw new Error("Invalid configuration of route '"+e+"': Array cannot be specified");if(!t.component&&t.outlet&&t.outlet!==De)throw new Error("Invalid configuration of route '"+e+"': a componentless route cannot have a named outlet set");if(t.redirectTo&&t.children)throw new Error("Invalid configuration of route '"+e+"': redirectTo and children cannot be used together");if(t.redirectTo&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': redirectTo and loadChildren cannot be used together");if(t.children&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': children and loadChildren cannot be used together");if(t.redirectTo&&t.component)throw new Error("Invalid configuration of route '"+e+"': redirectTo and component cannot be used together");if(t.path&&t.matcher)throw new Error("Invalid configuration of route '"+e+"': path and matcher cannot be used together");if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error("Invalid configuration of route '"+e+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===t.path&&void 0===t.matcher)throw new Error("Invalid configuration of route '"+e+"': routes must have either a path or a matcher specified");if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error("Invalid configuration of route '"+e+"': path cannot start with a slash");if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch){throw new Error("Invalid configuration of route '{path: \""+e+'", redirectTo: "'+t.redirectTo+"\"}': please provide 'pathMatch'. "+"The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.")}if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error("Invalid configuration of route '"+e+"': pathMatch can only be set to 'prefix' or 'full'");t.children&&u(t.children,e)}function c(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:t+"/"+e.path:"":t}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function l(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(!p(t[n],e[n]))return!1;return!0}function p(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var o,i=0;i<n.length;i++)if(o=n[i],t[o]!==e[o])return!1;return!0}function f(t){return Array.prototype.concat.apply([],t)}function h(t){return t.length>0?t[t.length-1]:null}function d(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function y(t,e){if(0===Object.keys(t).length)return n.i(de.of)({});var r=[],o=[],i={};d(t,function(t,n){var a=ve.map.call(e(n,t),function(t){return i[n]=t});n===De?r.push(a):o.push(a)});var a=Oe.concatAll.call(de.of.apply(void 0,r.concat(o))),u=Pe.last.call(a);return ve.map.call(u,function(){return i})}function g(t){var e=xe.mergeAll.call(t);return ge.every.call(e,function(t){return!0===t})}function m(t){return n.i(le["ɵisObservable"])(t)?t:n.i(le["ɵisPromise"])(t)?n.i(Se.fromPromise)(Promise.resolve(t)):n.i(de.of)(t)}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function v(){return new He(new Be([],{}),{},null)}function b(t,e,n){return n?_(t.queryParams,e.queryParams)&&w(t.root,e.root):C(t.queryParams,e.queryParams)&&O(t.root,e.root)}function _(t,e){return p(t,e)}function w(t,e){if(!P(t.segments,e.segments))return!1;if(t.numberOfChildren!==e.numberOfChildren)return!1;for(var n in e.children){if(!t.children[n])return!1;if(!w(t.children[n],e.children[n]))return!1}return!0}function C(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return e[n]===t[n]})}function O(t,e){return E(t,e,e.segments)}function E(t,e,n){if(t.segments.length>n.length){var r=t.segments.slice(0,n.length);return!!P(r,n)&&!e.hasChildren()}if(t.segments.length===n.length){if(!P(t.segments,n))return!1;for(var o in e.children){if(!t.children[o])return!1;if(!O(t.children[o],e.children[o]))return!1}return!0}var r=n.slice(0,t.segments.length),i=n.slice(t.segments.length);return!!P(t.segments,r)&&(!!t.children[De]&&E(t.children[De],e,i))}function S(t,e){return P(t,e)&&t.every(function(t,n){return p(t.parameters,e[n].parameters)})}function P(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function x(t,e){var n=[];return d(t.children,function(t,r){r===De&&(n=n.concat(e(t,r)))}),d(t.children,function(t,r){r!==De&&(n=n.concat(e(t,r)))}),n}function A(t){return t.segments.map(function(t){return j(t)}).join("/")}function T(t,e){if(!t.hasChildren())return A(t);if(e){var n=t.children[De]?T(t.children[De],!1):"",r=[];return d(t.children,function(t,e){e!==De&&r.push(e+":"+T(t,!1))}),r.length>0?n+"("+r.join("//")+")":n}var o=x(t,function(e,n){return n===De?[T(t.children[De],!1)]:[n+":"+T(e,!1)]});return A(t)+"/("+o.join("//")+")"}function R(t){return encodeURIComponent(t)}function k(t){return decodeURIComponent(t)}function j(t){return""+R(t.path)+I(t.parameters)}function I(t){return Object.keys(t).map(function(e){return";"+R(e)+"="+R(t[e])}).join("")}function N(t){var e=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return R(e)+"="+R(t)}).join("&"):R(e)+"="+R(n)});return e.length?"?"+e.join("&"):""}function M(t){var e=t.match(Ze);return e?e[0]:""}function V(t){var e=t.match(Qe);return e?e[0]:""}function D(t){var e=t.match(Ke);return e?e[0]:""}function F(t){return new we.Observable(function(e){return e.error(new Je(t))})}function L(t){return new we.Observable(function(e){return e.error(new $e(t))})}function U(t){return new we.Observable(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}function H(t){return new we.Observable(function(e){return e.error(o("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))})}function B(t,e,n,r,o){return new Xe(t,e,n,r,o).apply()}function q(t,e){var r=e.canLoad;return r&&0!==r.length?g(ve.map.call(n.i(he.from)(r),function(n){var r=t.get(n);return m(r.canLoad?r.canLoad(e):r(e))})):n.i(de.of)(!0)}function G(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=e.matcher||a,o=r(n,t,e);return o?{matched:!0,consumedSegments:o.consumed,lastChild:o.consumed.length,positionalParamSegments:o.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function z(t,e,n,r){if(n.length>0&&K(t,n,r)){var o=new Be(e,Q(r,new Be(n,t.children)));return{segmentGroup:W(o),slicedSegments:[]}}if(0===n.length&&Y(t,n,r)){var o=new Be(t.segments,Z(t,n,r,t.children));return{segmentGroup:W(o),slicedSegments:n}}return{segmentGroup:t,slicedSegments:n}}function W(t){if(1===t.numberOfChildren&&t.children[De]){var e=t.children[De];return new Be(t.segments.concat(e.segments),e.children)}return t}function Z(t,e,n,r){for(var o={},i=0,a=n;i<a.length;i++){var u=a[i];J(t,e,u)&&!r[$(u)]&&(o[$(u)]=new Be([],{}))}return Object.assign({},r,o)}function Q(t,e){var n={};n[De]=e;for(var r=0,o=t;r<o.length;r++){var i=o[r];""===i.path&&$(i)!==De&&(n[$(i)]=new Be([],{}))}return n}function K(t,e,n){return n.some(function(n){return J(t,e,n)&&$(n)!==De})}function Y(t,e,n){return n.some(function(n){return J(t,e,n)})}function J(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&(""===n.path&&void 0!==n.redirectTo)}function $(t){return t.outlet||De}function X(t,e){if(t===e.value)return e;for(var n=0,r=e.children;n<r.length;n++){var o=r[n],i=X(t,o);if(i)return i}return null}function tt(t,e){if(t===e.value)return[e];for(var n=0,r=e.children;n<r.length;n++){var o=r[n],i=tt(t,o);if(i.length)return i.unshift(e),i}return[]}function et(t,e){var n=nt(t,e),r=new pe.BehaviorSubject([new qe("",{})]),o=new pe.BehaviorSubject({}),i=new pe.BehaviorSubject({}),a=new pe.BehaviorSubject({}),u=new pe.BehaviorSubject(""),s=new rn(r,o,a,u,i,De,e,n.root);return s.snapshot=n.root,new nn(new en(s,[]),n)}function nt(t,e){var n={},r={},o={},i="",a=new on([],n,o,i,r,De,e,null,t.root,-1,{});return new an("",new en(a,[]))}function rt(t){for(var e=t.pathFromRoot,n=e.length-1;n>=1;){var r=e[n],o=e[n-1];if(r.routeConfig&&""===r.routeConfig.path)n--;else{if(o.component)break;n--}}return e.slice(n).reduce(function(t,e){return{params:Object.assign({},t.params,e.params),data:Object.assign({},t.data,e.data),resolve:Object.assign({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}function ot(t,e){e.value._routerState=t,e.children.forEach(function(e){return ot(t,e)})}function it(t){var e=t.children.length>0?" { "+t.children.map(it).join(", ")+" } ":"";return""+t.value+e}function at(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,p(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),p(e.params,n.params)||t.params.next(n.params),l(e.url,n.url)||t.url.next(n.url),p(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function ut(t,e){var n=p(t.params,e.params)&&S(t.url,e.url),r=!t.parent!=!e.parent;return n&&!r&&(!t.parent||ut(t.parent,e.parent))}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function st(t,e,n){var r=ct(t,e._root,n?n._root:void 0);return new nn(r,e)}function ct(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){var r=n.value;r._futureSnapshot=e.value;var o=pt(t,e,n);return new en(r,o)}if(t.retrieve(e.value)){var i=t.retrieve(e.value).route;return lt(e,i),i}var r=ft(e.value),o=e.children.map(function(e){return ct(t,e)});return new en(r,o)}function lt(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(var n=0;n<t.children.length;++n)lt(t.children[n],e.children[n])}function pt(t,e,n){return e.children.map(function(e){for(var r=0,o=n.children;r<o.length;r++){var i=o[r];if(t.shouldReuseRoute(i.value.snapshot,e.value))return ct(t,e,i)}return ct(t,e)})}function ft(t){return new rn(new pe.BehaviorSubject(t.url),new pe.BehaviorSubject(t.params),new pe.BehaviorSubject(t.queryParams),new pe.BehaviorSubject(t.fragment),new pe.BehaviorSubject(t.data),t.outlet,t.component,t)}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function ht(t,e,n,r,o){if(0===n.length)return yt(e.root,e.root,e,r,o);var i=mt(n);if(i.toRoot())return yt(e.root,new Be([],{}),e,r,o);var a=vt(i,e,t),u=a.processChildren?Ot(a.segmentGroup,a.index,i.commands):Ct(a.segmentGroup,a.index,i.commands);return yt(a.segmentGroup,u,e,r,o)}function dt(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function yt(t,e,n,r,o){var i={};return r&&d(r,function(t,e){i[e]=Array.isArray(t)?t.map(function(t){return""+t}):""+t}),n.root===t?new He(e,i,o):new He(gt(n.root,t,e),i,o)}function gt(t,e,n){var r={};return d(t.children,function(t,o){r[o]=t===e?n:gt(t,e,n)}),new Be(t.segments,r)}function mt(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new un(!0,0,t);var e=0,n=!1,r=t.reduce(function(t,r,o){if("object"==typeof r&&null!=r){if(r.outlets){var i={};return d(r.outlets,function(t,e){i[e]="string"==typeof t?t.split("/"):t}),t.concat([{outlets:i}])}if(r.segmentPath)return t.concat([r.segmentPath])}return"string"!=typeof r?t.concat([r]):0===o?(r.split("/").forEach(function(r,o){0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):t.concat([r])},[]);return new un(n,e,r)}function vt(t,e,n){if(t.isAbsolute)return new sn(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new sn(n.snapshot._urlSegment,!0,0);var r=dt(t.commands[0])?0:1,o=n.snapshot._lastPathIndex+r;return bt(n.snapshot._urlSegment,o,t.numberOfDoubleDots)}function bt(t,e,n){for(var r=t,o=e,i=n;i>o;){if(i-=o,!(r=r.parent))throw new Error("Invalid number of '../'");o=r.segments.length}return new sn(r,!1,o-i)}function _t(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[De]:""+t}function wt(t){return"object"!=typeof t[0]?(e={},e[De]=t,e):void 0===t[0].outlets?(n={},n[De]=t,n):t[0].outlets;var e,n}function Ct(t,e,n){if(t||(t=new Be([],{})),0===t.segments.length&&t.hasChildren())return Ot(t,e,n);var r=Et(t,e,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){var i=new Be(t.segments.slice(0,r.pathIndex),{});return i.children[De]=new Be(t.segments.slice(r.pathIndex),t.children),Ot(i,0,o)}return r.match&&0===o.length?new Be(t.segments,{}):r.match&&!t.hasChildren()?St(t,e,n):r.match?Ot(t,0,o):St(t,e,n)}function Ot(t,e,n){if(0===n.length)return new Be(t.segments,{});var r=wt(n),o={};return d(r,function(n,r){null!==n&&(o[r]=Ct(t.children[r],e,n))}),d(t.children,function(t,e){void 0===r[e]&&(o[e]=t)}),new Be(t.segments,o)}function Et(t,e,n){for(var r=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};o<t.segments.length;){if(r>=n.length)return i;var a=t.segments[o],u=_t(n[r]),s=r<n.length-1?n[r+1]:null;if(o>0&&void 0===u)break;if(u&&s&&"object"==typeof s&&void 0===s.outlets){if(!At(u,s,a))return i;r+=2}else{if(!At(u,{},a))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function St(t,e,n){for(var r=t.segments.slice(0,e),o=0;o<n.length;){if("object"==typeof n[o]&&void 0!==n[o].outlets){var i=Pt(n[o].outlets);return new Be(r,i)}if(0===o&&dt(n[0])){var a=t.segments[e];r.push(new qe(a.path,n[0])),o++}else{var u=_t(n[o]),s=o<n.length-1?n[o+1]:null;u&&s&&dt(s)?(r.push(new qe(u,xt(s))),o+=2):(r.push(new qe(u,{})),o++)}}return new Be(r,{})}function Pt(t){var e={};return d(t,function(t,n){null!==t&&(e[n]=St(new Be([],{}),0,t))}),e}function xt(t){var e={};return d(t,function(t,n){return e[n]=""+t}),e}function At(t,e,n){return t==n.path&&p(e,n.parameters)}function Tt(t,e,n,r){return new ln(t,e,n,r).recognize()}function Rt(t){t.sort(function(t,e){return t.value.outlet===De?-1:e.value.outlet===De?1:t.value.outlet.localeCompare(e.value.outlet)})}function kt(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}function jt(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new cn;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=e.matcher||a,o=r(n,t,e);if(!o)throw new cn;var i={};d(o.posParams,function(t,e){i[e]=t.path});var u=Object.assign({},i,o.consumed[o.consumed.length-1].parameters);return{consumedSegments:o.consumed,lastChild:o.consumed.length,parameters:u}}function It(t){var e={};t.forEach(function(t){var n=e[t.value.outlet];if(n){var r=n.url.map(function(t){return t.toString()}).join("/"),o=t.value.url.map(function(t){return t.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+o+"'.")}e[t.value.outlet]=t.value})}function Nt(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function Mt(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Vt(t,e,n,r){if(n.length>0&&Lt(t,n,r)){var o=new Be(e,Ft(t,e,r,new Be(n,t.children)));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&Ut(t,n,r)){var i=new Be(t.segments,Dt(t,n,r,t.children));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}var a=new Be(t.segments,t.children);return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:n}}function Dt(t,e,n,r){for(var o={},i=0,a=n;i<a.length;i++){var u=a[i];if(Ht(t,e,u)&&!r[Bt(u)]){var s=new Be([],{});s._sourceSegment=t,s._segmentIndexShift=t.segments.length,o[Bt(u)]=s}}return Object.assign({},r,o)}function Ft(t,e,n,r){var o={};o[De]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(var i=0,a=n;i<a.length;i++){var u=a[i];if(""===u.path&&Bt(u)!==De){var s=new Be([],{});s._sourceSegment=t,s._segmentIndexShift=e.length,o[Bt(u)]=s}}return o}function Lt(t,e,n){return n.some(function(n){return Ht(t,e,n)&&Bt(n)!==De})}function Ut(t,e,n){return n.some(function(n){return Ht(t,e,n)})}function Ht(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&(""===n.path&&void 0===n.redirectTo)}function Bt(t){return t.outlet||De}function qt(t){return t.data||{}}function Gt(t){return t.resolve||{}}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function zt(t){throw t}function Wt(t){return n.i(de.of)(null)}function Zt(t){at(t.value),t.children.forEach(Zt)}function Qt(t){for(var e=t.parent;e;e=e.parent){var n=e._routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}function Kt(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e._routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}function Yt(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}function Jt(t){for(var e=0;e<t.length;e++){var n=t[e];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+e)}}function $t(t){return""===t||!!t}function Xt(){return new le.NgProbeToken("Router",mn)}function te(t,e,n){return void 0===n&&(n={}),n.useHash?new ce.HashLocationStrategy(t,e):new ce.PathLocationStrategy(t,e)}function ee(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function ne(t){return[{provide:le.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:t},{provide:hn,multi:!0,useValue:t}]}function re(t,e,r,o,i,a,u,s,c,l,p){void 0===c&&(c={});var h=new mn(null,e,r,o,i,a,u,f(s));if(l&&(h.urlHandlingStrategy=l),p&&(h.routeReuseStrategy=p),c.errorHandler&&(h.errorHandler=c.errorHandler),c.enableTracing){var d=n.i(Ae.u)();h.events.subscribe(function(t){d.logGroup("Router Event: "+t.constructor.name),d.log(t.toString()),d.log(t),d.logGroupEnd()})}return h}function oe(t){return t.routerState.root}function ie(t){return t.appInitializer.bind(t)}function ae(t){return t.bootstrapListener.bind(t)}function ue(){return[Fn,{provide:le.APP_INITIALIZER,multi:!0,useFactory:ie,deps:[Fn]},{provide:Ln,useFactory:ae,deps:[Fn]},{provide:le.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Ln}]}var se=n("TToO"),ce=n("2Je8"),le=n("3j3K"),pe=n("TfWX"),fe=(n.n(pe),n("EEr4")),he=(n.n(fe),n("PKvP")),de=(n.n(he),n("lgiQ")),ye=(n.n(de),n("bE1M")),ge=(n.n(ye),n("83T1")),me=(n.n(ge),n("bBiI")),ve=(n.n(me),n("xAJs")),be=(n.n(ve),n("XO5T")),_e=(n.n(be),n("pgP5")),we=(n.n(_e),n("rCTf")),Ce=(n.n(we),n("+4ur")),Oe=(n.n(Ce),n("CfHE")),Ee=(n.n(Oe),n("F7Al")),Se=(n.n(Ee),n("ioK+")),Pe=(n.n(Se),n("7nvF")),xe=(n.n(Pe),n("cbuX")),Ae=(n.n(xe),n("Qbdm")),Te=n("ack3");n.n(Te);n.d(e,"y",function(){return On}),n.d(e,"A",function(){return En}),n.d(e,"z",function(){return xn}),n.d(e,"B",function(){return Re}),n.d(e,"w",function(){return pn}),n.d(e,"c",function(){return mn}),n.d(e,"t",function(){return hn}),n.d(e,"r",function(){return Nn}),n.d(e,"h",function(){return Ln}),n.d(e,"x",function(){return Dn}),n.d(e,"q",function(){return Pn}),n.d(e,"d",function(){return kn}),n.d(e,"g",function(){return Rn}),n.d(e,"e",function(){return Tn}),n.d(e,"f",function(){return jn}),n.d(e,"a",function(){return rn}),n.d(e,"v",function(){return yn}),n.d(e,"p",function(){return ze}),n.d(e,"o",function(){return Ge}),n.d(e,"k",function(){return Mn}),n.d(e,"j",function(){return Fn}),n.d(e,"n",function(){return ie}),n.d(e,"i",function(){return ae}),n.d(e,"l",function(){return ee}),n.d(e,"s",function(){return te}),n.d(e,"b",function(){return oe}),n.d(e,"m",function(){return Xt}),n.d(e,"u",function(){return re});/** - * @license Angular v4.2.3 - * (c) 2010-2017 Google, Inc. https://angular.io/ - * License: MIT - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Re=function(){function t(t,e){this.id=t,this.url=e}return t.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},t}(),ke=function(){function t(t,e,n){this.id=t,this.url=e,this.urlAfterRedirects=n}return t.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},t}(),je=function(){function t(t,e,n){this.id=t,this.url=e,this.reason=n}return t.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},t}(),Ie=function(){function t(t,e,n){this.id=t,this.url=e,this.error=n}return t.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},t}(),Ne=function(){function t(t,e,n,r){this.id=t,this.url=e,this.urlAfterRedirects=n,this.state=r}return t.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(),Me=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),Ve=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),De="primary",Fe=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}(),Le="ngNavigationCancelingError",Ue=function(){function t(t,e){this.routes=t,this.module=e}return t}(),He=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=r(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return We.serialize(this)},t}(),Be=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,d(e,function(t,e){return t.parent=n})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return A(this)},t}(),qe=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=r(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return j(this)},t}(),Ge=function(){function t(){}return t.prototype.parse=function(t){},t.prototype.serialize=function(t){},t}(),ze=function(){function t(){}return t.prototype.parse=function(t){var e=new Ye(t);return new He(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){return"/"+T(t.root,!0)+N(t.queryParams)+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),We=new ze,Ze=/^[^\/()?;=&#]+/,Qe=/^[^=?&#]+/,Ke=/^[^?&#]+/,Ye=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Be([],{}):new Be([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURI(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[De]=new Be(t,e)),n},t.prototype.parseSegment=function(){var t=M(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new qe(k(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=M(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=M(this.remaining);r&&(n=r,this.capture(n))}t[k(e)]=k(n)}},t.prototype.parseQueryParam=function(t){var e=V(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=D(this.remaining);r&&(n=r,this.capture(n))}var o=k(e),i=k(n);if(t.hasOwnProperty(o)){var a=t[o];Array.isArray(a)||(a=[a],t[o]=a),a.push(i)}else t[o]=i}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=M(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=De);var i=this.parseChildren();e[o]=1===Object.keys(i).length?i[De]:new Be([],i),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),Je=function(){function t(t){this.segmentGroup=t||null}return t}(),$e=function(){function t(t){this.urlTree=t}return t}(),Xe=function(){function t(t,e,n,r,o){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(le.NgModuleRef)}return t.prototype.apply=function(){var t=this,e=this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,De),n=ve.map.call(e,function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)});return Ce._catch.call(n,function(e){if(e instanceof $e)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof Je)throw t.noMatchError(e);throw e})},t.prototype.match=function(t){var e=this,n=this.expandSegmentGroup(this.ngModule,this.config,t.root,De),r=ve.map.call(n,function(n){return e.createUrlTree(n,t.queryParams,t.fragment)});return Ce._catch.call(r,function(t){if(t instanceof Je)throw e.noMatchError(t);throw t})},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,e,n){var r=t.segments.length>0?new Be([],(o={},o[De]=t,o)):t;return new He(r,e,n);var o},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?ve.map.call(this.expandChildren(t,e,n),function(t){return new Be([],t)}):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return y(n.children,function(n,o){return r.expandSegmentGroup(t,e,o,n)})},t.prototype.expandSegment=function(t,e,r,o,i,a){var u=this,s=de.of.apply(void 0,r),c=ve.map.call(s,function(s){var c=u.expandSegmentAgainstRoute(t,e,r,s,o,i,a);return Ce._catch.call(c,function(t){if(t instanceof Je)return n.i(de.of)(null);throw t})}),l=Oe.concatAll.call(c),p=me.first.call(l,function(t){return!!t});return Ce._catch.call(p,function(t,r){if(t instanceof Ee.EmptyError){if(u.noLeftoversInUrl(e,o,i))return n.i(de.of)(new Be([],{}));throw new Je(e)}throw t})},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,o,i,a){return $(r)!==i?F(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i):F(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?L(i):be.mergeMap.call(this.lineralizeSegments(n,i),function(n){var i=new Be(n,{});return o.expandSegment(t,i,e,n,r,!1)})},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){var a=this,u=G(e,r,o),s=u.matched,c=u.consumedSegments,l=u.lastChild,p=u.positionalParamSegments;if(!s)return F(e);var f=this.applyRedirectCommands(c,r.redirectTo,p);return r.redirectTo.startsWith("/")?L(f):be.mergeMap.call(this.lineralizeSegments(r,f),function(r){return a.expandSegment(t,e,n,r.concat(o.slice(l)),i,!1)})},t.prototype.matchSegmentAgainstRoute=function(t,e,r,o){var i=this;if("**"===r.path)return r.loadChildren?ve.map.call(this.configLoader.load(t.injector,r),function(t){return r._loadedConfig=t,new Be(o,{})}):n.i(de.of)(new Be(o,{}));var a=G(e,r,o),u=a.matched,s=a.consumedSegments,c=a.lastChild;if(!u)return F(e);var l=o.slice(c),p=this.getChildConfig(t,r);return be.mergeMap.call(p,function(t){var r=t.module,o=t.routes,a=z(e,s,l,o),u=a.segmentGroup,c=a.slicedSegments;if(0===c.length&&u.hasChildren()){var p=i.expandChildren(r,o,u);return ve.map.call(p,function(t){return new Be(s,t)})}if(0===o.length&&0===c.length)return n.i(de.of)(new Be(s,{}));var f=i.expandSegment(r,u,o,c,De,!0);return ve.map.call(f,function(t){return new Be(s.concat(t.segments),t.children)})})},t.prototype.getChildConfig=function(t,e){var r=this;return e.children?n.i(de.of)(new Ue(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?n.i(de.of)(e._loadedConfig):be.mergeMap.call(q(t.injector,e),function(n){return n?ve.map.call(r.configLoader.load(t.injector,e),function(t){return e._loadedConfig=t,t}):H(e)}):n.i(de.of)(new Ue([],t))},t.prototype.lineralizeSegments=function(t,e){for(var r=[],o=e.root;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return n.i(de.of)(r);if(o.numberOfChildren>1||!o.children[De])return U(t.redirectTo);o=o.children[De]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var o=this.createSegmentGroup(t,e.root,n,r);return new He(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return d(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var o=t.substring(1);n[r]=e[o]}else n[r]=t}),n},t.prototype.createSegmentGroup=function(t,e,n,r){var o=this,i=this.createSegments(t,e.segments,n,r),a={};return d(e.children,function(e,i){a[i]=o.createSegmentGroup(t,e,n,r)}),new Be(i,a)},t.prototype.createSegments=function(t,e,n,r){var o=this;return e.map(function(e){return e.path.startsWith(":")?o.findPosParam(t,e,r):o.findOrReturn(e,n)})},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){for(var n=0,r=0,o=e;r<o.length;r++){var i=o[r];if(i.path===t.path)return e.splice(n),i;n++}return t},t}(),tn=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=X(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=X(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=tt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})},t.prototype.pathFromRoot=function(t){return tt(t,this._root).map(function(t){return t.value})},t}(),en=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}(),nn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,ot(r,e),r}return se.a(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(tn),rn=function(){function t(t,e,n,r,o,i,a,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._futureSnapshot=u}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=ve.map.call(this.params,function(t){return r(t)})),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=ve.map.call(this.queryParams,function(t){return r(t)})),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}(),on=function(){function t(t,e,n,r,o,i,a,u,s,c,l){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._routeConfig=u,this._urlSegment=s,this._lastPathIndex=c,this._resolve=l}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=r(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=r(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this._routeConfig?this._routeConfig.path:"")+"')"},t}(),an=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,ot(r,n),r}return se.a(e,t),e.prototype.toString=function(){return it(this._root)},e}(tn),un=function(){function t(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&dt(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==h(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),sn=function(){function t(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}return t}(),cn=function(){function t(){}return t}(),ln=function(){function t(t,e,n,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r}return t.prototype.recognize=function(){try{var t=Vt(this.urlTree.root,[],[],this.config).segmentGroup,e=this.processSegmentGroup(this.config,t,De),r=new on([],Object.freeze({}),Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,{},De,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new en(r,e),i=new an(this.url,o);return this.inheritParamsAndData(i._root),n.i(de.of)(i)}catch(t){return new we.Observable(function(e){return e.error(t)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=rt(n);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n=this,r=x(e,function(e,r){return n.processSegmentGroup(t,e,r)});return It(r),Rt(r),r},t.prototype.processSegment=function(t,e,n,r){for(var o=0,i=t;o<i.length;o++){var a=i[o];try{return this.processSegmentAgainstRoute(a,e,n,r)}catch(t){if(!(t instanceof cn))throw t}}if(this.noLeftoversInUrl(e,n,r))return[];throw new cn},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,r){if(t.redirectTo)throw new cn;if((t.outlet||De)!==r)throw new cn;if("**"===t.path){var o=n.length>0?h(n).parameters:{},i=new on(n,o,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,qt(t),r,t.component,t,Nt(e),Mt(e)+n.length,Gt(t));return[new en(i,[])]}var a=jt(e,t,n),u=a.consumedSegments,s=a.parameters,c=a.lastChild,l=n.slice(c),p=kt(t),f=Vt(e,u,l,p),d=f.segmentGroup,y=f.slicedSegments,g=new on(u,s,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,qt(t),r,t.component,t,Nt(e),Mt(e)+u.length,Gt(t));if(0===y.length&&d.hasChildren()){var m=this.processChildren(p,d);return[new en(g,m)]}if(0===p.length&&0===y.length)return[new en(g,[])];var v=this.processSegment(p,d,y,De);return[new en(g,v)]},t}(),pn=function(){function t(){}return t.prototype.shouldDetach=function(t){},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){},t.prototype.retrieve=function(t){},t.prototype.shouldReuseRoute=function(t,e){},t}(),fn=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),hn=new le.InjectionToken("ROUTES"),dn=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;this.onLoadStartListener&&this.onLoadStartListener(e);var r=this.loadModuleFactory(e.loadChildren);return ve.map.call(r,function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var o=r.create(t);return new Ue(f(o.injector.get(hn)),o)})},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?n.i(Se.fromPromise)(this.loader.load(t)):be.mergeMap.call(m(t()),function(t){return t instanceof le.NgModuleFactory?n.i(de.of)(t):n.i(Se.fromPromise)(e.compiler.compileModuleAsync(t))})},t}(),yn=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){},t.prototype.extract=function(t){},t.prototype.merge=function(t,e){},t}(),gn=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}(),mn=function(){function t(t,e,n,r,o,i,a,u){var s=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=u,this.navigations=new pe.BehaviorSubject(null),this.routerEvents=new fe.Subject,this.navigationId=0,this.errorHandler=zt,this.navigated=!1,this.hooks={beforePreactivation:Wt,afterPreactivation:Wt},this.urlHandlingStrategy=new gn,this.routeReuseStrategy=new fn;var c=function(t){return s.triggerEvent(new Me(t))},l=function(t){return s.triggerEvent(new Ve(t))};this.ngModule=o.get(le.NgModuleRef),this.resetConfig(u),this.currentUrlTree=v(),this.rawUrlTree=this.currentUrlTree,this.configLoader=new dn(i,a,c,l),this.currentRouterState=et(this.currentUrlTree,this.rootComponentType),this.processNavigations()}return t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.currentRouterState.root.component=this.rootComponentType},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(Zone.current.wrap(function(e){var n=t.urlSerializer.parse(e.url),r="popstate"===e.type?"popstate":"hashchange";setTimeout(function(){t.scheduleNavigation(n,r,{replaceUrl:!0})},0)})))},Object.defineProperty(t.prototype,"routerState",{get:function(){return this.currentRouterState},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"events",{get:function(){return this.routerEvents},enumerable:!0,configurable:!0}),t.prototype.triggerEvent=function(t){this.routerEvents.next(t)},t.prototype.resetConfig=function(t){u(t),this.config=t},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,e){var r=void 0===e?{}:e,o=r.relativeTo,i=r.queryParams,a=r.fragment,u=r.preserveQueryParams,s=r.queryParamsHandling,c=r.preserveFragment;n.i(le.isDevMode)()&&u&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=o||this.routerState.root,p=c?this.currentUrlTree.fragment:a,f=null;if(s)switch(s){case"merge":f=Object.assign({},this.currentUrlTree.queryParams,i);break;case"preserve":f=this.currentUrlTree.queryParams;break;default:f=i||null}else f=u?this.currentUrlTree.queryParams:i||null;return ht(l,this.currentUrlTree,t,f,p)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1});var n=t instanceof He?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),Jt(t),"object"==typeof e.queryParams&&null!==e.queryParams&&(e.queryParams=this.removeEmptyProps(e.queryParams)),this.navigateByUrl(this.createUrlTree(t,e),e)},t.prototype.serializeUrl=function(t){return this.urlSerializer.serialize(t)},t.prototype.parseUrl=function(t){return this.urlSerializer.parse(t)},t.prototype.isActive=function(t,e){if(t instanceof He)return b(this.currentUrlTree,t,e);var n=this.urlSerializer.parse(t);return b(this.currentUrlTree,n,e)},t.prototype.removeEmptyProps=function(t){return Object.keys(t).reduce(function(e,n){var r=t[n];return null!==r&&void 0!==r&&(e[n]=r),e},{})},t.prototype.processNavigations=function(){var t=this;ye.concatMap.call(this.navigations,function(e){return e?(t.executeScheduledNavigation(e),e.promise.catch(function(){})):n.i(de.of)(null)}).subscribe(function(){})},t.prototype.scheduleNavigation=function(t,e,n){var r=this.navigations.value;if(r&&"imperative"!==e&&"imperative"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(r&&"hashchange"==e&&"popstate"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);var o=null,i=null,a=new Promise(function(t,e){o=t,i=e}),u=++this.navigationId;return this.navigations.next({id:u,source:e,rawUrl:t,extras:n,resolve:o,reject:i,promise:a}),a.catch(function(t){return Promise.reject(t)})},t.prototype.executeScheduledNavigation=function(t){var e=this,n=t.id,r=t.rawUrl,o=t.extras,i=t.resolve,a=t.reject,u=this.urlHandlingStrategy.extract(r),s=!this.navigated||u.toString()!==this.currentUrlTree.toString();s&&this.urlHandlingStrategy.shouldProcessUrl(r)?(this.routerEvents.next(new Re(n,this.serializeUrl(u))),Promise.resolve().then(function(t){return e.runNavigate(u,r,!!o.skipLocationChange,!!o.replaceUrl,n,null)}).then(i,a)):s&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)?(this.routerEvents.next(new Re(n,this.serializeUrl(u))),Promise.resolve().then(function(t){return e.runNavigate(u,r,!1,!1,n,et(u,e.rootComponentType).snapshot)}).then(i,a)):(this.rawUrlTree=r,i(null))},t.prototype.runNavigate=function(t,e,r,o,a,u){var s=this;return a!==this.navigationId?(this.location.go(this.urlSerializer.serialize(this.currentUrlTree)),this.routerEvents.next(new je(a,this.serializeUrl(t),"Navigation ID "+a+" is not equal to the current navigation id "+this.navigationId)),Promise.resolve(!1)):new Promise(function(c,l){var p;if(u)p=n.i(de.of)({appliedUrl:t,snapshot:u});else{var f=s.ngModule.injector,h=B(f,s.configLoader,s.urlSerializer,t,s.config);p=be.mergeMap.call(h,function(e){return ve.map.call(Tt(s.rootComponentType,s.config,e,s.serializeUrl(e)),function(n){return s.routerEvents.next(new Ne(a,s.serializeUrl(t),s.serializeUrl(e),n)),{appliedUrl:e,snapshot:n}})})}var d,y,g=be.mergeMap.call(p,function(t){return ve.map.call(s.hooks.beforePreactivation(t.snapshot),function(){return t})}),m=ve.map.call(g,function(t){var e=t.appliedUrl,n=t.snapshot,r=s.ngModule.injector;return d=new _n(n,s.currentRouterState.snapshot,r),d.traverse(s.rootContexts),{appliedUrl:e,snapshot:n}}),v=be.mergeMap.call(m,function(t){var e=t.appliedUrl,r=t.snapshot;return s.navigationId!==a?n.i(de.of)(!1):ve.map.call(d.checkGuards(),function(t){return{appliedUrl:e,snapshot:r,shouldActivate:t}})}),b=be.mergeMap.call(v,function(t){return s.navigationId!==a?n.i(de.of)(!1):t.shouldActivate?ve.map.call(d.resolveData(),function(){return t}):n.i(de.of)(t)}),_=be.mergeMap.call(b,function(t){return ve.map.call(s.hooks.afterPreactivation(t.snapshot),function(){return t})}),w=ve.map.call(_,function(t){var e=t.appliedUrl,n=t.snapshot,r=t.shouldActivate;if(r){return{appliedUrl:e,state:st(s.routeReuseStrategy,n,s.currentRouterState),shouldActivate:r}}return{appliedUrl:e,state:null,shouldActivate:r}}),C=s.currentRouterState,O=s.currentUrlTree;w.forEach(function(t){var n=t.appliedUrl,i=t.state;if(!t.shouldActivate||a!==s.navigationId)return void(y=!1);if(s.currentUrlTree=n,s.rawUrlTree=s.urlHandlingStrategy.merge(s.currentUrlTree,e),s.currentRouterState=i,!r){var u=s.urlSerializer.serialize(s.rawUrlTree);s.location.isCurrentPathEqualTo(u)||o?s.location.replaceState(u):s.location.go(u)}new wn(s.routeReuseStrategy,i,C).activate(s.rootContexts),y=!0}).then(function(){y?(s.navigated=!0,s.routerEvents.next(new ke(a,s.serializeUrl(t),s.serializeUrl(s.currentUrlTree))),c(!0)):(s.resetUrlToCurrentUrlTree(),s.routerEvents.next(new je(a,s.serializeUrl(t),"")),c(!1))},function(n){if(i(n))s.resetUrlToCurrentUrlTree(),s.navigated=!0,s.routerEvents.next(new je(a,s.serializeUrl(t),n.message)),c(!1);else{s.routerEvents.next(new Ie(a,s.serializeUrl(t),n));try{c(s.errorHandler(n))}catch(t){l(t)}}s.currentRouterState=C,s.currentUrlTree=O,s.rawUrlTree=s.urlHandlingStrategy.merge(s.currentUrlTree,e),s.location.replaceState(s.serializeUrl(s.rawUrlTree))})})},t.prototype.resetUrlToCurrentUrlTree=function(){var t=this.urlSerializer.serialize(this.rawUrlTree);this.location.replaceState(t)},t}(),vn=function(){function t(t){this.path=t}return Object.defineProperty(t.prototype,"route",{get:function(){return this.path[this.path.length-1]},enumerable:!0,configurable:!0}),t}(),bn=function(){function t(t,e){this.component=t,this.route=e}return t}(),_n=function(){function t(t,e,n){this.future=t,this.curr=e,this.moduleInjector=n,this.canActivateChecks=[],this.canDeactivateChecks=[]}return t.prototype.traverse=function(t){var e=this.future._root,n=this.curr?this.curr._root:null;this.traverseChildRoutes(e,n,t,[e.value])},t.prototype.checkGuards=function(){var t=this;if(0===this.canDeactivateChecks.length&&0===this.canActivateChecks.length)return n.i(de.of)(!0);var e=this.runCanDeactivateChecks();return be.mergeMap.call(e,function(e){return e?t.runCanActivateChecks():n.i(de.of)(!1)})},t.prototype.resolveData=function(){var t=this;if(0===this.canActivateChecks.length)return n.i(de.of)(null);var e=n.i(he.from)(this.canActivateChecks),r=ye.concatMap.call(e,function(e){return t.runResolve(e.route)});return _e.reduce.call(r,function(t,e){return t})},t.prototype.traverseChildRoutes=function(t,e,n,r){var o=this,i=Yt(e);t.children.forEach(function(t){o.traverseRoutes(t,i[t.value.outlet],n,r.concat([t.value])),delete i[t.value.outlet]}),d(i,function(t,e){return o.deactivateRouteAndItsChildren(t,n.getContext(e))})},t.prototype.traverseRoutes=function(t,e,n,r){var o=t.value,i=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(i&&o._routeConfig===i._routeConfig){if(this.shouldRunGuardsAndResolvers(i,o,o._routeConfig.runGuardsAndResolvers)){this.canActivateChecks.push(new vn(r));var u=a.outlet;this.canDeactivateChecks.push(new bn(u.component,i))}else o.data=i.data,o._resolvedData=i._resolvedData;o.component?this.traverseChildRoutes(t,e,a?a.children:null,r):this.traverseChildRoutes(t,e,n,r)}else i&&this.deactivateRouteAndItsChildren(e,a),this.canActivateChecks.push(new vn(r)),o.component?this.traverseChildRoutes(t,null,a?a.children:null,r):this.traverseChildRoutes(t,null,n,r)},t.prototype.shouldRunGuardsAndResolvers=function(t,e,n){switch(n){case"always":return!0;case"paramsOrQueryParamsChange":return!ut(t,e)||!p(t.queryParams,e.queryParams);case"paramsChange":default:return!ut(t,e)}},t.prototype.deactivateRouteAndItsChildren=function(t,e){var n=this,r=Yt(t),o=t.value;d(r,function(t,r){o.component?e?n.deactivateRouteAndItsChildren(t,e.children.getContext(r)):n.deactivateRouteAndItsChildren(t,null):n.deactivateRouteAndItsChildren(t,e)}),o.component&&e&&e.outlet&&e.outlet.isActivated?this.canDeactivateChecks.push(new bn(e.outlet.component,o)):this.canDeactivateChecks.push(new bn(null,o))},t.prototype.runCanDeactivateChecks=function(){var t=this,e=n.i(he.from)(this.canDeactivateChecks),r=be.mergeMap.call(e,function(e){return t.runCanDeactivate(e.component,e.route)});return ge.every.call(r,function(t){return!0===t})},t.prototype.runCanActivateChecks=function(){var t=this,e=n.i(he.from)(this.canActivateChecks),r=be.mergeMap.call(e,function(e){return g(n.i(he.from)([t.runCanActivateChild(e.path),t.runCanActivate(e.route)]))});return ge.every.call(r,function(t){return!0===t})},t.prototype.runCanActivate=function(t){var e=this,r=t._routeConfig?t._routeConfig.canActivate:null;return r&&0!==r.length?g(ve.map.call(n.i(he.from)(r),function(n){var r,o=e.getToken(n,t);return r=m(o.canActivate?o.canActivate(t,e.future):o(t,e.future)),me.first.call(r)})):n.i(de.of)(!0)},t.prototype.runCanActivateChild=function(t){var e=this,r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(function(t){return e.extractCanActivateChild(t)}).filter(function(t){return null!==t});return g(ve.map.call(n.i(he.from)(o),function(t){return g(ve.map.call(n.i(he.from)(t.guards),function(n){var o,i=e.getToken(n,t.node);return o=m(i.canActivateChild?i.canActivateChild(r,e.future):i(r,e.future)),me.first.call(o)}))}))},t.prototype.extractCanActivateChild=function(t){var e=t._routeConfig?t._routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null},t.prototype.runCanDeactivate=function(t,e){var r=this,o=e&&e._routeConfig?e._routeConfig.canDeactivate:null;if(!o||0===o.length)return n.i(de.of)(!0);var i=be.mergeMap.call(n.i(he.from)(o),function(n){var o,i=r.getToken(n,e);return o=m(i.canDeactivate?i.canDeactivate(t,e,r.curr,r.future):i(t,e,r.curr,r.future)),me.first.call(o)});return ge.every.call(i,function(t){return!0===t})},t.prototype.runResolve=function(t){var e=t._resolve;return ve.map.call(this.resolveNode(e,t),function(e){return t._resolvedData=e,t.data=Object.assign({},t.data,rt(t).resolve),null})},t.prototype.resolveNode=function(t,e){var n=this;return y(t,function(t,r){var o=n.getToken(r,e);return m(o.resolve?o.resolve(e,n.future):o(e,n.future))})},t.prototype.getToken=function(t,e){var n=Kt(e);return(n?n.module.injector:this.moduleInjector).get(t)},t}(),wn=function(){function t(t,e,n){this.routeReuseStrategy=t,this.futureState=e,this.currState=n}return t.prototype.activate=function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),at(this.futureState.root),this.activateChildRoutes(e,n,t)},t.prototype.deactivateChildRoutes=function(t,e,n){var r=this,o=Yt(e);t.children.forEach(function(t){var e=t.value.outlet;r.deactivateRoutes(t,o[e],n),delete o[e]}),d(o,function(t,e){r.deactivateRouteAndItsChildren(t,n)})},t.prototype.deactivateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(r===o)if(r.component){var i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)},t.prototype.deactivateRouteAndItsChildren=function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)},t.prototype.detachAndStoreRouteSubtree=function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),o=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:r,route:t,contexts:o})}},t.prototype.deactivateRouteAndOutlet=function(t,e){var n=this,r=e.getContext(t.value.outlet);if(r){var o=Yt(t),i=t.value.component?r.children:e;d(o,function(t,e){n.deactivateRouteAndItsChildren(t,i)}),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},t.prototype.activateChildRoutes=function(t,e,n){var r=this,o=Yt(e);t.children.forEach(function(t){r.activateRoutes(t,o[t.value.outlet],n)})},t.prototype.activateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(at(r),r===o)if(r.component){var i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(r.component){var i=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){var a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),i.children.onOutletReAttached(a.contexts),i.attachRef=a.componentRef,i.route=a.route.value,i.outlet&&i.outlet.attach(a.componentRef,a.route.value),Zt(a.route)}else{var u=Qt(r.snapshot),s=u?u.module.componentFactoryResolver:null;i.route=r,i.resolver=s,i.outlet&&i.outlet.activateWith(r,s),this.activateChildRoutes(t,null,i.children)}}else this.activateChildRoutes(t,null,n)},t}(),Cn=function(){function t(t,e,n,r,o){this.router=t,this.route=e,this.commands=[],null==n&&r.setElementAttribute(o.nativeElement,"tabindex","0")}return Object.defineProperty(t.prototype,"routerLink",{set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveQueryParams",{set:function(t){n.i(le.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.onClick=function(){var t={skipLocationChange:$t(this.skipLocationChange),replaceUrl:$t(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,t),!0},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:$t(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:$t(this.preserveFragment)})},enumerable:!0,configurable:!0}),t}();Cn.decorators=[{type:le.Directive,args:[{selector:":not(a)[routerLink]"}]}],Cn.ctorParameters=function(){return[{type:mn},{type:rn},{type:void 0,decorators:[{type:le.Attribute,args:["tabindex"]}]},{type:le.Renderer},{type:le.ElementRef}]},Cn.propDecorators={queryParams:[{type:le.Input}],fragment:[{type:le.Input}],queryParamsHandling:[{type:le.Input}],preserveFragment:[{type:le.Input}],skipLocationChange:[{type:le.Input}],replaceUrl:[{type:le.Input}],routerLink:[{type:le.Input}],preserveQueryParams:[{type:le.Input}],onClick:[{type:le.HostListener,args:["click"]}]};var On=function(){function t(t,e,n){var r=this;this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(function(t){t instanceof ke&&r.updateTargetUrlAndHref()})}return Object.defineProperty(t.prototype,"routerLink",{set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveQueryParams",{set:function(t){n.i(le.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.updateTargetUrlAndHref()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.onClick=function(t,e,n,r){if(0!==t||e||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:$t(this.skipLocationChange),replaceUrl:$t(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,o),!1},t.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:$t(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:$t(this.preserveFragment)})},enumerable:!0,configurable:!0}),t}();On.decorators=[{type:le.Directive,args:[{selector:"a[routerLink]"}]}],On.ctorParameters=function(){return[{type:mn},{type:rn},{type:ce.LocationStrategy}]},On.propDecorators={target:[{type:le.HostBinding,args:["attr.target"]},{type:le.Input}],queryParams:[{type:le.Input}],fragment:[{type:le.Input}],queryParamsHandling:[{type:le.Input}],preserveFragment:[{type:le.Input}],skipLocationChange:[{type:le.Input}],replaceUrl:[{type:le.Input}],href:[{type:le.HostBinding}],routerLink:[{type:le.Input}],preserveQueryParams:[{type:le.Input}],onClick:[{type:le.HostListener,args:["click",["$event.button","$event.ctrlKey","$event.metaKey","$event.shiftKey"]]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var En=function(){function t(t,e,n,r){var o=this;this.router=t,this.element=e,this.renderer=n,this.cdr=r,this.classes=[],this.active=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=t.events.subscribe(function(t){t instanceof ke&&o.update()})}return Object.defineProperty(t.prototype,"isActive",{get:function(){return this.active},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this;this.links.changes.subscribe(function(e){return t.update()}),this.linksWithHrefs.changes.subscribe(function(e){return t.update()}),this.update()},Object.defineProperty(t.prototype,"routerLinkActive",{set:function(t){var e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(function(t){return!!t})},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.update()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.update=function(){var t=this;if(this.links&&this.linksWithHrefs&&this.router.navigated){var e=this.hasActiveLinks();this.active!==e&&(this.classes.forEach(function(n){return t.renderer.setElementClass(t.element.nativeElement,n,e)}),Promise.resolve(e).then(function(e){return t.active=e}))}},t.prototype.isLinkActive=function(t){var e=this;return function(n){return t.isActive(n.urlTree,e.routerLinkActiveOptions.exact)}},t.prototype.hasActiveLinks=function(){return this.links.some(this.isLinkActive(this.router))||this.linksWithHrefs.some(this.isLinkActive(this.router))},t}();En.decorators=[{type:le.Directive,args:[{selector:"[routerLinkActive]",exportAs:"routerLinkActive"}]}],En.ctorParameters=function(){return[{type:mn},{type:le.ElementRef},{type:le.Renderer},{type:le.ChangeDetectorRef}]},En.propDecorators={links:[{type:le.ContentChildren,args:[Cn,{descendants:!0}]}],linksWithHrefs:[{type:le.ContentChildren,args:[On,{descendants:!0}]}],routerLinkActiveOptions:[{type:le.Input}],routerLinkActive:[{type:le.Input}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Sn=function(){function t(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Pn,this.attachRef=null}return t}(),Pn=function(){function t(){this.contexts=new Map}return t.prototype.onChildOutletCreated=function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)},t.prototype.onChildOutletDestroyed=function(t){var e=this.getContext(t);e&&(e.outlet=null)},t.prototype.onOutletDeactivated=function(){var t=this.contexts;return this.contexts=new Map,t},t.prototype.onOutletReAttached=function(t){this.contexts=t},t.prototype.getOrCreateContext=function(t){var e=this.getContext(t);return e||(e=new Sn,this.contexts.set(t,e)),e},t.prototype.getContext=function(t){return this.contexts.get(t)||null},t}(),xn=function(){function t(t,e,n,r,o){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new le.EventEmitter,this.deactivateEvents=new le.EventEmitter,this.name=r||De,t.onChildOutletCreated(this.name,this)}return t.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},t.prototype.ngOnInit=function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}},Object.defineProperty(t.prototype,"locationInjector",{get:function(){return this.location.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"locationFactoryResolver",{get:function(){return this.resolver},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),t.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t},t.prototype.attach=function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)},t.prototype.deactivate=function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}},t.prototype.activateWith=function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=t._futureSnapshot,r=n._routeConfig.component;e=e||this.resolver;var o=e.resolveComponentFactory(r),i=this.parentContexts.getOrCreateContext(this.name).children,a=new An(t,i,this.location.injector);this.activated=this.location.createComponent(o,this.location.length,a),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},t}();xn.decorators=[{type:le.Directive,args:[{selector:"router-outlet",exportAs:"outlet"}]}],xn.ctorParameters=function(){return[{type:Pn},{type:le.ViewContainerRef},{type:le.ComponentFactoryResolver},{type:void 0,decorators:[{type:le.Attribute,args:["name"]}]},{type:le.ChangeDetectorRef}]},xn.propDecorators={activateEvents:[{type:le.Output,args:["activate"]}],deactivateEvents:[{type:le.Output,args:["deactivate"]}]};var An=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===rn?this.route:t===Pn?this.childContexts:this.parent.get(t,e)},t}(),Tn=function(){function t(){}return t.prototype.preload=function(t,e){},t}(),Rn=function(){function t(){}return t.prototype.preload=function(t,e){return Ce._catch.call(e(),function(){return n.i(de.of)(null)})},t}(),kn=function(){function t(){}return t.prototype.preload=function(t,e){return n.i(de.of)(null)},t}(),jn=function(){function t(t,e,n,r,o){this.router=t,this.injector=r,this.preloadingStrategy=o;var i=function(e){return t.triggerEvent(new Me(e))},a=function(e){return t.triggerEvent(new Ve(e))};this.loader=new dn(e,n,i,a)}return t.prototype.setUpPreloading=function(){var t=this,e=Te.filter.call(this.router.events,function(t){return t instanceof ke});this.subscription=ye.concatMap.call(e,function(){return t.preload()}).subscribe(function(){})},t.prototype.preload=function(){var t=this.injector.get(le.NgModuleRef);return this.processRoutes(t,this.router.config)},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.processRoutes=function(t,e){for(var r=[],o=0,i=e;o<i.length;o++){var a=i[o];if(a.loadChildren&&!a.canLoad&&a._loadedConfig){var u=a._loadedConfig;r.push(this.processRoutes(u.module,u.routes))}else a.loadChildren&&!a.canLoad?r.push(this.preloadConfig(t,a)):a.children&&r.push(this.processRoutes(t,a.children))}return xe.mergeAll.call(n.i(he.from)(r))},t.prototype.preloadConfig=function(t,e){var n=this;return this.preloadingStrategy.preload(e,function(){var r=n.loader.load(t.injector,e);return be.mergeMap.call(r,function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)})})},t}();jn.decorators=[{type:le.Injectable}],jn.ctorParameters=function(){return[{type:mn},{type:le.NgModuleFactoryLoader},{type:le.Compiler},{type:le.Injector},{type:Tn}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var In=[xn,Cn,On,En],Nn=new le.InjectionToken("ROUTER_CONFIGURATION"),Mn=new le.InjectionToken("ROUTER_FORROOT_GUARD"),Vn=[ce.Location,{provide:Ge,useClass:ze},{provide:mn,useFactory:re,deps:[le.ApplicationRef,Ge,Pn,ce.Location,le.Injector,le.NgModuleFactoryLoader,le.Compiler,hn,Nn,[yn,new le.Optional],[pn,new le.Optional]]},Pn,{provide:rn,useFactory:oe,deps:[mn]},{provide:le.NgModuleFactoryLoader,useClass:le.SystemJsNgModuleLoader},jn,kn,Rn,{provide:Nn,useValue:{enableTracing:!1}}],Dn=function(){function t(t,e){}return t.forRoot=function(e,n){return{ngModule:t,providers:[Vn,ne(e),{provide:Mn,useFactory:ee,deps:[[mn,new le.Optional,new le.SkipSelf]]},{provide:Nn,useValue:n||{}},{provide:ce.LocationStrategy,useFactory:te,deps:[ce.PlatformLocation,[new le.Inject(ce.APP_BASE_HREF),new le.Optional],Nn]},{provide:Tn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:kn},{provide:le.NgProbeToken,multi:!0,useFactory:Xt},ue()]}},t.forChild=function(e){return{ngModule:t,providers:[ne(e)]}},t}();Dn.decorators=[{type:le.NgModule,args:[{declarations:In,exports:In}]}],Dn.ctorParameters=function(){return[{type:void 0,decorators:[{type:le.Optional},{type:le.Inject,args:[Mn]}]},{type:mn,decorators:[{type:le.Optional}]}]};var Fn=function(){function t(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new fe.Subject}return t.prototype.appInitializer=function(){var t=this;return this.injector.get(ce.LOCATION_INITIALIZED,Promise.resolve(null)).then(function(){var e=null,r=new Promise(function(t){return e=t}),o=t.injector.get(mn),i=t.injector.get(Nn);if(t.isLegacyDisabled(i)||t.isLegacyEnabled(i))e(!0);else if("disabled"===i.initialNavigation)o.setUpLocationChangeListener(),e(!0);else{if("enabled"!==i.initialNavigation)throw new Error("Invalid initialNavigation options: '"+i.initialNavigation+"'");o.hooks.afterPreactivation=function(){return t.initNavigation?n.i(de.of)(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},o.initialNavigation()}return r})},t.prototype.bootstrapListener=function(t){var e=this.injector.get(Nn),n=this.injector.get(jn),r=this.injector.get(mn),o=this.injector.get(le.ApplicationRef);t===o.components[0]&&(this.isLegacyEnabled(e)?r.initialNavigation():this.isLegacyDisabled(e)&&r.setUpLocationChangeListener(),n.setUpPreloading(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},t.prototype.isLegacyEnabled=function(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation},t.prototype.isLegacyDisabled=function(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation},t}();Fn.decorators=[{type:le.Injectable}],Fn.ctorParameters=function(){return[{type:le.Injector}]};var Ln=new le.InjectionToken("Router Initializer");new le.Version("0.0.0-ROUTERPLACEHOLDER")},"7nvF":function(t,e,n){"use strict";function r(t,e,n){return this.lift(new u(t,e,n,this))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("mmVS"),a=n("F7Al");e.last=r;var u=function(){function t(t,e,n,r){this.predicate=t,this.resultSelector=e,this.defaultValue=n,this.source=r}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),s=function(t){function e(e,n,r,o,i){t.call(this,e),this.predicate=n,this.resultSelector=r,this.defaultValue=o,this.source=i,this.hasValue=!1,this.index=0,void 0!==o&&(this.lastValue=o,this.hasValue=!0)}return o(e,t),e.prototype._next=function(t){var e=this.index++;if(this.predicate)this._tryPredicate(t,e);else{if(this.resultSelector)return void this._tryResultSelector(t,e);this.lastValue=t,this.hasValue=!0}},e.prototype._tryPredicate=function(t,e){var n;try{n=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}if(n){if(this.resultSelector)return void this._tryResultSelector(t,e);this.lastValue=t,this.hasValue=!0}},e.prototype._tryResultSelector=function(t,e){var n;try{n=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this.lastValue=n,this.hasValue=!0},e.prototype._complete=function(){var t=this.destination;this.hasValue?(t.next(this.lastValue),t.complete()):t.error(new a.EmptyError)},e}(i.Subscriber)},"7rB9":function(t,e,n){"use strict";var r=n("t2qv");e.forkJoin=r.ForkJoinObservable.create},"83T1":function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e,this))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("mmVS");e.every=r;var a=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.predicate,this.thisArg,this.source))},t}(),u=function(t){function e(e,n,r,o){t.call(this,e),this.predicate=n,this.thisArg=r,this.source=o,this.index=0,this.thisArg=r||this}return o(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(i.Subscriber)},"8GmM":function(t,e,n){"use strict";var r=n("rCTf"),o=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return r.Observable.of(this.value);case"E":return r.Observable.throw(this.error);case"C":return r.Observable.empty()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):this.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return this.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}();e.Notification=o},B00U:function(t,e,n){"use strict";function r(t){return t.reduce(function(t,e){return t.concat(e instanceof c.UnsubscriptionError?e.errors:e)},[])}var o=n("Xajo"),i=n("ICpg"),a=n("SKH6"),u=n("+3eL"),s=n("WhVc"),c=n("GIjk"),l=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this,l=n._parent,p=n._parents,f=n._unsubscribe,h=n._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var d=-1,y=p?p.length:0;l;)l.remove(this),l=++d<y&&p[d]||null;if(a.isFunction(f)){var g=u.tryCatch(f).call(this);g===s.errorObject&&(e=!0,t=t||(s.errorObject.e instanceof c.UnsubscriptionError?r(s.errorObject.e.errors):[s.errorObject.e]))}if(o.isArray(h))for(d=-1,y=h.length;++d<y;){var m=h[d];if(i.isObject(m)){var g=u.tryCatch(m.unsubscribe).call(m);if(g===s.errorObject){e=!0,t=t||[];var v=s.errorObject.e;v instanceof c.UnsubscriptionError?t=t.concat(r(v.errors)):t.push(v)}}}if(e)throw new c.UnsubscriptionError(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)return t.EMPTY;if(e===this)return this;var n=e;switch(typeof e){case"function":n=new t(e);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var r=n;n=new t,n._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.prototype._addParent=function(t){var e=this,n=e._parent,r=e._parents;n&&n!==t?r?-1===r.indexOf(t)&&r.push(t):this._parents=[t]:this._parent=t},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}();e.Subscription=l},CURp:function(t,e,n){"use strict";function r(t,e,n,r){var f=new l.InnerSubscriber(t,n,r);if(f.closed)return null;if(e instanceof s.Observable)return e._isScalar?(f.next(e.value),f.complete(),null):e.subscribe(f);if(i.isArrayLike(e)){for(var h=0,d=e.length;h<d&&!f.closed;h++)f.next(e[h]);f.closed||f.complete()}else{if(a.isPromise(e))return e.then(function(t){f.closed||(f.next(t),f.complete())},function(t){return f.error(t)}).then(null,function(t){o.root.setTimeout(function(){throw t})}),f;if(e&&"function"==typeof e[c.iterator])for(var y=e[c.iterator]();;){var g=y.next();if(g.done){f.complete();break}if(f.next(g.value),f.closed)break}else if(e&&"function"==typeof e[p.observable]){var m=e[p.observable]();if("function"==typeof m.subscribe)return m.subscribe(new l.InnerSubscriber(t,n,r));f.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var v=u.isObject(e)?"an invalid object":"'"+e+"'",b="You provided "+v+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";f.error(new TypeError(b))}}return null}var o=n("VOfZ"),i=n("1r8+"),a=n("aQl7"),u=n("ICpg"),s=n("rCTf"),c=n("cdmN"),l=n("QqRK"),p=n("mbVC");e.subscribeToResult=r},CfHE:function(t,e,n){"use strict";function r(){return this.lift(new o.MergeAllOperator(1))}var o=n("cbuX");e.concatAll=r},DuR2:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},EEr4:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("rCTf"),i=n("mmVS"),a=n("B00U"),u=n("IZVw"),s=n("ZJf8"),c=n("r8ZY"),l=function(t){function e(e){t.call(this,e),this.destination=e}return r(e,t),e}(i.Subscriber);e.SubjectSubscriber=l;var p=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return r(e,t),e.prototype[c.rxSubscriber]=function(){return new l(this)},e.prototype.lift=function(t){var e=new f(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new u.ObjectUnsubscribedError;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new u.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new u.ObjectUnsubscribedError;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new u.ObjectUnsubscribedError;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new u.ObjectUnsubscribedError;return this.hasError?(t.error(this.thrownError),a.Subscription.EMPTY):this.isStopped?(t.complete(),a.Subscription.EMPTY):(this.observers.push(t),new s.SubjectSubscription(this,t))},e.prototype.asObservable=function(){var t=new o.Observable;return t.source=this,t},e.create=function(t,e){return new f(t,e)},e}(o.Observable);e.Subject=p;var f=function(t){function e(e,n){t.call(this),this.destination=e,this.source=n}return r(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):a.Subscription.EMPTY},e}(p);e.AnonymousSubject=f},F7Al:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){var e=t.call(this,"no elements in sequence");this.name=e.name="EmptyError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.EmptyError=o},FA5e:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("rCTf"),i=n("RRVv"),a=n("jBEF"),u=function(t){function e(e,n){t.call(this),this.arrayLike=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){var r=t.length;return 0===r?new a.EmptyObservable:1===r?new i.ScalarObservable(t[0],n):new e(t,n)},e.dispatch=function(t){var e=t.arrayLike,n=t.index,r=t.length,o=t.subscriber;if(!o.closed){if(n>=r)return void o.complete();o.next(e[n]),t.index=n+1,this.schedule(t)}},e.prototype._subscribe=function(t){var n=this,r=n.arrayLike,o=n.scheduler,i=r.length;if(o)return o.schedule(e.dispatch,0,{arrayLike:r,index:0,length:i,subscriber:t});for(var a=0;a<i&&!t.closed;a++)t.next(r[a]);t.complete()},e}(o.Observable);e.ArrayLikeObservable=u},Fzro:function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(t){if("string"!=typeof t)return t;switch(t.toUpperCase()){case"GET":return _.Get;case"POST":return _.Post;case"PUT":return _.Put;case"DELETE":return _.Delete;case"OPTIONS":return _.Options;case"HEAD":return _.Head;case"PATCH":return _.Patch}throw new Error('Invalid request method. The method "'+t+'" is not supported.')}function o(t){return"responseURL"in t?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}function i(t){for(var e=new Uint16Array(t.length),n=0,r=t.length;n<r;n++)e[n]=t.charCodeAt(n);return e.buffer}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - * @param {?=} rawParams - * @return {?} - */ -function a(t){void 0===t&&(t="");var e=new Map;if(t.length>0){t.split("&").forEach(function(t){var n=t.indexOf("="),r=-1==n?[t,""]:[t.slice(0,n),t.slice(n+1)],o=r[0],i=r[1],a=e.get(o)||[];a.push(i),e.set(o,a)})}return e}function u(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function s(){var t="object"==typeof window?window:{};return null===D&&(D=t[V]={}),D}function c(t){var e=new j;return Object.keys(t).forEach(function(n){var r=t[n];r&&Array.isArray(r)?r.forEach(function(t){return e.append(n,t.toString())}):e.append(n,r.toString())}),e}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function l(t,e){return t.createConnection(e).response}function p(t,e,n,r){var o=t;return e?o.merge(new K({method:e.method||n,url:e.url||r,search:e.search,params:e.params,headers:e.headers,body:e.body,withCredentials:e.withCredentials,responseType:e.responseType})):o.merge(new K({method:n,url:r}))}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function f(){return new Z}function h(t,e){return new rt(t,e)}function d(t,e){return new ot(t,e)}var y=n("TToO"),g=n("3j3K"),m=n("rCTf"),v=(n.n(m),n("Qbdm"));n.d(e,"a",function(){return b}),n.d(e,"f",function(){return Q}),n.d(e,"h",function(){return Y}),n.d(e,"g",function(){return K}),n.d(e,"c",function(){return x}),n.d(e,"b",function(){return P}),n.d(e,"l",function(){return S}),n.d(e,"i",function(){return rt}),n.d(e,"k",function(){return it}),n.d(e,"d",function(){return T}),n.d(e,"m",function(){return j}),n.d(e,"e",function(){return f}),n.d(e,"j",function(){return h});/** - * @license Angular v4.2.3 - * (c) 2010-2017 Google, Inc. https://angular.io/ - * License: MIT - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var b=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}();b.decorators=[{type:g.Injectable}],b.ctorParameters=function(){return[]};var _={};_.Get=0,_.Post=1,_.Put=2,_.Delete=3,_.Options=4,_.Head=5,_.Patch=6,_[_.Get]="Get",_[_.Post]="Post",_[_.Put]="Put",_[_.Delete]="Delete",_[_.Options]="Options",_[_.Head]="Head",_[_.Patch]="Patch";var w={};w.Unsent=0,w.Open=1,w.HeadersReceived=2,w.Loading=3,w.Done=4,w.Cancelled=5,w[w.Unsent]="Unsent",w[w.Open]="Open",w[w.HeadersReceived]="HeadersReceived",w[w.Loading]="Loading",w[w.Done]="Done",w[w.Cancelled]="Cancelled";var C={};C.Basic=0,C.Cors=1,C.Default=2,C.Error=3,C.Opaque=4,C[C.Basic]="Basic",C[C.Cors]="Cors",C[C.Default]="Default",C[C.Error]="Error",C[C.Opaque]="Opaque";var O={};O.NONE=0,O.JSON=1,O.FORM=2,O.FORM_DATA=3,O.TEXT=4,O.BLOB=5,O.ARRAY_BUFFER=6,O[O.NONE]="NONE",O[O.JSON]="JSON",O[O.FORM]="FORM",O[O.FORM_DATA]="FORM_DATA",O[O.TEXT]="TEXT",O[O.BLOB]="BLOB",O[O.ARRAY_BUFFER]="ARRAY_BUFFER";var E={};E.Text=0,E.Json=1,E.ArrayBuffer=2,E.Blob=3,E[E.Text]="Text",E[E.Json]="Json",E[E.ArrayBuffer]="ArrayBuffer",E[E.Blob]="Blob";var S=function(){function t(e){var n=this;if(this._headers=new Map,this._normalizedNames=new Map,e)return e instanceof t?void e.forEach(function(t,e){t.forEach(function(t){return n.append(e,t)})}):void Object.keys(e).forEach(function(t){var r=Array.isArray(e[t])?e[t]:[e[t]];n.delete(t),r.forEach(function(e){return n.append(t,e)})})}return t.fromResponseHeaderString=function(e){var n=new t;return e.split("\n").forEach(function(t){var e=t.indexOf(":");if(e>0){var r=t.slice(0,e),o=t.slice(e+1).trim();n.set(r,o)}}),n},t.prototype.append=function(t,e){var n=this.getAll(t);null===n?this.set(t,e):n.push(e)},t.prototype.delete=function(t){var e=t.toLowerCase();this._normalizedNames.delete(e),this._headers.delete(e)},t.prototype.forEach=function(t){var e=this;this._headers.forEach(function(n,r){return t(n,e._normalizedNames.get(r),e._headers)})},t.prototype.get=function(t){var e=this.getAll(t);return null===e?null:e.length>0?e[0]:null},t.prototype.has=function(t){return this._headers.has(t.toLowerCase())},t.prototype.keys=function(){return Array.from(this._normalizedNames.values())},t.prototype.set=function(t,e){Array.isArray(e)?e.length&&this._headers.set(t.toLowerCase(),[e.join(",")]):this._headers.set(t.toLowerCase(),[e]),this.mayBeSetNormalizedName(t)},t.prototype.values=function(){return Array.from(this._headers.values())},t.prototype.toJSON=function(){var t=this,e={};return this._headers.forEach(function(n,r){var o=[];n.forEach(function(t){return o.push.apply(o,t.split(","))}),e[t._normalizedNames.get(r)]=o}),e},t.prototype.getAll=function(t){return this.has(t)?this._headers.get(t.toLowerCase())||null:null},t.prototype.entries=function(){throw new Error('"entries" method is not implemented on Headers class')},t.prototype.mayBeSetNormalizedName=function(t){var e=t.toLowerCase();this._normalizedNames.has(e)||this._normalizedNames.set(e,t)},t}(),P=function(){function t(t){void 0===t&&(t={});var e=t.body,n=t.status,r=t.headers,o=t.statusText,i=t.type,a=t.url;this.body=null!=e?e:null,this.status=null!=n?n:null,this.headers=null!=r?r:null,this.statusText=null!=o?o:null,this.type=null!=i?i:null,this.url=null!=a?a:null}return t.prototype.merge=function(e){return new t({body:e&&null!=e.body?e.body:this.body,status:e&&null!=e.status?e.status:this.status,headers:e&&null!=e.headers?e.headers:this.headers,statusText:e&&null!=e.statusText?e.statusText:this.statusText,type:e&&null!=e.type?e.type:this.type,url:e&&null!=e.url?e.url:this.url})},t}(),x=function(t){function e(){return t.call(this,{status:200,statusText:"Ok",type:C.Default,headers:new S})||this}return y.a(e,t),e}(P);x.decorators=[{type:g.Injectable}],x.ctorParameters=function(){return[]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var A=function(){function t(){}return t.prototype.createConnection=function(t){},t}(),T=(function(){function t(){}}(),function(){function t(){}return t.prototype.configureRequest=function(t){},t}()),R=function(t){return t>=200&&t<300},k=function(){function t(){}return t.prototype.encodeKey=function(t){return u(t)},t.prototype.encodeValue=function(t){return u(t)},t}(),j=function(){function t(t,e){void 0===t&&(t=""),void 0===e&&(e=new k),this.rawParams=t,this.queryEncoder=e,this.paramsMap=a(t)}return t.prototype.clone=function(){var e=new t("",this.queryEncoder);return e.appendAll(this),e},t.prototype.has=function(t){return this.paramsMap.has(t)},t.prototype.get=function(t){var e=this.paramsMap.get(t);return Array.isArray(e)?e[0]:null},t.prototype.getAll=function(t){return this.paramsMap.get(t)||[]},t.prototype.set=function(t,e){if(void 0===e||null===e)return void this.delete(t);var n=this.paramsMap.get(t)||[];n.length=0,n.push(e),this.paramsMap.set(t,n)},t.prototype.setAll=function(t){var e=this;t.paramsMap.forEach(function(t,n){var r=e.paramsMap.get(n)||[];r.length=0,r.push(t[0]),e.paramsMap.set(n,r)})},t.prototype.append=function(t,e){if(void 0!==e&&null!==e){var n=this.paramsMap.get(t)||[];n.push(e),this.paramsMap.set(t,n)}},t.prototype.appendAll=function(t){var e=this;t.paramsMap.forEach(function(t,n){for(var r=e.paramsMap.get(n)||[],o=0;o<t.length;++o)r.push(t[o]);e.paramsMap.set(n,r)})},t.prototype.replaceAll=function(t){var e=this;t.paramsMap.forEach(function(t,n){var r=e.paramsMap.get(n)||[];r.length=0;for(var o=0;o<t.length;++o)r.push(t[o]);e.paramsMap.set(n,r)})},t.prototype.toString=function(){var t=this,e=[];return this.paramsMap.forEach(function(n,r){n.forEach(function(n){return e.push(t.queryEncoder.encodeKey(r)+"="+t.queryEncoder.encodeValue(n))})}),e.join("&")},t.prototype.delete=function(t){this.paramsMap.delete(t)},t}(),I=function(){function t(){}return t.prototype.json=function(){return"string"==typeof this._body?JSON.parse(this._body):this._body instanceof ArrayBuffer?JSON.parse(this.text()):this._body},t.prototype.text=function(t){if(void 0===t&&(t="legacy"),this._body instanceof j)return this._body.toString();if(this._body instanceof ArrayBuffer)switch(t){case"legacy":return String.fromCharCode.apply(null,new Uint16Array(this._body));case"iso-8859":return String.fromCharCode.apply(null,new Uint8Array(this._body));default:throw new Error("Invalid value for encodingHint: "+t)}return null==this._body?"":"object"==typeof this._body?JSON.stringify(this._body,null,2):this._body.toString()},t.prototype.arrayBuffer=function(){return this._body instanceof ArrayBuffer?this._body:i(this.text())},t.prototype.blob=function(){if(this._body instanceof Blob)return this._body;if(this._body instanceof ArrayBuffer)return new Blob([this._body]);throw new Error("The request body isn't either a blob or an array buffer")},t}(),N=function(t){function e(e){var n=t.call(this)||this;return n._body=e.body,n.status=e.status,n.ok=n.status>=200&&n.status<=299,n.statusText=e.statusText,n.headers=e.headers,n.type=e.type,n.url=e.url,n}return y.a(e,t),e.prototype.toString=function(){return"Response with status: "+this.status+" "+this.statusText+" for URL: "+this.url},e}(I),M=0,V="__ng_jsonp__",D=null,F=function(){function t(){}return t.prototype.build=function(t){var e=document.createElement("script");return e.src=t,e},t.prototype.nextRequestID=function(){return"__req"+M++},t.prototype.requestCallback=function(t){return V+"."+t+".finished"},t.prototype.exposeConnection=function(t,e){s()[t]=e},t.prototype.removeConnection=function(t){s()[t]=null},t.prototype.send=function(t){document.body.appendChild(t)},t.prototype.cleanup=function(t){t.parentNode&&t.parentNode.removeChild(t)},t}();F.decorators=[{type:g.Injectable}],F.ctorParameters=function(){return[]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var L="JSONP injected script did not invoke callback.",U="JSONP requests must use GET request method.",H=function(){function t(){}return t.prototype.finished=function(t){},t}(),B=function(t){function e(e,n,r){var o=t.call(this)||this;if(o._dom=n,o.baseResponseOptions=r,o._finished=!1,e.method!==_.Get)throw new TypeError(U);return o.request=e,o.response=new m.Observable(function(t){o.readyState=w.Loading;var i=o._id=n.nextRequestID();n.exposeConnection(i,o);var a=n.requestCallback(o._id),u=e.url;u.indexOf("=JSONP_CALLBACK&")>-1?u=u.replace("=JSONP_CALLBACK&","="+a+"&"):u.lastIndexOf("=JSONP_CALLBACK")===u.length-"=JSONP_CALLBACK".length&&(u=u.substring(0,u.length-"=JSONP_CALLBACK".length)+"="+a);var s=o._script=n.build(u),c=function(e){if(o.readyState!==w.Cancelled){if(o.readyState=w.Done,n.cleanup(s),!o._finished){var i=new P({body:L,type:C.Error,url:u});return r&&(i=r.merge(i)),void t.error(new N(i))}var a=new P({body:o._responseData,url:u});o.baseResponseOptions&&(a=o.baseResponseOptions.merge(a)),t.next(new N(a)),t.complete()}},l=function(e){if(o.readyState!==w.Cancelled){o.readyState=w.Done,n.cleanup(s);var i=new P({body:e.message,type:C.Error});r&&(i=r.merge(i)),t.error(new N(i))}};return s.addEventListener("load",c),s.addEventListener("error",l),n.send(s),function(){o.readyState=w.Cancelled,s.removeEventListener("load",c),s.removeEventListener("error",l),o._dom.cleanup(s)}}),o}return y.a(e,t),e.prototype.finished=function(t){this._finished=!0,this._dom.removeConnection(this._id),this.readyState!==w.Cancelled&&(this._responseData=t)},e}(H),q=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y.a(e,t),e}(A),G=function(t){function e(e,n){var r=t.call(this)||this;return r._browserJSONP=e,r._baseResponseOptions=n,r}return y.a(e,t),e.prototype.createConnection=function(t){return new B(t,this._browserJSONP,this._baseResponseOptions)},e}(q);G.decorators=[{type:g.Injectable}],G.ctorParameters=function(){return[{type:F},{type:P}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var z=/^\)\]\}',?\n/,W=function(){function t(t,e,n){var r=this;this.request=t,this.response=new m.Observable(function(i){var a=e.build();a.open(_[t.method].toUpperCase(),t.url),null!=t.withCredentials&&(a.withCredentials=t.withCredentials);var u=function(){var e=1223===a.status?204:a.status,r=null;204!==e&&"string"==typeof(r=void 0===a.response?a.responseText:a.response)&&(r=r.replace(z,"")),0===e&&(e=r?200:0);var u=S.fromResponseHeaderString(a.getAllResponseHeaders()),s=o(a)||t.url,c=a.statusText||"OK",l=new P({body:r,status:e,headers:u,statusText:c,url:s});null!=n&&(l=n.merge(l));var p=new N(l);if(p.ok=R(e),p.ok)return i.next(p),void i.complete();i.error(p)},s=function(t){var e=new P({body:t,type:C.Error,status:a.status,statusText:a.statusText});null!=n&&(e=n.merge(e)),i.error(new N(e))};if(r.setDetectedContentType(t,a),null==t.headers&&(t.headers=new S),t.headers.has("Accept")||t.headers.append("Accept","application/json, text/plain, */*"),t.headers.forEach(function(t,e){return a.setRequestHeader(e,t.join(","))}),null!=t.responseType&&null!=a.responseType)switch(t.responseType){case E.ArrayBuffer:a.responseType="arraybuffer";break;case E.Json:a.responseType="json";break;case E.Text:a.responseType="text";break;case E.Blob:a.responseType="blob";break;default:throw new Error("The selected responseType is not supported")}return a.addEventListener("load",u),a.addEventListener("error",s),a.send(r.request.getBody()),function(){a.removeEventListener("load",u),a.removeEventListener("error",s),a.abort()}})}return t.prototype.setDetectedContentType=function(t,e){if(null==t.headers||null==t.headers.get("Content-Type"))switch(t.contentType){case O.NONE:break;case O.JSON:e.setRequestHeader("content-type","application/json");break;case O.FORM:e.setRequestHeader("content-type","application/x-www-form-urlencoded;charset=UTF-8");break;case O.TEXT:e.setRequestHeader("content-type","text/plain");break;case O.BLOB:var n=t.blob();n.type&&e.setRequestHeader("content-type",n.type)}},t}(),Z=function(){function t(t,e){void 0===t&&(t="XSRF-TOKEN"),void 0===e&&(e="X-XSRF-TOKEN"),this._cookieName=t,this._headerName=e}return t.prototype.configureRequest=function(t){var e=n.i(v.u)().getCookie(this._cookieName);e&&t.headers.set(this._headerName,e)},t}(),Q=function(){function t(t,e,n){this._browserXHR=t,this._baseResponseOptions=e,this._xsrfStrategy=n}return t.prototype.createConnection=function(t){return this._xsrfStrategy.configureRequest(t),new W(t,this._browserXHR,this._baseResponseOptions)},t}();Q.decorators=[{type:g.Injectable}],Q.ctorParameters=function(){return[{type:b},{type:P},{type:T}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var K=function(){function t(t){void 0===t&&(t={});var e=t.method,n=t.headers,o=t.body,i=t.url,a=t.search,u=t.params,s=t.withCredentials,c=t.responseType;this.method=null!=e?r(e):null,this.headers=null!=n?n:null,this.body=null!=o?o:null,this.url=null!=i?i:null,this.params=this._mergeSearchParams(u||a),this.withCredentials=null!=s?s:null,this.responseType=null!=c?c:null}return Object.defineProperty(t.prototype,"search",{get:function(){return this.params},set:function(t){this.params=t},enumerable:!0,configurable:!0}),t.prototype.merge=function(e){return new t({method:e&&null!=e.method?e.method:this.method,headers:e&&null!=e.headers?e.headers:new S(this.headers),body:e&&null!=e.body?e.body:this.body,url:e&&null!=e.url?e.url:this.url,params:e&&this._mergeSearchParams(e.params||e.search),withCredentials:e&&null!=e.withCredentials?e.withCredentials:this.withCredentials,responseType:e&&null!=e.responseType?e.responseType:this.responseType})},t.prototype._mergeSearchParams=function(t){return t?t instanceof j?t.clone():"string"==typeof t?new j(t):this._parseParams(t):this.params},t.prototype._parseParams=function(t){var e=this;void 0===t&&(t={});var n=new j;return Object.keys(t).forEach(function(r){var o=t[r];Array.isArray(o)?o.forEach(function(t){return e._appendParam(r,t,n)}):e._appendParam(r,o,n)}),n},t.prototype._appendParam=function(t,e,n){"string"!=typeof e&&(e=JSON.stringify(e)),n.append(t,e)},t}(),Y=function(t){function e(){return t.call(this,{method:_.Get,headers:new S})||this}return y.a(e,t),e}(K);Y.decorators=[{type:g.Injectable}],Y.ctorParameters=function(){return[]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var J=function(t){function e(e){var n=t.call(this)||this,o=e.url;n.url=e.url;var i=e.params||e.search;if(i){var a=void 0;if(a="object"!=typeof i||i instanceof j?i.toString():c(i).toString(),a.length>0){var u="?";-1!=n.url.indexOf("?")&&(u="&"==n.url[n.url.length-1]?"":"&"),n.url=o+u+a}}return n._body=e.body,n.method=r(e.method),n.headers=new S(e.headers),n.contentType=n.detectContentType(),n.withCredentials=e.withCredentials,n.responseType=e.responseType,n}return y.a(e,t),e.prototype.detectContentType=function(){switch(this.headers.get("content-type")){case"application/json":return O.JSON;case"application/x-www-form-urlencoded":return O.FORM;case"multipart/form-data":return O.FORM_DATA;case"text/plain":case"text/html":return O.TEXT;case"application/octet-stream":return this._body instanceof nt?O.ARRAY_BUFFER:O.BLOB;default:return this.detectContentTypeFromBody()}},e.prototype.detectContentTypeFromBody=function(){return null==this._body?O.NONE:this._body instanceof j?O.FORM:this._body instanceof tt?O.FORM_DATA:this._body instanceof et?O.BLOB:this._body instanceof nt?O.ARRAY_BUFFER:this._body&&"object"==typeof this._body?O.JSON:O.TEXT},e.prototype.getBody=function(){switch(this.contentType){case O.JSON:case O.FORM:return this.text();case O.FORM_DATA:return this._body;case O.TEXT:return this.text();case O.BLOB:return this.blob();case O.ARRAY_BUFFER:return this.arrayBuffer();default:return null}},e}(I),$=function(){},X="object"==typeof window?window:$,tt=X.FormData||$,et=X.Blob||$,nt=X.ArrayBuffer||$,rt=function(){function t(t,e){this._backend=t,this._defaultOptions=e}return t.prototype.request=function(t,e){var n;if("string"==typeof t)n=l(this._backend,new J(p(this._defaultOptions,e,_.Get,t)));else{if(!(t instanceof J))throw new Error("First argument must be a url string or Request instance.");n=l(this._backend,t)}return n},t.prototype.get=function(t,e){return this.request(new J(p(this._defaultOptions,e,_.Get,t)))},t.prototype.post=function(t,e,n){return this.request(new J(p(this._defaultOptions.merge(new K({body:e})),n,_.Post,t)))},t.prototype.put=function(t,e,n){return this.request(new J(p(this._defaultOptions.merge(new K({body:e})),n,_.Put,t)))},t.prototype.delete=function(t,e){return this.request(new J(p(this._defaultOptions,e,_.Delete,t)))},t.prototype.patch=function(t,e,n){return this.request(new J(p(this._defaultOptions.merge(new K({body:e})),n,_.Patch,t)))},t.prototype.head=function(t,e){return this.request(new J(p(this._defaultOptions,e,_.Head,t)))},t.prototype.options=function(t,e){return this.request(new J(p(this._defaultOptions,e,_.Options,t)))},t}();rt.decorators=[{type:g.Injectable}],rt.ctorParameters=function(){return[{type:A},{type:K}]};var ot=function(t){function e(e,n){return t.call(this,e,n)||this}return y.a(e,t),e.prototype.request=function(t,e){if("string"==typeof t&&(t=new J(p(this._defaultOptions,e,_.Get,t))),!(t instanceof J))throw new Error("First argument must be a url string or Request instance.");if(t.method!==_.Get)throw new Error("JSONP requests must use GET request method.");return l(this._backend,t)},e}(rt);ot.decorators=[{type:g.Injectable}],ot.ctorParameters=function(){return[{type:A},{type:K}]};var it=function(){function t(){}return t}();it.decorators=[{type:g.NgModule,args:[{providers:[{provide:rt,useFactory:h,deps:[Q,K]},b,{provide:K,useClass:Y},{provide:P,useClass:x},Q,{provide:T,useFactory:f}]}]}],it.ctorParameters=function(){return[]};var at=function(){function t(){}return t}();at.decorators=[{type:g.NgModule,args:[{providers:[{provide:ot,useFactory:d,deps:[q,K]},F,{provide:K,useClass:Y},{provide:P,useClass:x},{provide:q,useClass:G}]}]}],at.ctorParameters=function(){return[]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -new g.Version("4.2.3")},GIjk:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(e){t.call(this),this.errors=e;var n=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=n.name="UnsubscriptionError",this.stack=n.stack,this.message=n.message}return r(e,t),e}(Error);e.UnsubscriptionError=o},ICpg:function(t,e,n){"use strict";function r(t){return null!=t&&"object"==typeof t}e.isObject=r},IZVw:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){var e=t.call(this,"object unsubscribed");this.name=e.name="ObjectUnsubscribedError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.ObjectUnsubscribedError=o},Ji1B:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=0),this.lift(new u(t,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("mmVS"),a=n("8GmM");e.observeOn=r;var u=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.scheduler,this.delay))},t}();e.ObserveOnOperator=u;var s=function(t){function e(e,n,r){void 0===r&&(r=0),t.call(this,e),this.scheduler=n,this.delay=r}return o(e,t),e.dispatch=function(t){var e=t.notification,n=t.destination;e.observe(n),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.add(this.scheduler.schedule(e.dispatch,this.delay,new c(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(a.Notification.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(a.Notification.createError(t))},e.prototype._complete=function(){this.scheduleMessage(a.Notification.createComplete())},e}(i.Subscriber);e.ObserveOnSubscriber=s;var c=function(){function t(t,e){this.notification=t,this.destination=e}return t}();e.ObserveOnMessage=c},JkZN:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("Xajo"),i=n("1r8+"),a=n("aQl7"),u=n("hYBY"),s=n("U15Z"),c=n("Yh8Q"),l=n("FA5e"),p=n("cdmN"),f=n("rCTf"),h=n("Ji1B"),d=n("mbVC"),y=function(t){function e(e,n){t.call(this,null),this.ish=e,this.scheduler=n}return r(e,t),e.create=function(t,n){if(null!=t){if("function"==typeof t[d.observable])return t instanceof f.Observable&&!n?t:new e(t,n);if(o.isArray(t))return new c.ArrayObservable(t,n);if(a.isPromise(t))return new u.PromiseObservable(t,n);if("function"==typeof t[p.iterator]||"string"==typeof t)return new s.IteratorObservable(t,n);if(i.isArrayLike(t))return new l.ArrayLikeObservable(t,n)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")},e.prototype._subscribe=function(t){var e=this.ish,n=this.scheduler;return null==n?e[d.observable]().subscribe(t):e[d.observable]().subscribe(new h.ObserveOnSubscriber(t,n,0))},e}(f.Observable);e.FromObservable=y},NVOs:function(t,e,n){"use strict";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function r(t){return null==t||0===t.length}function o(t){return null!=t}function i(t){var e=n.i(N["ɵisPromise"])(t)?n.i(V.fromPromise)(t):t;if(!n.i(N["ɵisObservable"])(e))throw new Error("Expected validator to return Promise or Observable.");return e}function a(t,e){return e.map(function(e){return e(t)})}function u(t,e){return e.map(function(e){return e(t)})}function s(t){var e=t.reduce(function(t,e){return null!=e?Object.assign({},t,e):t},{});return 0===Object.keys(e).length?null:e}function c(){return/android (\d+)/.test((n.i(F.u)()?n.i(F.u)().getUserAgent():"").toLowerCase())}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function l(t){return t.validate?function(e){return t.validate(e)}:t}function p(t){return t.validate?function(e){return t.validate(e)}:t}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function f(){throw new Error("unimplemented")}function h(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function d(t){return t.split(":")[0]}function y(t,e){return null==t?""+e:("string"==typeof e&&(e="'"+e+"'"),e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function g(t){return t.split(":")[0]}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function m(t,e){return e.path.concat([t])}function v(t,e){t||C(e,"Cannot find control with"),e.valueAccessor||C(e,"No value accessor for form control with"),t.validator=G.compose([t.validator,e.validator]),t.asyncValidator=G.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),e.valueAccessor.registerOnChange(function(n){e.viewToModelUpdate(n),t.markAsDirty(),t.setValue(n,{emitModelToViewChange:!1})}),e.valueAccessor.registerOnTouched(function(){return t.markAsTouched()}),t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)}),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function b(t,e){e.valueAccessor.registerOnChange(function(){return w(e)}),e.valueAccessor.registerOnTouched(function(){return w(e)}),e._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}function _(t,e){null==t&&C(e,"Cannot find control with"),t.validator=G.compose([t.validator,e.validator]),t.asyncValidator=G.composeAsync([t.asyncValidator,e.asyncValidator])}function w(t){return C(t,"There is no FormControl instance attached to form control element with")}function C(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function O(t){return null!=t?G.compose(t.map(l)):null}function E(t){return null!=t?G.composeAsync(t.map(p)):null}function S(t,e){if(!t.hasOwnProperty("model"))return!1;var r=t.model;return!!r.isFirstChange()||!n.i(N["ɵlooseIdentical"])(e,r.currentValue)}function P(t){return pt.some(function(e){return t.constructor===e})}function x(t,e){if(!e)return null;var n=void 0,r=void 0,o=void 0;return e.forEach(function(e){e.constructor===Y?n=e:P(e)?(r&&C(t,"More than one built-in value accessor matches form control with"),r=e):(o&&C(t,"More than one custom value accessor matches form control with"),o=e)}),o||(r||(n||(C(t,"No valid value accessor for form control with"),null)))}function A(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(n)),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof Ot?t.controls[e]||null:t instanceof Et?t.at(e)||null:null},t))}function T(t){return Array.isArray(t)?O(t):t||null}function R(t){return Array.isArray(t)?E(t):t||null}function k(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function j(t){return!(t instanceof Ht||t instanceof Lt||t instanceof qt)}Object.defineProperty(e,"__esModule",{value:!0});var I=n("TToO"),N=n("3j3K"),M=n("7rB9"),V=(n.n(M),n("ioK+")),D=(n.n(V),n("xAJs")),F=(n.n(D),n("Qbdm"));n.d(e,"AbstractControlDirective",function(){return L}),n.d(e,"AbstractFormGroupDirective",function(){return ft}),n.d(e,"CheckboxControlValueAccessor",function(){return Z}),n.d(e,"ControlContainer",function(){return U}),n.d(e,"NG_VALUE_ACCESSOR",function(){return z}),n.d(e,"COMPOSITION_BUFFER_MODE",function(){return K}),n.d(e,"DefaultValueAccessor",function(){return Y}),n.d(e,"NgControl",function(){return X}),n.d(e,"NgControlStatus",function(){return yt}),n.d(e,"NgControlStatusGroup",function(){return gt}),n.d(e,"NgForm",function(){return xt}),n.d(e,"NgModel",function(){return Nt}),n.d(e,"NgModelGroup",function(){return kt}),n.d(e,"RadioControlValueAccessor",function(){return nt}),n.d(e,"FormControlDirective",function(){return Dt}),n.d(e,"FormControlName",function(){return zt}),n.d(e,"FormGroupDirective",function(){return Lt}),n.d(e,"FormArrayName",function(){return qt}),n.d(e,"FormGroupName",function(){return Ht}),n.d(e,"NgSelectOption",function(){return ut}),n.d(e,"SelectControlValueAccessor",function(){return at}),n.d(e,"SelectMultipleControlValueAccessor",function(){return ct}),n.d(e,"CheckboxRequiredValidator",function(){return Xt}),n.d(e,"EmailValidator",function(){return ee}),n.d(e,"MaxLengthValidator",function(){return ie}),n.d(e,"MinLengthValidator",function(){return re}),n.d(e,"PatternValidator",function(){return ue}),n.d(e,"RequiredValidator",function(){return Qt}),n.d(e,"FormBuilder",function(){return se}),n.d(e,"AbstractControl",function(){return wt}),n.d(e,"FormArray",function(){return Et}),n.d(e,"FormControl",function(){return Ct}),n.d(e,"FormGroup",function(){return Ot}),n.d(e,"NG_ASYNC_VALIDATORS",function(){return B}),n.d(e,"NG_VALIDATORS",function(){return H}),n.d(e,"Validators",function(){return G}),n.d(e,"VERSION",function(){return ce}),n.d(e,"FormsModule",function(){return ye}),n.d(e,"ReactiveFormsModule",function(){return ge}),n.d(e,"ɵba",function(){return de}),n.d(e,"ɵz",function(){return he}),n.d(e,"ɵx",function(){return pe}),n.d(e,"ɵy",function(){return fe}),n.d(e,"ɵa",function(){return W}),n.d(e,"ɵb",function(){return Q}),n.d(e,"ɵc",function(){return ht}),n.d(e,"ɵd",function(){return dt}),n.d(e,"ɵe",function(){return St}),n.d(e,"ɵf",function(){return jt}),n.d(e,"ɵg",function(){return Rt}),n.d(e,"ɵbf",function(){return le}),n.d(e,"ɵbb",function(){return J}),n.d(e,"ɵbc",function(){return $}),n.d(e,"ɵh",function(){return tt}),n.d(e,"ɵi",function(){return et}),n.d(e,"ɵbd",function(){return rt}),n.d(e,"ɵbe",function(){return ot}),n.d(e,"ɵj",function(){return Vt}),n.d(e,"ɵk",function(){return Gt}),n.d(e,"ɵl",function(){return Ft}),n.d(e,"ɵn",function(){return Bt}),n.d(e,"ɵm",function(){return Ut}),n.d(e,"ɵo",function(){return it}),n.d(e,"ɵq",function(){return lt}),n.d(e,"ɵp",function(){return st}),n.d(e,"ɵs",function(){return Zt}),n.d(e,"ɵt",function(){return te}),n.d(e,"ɵv",function(){return oe}),n.d(e,"ɵu",function(){return ne}),n.d(e,"ɵw",function(){return ae}),n.d(e,"ɵr",function(){return Wt});/** - * @license Angular v4.2.3 - * (c) 2010-2017 Google, Inc. https://angular.io/ - * License: MIT - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var L=function(){function t(){}return t.prototype.control=function(){},Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t}(),U=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return I.a(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(L),H=new N.InjectionToken("NgValidators"),B=new N.InjectionToken("NgAsyncValidators"),q=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,G=function(){function t(){}return t.min=function(t){return function(e){if(r(e.value)||r(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}},t.max=function(t){return function(e){if(r(e.value)||r(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return r(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return q.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(r(e.value))return null;var n=e.value?e.value.length:0;return n<t?{minlength:{requiredLength:t,actualLength:n}}:null}},t.maxLength=function(t){return function(e){var n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){if(!e)return t.nullValidator;var n,o;return"string"==typeof e?(o="^"+e+"$",n=new RegExp(o)):(o=e.toString(),n=e),function(t){if(r(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:o,actualValue:e}}}},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(o);return 0==e.length?null:function(t){return s(a(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(o);return 0==e.length?null:function(t){var r=u(t,e).map(i);return D.map.call(n.i(M.forkJoin)(r),s)}},t}(),z=new N.InjectionToken("NgValueAccessor"),W={provide:z,useExisting:n.i(N.forwardRef)(function(){return Z}),multi:!0},Z=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t}();Z.decorators=[{type:N.Directive,args:[{selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($event.target.checked)","(blur)":"onTouched()"},providers:[W]}]}],Z.ctorParameters=function(){return[{type:N.Renderer},{type:N.ElementRef}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Q={provide:z,useExisting:n.i(N.forwardRef)(function(){return Y}),multi:!0},K=new N.InjectionToken("CompositionEventMode"),Y=function(){function t(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!c())}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setElementProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t}();Y.decorators=[{type:N.Directive,args:[{selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{"(input)":"_handleInput($event.target.value)","(blur)":"onTouched()","(compositionstart)":"_compositionStart()","(compositionend)":"_compositionEnd($event.target.value)"},providers:[Q]}]}],Y.ctorParameters=function(){return[{type:N.Renderer},{type:N.ElementRef},{type:void 0,decorators:[{type:N.Optional},{type:N.Inject,args:[K]}]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var J={provide:z,useExisting:n.i(N.forwardRef)(function(){return $}),multi:!0},$=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setElementProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t}();$.decorators=[{type:N.Directive,args:[{selector:"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[J]}]}],$.ctorParameters=function(){return[{type:N.Renderer},{type:N.ElementRef}]};var X=function(t){function e(){var e=t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return I.a(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return f()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return f()},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){},e}(L),tt={provide:z,useExisting:n.i(N.forwardRef)(function(){return nt}),multi:!0},et=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&(t[0]._parent===e._control._parent&&t[1].name===e.name)},t}();et.decorators=[{type:N.Injectable}],et.ctorParameters=function(){return[]};var nt=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(X),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setElementProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')},t}();nt.decorators=[{type:N.Directive,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[tt]}]}],nt.ctorParameters=function(){return[{type:N.Renderer},{type:N.ElementRef},{type:et},{type:N.Injector}]},nt.propDecorators={name:[{type:N.Input}],formControlName:[{type:N.Input}],value:[{type:N.Input}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var rt={provide:z,useExisting:n.i(N.forwardRef)(function(){return ot}),multi:!0},ot=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t}();ot.decorators=[{type:N.Directive,args:[{selector:"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[rt]}]}],ot.ctorParameters=function(){return[{type:N.Renderer},{type:N.ElementRef}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var it={provide:z,useExisting:n.i(N.forwardRef)(function(){return at}),multi:!0},at=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=N["ɵlooseIdentical"]}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setElementProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=h(e,t);this._renderer.setElementProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=n,t(e._getOptionValue(n))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e<n.length;e++){var r=n[e];if(this._compareWith(this._optionMap.get(r),t))return r}return null},t.prototype._getOptionValue=function(t){var e=d(t);return this._optionMap.has(e)?this._optionMap.get(e):t},t}();at.decorators=[{type:N.Directive,args:[{selector:"select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]",host:{"(change)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[it]}]}],at.ctorParameters=function(){return[{type:N.Renderer},{type:N.ElementRef}]},at.propDecorators={compareWith:[{type:N.Input}]};var ut=function(){function t(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption())}return Object.defineProperty(t.prototype,"ngValue",{set:function(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(h(this.id,t)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{set:function(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)},enumerable:!0,configurable:!0}),t.prototype._setElementValue=function(t){this._renderer.setElementProperty(this._element.nativeElement,"value",t)},t.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},t}();ut.decorators=[{type:N.Directive,args:[{selector:"option"}]}],ut.ctorParameters=function(){return[{type:N.ElementRef},{type:N.Renderer},{type:at,decorators:[{type:N.Optional},{type:N.Host}]}]},ut.propDecorators={ngValue:[{type:N.Input,args:["ngValue"]}],value:[{type:N.Input,args:["value"]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var st={provide:z,useExisting:n.i(N.forwardRef)(function(){return ct}),multi:!0},ct=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=N["ɵlooseIdentical"]}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e=this;this.value=t;var n;if(Array.isArray(t)){var r=t.map(function(t){return e._getOptionId(t)});n=function(t,e){t._setSelected(r.indexOf(e.toString())>-1)}}else n=function(t,e){t._setSelected(!1)};this._optionMap.forEach(n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i<o.length;i++){var a=o.item(i),u=e._getOptionValue(a.value);r.push(u)}else for(var o=n.options,i=0;i<o.length;i++){var a=o.item(i);if(a.selected){var u=e._getOptionValue(a.value);r.push(u)}}e.value=r,t(r)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(t){var e=(this._idCounter++).toString();return this._optionMap.set(e,t),e},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e<n.length;e++){var r=n[e];if(this._compareWith(this._optionMap.get(r)._value,t))return r}return null},t.prototype._getOptionValue=function(t){var e=g(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t},t}();ct.decorators=[{type:N.Directive,args:[{selector:"select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]",host:{"(change)":"onChange($event.target)","(blur)":"onTouched()"},providers:[st]}]}],ct.ctorParameters=function(){return[{type:N.Renderer},{type:N.ElementRef}]},ct.propDecorators={compareWith:[{type:N.Input}]};var lt=function(){function t(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption(this))}return Object.defineProperty(t.prototype,"ngValue",{set:function(t){null!=this._select&&(this._value=t,this._setElementValue(y(this.id,t)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{set:function(t){this._select?(this._value=t,this._setElementValue(y(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)},enumerable:!0,configurable:!0}),t.prototype._setElementValue=function(t){this._renderer.setElementProperty(this._element.nativeElement,"value",t)},t.prototype._setSelected=function(t){this._renderer.setElementProperty(this._element.nativeElement,"selected",t)},t.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},t}();lt.decorators=[{type:N.Directive,args:[{selector:"option"}]}],lt.ctorParameters=function(){return[{type:N.ElementRef},{type:N.Renderer},{type:ct,decorators:[{type:N.Optional},{type:N.Host}]}]},lt.propDecorators={ngValue:[{type:N.Input,args:["ngValue"]}],value:[{type:N.Input,args:["value"]}]};var pt=[Z,ot,$,at,ct,nt],ft=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return I.a(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return m(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return O(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return E(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(U),ht=function(){function t(t){this._cd=t}return Object.defineProperty(t.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),t}(),dt={"[class.ng-untouched]":"ngClassUntouched","[class.ng-touched]":"ngClassTouched","[class.ng-pristine]":"ngClassPristine","[class.ng-dirty]":"ngClassDirty","[class.ng-valid]":"ngClassValid","[class.ng-invalid]":"ngClassInvalid","[class.ng-pending]":"ngClassPending"},yt=function(t){function e(e){return t.call(this,e)||this}return I.a(e,t),e}(ht);yt.decorators=[{type:N.Directive,args:[{selector:"[formControlName],[ngModel],[formControl]",host:dt}]}],yt.ctorParameters=function(){return[{type:X,decorators:[{type:N.Self}]}]};var gt=function(t){function e(e){return t.call(this,e)||this}return I.a(e,t),e}(ht);gt.decorators=[{type:N.Directive,args:[{selector:"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]",host:dt}]}],gt.ctorParameters=function(){return[{type:U,decorators:[{type:N.Self}]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var mt="VALID",vt="INVALID",bt="PENDING",_t="DISABLED",wt=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this._pristine=!0,this._touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this._status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this._status===mt},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this._status===vt},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this._status==bt},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._status===_t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this._status!==_t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this._errors},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this._pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this._touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this._touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this._valueChanges},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this._statusChanges},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=T(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=R(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){var e=(void 0===t?{}:t).onlySelf;this._touched=!0,this._parent&&!e&&this._parent.markAsTouched({onlySelf:e})},t.prototype.markAsUntouched=function(t){var e=(void 0===t?{}:t).onlySelf;this._touched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!e&&this._parent._updateTouched({onlySelf:e})},t.prototype.markAsDirty=function(t){var e=(void 0===t?{}:t).onlySelf;this._pristine=!1,this._parent&&!e&&this._parent.markAsDirty({onlySelf:e})},t.prototype.markAsPristine=function(t){var e=(void 0===t?{}:t).onlySelf;this._pristine=!0,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!e&&this._parent._updatePristine({onlySelf:e})},t.prototype.markAsPending=function(t){var e=(void 0===t?{}:t).onlySelf;this._status=bt,this._parent&&!e&&this._parent.markAsPending({onlySelf:e})},t.prototype.disable=function(t){var e=void 0===t?{}:t,n=e.onlySelf,r=e.emitEvent;this._status=_t,this._errors=null,this._forEachChild(function(t){t.disable({onlySelf:!0})}),this._updateValue(),!1!==r&&(this._valueChanges.emit(this._value),this._statusChanges.emit(this._status)),this._updateAncestors(!!n),this._onDisabledChange.forEach(function(t){return t(!0)})},t.prototype.enable=function(t){var e=void 0===t?{}:t,n=e.onlySelf,r=e.emitEvent;this._status=mt,this._forEachChild(function(t){t.enable({onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:r}),this._updateAncestors(!!n),this._onDisabledChange.forEach(function(t){return t(!1)})},t.prototype._updateAncestors=function(t){this._parent&&!t&&(this._parent.updateValueAndValidity(),this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.setValue=function(t,e){},t.prototype.patchValue=function(t,e){},t.prototype.reset=function(t,e){},t.prototype.updateValueAndValidity=function(t){var e=void 0===t?{}:t,n=e.onlySelf,r=e.emitEvent;this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this._errors=this._runValidator(),this._status=this._calculateStatus(),this._status!==mt&&this._status!==bt||this._runAsyncValidator(r)),!1!==r&&(this._valueChanges.emit(this._value),this._statusChanges.emit(this._status)),this._parent&&!n&&this._parent.updateValueAndValidity({onlySelf:n,emitEvent:r})},t.prototype._updateTreeValidity=function(t){var e=(void 0===t?{emitEvent:!0}:t).emitEvent;this._forEachChild(function(t){return t._updateTreeValidity({emitEvent:e})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e})},t.prototype._setInitialStatus=function(){this._status=this._allControlsDisabled()?_t:mt},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this._status=bt;var n=i(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return e.setErrors(n,{emitEvent:t})})}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){var n=(void 0===e?{}:e).emitEvent;this._errors=t,this._updateControlsErrors(!1!==n)},t.prototype.get=function(t){return A(this,t,".")},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n._errors?n._errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this._status=this._calculateStatus(),t&&this._statusChanges.emit(this._status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this._valueChanges=new N.EventEmitter,this._statusChanges=new N.EventEmitter},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?_t:this._errors?vt:this._anyControlsHaveStatus(bt)?bt:this._anyControlsHaveStatus(vt)?vt:mt},t.prototype._updateValue=function(){},t.prototype._forEachChild=function(t){},t.prototype._anyControls=function(t){},t.prototype._allControlsDisabled=function(){},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls(function(e){return e.status===t})},t.prototype._anyControlsDirty=function(){return this._anyControls(function(t){return t.dirty})},t.prototype._anyControlsTouched=function(){return this._anyControls(function(t){return t.touched})},t.prototype._updatePristine=function(t){var e=(void 0===t?{}:t).onlySelf;this._pristine=!this._anyControlsDirty(),this._parent&&!e&&this._parent._updatePristine({onlySelf:e})},t.prototype._updateTouched=function(t){var e=(void 0===t?{}:t).onlySelf;this._touched=this._anyControlsTouched(),this._parent&&!e&&this._parent._updateTouched({onlySelf:e})},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t}(),Ct=function(t){function e(e,n,r){void 0===e&&(e=null);var o=t.call(this,T(n),R(r))||this;return o._onChange=[],o._applyFormState(e),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o._initObservables(),o}return I.a(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._value=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(function(t){return t(n._value,!1!==e.emitViewToModelChange)}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this._value,e)},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this._value=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this._value=t},e}(wt),Ot=function(t){function e(e,n,r){var o=t.call(this,n||null,r||null)||this;return o.controls=e,o._initObservables(),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return I.a(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach(function(r){n._throwIfControlMissing(r),n.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach(function(r){n.controls[r]&&n.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof Ct?e.value:e.getRawValue(),t})},e.prototype._throwIfControlMissing=function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach(function(n){return t(e.controls[n],n)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})},e.prototype._updateValue=function(){this._value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild(function(r,o){n=n||e.contains(o)&&t(r)}),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},function(e,n,r){return(n.enabled||t.disabled)&&(e[r]=n.value),e})},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild(function(t,r){n=e(n,t,r)}),n},e.prototype._allControlsDisabled=function(){for(var t=0,e=Object.keys(this.controls);t<e.length;t++){var n=e[t];if(this.controls[n].enabled)return!1}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(wt),Et=function(t){function e(e,n,r){var o=t.call(this,n||null,r||null)||this;return o.controls=e,o._initObservables(),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return I.a(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof Ct?t.value:t.getRawValue()})},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this._value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){for(var t=0,e=this.controls;t<e.length;t++){if(e[t].enabled)return!1}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(wt),St={provide:U,useExisting:n.i(N.forwardRef)(function(){return xt})},Pt=Promise.resolve(null),xt=function(t){function e(e,n){var r=t.call(this)||this;return r._submitted=!1,r.ngSubmit=new N.EventEmitter,r.form=new Ot({},O(e),E(n)),r}return I.a(e,t),Object.defineProperty(e.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;Pt.then(function(){var n=e._findContainer(t.path);t._control=n.registerControl(t.name,t.control),v(t.control,t),t.control.updateValueAndValidity({emitEvent:!1})})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;Pt.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.addFormGroup=function(t){var e=this;Pt.then(function(){var n=e._findContainer(t.path),r=new Ot({});_(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;Pt.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;Pt.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this._submitted=!0,this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this._submitted=!1},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(U);xt.decorators=[{type:N.Directive,args:[{selector:"form:not([ngNoForm]):not([formGroup]),ngForm,[ngForm]",providers:[St],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],xt.ctorParameters=function(){return[{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[B]}]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var At={formControlName:'\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',formGroupName:'\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',formArrayName:'\n <div [formGroup]="myGroup">\n <div formArrayName="cities">\n <div *ngFor="let city of cityArray.controls; index as i">\n <input [formControlName]="i">\n </div>\n </div>\n </div>\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });',ngModelGroup:'\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',ngModelWithFormGroup:'\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n '},Tt=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+At.formControlName+"\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n "+At.ngModelWithFormGroup)},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+At.formGroupName+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+At.ngModelGroup)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+At.formGroupName+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+At.ngModelGroup)},t}(),Rt={provide:U,useExisting:n.i(N.forwardRef)(function(){return kt})},kt=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return I.a(e,t),e.prototype._checkParentType=function(){this._parent instanceof e||this._parent instanceof xt||Tt.modelGroupParentException()},e}(ft);kt.decorators=[{type:N.Directive,args:[{selector:"[ngModelGroup]",providers:[Rt],exportAs:"ngModelGroup"}]}],kt.ctorParameters=function(){return[{type:U,decorators:[{type:N.Host},{type:N.SkipSelf}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[B]}]}]},kt.propDecorators={name:[{type:N.Input,args:["ngModelGroup"]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var jt={provide:X,useExisting:n.i(N.forwardRef)(function(){return Nt})},It=Promise.resolve(null),Nt=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i._control=new Ct,i._registered=!1,i.update=new N.EventEmitter,i._parent=e,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=x(i,o),i}return I.a(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),S(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?m(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return O(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return E(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){v(this._control,this),this._control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof kt)&&this._parent instanceof ft?Tt.formGroupNameException():this._parent instanceof kt||this._parent instanceof xt||Tt.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Tt.missingNameException()},e.prototype._updateValue=function(t){var e=this;It.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;It.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},e}(X);Nt.decorators=[{type:N.Directive,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[jt],exportAs:"ngModel"}]}],Nt.ctorParameters=function(){return[{type:U,decorators:[{type:N.Optional},{type:N.Host}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[B]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[z]}]}]},Nt.propDecorators={name:[{type:N.Input}],isDisabled:[{type:N.Input,args:["disabled"]}],model:[{type:N.Input,args:["ngModel"]}],options:[{type:N.Input,args:["ngModelOptions"]}],update:[{type:N.Output,args:["ngModelChange"]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Mt=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+At.formControlName)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+At.formGroupName+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+At.ngModelGroup)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+At.formControlName)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+At.formGroupName)},t.arrayParentException=function(){throw new Error("formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+At.formArrayName)},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t}(),Vt={provide:X,useExisting:n.i(N.forwardRef)(function(){return Dt})},Dt=function(t){function e(e,n,r){var o=t.call(this)||this;return o.update=new N.EventEmitter,o._rawValidators=e||[],o._rawAsyncValidators=n||[],o.valueAccessor=x(o,r),o}return I.a(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){Mt.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._isControlChanged(t)&&(v(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),S(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return O(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return E(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._isControlChanged=function(t){return t.hasOwnProperty("form")},e}(X);Dt.decorators=[{type:N.Directive,args:[{selector:"[formControl]",providers:[Vt],exportAs:"ngForm"}]}],Dt.ctorParameters=function(){return[{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[B]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[z]}]}]},Dt.propDecorators={form:[{type:N.Input,args:["formControl"]}],model:[{type:N.Input,args:["ngModel"]}],update:[{type:N.Output,args:["ngModelChange"]}],isDisabled:[{type:N.Input,args:["disabled"]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Ft={provide:U,useExisting:n.i(N.forwardRef)(function(){return Lt})},Lt=function(t){function e(e,n){var r=t.call(this)||this;return r._validators=e,r._asyncValidators=n,r._submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new N.EventEmitter,r}return I.a(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return v(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){k(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);_(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);_(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this._submitted=!0,this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this._submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e._control!==n&&(b(e._control,e),n&&v(n,e),e._control=n)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=O(this._validators);this.form.validator=G.compose([this.form.validator,t]);var e=E(this._asyncValidators);this.form.asyncValidator=G.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||Mt.missingFormException()},e}(U);Lt.decorators=[{type:N.Directive,args:[{selector:"[formGroup]",providers:[Ft],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},exportAs:"ngForm"}]}],Lt.ctorParameters=function(){return[{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[B]}]}]},Lt.propDecorators={form:[{type:N.Input,args:["formGroup"]}],ngSubmit:[{type:N.Output}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Ut={provide:U,useExisting:n.i(N.forwardRef)(function(){return Ht})},Ht=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return I.a(e,t),e.prototype._checkParentType=function(){j(this._parent)&&Mt.groupParentException()},e}(ft);Ht.decorators=[{type:N.Directive,args:[{selector:"[formGroupName]",providers:[Ut]}]}],Ht.ctorParameters=function(){return[{type:U,decorators:[{type:N.Optional},{type:N.Host},{type:N.SkipSelf}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[B]}]}]},Ht.propDecorators={name:[{type:N.Input,args:["formGroupName"]}]};var Bt={provide:U,useExisting:n.i(N.forwardRef)(function(){return qt})},qt=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return I.a(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return m(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return O(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return E(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){j(this._parent)&&Mt.arrayParentException()},e}(U);qt.decorators=[{type:N.Directive,args:[{selector:"[formArrayName]",providers:[Bt]}]}],qt.ctorParameters=function(){return[{type:U,decorators:[{type:N.Optional},{type:N.Host},{type:N.SkipSelf}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[B]}]}]},qt.propDecorators={name:[{type:N.Input,args:["formArrayName"]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Gt={provide:X,useExisting:n.i(N.forwardRef)(function(){return zt})},zt=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i._added=!1,i.update=new N.EventEmitter,i._parent=e,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=x(i,o),i}return I.a(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){Mt.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._added||this._setUpControl(),S(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},Object.defineProperty(e.prototype,"path",{get:function(){return m(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return O(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return E(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof Ht)&&this._parent instanceof ft?Mt.ngModelGroupException():this._parent instanceof Ht||this._parent instanceof Lt||this._parent instanceof qt||Mt.controlParentException()},e.prototype._setUpControl=function(){this._checkParentType(),this._control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},e}(X);zt.decorators=[{type:N.Directive,args:[{selector:"[formControlName]",providers:[Gt]}]}],zt.ctorParameters=function(){return[{type:U,decorators:[{type:N.Optional},{type:N.Host},{type:N.SkipSelf}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[B]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[z]}]}]},zt.propDecorators={name:[{type:N.Input,args:["formControlName"]}],model:[{type:N.Input,args:["ngModel"]}],update:[{type:N.Output,args:["ngModelChange"]}],isDisabled:[{type:N.Input,args:["disabled"]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Wt={provide:H,useExisting:n.i(N.forwardRef)(function(){return Qt}),multi:!0},Zt={provide:H,useExisting:n.i(N.forwardRef)(function(){return Xt}),multi:!0},Qt=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?G.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t}();Qt.decorators=[{type:N.Directive,args:[{selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",providers:[Wt],host:{"[attr.required]":'required ? "" : null'}}]}],Qt.ctorParameters=function(){return[]},Qt.propDecorators={required:[{type:N.Input}]};var Kt={provide:H,useExisting:n.i(N.forwardRef)(function(){return Yt}),multi:!0},Yt=function(){function t(){}return t.prototype.ngOnChanges=function(t){"min"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=G.min(parseInt(this.min,10))},t}();Yt.decorators=[{type:N.Directive,args:[{selector:"[min][formControlName],[min][formControl],[min][ngModel]",providers:[Kt],host:{"[attr.min]":"min ? min : null"}}]}],Yt.ctorParameters=function(){return[]},Yt.propDecorators={min:[{type:N.Input}]};var Jt={provide:H,useExisting:n.i(N.forwardRef)(function(){return $t}),multi:!0},$t=function(){function t(){}return t.prototype.ngOnChanges=function(t){"max"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=G.max(parseInt(this.max,10))},t}();$t.decorators=[{type:N.Directive,args:[{selector:"[max][formControlName],[max][formControl],[max][ngModel]",providers:[Jt],host:{"[attr.max]":"max ? max : null"}}]}],$t.ctorParameters=function(){return[]},$t.propDecorators={max:[{type:N.Input}]};var Xt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return I.a(e,t),e.prototype.validate=function(t){return this.required?G.requiredTrue(t):null},e}(Qt);Xt.decorators=[{type:N.Directive,args:[{selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",providers:[Zt],host:{"[attr.required]":'required ? "" : null'}}]}],Xt.ctorParameters=function(){return[]};var te={provide:H,useExisting:n.i(N.forwardRef)(function(){return ee}),multi:!0},ee=function(){function t(){}return Object.defineProperty(t.prototype,"email",{set:function(t){this._enabled=""===t||!0===t||"true"===t,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this._enabled?G.email(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t}();ee.decorators=[{type:N.Directive,args:[{selector:"[email][formControlName],[email][formControl],[email][ngModel]",providers:[te]}]}],ee.ctorParameters=function(){return[]},ee.propDecorators={email:[{type:N.Input}]};var ne={provide:H,useExisting:n.i(N.forwardRef)(function(){return re}),multi:!0},re=function(){function t(){}return t.prototype.ngOnChanges=function(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null==this.minlength?null:this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=G.minLength(parseInt(this.minlength,10))},t}();re.decorators=[{type:N.Directive,args:[{selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[ne],host:{"[attr.minlength]":"minlength ? minlength : null"}}]}],re.ctorParameters=function(){return[]},re.propDecorators={minlength:[{type:N.Input}]};var oe={provide:H,useExisting:n.i(N.forwardRef)(function(){return ie}),multi:!0},ie=function(){function t(){}return t.prototype.ngOnChanges=function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null!=this.maxlength?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=G.maxLength(parseInt(this.maxlength,10))},t}();ie.decorators=[{type:N.Directive,args:[{selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[oe],host:{"[attr.maxlength]":"maxlength ? maxlength : null"}}]}],ie.ctorParameters=function(){return[]},ie.propDecorators={maxlength:[{type:N.Input}]};var ae={provide:H,useExisting:n.i(N.forwardRef)(function(){return ue}),multi:!0},ue=function(){function t(){}return t.prototype.ngOnChanges=function(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=G.pattern(this.pattern)},t}();ue.decorators=[{type:N.Directive,args:[{selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",providers:[ae],host:{"[attr.pattern]":"pattern ? pattern : null"}}]}],ue.ctorParameters=function(){return[]},ue.propDecorators={pattern:[{type:N.Input}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var se=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t),r=null!=e?e.validator:null,o=null!=e?e.asyncValidator:null;return new Ot(n,r,o)},t.prototype.control=function(t,e,n){return new Ct(t,e,n)},t.prototype.array=function(t,e,n){var r=this,o=t.map(function(t){return r._createControl(t)});return new Et(o,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach(function(r){n[r]=e._createControl(t[r])}),n},t.prototype._createControl=function(t){if(t instanceof Ct||t instanceof Ot||t instanceof Et)return t;if(Array.isArray(t)){var e=t[0],n=t.length>1?t[1]:null,r=t.length>2?t[2]:null;return this.control(e,n,r)}return this.control(t)},t}();se.decorators=[{type:N.Injectable}],se.ctorParameters=function(){return[]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var ce=new N.Version("4.2.3"),le=function(){function t(){}return t}();le.decorators=[{type:N.Directive,args:[{selector:"form:not([ngNoForm]):not([ngNativeValidate])",host:{novalidate:""}}]}],le.ctorParameters=function(){return[]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var pe=[le,ut,lt,Y,$,ot,Z,at,ct,nt,yt,gt,Qt,re,ie,ue,Xt,ee],fe=[Nt,kt,xt],he=[Dt,Lt,zt,Ht,qt],de=function(){function t(){}return t}();de.decorators=[{type:N.NgModule,args:[{declarations:pe,exports:pe}]}],de.ctorParameters=function(){return[]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var ye=function(){function t(){}return t}();ye.decorators=[{type:N.NgModule,args:[{declarations:fe,providers:[et],exports:[de,fe]}]}],ye.ctorParameters=function(){return[]};var ge=function(){function t(){}return t}();ge.decorators=[{type:N.NgModule,args:[{declarations:[he],providers:[se,et],exports:[de,he]}]}],ge.ctorParameters=function(){return[]}},PKvP:function(t,e,n){"use strict";var r=n("JkZN");e.from=r.FromObservable.create},Qbdm:function(t,e,n){"use strict";function r(){return D}function o(t){D||(D=t)}function i(){return W||(W=document.querySelector("base"))?W.getAttribute("href"):null}function a(t){return G||(G=document.createElement("a")),G.setAttribute("href",t),"/"===G.pathname.charAt(0)?G.pathname:"/"+G.pathname}function u(t,e){e=encodeURIComponent(e);for(var n=0,r=t.split(";");n<r.length;n++){var o=r[n],i=o.indexOf("="),a=-1==i?[o,""]:[o.slice(0,i),o.slice(i+1)],u=a[0],s=a[1];if(u.trim()===e)return decodeURIComponent(s)}return null}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - * @return {?} - */ -function s(){return!!window.history.pushState}function c(t,e,n){return function(){n.get(M.ApplicationInitStatus).donePromise.then(function(){var n=r();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return n.getAttribute(e,"ng-transition")===t}).forEach(function(t){return n.remove(t)})})}}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function l(t,e){tt||(M["ɵglobal"].ng=tt=M["ɵglobal"].ng||{}),tt[t]=e}function p(t){return n.i(M.getDebugNode)(t)}function f(t,e){var n=(t||[]).concat(e||[]);return l(nt,p),l(rt,Object.assign({},et,h(n||[]))),function(){return p}}function h(t){return t.reduce(function(t,e){return t[e.name]=e.token,t},{})}function d(t){return yt.replace(ft,t)}function y(t){return dt.replace(ft,t)}function g(t,e,n){for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?g(t,o,n):(o=o.replace(ft,t),n.push(o))}return n}function m(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}function v(t,e){if(t.charCodeAt(0)===vt)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}function b(t){return t=String(t),t.match(Tt)||t.match(Rt)?t:(n.i(M.isDevMode)()&&r().log("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function _(t){return t=String(t),t.split(",").map(function(t){return b(t.trim())}).join(", ")}function w(){if(kt)return kt;jt=r();var t=jt.createElement("template");if("content"in t)return t;var e=jt.createHtmlDocument();if(null==(kt=jt.querySelector(e,"body"))){var n=jt.createElement("html",e);kt=jt.createElement("body",e),jt.appendChild(n,kt),jt.appendChild(e,n)}return kt}function C(t){for(var e={},n=0,r=t.split(",");n<r.length;n++){e[r[n]]=!0}return e}function O(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n={},r=0,o=t;r<o.length;r++){var i=o[r];for(var a in i)i.hasOwnProperty(a)&&(n[a]=!0)}return n}function E(t,e){if(e&&jt.contains(t,e))throw new Error("Failed to sanitize html because the element is clobbered: "+jt.getOuterHTML(t));return e}function S(t){return t.replace(/&/g,"&").replace(zt,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Wt,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function P(t){jt.attributeMap(t).forEach(function(e,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||jt.removeAttribute(t,n)});for(var e=0,n=jt.childNodesAsList(t);e<n.length;e++){var r=n[e];jt.isElementNode(r)&&P(r)}}function x(t,e){try{var r=w(),o=e?String(e):"",i=5,a=o;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,o=a,jt.setInnerHTML(r,o),t.documentMode&&P(r),a=jt.getInnerHTML(r)}while(o!==a);for(var u=new Gt,s=u.sanitizeChildren(jt.getTemplateContent(r)||r),c=jt.getTemplateContent(r)||r,l=0,p=jt.childNodesAsList(c);l<p.length;l++){var f=p[l];jt.removeChild(c,f)}return n.i(M.isDevMode)()&&u.sanitizedSomething&&jt.log("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),s}catch(t){throw kt=null,t}}function A(t){for(var e=!0,n=!0,r=0;r<t.length;r++){var o=t.charAt(r);"'"===o&&n?e=!e:'"'===o&&e&&(n=!n)}return e&&n}function T(t){if(!(t=String(t).trim()))return"";var e=t.match(te);return e&&b(e[1])===e[1]||t.match(Xt)&&A(t)?t:(n.i(M.isDevMode)()&&r().log("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}function R(){z.makeCurrent(),$.init()}function k(){return new M.ErrorHandler}function j(){return document}var I=n("TToO"),N=n("2Je8"),M=n("3j3K");n.d(e,"t",function(){return fe}),n.d(e,"a",function(){return pe}),n.d(e,"o",function(){return K}),n.d(e,"p",function(){return X}),n.d(e,"s",function(){return ot}),n.d(e,"d",function(){return Z}),n.d(e,"g",function(){return at}),n.d(e,"k",function(){return ut}),n.d(e,"e",function(){return Ot}),n.d(e,"f",function(){return Et}),n.d(e,"b",function(){return ee}),n.d(e,"u",function(){return r}),n.d(e,"m",function(){return gt}),n.d(e,"h",function(){return wt}),n.d(e,"j",function(){return St}),n.d(e,"i",function(){return At}),n.d(e,"l",function(){return lt}),n.d(e,"n",function(){return ct}),n.d(e,"q",function(){return k}),n.d(e,"r",function(){return f}),n.d(e,"c",function(){return ne});/** - * @license Angular v4.2.3 - * (c) 2010-2017 Google, Inc. https://angular.io/ - * License: MIT - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var V,D=null,F=function(){function t(){this.resourceLoaderType=null}return t.prototype.hasProperty=function(t,e){},t.prototype.setProperty=function(t,e,n){},t.prototype.getProperty=function(t,e){},t.prototype.invoke=function(t,e,n){},t.prototype.logError=function(t){},t.prototype.log=function(t){},t.prototype.logGroup=function(t){},t.prototype.logGroupEnd=function(){},Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t.prototype.contains=function(t,e){},t.prototype.parse=function(t){},t.prototype.querySelector=function(t,e){},t.prototype.querySelectorAll=function(t,e){},t.prototype.on=function(t,e,n){},t.prototype.onAndCancel=function(t,e,n){},t.prototype.dispatchEvent=function(t,e){},t.prototype.createMouseEvent=function(t){},t.prototype.createEvent=function(t){},t.prototype.preventDefault=function(t){},t.prototype.isPrevented=function(t){},t.prototype.getInnerHTML=function(t){},t.prototype.getTemplateContent=function(t){},t.prototype.getOuterHTML=function(t){},t.prototype.nodeName=function(t){},t.prototype.nodeValue=function(t){},t.prototype.type=function(t){},t.prototype.content=function(t){},t.prototype.firstChild=function(t){},t.prototype.nextSibling=function(t){},t.prototype.parentElement=function(t){},t.prototype.childNodes=function(t){},t.prototype.childNodesAsList=function(t){},t.prototype.clearNodes=function(t){},t.prototype.appendChild=function(t,e){},t.prototype.removeChild=function(t,e){},t.prototype.replaceChild=function(t,e,n){},t.prototype.remove=function(t){},t.prototype.insertBefore=function(t,e,n){},t.prototype.insertAllBefore=function(t,e,n){},t.prototype.insertAfter=function(t,e,n){},t.prototype.setInnerHTML=function(t,e){},t.prototype.getText=function(t){},t.prototype.setText=function(t,e){},t.prototype.getValue=function(t){},t.prototype.setValue=function(t,e){},t.prototype.getChecked=function(t){},t.prototype.setChecked=function(t,e){},t.prototype.createComment=function(t){},t.prototype.createTemplate=function(t){},t.prototype.createElement=function(t,e){},t.prototype.createElementNS=function(t,e,n){},t.prototype.createTextNode=function(t,e){},t.prototype.createScriptTag=function(t,e,n){},t.prototype.createStyleElement=function(t,e){},t.prototype.createShadowRoot=function(t){},t.prototype.getShadowRoot=function(t){},t.prototype.getHost=function(t){},t.prototype.getDistributedNodes=function(t){},t.prototype.clone=function(t){},t.prototype.getElementsByClassName=function(t,e){},t.prototype.getElementsByTagName=function(t,e){},t.prototype.classList=function(t){},t.prototype.addClass=function(t,e){},t.prototype.removeClass=function(t,e){},t.prototype.hasClass=function(t,e){},t.prototype.setStyle=function(t,e,n){},t.prototype.removeStyle=function(t,e){},t.prototype.getStyle=function(t,e){},t.prototype.hasStyle=function(t,e,n){},t.prototype.tagName=function(t){},t.prototype.attributeMap=function(t){},t.prototype.hasAttribute=function(t,e){},t.prototype.hasAttributeNS=function(t,e,n){},t.prototype.getAttribute=function(t,e){},t.prototype.getAttributeNS=function(t,e,n){},t.prototype.setAttribute=function(t,e,n){},t.prototype.setAttributeNS=function(t,e,n,r){},t.prototype.removeAttribute=function(t,e){},t.prototype.removeAttributeNS=function(t,e,n){},t.prototype.templateAwareRoot=function(t){},t.prototype.createHtmlDocument=function(){},t.prototype.getBoundingClientRect=function(t){},t.prototype.getTitle=function(t){},t.prototype.setTitle=function(t,e){},t.prototype.elementMatches=function(t,e){},t.prototype.isTemplateElement=function(t){},t.prototype.isTextNode=function(t){},t.prototype.isCommentNode=function(t){},t.prototype.isElementNode=function(t){},t.prototype.hasShadowRoot=function(t){},t.prototype.isShadowRoot=function(t){},t.prototype.importIntoDoc=function(t){},t.prototype.adoptNode=function(t){},t.prototype.getHref=function(t){},t.prototype.getEventKey=function(t){},t.prototype.resolveAndSetHref=function(t,e,n){},t.prototype.supportsDOMEvents=function(){},t.prototype.supportsNativeShadowDOM=function(){},t.prototype.getGlobalEventTarget=function(t,e){},t.prototype.getHistory=function(){},t.prototype.getLocation=function(){},t.prototype.getBaseHref=function(t){},t.prototype.resetBaseElement=function(){},t.prototype.getUserAgent=function(){},t.prototype.setData=function(t,e,n){},t.prototype.getComputedStyle=function(t){},t.prototype.getData=function(t,e){},t.prototype.supportsWebAnimation=function(){},t.prototype.performanceNow=function(){},t.prototype.getAnimationPrefix=function(){},t.prototype.getTransitionEnd=function(){},t.prototype.supportsAnimation=function(){},t.prototype.supportsCookies=function(){},t.prototype.getCookie=function(t){},t.prototype.setCookie=function(t,e){},t}(),L=function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=e.getStyle(n,r[o]+"AnimationName")){e._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(t){null!=e.getStyle(n,t)&&(e._transitionEnd=i[t])})}catch(t){e._animationPrefix=null,e._transitionEnd=null}return e}return I.a(e,t),e.prototype.getDistributedNodes=function(t){return t.getDistributedNodes()},e.prototype.resolveAndSetHref=function(t,e,n){t.href=null==n?e:e+"/../"+n},e.prototype.supportsDOMEvents=function(){return!0},e.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},e.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},e.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},e.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},e}(F),U={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},H=3,B={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},q={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","Â":"NumLock"};M["ɵglobal"].Node&&(V=M["ɵglobal"].Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var G,z=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return I.a(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){o(new e)},e.prototype.hasProperty=function(t,e){return e in t},e.prototype.setProperty=function(t,e,n){t[e]=n},e.prototype.getProperty=function(t,e){return t[e]},e.prototype.invoke=function(t,e,n){t[e].apply(t,n)},e.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},e.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},e.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return U},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return V.call(t,e)},e.prototype.querySelector=function(t,e){return t.querySelector(e)},e.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},e.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},e.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},e.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},e.prototype.createMouseEvent=function(t){var e=document.createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},e.prototype.createEvent=function(t){var e=document.createEvent("Event");return e.initEvent(t,!0,!0),e},e.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},e.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},e.prototype.getInnerHTML=function(t){return t.innerHTML},e.prototype.getTemplateContent=function(t){return"content"in t&&t instanceof HTMLTemplateElement?t.content:null},e.prototype.getOuterHTML=function(t){return t.outerHTML},e.prototype.nodeName=function(t){return t.nodeName},e.prototype.nodeValue=function(t){return t.nodeValue},e.prototype.type=function(t){return t.type},e.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},e.prototype.firstChild=function(t){return t.firstChild},e.prototype.nextSibling=function(t){return t.nextSibling},e.prototype.parentElement=function(t){return t.parentNode},e.prototype.childNodes=function(t){return t.childNodes},e.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),r=0;r<e.length;r++)n[r]=e[r];return n},e.prototype.clearNodes=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},e.prototype.appendChild=function(t,e){t.appendChild(e)},e.prototype.removeChild=function(t,e){t.removeChild(e)},e.prototype.replaceChild=function(t,e,n){t.replaceChild(e,n)},e.prototype.remove=function(t){return t.parentNode&&t.parentNode.removeChild(t),t},e.prototype.insertBefore=function(t,e,n){t.insertBefore(n,e)},e.prototype.insertAllBefore=function(t,e,n){n.forEach(function(n){return t.insertBefore(n,e)})},e.prototype.insertAfter=function(t,e,n){t.insertBefore(n,e.nextSibling)},e.prototype.setInnerHTML=function(t,e){t.innerHTML=e},e.prototype.getText=function(t){return t.textContent},e.prototype.setText=function(t,e){t.textContent=e},e.prototype.getValue=function(t){return t.value},e.prototype.setValue=function(t,e){t.value=e},e.prototype.getChecked=function(t){return t.checked},e.prototype.setChecked=function(t,e){t.checked=e},e.prototype.createComment=function(t){return document.createComment(t)},e.prototype.createTemplate=function(t){var e=document.createElement("template");return e.innerHTML=t,e},e.prototype.createElement=function(t,e){return void 0===e&&(e=document),e.createElement(t)},e.prototype.createElementNS=function(t,e,n){return void 0===n&&(n=document),n.createElementNS(t,e)},e.prototype.createTextNode=function(t,e){return void 0===e&&(e=document),e.createTextNode(t)},e.prototype.createScriptTag=function(t,e,n){void 0===n&&(n=document);var r=n.createElement("SCRIPT");return r.setAttribute(t,e),r},e.prototype.createStyleElement=function(t,e){void 0===e&&(e=document);var n=e.createElement("style");return this.appendChild(n,this.createTextNode(t)),n},e.prototype.createShadowRoot=function(t){return t.createShadowRoot()},e.prototype.getShadowRoot=function(t){return t.shadowRoot},e.prototype.getHost=function(t){return t.host},e.prototype.clone=function(t){return t.cloneNode(!0)},e.prototype.getElementsByClassName=function(t,e){return t.getElementsByClassName(e)},e.prototype.getElementsByTagName=function(t,e){return t.getElementsByTagName(e)},e.prototype.classList=function(t){return Array.prototype.slice.call(t.classList,0)},e.prototype.addClass=function(t,e){t.classList.add(e)},e.prototype.removeClass=function(t,e){t.classList.remove(e)},e.prototype.hasClass=function(t,e){return t.classList.contains(e)},e.prototype.setStyle=function(t,e,n){t.style[e]=n},e.prototype.removeStyle=function(t,e){t.style[e]=""},e.prototype.getStyle=function(t,e){return t.style[e]},e.prototype.hasStyle=function(t,e,n){var r=this.getStyle(t,e)||"";return n?r==n:r.length>0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r<n.length;r++){var o=n[r];e.set(o.name,o.value)}return e},e.prototype.hasAttribute=function(t,e){return t.hasAttribute(e)},e.prototype.hasAttributeNS=function(t,e,n){return t.hasAttributeNS(e,n)},e.prototype.getAttribute=function(t,e){return t.getAttribute(e)},e.prototype.getAttributeNS=function(t,e,n){return t.getAttributeNS(e,n)},e.prototype.setAttribute=function(t,e,n){t.setAttribute(e,n)},e.prototype.setAttributeNS=function(t,e,n,r){t.setAttributeNS(e,n,r)},e.prototype.removeAttribute=function(t,e){t.removeAttribute(e)},e.prototype.removeAttributeNS=function(t,e,n){t.removeAttributeNS(e,n)},e.prototype.templateAwareRoot=function(t){return this.isTemplateElement(t)?this.content(t):t},e.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},e.prototype.getBoundingClientRect=function(t){try{return t.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},e.prototype.getTitle=function(t){return document.title},e.prototype.setTitle=function(t,e){document.title=e||""},e.prototype.elementMatches=function(t,e){return t instanceof HTMLElement&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))},e.prototype.isTemplateElement=function(t){return t instanceof HTMLElement&&"TEMPLATE"==t.nodeName},e.prototype.isTextNode=function(t){return t.nodeType===Node.TEXT_NODE},e.prototype.isCommentNode=function(t){return t.nodeType===Node.COMMENT_NODE},e.prototype.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},e.prototype.hasShadowRoot=function(t){return null!=t.shadowRoot&&t instanceof HTMLElement},e.prototype.isShadowRoot=function(t){return t instanceof DocumentFragment},e.prototype.importIntoDoc=function(t){return document.importNode(this.templateAwareRoot(t),!0)},e.prototype.adoptNode=function(t){return document.adoptNode(t)},e.prototype.getHref=function(t){return t.href},e.prototype.getEventKey=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),t.location===H&&q.hasOwnProperty(e)&&(e=q[e]))}return B[e]||e},e.prototype.getGlobalEventTarget=function(t,e){return"window"===e?window:"document"===e?document:"body"===e?document.body:null},e.prototype.getHistory=function(){return window.history},e.prototype.getLocation=function(){return window.location},e.prototype.getBaseHref=function(t){var e=i();return null==e?null:a(e)},e.prototype.resetBaseElement=function(){W=null},e.prototype.getUserAgent=function(){return window.navigator.userAgent},e.prototype.setData=function(t,e,n){this.setAttribute(t,"data-"+e,n)},e.prototype.getData=function(t,e){return this.getAttribute(t,"data-"+e)},e.prototype.getComputedStyle=function(t){return getComputedStyle(t)},e.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},e.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},e.prototype.supportsCookies=function(){return!0},e.prototype.getCookie=function(t){return u(document.cookie,t)},e.prototype.setCookie=function(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)},e}(L),W=null,Z=new M.InjectionToken("DocumentToken"),Q=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._init(),n}return I.a(e,t),e.prototype._init=function(){this._location=r().getLocation(),this._history=r().getHistory()},Object.defineProperty(e.prototype,"location",{get:function(){return this._location},enumerable:!0,configurable:!0}),e.prototype.getBaseHrefFromDOM=function(){return r().getBaseHref(this._doc)},e.prototype.onPopState=function(t){r().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){r().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(e.prototype,"pathname",{get:function(){return this._location.pathname},set:function(t){this._location.pathname=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this._location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this._location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(t,e,n){s()?this._history.pushState(t,e,n):this._location.hash=n},e.prototype.replaceState=function(t,e,n){s()?this._history.replaceState(t,e,n):this._location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},e}(N.PlatformLocation);Q.decorators=[{type:M.Injectable}],Q.ctorParameters=function(){return[{type:void 0,decorators:[{type:M.Inject,args:[Z]}]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var K=function(){function t(t){this._doc=t,this._dom=r()}return t.prototype.addTag=function(t,e){return void 0===e&&(e=!1),t?this._getOrCreateElement(t,e):null},t.prototype.addTags=function(t,e){var n=this;return void 0===e&&(e=!1),t?t.reduce(function(t,r){return r&&t.push(n._getOrCreateElement(r,e)),t},[]):[]},t.prototype.getTag=function(t){return t?this._dom.querySelector(this._doc,"meta["+t+"]"):null},t.prototype.getTags=function(t){if(!t)return[];var e=this._dom.querySelectorAll(this._doc,"meta["+t+"]");return e?[].slice.call(e):[]},t.prototype.updateTag=function(t,e){if(!t)return null;e=e||this._parseSelector(t);var n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)},t.prototype.removeTag=function(t){this.removeTagElement(this.getTag(t))},t.prototype.removeTagElement=function(t){t&&this._dom.remove(t)},t.prototype._getOrCreateElement=function(t,e){if(void 0===e&&(e=!1),!e){var n=this._parseSelector(t),r=this.getTag(n);if(r&&this._containsAttributes(t,r))return r}var o=this._dom.createElement("meta");this._setMetaElementAttributes(t,o);var i=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(i,o),o},t.prototype._setMetaElementAttributes=function(t,e){var n=this;return Object.keys(t).forEach(function(r){return n._dom.setAttribute(e,r,t[r])}),e},t.prototype._parseSelector=function(t){var e=t.name?"name":"property";return e+'="'+t[e]+'"'},t.prototype._containsAttributes=function(t,e){var n=this;return Object.keys(t).every(function(r){return n._dom.getAttribute(e,r)===t[r]})},t}();K.decorators=[{type:M.Injectable}],K.ctorParameters=function(){return[{type:void 0,decorators:[{type:M.Inject,args:[Z]}]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Y=new M.InjectionToken("TRANSITION_ID"),J=[{provide:M.APP_INITIALIZER,useFactory:c,deps:[Y,Z,M.Injector],multi:!0}],$=function(){function t(){}return t.init=function(){n.i(M.setTestabilityGetter)(new t)},t.prototype.addToWindow=function(t){M["ɵglobal"].getAngularTestability=function(e,n){void 0===n&&(n=!0);var r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},M["ɵglobal"].getAllAngularTestabilities=function(){return t.getAllTestabilities()},M["ɵglobal"].getAllAngularRootElements=function(){return t.getAllRootElements()};var e=function(t){var e=M["ɵglobal"].getAllAngularTestabilities(),n=e.length,r=!1,o=function(e){r=r||e,0==--n&&t(r)};e.forEach(function(t){t.whenStable(o)})};M["ɵglobal"].frameworkStabilizers||(M["ɵglobal"].frameworkStabilizers=[]),M["ɵglobal"].frameworkStabilizers.push(e)},t.prototype.findTestabilityInTree=function(t,e,n){if(null==e)return null;var o=t.getTestability(e);return null!=o?o:n?r().isShadowRoot(e)?this.findTestabilityInTree(t,r().getHost(e),!0):this.findTestabilityInTree(t,r().parentElement(e),!0):null},t}(),X=function(){function t(t){this._doc=t}return t.prototype.getTitle=function(){return r().getTitle(this._doc)},t.prototype.setTitle=function(t){r().setTitle(this._doc,t)},t}();X.decorators=[{type:M.Injectable}],X.ctorParameters=function(){return[{type:void 0,decorators:[{type:M.Inject,args:[Z]}]}]};var tt,et={ApplicationRef:M.ApplicationRef,NgZone:M.NgZone},nt="probe",rt="coreTokens",ot=function(){function t(t,e){this.name=t,this.token=e}return t}(),it=[{provide:M.APP_INITIALIZER,useFactory:f,deps:[[ot,new M.Optional],[M.NgProbeToken,new M.Optional]],multi:!0}],at=new M.InjectionToken("EventManagerPlugins"),ut=function(){function t(t,e){var n=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach(function(t){return t.manager=n}),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(t))return this._eventNameToPlugin.set(t,o),o}throw new Error("No event manager plugin found for event "+t)},t}();ut.decorators=[{type:M.Injectable}],ut.ctorParameters=function(){return[{type:Array,decorators:[{type:M.Inject,args:[at]}]},{type:M.NgZone}]};var st=function(){function t(t){this._doc=t}return t.prototype.supports=function(t){},t.prototype.addEventListener=function(t,e,n){},t.prototype.addGlobalEventListener=function(t,e,n){var o=r().getGlobalEventTarget(this._doc,t);if(!o)throw new Error("Unsupported event target "+o+" for event "+e);return this.addEventListener(o,e,n)},t}(),ct=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t}();ct.decorators=[{type:M.Injectable}],ct.ctorParameters=function(){return[]};var lt=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return I.a(e,t),e.prototype._addStylesToHost=function(t,e){var n=this;t.forEach(function(t){var r=n._doc.createElement("style");r.textContent=t,n._styleNodes.add(e.appendChild(r))})},e.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},e.prototype.removeHost=function(t){this._hostNodes.delete(t)},e.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach(function(n){return e._addStylesToHost(t,n)})},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(t){return r().remove(t)})},e}(ct);lt.decorators=[{type:M.Injectable}],lt.ctorParameters=function(){return[{type:void 0,decorators:[{type:M.Inject,args:[Z]}]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var pt={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},ft=/%COMP%/g,ht="%COMP%",dt="_nghost-"+ht,yt="_ngcontent-"+ht,gt=function(){function t(t,e){this.eventManager=t,this.sharedStylesHost=e,this.rendererByCompId=new Map,this.defaultRenderer=new mt(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case M.ViewEncapsulation.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new bt(this.eventManager,this.sharedStylesHost,e),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case M.ViewEncapsulation.Native:return new _t(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var r=g(e.id,e.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t}();gt.decorators=[{type:M.Injectable}],gt.ctorParameters=function(){return[{type:ut},{type:lt}]};var mt=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS(pt[e],t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,n){t&&t.insertBefore(e,n)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t){var e="string"==typeof t?document.querySelector(t):t;if(!e)throw new Error('The selector "'+t+'" did not match any elements');return e.textContent="",e},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,n,r){if(r){e=r+":"+e;var o=pt[r];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var r=pt[n];r?t.removeAttributeNS(r,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,n,r){r&M.RendererStyleFlags2.DashCase?t.style.setProperty(e,n,r&M.RendererStyleFlags2.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&M.RendererStyleFlags2.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){v(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return v(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,m(n)):this.eventManager.addEventListener(t,e,m(n))},t}(),vt="@".charCodeAt(0),bt=function(t){function e(e,n,r){var o=t.call(this,e)||this;o.component=r;var i=g(r.id,r.styles,[]);return n.addStyles(i),o.contentAttr=d(r.id),o.hostAttr=y(r.id),o}return I.a(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,n){var r=t.prototype.createElement.call(this,e,n);return t.prototype.setAttribute.call(this,r,this.contentAttr,""),r},e}(mt),_t=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;i.sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var a=g(o.id,o.styles,[]),u=0;u<a.length;u++){var s=document.createElement("style");s.textContent=a[u],i.shadowRoot.appendChild(s)}return i}return I.a(e,t),e.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,n){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.insertBefore=function(e,n,r){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),n,r)},e.prototype.removeChild=function(e,n){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(mt),wt=function(t){function e(e){return t.call(this,e)||this}return I.a(e,t),e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,n){return t.addEventListener(e,n,!1),function(){return t.removeEventListener(e,n,!1)}},e}(st);wt.decorators=[{type:M.Injectable}],wt.ctorParameters=function(){return[{type:void 0,decorators:[{type:M.Inject,args:[Z]}]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Ct={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},Ot=new M.InjectionToken("HammerGestureConfig"),Et=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(var n in this.overrides)e.get(n).set(this.overrides[n]);return e},t}();Et.decorators=[{type:M.Injectable}],Et.ctorParameters=function(){return[]};var St=function(t){function e(e,n){var r=t.call(this,e)||this;return r._config=n,r}return I.a(e,t),e.prototype.supports=function(t){if(!Ct.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t))return!1;if(!window.Hammer)throw new Error("Hammer.js is not loaded, can not bind "+t+" event");return!0},e.prototype.addEventListener=function(t,e,n){var r=this,o=this.manager.getZone();return e=e.toLowerCase(),o.runOutsideAngular(function(){var i=r._config.buildHammer(t),a=function(t){o.runGuarded(function(){n(t)})};return i.on(e,a),function(){return i.off(e,a)}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e}(st);St.decorators=[{type:M.Injectable}],St.ctorParameters=function(){return[{type:void 0,decorators:[{type:M.Inject,args:[Z]}]},{type:Et,decorators:[{type:M.Inject,args:[Ot]}]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Pt=["alt","control","meta","shift"],xt={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},At=function(t){function e(e){return t.call(this,e)||this}return I.a(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,o){var i=e.parseEventName(n),a=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return r().onAndCancel(t,i.domEventName,a)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=e._normalizeKey(n.pop()),i="";if(Pt.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=o,0!=n.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},e.getEventFullKey=function(t){var e="",n=r().getEventKey(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Pt.forEach(function(r){if(r!=n){(0,xt[r])(t)&&(e+=r+".")}}),e+=n},e.eventCallback=function(t,n,r){return function(o){e.getEventFullKey(o)===t&&r.runGuarded(function(){return n(o)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(st);At.decorators=[{type:M.Injectable}],At.ctorParameters=function(){return[{type:void 0,decorators:[{type:M.Inject,args:[Z]}]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Tt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Rt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,kt=null,jt=null,It=C("area,br,col,hr,img,wbr"),Nt=C("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Mt=C("rp,rt"),Vt=O(Mt,Nt),Dt=O(Nt,C("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")),Ft=O(Mt,C("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")),Lt=O(It,Dt,Ft,Vt),Ut=C("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ht=C("srcset"),Bt=C("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"),qt=O(Ut,Ht,Bt),Gt=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(jt.isElementNode(e)?this.startElement(e):jt.isTextNode(e)?this.chars(jt.nodeValue(e)):this.sanitizedSomething=!0,jt.firstChild(e))e=jt.firstChild(e);else for(;e;){jt.isElementNode(e)&&this.endElement(e);var n=E(e,jt.nextSibling(e));if(n){e=n;break}e=E(e,jt.parentElement(e))}return this.buf.join("")},t.prototype.startElement=function(t){var e=this,n=jt.nodeName(t).toLowerCase();if(!Lt.hasOwnProperty(n))return void(this.sanitizedSomething=!0);this.buf.push("<"),this.buf.push(n),jt.attributeMap(t).forEach(function(t,n){var r=n.toLowerCase();if(!qt.hasOwnProperty(r))return void(e.sanitizedSomething=!0);Ut[r]&&(t=b(t)),Ht[r]&&(t=_(t)),e.buf.push(" "),e.buf.push(n),e.buf.push('="'),e.buf.push(S(t)),e.buf.push('"')}),this.buf.push(">")},t.prototype.endElement=function(t){var e=jt.nodeName(t).toLowerCase();Lt.hasOwnProperty(e)&&!It.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(S(t))},t}(),zt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Wt=/([^\#-~ |!])/g,Zt="[-,.\"'%_!# a-zA-Z0-9]+",Qt="(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?",Kt="(?:rgb|hsl)a?",Yt="(?:repeating-)?(?:linear|radial)-gradient",Jt="(?:calc|attr)",$t="\\([-0-9.%, #a-zA-Z]+\\)",Xt=new RegExp("^("+Zt+"|(?:"+Qt+"|"+Kt+"|"+Yt+"|"+Jt+")"+$t+")$","g"),te=/^url\(([^)]+)\)$/,ee=function(){function t(){}return t.prototype.sanitize=function(t,e){},t.prototype.bypassSecurityTrustHtml=function(t){},t.prototype.bypassSecurityTrustStyle=function(t){},t.prototype.bypassSecurityTrustScript=function(t){},t.prototype.bypassSecurityTrustUrl=function(t){},t.prototype.bypassSecurityTrustResourceUrl=function(t){},t}(),ne=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return I.a(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case M.SecurityContext.NONE:return e;case M.SecurityContext.HTML:return e instanceof oe?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),x(this._doc,String(e)));case M.SecurityContext.STYLE:return e instanceof ie?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),T(e));case M.SecurityContext.SCRIPT:if(e instanceof ae)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case M.SecurityContext.URL:return e instanceof se||e instanceof ue?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),b(String(e)));case M.SecurityContext.RESOURCE_URL:if(e instanceof se)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof re)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new oe(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new ie(t)},e.prototype.bypassSecurityTrustScript=function(t){return new ae(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new ue(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new se(t)},e}(ee);ne.decorators=[{type:M.Injectable}],ne.ctorParameters=function(){return[{type:void 0,decorators:[{type:M.Inject,args:[Z]}]}]};var re=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.getTypeName=function(){},t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),oe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return I.a(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(re),ie=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return I.a(e,t),e.prototype.getTypeName=function(){return"Style"},e}(re),ae=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return I.a(e,t),e.prototype.getTypeName=function(){return"Script"},e}(re),ue=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return I.a(e,t),e.prototype.getTypeName=function(){return"URL"},e}(re),se=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return I.a(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(re),ce=[{provide:M.PLATFORM_ID,useValue:N["ɵPLATFORM_BROWSER_ID"]},{provide:M.PLATFORM_INITIALIZER,useValue:R,multi:!0},{provide:N.PlatformLocation,useClass:Q},{provide:Z,useFactory:j,deps:[]}],le=[{provide:M.Sanitizer,useExisting:ee},{provide:ee,useClass:ne}],pe=n.i(M.createPlatformFactory)(M.platformCore,"browser",ce),fe=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:M.APP_ID,useValue:e.appId},{provide:Y,useExisting:M.APP_ID},J]}},t}();fe.decorators=[{type:M.NgModule,args:[{providers:[le,{provide:M.ErrorHandler,useFactory:k,deps:[]},{provide:at,useClass:wt,multi:!0},{provide:at,useClass:At,multi:!0},{provide:at,useClass:St,multi:!0},{provide:Ot,useClass:Et},gt,{provide:M.RendererFactory2,useExisting:gt},{provide:ct,useExisting:lt},lt,M.Testability,ut,it,K,X],exports:[N.CommonModule,M.ApplicationModule]}]}],fe.ctorParameters=function(){return[{type:fe,decorators:[{type:M.Optional},{type:M.SkipSelf}]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var he="undefined"!=typeof window&&window||{},de=function(){function t(t,e){this.msPerTick=t,this.numTicks=e}return t}();(function(){function t(t){this.appRef=t.injector.get(M.ApplicationRef)}t.prototype.timeChangeDetection=function(t){var e=t&&t.record,n="Change Detection",o=null!=he.console.profile;e&&o&&he.console.profile(n);for(var i=r().performanceNow(),a=0;a<5||r().performanceNow()-i<500;)this.appRef.tick(),a++;var u=r().performanceNow();e&&o&&he.console.profileEnd(n);var s=(u-i)/a;return he.console.log("ran "+a+" change detection cycles"),he.console.log(s.toFixed(2)+" ms per check"),new de(s,a)}})(),function(){function t(){}t.all=function(){return function(t){return!0}},t.css=function(t){return function(e){return null!=e.nativeElement&&r().elementMatches(e.nativeElement,t)}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}}}(),new M.Version("4.2.3")},QqRK:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),i=function(t){function e(e,n,r){t.call(this),this.parent=e,this.outerValue=n,this.outerIndex=r,this.index=0}return r(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(o.Subscriber);e.InnerSubscriber=i},RRVv:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("rCTf"),i=function(t){function e(e,n){t.call(this),this.value=e,this.scheduler=n,this._isScalar=!0,n&&(this._isScalar=!1)}return r(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.done,n=t.value,r=t.subscriber;if(e)return void r.complete();r.next(n),r.closed||(t.done=!0,this.schedule(t))},e.prototype._subscribe=function(t){var n=this.value,r=this.scheduler;if(r)return r.schedule(e.dispatch,0,{done:!1,value:n,subscriber:t});t.next(n),t.closed||t.complete()},e}(o.Observable);e.ScalarObservable=i},RX2M:function(t,e,n){"use strict";var r=n("3j3K"),o=n("2Je8"),i=n("s28n"),a=n("gFLb");n.d(e,"a",function(){return u});var u=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[a.a]}},t}();u.decorators=[{type:r.NgModule,args:[{declarations:[i.a],exports:[i.a],imports:[o.CommonModule],entryComponents:[i.a]}]}],u.ctorParameters=function(){return[]}},SKH6:function(t,e,n){"use strict";function r(t){return"function"==typeof t}e.isFunction=r},TToO:function(t,e,n){"use strict";function r(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}e.a=r;/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ -var o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};Object.assign},TfWX:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),i=n("IZVw"),a=function(t){function e(e){t.call(this),this._value=e}return r(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.ObjectUnsubscribedError;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(o.Subject);e.BehaviorSubject=a},U15Z:function(t,e,n){"use strict";function r(t){var e=t[l.iterator];if(!e&&"string"==typeof t)return new f(t);if(!e&&void 0!==t.length)return new h(t);if(!e)throw new TypeError("object is not iterable");return t[l.iterator]()}function o(t){var e=+t.length;return isNaN(e)?0:0!==e&&i(e)?(e=a(e)*Math.floor(Math.abs(e)),e<=0?0:e>d?d:e):e}function i(t){return"number"==typeof t&&s.root.isFinite(t)}function a(t){var e=+t;return 0===e?e:isNaN(e)?e:e<0?-1:1}var u=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("VOfZ"),c=n("rCTf"),l=n("cdmN"),p=function(t){function e(e,n){if(t.call(this),this.scheduler=n,null==e)throw new Error("iterator cannot be null.");this.iterator=r(e)}return u(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.hasError,r=t.iterator,o=t.subscriber;if(n)return void o.error(t.error);var i=r.next();return i.done?void o.complete():(o.next(i.value),t.index=e+1,o.closed?void("function"==typeof r.return&&r.return()):void this.schedule(t))},e.prototype._subscribe=function(t){var n=this,r=n.iterator,o=n.scheduler;if(o)return o.schedule(e.dispatch,0,{index:0,iterator:r,subscriber:t});for(;;){var i=r.next();if(i.done){t.complete();break}if(t.next(i.value),t.closed){"function"==typeof r.return&&r.return();break}}},e}(c.Observable);e.IteratorObservable=p;var f=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=t.length),this.str=t,this.idx=e,this.len=n}return t.prototype[l.iterator]=function(){return this},t.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.str.charAt(this.idx++)}:{done:!0,value:void 0}},t}(),h=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=o(t)),this.arr=t,this.idx=e,this.len=n}return t.prototype[l.iterator]=function(){return this},t.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.arr[this.idx++]}:{done:!0,value:void 0}},t}(),d=Math.pow(2,53)-1},VOfZ:function(t,e,n){"use strict";(function(t){var n="undefined"!=typeof window&&window,r="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,o=void 0!==t&&t,i=n||o||r;e.root=i,function(){if(!i)throw new Error("RxJS could not find any global context (window, self, global)")}()}).call(e,n("DuR2"))},WhVc:function(t,e,n){"use strict";e.errorObject={e:{}}},XO5T:function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof e&&(n=e,e=null),this.lift(new u(t,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("CURp"),a=n("wAkD");e.mergeMap=r;var u=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.project,this.resultSelector,this.concurrent))},t}();e.MergeMapOperator=u;var s=function(t){function e(e,n,r,o){void 0===o&&(o=Number.POSITIVE_INFINITY),t.call(this,e),this.project=n,this.resultSelector=r,this.concurrent=o,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return o(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){this.add(i.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,o){this.resultSelector?this._notifyResultSelector(t,e,n,r):this.destination.next(e)},e.prototype._notifyResultSelector=function(t,e,n,r){var o;try{o=this.resultSelector(t,e,n,r)}catch(t){return void this.destination.error(t)}this.destination.next(o)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(a.OuterSubscriber);e.MergeMapSubscriber=s},Xajo:function(t,e,n){"use strict";e.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},Yh8Q:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("rCTf"),i=n("RRVv"),a=n("jBEF"),u=n("fWbP"),s=function(t){function e(e,n){t.call(this),this.array=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){return new e(t,n)},e.of=function(){for(var t=[],n=0;n<arguments.length;n++)t[n-0]=arguments[n];var r=t[t.length-1];u.isScheduler(r)?t.pop():r=null;var o=t.length;return o>1?new e(t,r):1===o?new i.ScalarObservable(t[0],r):new a.EmptyObservable(r)},e.dispatch=function(t){var e=t.array,n=t.index,r=t.count,o=t.subscriber;if(n>=r)return void o.complete();o.next(e[n]),o.closed||(t.index=n+1,this.schedule(t))},e.prototype._subscribe=function(t){var n=this.array,r=n.length,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{array:n,index:0,count:r,subscriber:t});for(var i=0;i<r&&!t.closed;i++)t.next(n[i]);t.complete()},e}(o.Observable);e.ArrayObservable=s},ZJf8:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("B00U"),i=function(t){function e(e,n){t.call(this),this.subject=e,this.subscriber=n,this.closed=!1}return r(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 n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(o.Subscription);e.SubjectSubscription=i},aQl7:function(t,e,n){"use strict";function r(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}e.isPromise=r},ack3:function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("mmVS");e.filter=r;var a=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.predicate,this.thisArg))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.predicate=n,this.thisArg=r,this.count=0,this.predicate=n}return o(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(i.Subscriber)},bBiI:function(t,e,n){"use strict";function r(t,e,n){return this.lift(new u(t,e,n,this))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("mmVS"),a=n("F7Al");e.first=r;var u=function(){function t(t,e,n,r){this.predicate=t,this.resultSelector=e,this.defaultValue=n,this.source=r}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),s=function(t){function e(e,n,r,o,i){t.call(this,e),this.predicate=n,this.resultSelector=r,this.defaultValue=o,this.source=i,this.index=0,this.hasCompleted=!1,this._emitted=!1}return o(e,t),e.prototype._next=function(t){var e=this.index++;this.predicate?this._tryPredicate(t,e):this._emit(t,e)},e.prototype._tryPredicate=function(t,e){var n;try{n=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}n&&this._emit(t,e)},e.prototype._emit=function(t,e){if(this.resultSelector)return void this._tryResultSelector(t,e);this._emitFinal(t)},e.prototype._tryResultSelector=function(t,e){var n;try{n=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this._emitFinal(n)},e.prototype._emitFinal=function(t){var e=this.destination;this._emitted||(this._emitted=!0,e.next(t),e.complete(),this.hasCompleted=!0)},e.prototype._complete=function(){var t=this.destination;this.hasCompleted||void 0===this.defaultValue?this.hasCompleted||t.error(new a.EmptyError):(t.next(this.defaultValue),t.complete())},e}(i.Subscriber)},bE1M:function(t,e,n){"use strict";function r(t,e){return this.lift(new o.MergeMapOperator(t,e,1))}var o=n("XO5T");e.concatMap=r},cbuX:function(t,e,n){"use strict";function r(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),this.lift(new u(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("wAkD"),a=n("CURp");e.mergeAll=r;var u=function(){function t(t){this.concurrent=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.concurrent))},t}();e.MergeAllOperator=u;var s=function(t){function e(e,n){t.call(this,e),this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0}return o(e,t),e.prototype._next=function(t){this.active<this.concurrent?(this.active++,this.add(a.subscribeToResult(this,t))):this.buffer.push(t)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(i.OuterSubscriber);e.MergeAllSubscriber=s},cdmN:function(t,e,n){"use strict";function r(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var n=t.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var r=t.Map;if(r)for(var o=Object.getOwnPropertyNames(r.prototype),i=0;i<o.length;++i){var a=o[i];if("entries"!==a&&"size"!==a&&r.prototype[a]===r.prototype.entries)return a}return"@@iterator"}var o=n("VOfZ");e.symbolIteratorPonyfill=r,e.iterator=r(o.root),e.$$iterator=e.iterator},emOw:function(t,e,n){"use strict";function r(t,e){var n;if(n="function"==typeof t?t:function(){return t},"function"==typeof e)return this.lift(new i(n,e));var r=Object.create(this,o.connectableObservableDescriptor);return r.source=this,r.subjectFactory=n,r}var o=n("sIYO");e.multicast=r;var i=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(t);return o.add(e.subscribe(r)),o},t}();e.MulticastOperator=i},fWbP:function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}e.isScheduler=r},gFLb:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return o});var o=function(){function t(){this.dismissible=!0,this.type="warning"}return t}();o.decorators=[{type:r.Injectable}],o.ctorParameters=function(){return[]}},hYBY:function(t,e,n){"use strict";function r(t){var e=t.value,n=t.subscriber;n.closed||(n.next(e),n.complete())}function o(t){var e=t.err,n=t.subscriber;n.closed||n.error(e)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=n("VOfZ"),u=n("rCTf"),s=function(t){function e(e,n){t.call(this),this.promise=e,this.scheduler=n}return i(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e=this,n=this.promise,i=this.scheduler;if(null==i)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){a.root.setTimeout(function(){throw t})});else if(this._isScalar){if(!t.closed)return i.schedule(r,0,{value:this.value,subscriber:t})}else n.then(function(n){e.value=n,e._isScalar=!0,t.closed||t.add(i.schedule(r,0,{value:n,subscriber:t}))},function(e){t.closed||t.add(i.schedule(o,0,{err:e,subscriber:t}))}).then(null,function(t){a.root.setTimeout(function(){throw t})})},e}(u.Observable);e.PromiseObservable=s},"ioK+":function(t,e,n){"use strict";var r=n("hYBY");e.fromPromise=r.PromiseObservable.create},jBEF:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("rCTf"),i=function(t){function e(e){t.call(this),this.scheduler=e}return r(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){t.subscriber.complete()},e.prototype._subscribe=function(t){var n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{subscriber:t});t.complete()},e}(o.Observable);e.EmptyObservable=i},kkb0:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return this.lift.call(o.apply(void 0,[this].concat(t)))}function o(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=Number.POSITIVE_INFINITY,r=null,o=t[t.length-1];return s.isScheduler(o)?(r=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof i.Observable?t[0]:new a.ArrayObservable(t,r).lift(new u.MergeAllOperator(n))}var i=n("rCTf"),a=n("Yh8Q"),u=n("cbuX"),s=n("fWbP");e.merge=r,e.mergeStatic=o},lHsB:function(t,e,n){"use strict";function r(t,e,n){if(t){if(t instanceof o.Subscriber)return t;if(t[i.rxSubscriber])return t[i.rxSubscriber]()}return t||e||n?new o.Subscriber(t,e,n):new o.Subscriber(a.empty)}var o=n("mmVS"),i=n("r8ZY"),a=n("yrou");e.toSubscriber=r},lgiQ:function(t,e,n){"use strict";var r=n("Yh8Q");e.of=r.ArrayObservable.of},mbVC:function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}var o=n("VOfZ");e.getSymbolObservable=r,e.observable=r(o.root),e.$$observable=e.observable},mmVS:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("SKH6"),i=n("B00U"),a=n("yrou"),u=n("r8ZY"),s=function(t){function e(n,r,o){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.empty;break;case 1:if(!n){this.destination=a.empty;break}if("object"==typeof n){n instanceof e?(this.destination=n,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,n,r,o)}}return r(e,t),e.prototype[u.rxSubscriber]=function(){return this},e.create=function(t,n,r){var o=new e(t,n,r);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this,e=t._parent,n=t._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=n,this},e}(i.Subscription);e.Subscriber=s;var c=function(t){function e(e,n,r,i){t.call(this),this._parentSubscriber=e;var u,s=this;o.isFunction(n)?u=n:n&&(u=n.next,r=n.error,i=n.complete,n!==a.empty&&(s=Object.create(n),o.isFunction(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=u,this._error=r,this._complete=i}return r(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),t;e.syncErrorValue=t,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){throw this.unsubscribe(),t}},e.prototype.__tryOrSetError=function(t,e,n){try{e.call(this._context,n)}catch(e){return t.syncErrorValue=e,t.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(s)},pgP5:function(t,e,n){"use strict";function r(t,e){var n=!1;return arguments.length>=2&&(n=!0),this.lift(new a(t,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("mmVS");e.reduce=r;var a=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.accumulator,this.seed,this.hasSeed))},t}();e.ReduceOperator=a;var u=function(t){function e(e,n,r,o){t.call(this,e),this.accumulator=n,this.hasSeed=o,this.index=0,this.hasValue=!1,this.acc=r,this.hasSeed||this.index++}return o(e,t),e.prototype._next=function(t){this.hasValue||(this.hasValue=this.hasSeed)?this._tryReduce(t):(this.acc=t,this.hasValue=!0)},e.prototype._tryReduce=function(t){var e;try{e=this.accumulator(this.acc,t,this.index++)}catch(t){return void this.destination.error(t)}this.acc=e},e.prototype._complete=function(){(this.hasValue||this.hasSeed)&&this.destination.next(this.acc),this.destination.complete()},e}(i.Subscriber);e.ReduceSubscriber=u},r8ZY:function(t,e,n){"use strict";var r=n("VOfZ"),o=r.root.Symbol;e.rxSubscriber="function"==typeof o&&"function"==typeof o.for?o.for("rxSubscriber"):"@@rxSubscriber",e.$$rxSubscriber=e.rxSubscriber},rCTf:function(t,e,n){"use strict";var r=n("VOfZ"),o=n("lHsB"),i=n("mbVC"),a=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,i=o.toSubscriber(t,e,n);if(r?r.call(i,this.source):i.add(this.source?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 n=this;if(e||(r.root.Rx&&r.root.Rx.config&&r.root.Rx.config.Promise?e=r.root.Rx.config.Promise:r.root.Promise&&(e=r.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,r){var o;o=n.subscribe(function(e){if(o)try{t(e)}catch(t){r(t),o.unsubscribe()}else t(e)},r,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[i.observable]=function(){return this},t.create=function(e){return new t(e)},t}();e.Observable=a},s28n:function(t,e,n){"use strict";var r=n("3j3K"),o=n("gFLb");n.d(e,"a",function(){return i});var i=function(){function t(t){this.close=new r.EventEmitter,this.dismissible=t.dismissible,this.type=t.type}return t.prototype.closeHandler=function(){this.close.emit(null)},t}();i.decorators=[{type:r.Component,args:[{selector:"ngb-alert",changeDetection:r.ChangeDetectionStrategy.OnPush,template:'\n <div [class]="\'alert alert-\' + type + (dismissible ? \' alert-dismissible\' : \'\')" role="alert">\n <button *ngIf="dismissible" type="button" class="close" aria-label="Close" (click)="closeHandler()">\n <span aria-hidden="true">×</span>\n </button>\n <ng-content></ng-content>\n </div>\n '}]}],i.ctorParameters=function(){return[{type:o.a}]},i.propDecorators={dismissible:[{type:r.Input}],type:[{type:r.Input}],close:[{type:r.Output}]}},sIYO:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),i=n("rCTf"),a=n("mmVS"),u=n("B00U"),s=function(t){function e(e,n){t.call(this),this.source=e,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}return r(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 u.Subscription,t.add(this.source.subscribe(new l(this.getSubject(),this))),t.closed?(this._connection=null,t=u.Subscription.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return this.lift(new p(this))},e}(i.Observable);e.ConnectableObservable=s;var c=s.prototype;e.connectableObservableDescriptor={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:c._subscribe},_isComplete:{value:c._isComplete,writable:!0},getSubject:{value:c.getSubject},connect:{value:c.connect},refCount:{value:c.refCount}};var l=function(t){function e(e,n){t.call(this,e),this.connectable=n}return r(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),p=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new f(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),f=function(t){function e(e,n){t.call(this,e),this.connectable=n}return r(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 n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()},e}(a.Subscriber)},t2qv:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("rCTf"),i=n("jBEF"),a=n("Xajo"),u=n("CURp"),s=n("wAkD"),c=function(t){function e(e,n){t.call(this),this.sources=e,this.resultSelector=n}return r(e,t),e.create=function(){for(var t=[],n=0;n<arguments.length;n++)t[n-0]=arguments[n];if(null===t||0===arguments.length)return new i.EmptyObservable;var r=null;return"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&a.isArray(t[0])&&(t=t[0]),0===t.length?new i.EmptyObservable:new e(t,r)},e.prototype._subscribe=function(t){return new l(t,this.sources,this.resultSelector)},e}(o.Observable);e.ForkJoinObservable=c;var l=function(t){function e(e,n,r){t.call(this,e),this.sources=n,this.resultSelector=r,this.completed=0,this.haveValues=0;var o=n.length;this.total=o,this.values=new Array(o);for(var i=0;i<o;i++){var a=n[i],s=u.subscribeToResult(this,a,null,i);s&&(s.outerIndex=i,this.add(s))}}return r(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.values[n]=e,o._hasValue||(o._hasValue=!0,this.haveValues++)},e.prototype.notifyComplete=function(t){var e=this.destination,n=this,r=n.haveValues,o=n.resultSelector,i=n.values,a=i.length;if(!t._hasValue)return void e.complete();if(++this.completed===a){if(r===a){var u=o?o.apply(this,i):i;e.next(u)}e.complete()}},e}(s.OuterSubscriber)},wAkD:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),i=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(o.Subscriber);e.OuterSubscriber=i},xAJs:function(t,e,n){"use strict";function r(t,e){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return this.lift(new a(t,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("mmVS");e.map=r;var a=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.thisArg))},t}();e.MapOperator=a;var u=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.count=0,this.thisArg=r||this}return o(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.Subscriber)},yrou:function(t,e,n){"use strict";e.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}}}); \ No newline at end of file diff --git a/matefun.war b/matefun.war index d166694f97cfa1770acd239dbeee81629ac1e7d7..f114269b665173b92e855644a3050af549e5ee97 100644 Binary files a/matefun.war and b/matefun.war differ